/* Combass. The values below are the look, decided once with the skills in README ("Skills for the build").
   Round 2 (Brent: "it must look expensive"): Newsreader, the logo's own face, carries the display voice;
   the page tells one colour story, ink at both ends and paper between, with soft hand-overs instead of
   hard cuts; gold stays in the needle. */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/newsreader.woff2") format("woff2-variations"), url("/assets/newsreader.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
/* Its italic, for the one signature line under the logo (round 4), loaded only where that line is: a static cut
   at weight 360 and optical size 20 (build.py), so it is declared at that one weight. */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/newsreader-italic.woff2") format("woff2");
  font-weight: 360; font-style: italic; font-display: swap;
}
/* The title card's sans (round 5): Mona Sans (OFL), renamed for its cut (build.py), with width and weight axes. */
@font-face {
  font-family: "Combass Sans";
  src: url("/assets/sans.woff2") format("woff2-variations"), url("/assets/sans.woff2") format("woff2");
  font-weight: 300 600; font-stretch: 100% 125%; font-style: normal; font-display: swap;
}
@font-face { font-family: "Combass Sans Fallback"; src: local("Arial"); size-adjust: 104%; }
/* While Newsreader loads, Georgia stands in at a matching size so the headings barely move. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 74%; descent-override: 26%; }
@font-face { font-family: "Newsreader Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 96%; ascent-override: 74%; descent-override: 26%; }

:root {
  /* Colour: the logo's ink and gold, one neutral ramp and one accent, each step with a role (better-colors). The
     neutrals carry a trace of the needle's gold (round 7, the design gate: they were Apple's own greys to the digit):
     each kept at its old lightness in OKLab, so every contrast below is unchanged, and given the gold's hue (82 deg)
     at a chroma of .004 to .007, more in the middle of the ramp than at its ends. Enough to measure, not to name: the
     greys belong to the gold instead of to apple.com. The room's black and the screen stay neutral (the frames, a
     display). */
  --ink: #1E1D1B;          /* text and solid buttons on light */
  /* The dark acts' ground (round 5, Brent: "a true dark, cinematic room"): the room's black, the same value the
     laptop's frames are graded to (build.py ROOM), so the photo has no edge and the screen's light falls into dark. */
  --night: #070707;
  --night-rgb: 7 7 7;
  --night-raised: #1B1A18; /* fields on the night */
  --screen: #0E0E10;       /* a lit display showing black: a shade above the room, so the glass reads as switched on */
  --ink-2: #716E6A;        /* secondary text on light: 5.1:1 on white, 4.7:1 on mist */
  --paper: #FFFFFF;        /* the light act's ground */
  --mist: #F7F5F2;         /* surfaces on paper: cards, the form */
  --line: #D4D2CF;         /* field borders, hairlines */
  --on-night: #F7F5F2;     /* text on ink */
  --on-night-2: #A4A19D;   /* secondary text on the night: 7.8:1, 6.8:1 on its fields */
  --on-night-soft: #C9C7C4; /* the signature line on the night: between the two, 11.9:1 */
  --ink-hover: #3C3A37;    /* a solid ink button under the pointer (paper on it 11.3:1); the skip button's rim */
  --paper-hover: #EAE8E5;  /* a solid paper button under the pointer (ink on it 13.8:1) */
  --grey-mid: #918E8A;     /* the scrollbar, the signature's needle tail, the skip button's rim under the pointer */
  --night-line: #2D2C2A;   /* hairlines on the night */
  --gold: #A3803D;         /* the needle's shaded facet; focus on paper (3.3:1); never running text */
  --gold-lit: #CDAE6A;     /* the needle's lit facet; focus on ink */
  --gold-deep: #8E6F33;    /* focus on the light header glass, over photos too: 3.6:1 (round 6, the accessibility gate) */
  --focus: var(--gold);
  --danger: #C4291C;       /* form errors: 5.6:1 on white */
  --danger-night: #FF8A80; /* form errors on the night: 8.8:1, 7.6:1 on its fields */
  --field-line: #898682;   /* field borders on paper and mist: 3.3:1 (WCAG 1.4.11) */
  --field-line-night: #7F7C78; /* field borders on ink: 4.0:1 */
  /* Type: one serif and one sans (round 6, the design gate: four voices were one too many). Newsreader (self-hosted,
     OFL) for display and headings; Combass Sans for everything else, reading, labels and controls at its normal
     width, the title card's voice (round 5, Brent: the header "too simple and boring", "way more clean ...
     cinematic") wide: the header, the buttons and the father's line, the links in small capitals tracked like the
     logo's own COMBASS, so the bar reads as the credits under a title. One role scale (impeccable typeset). */
  --sans: "Combass Sans", "Combass Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font: var(--sans);
  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --t-caps: .75rem;     /* 12: the links, the line */
  --caps-track: .16em;
  --t-display: clamp(2.75rem, 1.6rem + 4.4vw, 5.5rem);   /* 44 to 88: the opening's claim */
  --t-h2: clamp(2.375rem, 1.7rem + 2.6vw, 4rem);         /* 38 to 64 */
  --t-h3: clamp(1.5rem, 1.38rem + .45vw, 1.8125rem);     /* 24 to 29 */
  --t-lead: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);  /* 19 to 22 */
  --t-body: 1.0625rem;  /* 17 */
  --t-small: .875rem;   /* 14 */

  /* Space and shape: radii kept small against the logo's sharp serifs; pills only for controls. */
  --wrap: 1120px;
  --narrow: 760px;
  --measure: 34em;   /* the reading measure, about 75 characters of Combass Sans in the text's own size (round 7 check) */
  --gutter: max(22px, env(safe-area-inset-left));
  --section: clamp(4.5rem, 2.5rem + 6vw, 8.5rem);   /* 72 to 136 a side */
  --r-card: 16px;
  --r-field: 10px;
  --header: 52px;

  /* Motion: strong curves from the animate skill, never the built-in ease. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* One duration for everything that follows the header's tone (glass, type, pill, compass); a hover answers faster. */
  --tone: .32s;
  /* The lights before the closing: they go down slowly, like a cinema's, and come up faster (site.js .lights-down). */
  --dim: .5s;
}
.lights-down { --dim: 1s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px);
  /* The surfaces nobody draws, themed from the palette (impeccable craft floor). */
  scrollbar-color: var(--grey-mid) transparent; accent-color: var(--gold); caret-color: var(--gold); }
html:has(body.home) { background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* A page opened at an anchor (/#afspraak) goes there at once instead of sweeping through the dive (the motion gate);
   the boot script sets .jump and site.js lifts it after load, so links clicked on the page still glide. */
html.jump { scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-body)/1.5 var(--font); letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
/* hidden always hides, whatever display a component sets (the form on the laptop's glass is a grid). */
[hidden] { display: none !important; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
/* Links in running text: a 1 px rule in the ground's gold, like .link (round 6: Combass Sans's own underline is .32 em,
   a 5 px bar at 17 px, the gates). */
a { text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--focus); }
@media (hover: hover) and (pointer: fine) { p a:hover { text-decoration-color: currentColor; } }
button { font: inherit; color: inherit; }
/* Headings in Newsreader: optical size follows the size (opsz 6 to 72), weight near the logo's 380. */
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; text-wrap: balance;
  font-variant-numeric: lining-nums; }
h1, h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.022em; }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.012em; font-weight: 450; }
.display { font-size: var(--t-display); line-height: 1; letter-spacing: -0.028em; }
/* Light on ink reads thinner: a touch more weight, leading and tracking (impeccable typeset). */
.night h1, .night h2 { font-weight: 430; letter-spacing: -0.018em; }
.night .display { line-height: 1.04; }
p { text-wrap: pretty; }
.lead { font-size: var(--t-lead); line-height: 1.4; color: var(--ink-2); letter-spacing: -0.012em; }
.small { font-size: var(--t-small); line-height: 1.43; color: var(--ink-2); letter-spacing: -0.006em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.night, .site-header, .site-footer { --focus: var(--gold-lit); }
::selection { background: rgba(205, 174, 106, .38); color: inherit; }

.skip { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 980px;
  background: var(--paper); color: var(--ink); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), var(--narrow)); }
.section { padding-block: var(--section); }
.paper { background: var(--paper); }
/* One light act: paper sections follow each other, a hairline marks the turn instead of a change of ground. */
.paper + .paper { padding-top: 0; }
.paper + .paper > .wrap { position: relative; padding-top: var(--section); }
/* The turn (round 7, the design gate: the paper read closest to a template): the hairline starts at the needle, gold
   pointing along it to what follows, the header's indicator lying where the section begins. It is the one mark the
   paper carries; it settles with every needle's swing as the section arrives and the line draws out from its point
   (site.js), and stands still without motion. On the reading pages it opens the content under the title. */
.turn { display: flex; align-items: center; gap: 1rem; height: 12px; color: var(--ink-2); pointer-events: none; }
.paper + .paper > .wrap > .turn { position: absolute; top: -6px; left: 0; right: 0; }
.turn-needle { width: 36px; height: 12px; flex: none; }
.turn-needle .needle-turn { transform-box: view-box; transform-origin: 17px 6px; }
.turn-line { flex: 1; height: 1px; background: var(--line); transform-origin: 0 50%; }
.page-top .turn { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.night { background: var(--night); color: var(--on-night); }
/* The hand-over to the closing (round 6, replacing the painted white-to-black band, the last grey haze): no ground
   is painted between the acts. As the dark closing comes up from below, the lights go down on the section before
   it (site.js .lights-down): its paper turns to the room's black and its type to light, played once by time like the
   intro, never scrubbed, so the page never rests on a grey. The closing's heading then resolves from black. Scrolling
   back brings the lights up again, faster. Without script the two simply meet. */
/* The ground falls through the greys quickly (the in-out curve) while the type holds, and the type turns over only as
   the ground passes the middle, quickly: if both moved together they crossed on the same grey and the words were lost
   for a moment (the design gate measured 1.9:1 halfway). The same in reverse when they come up. */
.dims { transition: background-color var(--dim) var(--ease-in-out), color calc(var(--dim) * .14) ease calc(var(--dim) * .42); }
.dims > .wrap, .dims .faq, .dims .faq details, .dims .faq details > div, .dims .faq-more, .dims .faq-more a, .dims .turn, .dims .turn-line {
  transition: color calc(var(--dim) * .14) ease calc(var(--dim) * .42), border-color calc(var(--dim) * .14) ease calc(var(--dim) * .42),
    text-decoration-color calc(var(--dim) * .14) ease calc(var(--dim) * .42), background-color calc(var(--dim) * .14) ease calc(var(--dim) * .42); }
.dim-now .dims, .dim-now .dims * { transition: none !important; }
.lights-down .dims { background: var(--night); color: var(--on-night);
  --ink: var(--on-night); --ink-2: var(--on-night-2); --line: var(--night-line); --focus: var(--gold-lit); }
.night .lead, .night .small { color: var(--on-night-2); }
.section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); max-width: 40rem; }
/* 16 px under a 64 px heading read cramped; the lead keeps its own measure. */
.section-head .lead { margin-top: 1.25rem; max-width: var(--measure); }
.page-top { padding-top: calc(var(--header) + var(--section) * .6); }

/* Buttons: pills (Apple's 980px radius). The needle is the site's one idea: gold, pointing to the next step. */
/* Set in the title card's sans (round 5), a little wide, so a button belongs to the header's voice. */
.btn { display: inline-flex; align-items: center; gap: .75rem; min-height: 48px; padding: 0 1.5rem;
  border: 0; border-radius: 980px; font-family: var(--sans); font-stretch: 108%; font-size: .9375rem; font-weight: 500;
  letter-spacing: .004em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .32s ease, transform .16s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-sm { min-height: 32px; padding: 0 .875rem; font-size: .8125rem; }
/* The button's needle (site.js): a hover stirs it and it settles pointing ahead; a press sends it a step forward. */
.needle-cta { width: 36px; height: 12px; flex: none; margin-right: -.25rem; transition: translate .25s var(--ease-out); }
.needle-cta .needle-turn { transform-box: view-box; transform-origin: 17px 6px; }
@media (prefers-reduced-motion: no-preference) { .btn:active .needle-cta { translate: 5px 0; transition-duration: .12s; } }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: var(--ink-hover); }
  .btn-paper:hover { background: var(--paper-hover); }
  .btn-quiet:hover { background: var(--mist); }
  .btn:hover .needle-cta { translate: 3px 0; }
  .motion .btn:active .needle-cta { translate: 7px 0; }
}
.btn[aria-busy="true"] { cursor: progress; opacity: .7; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-position: from-font;
  text-underline-offset: .22em; text-decoration-color: var(--gold); transition: text-decoration-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* Header (round 4, HANDOFF item 3, Brent: "the text looks a little bit generic"): on every page. Fixed, so it takes
   no room in the flow: on the home page the ink opening runs up behind it. Its glass is a progressive blur (Meng
   To's progressive-blur: layered backdrop blurs, strongest at the top, gone a little below the bar) under an ink
   tint that ends at the bar, so below it the page only softens instead of greying; a hairline marks the
   bar's foot once the page has scrolled. Over the home page's dark room, at the top, the header has no glass at
   all (site.js .scrolled, under its own .header-live; without that script the glass stays). */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-night); }
.header-glass { position: absolute; z-index: 0; inset: 0 0 auto; height: calc(var(--header) + 28px); pointer-events: none;
  transition: opacity var(--tone) ease; }
.header-glass > i { position: absolute; inset: 0; z-index: 0; }
/* The tint is painted above the blurs, so they blur only the page and never smear the tint below the bar. */
.header-glass::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgb(var(--night-rgb) / .8), rgb(var(--night-rgb) / .74) calc(var(--header) - 1px), transparent var(--header)); }
.header-glass > :nth-child(1) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.header-glass > :nth-child(2) { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 40%, transparent 64%); mask-image: linear-gradient(#000 40%, transparent 64%); }
.header-glass > :nth-child(3) { -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  -webkit-mask-image: linear-gradient(#000 30%, transparent 52%); mask-image: linear-gradient(#000 30%, transparent 52%); }
/* The hairline: the glass's edge catching the light, fading out at both ends. */
.header-glass::after { content: ""; position: absolute; z-index: 2; inset: calc(var(--header) - 1px) 0 auto; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .1) 20%, rgb(255 255 255 / .1) 80%, transparent);
  transition: opacity var(--tone) ease; }
.scrolled .header-glass::after { opacity: 1; }
.header-live:not(.scrolled) .home .header-glass { opacity: 0; }
/* The open menu on phones is one ink sheet with the bar. */
.site-header:has(.menu:not([hidden])) .header-glass { opacity: 1; }
.site-header:has(.menu:not([hidden])) .header-glass::before { background: var(--night); }
/* The sheet carries its own appointment button, so the bar's steps aside (and out of the tab order) meanwhile. */
.site-header:has(.menu:not([hidden])) .bar > .btn-sm { visibility: hidden; }
/* Over paper the glass is light and the type ink (site.js .tone-light, round 5: the night's glass over white read as a
   grey strip). The light tint is its own layer above the night's, so the change is a crossfade; the phone sheet is
   always the night, so an open menu keeps the dark bar. */
.header-glass > b { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity var(--tone) ease;
  background: linear-gradient(rgb(255 255 255 / .88), rgb(255 255 255 / .84) calc(var(--header) - 1px), transparent var(--header)); }
.header-glass::before { transition: opacity var(--tone) ease; }
.site-header { transition: color var(--tone) ease; --link: rgb(247 245 242 / .64); --link-on: #FFFFFF; }
/* Written out flat, not nested: Safari 15.4 to 16.4 knows :has() but not nesting, and would keep the ink text on the
   night's glass. */
.tone-light .site-header:not(:has(.menu:not([hidden]))) { color: var(--ink); --link: rgb(30 29 27 / .74); --link-on: var(--ink);
  /* The gate (round 6): over photos the .62 links measured 3.6:1 and the gold-lit ring 2.1:1 on the light glass. */
  --focus: var(--gold-deep); }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .header-glass > b { opacity: 1; }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .header-glass::before { opacity: 0; }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .header-glass::after { background: linear-gradient(90deg, transparent, rgb(0 0 0 / .09) 20%, rgb(0 0 0 / .09) 80%, transparent); }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .word img:first-child { opacity: 0; }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .brand-light { opacity: 1; }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .bar > .btn-paper { background: var(--ink); color: var(--paper); }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .nav-needle { color: var(--ink-2); }
.tone-light .site-header:not(:has(.menu:not([hidden]))) .mark { color: rgb(30 29 27 / .78); }
@media (hover: hover) and (pointer: fine) { .tone-light .site-header .bar > .btn-paper:hover { background: var(--ink-hover); } }
@media (prefers-reduced-transparency: reduce) {
  .header-glass::before { background: linear-gradient(rgb(var(--night-rgb) / .97) calc(var(--header) - 1px), transparent var(--header)); }
  .header-glass > b { background: linear-gradient(rgb(255 255 255 / .97) calc(var(--header) - 1px), transparent var(--header)); }
  .header-glass > i { display: none; }
}
.bar { position: relative; display: flex; align-items: center; gap: 1.5rem; height: var(--header);
  width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
/* The brand: the compass, then the wordmark (round 5). The compass always stands; the wordmark waits on the home
   page until the large logo lands in its place. */
.brand { display: flex; align-items: center; gap: .75rem; flex: none; border-radius: 4px; text-decoration: none; }
.mark { display: block; width: 22px; height: 22px; flex: none; color: rgb(247 245 242 / .8); transition: color var(--tone) ease; }
.mark-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mark-needle { transform-box: view-box; transform-origin: 12px 12px; }
.word { position: relative; display: block; transition: opacity .32s var(--ease-out); }
/* The step-aside for the line is the inner box's, so the dock (on .word) can stay instant. It steps back at once and
   returns a beat after the line has gone, so the two never overlap (the motion gate). */
.word-in { position: relative; display: block; transition: opacity .32s var(--ease-out) .12s, filter .32s var(--ease-out) .12s, translate .32s var(--ease-out) .12s; }
.telling .word-in { transition-delay: 0s; }
.word img { width: 124px; }
.word img:first-child { transition: opacity var(--tone) ease; }
.brand-light { position: absolute; inset: 0; opacity: 0; transition: opacity var(--tone) ease; }
/* Home: the large logo becomes the header's logo as the page scrolls (site.js); until it docks, the
   header's own copy waits. Without motion the header hides its logo while the large one is in view. */
.home .word { transition: none; }
/* Reached by keyboard while it waits, the header's logo shows itself so the focus ring is never on nothing. */
.motion:not(.logo-docked) .home .brand:not(:focus-visible) .word, .hero-logo-in-view .brand:not(:focus-visible) .word { opacity: 0; }
/* The father's line, told beside the compass (round 5, Brent: "only move in from hover"): on a hover or the keyboard's
   focus on the brand the compass swings until it finds north (site.js), the wordmark steps back and the line is
   written in from the compass, left to right, through a soft edge; it leaves the same way, faster. It is always in
   the page (screen readers read it in order); only its picture comes and goes. Touch screens, which have no hover,
   are told it once after the intro (site.js .is-telling), and the phone's menu sheet carries it. */
.tagline { position: absolute; left: calc(22px + .75rem); top: 0; height: var(--header); display: flex; align-items: center;
  margin: 0; pointer-events: none; font-family: var(--sans); font-stretch: 104%; font-weight: 400; font-size: var(--t-caps);
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--link); }
.nw { white-space: nowrap; }
.tagline > span { opacity: 0; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: opacity .2s ease, -webkit-mask-position .35s var(--ease-out), mask-position .35s var(--ease-out); }
.telling .tagline > span { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: opacity .3s ease .12s, -webkit-mask-position .6s var(--ease-out) .12s, mask-position .6s var(--ease-out) .12s; }
.telling .word-in { opacity: 0; filter: blur(3px); translate: -6px 0; }
/* At 12 px (round 6) the line needs the links' room at every width: they step back while it is told, and come back with
   the wordmark, so for a moment the bar holds only the compass and its line, like a title card. */
.nav { transition: opacity .25s ease; }
.telling .nav { opacity: 0; }
/* Told by the keyboard's focus on a computer, the ring takes in the compass and the whole line instead of cutting
   through it (the gate, at 1100): the brand's own ring steps aside for one drawn around both. */
@media (min-width: 53.8125em) {
  .telling .brand:focus-visible { outline-color: transparent; }
  .telling:has(.brand:focus-visible) .tagline::before { content: ""; position: absolute; top: 13px; bottom: 13px; right: -6px;
    left: calc(-22px - .75rem - 4px); border-radius: 4px; outline: 2px solid var(--focus); outline-offset: 2px; }
}
/* Reached by Tab while the line is told, the links are back at once: focus never lands on a fading link. */
.nav:focus-within { opacity: 1; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .tagline > span, .telling .tagline > span { -webkit-mask-image: none; mask-image: none; transition: opacity .3s ease; }
  .telling .word-in { filter: none; translate: none; }
}
/* The links: small capitals in the wide sans, tracked like the logo's COMBASS, so the bar reads as the credits under
   the title rather than a row of labels; light on the night a touch heavier. Full colour on hover and for the
   current section. */
.nav { position: relative; margin-left: auto; }
.nav ul { display: flex; gap: clamp(1.25rem, -1rem + 3.4vw, 2.25rem); }
.nav a { display: block; padding: 1rem 0; font-family: var(--sans); font-stretch: 115%; font-weight: 470; font-size: var(--t-caps);
  line-height: 1; letter-spacing: var(--caps-track); text-transform: uppercase; color: var(--link); text-decoration: none;
  white-space: nowrap; transition: color var(--tone) ease; }
.tone-light .nav a { font-weight: 480; }
.nav a[aria-current] { color: var(--link-on); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--link-on); transition-duration: .15s; } }
/* The needle under the links (site.js places it): gold to the right, glides with the site's in-out curve
   (animate's tab indicator, 250 ms), settles like a compass needle when it arrives. */
.nav-needle { position: absolute; left: 0; bottom: 0; width: 24px; opacity: 0; color: var(--on-night-2); pointer-events: none;
  transition: transform .25s var(--ease-in-out), opacity .2s ease; }
.nav-needle.is-placing { transition: opacity .2s ease; }
.nav-needle-svg { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .nav-needle { transition: opacity .2s ease; } }
.bar > .btn-sm .needle-cta { display: none; }
/* The bar's pill speaks the links' voice (round 6, the design gate): the same tracked capitals, so the bar is one
   line of credits; its colours follow the tone at the tone's pace, a hover answers faster. */
.bar > .btn-sm { font-size: var(--t-caps); font-stretch: 115%; font-weight: 470; letter-spacing: var(--caps-track); text-transform: uppercase;
  transition: background-color var(--tone) ease, color var(--tone) ease, transform .16s var(--ease-out), opacity .25s ease, visibility 0s; }
/* While the page's own appointment is on screen (site.js .cta-near) the pill steps aside, out of the tab order too. */
.cta-near .bar > .btn-sm { opacity: 0; visibility: hidden; pointer-events: none;
  transition: background-color var(--tone) ease, color var(--tone) ease, transform .16s var(--ease-out), opacity .2s ease, visibility 0s .2s; }
.menu-btn { display: none; }
.menu { display: none; }
@media (min-width: 53.8125em) { .bar > .btn-sm { gap: .5rem; } .bar > .btn-sm .needle-cta { display: block; width: 24px; height: 8px; } }
/* The breakpoints are in em (360 and 860 px at the default text size), so a reader with larger text gets the menu
   rather than a bar that cannot hold its links. Under 360 px (320 is 400% zoom) the menu button stays on screen
   and the menu holds the appointment link; without script the pill stays, beside a smaller logo. */
@media (max-width: 22.4375em) { .js .bar > .btn-sm { display: none; } .menu-btn { margin-left: auto; }
  html:not(.js) .brand img { width: 96px; } }
@media (max-width: 53.75em) {
  .nav { display: none; }
  /* On a phone the bar has no room for the line: it is told under the compass, over the dark room, once. */
  .tagline { top: var(--header); left: 0; height: auto; margin-top: .25rem; white-space: normal; max-width: 19em; text-wrap: balance;
    font-size: var(--t-caps); line-height: 1.8; }
  .site-header:has(.menu:not([hidden])) .tagline { display: none; }
  /* The phone's bar holds the compass, the wordmark, the appointment and the menu: a little tighter, so all four fit
     at 375 px (the wide sans sets the pill wider than the system face did). */
  .bar { gap: 1rem; }
  .brand { gap: .625rem; }
  .word img { width: 104px; }
  /* The capitals are wider than the room at 375 px: the phone keeps the pill in sentence case (round 6, measured). */
  .bar > .btn-sm { padding: 0 .8125rem; font-stretch: 100%; font-size: .78125rem; font-weight: 500; letter-spacing: .004em; text-transform: none; }
  /* 360 to 383 px: a little tighter still, so the menu button stays on screen (measured: 14 px over at 360). */
  @media (max-width: 23.9375em) { .bar { gap: .625rem; } .word img { width: 92px; } }
  .telling .word-in { opacity: 1; filter: none; translate: none; }
  /* Without script the menu cannot open: the button goes and the links stand as a strip under the bar instead,
     the appointment pill kept beside a smaller logo. */
  html:not(.js) .menu-btn { display: none !important; }
  html:not(.js) .site-header .nav { display: block; position: absolute; top: var(--header); left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    overflow-x: auto; padding: 0 var(--gutter); background: var(--night); border-top: 1px solid var(--night-line); }
  /* The reading pages' bar is light from the first paint (build.py writes tone-light), so their strip is light with it:
     on the night the bar's ink links measured about 1.1:1 (round 7's matrix, no script at 390). */
  html.tone-light:not(.js) .site-header .nav { background: var(--paper); border-top-color: var(--line); border-bottom: 1px solid var(--line); }
  html:not(.js) .nav ul { gap: 1.25rem; }
  /* The bar and its strip of links stand 97 px tall there: a focused field scrolls in clear of both (the gate). */
  html:not(.js) { scroll-padding-top: 113px; }
  html:not(.js) .field :is(input, textarea) { scroll-margin-top: 2rem; }   /* its label clears the strip too */
  /* The reading pages' titles clear that strip too (the design gate: on the plain pages the title sat on it). */
  html:not(.js) .page-top { padding-top: calc(var(--header) + 45px + var(--section) * .6); }
  html:not(.js) .nav-needle { display: none; }
  .bar > .btn-sm { margin-left: auto; }
  .menu-btn { display: grid; flex: none; place-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px;
    padding: 0; border: 0; background: none; cursor: pointer; }
  .menu-btn i { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor;
    transition: transform .25s var(--ease-out); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  /* The menu: a full ink sheet under the bar, the links large in Newsreader with hairlines between them, then
     the appointment and the direct lines. site.js brings it in and keeps the page behind it inert. */
  .menu:not([hidden]) { display: flex; flex-direction: column; position: fixed; inset: var(--header) 0 0; overflow-y: auto;
    overscroll-behavior: contain; padding: 1rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); background: var(--night); }
  .menu ul { border-top: 1px solid var(--night-line); }
  .menu li { border-bottom: 1px solid var(--night-line); }
  /* The sheet speaks the bar's voice, larger: the line at its head, the links in the wide tracked capitals. */
  .menu-tagline { margin: .5rem 0 1.75rem; font-family: var(--sans); font-stretch: 118%; font-weight: 380; font-size: .6875rem;
    letter-spacing: .2em; line-height: 1.8; text-transform: uppercase; color: var(--on-night-2); }
  .menu ul a { display: block; padding: 1.25rem 0; font-family: var(--sans); font-stretch: 120%; font-weight: 400; font-size: 1.125rem;
    line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
  .menu > ul + p { margin-top: 2rem; }
  .menu .btn { width: 100%; justify-content: center; }
  .menu-direct { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; margin-top: 1.25rem;
    font-size: var(--t-small); color: var(--on-night-2); }
  .menu-direct a { display: block; padding: .625rem 0; color: inherit; text-decoration: none; }
}

/* Opening: the intro owns the first screen alone (logo and line on ink); the claim follows below it. */
.hero { position: relative; display: grid; place-items: center; min-height: 100svh; text-align: center;
  padding: var(--header) 0 4vh; }
.hero-stage { width: min(100% - 2 * var(--gutter), 760px); }
.hero-logo { width: min(100%, 660px); margin-inline: auto; transform-origin: 0 0; }
.hero-logo svg { width: 100%; height: auto; overflow: visible; }
/* The line as a signature, not a label (round 4): Newsreader italic in sentence case, after a small gold needle
   pointing at it; italic reads lighter on ink, so a light weight with the optical size of its own size. */
.hero-line { display: flex; justify-content: center; align-items: center; gap: .75em; margin-top: clamp(.875rem, .5rem + 1vw, 1.5rem);
  font-family: var(--serif); font-style: italic; font-weight: 360; font-optical-sizing: auto;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.3; letter-spacing: .004em; color: var(--on-night-soft);
  text-wrap: balance; }
.line-needle { flex: none; width: 1.55em; height: auto; color: var(--grey-mid); }
/* Written in during the intro: a soft edge moved across the words (site.js); at rest the mask shows all of it. */
.hero-line > span { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 0 0; mask-position: 0 0; }
.statement { padding-block: clamp(2rem, 6vh, 5rem) var(--section); }
.statement h1 { max-width: 13em; }
.statement-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem 3rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--night-line); }
.statement-foot .lead { max-width: 31em; color: var(--on-night-2); }
/* The laptop (round 2, Brent: the laptop is the hero). One box with the frames' own shape (1928 x 1076) holds
   the photo, the canvas the lid is drawn on, and the glass; everything on it is placed by the glass's measured
   corners as fractions of the frame, so CSS alone puts the screen and the logo where the frames have them.
   The opening: the stage is pinned while the page scrolls --pin: the logo leaves the screen for the header,
   the view moves into the glass and the glass brightens from ink to paper as it comes close, so the window
   ends paper; the claim, pinned with the stage, sharpens in place on that paper, and the paper sections
   follow with no hand-over. The fractions of --pin are site.js's (the opening's scroll). */
.laptop-scene { --pin: 160svh; position: relative; display: block; place-items: normal; min-height: 0; padding: 0; }
.motion .laptop-scene { height: calc(100svh + var(--pin)); }
/* Phones with a collapsing toolbar show a strip of the scene below the 100svh stage: site.js gives it the
   colour of the stage's bottom edge (ink, then the glass's own once the glass reaches that edge), so it is
   never an ink band under a paper screen. On other screens the stage covers it. */
.floor { display: none; }
.motion .floor { display: block; position: absolute; inset: 100svh 0 0; background: var(--night); }
.motion .stage { background: var(--night); }
/* The claim: over the stage and pinned with it, centred under the header; without motion it follows the
   laptop on ink in the flow. */
.statement-layer { text-align: start; }
.motion .statement-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  color: var(--ink); --focus: var(--gold); }
.motion .statement-layer.is-live { opacity: 1; }
/* At least the window's height, so a claim taller than the window (300 to 400% zoom) grows downward and
   scrolls in as the pin ends, instead of losing its first line under the header. */
.motion .statement-layer .statement { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; padding-block: var(--header) 0;
  /* On the screen the claim is the screen's: its block is centred on the glass (the text still reads from the left),
     so the light reaches every word almost at once and they sharpen in reading order (round 7, the design gate: set
     at the page's margin, each line's first word lay outside the light until last). */
  width: min(100% - 2 * var(--gutter), 52rem); }
/* In a landscape window the glass grows from a narrow middle: the claim is held to about the width the light spans
   as it turns white (measured at 990 and 1280 x 640, where 52rem was most of the window). */
@media (min-aspect-ratio: 1/1) { .motion .statement-layer .statement { width: min(100% - 2 * var(--gutter), 52rem, 62vw); } }
/* Sized by the window's height too, so the claim and its foot fit a short landscape window. */
.motion .statement-layer h1 { font-size: min(var(--t-display), 10svh); font-weight: 400; line-height: 1; letter-spacing: -0.028em; }
.motion .statement-layer .statement-foot { margin-top: min(clamp(2.5rem, 1.5rem + 3vw, 4.5rem), 6svh);
  padding-top: min(2rem, 4svh); border-top-color: var(--line); }
.motion .statement-layer .lead { color: var(--ink-2); }
.motion .statement-layer .btn-paper { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .motion .statement-layer .btn-paper:hover { background: var(--ink-hover); } }
.stage { --lw: min(100vw, 100svh * 1.7918); --lh: calc(var(--lw) / 1.7918); --mid: 50%; --mid-f: .5;
  position: relative; height: 100svh; overflow: hidden; }
.motion .stage { position: sticky; top: 0; }
/* Portrait: the laptop spans 14 to 86 percent of a frame, so the frame is drawn wider than the screen. */
/* Centred there (round 5): the line no longer stands under it, so the room is even around the laptop. */
/* Drawn larger still (round 4, the design audit: at 128vw the laptop filled a third of a phone's height and the
   wordmark was 18 px): the deck's corners run past the edges, the screen and its story fill the width. */
/* A little above the middle (round 6): in a tall dark frame the optical centre sits higher than the geometric one. */
@media (max-aspect-ratio: 1/1) { .stage { --lw: 150vw; --mid: 47%; --mid-f: .47; } }
.stage > .rig, .logo-box { position: absolute; left: calc(50% - var(--lw) / 2); top: calc(var(--mid) - var(--lh) / 2);
  width: var(--lw); height: var(--lh); }
.rig { transform-origin: 0 0; }
/* The photo's ground is within a few shades of the ink: a soft edge (css-alpha-masking) leaves no seam. */
.shot { position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.shot > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster-closed { opacity: 0; }
/* The glass: its bounding box in the open frame, clipped to its slight trapezoid (the lid leans back). */
.glass { position: absolute; left: 25.83%; top: 14.96%; width: 47.72%; height: 50.10%; overflow: hidden;
  clip-path: polygon(2.07% 0, 97.72% 0, 100% 100%, 0 100%); background: var(--screen); }
/* The screen's light: paper over the ink, brought up by site.js as the view goes into the glass. */
.light { position: absolute; inset: 0; background: var(--paper); opacity: 0; }
/* The top light's diagonal on the glass, as in the frames, faint so the screen reads as lit. */
.sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, transparent 40%, rgba(255, 255, 255, .055) 40.2%, rgba(255, 255, 255, .025) 62%, transparent 82%); }
/* The room's light (round 4, re-lit in round 5 for the true black room: Brent, "the screen's light reading as real
   light"). The room is dark until the screen switches it on, and the light goes only where a screen's light goes:
   a little past its own edges (the bloom a lens sees around a bright panel, no wash on a wall the photo does not
   have), down onto the keys, and onto the desk in front. It lives in the rig, under the glass, and moves with the
   laptop. The glass's centre is 49.67 / 40.01 % of the frame; the keyboard deck's trapezoid runs hinge 24.4 to
   75.2 %, front edge 14.1 to 86.1 %, 66 to 81 % down; the desk in front 82 to 90 %. Cool screen white; the warm
   layer is the gold B's, brought up as it lands (site.js), so Compass becomes Combass in the room's light too.
   Opacity only, each its own layer. */
.room, .room-lit, .dark, .vignette { position: absolute; pointer-events: none; }
.room { inset: 0; }
.room > i { position: absolute; display: block; }
.halo, .warm, .room-lit { left: -10%; top: -20%; width: 120%; height: 120%; }
/* The bloom: held to the lid (the glass is 19.9 by 20.9 % of this box from its centre), gone a short way past it. */
.halo { background: radial-gradient(ellipse 27% 29% at 49.7% 50%, rgb(214 222 242 / .17), rgb(214 222 242 / .09) 62%, rgb(214 222 242 / .025) 84%, transparent 100%); }
/* The gold beat is meant to be seen (the design audit measured the old one as imperceptible): the B lands, gold
   light reaches the lid's edge and the keys for a moment (site.js brings both to 1), then it settles to half, so the room keeps a trace of Combass gold (round 6). */
.warm { background: radial-gradient(ellipse 25% 27% at 49.7% 50%, rgb(226 190 116 / .3), rgb(226 190 116 / .1) 62%, transparent 100%); opacity: .5; }
.spill, .warm-deck { left: 14.1%; top: 66.2%; width: 72%; height: 14.6%; clip-path: polygon(14.3% 0, 84.9% 0, 100% 100%, 0 100%); }
.warm-deck { background: radial-gradient(ellipse 40% 75% at 50% 0%, rgb(236 200 126 / .55), rgb(236 200 126 / .16) 50%, transparent 100%);
  opacity: .3; }
.spill {
  background: radial-gradient(ellipse 40% 80% at 50% 0%, rgb(214 224 250 / .46), rgb(214 224 250 / .15) 50%, transparent 100%); }
.pool { left: 6%; top: 80.5%; width: 88%; height: 19%;
  background: radial-gradient(ellipse 38% 55% at 50% 0%, rgb(200 212 236 / .16), rgb(200 212 236 / .05) 50%, transparent 100%); }
/* As the glass turns to paper in the dive, the room gets the paper's light (site.js): a white screen throws more. */
.room-lit { background: radial-gradient(ellipse 34% 37% at 49.7% 50%, rgb(255 255 255 / .18), rgb(255 255 255 / .06) 55%, transparent 100%); opacity: 0; }
/* The dark before the screen wakes: the room, laptop included, down to a faint top light. In the rig (under the
   glass, which must light first) but sized to the stage itself, its lighter middle on the glass. Intro only. */
.dark { left: calc(var(--lw) / 2 - 50vw); top: calc(var(--lh) / 2 - 100svh * var(--mid-f)); width: 100vw; height: 100svh; opacity: 0;
  background: radial-gradient(calc(var(--lw) * .612) calc(var(--lh) * .651) at 50% calc(100svh * var(--mid-f) - var(--lh) * .04),
    rgb(var(--night-rgb) / .66), rgb(var(--night-rgb) / .9) 100%); }
/* The light's falloff into the dark around the laptop: the deck's far corners and the metal at the edges go down,
   so the eye stays on the screen. Its foot fades so the stage meets the night below cleanly. */
.vignette { inset: 0; background: radial-gradient(ellipse 72% 66% at 50% 44%, transparent 42%, rgb(var(--night-rgb) / .45) 78%, rgb(var(--night-rgb) / .75) 100%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
/* The backlight's evenness: a little brighter behind the middle, as a real panel is. */
.bloom { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 45% at 50% 47%, rgb(255 255 255 / .085), rgb(255 255 255 / .03) 55%, transparent 80%); }
/* On the opening's glass the reflection is a little wider, so its drift in the dive (site.js) never shows an edge. */
.stage .sheen { inset: 0 -12%; }
/* The display's own light on what it shows: a faint bloom around the letters. */
.stage .hero-logo svg { filter: drop-shadow(0 0 .35em rgb(255 255 255 / .16)); }
/* The large logo sits on the glass but in a box that is never scaled, so it can fly to the header alone.
   Centred on the glass's centre (49.67%, 40.01%), 29% of the box wide; its letters' middle is 49% down the SVG. */
.logo-box { pointer-events: none; }
.logo-box .hero-logo { position: absolute; left: 35.17%; top: 35.92%; width: 29%; margin: 0; }
/* Arrival: the closed laptop first; the lid, the glass and the logo come in by site.js. */
.intro-play .stage .poster-closed { opacity: 1; }
.intro-play .stage .poster-open, .intro-play .stage .glass, .intro-play .stage .room, .intro-play .stage .vignette { opacity: 0; }
.intro-play .stage .dark { opacity: 1; }

/* Scroll-scrubbed words: site.js writes each word's own style; the resting state is plain text. */
.statement h1 .w, [data-reveal="words"] .w { display: inline-block; }
/* Arrival (site.js, data-reveal): hidden only while motion is on and its turn has not come; no script, reduced
   motion or a script that never arrives (the boot script's fallback) leave everything standing. */
.motion [data-reveal]:not(.is-in) { opacity: 0; }
@media print { .motion [data-reveal]:not(.is-in) { opacity: 1; } }
.intro-skip { position: fixed; z-index: 60; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); translate: -50% 0;
  padding: 8px 18px; border: 1px solid var(--ink-hover); border-radius: 980px; background: rgb(var(--night-rgb) / .6);
  color: var(--on-night-2); font-family: var(--sans); font-stretch: 110%; font-size: .75rem; letter-spacing: .04em; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .intro-skip:hover { color: #FFFFFF; border-color: var(--grey-mid); } }

/* The intro: before the first paint the boot script sets .intro-play; everything the choreography brings
   in starts hidden, and the final state is the default, so no script means the page simply stands. */
.intro-play .hero-logo .l, .intro-play .hero-logo .l-b, .intro-play .hero-logo .needle, .intro-play .hero-line,
.intro-play .site-header { opacity: 0; }

/* Wat ik doe: one wide card per kind of work, not a row of identical tiles. */
.devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, .5rem + 1vw, 1.5rem); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: var(--mist); }
.card-media { aspect-ratio: 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.card-body h3 { margin-bottom: .625rem; }
/* Ink, not the secondary grey, on the mist cards (round 6, the design gate: they read faint). */
.card-body p { max-width: var(--measure); color: var(--ink); }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
.card-wide .card-media { aspect-ratio: 3 / 2; height: 100%; }
.card-text { display: block; }
.card-text .card-body { max-width: 44rem; }
.card-note { margin: 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem); padding: 1.25rem 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-top: 1px solid var(--line); font-size: var(--t-small); line-height: 1.43; color: var(--ink-2); }
.card-text .card-body { padding-bottom: 1.5rem; }
.devices .card:nth-child(2) .card-media img { object-position: 50% 70%; }
@media (max-width: 760px) {
  .devices { grid-template-columns: 1fr; }
  /* Its own height from the ratio, so the page does not grow by it when the lazy photo arrives (an anchor tapped
     before then would land short). */
  .card-wide .card-media { height: auto; }
  .card-wide, .card-text { display: flex; }
}

/* Werkwijze: one large photo, the three steps under it. */
.feature-photo { overflow: hidden; border-radius: var(--r-card); }
.feature-photo img { width: 100%; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; margin-bottom: 1rem; font-family: var(--serif);
  font-size: 2.25rem; line-height: 1; font-weight: 300; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.steps h3 { margin-bottom: .625rem; }
.steps p { max-width: 26em; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Over Bassie */
.about { display: grid; grid-template-columns: minmax(0, 326px) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
/* His portrait, shown modestly (round 2): no larger than the photo's own pixels, in the cards' radius. */
.portrait { width: 100%; max-width: 326px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--mist); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { max-width: var(--measure); }
.about-text p + p { margin-top: 1rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 320px; } }

/* Tarieven: the amounts large in Newsreader, incl. btw small beside them (README, round 3). */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, .5rem + 1vw, 1.5rem); }
.price { padding: clamp(1.75rem, 1rem + 2vw, 2.75rem); border-radius: var(--r-card); background: var(--mist); }
.price h3 { font-family: var(--font); font-size: var(--t-body); font-weight: 400; letter-spacing: -0.012em; color: var(--ink-2); }
.amount { margin-top: .5rem; font-family: var(--serif); font-size: clamp(3.5rem, 2.2rem + 4.5vw, 6rem); font-weight: 350;
  line-height: 1; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
/* The euro sign at half size, its top on the figures' top (price setting, the words unchanged). */
.amount .cur { display: inline-block; font-size: .5em; vertical-align: top; margin: .2em -.1em 0 0; }
/* The roll (site.js): each digit a window one figure tall (Newsreader's figures fill the line's top .77em),
   its strip of figures, 1.2em apart, moving up through it; the window's soft ends let a figure fade in and out
   instead of being cut, and the space between figures keeps two from showing at once. */
.odo-col { display: inline-block; height: .9em; margin-top: -.06em; vertical-align: top; overflow: clip;
  -webkit-mask-image: linear-gradient(transparent, #000 .07em, #000 .83em, transparent);
  mask-image: linear-gradient(transparent, #000 .07em, #000 .83em, transparent); }
.odo-strip { display: block; padding-top: .06em; }
.odo-strip > span { display: block; height: 1.2em; }
.vat { margin-top: 1rem; font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vat span { margin-left: .75rem; padding-left: .75rem; border-left: 1px solid var(--line); }
.price-notes p { max-width: var(--measure); }
.price-notes { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.price-notes p + p { margin-top: .875rem; }
.price-notes .small { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* Vragen: no boxes, a hairline between questions (minimalist-skill), a plus that becomes a minus. */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.375rem 0;
  font-family: var(--serif); font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.4375rem); font-weight: 430; letter-spacing: -0.01em;
  line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor 0 0) center / 14px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 14px no-repeat;
  transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { max-width: var(--measure); padding: 0 2.5rem 1.5rem 0; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }
.faq-more { margin-top: 2rem; max-width: var(--measure); color: var(--ink-2); }
.faq-more a { color: var(--ink); }

/* The closing: the page returns to ink, and the footer carries it on. The laptop returns open with the form
   on its glass on wide screens; below 1240 px the form stands full size under it. After a send the lid closes. */
.closing { overflow-x: clip; }
.closing-head { position: relative; z-index: 1; padding-top: calc(var(--section) * .6); text-align: center; }
.closing .lead { margin: 1.25rem auto 0; max-width: 30rem; }
.closing-form { padding-block: 2.5rem var(--section); }
.desk { --cw: min(128vw, 760px); position: relative; width: var(--cw); margin: calc(var(--cw) * -.03) 0 0 calc(50% - var(--cw) / 2);
  padding-bottom: var(--section); }
.desk > .rig { position: relative; aspect-ratio: 1928 / 1076; margin-bottom: calc(var(--cw) * -.05 + 1.25rem); }
.desk-mark { position: absolute; left: 50%; top: 50%; width: 61%; height: auto; translate: -50% -50%; }
.desk-form { position: relative; z-index: 1; width: min(100vw - 2 * var(--gutter), 600px); margin-inline: auto; }
.desk-thanks { position: relative; z-index: 1; width: min(100vw - 2 * var(--gutter), 600px); margin: 2rem auto 0; text-align: center;
  font-family: var(--serif); font-size: var(--t-h3); line-height: 1.25; font-weight: 430; color: var(--on-night); }
.desk-thanks:focus { outline: none; }
/* In rem, so a reader with a larger default text size gets the form full size under the laptop instead. */
@media (min-width: 77.5rem) {
  /* Drawn so that the glass is at least about 800 x 460 px: room for the form in two columns. */
  .desk { --cw: clamp(1640px, 118vw, 1960px); }
  .desk > .rig { margin-bottom: calc(var(--cw) * -.07); }
  .desk-form { position: absolute; z-index: 1; left: 25.83%; top: calc(var(--cw) / 1.7918 * .1496 + var(--cw) * .012);
    width: 47.72%; height: calc(var(--cw) / 1.7918 * .501 - var(--cw) * .024); margin: 0;
    padding: 0 calc(var(--cw) * .03); display: grid; align-content: center; }
  .desk:not(.is-sent) .desk-mark { opacity: 0; }
  .desk-form .form { grid-template-columns: 1fr 1fr; grid-template-areas: "naam vraag" "mail vraag" "row vraag" "note send";
    column-gap: clamp(1.5rem, 2vw, 2.5rem); row-gap: .875rem; align-items: start; }
  .desk-form .fa-naam { grid-area: naam; } .desk-form .fa-mail { grid-area: mail; } .desk-form .fa-row { grid-area: row; }
  .desk-form .fa-vraag { grid-area: vraag; grid-template-rows: auto 1fr; align-self: stretch; }
  .desk-form .fa-vraag textarea { height: 100%; min-height: 0; resize: none; }
  .desk-form .fa-note, .desk-form .fa-status { grid-area: note; align-self: center; }
  .desk-form .fa-send { grid-area: send; align-self: center; justify-self: end; }
  .desk-form .field input { min-height: 44px; padding-block: .625rem; }
}

/* The form on ink: on the laptop's glass and under it. */
.night .form { padding: 0; background: none; }
.night .field label { color: var(--on-night); }
.night .optional { color: var(--on-night-2); }
.night .field input, .night .field textarea { border-color: var(--field-line-night); background: var(--night-raised); color: var(--on-night); }
.night .field [aria-invalid="true"] { border-color: var(--danger-night); }
.night .field-error, .night .form-status.is-error { color: var(--danger-night); }
.night .form-status { padding: 0; background: none; }
.night .form .small a { color: var(--on-night); }
.night .form .btn-ink { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .night .form .btn-ink:hover { background: var(--paper-hover); } }
/* While the status says something, it takes the privacy line's place, so the form keeps its height. */
.desk-form .form:has(.form-status:not(:empty)) .form-note { display: none; }

/* Contact */
.contact { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-card); background: var(--mist); }
.field { display: grid; gap: .5rem; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { font-size: var(--t-small); font-weight: 600; letter-spacing: -0.006em; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: .875rem 1rem; border: 1px solid var(--field-line);
  border-radius: var(--r-field); background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.47; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); }
.night .field input::placeholder, .night .field textarea::placeholder { color: var(--on-night-2); }
/* A real outline, so the ring survives an error border and Windows high contrast. */
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-field); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: var(--t-small); color: var(--danger); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { padding: 0; }   /* kept in the page, so screen readers hear what arrives in it */
.form-status { padding: 1rem 1.25rem; border-radius: var(--r-field); background: var(--paper); }
.form-status.is-error { color: var(--danger); }
.contact-side { display: grid; gap: 2.5rem; padding-top: .5rem; }
.contact-side h2 { margin-bottom: 1rem; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.012em; font-weight: 450; }
.contact-side p + p { margin-top: .75rem; }
/* The direct lines as a ledger (round 7): each a row on a hairline, its label in the header's tracked capitals, so the
   page's last word is said in the bar's voice. */
.direct { margin-bottom: 1rem; border-top: 1px solid var(--line); }
.direct li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; padding: .875rem 0; border-bottom: 1px solid var(--line); }
.direct span { font-stretch: 115%; font-weight: 470; font-size: var(--t-caps); letter-spacing: var(--caps-track); text-transform: uppercase;
  color: var(--ink-2); }
.direct a { color: var(--ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Privacy and other reading pages */
.prose { max-width: var(--narrow); }
.prose h1 { margin-bottom: 2.5rem; }
.prose h2 { margin: 2.5rem 0 .625rem; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.012em; font-weight: 450; }
.prose p { color: var(--ink-2); }
.prose p a { color: var(--ink); }
.prose .small { margin-top: 2.5rem; }
.prose .turn { margin-bottom: 0; }
/* On a wide screen the privacy page reads as a ledger (round 7): each question on the left, its answer beside it, a
   hairline across both, under the turn. A reader finds the one point they came for without reading down the page. */
@media (min-width: 53.8125em) {
  .prose { max-width: var(--wrap); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .prose > h1, .prose > .turn { grid-column: 1 / -1; }
  .prose > h2 { grid-column: 1; margin: 0; padding: 1.75rem 2rem 1.75rem 0; border-top: 1px solid var(--line); }
  .prose > p { grid-column: 2; max-width: var(--measure); }
  .prose > h2 + p { padding-top: 1.875rem; border-top: 1px solid var(--line); max-width: none;
    padding-right: max(0px, calc(100% - var(--measure))); }   /* the rule runs the column, the words keep their measure */
  .prose > h2 + p, .prose > p:has(+ h2) { padding-bottom: 1.75rem; }
  .prose > .turn + h2, .prose > .turn + h2 + p { border-top: 0; }
  .prose > .small { padding-top: 1.75rem; border-top: 1px solid var(--line); margin-top: 0; max-width: none; }
}
.not-found { min-height: 60vh; }
/* These pages carry their own way on (the 404, the two after a post without script): the bar's pill would repeat it
   or offer an appointment just asked for (the design gate). */
body:has(.not-found) .bar > .btn-sm { display: none; }
.not-found .lead { margin: 1rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Footer: it takes the ground of what ends the page (round 6, no painted hand-over any more): the night after the home
   page's dark closing, the paper on the reading pages, a hairline above it either way. */
.site-footer { padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--night-line); background: var(--night); color: var(--on-night-2);
  font-size: var(--t-small); line-height: 1.6; }
.site-footer.on-paper { --on-night: var(--ink); --on-night-2: var(--ink-2); --night-line: var(--line); --focus: var(--gold);
  background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--night-line); }
.footer-title { margin-bottom: .5rem; font-family: var(--font); font-size: var(--t-small); font-weight: 600; letter-spacing: -0.006em; color: var(--on-night); }
.footer-grid p + p { margin-top: .75rem; }
/* 25 px between the stacked links, so each keeps a 24 px target (WCAG 2.5.8, the gate measured 22). */
.footer-grid p { line-height: 1.8; }
.site-footer a { color: var(--on-night-2); text-decoration: none; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--on-night); } }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; }
.credit { display: inline-flex; align-items: center; gap: .625rem; }
.brent-mark { width: auto; height: 13px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* The title card (round 5, Brent: the line told "wherever the compass is"). While the logo stands on the screen, a
   hover on it swings its needle until it finds north and the father's line is written in under COMBASS on the glass,
   as the credit under a title (site.js .is-told); it leaves the same way, faster. Touch screens are given it after
   the intro and it stays. It is the header line's picture (aria-hidden): screen readers have the header's. Without
   motion or without script it simply stands. The dive takes it away with the first scroll (site.js). Placed on the
   glass: the logo's letters end 42.8 % down the frame, the glass 65 %. */
.screen-line { position: absolute; left: 25.83%; width: 47.72%; top: 47.4%; margin: 0; padding: 0 4%; text-align: center;
  font-family: var(--sans); font-stretch: 125%; font-weight: 340; text-transform: uppercase;
  font-size: clamp(.625rem, calc(var(--lw) * .0088), .9375rem); letter-spacing: .3em; line-height: 1.9; text-wrap: balance;
  color: rgb(247 245 242 / .74); }
.motion .screen-line > span { opacity: 0; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: opacity .25s ease, -webkit-mask-position .4s var(--ease-out), mask-position .4s var(--ease-out); }
.motion .screen-line.is-told > span { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: opacity .35s ease .15s, -webkit-mask-position 1.2s var(--ease-out) .15s, mask-position 1.2s var(--ease-out) .15s; }
@media (prefers-reduced-motion: reduce) { .screen-line > span { -webkit-mask-image: none; mask-image: none; } }
@media (max-aspect-ratio: 1/1) { .screen-line { top: 46.6%; letter-spacing: .22em; line-height: 1.8; } }
/* On a phone the glass is too small to carry a credit under the logo (round 6, Brent: "if it looks too cluttered"):
   the line lives at the head of the menu sheet there, and the logo stands alone on the screen. */
@media (max-aspect-ratio: 1/1) and (max-width: 47.9375em) { .screen-line { display: none; } }
/* The next step, on a phone (round 6, the design gate: under the laptop the lower third stood empty): the site's own
   needle at the foot of the dark room, gold pointing down to what follows. It comes after the intro, settles with the
   needles' swing (site.js) and goes with the first scroll. Nothing loops. */
.cue { display: none; }
@media (max-aspect-ratio: 1/1) and (max-width: 47.9375em) {
  .motion .cue { display: block; position: absolute; left: 50%; bottom: max(36px, calc(env(safe-area-inset-bottom) + 20px));
    translate: -50% 0; rotate: 90deg; color: var(--on-night-2); transition: opacity .9s var(--ease-out); }
  .motion .cue .needle-cta { margin: 0; }
  .intro-play .cue { opacity: 0; }
}
/* The logo and its line take the pointer (the box around them does not). */
@media (hover: hover) and (pointer: fine) { .motion .logo-box .hero-logo svg, .motion .screen-line { pointer-events: auto; } }

  .needle { transform-box: view-box; transform-origin: 213.17px 70.64px; }
  .l-p { opacity: 0; }
