/* =========================================================================
   SABSAR — "Line of Sight"
   A drawing set on drafting paper. One vermilion thread runs through it.
   ========================================================================= */

/* ---------- Fonts (self-hosted: the CSP allows font-src 'self' only) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/assets/fonts/fraunces-roman.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/plex-sans.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); }

:root {
  --paper: #F1EEE6;
  --paper-2: #EAE6DB;
  --paper-3: #E0DACC;
  --vellum: rgba(241, 238, 230, .84);
  --ink: #141A2B;
  --ink-2: #464C5D;
  --ink-3: #5E626C;
  --ghost: rgba(20, 26, 43, .2);
  --rule: rgba(20, 26, 43, .13);
  --rule-2: rgba(20, 26, 43, .3);
  --grid-minor: rgba(38, 72, 128, .04);
  --grid-major: rgba(38, 72, 128, .075);
  --thread: #C8391A;
  --thread-text: #B23219;
  --thread-soft: rgba(200, 57, 26, .12);
  --on-thread: #FFF8F2;
  --inv-bg: #141A2B;
  --inv-ink: #F1EEE6;
  --inv-ink-2: #B9BDC8;
  --inv-ink-3: #8A90A0;
  --inv-rule: rgba(241, 238, 230, .15);
  --inv-thread: #FF6B47;
  --shadow: 0 1px 0 rgba(20,26,43,.04), 0 24px 48px -28px rgba(20,26,43,.28);
  --noise-blend: multiply;
  --noise-op: .06;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hdr-h: 68px;
  --pad: clamp(16px, 4vw, 56px);
  --gut: 64px;
  --gap: clamp(20px, 3vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E2338; --paper-2: #112A43; --paper-3: #16324F;
    --vellum: rgba(14, 35, 56, .82);
    --ink: #E8EEF5; --ink-2: #B0C1D3; --ink-3: #8DA2B8;
    --ghost: rgba(232, 238, 245, .2);
    --rule: rgba(232, 238, 245, .13); --rule-2: rgba(232, 238, 245, .3);
    --grid-minor: rgba(170, 205, 240, .045); --grid-major: rgba(170, 205, 240, .085);
    --thread: #FF6B47; --thread-text: #FF8E73; --thread-soft: rgba(255, 107, 71, .14);
    --on-thread: #1A0D08;
    --inv-bg: #071827; --inv-ink: #E8EEF5; --inv-ink-2: #B0C1D3; --inv-ink-3: #8DA2B8;
    --inv-rule: rgba(232, 238, 245, .14); --inv-thread: #FF6B47;
    --shadow: 0 1px 0 rgba(0,0,0,.2), 0 24px 48px -28px rgba(0,0,0,.6);
    --noise-blend: screen; --noise-op: .035;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E2338; --paper-2: #112A43; --paper-3: #16324F;
  --vellum: rgba(14, 35, 56, .82);
  --ink: #E8EEF5; --ink-2: #B0C1D3; --ink-3: #8DA2B8;
  --ghost: rgba(232, 238, 245, .2);
  --rule: rgba(232, 238, 245, .13); --rule-2: rgba(232, 238, 245, .3);
  --grid-minor: rgba(170, 205, 240, .045); --grid-major: rgba(170, 205, 240, .085);
  --thread: #FF6B47; --thread-text: #FF8E73; --thread-soft: rgba(255, 107, 71, .14);
  --on-thread: #1A0D08;
  --inv-bg: #071827; --inv-ink: #E8EEF5; --inv-ink-2: #B0C1D3; --inv-ink-3: #8DA2B8;
  --inv-rule: rgba(232, 238, 245, .14); --inv-thread: #FF6B47;
  --shadow: 0 1px 0 rgba(0,0,0,.2), 0 24px 48px -28px rgba(0,0,0,.6);
  --noise-blend: screen; --noise-op: .035;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--ink);
  font: 400 17px/1.6 var(--f-sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .5s var(--ease-io), color .5s var(--ease-io);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: var(--noise-op); mix-blend-mode: var(--noise-blend);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--thread); color: var(--on-thread); }

:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; border-radius: 2px; }

.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: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; }

/* ---------- Type ---------- */
.display-xl, .display-l {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 340;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(2.7rem, 6.4vw, 6.4rem); line-height: .96; }
.display-l { font-size: clamp(2.1rem, 4.3vw, 4rem); line-height: 1.02; }
.display-xl em, .display-l em { font-style: italic; font-weight: 320; }
.thread-dot { color: var(--thread); }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.kicker { color: var(--ink-3); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 24px;
  font: 500 15px/1 var(--f-sans); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  border-radius: 2px; position: relative; isolation: isolate; overflow: hidden;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .arw { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --bh: 64px; padding: 0 32px; font-size: 17px; }
.btn-thread { background: var(--thread); color: var(--on-thread); }
.btn-thread::before, .btn-ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn-thread:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-thread:hover { color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--thread); }
.btn-ink:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-ink:hover { color: var(--on-thread); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15px; text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(var(--thread), var(--thread)) left bottom / 0 1px no-repeat,
              linear-gradient(var(--rule-2), var(--rule-2)) left bottom / 100% 1px no-repeat;
  transition: background-size .55s var(--ease);
}
.link .arw { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.link:hover { background-size: 100% 1px, 100% 1px; }
.link:hover .arw { transform: translateX(4px); }
.arw { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
  background-color: var(--vellum);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rule);
}
.hdr { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 24px; height: 24px; overflow: visible; }
.bm-plate { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.bm-thread { stroke: var(--thread); stroke-width: 1.6; stroke-linecap: round; }
.brand-word { font-family: var(--f-display); font-size: 25px; font-weight: 420; letter-spacing: -.02em; line-height: 1; }
.hdr-sheet { color: var(--ink-3); display: flex; gap: 6px; min-width: 15em; padding-left: 20px; border-left: 1px solid var(--rule); margin-left: 4px; }
.hdr-sheet [data-sheet-num] { color: var(--thread-text); }
.hdr-sheet .hs-swap { display: inline-block; animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); border-radius: 2px; position: relative; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background-color .25s; }
.icon-btn:hover { background: var(--thread-soft); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.4; transition: transform .6s var(--ease); }
.icon-btn .fillc { fill: var(--ink); stroke: none; }
:root[data-theme="dark"] .icon-btn svg { transform: rotate(180deg); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 8px; }
.menu-lines { width: 20px; height: 10px; position: relative; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-lines i:first-child { top: 0; } .menu-lines i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  padding-top: calc(var(--hdr-h) + 24px);
  display: flex;
}
.menu[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; gap: 32px; }
.menu-list li { border-bottom: 1px solid var(--rule); }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; font-family: var(--f-display); font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1; text-decoration: none; letter-spacing: -.015em; }
.menu-list .mono { color: var(--thread-text); }
.menu.open .menu-list li { animation: menuIn .6s var(--ease) both; }
.menu.open .menu-list li:nth-child(2) { animation-delay: .04s; }
.menu.open .menu-list li:nth-child(3) { animation-delay: .08s; }
.menu.open .menu-list li:nth-child(4) { animation-delay: .12s; }
.menu.open .menu-list li:nth-child(5) { animation-delay: .16s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }
.menu .btn { align-self: flex-start; }

/* ---------- Thread ---------- */
.thread { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 5; overflow: visible; }
.thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.thread-ghost { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 6; }
.thread-line { stroke: var(--thread); stroke-width: 2; }
.thread-tip { fill: var(--thread); filter: drop-shadow(0 0 6px var(--thread)); transition: opacity .3s; }
.thread.idle .thread-tip { opacity: 0; }

.node {
  display: block; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule-2);
  position: relative; z-index: 6;
  transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--thread); opacity: 0; transform: scale(.4); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.node.on { background: var(--thread); box-shadow: inset 0 0 0 1.5px var(--thread); }
.node.on::after { opacity: .5; transform: scale(1); }
.inv .node { background: var(--inv-bg); }
.inv .node.on { background: var(--thread); }

/* ---------- Sections ---------- */
main { position: relative; }
.sec { position: relative; padding-block: clamp(96px, 13vw, 184px); }
.sec + .sec::before {
  content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad);
  max-width: calc(1400px - 2 * var(--pad)); margin-inline: auto; height: 1px; background: var(--rule);
}
.sec-grid { display: grid; grid-template-columns: var(--gut) minmax(0, 1fr); column-gap: var(--gap); }
.gutter { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 3px; }
.sec-label { color: var(--ink-3); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .18em; margin-left: 1px; }
.sec-head { margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .lede { margin-top: 24px; }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.sec-head.split .lede { margin-top: 0; }
.sec-head.split > .link { justify-self: end; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--hdr-h) + clamp(24px, 4vw, 56px)); padding-bottom: 0; min-height: 100svh; display: flex; flex-direction: column; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--gap); align-items: center; flex: 1; }
.hero-copy { padding-left: calc(var(--gut) + var(--gap)); position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--ink-2); margin-bottom: clamp(24px, 3vw, 36px); }
.eb-rule { width: 40px; height: 1px; background: var(--thread); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 em { color: var(--ink); }
.hero-lede { margin-top: clamp(24px, 3vw, 36px); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.5vw, 44px); }
.hero-figure { position: relative; height: min(76svh, 760px); min-height: 420px; margin-right: calc(-1 * var(--pad) + 8px); }
.hero-canvas { width: 100%; height: 100%; }
.fig-note { position: absolute; left: 8%; bottom: 4%; color: var(--ink-3); font-size: 10.5px; display: flex; gap: 10px; }
.fig-note span { color: var(--thread-text); }

.title-block {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(32px, 4vw, 56px) 0 0; padding: 18px 0 22px calc(var(--gut) + var(--gap));
  border-top: 1px solid var(--rule-2);
}
.title-block > div { padding-right: 20px; }
.title-block > div + div { border-left: 1px solid var(--rule); padding-left: 20px; }
.title-block dt { color: var(--ink-3); font-size: 10.5px; margin-bottom: 6px; }
.title-block dd { color: var(--ink); text-transform: none; letter-spacing: .02em; font-size: 12.5px; }
.node-start { position: absolute; left: 0; top: -7px; }

/* Hero entrance */
.js .hero h1 .ln > span { transform: translateY(105%); }
.js .hero .eyebrow, .js .hero-lede, .js .hero-cta, .js .title-block > div, .js .fig-note { opacity: 0; transform: translateY(12px); }
.js .title-block { border-top-color: transparent; }
.loaded .hero h1 .ln > span { transform: none; transition: transform 1.2s var(--ease); }
.loaded .hero h1 .ln:nth-child(2) > span { transition-delay: .09s; }
.loaded .hero h1 .ln:nth-child(3) > span { transition-delay: .18s; }
.loaded .hero .eyebrow, .loaded .hero-lede, .loaded .hero-cta, .loaded .title-block > div, .loaded .fig-note { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.loaded .hero .eyebrow { transition-delay: .05s; }
.loaded .hero-lede { transition-delay: .4s; }
.loaded .hero-cta { transition-delay: .5s; }
.loaded .fig-note { transition-delay: 1.6s; }
.loaded .title-block { border-top-color: var(--rule-2); transition: border-color 1s .6s; }
.loaded .title-block > div:nth-child(2) { transition-delay: .7s; }
.loaded .title-block > div:nth-child(3) { transition-delay: .78s; }
.loaded .title-block > div:nth-child(4) { transition-delay: .86s; }
.loaded .title-block > div:nth-child(5) { transition-delay: .94s; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- 01 Questions ---------- */
.questions .kicker { max-width: 34em; line-height: 1.7; }
.q-list { margin-top: clamp(28px, 4vw, 48px); }
.q { --p: 0; display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: var(--gap); align-items: baseline; padding: clamp(18px, 2.4vw, 32px) 0; border-top: 1px solid var(--rule); position: relative; }
.q:last-child { border-bottom: 1px solid var(--rule); }
.q::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--thread); transform: scaleX(var(--p)); transform-origin: left; }
.q-n { color: var(--ink-3); }
.q-t {
  font-family: var(--f-display); font-weight: 330; letter-spacing: -.02em;
  font-size: clamp(1.9rem, 4.6vw, 4.4rem); line-height: 1.04; text-wrap: balance;
  color: color-mix(in oklab, var(--ink) calc(18% + var(--p) * 82%), transparent);
}
.q-foot { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink-2); max-width: 32em; margin-left: calc(11em + var(--gap)); }

/* ---------- 02 Practices / sheets ---------- */
.sheets { display: grid; gap: clamp(24px, 3vw, 40px); }
.sheet {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--rule-2);
  position: relative;
}
.sheet::before { /* registration marks */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) 0 0 / 10px 1px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) 100% 0 / 10px 1px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) 100% 0 / 1px 10px no-repeat;
  opacity: .6;
}
.sheet-drawing {
  padding: clamp(28px, 4vw, 56px);
  border-right: 1px solid var(--rule);
  display: grid; place-items: center;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
}
.sheet-drawing svg { width: 100%; max-width: 520px; height: auto; overflow: visible; color: var(--ink-3); }
.sheet-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.sheet-no { color: var(--ink-3); display: flex; gap: 12px; }
.sheet-no span { color: var(--thread-text); }
.sheet-title { font-family: var(--f-sans); font-size: 15px; font-weight: 500; margin-top: 18px; color: var(--ink-2); }
.sheet-claim { font-family: var(--f-display); font-size: clamp(1.6rem, 2.5vw, 2.35rem); line-height: 1.12; font-weight: 340; letter-spacing: -.018em; margin-top: 10px; text-wrap: balance; }
.schedule-h { color: var(--ink-3); margin-top: clamp(28px, 3vw, 40px); padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
.schedule { counter-reset: s; margin-bottom: 32px; }
.schedule li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; }
.schedule li::before { content: counter(s, upper-alpha); font-family: var(--f-mono); font-size: 11.5px; color: var(--thread-text); padding-top: 2px; }
.sheet-body .link { margin-top: auto; align-self: flex-start; }
.sheet-tb { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px clamp(20px, 3vw, 28px); border-top: 1px solid var(--rule-2); color: var(--ink-3); font-size: 10.5px; }

/* drawing primitives */
svg .ink { fill: none; stroke: var(--ink); stroke-width: 1.4; }
svg .ink .thin, svg .ink.thin, svg .thin { stroke-width: 1; }
svg .thr { fill: none; stroke: var(--thread); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
svg .hatch { fill: url(#hatch-s); stroke: none; }
svg pattern line { stroke: var(--ink-3); stroke-width: 1; }
svg .dash { fill: none; stroke: var(--ink-3); stroke-dasharray: 4 4; }
svg .dash-thr { fill: none; stroke: var(--thread); stroke-width: 1.2; stroke-dasharray: 2 5; }
svg .t text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; fill: var(--ink-2); }
svg .t .t-dim { fill: var(--ink-3); font-size: 9.5px; }
svg .t .t-thr { fill: var(--thread-text); font-size: 9.5px; }

.js [data-draw] .d { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .15s); }
.js [data-draw] .f { opacity: 0; transition: opacity .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .4s); }
.js [data-draw].drawn .d { stroke-dashoffset: 0; }
.js [data-draw].drawn .f { opacity: 1; }

/* ---------- 03 Gap (inverted) ---------- */
.inv { background-color: var(--inv-bg); color: var(--inv-ink); --rule: var(--inv-rule); --rule-2: rgba(241,238,230,.28); --ink-3: var(--inv-ink-3); --thread: var(--inv-thread); --thread-text: #FF8E73; }
.inv { background-image: linear-gradient(rgba(170,205,240,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(170,205,240,.05) 1px, transparent 1px); background-size: 24px 24px; }
.inv .lede { color: var(--inv-ink-2); }
.inv .kicker, .inv .sec-label { color: var(--inv-ink-3); }
.sec.inv + .sec::before { display: none; }
.gap { padding-bottom: clamp(96px, 12vw, 160px); }
.gap .sec-head { margin-bottom: 0; max-width: 62em; }
.gap .display-l em { color: var(--thread); font-style: italic; }

.sight { height: 240vh; position: relative; margin-top: clamp(24px, 4vw, 48px); }
.sight-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.sight-stage { position: relative; height: min(64vh, 560px); }
.sight-svg { position: absolute; inset: 0 var(--pad); width: calc(100% - 2 * var(--pad)); height: 100%; overflow: visible; }
.sight-svg path { fill: none; }
.sight-ghost { stroke: var(--inv-rule); stroke-width: 1; stroke-dasharray: 3 7; }
.sight-line { stroke: var(--thread); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255,107,71,.45)); }
.frags { position: absolute; inset: 0 var(--pad); }
.frag {
  position: absolute;
  padding: 6px 10px; font-size: 10.5px; letter-spacing: .06em; color: var(--inv-ink-2);
  border: 1px dashed var(--inv-rule); background: rgba(7,24,39,.5);
  white-space: nowrap; will-change: transform, opacity;
}
.frag:nth-child(1) { left: 16%; top: 4%; }
.frag:nth-child(2) { left: 30%; top: 8%; }
.frag:nth-child(3) { left: 62%; top: 12%; }
.frag:nth-child(4) { left: 84%; top: 22%; }
.frag:nth-child(5) { left: 20%; top: 80%; }
.frag:nth-child(6) { left: 30%; top: 94%; }
.frag:nth-child(7) { left: 80%; top: 90%; }
.frag:nth-child(8) { left: 90%; top: 66%; }
.frag:nth-child(9) { left: 4%; top: 58%; }
.frag:nth-child(10) { left: 52%; top: 30%; }
.station {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  will-change: transform;
}
.st-ring { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--inv-ink); background: var(--inv-bg); margin-bottom: 14px; transition: background-color .5s, border-color .5s, box-shadow .5s; }
.station.lit .st-ring { background: var(--thread); border-color: var(--thread); box-shadow: 0 0 0 8px rgba(255,107,71,.16); }
.st-k { color: var(--inv-ink-3); font-size: 10.5px; }
.station strong { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.7rem, 3.4vw, 3rem); letter-spacing: -.02em; line-height: 1.05; }
.station { transform: translate(-50%, -9px); }
.sight.vertical .station { display: grid; grid-template-columns: 18px auto; column-gap: 18px; row-gap: 2px; align-items: center; text-align: left; }
.sight.vertical .st-ring { grid-row: 1 / span 2; margin: 0; }
.sight.vertical .st-k { align-self: end; }
.sight.vertical .station strong { align-self: start; grid-column: 2; }
.sight-caption { text-align: center; margin-top: clamp(16px, 3vh, 32px); color: var(--inv-ink-2); position: relative; height: 1.5em; }
.sight-caption span { position: absolute; left: 0; right: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sight-caption .cap-b { opacity: 0; transform: translateY(8px); color: var(--thread-text); }
.sight.aligned .cap-a { opacity: 0; transform: translateY(-8px); }
.sight.aligned .cap-b { opacity: 1; transform: none; }

.symptoms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 6vw, 80px); }
.symptom { border-top: 1px solid var(--inv-rule); padding-top: 24px; }
.sym-k { color: var(--thread-text); margin-bottom: 16px; }
.symptom h3 { font-family: var(--f-display); font-weight: 340; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.015em; margin-bottom: 16px; text-wrap: balance; }
.symptom h3 span { color: var(--inv-ink-3); font-style: italic; }
.symptom p { color: var(--inv-ink-2); font-size: 15.5px; }
.symptom strong { color: var(--inv-ink); font-weight: 500; display: block; margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--thread); }

/* ---------- 04 Outputs ---------- */
.doc { background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--rule-2); }
.tabs { display: flex; border-bottom: 1px solid var(--rule-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: 1 0 auto; text-align: left; padding: 20px clamp(18px, 2.4vw, 28px); font-size: 15px; font-weight: 500; color: var(--ink-3);
  position: relative; display: flex; gap: 12px; align-items: baseline; transition: color .3s, background-color .3s;
}
.tabs [role="tab"] + [role="tab"] { border-left: 1px solid var(--rule); }
.tabs [role="tab"] .mono { font-size: 10.5px; }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tabs [role="tab"]:hover { color: var(--ink); background: var(--paper-2); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] .mono { color: var(--thread-text); }
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.tabs [role="tab"]:focus-visible { outline-offset: -4px; }
.panel { padding: clamp(24px, 4vw, 48px); }
.panel:focus-visible { outline-offset: -6px; }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 32px); }
.doc-head h3 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.015em; }
.stamp { color: var(--thread-text); border: 1px solid currentColor; padding: 5px 10px; font-size: 10px; transform: rotate(-1.5deg); }
.reg { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.reg th { text-align: left; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding: 0 20px 12px 0; border-bottom: 1px solid var(--rule-2); }
.reg td { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.45; }
.reg td:first-child { font-family: var(--f-display); font-size: 1.15em; font-weight: 380; width: 36%; letter-spacing: -.005em; }
.reg td:nth-child(2) { color: var(--ink-2); width: 28%; }
.reg b { font-weight: 600; color: var(--thread-text); }
.reg tbody tr { transition: background-color .3s; }
.reg tbody tr:hover { background: var(--thread-soft); }
.panel.enter tbody tr { animation: rowIn .7s var(--ease) both; }
.panel.enter tbody tr:nth-child(2) { animation-delay: .07s; }
.panel.enter tbody tr:nth-child(3) { animation-delay: .14s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 05 Engage ---------- */
.axis { display: flex; justify-content: space-between; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--rule-2); max-width: 280px; font-size: 10.5px; }
.modes { counter-reset: m; }
.mode {
  display: grid; grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1.2fr) 12em; gap: var(--gap); align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule);
  transition: background-color .4s;
}
.glyph { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.glyph .d { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.glyph .thin { stroke-width: 1; stroke: var(--ink-3); }
.glyph .thr-fill { fill: var(--thread); stroke: var(--thread); }
.mode h3 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -.012em; }
.mode p { color: var(--ink-2); font-size: 15.5px; }
.mode-k { color: var(--ink-3); font-size: 10.5px; text-align: right; }
.mode:hover .glyph .d:not(.thr-fill):not(.thin) { stroke: var(--thread); }
.glyph .d { transition: stroke .4s, stroke-dashoffset 1.6s var(--ease); }

/* ---------- 06 Why ---------- */
.why-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--gap); align-items: start; margin-bottom: clamp(48px, 6vw, 88px); }
.why-top .sec-head { margin-bottom: 0; }
.layers { display: grid; gap: 0; border-top: 1px solid var(--rule-2); margin-top: 8px; }
.layer { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); position: relative; }
.layer::after { content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: 100%; background: var(--ink-3); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); transition-delay: calc(var(--li) * 110ms + .2s); }
.layers.in .layer:not(.keep)::after { transform: scaleX(1); }
.layers.in .layer:not(.keep) { color: color-mix(in oklab, var(--ink-3) 60%, transparent); transition: color .6s calc(var(--li) * 110ms + .5s); }
.layer.keep { color: var(--ink); text-transform: none; letter-spacing: .02em; font-size: 13.5px; border-bottom: 0; padding-top: 18px; display: flex; gap: 12px; align-items: baseline; }
.layer.keep b { font-weight: 500; color: var(--thread-text); text-transform: uppercase; letter-spacing: .09em; font-size: 12px; }
.layer.keep::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--thread); flex: none; transform: translateY(-1px); }
.layer.keep::after { display: none; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(40px, 5vw, 64px); }
.pillar { border-top: 1px solid var(--rule-2); padding-top: 22px; }
.pl-k { color: var(--ink-3); display: flex; gap: 12px; margin-bottom: 18px; }
.pl-k span { color: var(--thread-text); }
.pillar h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.18; letter-spacing: -.012em; margin-bottom: 14px; text-wrap: balance; }
.pillar p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- 07 Insights ---------- */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.note {
  display: flex; flex-direction: column; gap: 14px; min-height: 340px;
  padding: clamp(24px, 2.6vw, 32px); text-decoration: none;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-2);
  position: relative; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.note::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--thread); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.note:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--ink); }
.note:hover::before { transform: scaleY(1); }
.note-k { color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; }
.note-k span { color: var(--thread-text); }
.note h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.1; letter-spacing: -.016em; margin-top: 28px; text-wrap: balance; }
.note p { color: var(--ink-2); font-size: 15.5px; }
.note-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); padding-top: 16px; border-top: 1px solid var(--rule); }
.note-cta .arw { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.note:hover .note-cta .arw { transform: translateX(5px); }

/* ---------- 08 CTA ---------- */
.cta { padding-bottom: clamp(120px, 14vw, 200px); }
.cta-title { max-width: 11em; margin-bottom: 28px; }
.cta-title em { color: var(--ink); }
.cta-end { display: flex; align-items: center; gap: 0; margin-top: clamp(36px, 5vw, 56px); margin-left: calc(-1 * (var(--gut) + var(--gap))); padding-left: 0; }
.cta-end .node-end { margin-right: calc(var(--gut) + var(--gap) - 13px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule-2); padding-top: clamp(48px, 6vw, 80px); background: var(--paper-2); position: relative; z-index: 6; }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-bottom: clamp(48px, 6vw, 72px); }
.foot-brand p { color: var(--ink-2); max-width: 30em; margin-top: 18px; font-size: 15px; }
.foot-col h2 { color: var(--ink-3); margin-bottom: 16px; font-size: 10.5px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { text-decoration: none; font-size: 15px; background: linear-gradient(var(--thread), var(--thread)) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.foot-col a:hover { background-size: 100% 1px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 10.5px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-sheet { margin-right: auto; }
  .mode { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.2fr); }
  .mode-k { display: none; }
}

@media (max-width: 1000px) {
  :root { --gut: 22px; --gap: 22px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { height: min(92vw, 560px); min-height: 0; margin: 8px calc(-1 * var(--pad)) 0; }
  .fig-note { position: static; padding: 0 var(--pad); margin-top: -8px; }
  .fig-note span { white-space: nowrap; }
  .hero-figure { height: auto; }
  .hero-canvas { height: min(92vw, 560px); }
  .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .title-block > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .sheet { grid-template-columns: 1fr; }
  .sheet-drawing { border-right: 0; border-bottom: 1px solid var(--rule); }
  .sec-head.split { grid-template-columns: 1fr; align-items: start; }
  .sec-head.split > .link { justify-self: start; }
  .symptoms, .pillars, .notes { grid-template-columns: 1fr; }
  .why-top { grid-template-columns: 1fr; }
  .layers { max-width: 420px; }
  .note { min-height: 0; }
  .note h3 { margin-top: 12px; }
  .mode { grid-template-columns: 1fr; gap: 10px; }
  .glyph { max-width: 220px; margin-bottom: 6px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gut: 14px; --gap: 16px; --hdr-h: 60px; }
  body { font-size: 16px; }
  .hdr-sheet { display: none; }
  .hide-sm { display: none; }
  .hdr { gap: 8px; justify-content: space-between; }
  .hdr-actions { margin-left: auto; }
  .sec-label { display: none; }
  .gutter { padding-top: 6px; }
  .node { width: 11px; height: 11px; margin-left: -1px; }
  .hero-copy { padding-left: 0; }
  .title-block { padding-left: 0; grid-template-columns: 1fr 1fr; }
  .node-start { left: -2px; }
  .title-block { padding-left: calc(var(--gut) + var(--gap)); }
  .q { grid-template-columns: 1fr; gap: 8px; }
  .q-foot { margin-left: 0; }
  .sheet-drawing { padding: 24px 16px; }
  .sheet-body { padding: 24px 20px 28px; }
  .reg thead { display: none; }
  .reg, .reg tbody, .reg tr, .reg td { display: block; width: auto !important; }
  .reg tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .reg td { border: 0; padding: 2px 0; }
  .reg td:first-child { margin-bottom: 6px; }
  .reg td:nth-child(2) { font-size: 14.5px; }
  .tabs [role="tab"] { flex: 0 0 auto; padding: 16px; font-size: 14px; }
  .sight { height: 220vh; }
  .sight-stage { height: min(70vh, 600px); }
  .frag { font-size: 9.5px; padding: 4px 7px; }
  .station strong { font-size: 1.7rem; }
  .cta-end .node-end { margin-right: calc(var(--gut) + var(--gap) - 11px); }
  .btn-lg { --bh: 58px; padding: 0 24px; }
  .foot { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero h1 .ln > span, .js .hero .eyebrow, .js .hero-lede, .js .hero-cta, .js .title-block > div, .js .fig-note { opacity: 1 !important; transform: none !important; }
  .js [data-draw] .d { stroke-dashoffset: 0; }
  .js [data-draw] .f { opacity: 1; }
  .sight { height: auto; }
  .sight-sticky { position: relative; height: auto; padding-block: 48px; }
  .sight-stage { height: 440px; }
  .thread-tip { display: none; }
}

@media print {
  .site-header, .thread, .menu, body::after { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================================
   INNER PAGES
   ========================================================================= */

/* ---------- Current page ---------- */
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-list a[aria-current="page"] { color: var(--thread-text); }
.btn-ink[aria-current="page"] { background: var(--thread); color: var(--on-thread); }

/* ---------- Page hero ---------- */
.hero--page { min-height: auto; padding-top: calc(var(--hdr-h) + clamp(32px, 5vw, 72px)); }
.hero--page h1 { font-size: clamp(2.3rem, 4.3vw, 4.5rem); }
.hero--page .hero-figure { height: min(68svh, 640px); min-height: 400px; }
.hero--solo .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero--solo .hero-copy { max-width: 70rem; padding-bottom: clamp(16px, 3vw, 40px); }
.hero--solo h1 { font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
.hero--article h1 { font-size: clamp(2.5rem, 5.8vw, 5.6rem); max-width: 14em; }
.eyebrow a { color: inherit; text-decoration: none; background: linear-gradient(var(--thread), var(--thread)) left bottom / 100% 1px no-repeat; padding-bottom: 1px; }
.eyebrow a:hover { color: var(--thread-text); }
.hero-figure--svg { display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); margin-right: 0; }
.shape-chart { width: 100%; max-width: 620px; height: auto; overflow: visible; color: var(--ink-3); }
.shape-chart .d { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.shape-chart .thin { stroke: var(--ink-3); stroke-width: 1; }
.shape-chart .thr-fill { fill: var(--thread); stroke: var(--thread); }
.shape-chart .row text { fill: var(--ink); }
.shape-chart .row .t-dim { fill: var(--ink-3); }

/* ---------- Approach steps ---------- */
.steps { --sp: 0; --steps-dir: h; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-top: 44px; counter-reset: st; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; pointer-events: none; }
.steps::before { background: repeating-linear-gradient(90deg, var(--rule-2) 0 3px, transparent 3px 8px); }
.steps::after { top: 5.5px; height: 2px; background: var(--thread); transform: scaleX(var(--sp)); transform-origin: left; }
.step { position: relative; }
.step-node { position: absolute; top: -44px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule-2); z-index: 1; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.step.on .step-node { background: var(--thread); box-shadow: inset 0 0 0 1.5px var(--thread), 0 0 0 6px var(--thread-soft); }
.step-n { color: var(--ink-3); margin-bottom: 14px; transition: color .5s; }
.step.on .step-n { color: var(--thread-text); }
.step h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -.012em; margin-bottom: 12px; text-wrap: balance; }
.step p:last-child { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Deliverables register ---------- */
.art-register { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-left: 1px solid var(--rule-2); background: var(--paper); box-shadow: var(--shadow); counter-reset: a; }
.art-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 230px; padding: clamp(22px, 2.6vw, 32px); border-right: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); transition: background-color .4s var(--ease); }
.art-card::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.art-card:hover { background: var(--paper-2); }
.art-card:hover::after { transform: scaleX(1); }
.art-n { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 10.5px; }
.art-n span { color: var(--thread-text); }
.art-card h3 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.15; letter-spacing: -.012em; margin-top: auto; padding-top: 24px; text-wrap: balance; }
.art-card p:last-child { color: var(--ink-2); font-size: 15px; }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) var(--gap); }
.outcome { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 8px; border-top: 1px solid var(--rule-2); padding-top: 22px; }
.oc-n { color: var(--thread-text); padding-top: .7em; grid-row: span 2; }
.outcome h3 { font-family: var(--f-display); font-weight: 340; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.1; letter-spacing: -.016em; margin-bottom: 12px; text-wrap: balance; }
.outcome p { color: var(--ink-2); max-width: 32em; }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.model-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 32px); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-2); position: relative; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.model-card:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--ink); transform: translateY(-3px); }
.model-card .glyph { max-width: 200px; margin-bottom: 12px; }
.mc-n { color: var(--thread-text); font-size: 10.5px; }
.model-card h3 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -.012em; text-wrap: balance; }
.model-card > p:not(.mc-n):not(.best) { color: var(--ink-2); font-size: 15.5px; }
.best { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; }
.best .mono { display: block; color: var(--ink-3); font-size: 10.5px; margin-bottom: 6px; }
.sec-head.split > div > .link { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--gap); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr-h) + 32px); margin-bottom: 0; }
.faq-read { margin-top: 28px; color: var(--ink-2); font-size: 15px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.faq { border-top: 1px solid var(--rule-2); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; display: grid; grid-template-columns: 3em minmax(0, 1fr) 28px; align-items: baseline; gap: 8px; padding: 22px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: 2px; }
.qa-n { color: var(--ink-3); font-size: 10.5px; }
.qa-q { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -.008em; transition: color .3s; }
.qa summary:hover .qa-q { color: var(--thread-text); }
.qa-i { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; }
.qa-i::before, .qa-i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.qa-i::after { transform: rotate(90deg); }
.qa[open] .qa-i::after { transform: rotate(0deg); }
.qa[open] .qa-n { color: var(--thread-text); }
.qa-a { padding: 0 28px 26px calc(3em + 8px); color: var(--ink-2); max-width: 44em; }
.qa[open] .qa-a { animation: rowIn .6s var(--ease) both; }
.qa-a a, .prose a { color: inherit; text-decoration-color: var(--thread); text-underline-offset: 3px; }

/* ---------- Engage page ---------- */
.principles { border-top: 1px solid var(--rule-2); }
.principles li { display: grid; grid-template-columns: 5em minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap); align-items: baseline; padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--rule); }
.pr-n { color: var(--thread-text); }
.principles h3 { font-family: var(--f-display); font-weight: 340; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.016em; }
.principles p { color: var(--ink-2); }
.principal-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.principal-grid .sec-head { margin-bottom: 0; }
.dossier { background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--rule-2); padding: clamp(20px, 2.4vw, 28px); margin: 0; position: relative; }
.dossier::before { content: "Title block"; position: absolute; top: -9px; right: 20px; background: var(--paper); padding: 0 8px; color: var(--ink-3); font-size: 10px; }
.dossier > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.dossier > div:last-child { border-bottom: 0; }
.dossier dt { color: var(--ink-3); font-size: 10.5px; margin-bottom: 6px; }
.dossier dd { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; font-size: 15.5px; font-weight: 400; line-height: 1.55; color: var(--ink); }
.dossier > div:first-child dd { font-family: var(--f-display); font-size: 1.8rem; font-weight: 360; letter-spacing: -.015em; line-height: 1.1; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.quote { margin: 0; border-top: 1px solid var(--rule-2); padding-top: 24px; display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; position: relative; }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--f-display); font-size: 4rem; line-height: .6; color: var(--thread); margin-bottom: 8px; height: .45em; }
.quote blockquote p { font-family: var(--f-display); font-style: italic; font-weight: 330; font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 15px; }
.quote figcaption .mono { color: var(--ink-3); font-size: 10.5px; font-weight: 500; }
.fine { margin-top: clamp(28px, 3vw, 40px); color: var(--ink-3); font-size: 13.5px; max-width: 44em; }

/* ---------- Insights ---------- */
.index-list { border-top: 1px solid var(--rule-2); }
.index-row {
  display: grid; grid-template-columns: 6.5em 13em minmax(0, 1fr) 40px; grid-template-areas: "n k t a" "n k d a";
  column-gap: var(--gap); row-gap: 8px; align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; position: relative;
  transition: background-color .4s var(--ease), padding .5s var(--ease);
}
.index-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.index-row:hover::before { transform: scaleX(1); }
.ir-n { grid-area: n; color: var(--thread-text); }
.ir-k { grid-area: k; color: var(--ink-3); }
.ir-t { grid-area: t; font-family: var(--f-display); font-weight: 340; font-size: clamp(1.7rem, 3.4vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; transition: color .3s; }
.ir-d { grid-area: d; color: var(--ink-2); max-width: 36em; }
.ir-a { grid-area: a; justify-self: end; align-self: center; }
.ir-a .arw { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.index-row:hover .ir-a .arw { transform: translateX(6px); }
.refs { border-top: 1px solid var(--rule-2); }
.ref { display: grid; grid-template-columns: 14em minmax(0, 1fr); grid-template-areas: "k t" "k d"; column-gap: var(--gap); row-gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.ref-k { grid-area: k; color: var(--ink-3); padding-top: 5px; }
.ref-t { grid-area: t; font-family: var(--f-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 360; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.ref-t .arw { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.ref:hover .ref-t { color: var(--thread-text); }
.ref:hover .ref-t .arw { transform: translate(2px, -2px); }
.ref-d { grid-area: d; color: var(--ink-2); font-size: 15.5px; }
.notes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Article ---------- */
.art-body { padding-top: clamp(64px, 8vw, 112px); }
.prose { max-width: 40rem; font-size: clamp(1.05rem, 1.2vw, 1.15rem); line-height: 1.75; color: var(--ink); }
.prose > p + p { margin-top: 1.15em; }
.prose h2 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.12; letter-spacing: -.015em; margin: 2.2em 0 .7em; text-wrap: balance; }
.prose h2 .mono { color: var(--thread-text); margin-right: 12px; vertical-align: .35em; }
.brief { border-left: 2px solid var(--thread); padding: 4px 0 4px 24px; margin-bottom: 2.4em; }
.brief .mono { color: var(--thread-text); margin-bottom: 8px; }
.brief p:last-child { font-family: var(--f-display); font-style: italic; font-weight: 340; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.35; letter-spacing: -.008em; }
.prose > .brief + p::first-letter { font-family: var(--f-display); font-weight: 340; float: left; font-size: 3.7em; line-height: .82; padding: .07em .12em 0 0; color: var(--thread); }
.prose-list { margin: 1.2em 0; counter-reset: pl; }
.prose-list li { position: relative; padding: 14px 0 14px 3em; border-top: 1px solid var(--rule); }
.prose-list li:last-child { border-bottom: 1px solid var(--rule); }
ol.prose-list li { counter-increment: pl; }
ol.prose-list li::before { content: counter(pl, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--f-mono); font-size: 11.5px; color: var(--thread-text); letter-spacing: .08em; }
ul.prose-list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 1.6em; height: 1px; background: var(--thread); }
.prose-list b { font-weight: 600; }
.prose--notice h2:first-child { margin-top: 0; }
.qbox { background: var(--inv-bg); color: var(--inv-ink); padding: clamp(28px, 4vw, 56px); max-width: 52rem; position: relative; box-shadow: var(--shadow); }
.qbox::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--inv-thread); }
.qbox h2 { color: #FF8E73; margin-bottom: 20px; }
.qbox-list { counter-reset: q; }
.qbox-list li { counter-increment: q; display: grid; grid-template-columns: 3em minmax(0, 1fr); padding: 18px 0; border-top: 1px solid var(--inv-rule); font-family: var(--f-display); font-weight: 340; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.01em; }
.qbox-list li::before { content: "Q" counter(q); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--inv-ink-3); padding-top: .55em; }
.art-explore { margin-top: 32px; }
.art-questions { padding-top: 0; }
.art-questions::before { display: none; }

/* ---------- Contact ---------- */
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-head { margin-bottom: 32px; }
.form-head .lede { margin-top: 18px; }
.req-key { color: var(--ink-3); font-size: 10.5px; margin-bottom: 8px; }
.req-key span, .req { color: var(--thread-text); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); padding: clamp(24px, 3vw, 36px); background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--rule-2); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 500 10.5px/1.5 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--f-sans); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1.5px solid var(--rule-2); border-radius: 0; padding: 10px 0; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { border: 1.5px solid var(--rule-2); padding: 12px 14px; resize: vertical; min-height: 9em; background: var(--paper); line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--thread); box-shadow: 0 1.5px 0 var(--thread); }
.field textarea:focus { box-shadow: 0 0 0 1.5px var(--thread); }
.field [aria-invalid="true"] { border-color: var(--thread); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 28px; cursor: pointer; }
.select option { color: #141A2B; background: #F1EEE6; }
.hint { font-size: 13.5px; color: var(--ink-3); }
.err { font-size: 14px; color: var(--thread-text); font-weight: 500; }
.form-end { margin-top: 32px; }
.form-status { margin-top: 18px; min-height: 1.6em; font-size: 15px; color: var(--ink-2); }
.form-status.is-ok { color: var(--ink); padding-left: 14px; border-left: 2px solid var(--thread); }
.form-status.is-error { color: var(--thread-text); font-weight: 500; }
.brief-aside { position: sticky; top: calc(var(--hdr-h) + 32px); display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.aside-card { border-top: 1px solid var(--rule-2); padding-top: 20px; }
.aside-h { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.015em; line-height: 1.1; margin-bottom: 14px; }
.aside-card p + p { margin-top: 12px; }
.aside-card p:not(.kicker) { color: var(--ink-2); }
.aside-links h2 { color: var(--ink-3); font-size: 10.5px; margin-bottom: 10px; }
.aside-links li + li { margin-top: 10px; }
.incident { font-size: 14px; color: var(--ink-2); padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.incident .mono { display: block; color: var(--thread-text); font-size: 10.5px; margin-bottom: 4px; }

/* ---------- Inner page responsive ---------- */
@media (max-width: 1000px) {
  .hero--page .hero-figure { height: auto; min-height: 0; }
  .hero-figure--svg { padding: 8px var(--pad) 0; }
  .steps { --steps-dir: v; grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 36px; }
  .steps::before, .steps::after { top: 6px; bottom: 6px; left: 6px; right: auto; width: 1px; height: auto; }
  .steps::before { background: repeating-linear-gradient(180deg, var(--rule-2) 0 3px, transparent 3px 8px); }
  .steps::after { left: 5.5px; width: 2px; transform: scaleY(var(--sp)); transform-origin: top; }
  .step-node { top: 2px; left: -40px; }
  .art-register { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models, .quotes, .notes--two { grid-template-columns: 1fr; }
  .faq-grid, .principal-grid, .enquiry-grid { grid-template-columns: 1fr; }
  .faq-head, .brief-aside { position: static; }
  .faq-head { margin-bottom: 24px; }
  .principles li { grid-template-columns: 4em minmax(0, 1fr); }
  .principles li p { grid-column: 2; }
  .index-row { grid-template-columns: minmax(0, 1fr) 32px; grid-template-areas: "n a" "k a" "t a" "d a"; }
  .ref { grid-template-columns: 1fr; grid-template-areas: "k" "t" "d"; }
}
@media (max-width: 720px) {
  .hero--page .hero-figure { min-height: 0; }
  .art-register, .outcomes, .fields { grid-template-columns: 1fr; }
  .art-card { min-height: 0; }
  .outcome { grid-template-columns: 2.4em minmax(0, 1fr); }
  .qa summary { grid-template-columns: 2.4em minmax(0, 1fr) 20px; }
  .qa-a { padding-left: calc(2.4em + 8px); padding-right: 0; }
  .principles li { grid-template-columns: 1fr; gap: 6px; }
  .principles li p { grid-column: auto; }
  .fields { padding: 20px 16px; }
  .qbox { margin-right: calc(-1 * var(--pad)); }
  .prose > .brief + p::first-letter { font-size: 3.2em; }
}

/* ---------- Blueprint film ---------- */
.film { margin: 0 0 clamp(40px, 5vw, 64px); background: var(--paper-2); box-shadow: var(--shadow), inset 0 0 0 1px var(--rule-2); padding: clamp(8px, 1vw, 12px); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper-2); }

/* ---------- Contact: spam trap and send mode ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.brief-form { position: relative; }
.brief-form .ic-send, .brief-form.is-live .ic-save { display: none; }
.brief-form.is-live .ic-send { display: inline; }
.btn[disabled] { opacity: .6; cursor: progress; }
