/* v3 "unsolved case" look. Palette: navy desk + lamp amber (blue's complement, the colour of a desk lamp), case-file paper.
   Refs: REFERENCES/img/pinterest/ref7 (desk, one lamp), pin5 (archive cut-outs + tag card), pin6 (portrait strips), ref9 (route map).
   Sizes and spacing on an 8 px grid; motion values in case.js are ESTIMATES tuned by eye. */
:root {
  --night: #070D16;      /* page ground, darkest navy */
  --navy: #0D1828;       /* section ground */
  --navy-2: #15253B;     /* raised panels */
  --steel: #7E98BA;      /* hairlines, map lines, secondary text */
  --fog: #B4C0D0;        /* body text on navy */
  --paper: #ECE5D6;      /* case-file paper, headings on navy */
  --paper-ink: #1A1D22;  /* type on paper */
  --lamp: #F2A94A;       /* the one warm accent: CTA, pins, routes */
  --lamp-rgb: 255, 196, 120;
  --tag: #2D53A0;        /* exhibit tag card (pin5 blue) */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Segoe UI", system-ui, sans-serif;     /* UI + body (measured: basement.studio) */
  --r-pill: 999px; --r-panel: 16px; --r-media: 10px; --r-paper: 2px;   /* interface is soft, desk objects stay crisp */
  --ease-ui: cubic-bezier(0.4, 0, 0.1, 1);                 /* lusion.co button parts, 0.3 s */
  --hair: inset 0 0 0 1px rgba(255,255,255,.07);
  --mono: "Courier Prime", "Courier New", monospace;
  --pad: clamp(16px, 5vw, 96px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 1px rgba(0,0,0,.45), 0 8px 16px rgba(0,0,0,.4), 0 30px 60px rgba(0,0,0,.55);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--night); color: var(--fog); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--paper); margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

/* buttons: 48 px pill, label + icon disc; the arrow slides out and back in on hover (lusion.co anatomy) */
.btn { --h: 48px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 6px 0 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; cursor: pointer; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: background-color .4s var(--ease-ui), border-color .4s var(--ease-ui), color .4s var(--ease-ui), box-shadow .4s var(--ease-ui), transform .1s ease-out; }
.btn__icon { position: relative; display: grid; place-items: center; width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%; overflow: hidden; flex: none; transition: background-color .4s var(--ease-ui), transform .3s var(--ease-ui); }
.btn__icon svg { grid-area: 1 / 1; transition: transform .3s var(--ease-ui); }
.btn__icon svg + svg { transform: translateX(-180%); }
.btn:hover .btn__icon svg:first-child { transform: translateX(180%); }
.btn:hover .btn__icon svg + svg { transform: translateX(0); }
.btn:active { transform: scale(.97); }
.btn--lamp { background: var(--lamp); color: #10161F; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -6px rgba(var(--lamp-rgb), .45); }
.btn--lamp .btn__icon { background: #10161F; color: var(--lamp); }
.btn--lamp:hover { background: #FFBE6B; box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 12px 32px -6px rgba(var(--lamp-rgb), .6); }
.btn--ghost { color: var(--paper); background: rgba(236,229,214,.06); border-color: rgba(236,229,214,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost .btn__icon { background: rgba(236,229,214,.1); }
.btn--ghost:hover { background: rgba(236,229,214,.12); border-color: rgba(236,229,214,.45); }
.btn--ghost:hover .btn__icon { background: var(--lamp); color: #10161F; }
.btn--sm { --h: 40px; padding-left: 16px; gap: 10px; font-size: 14px; }
.btn:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
@media (hover: none) { .btn:hover .btn__icon svg:first-child { transform: none; } .btn:hover .btn__icon svg + svg { transform: translateX(-180%); } }

/* ===== 1. desk ===== */
.desk { position: relative; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.desk__bg { position: absolute; inset: 0; z-index: -2;
  background: var(--desk-img, url("assets/img/desk.jpg")) left center / cover no-repeat, var(--navy); }
.desk__bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, rgba(7,13,22,.15) 0%, rgba(7,13,22,.55) 55%, rgba(7,13,22,.92) 100%),
              linear-gradient(90deg, rgba(7,13,22,.7) 0%, rgba(7,13,22,.25) 45%, rgba(7,13,22,0) 70%); }
.desk__lamp { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle 34vmax at var(--mx, 30%) var(--my, 35%), rgba(var(--lamp-rgb), .85), rgba(var(--lamp-rgb), 0) 70%); }
.desk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18vh; z-index: -1; background: linear-gradient(rgba(7,13,22,0), var(--night)); }

.nav { position: fixed; z-index: 50; top: 14px; left: 50%; width: min(1240px, calc(100% - 2 * clamp(12px, 3vw, 40px))); transform: translateX(-50%);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 8px 8px 8px 22px; border-radius: var(--r-pill);
  background: rgba(7,13,22,.3); border: 1px solid rgba(255,255,255,.05); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .4s var(--ease-ui), border-color .4s var(--ease-ui), transform .5s var(--ease), box-shadow .4s var(--ease-ui); }
.nav.is-scrolled { background: rgba(9,16,27,.78); border-color: rgba(255,255,255,.08); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.mark { display: grid; gap: 2px; }
.mark__name { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--paper); line-height: 1; }
.mark__role { font-size: 14px; color: var(--steel); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { font: 500 14px/1 var(--sans); color: var(--fog); padding: 12px 14px; border-radius: var(--r-pill); transition: color .3s var(--ease-ui), background-color .3s var(--ease-ui); }
.nav__link:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.nav__link.is-current { color: var(--paper); background: rgba(255,255,255,.09); }
.nav .btn { margin-left: 8px; }
.progress-line { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.progress-line i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgba(var(--lamp-rgb), .4), var(--lamp)); transform-origin: left; transform: scaleX(0); }

.hero { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: 128px var(--pad) 96px; }
.hero__copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.folder-tab { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--paper); background: rgba(236,229,214,.07); border: 1px solid rgba(236,229,214,.16); padding: 6px 14px 6px 10px; border-radius: var(--r-pill); letter-spacing: .02em; }
.folder-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px rgba(var(--lamp-rgb), .18); }
.hero__title { font-size: clamp(48px, 5.6vw, 108px); line-height: .92; font-weight: 400; margin-top: -8px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero__lede { font-size: 18px; line-height: 1.55; max-width: 38ch; color: var(--fog); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* the print on the desk */
/* the print: textured photo paper, lit by the desk lamp (warm top-left, falling off to the right), sitting ON the desk:
   navy-tinted contact shadow, softer edges. Rotation lives on the wrapper so the clip turns with it. Values ESTIMATE. */
.print-wrap { position: relative; transform: rotate(1.4deg); min-width: 0; }
.print { position: relative; z-index: 1; margin: 0; padding: 12px 12px 0; min-width: 0;
  background-color: #E4DED0;
  background-image: linear-gradient(118deg, rgba(255,232,190,.20) 0%, rgba(255,232,190,0) 38%, rgba(12,20,36,0) 55%, rgba(12,20,36,.24) 100%),
                    url("assets/img/paper_sheet.jpg");
  background-size: auto, 420px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 0 22px rgba(80,62,36,.20),
              0 1px 1px rgba(4,8,14,.65), 0 10px 18px -4px rgba(4,8,14,.55), 0 34px 60px -12px rgba(4,8,14,.75); }
/* photo printed into the paper, not floating on it: a thin inner edge + a faint gloss */
.print .ba { box-shadow: 0 0 0 1px rgba(40,32,20,.35); }
.print .ba::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(122deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 32%), linear-gradient(rgba(255,236,200,.04), rgba(0,0,0,.08)); }
/* the gem clip: inner loop behind the paper, outer loop in front, one wire */
.gem { position: absolute; top: -46px; left: 11%; width: 30px; height: 90px; overflow: visible; pointer-events: none; }
.gem--back { z-index: 0; filter: drop-shadow(1px 2px 1.5px rgba(4,8,14,.6)); }
.gem--front { z-index: 2; filter: drop-shadow(1.2px 2.4px 1.2px rgba(40,30,15,.45)); }
.gem .wire use { fill: none; stroke-linecap: round; }
.print__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 4px 12px; color: #3B3F46; font-size: 14px; flex-wrap: wrap; }
.hand { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: #22314A; }

/* before / after (same mechanics as v2) */
.ba { position: relative; aspect-ratio: 1920 / 974; overflow: hidden; background: #000; }
.ba__after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; background: #05080D; clip-path: inset(0 0 0 var(--pos)); }
.slate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 6% 4% 6% calc(var(--pos) + 4%);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px); }
.slate__tc { position: absolute; top: 5%; right: 5%; font-size: 14px; color: #8E99A8; }
.slate__tc::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); margin-right: 8px; vertical-align: 1px; }
.slate__title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 48px); line-height: 1; color: #D9DEE6; }
.slate__sub { font-size: 15px; color: #A3ADBB; max-width: 26ch; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lamp); pointer-events: none; box-shadow: 0 0 12px rgba(var(--lamp-rgb), .6); }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--lamp); box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.ba__knob::before, .ba__knob::after { content: ""; position: absolute; top: 50%; border: 7px solid transparent; margin-top: -7px; }
.ba__knob::before { left: 9px; border-right-color: #10161F; } .ba__knob::after { right: 9px; border-left-color: #10161F; }
.ba__tag { position: absolute; bottom: 12px; font-size: 14px; letter-spacing: .08em; padding: 4px 9px; background: rgba(7,13,22,.72); color: var(--paper); }
.ba__tag--l { left: 12px; } .ba__tag--r { right: 12px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid var(--paper); outline-offset: 3px; }

/* ===== section rhythm ===== */
main > section { position: relative; padding: clamp(80px, 11vw, 160px) var(--pad); }
.questions__head, .people__head, .cases__head, .work__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 48px; }
.questions__head h2, .people__head h2, .cases__head h2, .work__head h2, .process h2, .faq h2 { font-size: clamp(40px, 4.6vw, 80px); line-height: .95; }
.questions__head p, .people__head p, .cases__head p, .work__head p { color: var(--fog); max-width: 44ch; font-size: 16px; line-height: 1.5; }

/* ===== 2. open questions ===== */
.questions { background: linear-gradient(var(--night), var(--navy)); }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

/* open-question cards: aged index cards (tools/make_cards.py), printed red + blue rules, ink that sits IN the paper.
   Lines are 26 px apart so the handwriting and the typed answer sit on them. Values are ESTIMATES tuned by eye. */
.note { --card: url("assets/img/card_aged_1.jpg"); position: relative; display: grid; align-content: start; padding: 14px 26px 22px 30px; transform: rotate(var(--r));
  border-radius: 3px; color: #2A2622;
  background-color: #E6DCC2;
  background-image:
    radial-gradient(130% 160% at 50% 45%, rgba(150,105,40,0) 55%, rgba(150,105,40,.20) 85%, rgba(120,80,25,.38) 100%),
    linear-gradient(rgba(196,70,62,0) 47px, rgba(196,70,62,.55) 47px, rgba(196,70,62,.55) 48.5px, rgba(196,70,62,0) 48.5px),
    var(--card);
  background-size: auto, auto, cover;
  background-position: 0 0, 0 0, center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(140,105,55,.30), inset 0 1px 0 rgba(255,250,235,.5),
              0 1px 1px rgba(4,8,14,.6), 0 12px 20px -6px rgba(4,8,14,.55), 0 34px 60px -14px rgba(4,8,14,.7);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.note::before { content: ""; position: absolute; inset: 48px 0 0; pointer-events: none; mix-blend-mode: multiply;   /* blue rules start under the red line */
  background: repeating-linear-gradient(rgba(60,100,165,0) 0 25px, rgba(60,100,165,.26) 25px 26px); }
.note > * { position: relative; z-index: 1; }
.note__q .w { display: inline-block; }
.note--2 { --card: url("assets/img/card_aged_2.jpg"); }
.note--3 { --card: url("assets/img/card_aged_3.jpg"); }
.note--3::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28px; height: 28px;            /* dog-eared corner */
  background: linear-gradient(135deg, #D8C9A6 0%, #CDBB93 48%, rgba(7,13,22,1) 50%); border-top-left-radius: 2px;
  box-shadow: -2px -2px 4px rgba(60,40,15,.25); }
.note__no { font: 700 13px/20px var(--mono); color: #5A4E3E; letter-spacing: .04em; height: 34px; filter: url(#ink-type); mix-blend-mode: multiply; }
.note__q { margin: 0; font-family: "La Belle Aurore", "Segoe Script", cursive; font-weight: 400; font-size: clamp(26px, 2.1vw, 32px); line-height: 52px; color: #1B2442;
  padding-top: 4px; filter: url(#ink-pen); mix-blend-mode: multiply; text-wrap: balance; }
.note__a { margin: 2px 0 0; font: 400 15px/26px var(--mono); color: #1F1B16; filter: url(#ink-type); mix-blend-mode: multiply; }
.note:hover { transform: rotate(0deg) translateY(-6px); box-shadow: inset 0 0 0 1px rgba(140,105,55,.30), inset 0 1px 0 rgba(255,250,235,.5),
  0 1px 1px rgba(4,8,14,.5), 0 18px 28px -6px rgba(4,8,14,.5), 0 46px 80px -14px rgba(4,8,14,.65); }

/* ===== 3. evidence locker ===== */
/* the desk sits behind the exhibits (fixed, so it slides under the glass as you scroll); darkened so the renders stay the subject */
.locker { position: relative; isolation: isolate; background: var(--navy); }
.locker::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--navy) 0%, rgba(13,24,40,.55) 12%, rgba(13,24,40,.55) 88%, var(--night) 100%), url("assets/img/desk.jpg") center / cover fixed; }
.locker__head { display: grid; gap: 16px; max-width: 900px; margin-bottom: 56px; }
.locker__head h2 { font-size: clamp(40px, 4.6vw, 80px); line-height: .95; }
.locker__lede { font-size: 17px; max-width: 52ch; }
/* breakdown plates: each sits on the backdrop its reference uses (REFERENCES/img/presentation/p1-p4) */
.plate { margin-top: 32px; padding: clamp(20px, 3vw, 40px); display: grid; gap: 24px; box-shadow: var(--shadow); }
/* frosted glass plates (Teryck 2026-11-22: "a little bit blurred and transparent"): each keeps its ref's tint at ~55 % alpha,
   blurs the desk behind it, and gets a lit top edge. Text contrast is measured on the real capture. */
.plate { position: relative; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.plate::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 22%), radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07); }
.plate > * { position: relative; }
.plate--grey   { background: radial-gradient(120% 90% at 50% 40%, rgba(90,92,98,.36), rgba(57,59,64,.48)); }    /* p1 grey backdrop */
.plate--dark   { background: rgba(20,22,27,.42); }                                                              /* p2 near-black */
.plate--black  { background: radial-gradient(100% 80% at 50% 30%, rgba(35,36,42,.38), rgba(18,18,21,.50)); }  /* p3 #161618 */
.plate--studio { background: radial-gradient(90% 80% at 50% 35%, rgba(77,74,85,.36), rgba(38,37,44,.50)); }  /* p4 #4D4A55 > #26252C */
.plate__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 32px; align-items: end; }
.plate__no { grid-column: 1 / -1; font-size: 14px; color: #E6EBF2; }
.plate h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.plate__note { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: #E6EBF2; max-width: 46ch; }
.plate figure { margin: 0; position: relative; min-width: 0; }
.plate img { width: 100%; height: auto; object-fit: cover; display: block; }
.plate figcaption { font-family: var(--serif); font-size: 22px; color: var(--paper); text-align: center; padding-top: 12px; }
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lineup img { aspect-ratio: 4 / 5; }
.passes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.passes img, .passes .slot-frame { aspect-ratio: 16 / 10; }
.pass-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px !important; font-size: 18px !important; background: rgba(36,34,33,.88); color: #fff !important; text-align: left !important; }
.closeup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.closeup__main img { aspect-ratio: 14 / 9; }
.angles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.angles img { aspect-ratio: 14 / 9; }
.angles figcaption { font-family: var(--mono); font-size: 14px; padding-top: 6px; }
.turn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.slot-frame { display: grid; place-items: center; padding: 16px; text-align: center; border: 1px dashed rgba(236,229,214,.5); background: rgba(255,255,255,.04); }
.slot-frame--tall { aspect-ratio: 2 / 3; }
.slot-frame p { font-size: 14px; color: #E6EBF2; max-width: 26ch; }
:root:not([data-preview]) .is-slot { display: none; }
:root:not([data-preview]) .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ===== 4. the people (portrait strips) ===== */
.people { background: linear-gradient(var(--navy), var(--night)); }
.strips { display: flex; gap: 12px; height: clamp(420px, 62vh, 640px); }
.strip { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 1px solid rgba(126,152,186,.25); background: #000; cursor: pointer; overflow: hidden; transition: flex-grow .7s var(--ease), border-color .3s var(--ease); }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); transition: filter .7s var(--ease), transform .7s var(--ease); transform: scale(1.06); }
.strip.is-on { flex-grow: 3.2; border-color: rgba(var(--lamp-rgb), .6); }
.strip.is-on img { filter: none; transform: scale(1); }
.strip:hover img { filter: grayscale(.4) brightness(.8); }
.strip.is-on:hover img { filter: none; }
.strip__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; text-align: left; font-family: var(--serif); font-size: 26px; line-height: 1.05; color: var(--paper);
  background: linear-gradient(rgba(7,13,22,0), rgba(7,13,22,.92)); display: grid; gap: 4px; }
.strip__name small { font-size: 14px; color: var(--fog); }
.strip:not(.is-on) .strip__name { font-size: 18px; }

/* ===== 5. case map ===== */
.cases { background: var(--night); }
/* case map: real land (tools/make_case_map.py, Natural Earth 1:110m), pins at true coordinates. The canvas keeps the
   image's aspect so every pin stays on its place; on phones the map pans sideways instead of squashing. */
.map { position: relative; border: 1px solid rgba(126,152,186,.2); overflow: hidden; background: radial-gradient(70% 90% at 50% 50%, #12233B, var(--navy)); }
.map__canvas { position: relative; aspect-ratio: 2400 / 679; background: url("assets/img/case_map_dots.png") center / 100% 100% no-repeat; }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 40px 6px rgba(7,13,22,.8); }
.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map__lines .beam { fill: url(#beam); }
.map__parallel { position: absolute; left: 0; right: 0; top: var(--y); border-top: 1px dashed rgba(var(--lamp-rgb), .35); pointer-events: none; }
.map__parallel span { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-size: 14px; color: rgba(var(--lamp-rgb), .85); }
.map__claim { display: none;  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 38px); line-height: 1.1; color: rgba(236,229,214,.66); pointer-events: none; }
.map__credit { position: absolute; right: 18px; bottom: 14px; z-index: 2; margin: 0; font-size: 14px; color: var(--steel); background: rgba(7,13,22,.7); padding: 2px 8px; border-radius: 6px; }
.map__hint { display: none; }
.pin-btn { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.pin-btn__ring { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--lamp); box-shadow: 0 0 16px rgba(var(--lamp-rgb), .5); background: rgba(7,13,22,.35); }
.pin-btn__ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--lamp); }
.pin-btn.is-on .pin-btn__ring { animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--lamp-rgb), .55); } 100% { box-shadow: 0 0 0 22px rgba(var(--lamp-rgb), 0); } }
.pin-btn__label { position: absolute; display: grid; gap: 2px; white-space: nowrap; text-align: left; font: 500 14px/1.25 var(--sans); color: var(--paper);
  background: rgba(7,13,22,.82); padding: 7px 12px; border: 1px solid rgba(126,152,186,.35); border-radius: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s var(--ease-ui), color .3s var(--ease-ui); }
.pin-btn__label b { font-weight: 600; color: var(--lamp); margin-right: 4px; }
.pin-btn__label small { font-size: 14px; color: var(--fog); display: none; }
.pin-btn.is-on .pin-btn__label small { display: block; }
.pin-btn.is-on .pin-btn__label, .pin-btn:hover .pin-btn__label { border-color: rgba(var(--lamp-rgb), .8); }
.pin-btn--right .pin-btn__label { left: 24px; top: -18px; }
.pin-btn--down .pin-btn__label { right: -10px; top: 24px; }       /* the two Gulf Coast pins are 4 % apart: labels go below / above */
.pin-btn--up .pin-btn__label { right: -10px; bottom: 24px; }
.pin-btn:focus-visible { outline: none; } .pin-btn:focus-visible .pin-btn__ring { outline: 2px solid var(--paper); outline-offset: 4px; }
.files { margin-top: 24px; }
.file { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.file img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.file__text { display: grid; gap: 16px; justify-items: start; }
.file__no { font-size: 15px; color: var(--lamp); }
.file h3 { font-size: clamp(40px, 4vw, 68px); line-height: .95; }
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; width: 100%; }
.credits div { border-top: 1px solid rgba(126,152,186,.3); padding-top: 8px; }
.credits dt { font-size: 14px; color: var(--steel); }
.credits dd { margin: 2px 0 0; font-family: var(--serif); font-size: 22px; color: var(--paper); line-height: 1.15; }

/* ===== 6. process timeline ===== */
.process { background: var(--night); }
.process h2 { margin-bottom: 56px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: linear-gradient(90deg, var(--lamp), rgba(126,152,186,.35)); }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step__dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1px solid var(--lamp); color: var(--lamp); font-weight: 700; font-size: 16px; }
.step h3 { font-size: 30px; line-height: 1.05; }
.step p { font-size: 15px; }

/* ===== 7. the brief ===== */
.intake { overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 72px; }
.desk__bg--flat::after { background: linear-gradient(var(--night) 0%, rgba(7,13,22,0) 22%, rgba(7,13,22,0) 80%, var(--night) 100%), radial-gradient(90% 80% at 50% 45%, rgba(7,13,22,.45), rgba(7,13,22,.95)); }
/* the brief: an open manila folder (cover left, back panel right) with a typed intake sheet fastened on top.
   Paper: tools/make_paper.py (manila matched to the folder in his desk render). Curvature = light falloff toward the
   spine + a slight rotateY on each panel; wear = darker, softer edges. Values are ESTIMATES tuned by eye. */
.folder { --manila: url("assets/img/paper_manila.jpg"); position: relative; width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  perspective: 2200px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.folder__cover, .folder__back { position: relative; background-color: #D1BA8C; background-image: var(--manila); background-size: 640px; }
.folder__cover { border-radius: 10px 0 0 10px; padding: clamp(28px, 4vw, 56px); display: grid; align-content: start; gap: 22px;
  transform-origin: right center; transform: rotateY(7deg);
  background-image: radial-gradient(120% 90% at 12% 8%, rgba(255,240,205,.32), rgba(255,240,205,0) 55%),
                    linear-gradient(90deg, rgba(70,45,15,0) 70%, rgba(70,45,15,.12) 90%, rgba(50,30,8,.32) 100%), var(--manila);
  background-size: auto, auto, 640px;
  box-shadow: inset 0 0 0 1px rgba(120,85,35,.25), inset 0 0 28px rgba(110,75,30,.28), inset 2px 2px 0 rgba(255,245,220,.35); }
.folder__back { border-radius: 0 10px 10px 10px; padding: clamp(24px, 3vw, 40px);
  transform-origin: left center; transform: rotateY(-3deg);
  background-image: linear-gradient(90deg, rgba(50,30,8,.34) 0%, rgba(70,45,15,.12) 6%, rgba(70,45,15,0) 16%),
                    radial-gradient(100% 80% at 100% 100%, rgba(60,40,12,.22), rgba(60,40,12,0) 60%), var(--manila);
  background-size: auto, auto, 640px;
  box-shadow: inset 0 0 0 1px rgba(120,85,35,.25), inset 0 0 28px rgba(110,75,30,.26), inset -2px 2px 0 rgba(255,245,220,.3); }
/* spine crease where the two panels meet */
.folder__back::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(90deg, rgba(40,25,8,.45), rgba(255,240,210,.25)); }
.folder__tab { position: absolute; top: -36px; right: 48px; height: 40px; display: flex; align-items: center; padding: 0 26px; font-size: 15px; font-weight: 700; color: #3A2E1E;
  background-color: #D1BA8C; background-image: linear-gradient(rgba(255,240,205,.25), rgba(255,240,205,0)), var(--manila); background-size: auto, 640px;
  border-radius: 12px 12px 0 0; box-shadow: inset 0 1px 0 rgba(255,245,220,.45), inset 1px 0 0 rgba(120,85,35,.22), inset -1px 0 0 rgba(120,85,35,.22); }
.folder__title { color: #1E1A14; font-size: clamp(36px, 3.8vw, 58px); line-height: .98; font-weight: 500; max-width: 12ch; margin: 0; text-shadow: 0 1px 0 rgba(255,245,220,.35); }
.folder__note { font-size: 17px; line-height: 1.5; color: #3A3226; max-width: 30ch; }
/* rubber stamp: SVG ink filter (speckle + blotchy coverage + slight bleed), multiplied into the paper */
.stamp { width: 220px; color: #1E3C8C; transform: rotate(-8deg); mix-blend-mode: multiply; opacity: .92; justify-self: start; margin: 4px 0 6px -6px; }
/* the intake sheet */
.sheet { position: relative; background-color: #F0ECE2; background-image: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,0) 30%), url("assets/img/paper_sheet.jpg"); background-size: auto, 560px;
  padding: 44px clamp(22px, 3vw, 40px) 32px; border-radius: 2px; transform: rotate(.6deg);
  box-shadow: 0 1px 1px rgba(60,40,10,.25), 0 8px 18px rgba(60,40,10,.22), inset 0 0 0 1px rgba(150,130,100,.18); }
.fastener { position: absolute; top: -10px; left: 50%; width: 120px; height: 18px; transform: translateX(-50%); border-radius: 3px;
  background: linear-gradient(#E7E9EC, #A8ADB4 55%, #8D939B); box-shadow: 0 2px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.7); }
.fastener i { position: absolute; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F4F5F7, #7D838B); box-shadow: 0 1px 1px rgba(0,0,0,.4); }
.fastener i:first-child { left: 14px; } .fastener i:last-child { right: 14px; }
.sheet__head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: #2E2A24; letter-spacing: .06em; text-transform: uppercase;
  padding-bottom: 10px; margin-bottom: 22px; border-bottom: 2px solid #2E2A24; box-shadow: 0 3px 0 -2px #2E2A24; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.fields label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; color: #3A352C; letter-spacing: .02em; }
.fields__wide { grid-column: 1 / -1; }
/* printed form lines instead of boxes; focus = a highlighter pass + inked line */
.fields input, .fields textarea { font: 18px/1.5 var(--mono); color: #16130E; background-color: transparent; border: 0; border-radius: 0; padding: 6px 2px 4px; width: 100%; resize: vertical;
  border-bottom: 1px solid rgba(46,42,36,.55); transition: background-color .3s var(--ease-ui), border-color .3s var(--ease-ui), box-shadow .3s var(--ease-ui); }
.fields textarea { background-image: repeating-linear-gradient(transparent 0 26px, rgba(46,42,36,.28) 26px 27px); background-attachment: local; line-height: 27px; border-bottom: 0; padding-top: 0; resize: none; }
.fields input:hover, .fields textarea:hover { background-color: rgba(242,169,74,.07); }
.fields input:focus, .fields textarea:focus { outline: none; background-color: rgba(242,169,74,.16); border-bottom-color: #23407A; box-shadow: 0 1px 0 0 #23407A; }
.folder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.folder__msg { font-size: 15px; max-width: 40ch; color: #1F2A3A; }
.folder__alt { margin-top: 16px; font-size: 15px; color: #2A2E35; }
.folder__addr { font-weight: 700; user-select: all; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; width: 100%; font-size: 14px; color: var(--steel); }

/* ===== tablet ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .print-wrap { max-width: 760px; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate__head { grid-template-columns: minmax(0, 1fr); }
  .file { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline::before { display: none; }
}
/* ===== phone ===== */
@media (max-width: 720px) {
  .nav { padding-top: 20px; }
  .desk > .desk__bg { background-position: 34% center; }
  .desk > .desk__bg::after { background: linear-gradient(rgba(7,13,22,.55), rgba(7,13,22,.72) 60%, rgba(7,13,22,.92)); }
  .nav__link { display: none; }
  .mark__name { font-size: 24px; }
  .mark__role { font-size: 14px; max-width: 18ch; line-height: 1.25; }
  .hero { padding-bottom: 64px; gap: 40px; }
  .hero__title { font-size: clamp(42px, 12.5vw, 64px); }
  .hero__lede { font-size: 16px; }
  .print-wrap { transform: rotate(.8deg); }
  .print { padding: 8px 8px 0; }
  .gem { width: 26px; height: 78px; top: -40px; }
  .slate__sub { display: none; }
  .ba__tag { font-size: 14px; padding: 3px 7px; bottom: 8px; }
  .ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .lineup, .passes, .turn { grid-template-columns: minmax(0, 1fr); }
  :root:not([data-preview]) .passes { grid-template-columns: minmax(0, 1fr); }
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lineup figcaption { font-size: 16px; }
  .closeup { grid-template-columns: minmax(0, 1fr); }
  .turn { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot-frame p { font-size: 14px; }
  .strips { flex-direction: column; height: auto; }
  .strip { flex: none; height: 76px; transition: height .7s var(--ease); }
  .strip.is-on { height: 440px; }
  .strip img { object-position: 50% 25%; }
  .map { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .map::-webkit-scrollbar { display: none; }
  .map::after { position: sticky; display: none; }
  .map__canvas { width: 900px; }
  .map__hint { display: block; margin: 10px 0 0; font-size: 14px; color: var(--steel); }
  .credits { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .folder { grid-template-columns: minmax(0, 1fr); perspective: none; }
  .folder__cover { transform: none; border-radius: 10px 10px 0 0; gap: 16px; }
  .folder__back { transform: none; border-radius: 0 0 10px 10px; padding: 18px 12px 22px; }
  .folder__back::before { right: 0; bottom: auto; width: auto; height: 3px; background: linear-gradient(rgba(40,25,8,.4), rgba(255,240,210,.2)); }
  .folder__tab { display: none; }
  .stamp { width: 160px; }
  .sheet { transform: none; padding-top: 36px; }
}

/* ===== polish pass (BOARD_home_desk_v3.md "UI polish pass"): soft interface, crisp paper, real states ===== */
::selection { background: rgba(var(--lamp-rgb), .35); color: #fff; }
.questions__head { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.print { border-radius: var(--r-paper); }
.plate { border-radius: var(--r-panel); box-shadow: 0 30px 60px -20px rgba(2,5,10,.7), 0 8px 20px -8px rgba(2,5,10,.5); }
.plate img, .slot-frame { border-radius: var(--r-media); transition: filter .6s var(--ease); }
.plate figure:hover img { filter: brightness(1.08); }
.pass-tag { border-radius: 6px; }
.map { border-radius: var(--r-panel); box-shadow: var(--hair); }
.map__canvas { border-radius: inherit; }
.file img { border-radius: var(--r-panel); }
.credits div { border-top-color: rgba(126,152,186,.18); }
.strip { border-radius: 12px; border-color: rgba(126,152,186,.16); }
.strip:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.strip__name { font-family: var(--serif); }
.strip__name small { font-family: var(--sans); font-size: 14px; }
.step__dot { width: 40px; height: 40px; font-family: var(--sans); font-weight: 600; font-size: 15px; box-shadow: 0 0 0 6px var(--night); transition: background-color .3s var(--ease-ui), color .3s var(--ease-ui); }
.step:hover .step__dot { background: var(--lamp); color: #10161F; }
.step p { font-size: 16px; line-height: 1.55; }
.folder__msg, .folder__alt { font-family: var(--sans); }
.ba__tag { border-radius: var(--r-pill); font-family: var(--sans); font-weight: 500; letter-spacing: .02em; padding: 5px 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ba__knob { box-shadow: 0 0 0 6px rgba(var(--lamp-rgb), .18), 0 6px 18px rgba(0,0,0,.5); transition: transform .3s var(--ease-ui), box-shadow .3s var(--ease-ui); }
.ba:hover .ba__knob { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(var(--lamp-rgb), .16), 0 8px 22px rgba(0,0,0,.5); }
.ba:active .ba__knob { transform: scale(.96); }
@media (max-width: 720px) {
  .nav { top: 10px; padding: 6px 6px 6px 16px; }
  .mark__role { display: none; }
  .mark__name { font-size: 22px; }
  .hero { padding-top: 104px; }
  .btn { --h: 46px; }
}


/* ===== conversion pass (2026-11-22): one gallery, short copy, objections answered (ref: dekogon.com ~370 words, one gallery) ===== */
.hero__proof { font-size: 15px; color: var(--steel); margin-top: 2px; }
.hero__proof b { font-weight: 500; color: var(--fog); }
.work { background: linear-gradient(var(--night), var(--navy) 30%, var(--navy) 70%, var(--night)); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.chip { font: 500 14px/1 var(--sans); color: var(--fog); padding: 11px 16px; border-radius: var(--r-pill); border: 1px solid rgba(126,152,186,.28); background: rgba(255,255,255,.03); cursor: pointer;
  transition: color .3s var(--ease-ui), background-color .3s var(--ease-ui), border-color .3s var(--ease-ui); }
.chip:hover { color: var(--paper); border-color: rgba(126,152,186,.55); }
.chip.is-on { color: #10161F; background: var(--lamp); border-color: var(--lamp); }
.chip:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.case-sum { min-height: 64px; margin-bottom: 22px; }
.sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.sum[hidden] { display: none; }
.sum__no { flex-basis: 100%; font-size: 14px; color: var(--lamp); margin: 0; }
.sum h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.sum__line { font-size: 17px; color: var(--fog); max-width: 62ch; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; padding: 0; border: 0; border-radius: var(--r-media); overflow: hidden; background: #0A121E; cursor: zoom-in; grid-column: span 1; grid-row: span 1; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.001); transition: transform .9s var(--ease), filter .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7,13,22,0) 55%, rgba(7,13,22,.82)); opacity: 0; transition: opacity .5s var(--ease); }
.tile__cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; text-align: left; font: 500 14px/1.35 var(--sans); color: var(--paper); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover::after, .tile:focus-visible::after, .tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.tile.is-out { display: none; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, calc(100vw - 200px)); max-height: 92vh; overflow: visible; }   /* room for the arrows beside the image */
.lightbox::backdrop { background: rgba(4,8,14,.86); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; display: grid; gap: 10px; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--r-media); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { font: 500 15px var(--sans); color: var(--fog); }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(9,16,27,.9); color: var(--paper); font-size: 16px; cursor: pointer; }
.gets { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gets li { padding: 20px 22px; border-radius: var(--r-panel); background: rgba(255,255,255,.03); border: 1px solid rgba(126,152,186,.18); font-size: 16px; line-height: 1.5; color: var(--fog); }
.gets b { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--paper); margin-bottom: 4px; }
.faq { background: var(--night); }
.faq h2 { margin-bottom: 32px; }
.faq__list { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: var(--r-panel); border: 1px solid rgba(126,152,186,.2); background: rgba(255,255,255,.02); transition: background-color .3s var(--ease-ui), border-color .3s var(--ease-ui); }
.faq details[open] { background: rgba(255,255,255,.04); border-color: rgba(126,152,186,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--serif); font-size: 24px; color: var(--paper); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 22px var(--sans); color: var(--lamp); transition: transform .3s var(--ease-ui); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; border-radius: var(--r-panel); }
.faq details p { margin: 0; padding: 0 22px 22px; font-size: 17px; line-height: 1.6; color: var(--fog); max-width: 62ch; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gets { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
  .tile__cap { opacity: 1; transform: none; font-size: 14px; } .tile::after { opacity: 1; }
  .faq summary { font-size: 21px; }
}


/* feature window in the map's empty Pacific (Teryck 2026-11-22: "comes up in the middle ... faded ... feeds to the side of the map") */
.feature { position: absolute; left: 7%; right: 11.04%; top: 0; bottom: 0; z-index: 1; display: grid; }   /* = the Pacific's box from tools/make_case_map.py */
.feature__frame { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden;
  /* cut to the Pacific between the real coastlines, held back from land by a buffer, edges feathered (feature_ocean_mask.png) */
  -webkit-mask: url("assets/img/feature_ocean_mask.png") center / 100% 100% no-repeat;
          mask: url("assets/img/feature_ocean_mask.png") center / 100% 100% no-repeat; mask-mode: luminance; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 6s linear; }
.feature__img.is-on { opacity: 1; transform: scale(1); }
.feature__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13,24,40,0) 55%, rgba(13,24,40,.75)); }
.feature__frame:focus-visible { outline: 2px solid var(--lamp); outline-offset: -4px; }
.feature__cap { position: absolute; left: 27%; bottom: 17%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; pointer-events: none; }
.feature__no { font-size: 14px; color: var(--lamp); }
.feature__title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); color: var(--paper); line-height: 1; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.feature__place { flex-basis: 100%; font-size: 14px; color: var(--fog); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.feature__dots { position: absolute; right: 30%; bottom: 18%; display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(236,229,214,.7); background: transparent; cursor: pointer; position: relative; transition: background-color .3s var(--ease-ui), width .4s var(--ease-ui); }
.dot::before { content: ""; position: absolute; inset: -9px; }                 /* 27 px touch target */
.dot.is-on { background: var(--lamp); border-color: var(--lamp); width: 26px; border-radius: 999px; }
.dot:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.pin-btn.is-shown .pin-btn__ring { animation: ping 2.2s var(--ease) infinite; }
.pin-btn.is-shown .pin-btn__label { border-color: rgba(var(--lamp-rgb), .8); }
.pin-btn.is-shown .pin-btn__label small { display: block; }
.map__lines .link { fill: none; stroke: var(--lamp); stroke-width: 1.4; stroke-dasharray: 5 6; opacity: .8; }
.map__lines .link-end { fill: var(--lamp); }
@media (max-width: 720px) { .feature__cap { left: 32%; } .feature__dots { right: 34%; } }


/* viewer arrows (Teryck 2026-11-22: "an arrow that I can cycle through the rest of the gallery, left and right") */
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--paper); background: rgba(9,16,27,.72); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .3s var(--ease-ui), color .3s var(--ease-ui), transform .3s var(--ease-ui); }
.lightbox__nav--prev { left: max(12px, 1.4vw); } .lightbox__nav--next { right: max(12px, 1.4vw); }
.lightbox__nav:hover { background: var(--lamp); color: #10161F; }
.lightbox__nav--prev:hover { transform: translate(-3px, -50%); } .lightbox__nav--next:hover { transform: translate(3px, -50%); }
.lightbox__nav:active { transform: translateY(-50%) scale(.94); }
.lightbox__nav:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.lightbox__count { position: fixed; left: 50%; bottom: max(16px, 3vh); transform: translateX(-50%); margin: 0; font-size: 14px; color: var(--fog); background: rgba(9,16,27,.72); padding: 5px 12px; border-radius: 999px; }
.lightbox figure { touch-action: pan-y; }
@media (max-width: 720px) { .lightbox { max-width: calc(100vw - 32px); } .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: max(14px, 3vh); transform: none; } .lightbox__nav:hover, .lightbox__nav:active { transform: none; }
  .lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; } .lightbox__count { bottom: max(24px, 4vh); } }


/* ===== launch pass (2026-11-22) ===== */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: inline-flex; position: fixed; z-index: 55; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 8px 24px -6px rgba(var(--lamp-rgb), .45);
    transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease-ui); }
  .sticky-cta.is-on { transform: none; opacity: 1; }
}
.fields label small { font-weight: 400; color: #5A5245; }
.folder__privacy { margin: 10px 0 0; font: 14px/1.4 var(--sans); color: #4A4336; }
.folder__alt a { color: #1F3F7A; font-weight: 600; }
.quote { padding-block: clamp(56px, 8vw, 110px); }
.quote figure { margin: 0 auto; max-width: 880px; display: grid; gap: 18px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; color: var(--paper); text-wrap: balance; }
.quote blockquote::before { content: "\201C"; } .quote blockquote::after { content: "\201D"; }
.quote figcaption { font-size: 16px; color: var(--fog); } .quote figcaption b { color: var(--paper); font-weight: 500; }
.foot__social { display: flex; gap: 18px; }
.foot__social a { color: var(--fog); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(180,192,208,.4); }
.foot__social a:hover { color: var(--lamp); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

.head-note { text-wrap: balance; }
