@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/familjen-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/familjen-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Fallbacks scaled to the width of the web fonts, so text does not jump when they load. */
@font-face { font-family: 'BT Serif Fallback'; src: local('Times New Roman'); size-adjust: 84%; }
@font-face { font-family: 'BT Sans Fallback'; src: local('Arial'); size-adjust: 94%; }

/* Bornholdt Tegnestue. Plain CSS, no build step.
   Neutrals carry the page; copper and apricot are accents. */
:root {
  --paper: #FBEBDA;      /* Antique White: main ground */
  --card: #FFF7EE;       /* lighter tint of Antique White: cards */
  --ink: #281E15;        /* Dark Coffee: text, dark grounds */
  --bean: #715038;       /* Coffee Bean: muted text */
  --copper: #AB732F;
  --apricot: #F4D2AE;
  --line: rgba(40, 30, 21, 0.2);
  --line-inv: rgba(251, 235, 218, 0.25);
  --sans: "Familjen Grotesk", "BT Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "BT Serif Fallback", "Times New Roman", serif;
  /* tracking: two for uppercase labels, the tight ones for display sizes */
  --tr-label: 0.2em;     /* short 12 px labels */
  --tr-caps: 0.12em;     /* longer uppercase runs: buttons, tags, footer */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* durations: press feedback, menus and toggles, hover */
  --t-press: 0.16s;
  --t-ui: 0.25s;
  --t-hover: 0.28s;   /* colour, underline and opacity on hover: plain ease */
  --t-move: 0.36s;    /* things that move on hover: rolling labels and arrows */
  --ease-move: cubic-bezier(0.33, 1, 0.68, 1);
  --pad: 16px;
  --r: 20px;
  /* ---- type and spacing scale (DIRECTION.md, "Type and spacing rules") ---- */
  --fs-caps: 0.8125rem;   /* every small uppercase text: labels, buttons, uppercase links, counters, tags, footer */
  --fs-link: 0.9375rem;   /* calls to action: uppercase links and pill buttons (Camilla, 2026-11-25: easier to read than the caps size) */
  --fs-small: 0.875rem;   /* captions, notes */
  --fs-body: 1rem;        /* running text */
  --fs-lead: 1.125rem;    /* intro under a page or hero heading, footer line */
  --lh-display: 0.86;     /* display headings, serif and sans */
  --lh-head: 0.95;        /* mid headings, step and row headings */
  --lh-lead: 1.4;
  --lh-body: 1.5;
  --gap-display: clamp(28px, 3vw, 48px);  /* display heading to a link, button or rule under it */
  --gap-lead: clamp(16px, 1.6vw, 28px);    /* display heading to the intro or lead text under it (Camilla, 2026-11-25) */
  --gap-head: 20px;                        /* mid heading to its text */
}
@media (min-width: 768px) { :root { --pad: 40px; } }
@media (min-width: 1024px) { :root { --fs-caps: 0.875rem; --fs-link: 1rem; --fs-body: 1.125rem; --fs-lead: 1.25rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--copper) var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--copper); color: var(--paper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ----------
   Roles (sizes and spacing are the tokens in :root): display serif and display sans, line height --lh-display;
   mid heading --lh-head; lead --fs-lead / --lh-lead; body --fs-body / --lh-body; small --fs-small;
   caps --fs-caps uppercase, tracking --tr-label (short labels) or --tr-caps (buttons, longer runs). */
h1, h2, h3, blockquote, summary, .cloud__say, .ftr__sub { text-wrap: balance; }
/* a very long word (a compound name, an e-mail address) breaks rather than pushing the page sideways */
h1, h2, h3, p, li, dd, dt, summary, blockquote, label, .tile__cap { overflow-wrap: anywhere; }
/* long Danish compound words split at a syllable with a hyphen instead of mid-word (break-ui test, 2026-11-26); overflow-wrap above stays as the last resort */
h1, h2, h3, summary, .tile__cap, .label, dt { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 18 8 8; }  /* only words of 18+ letters, 8+ on each side, so normal headings keep breaking between words */
/* a case field with no text shows nothing, not an empty label (break-ui test, 2026-11-26) */
dl:has(> div > dd:empty) { display: none; }
p, li, dd, .sits button { text-wrap: pretty; }
.label, .row__n, .case__n, .proc__num, .loader__row, .contact dd, .ftr__bot { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); font-weight: 400; }
.label { font-size: var(--fs-caps); line-height: 1.5; letter-spacing: var(--tr-label); text-transform: uppercase; }
.muted { color: var(--bean); }
.dark .muted { color: rgba(251, 235, 218, 0.75); }
.h-sans { font-weight: 400; font-size: clamp(2rem, 8vw, 3.75rem); line-height: 0.9; letter-spacing: -0.04em; }
@media (min-width: 1024px) { .h-sans { font-size: calc(1rem + 3.3vw); } }
.h-mid { font-weight: 400; font-size: clamp(1.75rem, 6.5vw, 2.75rem); line-height: var(--lh-head); letter-spacing: -0.04em; }
@media (min-width: 1024px) { .h-mid { font-size: calc(0.75rem + 1.97vw); } }
.h-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 7.3vw, 8rem); line-height: var(--lh-display); }
.copy { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: -0.01em; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); margin-right: 10px; vertical-align: 1px; }

/* rolling link: the label slides up and a copy follows it */
.roll { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; font-size: var(--fs-link); letter-spacing: 0.04em; padding: 11px 0; margin: -11px 0; }
.roll__t { position: relative; display: inline-block; overflow: hidden; border-bottom: 1px solid currentColor; line-height: 1.5; }
.roll__t > span { display: block; transition: transform var(--t-move) var(--ease-move); }
.roll__t::after { content: attr(data-t); position: absolute; left: 0; top: 100%; transition: transform var(--t-move) var(--ease-move); }
.roll__a, .pill__a { display: inline-block; transition: transform var(--t-move) var(--ease-move); }
.roll__a { color: var(--copper); }
.dark .roll__a, .feat .roll__a, .marq__cap .roll__a, .tile .roll__a { color: var(--apricot); }
@media (hover: hover) and (pointer: fine) {
  .roll:hover .roll__t > span, .roll:hover .roll__t::after, .tile:hover .roll__t > span, .tile:hover .roll__t::after { transform: translateY(-100%); }
  .roll:hover .roll__a, .tile:hover .roll__a, .pill:hover .pill__a { transform: translateX(6px); }
  .roll--up:hover .roll__a { transform: translateY(-5px); }
}
.roll:active { opacity: 0.7; }

.pill {
  display: inline-block; border: 1px solid currentColor; border-radius: 999px;
  padding: 18px 34px; font-size: var(--fs-link); letter-spacing: var(--tr-caps); text-transform: uppercase;  /* larger buttons (Camilla, 2026-11-25; was 15px 28px, 12px) */
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease);
}
.pill:active { transform: scale(0.97); }
.pill--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--apricot); color: var(--ink); border-color: var(--apricot); }
  .pill--solid:hover { background: var(--bean); border-color: var(--bean); color: var(--paper); }
}

/* ---------- reveal on entry ---------- */
/* room above and below each masked line, so accents (the ring on Å) and descenders are never clipped; the margins keep the layout */
/* Each line is masked with a clip-path that reaches beyond its own box (0.35em above for the ring on Å, 0.5em below for g, p, j),
   so the tight line heights stay exact: no padding or margins that could collapse and open the lines up. */
.ln { display: block; clip-path: inset(-0.35em -0.3em -0.5em -0.3em); }
.ln > span { display: block; }
.motion-ok .ln > span { transform: translateY(170%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.motion-ok .fade { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.motion-ok .is-in .ln > span, .motion-ok .is-in.ln > span { transform: none; }
.motion-ok .is-in .fade, .motion-ok .is-in.fade { opacity: 1; transform: none; }

/* the square logo mark with the B cut out, set to the left of the name; it takes the colour of the text and the page shows through the B */
/* 2026-11-25: the isometric B (b-mark-b2.svg, width 0.630 of its height since the taller counter) replaces the square cut-out B */
.bmark { display: inline-block; flex: none; width: 1.008em; height: 1.6em; background: currentColor; -webkit-mask: url(../brand/b-mark-b2.svg) center / contain no-repeat; mask: url(../brand/b-mark-b2.svg) center / contain no-repeat; }
.hdr__logo, .loader__name, .ftr__top a { display: inline-flex; align-items: center; }
.bmark { margin-right: 0.5em; }

/* ---------- loader ---------- */
.loader { display: none; }
.loading .loader {
  display: flex; position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper);
  flex-direction: column; justify-content: center; transition: transform 0.9s var(--ease);
}
.loader__row { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--pad) 12px; font-size: clamp(1.25rem, 3vw, 2.25rem); font-weight: 500; letter-spacing: -0.04em; }
.loader__name { text-transform: uppercase; letter-spacing: normal; white-space: nowrap; }
.loader__name b { font-weight: 500; color: var(--copper); padding: 0 0.26em; }
@media (max-width: 359px) { .loader__row { font-size: 1rem; } }
.loader__bar { height: 1px; background: var(--line-inv); }
.loader__bar i { display: block; height: 3px; margin-top: -1px; width: 100%; background: var(--apricot); transform: scaleX(0); transform-origin: left; }
.loader.is-done { transform: translateY(-100%); }
/* the name, counter and bar blur and fade out as the panel lifts (Camilla, 2026-11-26) */
.loader__row, .loader__bar { transition: opacity 0.5s var(--ease), filter 0.6s var(--ease); }
.loader.is-done .loader__row, .loader.is-done .loader__bar { opacity: 0; filter: blur(10px); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px var(--pad); color: var(--ink); pointer-events: none; transition: color 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.hdr[data-tone="dark"] { color: var(--paper); }
.hdr > * { pointer-events: auto; }
/* the header gets a ground once the page has scrolled, so it never sits on top of text (all screen sizes) */
/* the ground slides down and fades in softly as the page scrolls past the opening (Camilla, 2026-11-25: was a quick 0.28s fade) */
.hdr::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 66px; background: rgba(251, 235, 218, 0.75); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); box-shadow: none; opacity: 0; transform: translateY(-100%); transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.6s ease, box-shadow 0.6s ease; pointer-events: none; }
.hdr[data-tone="dark"]::before { background: rgba(40, 30, 21, 0.72); box-shadow: none; }  /* see-through with a blur behind (Camilla, 2026-11-25) */  /* no rule under the header on any section (Camilla, 2026-11-25) */
.hdr.is-bar::before { opacity: 1; transform: none; }
.hdr.is-bar:has(.menu.is-open)::before { height: 100%; }
/* phones and tablets: the open menu always gets the ground, also at the top of the page, so its links never sit on the hero text (review, 2026-11-25) */
@media (max-width: 1023px) {
  .hdr:has(.menu.is-open)::before { opacity: 1; transform: none; height: calc(100% + 12px); background-color: rgba(251, 235, 218, 0.96); }
  .hdr[data-tone="dark"]:has(.menu.is-open)::before { background-color: rgba(40, 30, 21, 0.96); }
}
@media (max-width: 767px) {
  .hdr { padding-top: 14px; padding-bottom: 12px; }
  .hdr::before { height: 58px; }
}
/* only the button and the open menu take clicks; the closed menu must not block what lies under it */
.hdr .hdr__nav { pointer-events: none; }
.hdr .menu-btn, .hdr .menu.is-open { pointer-events: auto; }
/* hover: the wordmark and the menu button answer the pointer */
.hdr__logo, .ftr__logo, .menu-btn { transition: opacity var(--t-hover) ease, scale var(--t-press) var(--ease); }
@media (hover: hover) and (pointer: fine) { .hdr__logo:hover, .ftr__logo:hover, .menu-btn:hover { opacity: 0.64; } }
/* the wordmark: same face, size and weight in the header and the footer (20px, medium, capitals, no tracking); the mark is as tall as the letters' line */
.hdr__logo, .ftr__top .ftr__logo { font-size: 1.375rem; font-weight: 500; line-height: 1; letter-spacing: normal; text-transform: uppercase; white-space: nowrap; padding: 12px 0; margin: -12px 0; }
/* the narrowest phones: one step smaller, so the wordmark never touches the menu button */
/* the header wordmark is one step smaller than the footer's; the line stays 20px so it centres on the menu button */
/* larger logo and menu in the header (Camilla, 2026-11-25; was 18px and 16px) */
.hdr__logo { font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.3125rem); line-height: 1.4rem; }
@media (max-width: 359px) { .hdr__logo { font-size: 1rem; } }
/* as in the horizontal logo: the B 1.4 times the letter height, with a wider gap before the name */
.hdr__logo .bmark, .ftr__logo .bmark { width: 0.882em; height: 1.4em; margin: -0.2em 0.6em -0.2em 0; }
.hdr__logo b, .ftr__logo b { font-weight: 500; color: var(--copper); padding: 0 0.26em; transition: color 0.6s ease; }
.hdr[data-tone="dark"] .hdr__logo b { color: var(--apricot); }
/* the nav fills the row beside the wordmark; a long menu label may run wider than it, towards the left, and wraps at the screen edge */
.hdr__nav { display: flex; flex-direction: column; align-items: flex-end; flex: 1 1 0; min-width: 0; }
.menu-btn { text-transform: uppercase; display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 700; line-height: 1; letter-spacing: -0.025em; padding: 14px 12px; margin: -12px -12px; }
.menu-btn i { display: grid; grid-template-columns: 3px 3px; gap: 2px; height: 8px; margin-top: 3px; align-content: start; transition: transform var(--t-ui) var(--ease); }
.menu-btn:active { scale: 0.97; }
.menu-btn i::before, .menu-btn i::after { content: ""; width: 3px; height: 3px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.menu-btn[aria-expanded="true"] i { transform: rotate(90deg); }
.menu { margin-top: 10px; text-align: right; visibility: hidden; width: max-content; max-width: calc(100vw - 2 * var(--pad)); }
.menu li { overflow: hidden; padding-bottom: 0.1em; }
.menu a { display: block; font-size: 1.125rem; font-weight: 700; text-transform: uppercase; line-height: 1.15; letter-spacing: -0.025em; transform: translateY(110%); transition: transform var(--t-ui) var(--ease), text-decoration-color var(--t-hover) ease; transition-delay: calc(var(--i) * 30ms), 0s; padding: 2px 0; }
.menu.is-instant a, .menu-btn.is-instant i { transition-duration: 0s; transition-delay: 0s; }
.menu.is-open { visibility: visible; }
.menu.is-open a { transform: none; }
.menu a { text-decoration: underline 2px transparent; text-underline-offset: 4px; }
.menu a[aria-current="page"] { text-decoration-color: var(--copper); }
.hdr[data-tone="dark"] .menu a[aria-current="page"] { text-decoration-color: var(--apricot); }
@media (hover: hover) and (pointer: fine) { .menu a:hover { text-decoration-color: var(--copper); } .hdr[data-tone="dark"] .menu a:hover { text-decoration-color: var(--apricot); } }
@media (pointer: coarse), (max-width: 767px) { .menu a { padding: 13px 0; } }

/* ---------- hero: three full-bleed pictures that change with the scroll ---------- */
.hero { position: relative; z-index: 0; height: 400vh; margin-bottom: -100vh; }
/* light hero (Camilla, 2026-11-25): cream ground and dark text through all three pictures; the shades below are cream, not coffee */
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); color: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: opacity, transform; }
/* the sketch and the photo start hidden; the 3D canvas sits between them and the first picture, so this must be ~ and not + (fix 2026-11-26: the sketch showed during load) */
.hero__img ~ .hero__img { opacity: 0; }
.hold .hero__img ~ .hero__img { opacity: 0 !important; }  /* while the loader is up only the blurred still of the model is there */
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,235,218,0.86) 0%, rgba(251,235,218,0.8) 36%, rgba(251,235,218,0.1) 54%, rgba(251,235,218,0.1) 66%, rgba(251,235,218,0.8) 86%, rgba(251,235,218,0.9) 100%); }
/* Camilla, 2026-11-25: the headline sits a little lower and larger */
.hero__top { position: absolute; left: var(--pad); right: var(--pad); top: clamp(84px, 13vh, 140px); top: clamp(84px, 13svh, 140px); }
/* serif headings set slightly tighter (Camilla, 2026-11-25) */
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.25rem, 1rem + 9vw, 5.25rem); line-height: var(--lh-display); }
@media (min-width: 768px) { .hero h1 { font-size: 6rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: clamp(6rem, 6.2vw, 7.5rem); } }
/* Wide screens (fix 2026-11-25). The 3D overview is only 1315px in the source, so it is not stretched to cover the screen:
   it is shown whole, at about its own size, against the same dark coffee ground it was cut onto, and kept to the right of the text.
   The shade comes from the left, under the text only, so the building is not dimmed. */
/* phones and tablets held upright: the building sits whole under the buttons, above the counter */
@media (max-width: 1023px) and (min-height: 501px) {
  .hero__img--fit, .hero__3d { top: auto; bottom: 64px; left: var(--pad); right: var(--pad); width: calc(100% - 2 * var(--pad)); height: min(46%, 100% - 480px); object-fit: contain; object-position: 50% 100%; }
  .hero__shade { background: linear-gradient(180deg, rgba(251,235,218,0.9) 0%, rgba(251,235,218,0.82) 42%, rgba(251,235,218,0) 60%), linear-gradient(180deg, rgba(251,235,218,0) 82%, rgba(251,235,218,0.88) 100%); }
}
@media (min-width: 1024px) and (min-height: 501px) {
  /* the picture is cropped tight to the building and kept in the right 58% of the screen, clear of the header and the counter */
  /* Camilla, 2026-11-25 (marked on a screenshot): the building fills a box on the right, from 40.5% to 92% across and 8.5% to 90% down,
     never closer than about 40px to the text column (which ends near 536px). It tilts slightly in 3D with the mouse (see site.js). */
  .hero__img--fit, .hero__3d { top: 8.5%; left: max(40.5%, 580px); width: calc(92% - max(40.5%, 580px)); height: 81.5%; object-fit: contain; object-position: 50% 50%; transform-origin: 50% 50%; backface-visibility: hidden; }
  .hero__shade { background: linear-gradient(90deg, rgba(251,235,218,0.94) 0%, rgba(251,235,218,0.82) 28%, rgba(251,235,218,0) 46%), linear-gradient(180deg, rgba(251,235,218,0) 82%, rgba(251,235,218,0.8) 100%); }
}
/* space between a display headline and what follows grows with the headline (Camilla, 2026-11-25) */
.hero__what { margin-top: var(--gap-lead); max-width: 31rem; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: -0.01em; }
.hero__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: 0.875rem; }
@media (min-width: 768px) { .hero__links { font-size: 1rem; } }
@media (min-width: 1024px) { .hero__links { font-size: 1.125rem; } }
.hero__base { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: grid; gap: 22px; }
/* only the stage counter is left at the bottom (project labels and the tagline removed, 2026-11-25) */
.hero__mid { display: flex; justify-content: flex-end; font-size: var(--fs-caps); letter-spacing: var(--tr-label); text-transform: uppercase; }
.hero__stage b { font-weight: 700; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; }
/* The light opening tried on 2026-11-25 was dropped the same day (Camilla: the dark shade works better). */
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__btns .pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 17px 32px; transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform var(--t-press) var(--ease); }
.hero .pill--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero .pill:not(.pill--solid) .pill__a { color: var(--apricot); }
@media (hover: hover) and (pointer: fine) {
  .hero .pill:not(.pill--solid):hover { background: var(--apricot); color: var(--ink); border-color: var(--apricot); }
  .hero .pill:not(.pill--solid):hover .pill__a { color: var(--ink); }
  .hero .pill--solid:hover { background: var(--bean); border-color: var(--bean); color: var(--paper); }
}
.motion-ok.hold .hero .ln > span { transform: translateY(170%); }
.motion-ok.hold .hero .fade { opacity: 0; }

.over { position: relative; z-index: 2; background: var(--paper); }

/* ---------- tiles: scattered pictures that gather into one ---------- */
/* 200vh (was 260vh): the scene now starts part-way in, so it needs less scrolling to play out at the same speed */
.cloud { position: relative; height: 200vh; }
.cloud__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cloud__say { position: absolute; left: 0; right: 0; top: 14%; padding: 0 24px; text-align: center; font-family: var(--serif); font-size: 1.875rem; line-height: 0.92; }
/* wide screens: the heading is centred over the large tile, in the gap between the header and the tile (which starts 29% down)
   and between the two upper tiles (27% to 73% wide). It is set like the site's other serif headings, as large as that gap allows. */
/* more air around the heading (Camilla, 2026-11-25): centred between 84px and 56px above the large tile, so it never crowds the tile's top edge */
@media (min-width: 1024px) { .cloud__say { left: 29%; right: auto; top: 84px; width: 42%; height: calc(36vh - 140px); height: calc(36svh - 140px); display: flex; align-items: center; justify-content: center; padding: 0; white-space: nowrap; line-height: var(--lh-display); font-size: min(clamp(2.25rem, 1.5rem + 7.3vw, 8rem), 5.2vw, (36vh - 150px) / 1.05); } }
.tile { position: absolute; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 1px 0 rgba(40,30,21,0.06); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s var(--ease); }
.tile { transition: scale var(--t-press) var(--ease); }
.tile:active { scale: 0.98; }
.tile img.doc { mix-blend-mode: multiply; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 10px; background: linear-gradient(180deg, rgba(40,30,21,0) 0%, rgba(40,30,21,0.9) 62%); color: var(--paper); font-size: 0.75rem; line-height: 1.3; letter-spacing: 0.02em; }
.tile__cap b { display: block; font-weight: 600; font-size: 0.8125rem; }
.tile__cap i { display: none; font-style: normal; }
.tile--main .tile__cap { padding: 64px 20px 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 20px; font-size: 0.875rem; }
.tile--main .tile__cap b { grid-column: 1 / -1; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; }
.tile--main .tile__cap i { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; font-size: var(--fs-link); letter-spacing: 0.04em; }
@media (min-width: 1024px) { .tile--main .tile__cap { padding: 80px 28px 24px; font-size: 1rem; } .tile--main .tile__cap b { font-size: 1.5rem; } }
@media (hover: hover) and (pointer: fine) { .tile:hover img { scale: 1.04; } }
.tile:focus-visible { outline-offset: -4px; outline-color: var(--apricot); }
/* The large tile keeps its final size; the script opens it with a clip-path and moves the picture and caption
   with transforms, so nothing is laid out again while scrolling. The focus ring sits on the project name,
   because an outline on the tile itself would be clipped away. */
.motion-ok .tile--main { left: 20px; top: 20px; width: calc(100% - 40px); height: calc(100% - 40px); border-radius: 0; will-change: clip-path; }
/* phones: the header has a ground here, so the opened tile stops 20px below it and keeps the same margin on all four sides */
@media (max-width: 1023px) { .motion-ok .tile--main { top: 78px; height: calc(100% - 98px); } }
@media (max-width: 359px) { .tile:not(.tile--main) .tile__cap { padding: 30px 10px 9px; } .tile:not(.tile--main) .tile__cap b { font-size: 0.75rem; } }
.motion-ok .tile--main img, .motion-ok .tile--main .tile__cap { will-change: transform; }
/* the picture is given the size that covers the box (set once per resize by the script) and is then only scaled */
.motion-ok .tile--main img { position: absolute; left: 50%; top: 50%; max-width: none; object-fit: fill; }
/* narrow screens: the link sits on its own row, so it never runs into the project type */
@media (max-width: 1023px) { .tile--main .tile__cap { grid-template-columns: 1fr; row-gap: 4px; } .tile--main .tile__cap i { justify-self: start; } }
/* the caption text is as wide as the small window (--capw, set by the script), so long names wrap inside it */
.motion-ok .tile--main .tile__cap { grid-template-columns: minmax(0, calc(var(--capw, 100vw) - 40px)); }
@media (min-width: 1024px) {
  .motion-ok .tile--main .tile__cap { grid-template-columns: minmax(0, calc(var(--capw, 100vw) - 56px - 8rem)) 1fr; }
  .motion-ok .tile--main .tile__cap b { max-width: calc(var(--capw, 100vw) - 56px); }
  .motion-ok .tile--main .tile__cap i { justify-self: end; }
}
/* small tiles: a long project name stops at two lines so it never covers the picture */
.tile:not(.tile--main) .tile__cap b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.motion-ok .tile--main:focus-visible { outline: none; }
.motion-ok .tile--main:focus-visible .tile__cap b { justify-self: start; outline: 2px solid var(--apricot); outline-offset: 6px; border-radius: 2px; }
/* small tiles, aligned (Camilla, 2026-11-13: no scattered, tilted tiles).
   Phone: a row of two above the large tile and a row of two below it. */
/* phones: two tiles, the large tile, two tiles, all on the same outer edges (20px, where the large tile's box starts) with a 12px gap */
.t1, .t2, .t3, .t4 { width: calc(50% - 26px); height: 15%; }
.t1, .t3 { left: 20px; } .t2, .t4 { right: 20px; }
.t1, .t2 { top: calc(26.3% - 12px); } .t3, .t4 { top: calc(71.3% + 12px); }
.t5 { display: none; } .t6 { display: none; }
/* wide screens: three tiles in a column down each side, between the header and the bottom edge */
@media (min-width: 1024px) {
  .cloud__pin { --ct: 84px; --cg: 16px; --ch: calc((100vh - var(--ct) - 24px - 2 * var(--cg)) / 3); }
  @supports (height: 100svh) { .cloud__pin { --ch: calc((100svh - var(--ct) - 24px - 2 * var(--cg)) / 3); } }
  /* Sabine, 2026-11-25: a larger middle picture, with the side tiles moved in towards it (16px from the large tile's resting edge at 29% / 71%) */
  .t1, .t2, .t3, .t4, .t5, .t6 { display: block; width: 17%; height: var(--ch); }
  .t1, .t3, .t5 { left: calc(12% - 16px); } .t2, .t4, .t6 { left: auto; right: calc(12% - 16px); }
  .t1, .t2 { top: var(--ct); }
  .t3, .t4 { top: calc(var(--ct) + var(--ch) + var(--cg)); }
  .t5, .t6 { top: calc(var(--ct) + 2 * (var(--ch) + var(--cg))); }
}
/* resting size before the script takes over (and when it does not run) */
.tile--main { z-index: 2; border-radius: var(--r); left: 20px; top: 41.3%; width: calc(100% - 40px); height: 30%; }
@media (min-width: 1024px) { .tile--main { left: 29%; top: 36%; width: 42%; height: 54%; } }

/* ---------- about ---------- */
.about { padding: 120px var(--pad) 48px; display: grid; gap: 24px; }  /* less space under the statement (Camilla, 2026-11-25; was 140px, 220px wide) */
@media (min-width: 1024px) { .about { grid-template-columns: 231px 1fr; gap: 0; padding: 180px var(--pad) 40px; } }
.about__say { font-weight: 400; font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 0.92; letter-spacing: -0.045em; max-width: 16em; }
@media (min-width: 1024px) { .about__say { font-size: calc(1rem + 4.1vw); line-height: var(--lh-display); } }
.about__say .w, .quote .w { transition: opacity 0.2s ease; }
.about__thumb { display: inline-block; width: 1.5em; height: 0.72em; border-radius: 0.1em; overflow: hidden; vertical-align: -0.02em; margin-right: 0.18em; }
.about__thumb img { width: 100%; height: 100%; object-fit: cover; }
.about__rule { height: 1px; background: var(--line); margin-top: var(--gap-lead); max-width: 520px; position: relative; }
.about__rule::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 64px; background: var(--copper); }
.about__copy { margin-top: 24px; max-width: 350px; }

/* ---------- marquee: client names, and a picture that opens to full screen ---------- */
.marq { position: relative; height: 280vh; }
.marq__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.marq__track { display: flex; white-space: nowrap; font-size: clamp(3rem, 1rem + 6.4vw, 9rem); font-weight: 500; line-height: 1; letter-spacing: -0.07em; will-change: transform; }
.marq__track span { padding: 0 0.2em; }
.marq__track i { font-style: normal; color: var(--copper); }
.marq__img { position: absolute; overflow: hidden; border-radius: 6px; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46vw; height: 46vw; }
@media (min-width: 1024px) { .marq__img { width: 22vw; height: 19vw; } }
.marq__img img { width: 100%; height: 100%; object-fit: cover; }
.motion-ok .marq__img { left: 0; top: 0; width: 100%; height: 100%; transform: none; border-radius: 0; will-change: clip-path; }
.motion-ok .marq__img img { will-change: transform; }
.marq__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,30,21,0.7) 0%, rgba(40,30,21,0) 20%, rgba(40,30,21,0) 58%, rgba(40,30,21,0.9) 92%); opacity: var(--s, 0); }
.marq__cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; color: var(--paper); z-index: 3; opacity: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: var(--fs-link); }

/* ---------- process: one step per screen, pinned ---------- */
.proc { position: relative; height: 360vh; background: var(--ink); color: var(--paper); }
.proc__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* phones: the pinned scenes fill the screen that is actually visible, also when the browser bars are tucked away */
@media (max-width: 1023px) { @supports (height: 100dvh) { .cloud__pin, .marq__pin, .proc__pin { height: 100dvh; } } }
.proc__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, #5a3f2b 0%, #3a2a1d 45%, var(--ink) 100%); }
.proc__pin { --res: 290px; }  /* room kept for the header (76px) and the text under the picture */
@media (min-width: 1024px) { .proc__pin { --res: 270px; } }
.proc__shot { position: absolute; left: 50%; top: calc(76px + (100vh - 76px - var(--res)) / 2); top: calc(76px + (100svh - 76px - var(--res)) / 2); transform: translate(-50%, -50%); width: min(86vw, (100vh - 76px - var(--res)) * 1.29); width: min(86vw, (100svh - 76px - var(--res)) * 1.29); border-radius: var(--r); overflow: hidden; opacity: 0; transition: opacity 0.7s var(--ease), scale 0.9s var(--ease); scale: 0.96; background: var(--card); }
.proc__shot.is-on { opacity: 1; scale: 1; }
.proc__shot img { width: 100%; mix-blend-mode: multiply; }
.proc__fade { position: absolute; inset: 60% 0 0 0; background: linear-gradient(180deg, rgba(40,30,21,0) 0%, rgba(40,30,21,0.92) 62%, var(--ink) 100%); pointer-events: none; }
.proc__txt { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; }
.proc__step { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
/* hidden steps stay in the tab order and for screen readers; they only ignore the pointer (review, 2026-11-25) */
.proc__step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.proc__step h3 { font-weight: 400; font-size: 1.875rem; line-height: var(--lh-head); letter-spacing: -0.04em; }
@media (min-width: 768px) { .proc__step h3 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .proc__step h3 { font-size: 3rem; } }
.proc__step p { margin-top: var(--gap-head); max-width: 30rem; font-size: 0.875rem; line-height: 1.5; color: rgba(251,235,218,0.8); }
@media (min-width: 1024px) { .proc__step p { font-size: 1rem; } }
.proc__num { text-align: right; flex: none; }
.proc__num b { display: block; font-weight: 400; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--apricot); }
.proc__more { font-size: var(--fs-link); }
.proc__step .proc__more { margin-top: 18px; color: var(--paper); }
.proc__num small { font-size: var(--fs-caps); letter-spacing: var(--tr-label); text-transform: uppercase; color: rgba(251,235,218,0.75); }
.proc__line { position: relative; height: 1px; background: var(--line-inv); }
.proc__line i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
/* the dot rides on a full-width carrier that is moved with a transform, so the line is never laid out again */
.proc__line b { position: absolute; top: -3px; left: 0; width: 100%; height: 7px; pointer-events: none; will-change: transform; }
.proc__line b::before { content: ''; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--apricot); }

/* wide screens (Sabine, 2026-11-25: fewer and larger pictures): the picture fills the left of the screen, the step sits beside it */
@media (min-width: 1024px) and (min-height: 501px) {
  .proc__shot { left: var(--pad); top: calc(50% + 30px); transform: translateY(-50%); width: min(58vw, (100vh - 140px) * 1.38); width: min(58vw, (100svh - 140px) * 1.38); }
  .proc__fade { display: none; }
  .proc__txt { left: calc(58vw + var(--pad) + 48px); }
  .proc__step { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .proc__num { text-align: left; }
  .proc__step h3 { font-size: 2.5rem; }
}
button.roll { font: inherit; font-size: var(--fs-link); letter-spacing: 0.04em; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- example of a delivered oplæg, opened from the third process step ---------- */
.deck { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--paper); overscroll-behavior: contain; }
.deck::backdrop { background: rgba(40, 30, 21, 0.6); }
.deck[open] { animation: deck-in 0.4s var(--ease); }
@keyframes deck-in { from { opacity: 0; transform: translateY(16px); } }
.deck__bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--pad); background: var(--ink); box-shadow: 0 1px 0 var(--line-inv); }
.deck__bar .label { font-size: var(--fs-caps); letter-spacing: var(--tr-label); text-transform: uppercase; }
.deck__bar .muted { margin-left: 12px; }
.deck__x { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-size: var(--fs-caps); letter-spacing: var(--tr-caps); text-transform: uppercase; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.deck__x span { font-size: 1.125rem; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .deck__x:hover { background: var(--apricot); border-color: var(--apricot); color: var(--ink); } }
.deck__pages { display: grid; gap: 28px; justify-items: center; padding: 28px var(--pad) 64px; }
.deck figure { margin: 0; width: min(100%, 1000px); }
.deck figure img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
.deck figcaption { margin-top: 8px; font-size: var(--fs-small); color: rgba(251, 235, 218, 0.7); font-variant-numeric: tabular-nums; }
html.deck-open { overflow: hidden; }
/* ---------- two cards side by side ---------- */
.duo { padding: 20px; display: grid; gap: 8px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; min-height: max(100vh, 640px); min-height: max(100svh, 640px); } .duo > .duo__img { min-height: 0; } .duo.duo--auto { min-height: 0; } .duo--flip > .duo__img { order: 2; } }
.duo__img { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); min-height: 62vw; }
.duo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-ui) ease, filter var(--t-ui) ease; }
.duo__img.is-instant img, .sits.is-instant button, .sits.is-instant button::before { transition: none; }
.duo__img img.fit { object-fit: contain; padding: 4%; mix-blend-mode: multiply; }
.duo__img img:not(.is-on) { opacity: 0; filter: blur(2px); }
.duo__card { border-radius: var(--r); background: var(--card); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 420px; }
@media (min-width: 900px) { .duo__card { padding: 44px 46px 40px; } .duo--auto .duo__card { min-height: 620px; } .duo--auto .duo__img { min-height: 620px; } }
.duo__card.dark { background: var(--ink); color: var(--paper); }
.sits li { border-top: 1px solid var(--line); }
.sits li:last-child { border-bottom: 1px solid var(--line); }
.sits button { position: relative; display: block; width: 100%; text-align: left; padding: 18px 0; font-size: 1rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--bean); transition: color var(--t-hover) ease; }
@media (min-width: 1024px) { .sits button { font-size: 1.25rem; padding: 20px 0; } }
.sits button::before { content: ""; position: absolute; left: 0; top: -2px; height: 3px; width: 64px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease); }
.sits button[aria-pressed="true"] { color: var(--ink); }
.sits button[aria-pressed="true"]::before { transform: none; }
@media (hover: hover) and (pointer: fine) { .sits button:hover { color: var(--ink); } }
.ticks li { padding: 14px 0; border-top: 1px solid var(--line); font-size: var(--fs-body); line-height: var(--lh-body); }
.dark .ticks li { border-color: var(--line-inv); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.dark .ticks li:last-child { border-color: var(--line-inv); }

/* ---------- centred serif statement on a light card ---------- */
.trans { background: var(--paper); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--pad); }
.trans .label { margin-bottom: 20px; }
.trans .h-serif { max-width: 15ch; }
.trans--short { min-height: 70vh; }

/* ---------- rows ---------- */
.rows { padding: 0 var(--pad) 120px; background: var(--paper); }  /* beige, not the lighter card tint (Camilla, 2026-11-25) */
.rows--paper { background: var(--paper); padding-top: 40px; }
.row { display: grid; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; position: relative; }
.row:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .row { grid-template-columns: 231px 1fr 1fr; gap: 0 40px; padding: 36px 0; } }
.row__n { font-size: var(--fs-caps); letter-spacing: var(--tr-label); color: var(--bean); font-weight: 600; }
.row p { max-width: 30rem; }
.row::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 64px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.row.is-in::after { transform: none; }
.rows__more { margin-top: 40px; }

/* ---------- full-bleed picture with a large line of text ---------- */
.feat { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--paper); background: var(--ink); }
.feat img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
/* phones: the tall crop shows the chairs and the plant, not the empty glass wall */
@media (max-width: 1023px) and (orientation: portrait) { .feat img { object-position: 15% 50%; } }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,30,21,0.82) 0%, rgba(40,30,21,0.1) 34%, rgba(40,30,21,0.2) 52%, rgba(40,30,21,0.9) 100%); }
.feat__txt { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-display); }
/* sans display headings set tighter too (Camilla, 2026-11-25) */
.feat__h { font-weight: 400; font-size: clamp(2rem, 1rem + 5.1vw, 5.5rem); line-height: var(--lh-display); letter-spacing: -0.05em; }
@media (min-width: 1024px) { .feat__h { font-size: calc(1.5rem + 5.33vw); } }

/* ---------- quote ---------- */
.quote { padding: 140px var(--pad); text-align: center; display: grid; justify-items: center; gap: 36px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.75rem, 4.2vw, 3.75rem); line-height: 0.96; max-width: 24ch; }
.quote blockquote::before { content: "“"; display: block; color: var(--copper); font-size: 1.6em; line-height: 0.6; margin-bottom: 0.1em; }

/* ---------- faq ---------- */
.faq { padding: 120px var(--pad) 140px; display: grid; gap: 32px; background: var(--paper); }  /* beige (Camilla, 2026-11-25) */
@media (min-width: 1024px) { .faq { grid-template-columns: 231px 1fr; gap: 0; } }
.faq__h { margin-bottom: 48px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 1.125rem; letter-spacing: 0; transition: transform var(--t-ui) var(--ease), scale var(--t-press) var(--ease), background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.faq summary:active::after { scale: 0.94; }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]) summary:hover::after { background-color: var(--ink); color: var(--paper); border-color: var(--ink); } }
.faq details.is-instant summary::after { transition: none; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--copper); border-color: var(--copper); color: var(--paper); }
.faq .answer { padding: 0 64px 28px 0; max-width: 40rem; }
.faq .answer { transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease); }
.motion-ok .faq .answer.is-new { opacity: 0; transform: translateY(-8px); transition: none; }

/* ---------- closing panel ---------- */
.cta { padding: 20px; }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); color: var(--paper); min-height: calc(100vh - 40px); min-height: calc(100svh - 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--gap-display); padding: 80px 24px; }
.cta__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta__panel > *:not(img) { position: relative; }
.cta__h { font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 5.33vw, 6.5rem); line-height: var(--lh-display); letter-spacing: -0.05em; max-width: 12ch; }
.cta--short .cta__panel { min-height: calc(100vh - 40px); min-height: calc(100svh - 40px); }  /* almost full screen on every page (Camilla, 2026-11-25; was 70vh on inner pages) */

/* ---------- footer ---------- */
.ftr { position: relative; z-index: 2; background: var(--paper); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 64px var(--pad) max(16px, env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .ftr { padding: 64px var(--pad); } }
.ftr__frame { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; }
@media (min-width: 768px) { .ftr__frame { border-radius: 30px; padding: 40px; } }
.ftr__top, .ftr__bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: var(--fs-caps); letter-spacing: var(--tr-caps); text-transform: uppercase; }
.ftr__top { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.ftr__top a { font-weight: 600; letter-spacing: var(--tr-caps); padding: 13px 0; margin: -13px 0; }
.ftr__bot a { padding: 14px 0; margin: -14px 0; }

.ftr__bot { padding-top: 28px; border-top: 1px solid var(--line); align-items: flex-end; }
.ftr__bot small { display: block; font-size: 0.75rem; letter-spacing: var(--tr-caps); color: var(--bean); margin-top: 6px; }
.ftr__mid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ftr__mid { grid-template-columns: 1fr auto; align-items: start; } }
.ftr__h { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 13vw, 7rem); line-height: var(--lh-display); letter-spacing: -0.03em; max-width: 12ch; }
@media (min-width: 1024px) { .ftr__h { font-size: clamp(2.75rem, 8vw, 7rem); } }
.ftr__sub { margin-top: var(--gap-lead); font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: 36rem; }
.ftr__cols { display: flex; gap: 48px; flex-wrap: wrap; }
@media (min-width: 1024px) { .ftr__cols { gap: 80px; padding-top: 8px; } }
.ftr__cols p { font-size: var(--fs-caps); letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--bean); margin-bottom: 6px; }
.ftr__cols li { margin-bottom: 0; padding: 10px 0; line-height: 1.5; }
.ftr__cols a { display: inline-block; min-width: 44px; padding: 10px 0; margin: -10px 0; }
.ftr__bot a.roll { text-decoration: none; }
.ftr__cols a, .ftr__bot a { text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .ftr__cols a:hover, .ftr__bot a:hover { text-decoration-color: var(--copper); } }

/* ---------- inner pages ---------- */
.phead { padding: 150px var(--pad) 64px; display: grid; gap: var(--gap-lead); }
@media (min-width: 1024px) { .phead { padding: 200px var(--pad) 96px; } }
.phead .h-serif { max-width: 17ch; }
.phead .copy { max-width: 36rem; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.phead__nav { display: flex; gap: 24px; flex-wrap: wrap; }

.case { padding: 0 var(--pad) 96px; }
.case__in { border-top: 1px solid var(--line); padding-top: 28px; position: relative; }
.case__in::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 64px; background: var(--copper); }
/* case heading (Camilla, 2026-11-25): number and description on one line across the top,
   then the project name at the far left with the challenge and solution beside it */
.case__head { display: grid; gap: 28px; margin-bottom: 40px; }
/* left: the number and description, the name close under it; right: udfordring and løsning, starting level with the description */
.case__head > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.case__head h2 { margin-top: -12px; }
@media (min-width: 1024px) {
  .case__head { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 0 40px; align-items: start; }
  .case__head h2 { margin-top: 16px; }
  .case__head > div:last-child { grid-column: 2; grid-row: 1 / span 2; }
}
.case__head .label + .label { margin-top: 0; }
.case__n { color: var(--bean); font-weight: 600; }
.case__head h2 { max-width: 9em; }
.case dl { display: grid; gap: 20px; }
.case dt { font-size: var(--fs-caps); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--bean); margin-bottom: 6px; }
.case dd, .case .prose p { max-width: 32rem; }
.prose p + p { margin-top: 1em; }
.shots { display: grid; gap: 8px; }
@media (min-width: 768px) { .shots { grid-template-columns: 1.6fr 1fr; } .shots .shot:first-child { grid-row: span 2; } .shots.pair { grid-template-columns: 1fr 1fr; } .shots.pair .shot:first-child { grid-row: auto; } }
.shot { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); min-height: 220px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s var(--ease); }
.shot.doc img { object-fit: contain; mix-blend-mode: multiply; }
.shots.pair .shot { aspect-ratio: 4 / 3; }
@media (hover: hover) and (pointer: fine) { .shot:hover img { scale: 1.03; } }
.tag { position: absolute; z-index: 1; left: 16px; top: 16px; background: var(--paper); color: var(--ink); border-radius: 99px; padding: 6px 14px; font-size: var(--fs-caps); letter-spacing: var(--tr-caps); text-transform: uppercase; }
.tag.after { background: var(--ink); color: var(--paper); }

.split { padding: 96px var(--pad); display: grid; gap: 40px; }
@media (min-width: 1024px) { .split { grid-template-columns: 231px 1fr 1fr; gap: 0 40px; padding: 140px var(--pad); } }
.split--card { background: var(--card); }
.split.dark { background: var(--ink); color: var(--paper); }
.split .prose { max-width: 34rem; }

.portrait { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; background: var(--card); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.ph { border-radius: var(--r); border: 1px dashed var(--bean); background: var(--card); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--bean); aspect-ratio: 4 / 5; max-width: 520px; }
.ph p { font-size: 1.25rem; letter-spacing: -0.02em; } .ph small { display: block; font-size: var(--fs-caps); letter-spacing: var(--tr-caps); text-transform: uppercase; margin-top: 10px; }

.words { padding: 100px 0; overflow: hidden; border-top: 1px solid var(--line); }
.words .marq__track { animation: slide 16s linear infinite; }  /* faster (Sabine, 2026-11-25); was 28s */
.shots--more { margin-top: 8px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .shots.shots--more { grid-template-columns: repeat(4, 1fr); } .shots--more .shot:first-child { grid-row: auto; } }
.shots--more .shot { aspect-ratio: 4 / 3; min-height: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

.contact { padding: 0 var(--pad) 120px; display: grid; gap: 8px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.3fr; } }
.contact__card { border-radius: var(--r); background: var(--card); padding: 28px 24px; }
@media (min-width: 768px) { .contact__card { padding: 44px 46px; } }
.contact__card.dark { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.contact dl { display: grid; gap: 24px; }
.contact dt { font-size: var(--fs-caps); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--apricot); margin-bottom: 6px; }
.contact dd { font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.contact dd a { display: inline-block; padding: 12px 0; margin: -12px 0; text-decoration: underline 1px var(--line-inv); text-underline-offset: 5px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .contact dd a:hover { text-decoration-color: var(--apricot); } }
.contact__ways { display: flex; flex-direction: column; justify-content: center; }
.way { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.way:first-child { padding-top: 0; }
.way:last-child { border-bottom: 0; padding-bottom: 0; }
.way span { grid-column: 1 / -1; font-size: var(--fs-caps); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--bean); }
.way b { font-weight: 400; font-size: clamp(0.875rem, 4.6vw, 2.25rem); letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .way b { font-size: min(2.9vw, 2.75rem); } }
.way i { font-style: normal; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.1; color: var(--copper); transition: transform var(--t-move) var(--ease-move); }
@media (hover: hover) and (pointer: fine) { .way:hover i { transform: translateX(6px); } }
.way:active i { transform: translateX(3px); }

/* ---------- low, wide screens: phones held sideways ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero__top { top: 62px; }
  .hero__shade { background: linear-gradient(90deg, rgba(251,235,218,0.92) 0%, rgba(251,235,218,0.8) 45%, rgba(251,235,218,0.1) 78%), linear-gradient(180deg, rgba(251,235,218,0) 58%, rgba(251,235,218,0.9) 88%); }
  .hero h1 { font-size: 2.25rem; }
  .hero__what { margin-top: 8px; max-width: 34rem; font-size: 0.875rem; }
  .hero__links { margin-top: 10px; font-size: 0.875rem; }
  .hero__base { bottom: 18px; gap: 10px; }
  .hero__mid { font-size: var(--fs-caps); }
  .hero__mid p:nth-child(even) { text-align: left; }
  .hero__foot { font-size: 0.875rem; }
  .hero__foot br { display: none; }
  .cloud__say { top: 64px; font-size: 1.5rem; }
  /* process: picture to the left, text to the right */
  .proc__shot { left: var(--pad); top: calc(50% + 24px); transform: translateY(-50%); width: min(44vw, (100vh - 96px) * 1.29); width: min(44vw, (100svh - 96px) * 1.29); }
  .proc__fade { display: none; }
  .proc__txt { left: 52%; bottom: 20px; }
  .proc__step { bottom: 24px; }
  .proc__step h3 { font-size: 1.5rem; }
  .proc__step p { margin-top: 8px; }
  .proc__step .proc__more { margin-top: 10px; }
  .proc__num { display: none; }
  html:not(.motion-ok) .proc__shot { width: auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  /* fewer and gentler, not none: fades and colour changes stay, movement is dropped */
  *, *::before, *::after { animation: none !important; transition-property: opacity, color, background-color, border-color, text-decoration-color, box-shadow !important; transition-delay: 0s !important; }
}
/* Still page: reduced motion, no script, or the script failed to load (no .motion-ok on <html>).
   The three long scroll scenes become ordinary sections. */
html:not(.motion-ok) .hero { height: 100vh; height: 100svh; margin-bottom: 0; }
html:not(.motion-ok) .cloud, html:not(.motion-ok) .marq, html:not(.motion-ok) .proc { height: auto; }
html:not(.motion-ok) .cloud__pin, html:not(.motion-ok) .marq__pin, html:not(.motion-ok) .proc__pin { position: static; height: auto; overflow: visible; }
html:not(.motion-ok) .cloud__pin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 96px var(--pad); }
html:not(.motion-ok) .cloud__say { position: static; display: block; height: auto; white-space: normal; grid-column: 1 / -1; width: auto; padding: 0 0 24px; text-align: left; }
html:not(.motion-ok) .tile { display: block !important; position: relative; left: auto !important; right: auto !important; top: auto !important; width: auto !important; height: auto !important; aspect-ratio: 4 / 3; rotate: none; transform: none !important; opacity: 1 !important; visibility: visible !important; }
html:not(.motion-ok) .tile--main { grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 9; clip-path: none !important; }
html:not(.motion-ok) .tile--main img, html:not(.motion-ok) .tile--main .tile__cap, html:not(.motion-ok) .tile--main .tile__cap i { transform: none !important; }
html:not(.motion-ok) .tile--main img { width: 100% !important; height: 100% !important; margin: 0 !important; }
html:not(.motion-ok) .cloud__say { order: -2; }
html:not(.motion-ok) .marq__pin { display: block; padding: 96px 0; }
html:not(.motion-ok) .marq__track { transform: none !important; flex-wrap: wrap; white-space: normal; padding: 0 var(--pad); font-size: clamp(2rem, 5vw, 5rem); line-height: 1.1; }
html:not(.motion-ok) .marq__track > span[aria-hidden] { display: none !important; }
html:not(.motion-ok) .marq__img { position: relative; left: auto; top: auto; transform: none; width: auto !important; height: auto !important; aspect-ratio: 16 / 9; margin: 48px var(--pad) 0; border-radius: var(--r) !important; }
html:not(.motion-ok) .marq__img { clip-path: none !important; }
html:not(.motion-ok) .marq__img img { transform: none !important; }
html:not(.motion-ok) .marq__img::after { display: none; }
html:not(.motion-ok) .marq__cap { position: static; opacity: 1 !important; visibility: visible !important; color: var(--ink); padding: 20px var(--pad) 0; }
html:not(.motion-ok) .marq__cap .roll__a { color: var(--copper); }
html:not(.motion-ok) .proc__pin { position: relative; display: grid; gap: 24px 20px; padding: 96px var(--pad); }
html:not(.motion-ok) .proc__txt { display: contents; }
html:not(.motion-ok) .proc__fade, html:not(.motion-ok) .proc__line { display: none; }
html:not(.motion-ok) .proc__shot { position: relative; left: auto; top: auto; transform: none; width: auto; opacity: 1; scale: 1; }
html:not(.motion-ok) .proc__step { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; transform: none; visibility: visible; align-items: flex-start; margin-bottom: 40px; }
html:not(.motion-ok) .proc__bg + .proc__shot { order: 1; }html:not(.motion-ok) .proc__bg + .proc__shot + .proc__shot { order: 3; }html:not(.motion-ok) .proc__bg + .proc__shot + .proc__shot + .proc__shot { order: 5; }
html:not(.motion-ok) .proc__step:nth-child(1) { order: 2; }html:not(.motion-ok) .proc__step:nth-child(2) { order: 4; }html:not(.motion-ok) .proc__step:nth-child(3) { order: 6; }
@media (min-width: 1024px) {
  html:not(.motion-ok) .cloud__pin { grid-template-columns: repeat(3, 1fr); }
  html:not(.motion-ok) .proc__pin { grid-template-columns: repeat(3, 1fr); align-items: end; }
  html:not(.motion-ok) .proc__pin .proc__shot { order: 1 !important; }
  html:not(.motion-ok) .proc__pin .proc__step { order: 2 !important; align-self: start; }
  html:not(.motion-ok) .proc__step h3 { font-size: 2rem; }
  html:not(.motion-ok) .proc__num { display: none; }
}
/* without script the menu is simply open */
html:not(.js) .hdr { position: static; background: var(--ink); color: var(--paper) !important; flex-wrap: wrap; gap: 8px 24px; }
html:not(.js) .hdr::before { display: none; }
html:not(.js) .hdr .hdr__nav, html:not(.js) .hdr .menu { pointer-events: auto; }
html:not(.js) .menu-btn { display: none; }
html:not(.js) .menu { visibility: visible; margin-top: 0; display: flex; flex-wrap: wrap; gap: 0 20px; text-align: left; }
html:not(.js) .menu a { transform: none; padding: 11px 0; }

/* ---------- hero: the live 3D model (hero3d.js). It shares the picture's box; once drawn, it replaces the picture ---------- */
/* its box comes from the .hero__img--fit rules above; on low, wide screens (phones held sideways) it fills the hero */
.hero__3d { position: absolute; display: block; pointer-events: none; opacity: 0; }
@media (max-height: 500px) { .hero__3d { inset: 0; width: 100%; height: 100%; } }
/* Soft load (Camilla, 2026-11-26): the building starts blurred and half see-through, and comes into focus once the loader has gone.
   The 3D model fades in out of the blurred picture (no hard swap); without WebGL the picture itself sharpens (.is-flat, set by hero3d.js or site.js). */
.motion-ok .hero__img--fit { filter: blur(20px); opacity: 0.55; transition: filter 1.6s var(--ease), opacity 1.2s var(--ease); }
.motion-ok .hero__3d { filter: blur(20px); transition: opacity 1.2s var(--ease), filter 1.6s var(--ease); }
html:not(.hold) .hero.is-flat .hero__img--fit { filter: blur(0); opacity: 1; }
html:not(.hold) .hero.is-3d .hero__3d { filter: blur(0); opacity: 1; }
html:not(.hold) .hero.is-3d .hero__img--fit { filter: blur(20px); opacity: 0; }
html:not(.motion-ok) .hero.is-3d .hero__3d { opacity: 1; }
html:not(.motion-ok) .hero.is-3d .hero__img--fit { visibility: hidden; }

/* ---------- footer: the isometric B, super-sized in the right half of the frame (Camilla, 2026-11-25) ----------
   The mark is a dark coffee shape (the B as a mask). Inside it, site.js places a copy of the footer's content in cream,
   lined up exactly over the original, so text reads cream wherever the B covers it. Clicks pass through to the real links. */
.ftr__frame { position: relative; overflow: hidden; }
.ftr__mark { position: absolute; z-index: 5; pointer-events: none; overflow: hidden; aspect-ratio: 0.6298; background: var(--ink);
  -webkit-mask: url(../brand/b-mark-b2.svg) center / contain no-repeat; mask: url(../brand/b-mark-b2.svg) center / contain no-repeat;
  right: -12%; bottom: -8%; height: 42%; }
@media (min-width: 768px) { .ftr__mark { right: 3%; top: 50%; bottom: auto; height: 128%; transform: translateY(-50%); } }
.ftr__mark .ftr__copy { position: absolute; margin: 0; color: var(--paper); border-color: transparent; font-style: normal; }
.ftr__copy .ftr__top, .ftr__copy .ftr__bot { border-color: var(--line-inv); }
.ftr__copy .muted, .ftr__copy .ftr__cols p, .ftr__copy .ftr__bot small, .ftr__copy .ftr__top span { color: rgba(251, 235, 218, 0.75); }
.ftr__copy .roll__a, .ftr__copy .ftr__logo b { color: var(--apricot); }

/* header slides away while the footer's own logo is in view (site.js adds .is-gone) */
.hdr { transition: color 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease; }
.hdr.is-gone { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.hdr.is-gone > * { pointer-events: none; }

/* ---------- page change: the page blurs out and the next one blurs in (Camilla, 2026-11-26) ----------
   Chrome, Edge and Safari: the browser's own cross-page view transition. The header has its own name, so it stays sharp and still
   while the page under it changes. Browsers without it (Firefox) get the same look from site.js (.pt-leave) and the head script (.pt-enter).
   Same-page anchors, e-mail and phone links, new tabs and reduced motion: no transition. */
@view-transition { navigation: auto; }
.hdr { view-transition-name: hdr; }
::view-transition-group(root) { animation-duration: 0.75s; }
::view-transition-old(root) { animation: pt-out 0.3s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: pt-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }  /* starts as the old page is nearly gone, so the two never read on top of each other */
::view-transition-old(hdr), ::view-transition-new(hdr) { animation-duration: 0.35s; }
@keyframes pt-out { to { opacity: 0; filter: blur(10px); } }
@keyframes pt-in { from { opacity: 0; filter: blur(10px); } }
/* fallback: only the page content blurs (a filter on body would unpin the fixed header) */
.pt-leave #indhold, .pt-leave .ftr { opacity: 0; filter: blur(10px); transition: opacity 0.28s cubic-bezier(0.4, 0, 1, 1), filter 0.28s cubic-bezier(0.4, 0, 1, 1); }
.pt-enter #indhold, .pt-enter .ftr { animation: pt-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .pt-leave #indhold, .pt-leave .ftr { opacity: 1; filter: none; transition: none; }
  .pt-enter #indhold, .pt-enter .ftr { animation: none; }
}

/* arriving at a section from another page (cases#norsea): stop below the fixed header, the same 84px as the in-page scroll (2026-11-26) */
section[id], [id].case { scroll-margin-top: 84px; }
