/* Faria · site.css
   One sheet of two-tone paper (apricot face, oatmeal back) in a plum-black void. Every colour is declared once, in
   :root; nothing below it writes a literal colour. Tokens and their checks: see the v2 direction's TOKENS.md. */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../assets/fonts/atkinson-next-var.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  /* colour */
  --void: #1D1326;           /* the ground; the graded film background; the product screens' glass */
  --indigo-deep: #2F2A42;    /* raised surfaces on dark: the toast, the menu, the call bar */
  --indigo: #3A3751;         /* rules and outlines on dark */
  --apricot: #FFB971;        /* the brand: the paper's face, the primary action, the fix */
  --oatmeal: #C9BCA2;        /* the paper's back; muted text on dark */
  --terracotta: #9A5642;     /* what's wrong: hatching, the scan line, the won't-do marks (graphics only, never small text) */
  --paper: #E6E7C8;          /* type on dark; the light sheet; the reply slip */
  --facet-7: #D8D8BD;        /* left faces in the drawing */
  --facet-14: #CBCAB3;       /* right faces in the drawing */
  --glow-screen: #2A1D36;    /* the lit-screen wash on the photographed glass (painted at 50%) */
  --crease-light: #FFE7CC;   /* the fine line of light along a new fold */
  --mask-on: #000;           /* alpha masks only, never painted */
  --shadow-slip: 0 18px 40px -18px rgba(0, 0, 0, .6);   /* the one shadow: the reply slip */

  --text: var(--paper);
  --muted: var(--oatmeal);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --fz: "SOFT" 100, "opsz" 144, "WONK" 0;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-lede: clamp(17px, 0.9vw + 10px, 21px);
  --fs-h1: clamp(58px, 5.8vw, 106px);
  --fs-stage: clamp(44px, 3.9vw + 16px, 84px);
  --fs-h2: clamp(40px, 3.6vw + 12px, 72px);

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(20px, 4.6vw, 80px);
  --max: 1320px;
  --hdr: 72px;
  --radius: 2px;

  /* motion: chaos is slow, order is crisp */
  --snap: cubic-bezier(.7, 0, .2, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 767.98px) { :root { --hdr: 60px; } }
/* the phone call bar's height: the stages keep their notes above it */
:root { --bar: 0px; }
@media (max-width: 899.98px) { .js { --bar: calc(70px + env(safe-area-inset-bottom)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); scroll-padding-bottom: 0; }
@media (max-width: 899.98px) { html { scroll-padding-bottom: 96px; } }
@media (pointer: coarse) { html.motion.snap { scroll-snap-type: y proximity; } }
body { margin: 0; background: var(--void); color: var(--text); font-family: var(--body); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--apricot); color: var(--void); }

/* focus: one visible ring everywhere; buttons get a ring no clip can hide */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: var(--radius); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s4); top: var(--s4); z-index: 100; padding: var(--s3) var(--s4); background: var(--apricot); color: var(--void); font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline-color: var(--paper); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }


/* ---------- buttons: a sheet with one dog-eared corner ---------- */
.btn { --ear: 12px; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: transform 160ms var(--snap); }
/* the dog-ear is painted over the corner in the colour behind the button (--bg), so nothing clips the button or its ring */
.btn-primary { background: var(--apricot); color: var(--void); }
.btn-primary::after { content: ""; position: absolute; top: 0; right: 0; width: var(--ear); height: var(--ear); background: linear-gradient(225deg, var(--bg, var(--void)) 50%, var(--oatmeal) 50%); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:hover { background: var(--paper); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--oatmeal); }
.btn-ghost:hover { color: var(--apricot); box-shadow: inset 0 0 0 2px var(--apricot); }
.btn-dark { background: var(--void); color: var(--apricot); }
.btn-dark::after { content: ""; position: absolute; top: 0; right: 0; width: var(--ear); height: var(--ear); background: linear-gradient(225deg, var(--bg, var(--apricot)) 50%, var(--indigo) 50%); }
.btn-dark:hover { color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 var(--s5); font-size: 15.5px; --ear: 10px; }
/* rings: an inset void line inside plus a 3 px paper ring outside on dark grounds; void outside on the apricot sheet */
.btn:focus-visible { outline: none; border-radius: 0; box-shadow: inset 0 0 0 3px var(--void), 0 0 0 3px var(--paper); }
.btn-ghost:focus-visible { box-shadow: inset 0 0 0 2px var(--oatmeal), 0 0 0 3px var(--apricot); }
.btn-dark:focus-visible { box-shadow: inset 0 0 0 3px var(--apricot), 0 0 0 3px var(--void); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font-weight: 700; color: var(--apricot); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--paper); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--hdr); transition: background-color 240ms var(--snap), box-shadow 240ms var(--snap); }
/* solid once the page has scrolled (html.scrolled, set by the head script, so a failed page script still gets it) and
   always without JavaScript; see-through only at the very top, where the void is all that sits under it */
.site-header.is-solid, .scrolled .site-header, .no-js .site-header { background: var(--void); box-shadow: 0 1px 0 var(--indigo); }
.hd-inner { height: 100%; display: flex; align-items: center; gap: var(--s5); padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; fill: none; }
.mark-face { fill: var(--apricot); }
.mark-ear { fill: var(--oatmeal); }
.wordmark { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 25px; line-height: 1; letter-spacing: -.01em; color: var(--text); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--s1); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); font-size: 15.5px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--apricot); }
/* the link for the part of the page on screen, kept in step with the story as it plays or as the visitor scrolls */
.nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hd-actions { display: flex; align-items: center; gap: var(--s4); }
.hd-cta { transition: opacity 220ms var(--snap), visibility 0s linear 0s; }
.js .site-header.is-hero .hd-cta, .call-on .site-header .hd-cta { opacity: 0; visibility: hidden; transition: opacity 220ms var(--snap), visibility 0s linear 220ms; }
/* and before the page has scrolled at all it is hidden from the first paint, not shown and then faded once the page
   script has found the hero (gate 2, m4: a flash of a second apricot button on every load) */
.js:not(.scrolled) .site-header .hd-cta { opacity: 0; visibility: hidden; transition: none; }
/* one apricot action per view: while the phone call bar is up, the header's button steps back */
@media (max-width: 899.98px) { .bar-on .site-header .hd-cta { opacity: 0; visibility: hidden; transition: opacity 220ms var(--snap), visibility 0s linear 220ms; } }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 0 var(--s4); background: transparent; border: 0; box-shadow: inset 0 0 0 2px var(--oatmeal); font-weight: 700; font-size: 15.5px; cursor: pointer; }
.menu-btn:hover { box-shadow: inset 0 0 0 2px var(--apricot); color: var(--apricot); }
/* the Menu button shows only once the script has wired it; without the script the page is one plain scroll */
@media (max-width: 1023.98px) { .nav { display: none; } .menu-ok .menu-btn { display: inline-flex; align-items: center; } .hd-actions { margin-left: auto; } }
/* with the story's control in the header row there is no room for the four links below 1200 px: the Menu carries them
   there (motion only; the static tiers have no control and keep the links) */
@media (min-width: 1024px) and (max-width: 1199.98px) { html.motion .nav { display: none; } html.motion.menu-ok .menu-btn { display: inline-flex; align-items: center; } html.motion .hd-actions { margin-left: auto; } }
@media (max-width: 767.98px) { .hd-inner { gap: var(--s4); } }
@media (max-width: 559.98px) { .hd-cta { display: none; } .wordmark { font-size: 22px; } }

/* ---------- menu: unfolds from the header line ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--void); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; gap: var(--s6); padding: 0 var(--gutter) var(--s7); }
.menu-top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 0 var(--indigo); }
.menu-close { min-height: 44px; padding: 0 var(--s4); background: transparent; border: 0; box-shadow: inset 0 0 0 2px var(--oatmeal); font-weight: 700; cursor: pointer; }
.menu-close:hover { box-shadow: inset 0 0 0 2px var(--apricot); color: var(--apricot); }
.menu-links a { display: block; padding: var(--s3) 0; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(32px, 8vw, 48px); line-height: 1.1; text-decoration: none; }
.menu-links a:hover { color: var(--apricot); }
.menu .btn { align-self: flex-start; }
.menu-note { color: var(--muted); }
.motion.ready .menu.is-opening .menu-inner { animation: menu-unfold 420ms var(--snap) both; }
@keyframes menu-unfold { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ================================================================================================================
   Scenes: a tall section with a sticky stage; the script turns scroll into a progress value p
   ================================================================================================================ */
.scene { position: relative; }
.scene .stage { position: relative; }
.motion .spine { height: 560vh; }
.motion .bench { height: 270vh; }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) { .motion .spine { height: 500vh; } .motion .bench { height: 240vh; } }
.motion .scene .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage canvas { position: absolute; left: 0; top: 0; }
/* the first screen's poster (motion only): the film's own first picture, laid out by the page script (site.js showPoster)
   under the film canvas. The film fades in over it on its first draw (.drawn also gives the canvas its void ground), and
   the poster is then taken down. .pb clips the ball's frame to its own paper, so that element is never full screen */
.sp-poster { display: none; }
html.motion .sp-poster { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sp-poster img, .sp-poster span { position: absolute; display: block; max-width: none; }
.sp-poster .ps { inset: 0; }
.sp-poster .pb { overflow: hidden; }
html.motion .spine .sp-film { opacity: 0; transition: opacity .25s linear; }
html.motion .spine .stage.drawn .sp-film { opacity: 1; background: var(--void); }
.sp-ui { transform-origin: 0 0; opacity: 0; }
.sp-lines { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; overflow: visible; fill: none; }
.sp-lines line { stroke: var(--paper); stroke-width: 1.2; }
.sp-lines circle { fill: var(--apricot); }
.sp-tag { position: absolute; left: 0; top: 0; z-index: 3; max-width: 250px; padding: 8px 12px; background: var(--void); box-shadow: inset 0 0 0 1px var(--indigo); color: var(--paper); font-size: 15px; font-weight: 600; line-height: 1.35; opacity: 0; }

/* the copy: only the hero shows before the script runs, so a slow or failed script still leaves the headline */
.sp-copy { position: absolute; z-index: 5; left: var(--gutter); top: 0; bottom: 0; width: min(540px, 34vw); display: grid; align-items: center; pointer-events: none; }
.sp-copy > * { grid-area: 1 / 1; pointer-events: auto; }
.sp-line { opacity: 0; visibility: hidden; }
.sp-line, .sp-hero { will-change: opacity, transform; }
.h1-lead { display: block; font-family: var(--body); font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.h1-big { display: block; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: var(--fs-h1); line-height: 1; letter-spacing: -.012em; }
/* the typographic moment (site.js drawCopy): in motion the headline is drawn closed, at 58% of Anybody's width, and opens
   to its 96% as the ball eases open; each display line is one line that never wraps, so the opening never moves a thing */
html.motion .sp-hero .h1-big { --wd: 58%; }
/* each line is its own block and fits on one line at normal spacing at every width (measured 320 to 1920); it may wrap
   only when a reader widens the spacing (WCAG 1.4.12), instead of running off the screen */
.h1-big .line { display: block; white-space: nowrap; }
.sp-hero .lede { margin-top: 22px; font-size: var(--fs-lede); line-height: 1.5; max-width: 30em; }
.sp-hero .actions { margin-top: 28px; }
.sp-hero .fine, .fine { margin-top: 14px; max-width: 32em; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.sp-line .big { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: var(--fs-stage); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
/* each stage line's rendered lines, frozen at the open width (site.js freezeLines), so the width axis can open on them */
.sp-line .big .tl { display: block; white-space: nowrap; }
.sp-line .small { margin-top: 18px; font-size: clamp(17px, .5vw + 13px, 20px); line-height: 1.5; max-width: 26em; }
.sp-rail { position: absolute; z-index: 5; left: var(--gutter); bottom: 28px; opacity: 0; display: flex; gap: 22px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sp-rail li { display: flex; align-items: center; gap: 8px; opacity: .75; }
.sp-rail li::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.sp-rail li.on { color: var(--apricot); opacity: 1; }
.sp-rail li.done { opacity: .9; }
/* the handover note: a paper slip that lands beside the finished screen (a product note, never a message from anyone) */
.sp-reply { position: absolute; left: 0; top: 0; z-index: 6; width: 270px; padding: 14px 16px 14px 18px; background: var(--paper); color: var(--void); opacity: 0; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); box-shadow: var(--shadow-slip); }
.sp-reply::after { content: ""; position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: var(--oatmeal); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.sp-reply .who { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-deep); }
.sp-reply .msg { display: block; margin-top: 6px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.sp-reply .tail { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--indigo-deep); }
/* the shortest phones: a smaller slip, so it fits between the line and the report's title (site.js drawCopy) */
.sp-reply.is-compact { width: min(230px, calc(100vw - 40px)); padding: 10px 14px 12px; }
.sp-reply.is-compact .msg { font-size: 15px; } .sp-reply.is-compact .tail { font-size: 13px; }

/* ---------- the story plays by itself: the pause and play control (motion only, shown by the page script) ---------- */
/* in the header row, right after the name: it never covers what the page is showing (gate 2, m1). One width for both
   words ("Pause" is wider than "Play"), so the label change never moves the box: no layout shift */
.ap { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; width: 104px; padding: 0 14px; background: var(--void); color: var(--paper); border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--indigo); font-family: var(--body); font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; transition: opacity 260ms var(--snap), visibility 0s linear 0s; }
.ap[hidden] { display: none; }
.ap.is-off { opacity: 0; visibility: hidden; transition: opacity 260ms var(--snap), visibility 0s linear 260ms; }
.ap:hover { color: var(--apricot); }
.ap:focus-visible { outline: none; border-radius: 0; box-shadow: inset 0 0 0 1px var(--indigo), 0 0 0 3px var(--paper), 0 0 0 5px var(--void); }
.ap-ic { position: relative; flex: none; width: 12px; height: 14px; }
.ap-ic::before, .ap-ic::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; }
.ap-ic::before { left: 0; }
.ap-ic::after { right: 0; }
.ap.is-paused .ap-ic::before { width: 12px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ap.is-paused .ap-ic::after { display: none; }
.ap-track { position: absolute; left: 1px; right: 1px; bottom: 1px; height: 2px; background: var(--indigo); }
.ap-fill { position: absolute; inset: 0; background: var(--paper); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 359.98px) { .ap { width: 44px; padding: 0; justify-content: center; } .ap .ap-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* while the story plays, scrolling belongs to it: no snap points to pull it about (they return the moment the visitor
   takes over), and no scroll anchoring to nudge it */
html.motion.snap.autoplaying { scroll-snap-type: none; }
html.autoplaying { overflow-anchor: none; }
@media (min-width: 1024px) and (max-height: 760px) { .sp-hero .lede { font-size: 17px; margin-top: 16px; } .sp-hero .actions { margin-top: 20px; } }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) {
  .sp-copy { left: var(--gutter); right: var(--gutter); width: auto; top: var(--hdr); bottom: auto; align-items: start; padding-top: 14px; }
  .sp-hero { padding-top: 6px; }
  .h1-lead { font-size: 18px; margin-bottom: 6px; }
  .h1-big { --fs-h1: clamp(44px, 13vw, 64px); }
  .sp-hero .lede { margin-top: 14px; font-size: 17px; }
  .sp-hero .actions { margin-top: 18px; }
  .sp-hero .fine { font-size: 15px; margin-top: 10px; }
  .sp-line .big { font-size: clamp(30px, 8.6vw, 44px); line-height: 1.04; }
  .sp-line .small { margin-top: 10px; font-size: 16px; line-height: 1.45; }
  .sp-rail { display: none; }
  .sp-tag { max-width: 200px; font-size: 14px; padding: 6px 10px; }
  .sp-reply { width: min(270px, calc(100vw - 40px)); }
}
@media (max-width: 559.98px) { .actions .btn { flex: 1 1 100%; } }

/* ---------- Study C, on the back of the sheet ---------- */
.bench .stage { color: var(--void); background-color: var(--paper); }
/* the paper plate is drawn on its own canvas (.bn-plate, site.js Bench.drawPlate): never a largest-paint candidate */
.bn-copy { position: absolute; z-index: 5; left: var(--gutter); top: 0; bottom: 0; width: min(500px, 33vw); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.bn-copy h2 { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.bn-copy p { font-size: 18px; font-weight: 500; }
.bn-after { opacity: 0; font-weight: 700 !important; }
.bn-label { position: absolute; left: 0; top: 0; z-index: 4; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--void); opacity: 0; }
.bn-label .n { margin-right: 8px; }
.bn-label .t-fixed { display: none; }
.bn-label.is-slow .n::after, .bn-label.is-fixed .n::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 8px; vertical-align: 1px; }
.bn-label.is-slow .n::after { background: var(--terracotta); }
.bn-label.is-fixed .t-slow { display: none; }
.bn-label.is-fixed .t-fixed { display: inline; }
.bn-label.is-fixed .n::after { background: var(--apricot); box-shadow: inset 0 0 0 1px var(--void); }
.bn-result { position: absolute; z-index: 5; right: var(--gutter); top: calc(var(--hdr) + 28px); font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(30px, 2.4vw + 8px, 48px); line-height: 1; white-space: nowrap; opacity: 0; }
.bn-result small { display: block; margin-top: 10px; font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: 0; }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) {
  .bn-copy { right: var(--gutter); width: auto; top: var(--hdr); bottom: auto; justify-content: flex-start; padding-top: 12px; gap: 10px; }
  .bn-copy h2 { font-size: clamp(30px, 8.6vw, 44px); }
  .bn-copy p { font-size: 16px; line-height: 1.45; }
  .bn-label { font-size: 12px; letter-spacing: .06em; white-space: normal; max-width: 34vw; line-height: 1.25; }
  .bn-result { left: var(--gutter); right: auto; top: 0; font-size: 28px; }
  .bn-result small { font-size: 15px; margin-top: 6px; }
}

/* ---------- sections below the scenes ---------- */
.sec { padding: var(--s9) 0; }
.sec-title { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.sec-sub { margin-top: var(--s4); max-width: 38em; font-size: clamp(17px, .5vw + 14px, 20px); line-height: 1.5; }
.sec-note { margin-top: var(--s5); color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 767.98px) { .sec { padding: var(--s8) 0; } .sec-title { font-size: clamp(32px, 9vw, 44px); } }

/* what we build: a typographic list of the range, then that one's sheet */
/* a link to it lands flush under the header: the scroll padding's 16 px of air would show the foot of Study C's paper */
#who { scroll-margin-top: calc(-1 * var(--s4)); }
.who-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
/* the tabs show once the page script has wired them (html.tabs-ok); without it every sheet shows, named */
.who-tabs { margin-top: var(--s6); display: none; flex-direction: column; }
.tabs-ok .who-tabs { display: flex; }
.who-tabs [role="tab"] { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 5px 0; background: none; border: 0; border-top: 1px solid var(--indigo); text-align: left; cursor: pointer; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(23px, 1.3vw + 11px, 32px); line-height: 1.05; color: var(--paper); }
.who-tabs [role="tab"]:last-child { border-bottom: 1px solid var(--indigo); }
.who-tabs [role="tab"]::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--indigo); clip-path: polygon(0 0, 66% 0, 100% 34%, 100% 100%, 0 100%); transition: background-color .2s; }
.who-tabs [role="tab"][aria-selected="true"] { color: var(--apricot); }
.who-tabs [role="tab"][aria-selected="true"]::before { background: var(--apricot); }
.who-tabs [role="tab"]:hover { color: var(--apricot); }
.who-tabs [role="tab"]:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }
.who-go { margin-top: var(--s4); font-size: 18px; }
.who-panels { display: grid; gap: var(--s8); }
/* gate 2, m8: the photograph is the sheet's headline: full width of the panel, a 7:5 crop round the paper (site.js
   Chooser place, by each photograph's focal point), and the three lines under it in three columns */
.who-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
.who-panel[hidden] { display: none; }
.who-panel:focus-visible { outline-offset: 6px; }
.who-name { grid-column: 1 / -1; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 28px; line-height: 1.1; color: var(--apricot); }
.tabs-ok .who-name { display: none; }
.who-panel.is-in { animation: fold-in 520ms var(--snap) both; }
@keyframes fold-in { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
.who-photo { position: relative; aspect-ratio: 7 / 5; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, var(--mask-on) 86%, transparent); mask-image: linear-gradient(180deg, var(--mask-on) 86%, transparent); }
.who-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
/* placed by the script: the crop round the paper, exactly as the projected screens are placed */
.who-photo img.is-placed { position: absolute; left: 0; top: 0; max-width: none; object-fit: fill; }
@media (min-width: 900px) { .who-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; column-gap: var(--s5); }
  .who-lines dt { margin-top: 0; } }
.who-ov { position: absolute; left: 0; top: 0; transform-origin: 0 0; visibility: hidden; }
.who-ov.is-placed { visibility: visible; }
.who-lines dt { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.who-lines dt:first-child { margin-top: 0; }
.who-lines dd { margin: 4px 0 0; font-size: clamp(18px, .5vw + 14px, 21px); line-height: 1.4; }
.who-lines dd.now { font-weight: 700; color: var(--apricot); }
@media (max-width: 899.98px) {
  .who-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .who-panel { grid-template-columns: 1fr; gap: var(--s5); }
  .who-photo { aspect-ratio: 5 / 4; }
}
/* the product screens are drawn in code (never generated) and projected onto the photographed glass and panel */
.scr-app { width: 300px; height: 500px; padding: 26px 18px; background: var(--void); color: var(--paper); font-size: 15px; line-height: 1.4; }
.scr-app .t { font-weight: 700; font-size: 21px; }
.scr-app .sub { color: var(--muted); font-size: 12.5px; }
.scr-app .job { margin-top: 18px; font-weight: 700; }
.scr-app ul { margin-top: 10px; }
.scr-app li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--indigo); }
/* the screen's one large thing is its state, not a figure: the site shows no prices, so the quote
   screen shows the job, not a total */
.scr-app .go { margin-top: 16px; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 38px; line-height: 1; color: var(--apricot); }
.scr-app .when { margin-top: 8px; color: var(--muted); font-size: 13px; }
.scr-slide { width: 600px; height: 560px; padding: 34px 38px; background: var(--paper); color: var(--void); line-height: 1.3; }
.scr-slide .t { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 40px; line-height: 1.02; }
.scr-slide .sub { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--indigo-deep); }
.scr-slide .bars { display: flex; align-items: flex-end; gap: 22px; height: 300px; margin-top: 30px; border-bottom: 2px solid var(--void); }
.scr-slide .bars i { flex: 1; height: calc(var(--v) * 100%); background: var(--indigo-deep); }
.scr-slide .bars i.hi { background: var(--apricot); box-shadow: inset 0 0 0 2px var(--void); }
.scr-slide .lab { display: flex; gap: 22px; margin-top: 10px; font-size: 17px; font-weight: 700; }
.scr-slide .lab span { flex: 1; }
/* a website, printed on the standing panel's face: a plain page with an obvious stand-in name (no business that exists),
   multiplied onto the paper so its fibre and light show through, as ink on paper would */
.scr-web { width: 450px; height: 600px; padding: 30px 32px; color: var(--void); line-height: 1.2; mix-blend-mode: multiply; }
/* the browser's own bar printed across the top, so the panel reads as a page on a screen (gate 2, m8: it read as a bag) */
.scr-web .bar { display: flex; align-items: center; gap: 7px; height: 34px; margin: -30px -32px 22px; padding: 0 14px; background: var(--void); }
.scr-web .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); }
.scr-web .bar b { flex: 1; height: 14px; margin-left: 12px; background: var(--paper); opacity: .55; }
.scr-web .nm { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.scr-web .nm i { width: 18px; height: 18px; background: var(--void); clip-path: polygon(0 0, 66% 0, 100% 34%, 100% 100%, 0 100%); }
.scr-web .t { margin-top: 44px; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 50px; line-height: 1.0; }
.scr-web .sub { margin-top: 16px; font-size: 20px; line-height: 1.35; color: var(--indigo-deep); }
.scr-web .go { display: inline-block; margin-top: 26px; padding: 12px 18px; background: var(--void); color: var(--paper); font-size: 19px; font-weight: 700; }
.scr-web .blk { display: block; margin-top: 34px; height: 104px; background: var(--terracotta); opacity: .35; }
.scr-web .ln { display: block; margin-top: 14px; height: 10px; background: var(--indigo); opacity: .35; }
.scr-web .ln.s { width: 62%; }

/* the free consultation: a fifteen-minute ruler */
.call-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.call .actions { margin-top: var(--s5); }
.rl { margin-top: var(--s4); }
.rl-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); }
.rl-clock { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(44px, 4vw + 10px, 84px); line-height: 1; color: var(--apricot); font-variant-numeric: tabular-nums; }
.rl-free { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rl-track { position: relative; height: 56px; margin-top: 18px; }
.rl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--indigo); }
.rl-fill { position: absolute; left: 0; top: 26px; height: 4px; width: 100%; background: var(--apricot); }
.rl-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; }
.rl-ticks i { width: 2px; height: 14px; margin-top: 21px; background: var(--oatmeal); }
.rl-ticks i:nth-child(5n+1) { height: 30px; margin-top: 13px; background: var(--paper); }
.rl-head { position: absolute; top: 8px; left: 100%; width: 18px; height: 40px; margin-left: -9px; background: var(--apricot); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.rl-moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.rl-moment { opacity: .62; transform: translateY(6px); transition: opacity .35s var(--out), transform .35s var(--out); }
.rl-moment.is-on { opacity: 1; transform: none; }
.rl-moment b { display: block; font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 22px; color: var(--apricot); font-variant-numeric: tabular-nums; }
.rl-moment p { margin-top: 6px; font-size: 16px; line-height: 1.45; }
@media (max-width: 899.98px) {
  .call-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .rl-moments { grid-template-columns: 1fr 1fr; row-gap: 22px; }
}
@media (max-width: 359.98px) { .rl-moments { grid-template-columns: 1fr; } }

/* what we won't do: ruled lines, terracotta marks */
.wont-list { margin-top: var(--s6); columns: 2; column-gap: var(--s8); }
.wont-list li { break-inside: avoid; display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--indigo); font-size: clamp(17px, .4vw + 14px, 20px); line-height: 1.45; }
.wont-list li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: var(--terracotta); clip-path: polygon(0 0, 66% 0, 100% 34%, 100% 100%, 0 100%); }
.wont-list li b { display: block; margin-bottom: 6px; color: var(--apricot); font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(21px, 1.1vw + 14px, 30px); line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.wont-list li span { color: var(--oatmeal, inherit); }
.wont-list li { padding: 22px 0; }
@media (max-width: 899.98px) { .wont-list { columns: 1; } }

/* ---------- contact: one sheet of paper, folded into an envelope on send ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: start; }
.routes { margin-top: var(--s5); display: grid; gap: 10px; }
.routes li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: var(--fs-lede); }
.routes .k { min-width: 56px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.envelope { position: relative; overflow: hidden; overflow: clip; }
/* the sheet shows once the page script has wired it (html.form-ok). Without it (no JavaScript, or a blocked, failed or
   late script) "Send it" would post to nowhere, so the note and the routes above stand in */
.nojs-note { display: block; padding: var(--s5); background: var(--indigo-deep); font-weight: 700; }
.form-ok .nojs-note, html:not(.form-ok) .sheet { display: none; }
.nojs-note a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.sheet { --bg: var(--apricot); position: relative; display: grid; gap: 18px; padding: 34px; background: var(--apricot); color: var(--void); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: var(--oatmeal); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; }
.field .opt { font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 17px; color: var(--void); background: var(--paper); border: 0; border-radius: 0; box-shadow: inset 0 0 0 2px var(--void); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--void); outline-offset: 2px; }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 4px var(--void); }
.field-hint { font-size: 14.5px; }
.field-err { font-size: 15px; font-weight: 700; }
.field-err:empty { display: none; }
.field-err::before { content: "! "; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); padding-top: 4px; }
.form-small { font-size: 14.5px; }
.form-small a { display: inline-block; padding: 12px 2px; margin: -12px 0; font-weight: 700; }
.form-small a:focus-visible { outline-color: var(--void); }
/* the envelope: the flaps start edge-on (90 degrees) and the envelope clips its own content, so a send can never
   widen the page */
.env-flaps { position: relative; display: none; width: 100%; max-width: 420px; aspect-ratio: 1.55; background: var(--apricot); perspective: 1600px; overflow: hidden; }
.flap { position: absolute; display: block; background: var(--oatmeal); transition: transform 420ms var(--snap); }
.fl-l { left: 0; top: 0; bottom: 0; width: 52%; clip-path: polygon(0 0, 100% 50%, 0 100%); transform-origin: 0 50%; transform: rotateY(-90deg); }
.fl-r { right: 0; top: 0; bottom: 0; width: 52%; clip-path: polygon(100% 0, 0 50%, 100% 100%); transform-origin: 100% 50%; transform: rotateY(90deg); }
.fl-b { left: 0; right: 0; bottom: 0; height: 58%; clip-path: polygon(0 100%, 50% 0, 100% 100%); transform-origin: 50% 100%; transform: rotateX(90deg); background: var(--apricot); }
.fl-t { left: 0; right: 0; top: 0; height: 56%; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transform: rotateX(-90deg); background: var(--terracotta); }
.form-done { display: none; padding: var(--s5) 0 0; }
.form-done:focus-visible { outline-offset: 2px; }
.form-done .done-title { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 34px; line-height: 1; margin-bottom: var(--s3); color: var(--paper); }
.form-done .done-note { color: var(--muted); max-width: 34em; }
.form-done .text-link { margin-top: var(--s3); }
/* the visitor's message, kept on the page with a copy button (gate 2, m6: with no email app nothing opened and the words
   were gone) */
.done-msg { display: grid; gap: var(--s2); margin-top: var(--s4); max-width: 34em; }
.done-label { font-weight: 700; font-size: 15px; color: var(--paper); }
.done-text { width: 100%; min-height: 132px; padding: 10px 12px; font: inherit; font-size: 15px; line-height: 1.45; color: var(--paper); background: var(--indigo-deep); border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--indigo); resize: vertical; }
.done-text:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; }
.done-msg .btn { justify-self: start; }
.done-copied { min-height: 1.5em; font-size: 15px; color: var(--paper); }
/* links inside running text keep the text's own line height (gate 2, m10); WCAG 2.5.8 exempts inline links */
.done-note .text-link, .menu-note .text-link, .nojs-note a { display: inline; min-height: 0; }
.envelope.is-sent .sheet { display: none; }
.envelope.is-sent .env-flaps { display: block; }
.envelope.is-sent.is-folded .flap { transform: none; }
.envelope.is-sent.is-folded .fl-r { transition-delay: 90ms; }
.envelope.is-sent.is-folded .fl-b { transition-delay: 180ms; }
.envelope.is-sent.is-folded .fl-t { transition-delay: 300ms; }
.envelope.is-sent .form-done { display: block; }
@media (max-width: 899.98px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s6); } .sheet { padding: 28px 22px 24px; } }

/* ---------- footer ---------- */
.site-footer { padding: var(--s8) 0 calc(var(--s8) + 76px); border-top: 1px solid var(--indigo); }
.ft-line { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(26px, 2vw + 12px, 44px); line-height: 1.05; max-width: 18em; text-wrap: balance; }
.ft-grid { margin-top: var(--s6); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s5) var(--s6); align-items: start; }
.ft-brand { display: flex; align-items: center; gap: 10px; }
.ft-facts, .ft-links { display: grid; gap: var(--s1); color: var(--muted); font-size: var(--fs-small); }
.ft-facts li { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ft-facts a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--text); text-underline-offset: 3px; }
.ft-facts a:hover { color: var(--apricot); }
.ft-links a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; font-weight: 600; color: var(--text); text-decoration: none; }
.ft-links a:hover { color: var(--apricot); }
.ft-copy { grid-column: 1 / -1; color: var(--muted); font-size: var(--fs-small); }
/* the one place the site says its pictures are generated (each picture's alt text says it too) */
@media (min-width: 900px) { .site-footer { padding-bottom: var(--s8); } }
@media (max-width: 767.98px) { .ft-grid { grid-template-columns: 1fr; } }

/* ---------- phone call bar: never focusable while it is off screen ---------- */
.callbar { --bg: var(--indigo-deep); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: var(--s3); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--indigo-deep); box-shadow: 0 -1px 0 var(--indigo); transform: translateY(110%); visibility: hidden; transition: transform 320ms var(--snap), visibility 0s linear 320ms; }
.callbar.is-on { transform: none; visibility: visible; transition: transform 320ms var(--snap), visibility 0s linear 0s; }
.callbar .btn { flex: 1; min-height: 50px; }
.callbar-call { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 96px; min-height: 50px; padding: 0 14px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 2px var(--oatmeal); }
.callbar-call:hover { color: var(--apricot); box-shadow: inset 0 0 0 2px var(--apricot); }
.callbar-call:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--oatmeal), 0 0 0 3px var(--apricot); }
@media (max-width: 899.98px) { .js .callbar { display: flex; } }
@media (max-width: 400px) { .callbar .btn { padding: 0 12px; font-size: 15.5px; } .callbar-call { min-width: 0; font-size: 15.5px; } }
@media (max-width: 340px) { .callbar { gap: var(--s2); } .callbar .btn, .callbar-call { padding: 0 9px; font-size: 14px; } }
/* very short screens (phone landscape, 200 and 400% zoom): the header scrolls away with the page and the call bar stays
   down, so the page keeps the whole screen instead of 50 px of it (WCAG 1.4.10 at 400%) */
@media (max-height: 419.98px) {
  html { scroll-padding-top: var(--s4); }
  .site-header { position: absolute; }
  .js .callbar { display: none; }
}

/* ================================================================================================================
   Static: reduced motion, short screens, low-power phones, a failed script, and no JavaScript.
   Every scene becomes a strip of key stills beside its words; nothing moves.
   ================================================================================================================ */
.static-strip { display: none; }
html.static .scene .stage > :not(.static-strip), html.no-js .scene .stage > :not(.static-strip) { display: none; }
html.static .static-strip, html.no-js .static-strip { display: block; padding: calc(var(--hdr) + var(--s6)) 0 var(--s8); }
html.static .bench .static-strip, html.no-js .bench .static-strip { padding-top: var(--s8); }
/* motion: the spine's strip is the screen-reader copy of the story. It is visually hidden, its hero is left out (the
   live hero is the one read) and its stills are never loaded (the film is on screen), while the moving lines are
   aria-hidden: the five lines are read once, in order, in every mode */
html.motion .spine .static-strip { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
html.motion .spine .static-strip .st-hero, html.motion .spine .static-strip img { display: none; }
/* what each still shows, as text for that copy (written by the page script from the stills' alt text) */
.st-say { display: none; }
html.motion .spine .static-strip .st-say { display: block; }
.st-hero { padding-bottom: var(--s7); }
.st-hero .lede { margin-top: var(--s5); max-width: 33em; font-size: var(--fs-lede); line-height: 1.5; }
.st-hero .actions { margin-top: var(--s5); }
.static-strip .sec-title + .sec-sub { margin-bottom: var(--s5); }
.st-frame { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: center; padding: var(--s5) 0; border-top: 1px solid var(--indigo); }
.bench .st-frame { border-top-color: var(--oatmeal); }
.st-frame img { width: 100%; height: auto; }
.st-frame .big { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: clamp(30px, 2.6vw + 10px, 52px); line-height: 1.02; text-wrap: balance; }
.st-frame .small { margin-top: 10px; font-size: 17px; line-height: 1.5; max-width: 30em; }
@media (max-width: 899.98px) { .st-frame { grid-template-columns: 1fr; gap: var(--s4); } }
/* short screens (phone landscape, 150 to 400% zoom): a tighter hero, so the primary button makes the first screen */
@media (max-height: 559.98px) {
  html.static .static-strip { padding-top: calc(var(--hdr) + var(--s3)); }
  .h1-big { --fs-h1: min(12vw, 13svh, 98px); }
  .h1-lead { font-size: 17px; margin-bottom: 4px; }
  .st-hero .lede { margin-top: var(--s3); font-size: 16px; }
  .st-hero .actions { margin-top: 14px; }
  .st-hero .actions .btn { min-height: 48px; }
}
/* without a working script the chooser shows every reader's sheet, one under another */
html:not(.tabs-ok) .who-panel[hidden] { display: grid; }

/* ---------- privacy page ---------- */
.doc { padding: calc(var(--hdr) + var(--s8)) 0 var(--s9); }
.doc h1 { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: var(--fs-h2); line-height: 1; margin-bottom: var(--s5); }
.doc h2 { font-family: var(--display); font-variation-settings: var(--fz); font-weight: 600; font-size: 26px; line-height: 1.1; margin: var(--s7) 0 var(--s3); }
.doc p, .doc li { max-width: 40em; }
.doc p + p { margin-top: var(--s3); }
.doc ul { list-style: square; padding-left: 1.2em; display: grid; gap: var(--s2); margin-top: var(--s3); }
.doc .lead { font-size: var(--fs-lede); color: var(--muted); }
.doc a { color: var(--apricot); font-weight: 700; }
.doc-page .site-footer { padding-bottom: var(--s8); }
.doc-page .hd-actions { margin-left: auto; }

/* ---------- reduced motion: everything in its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}

/* ================================================================================================================
   v3 hero (17-11-2026): the first screen fills the frame. In motion the ball rests on a creased apricot sheet drawn in
   the film canvas (site.js: GROUND, drawGround, shadeWords). On phones the copy band is shorter, so the ball and its
   sheet get about half the screen; the motion hero's fine print keeps its first sentence (the free consultation stays
   on every first screen); "a fixed price, in writing" and "you'll hear that first" are said again at "We fold it"
   and at 0:15 of the call. In the static tiers (reduced motion,
   no JavaScript, a failed script) the same scene is one still (.st-scene): behind the
   words on wide screens, a band under them on phones. Low-power phones (.low) keep the plain void: they asked for less
   data. Every colour here is a token; nothing new.
   ================================================================================================================ */
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) {
  .sp-copy { padding-top: 10px; }
  .sp-hero { padding-top: 0; }
  .sp-hero .lede { margin-top: 12px; }
  .sp-hero .actions { margin-top: 16px; }
  .sp-hero .actions .btn { min-height: 48px; }
}
/* gate 2, B1: on the phone cut (phones and tablets held upright) the motion first screen is the headline and ONE button
   over the picture's shadow, so the ball can take the screen; the lede, the second button and the free consultation
   come one beat later in .sp-hero2 (site.js drawCopy), which is the only copy of them on that cut */
.sp-hero2 { display: none; }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) {
  html.motion .sp-hero .lede, html.motion .sp-hero .fine, html.motion .sp-hero .actions .btn-ghost:not(.btn-see) { display: none; }
  html.motion .sp-hero .actions .btn-primary { flex: 0 1 auto; min-width: 220px; }
  html.motion .sp-hero2 { display: block; opacity: 0; visibility: hidden; padding-top: 4px; }
  .sp-hero2 .lede { font-size: 16px; line-height: 1.45; max-width: 30em; }
  .sp-hero2 .actions { margin-top: 12px; }
  .sp-hero2 .actions .btn { flex: 0 1 auto; min-width: 220px; min-height: 48px; }
  .sp-hero2 .fine { margin-top: 10px; font-size: 15px; }
}
/* motion hero on phones only: the static hero (the accessible fallback, with room below) keeps every sentence */
@media (max-width: 599.98px) { .sp-hero .fine-more { display: none; } }
/* phones: the two hero buttons share one row at the system's small button size (.btn-sm: 44 px, 15.5 px), the biggest
   single saving in the copy band (about 60 px); both labels fit from 340 px wide. Under 340 they stack as before. */
@media (max-width: 599.98px) and (min-width: 340px) {
  .sp-hero .actions { flex-wrap: nowrap; gap: var(--s2); }
  .sp-hero .actions .btn { flex: 1 1 auto; min-height: 44px; padding: 0 var(--s3); font-size: 15.5px; --ear: 10px; }
}
/* short phones (iPhone SE, 360 x 640 to 760 Androids): the headline steps down from 13vw to 12vw */
@media (max-width: 599.98px) and (max-height: 760px) { .sp-hero .h1-big { --fs-h1: clamp(40px, 12vw, 56px); } }

/* the static tiers' still */
.st-scene { display: none; }
/* wide: the still fills the first screen behind the words, anchored right; the words keep the motion hero's column */
@media (min-width: 900px) and (min-aspect-ratio: 23/20) and (min-height: 560px) {
  html.static:not(.low) .spine .static-strip > .wrap, html.no-js .spine .static-strip > .wrap { position: relative; isolation: isolate; }
  html.static:not(.low) .st-scene, html.no-js .st-scene {
    display: block; position: absolute; z-index: -1; top: calc(-1 * (var(--hdr) + var(--s6))); left: 50%; width: 100vw; margin-left: -50vw;
    height: 100vh; height: 100svh;
    background: var(--void) url("../assets/hero/still-d.webp") no-repeat 100% 50% / cover;
  }
  /* the words' shade, as in motion (site.js shadeWords): keyed to the copy column, so the cropped still never puts lit
     paper under a word at narrower wide screens */
  html.static:not(.low) .st-scene::before, html.no-js .st-scene::before {
    content: ""; position: absolute; inset: 0; opacity: .86;
    background: linear-gradient(90deg, var(--void) 0, var(--void) calc(var(--gutter) + min(540px, 34vw) - 40px), transparent calc(var(--gutter) + min(540px, 34vw) + 190px));
  }
  /* the header band's shade, as in motion: at other aspect ratios the cover crop cuts the still's own top off */
  html.static:not(.low) .st-scene::after, html.no-js .st-scene::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--hdr) + 60px); opacity: .92;
    background: linear-gradient(var(--void) 0, var(--void) 35%, transparent);
  }
  html.static:not(.low) .st-hero, html.no-js .st-hero {
    max-width: min(540px, 34vw); min-height: calc(100vh - var(--hdr) - var(--s6)); min-height: calc(100svh - var(--hdr) - var(--s6));
    display: flex; flex-direction: column; justify-content: center; padding-bottom: var(--s8);
  }
}
/* phones and portrait tablets: the words on top, then the ball on its sheet as a full-bleed band in the flow under them,
   so it can never sit under a word at any width or text size (the still's top is the sheet's shadow, so the join does
   not show) */
@media ((max-width: 899.98px) or (max-aspect-ratio: 23/20)) and (min-height: 700px) {
  html.static:not(.low) .st-hero, html.no-js .st-hero { padding-bottom: 0; }
  html.static:not(.low) .st-scene, html.no-js .st-scene {
    display: block; position: relative; height: min(96vw, 440px); margin: var(--s3) calc(-1 * var(--gutter)) var(--s5);
    background: linear-gradient(var(--void), transparent 38%), var(--void) url("../assets/hero/still-p.webp") no-repeat 50% 62% / cover;
  }
}


/* daylight: the section that shows what we can fix is a sheet
   of paper, not another dark panel. Tokens only; apricot is not used for text or marks on paper (1.3:1). */
.sec.who { background: var(--paper); color: var(--void); box-shadow: inset 0 1px 0 var(--oatmeal); }
.sec.who .sec-title { color: var(--void); }
.sec.who .sec-sub { color: var(--indigo-deep); }
.sec.who .who-tabs [role="tab"] { color: var(--void); border-top-color: var(--oatmeal); }
.sec.who .who-tabs [role="tab"]:last-child { border-bottom-color: var(--oatmeal); }
.sec.who .who-tabs [role="tab"]::before { background: var(--oatmeal); }
.sec.who .who-tabs [role="tab"][aria-selected="true"] { color: var(--void); }
.sec.who .who-tabs [role="tab"][aria-selected="true"]::before { background: var(--terracotta); }
.sec.who .who-tabs [role="tab"]:hover { color: var(--indigo-deep); }
.sec.who :focus-visible { outline-color: var(--void); }
.sec.who .who-name { color: var(--terracotta); }
.sec.who .who-lines dt { color: var(--indigo-deep); }
.sec.who .who-lines dd.now { color: var(--void); font-weight: 700; }
.sec.who .text-link { color: var(--void); text-decoration: underline; text-underline-offset: 4px; }
.sec.who .text-link:hover { color: var(--indigo-deep); }

/* the short films in the reel (18-11): the photograph stays underneath and the film fades in over it once it plays */
.who-photo .who-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; opacity: 0; transition: opacity .35s; pointer-events: none; }
.who-photo .who-vid.is-on { opacity: 1; }

/* Cold open (18-11-2026): a short macro film over the first screen, behind the words, that dissolves into the story's first
   picture. Motion only. It starts only once it is playing, leaves on any input, and is removed from the page afterwards. */
.sp-open { display: none; }
html.motion .sp-open { display: block; position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; opacity: 0; background: var(--void); transition: opacity .5s linear; }
html.motion .sp-open.is-on { opacity: 1; }
html.motion .sp-open.is-off { opacity: 0; transition: opacity .8s ease-in-out; }
html.motion .sp-open.is-cut { opacity: 0; transition: opacity .12s linear; }
.sp-open video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--void) 92%, transparent) 0, color-mix(in srgb, var(--void) 74%, transparent) 84px, transparent 150px), linear-gradient(90deg, color-mix(in srgb, var(--void) 92%, transparent) 0%, color-mix(in srgb, var(--void) 72%, transparent) 38%, transparent 74%); }
@media (max-aspect-ratio: 1/1) { .sp-open::after { background: linear-gradient(180deg, color-mix(in srgb, var(--void) 94%, transparent) 0%, color-mix(in srgb, var(--void) 76%, transparent) 42%, transparent 82%); } }

/* the hero's "see what we can do" button: a play mark and a firmer outline, so it reads as the thing to press */
.btn-see { box-shadow: inset 0 0 0 2px var(--apricot); color: var(--apricot); }
@media (hover: hover) { .btn-see:hover { background: var(--apricot); color: var(--void); } }
.btn-see .pi { display: inline-block; width: 12px; height: 14px; margin-right: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); vertical-align: -1px; }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) { html.motion .sp-hero .actions { flex-wrap: wrap; } html.motion .sp-hero .actions .btn-see { flex: 1 1 100%; justify-content: center; } }

/* chapter buttons (motion only): sit in the stage's bottom right, above the phone call bar */
.story-nav { display: none; }
html.motion .story-nav { display: flex; align-items: center; gap: 10px; position: absolute; right: var(--gutter); bottom: 26px; z-index: 6; }
.story-nav .sn { height: 44px; padding: 0 16px; background: var(--void); color: var(--paper); border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--indigo); display: inline-flex; align-items: center; gap: 8px; }
.story-nav .sn:hover:not(:disabled) { color: var(--apricot); }
.story-nav .sn:disabled { opacity: .35; cursor: default; }
.story-nav .sn:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--indigo), 0 0 0 3px var(--paper), 0 0 0 5px var(--void); }
.story-nav .sn-next { background: var(--apricot); color: var(--void); box-shadow: none; }
.story-nav .sn-next:hover:not(:disabled) { color: var(--void); filter: brightness(1.08); }
.story-nav .sn-ar { font-size: 22px; line-height: 1; }
.story-nav .sn-now { color: var(--oatmeal); font-size: 14px; min-width: 7.5em; text-align: center; }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) { html.motion .story-nav { left: var(--gutter); right: var(--gutter); bottom: 86px; justify-content: space-between; } .story-nav .sn-now { display: none; } }

/* the knight mark (18-11-2026): the logo is an illustration, not a path */
img.mark { display: block; width: auto; height: 40px; flex: none; }
.ft-brand img.mark { height: 46px; }

/* gate 4 (18-11-2026): the chapter label is gone (the rail already names the chapter); Next gets a visible edge; on phones the
   row is not shown at all (swipe, the control and the hero button do the job and nothing is covered) */
.story-nav .sn-now { display: none; }
.story-nav .sn-next { box-shadow: 0 0 0 2px var(--void); }
@media (max-width: 899.98px), (max-aspect-ratio: 23/20) { html.motion .story-nav { display: none; } }
