/* Blueprint to production. Dark only. Tokens and rationale in DESIGN.md. ASCII hyphen only. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/newsreader.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/newsreader-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/instrument-sans.woff2) format('woff2'); }
@font-face { font-family: '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: 'Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plex-mono-500.woff2) format('woff2'); }

@property --x { syntax: '<percentage>'; inherits: true; initial-value: 46%; }

:root {
  --ink: #070B12;
  --ink-2: #0C1320;
  --ink-3: #111B2C;
  --prussian: #0B2A5C;
  --prussian-deep: #061936;
  --prussian-hi: #1B4F9C;
  --line: #22324A;
  --line-2: #33496A;
  --paper: #E9EEF5;
  --paper-2: #97A6BB;
  --draft: #9CC3FF;
  --draft-a: rgba(156, 195, 255, .08);
  --signal: #FF8A2A;
  --signal-hi: #FFA65C;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --gutter: 16px;
  --max: 88rem;
  --head: 4.25rem;
  --hero-delay: 0s;
  color-scheme: dark;
}
:root.is-loading { --hero-delay: 1.3s; }
@media (min-width: 48rem) { :root { --gutter: 2rem; } }
@media (min-width: 80rem) { :root { --gutter: 3rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-padding-top: calc(var(--head) + 1rem); -webkit-tap-highlight-color: rgba(156, 195, 255, .18); }
a, button, [role="slider"] { touch-action: manipulation; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 1.0625rem/1.6 var(--sans);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--draft); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 360; line-height: 1.08; margin: 0; letter-spacing: -0.015em; font-optical-sizing: auto; text-wrap: balance; }
h3 { font-size: 1.4rem; line-height: 1.2; font-weight: 400; letter-spacing: -0.005em; }
em, .em { font-style: italic; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; font-weight: 340; letter-spacing: -0.03em; }
.mono { font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; line-height: 1.5; }
.muted { color: var(--paper-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--gutter); top: -5rem; background: var(--paper); color: var(--ink); padding: .6rem 1rem; z-index: 300; font-weight: 600; }
.skip:focus { top: .75rem; }
main:focus { outline: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Line-draw underline: a faint rule at rest (links stay identifiable), the drafting line draws over it on hover. */
.ulink, .press-t { text-decoration: underline 1px var(--line-2); text-underline-offset: .28em; transition: color .25s, text-decoration-color .25s; }
.ulink { position: relative; }
.ulink::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.3em; height: 1px; background: var(--draft); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); pointer-events: none; }
.ulink:hover, .ulink:focus-visible { color: var(--paper); text-decoration-color: transparent; }
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.press-t:hover, .press-t:focus-visible { color: var(--paper); text-decoration-color: var(--draft); }

/* Lamp: the one "live" signal */
.lamp { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 138, 42, .55); flex: none; }
@media (prefers-reduced-motion: no-preference) { .lamp { animation: pulse 2.2s ease-out infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 42, .55); } 70%, 100% { box-shadow: 0 0 0 .6rem rgba(255, 138, 42, 0); } }

/* ---------- Atmosphere: blueprint grid, pointer-lit canvas, grain ---------- */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.atmos::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(156, 195, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 195, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(156, 195, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 195, 255, .02) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 14px 14px, 14px 14px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
}
.atmos::after {
  content: ''; position: absolute; inset: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.atmos canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; pointer-events: none; display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { display: block; animation: grow linear both; animation-timeline: scroll(root); }
  }
}
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Preloader (first visit per session, CSS-timed so it can never get stuck) ---------- */
.preloader { display: none; }
.is-loading .preloader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 250; background: var(--ink);
  background-image: linear-gradient(rgba(156, 195, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
  animation: pre-out .5s cubic-bezier(.76, 0, .24, 1) 1.1s forwards;
}
.pre-sheet { width: min(80vw, 26rem); display: grid; gap: .9rem; }
.pre-draw { width: 100%; height: auto; overflow: visible; }
.pre-draw * { fill: none; stroke: var(--draft); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; animation: draw .9s var(--ease) forwards; }
.pre-draw .thin { stroke-width: .7; opacity: .6; }
.pre-draw :nth-child(2) { animation-delay: .08s; } .pre-draw :nth-child(3) { animation-delay: .2s; } .pre-draw :nth-child(4) { animation-delay: .28s; }
.pre-draw :nth-child(5) { animation-delay: .36s; } .pre-draw :nth-child(6) { animation-delay: .44s; } .pre-draw :nth-child(7) { animation-delay: .5s; stroke: var(--signal); }
.pre-tb { display: flex; justify-content: space-between; color: var(--paper-2); margin: 0; max-width: none; }
.pre-count { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); letter-spacing: .04em; color: var(--paper); margin: 0; line-height: 1; }
.pre-note { color: var(--draft); margin: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pre-out { 0% { clip-path: inset(0 0 0 0); } 99% { clip-path: inset(0 0 100% 0); visibility: visible; } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head);
  background: linear-gradient(var(--ink) 55%, rgba(7, 11, 18, 0));
  transition: transform .5s var(--ease);
  view-transition-name: site-head;
}
.site-head.is-hidden { transform: translateY(-100%); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 1rem 2rem; }
.mark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.mark-glyph { width: 2.4rem; height: 2.4rem; flex: none; fill: none; stroke: var(--draft); stroke-width: 2; stroke-linecap: square; overflow: visible; transition: stroke .3s; }
.mark-glyph .m-draft { stroke-width: 1; stroke-dasharray: 1.5 2; opacity: .5; }
.mark-glyph .m-tip { fill: var(--signal); stroke: none; }
.mark-glyph .m-arc { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mark:hover .mark-glyph, .mark:focus-visible .mark-glyph { stroke: var(--paper); }
@media (prefers-reduced-motion: no-preference) { .mark:hover .m-arc, .mark:focus-visible .m-arc { animation: draw-in .9s var(--ease); } }
.mark-name { height: .95rem; width: auto; overflow: visible; fill: var(--paper); }
.mark-name rect { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .mark-name rect { animation: px-in .45s var(--ease) calc(var(--d) + var(--pre, 0s)) backwards; }
  .is-loading .mark-name { --pre: 1.5s; }
  .mark:hover .mark-name g, .mark:focus-visible .mark-name g { animation: px-scan .5s linear calc(var(--l) * 45ms); }
}
@keyframes px-in { from { opacity: 0; transform: scale(0); fill: var(--signal); } 55% { opacity: 1; transform: scale(1.35); fill: var(--signal); } }
@keyframes px-scan { 0%, 100% { fill: var(--paper); } 35% { fill: var(--signal); } }
.nav { display: flex; gap: 1.6rem; }
.nav a { position: relative; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--paper-2); padding-block: .9rem; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .45rem; height: 1px; background: var(--draft); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.clock { display: none; align-items: center; gap: .55rem; color: var(--paper-2); margin: 0; }
@media (min-width: 64rem) { .clock { display: inline-flex; } }
@media (max-width: 47.99rem) {
  :root { --head: 6.25rem; }
  .site-head .wrap { flex-wrap: wrap; align-content: center; gap: .1rem 1rem; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem; }
  .nav a { padding-block: .95rem; }
}

main { padding-top: var(--head); position: relative; }

/* ---------- Buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: 0 1.5rem;
  font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line-2); color: var(--paper); background: transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .3s, border-color .3s, background-color .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); z-index: 0; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--paper); }
.btn-primary { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn-primary::before { background: var(--paper); }
.btn .arr { width: 1.05rem; height: 1.05rem; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn[hidden] { display: none; }

/* ---------- Split headline + hero reveal (pure CSS, delayed while the preloader runs) ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.split .w > span { display: inline-block; }
.split .em { font-style: italic; color: var(--draft); }
@media (prefers-reduced-motion: no-preference) {
  .split .w > span { animation: rise 1.15s var(--ease) both; animation-delay: calc(var(--hero-delay) + .15s + var(--i) * 38ms); }
  .hero-fade { animation: fadeup 1.1s var(--ease) both; animation-delay: calc(var(--hero-delay) + var(--d, 0s)); }
  .seam { animation: seam-in 1.8s var(--ease) backwards; animation-delay: calc(var(--hero-delay) + .45s); }
}
@keyframes rise { from { transform: translateY(110%) rotate(2deg); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } }
@keyframes seam-in { from { --x: 100%; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 6rem); position: relative; }
.home-hero { min-height: calc(100svh - var(--head)); display: flex; flex-direction: column; justify-content: center; padding-bottom: 2rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; width: 100%; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 6rem); } }
.hero h1 { font-size: clamp(2.35rem, 1.2rem + 3.7vw, 5.1rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 330; max-width: 17ch; }
.hero h1 .name { display: flex; align-items: center; gap: .7rem; color: var(--paper-2); margin-bottom: 1.6rem; font-size: .74rem; letter-spacing: .14em; line-height: 1.4; }
.page-hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.8rem); max-width: 20ch; }
.lede { font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--paper-2); margin-top: 1.75rem; max-width: 56ch; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; color: var(--paper-2); margin-top: clamp(2rem, 4vw, 3.5rem); }
.scroll-cue { display: inline-flex; align-items: center; gap: .7rem; }
.scroll-cue i { display: block; width: 1px; height: 2.2rem; background: linear-gradient(var(--draft), transparent); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i { animation: cue 2s var(--ease) infinite; transform-origin: top; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 47.99rem) { .hero-foot > :first-child, .hero-foot > :last-child { display: none; } .hero-foot { justify-content: center; } }

/* Portrait seam slider: photo under, blueprint over, clipped at --x */
.portrait { position: relative; margin: 0; width: 100%; max-width: 38rem; justify-self: center; --px: 0; --py: 0; }
.seam {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink-2);
  border: 1px solid var(--line); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 6px), 0); transition: transform .6s var(--ease);
}
.seam .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.seam .layer-bp { clip-path: inset(0 0 0 var(--x)); }
.seam-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; pointer-events: none;
  background: linear-gradient(rgba(220, 235, 255, 0), #DCEBFF 18%, #fff 50%, #DCEBFF 82%, rgba(220, 235, 255, 0));
  box-shadow: 0 0 10px 1px rgba(156, 195, 255, .9), 0 0 42px 8px rgba(70, 130, 255, .35); }
.seam-knob { position: absolute; top: 50%; left: 50%; width: 3.1rem; height: 3.1rem; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(233, 238, 245, .85); background: rgba(7, 11, 18, .72); display: flex; align-items: center; justify-content: center; gap: 0;
  box-shadow: 0 0 24px rgba(156, 195, 255, .45); transition: transform .3s var(--ease), background .3s; }
.seam-knob .arr { width: .85rem; height: .85rem; color: var(--paper); }
.seam-knob .arr:first-child { transform: scaleX(-1); }
.seam-hit { position: absolute; inset: 0; cursor: ew-resize; z-index: 2; }
.seam-hit:focus-visible { outline: 2px solid var(--draft); outline-offset: -4px; }
.seam.is-drag .seam-knob, .seam-hit:focus-visible ~ .seam-line .seam-knob { transform: translate(-50%, -50%) scale(1.12); background: var(--signal); }
.seam.is-drag .seam-knob .arr { color: var(--ink); }
.crop { position: absolute; width: 1.1rem; height: 1.1rem; border: 0 solid var(--draft); pointer-events: none; transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -10px), 0); transition: transform .6s var(--ease); }
.crop.k-tl { top: -.7rem; left: -.7rem; border-top-width: 1px; border-left-width: 1px; }
.crop.k-tr { top: -.7rem; right: -.7rem; border-top-width: 1px; border-right-width: 1px; }
.frame { position: relative; }
.crop.k-bl { bottom: -.7rem; left: -.7rem; border-bottom-width: 1px; border-left-width: 1px; }
.crop.k-br { bottom: -.7rem; right: -.7rem; border-bottom-width: 1px; border-right-width: 1px; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; color: var(--paper-2); margin-top: .9rem; font-size: .66rem; }
.seam-read { color: var(--draft); font-variant-numeric: tabular-nums; }

/* ---------- Section frame ---------- */
.label { display: flex; align-items: center; gap: .8rem; color: var(--draft); margin: 0 0 1.75rem; font-size: .7rem; font-weight: 500; max-width: none; }
.label i { flex: 0 0 2.75rem; height: 1px; background: currentColor; transform-origin: 0 50%; }
.sec { position: relative; padding-block: clamp(5rem, 3rem + 6vw, 9.5rem); }
.sec::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; height: 1px; background: var(--line); }
.sec-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.sec-head h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.4rem); max-width: 18ch; }
.sec-head > p:not(.label) { margin-top: 1.25rem; color: var(--paper-2); font-size: 1.1rem; max-width: 56ch; }
@media (min-width: 64rem) {
  .sec:not(.cv-sec):has(.prose) > .wrap, .sec:has(.plain) > .wrap, .sec:has(.roles) > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .sec:not(.cv-sec):has(.prose) .sec-head, .sec:has(.plain) .sec-head, .sec:has(.roles) .sec-head { position: sticky; top: calc(var(--head) + 2rem); }
  .sec:not(.cv-sec):has(.prose) .sec-head h2, .sec:has(.plain) .sec-head h2, .sec:has(.roles) .sec-head h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3.2rem); }
}

/* ---------- Evidence ledger ---------- */
.ledger-sec { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.ledger { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .ledger { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .ledger { grid-template-columns: repeat(4, 1fr); } }
.ledger li { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .ledger li { padding: 2rem 1.75rem; border-left: 1px solid var(--line); } .ledger li:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (min-width: 80rem) { .ledger li:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 1.75rem; } .ledger li:first-child { border-left: 0; padding-left: 0; } }
.ledger-no { color: var(--draft); }
.ledger .fig { font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: .95; white-space: nowrap; }
.ledger .what { text-decoration: none; color: var(--paper); line-height: 1.5; }
.ledger .what::after { content: ''; position: absolute; inset: 0; }
.ledger li:hover .what { color: var(--draft); }
.ledger .src { color: var(--paper-2); display: flex; align-items: flex-start; gap: .5rem; margin-top: auto; font-size: .68rem; }
.tick { width: 1rem; height: 1rem; flex: none; color: var(--signal); }
.tick path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ledger li.is-in .tick path { animation: draw .8s var(--ease) .5s backwards; stroke-dashoffset: 0; }
@keyframes draw-in { from { stroke-dashoffset: 1; } }
.ledger li.is-in .tick path { animation-name: draw-in; }

/* ---------- Press marquee ---------- */
.marquee-sec { padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(11, 42, 92, .25), rgba(11, 42, 92, 0) 60%); }
.marquee-head { display: grid; gap: .5rem 3rem; align-items: baseline; margin-bottom: 2rem; }
.marquee-head .label { margin: 0; }
.marquee-head p { margin: 0; color: var(--paper-2); }
.marquee-toggle { justify-self: start; min-height: 2.75rem; padding: 0 1rem; font-size: .66rem; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@media (min-width: 64rem) { .marquee-head { grid-template-columns: auto 1fr auto; } }
@media (prefers-reduced-motion: reduce) { .marquee-toggle { display: none !important; } }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; display: flex; flex: none; align-items: center; }
.marquee-track li { display: flex; align-items: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.9rem); line-height: 1.2; white-space: nowrap; color: var(--paper-2); }
.marquee-track li::after { content: '+'; font: 400 1rem/1 var(--mono); color: var(--draft); margin-inline: clamp(1.5rem, 3vw, 3rem); }
.marquee-track a { text-decoration: none; transition: color .3s; display: flex; align-items: center; }
.marquee-track a:hover, .marquee-track a:focus-visible { color: var(--paper); }
.marquee-track img { display: block; height: clamp(1.9rem, 1.4rem + 1.2vw, 2.75rem); width: auto; opacity: .55; filter: grayscale(1); transition: opacity .3s; }
.marquee-track a:hover img, .marquee-track a:focus-visible img { opacity: 1; }
.marquee-track .wordmark { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); max-width: var(--max); margin: 0 auto; }
  .marquee-track { flex-wrap: wrap; flex: 1; row-gap: .25rem; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee-track li { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- What Adrian builds: three sheets ---------- */
.sheets { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .sheets { grid-template-columns: repeat(3, 1fr); } }
.sheets li { position: relative; padding: 2rem 1.75rem 2.25rem; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(11, 42, 92, .35), rgba(7, 11, 18, .2)); transition: border-color .4s, transform .5s var(--ease); }
.sheets li::before, .sheets li::after { content: ''; position: absolute; width: .8rem; height: .8rem; border: 0 solid var(--draft); }
.sheets li::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.sheets li::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.sheets li:hover { border-color: var(--line-2); transform: translateY(-4px); }
.sheets li { display: flex; flex-direction: column; }
@media (min-width: 64rem) { .sheets li.wide { grid-column: 1 / -1; } .sheets li.wide p { max-width: 70ch; } .sheets li.wide .sheet-meta { grid-template-columns: 1fr 1fr; } }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.sheet-no { display: block; color: var(--draft); }
.sheet-ico { width: 3rem; height: 3rem; fill: none; stroke: var(--draft); stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .4s; }
.sheet-ico * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.sheets li.is-in .sheet-ico * { animation: draw-in 1.4s var(--ease) .2s backwards; }
.sheets li:hover .sheet-ico { stroke: var(--signal); }
.sheet-when { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; padding: .25rem .55rem; border: 1px solid currentColor; font-size: .62rem; margin-bottom: 1.1rem; }
.sheet-when::before { content: ''; width: .4rem; height: .4rem; background: currentColor; }
.sheet-when.is-now { color: var(--draft); }
.sheet-when.is-rising { color: var(--signal); }
.sheet-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; color: var(--paper-2); margin: -.5rem 0 2rem; }
.sheet-legend .sheet-when { margin: 0; }
.sheets h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); margin-bottom: 1rem; }
.sheets p { color: var(--paper-2); margin: 0; }
.sheet-meta { display: grid; gap: .9rem; margin: auto 0 0; padding-top: 1.4rem; margin-top: 1.6rem; border-top: 1px dashed rgba(156, 195, 255, .3); }
.sheet-meta dt { color: var(--draft); margin-bottom: .25rem; }
.sheet-meta dd { margin: 0; color: var(--paper); font-size: .95rem; line-height: 1.45; }
.sheet-meta div + div dt { color: var(--signal); }
@media (prefers-reduced-motion: reduce) { .sheets li.is-in .sheet-ico * { animation: none; } }

/* ---------- Blueprint to production (pinned on desktop) ---------- */
.pipe-sec { position: relative; background: var(--prussian-deep); border-block: 1px solid var(--line); overflow: hidden; }
.pipe-pin { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: clamp(5rem, 4rem + 4vw, 8rem); }
.pipe-pin > .wrap { width: 100%; position: relative; }
.pipe-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(156, 195, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .09) 1px, transparent 1px),
    linear-gradient(rgba(156, 195, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px; background-position: center; }
.pipe-grid::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 40%, rgba(255, 138, 42, .14), transparent 70%); opacity: 0; transition: opacity 1.2s; }
.pipe-sec.is-live .pipe-grid::after { opacity: 1; }
.pipe-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: end; }
@media (min-width: 64rem) { .pipe-head { grid-template-columns: minmax(0, 1fr) auto; } .pipe-head .label, .pipe-head h2, .pipe-head > p:not(.pipe-status) { grid-column: 1; } .pipe-status { grid-column: 2; grid-row: 2 / span 2; align-self: end; } }
.pipe-head h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.4rem); }
.pipe-head > p:not(.label):not(.pipe-status) { color: #B4C3D8; max-width: 52ch; margin: 0; font-size: 1.1rem; }
.pipe-head .label { margin-bottom: .5rem; }
.pipe-status { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border: 1px solid var(--draft); color: var(--draft); margin: 0; max-width: none; transition: color .6s, border-color .6s; justify-self: start; }
.pipe-status .lamp { background: var(--draft); animation: none; transition: background .6s; }
.pipe-sec.is-live .pipe-status { color: var(--signal); border-color: var(--signal); }
.pipe-sec.is-live .pipe-status .lamp { background: var(--signal); }
@media (prefers-reduced-motion: no-preference) { .pipe-sec.is-live .pipe-status .lamp { animation: pulse 2.2s ease-out infinite; } }
.st-live { display: none; }
.pipe-sec.is-live .st-live { display: inline; }
.pipe-sec.is-live .st-draft { display: none; }
.pipe { list-style: none; display: grid; gap: 2rem; }
@media (min-width: 64rem) { .pipe { grid-template-columns: repeat(3, 1fr); gap: 3rem 3rem; } }
@media (min-width: 88rem) { .pipe { grid-template-columns: repeat(6, 1fr); gap: 2.25rem; } }
.node { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1.4rem 1.2rem 1.3rem; min-height: 15.5rem; background: rgba(6, 25, 54, .7); }
.node-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.node-frame rect { width: calc(100% - 2px); height: calc(100% - 2px); fill: none; stroke: var(--draft); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke .6s; }
.node-id { color: var(--draft); transition: color .6s; }
.node h3 { font-size: 1.45rem; }
.node > p:not(.node-metric) { font-size: .9rem; line-height: 1.5; color: #B4C3D8; margin: 0; }
.node-metric { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed rgba(156, 195, 255, .3); display: grid; gap: .35rem; }
.node-metric .num { font-size: 2.1rem; line-height: 1; color: var(--paper); transition: color .6s; }
.node-metric .mono { font-size: .66rem; color: var(--paper-2); letter-spacing: .1em; }
.pipe-sec.is-live .node-frame rect { stroke: var(--signal); }
.pipe-sec.is-live .node-id, .pipe-sec.is-live .node-metric .num { color: var(--signal); }
.wire { position: absolute; left: 100%; top: 2.05rem; width: 3rem; height: 1px; background: var(--draft); transform-origin: 0 50%; transition: background .6s; }
.wire i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px 2px rgba(255, 138, 42, .8); opacity: 0; }
.pipe-sec.is-live .wire { background: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .pipe-sec.is-live .wire i { opacity: 1; animation: packet 1.6s linear infinite; }
  .pipe-sec.is-live .node:nth-child(2) .wire i { animation-delay: .25s; } .pipe-sec.is-live .node:nth-child(3) .wire i { animation-delay: .5s; }
  .pipe-sec.is-live .node:nth-child(4) .wire i { animation-delay: .75s; } .pipe-sec.is-live .node:nth-child(5) .wire i { animation-delay: 1s; }
}
@keyframes packet { from { left: 0; } to { left: calc(100% - 5px); } }
@media (min-width: 64rem) and (max-width: 87.99rem) { .node:nth-child(3n) .wire { display: none; } }
@media (min-width: 88rem) { .wire { width: 2.25rem; } }
@media (max-width: 63.99rem) {
  .wire { left: 1.7rem; top: 100%; width: 1px; height: 2rem; transform-origin: 50% 0; }
  .wire i { left: -2px; top: 0; }
  .pipe-sec.is-live .wire i { animation-name: packet-v; }
}
@keyframes packet-v { from { top: 0; } to { top: calc(100% - 5px); } }

/* ---------- Selected work: horizontal rail (pinned on desktop, swipe on touch) ---------- */
.rail-sec { position: relative; padding-block: clamp(5rem, 3rem + 6vw, 8rem) 4rem; }
.rail-pin { position: relative; }
.rail-head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 2.5rem; }
.rail-head .sec-head { margin: 0; }
@media (min-width: 64rem) { .rail-head { grid-template-columns: minmax(0, 1fr) auto; } }
.rail-meta { display: flex; align-items: center; gap: 1rem; color: var(--paper-2); margin: 0; }
.rail-bar { position: relative; width: 8rem; height: 1px; background: var(--line-2); }
.rail-bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--p, .14)); }
.rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 1rem 2rem; scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.rail::-webkit-scrollbar { display: none; }
.rail-track { list-style: none; display: flex; gap: 1.25rem; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.rail.is-pinned { overflow: visible; scroll-snap-type: none; }
.rail.is-pinned .rail-track { will-change: transform; }
.rail .card { width: min(84vw, 27rem); scroll-snap-align: start; }
.rail-sec.is-pinned { padding-block: 0; }
.rail-sec.is-pinned .rail-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 1.5rem; }
.rail-sec.is-pinned .rail-head { margin-bottom: 1.5rem; width: 100%; }
.rail-sec.is-pinned .sec-head h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.6rem); }
.rail-sec.is-pinned .card > a { min-height: clamp(25rem, 58vh, 34rem); }
.cards-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.card { position: relative; perspective: 1000px; }
.card > a {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 34rem; padding: 1.5rem; text-decoration: none; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(170deg, var(--ink-3), var(--ink-2) 55%);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s;
}
.card > a::before { content: ''; position: absolute; inset: 0; background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, 0%), rgba(156, 195, 255, .1), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card > a:hover, .card > a:focus-visible { border-color: var(--line-2); }
.card > a:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--paper-2); font-size: .68rem; }
.card-status { display: inline-flex; align-items: center; gap: .45rem; text-align: right; }
.card-status.is-live { color: var(--signal); }
.card-status.is-live::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--signal); }
.plate { display: grid; gap: .5rem; margin: 2.75rem 0 2rem; max-width: none; }
.plate .num { font-size: clamp(3rem, 2.2rem + 2.4vw, 4.4rem); line-height: .92; color: var(--paper); }
.plate-l { color: var(--draft); font-size: .68rem; }
.card-body { display: grid; gap: .8rem; }
.card h3 { font-size: 1.5rem; }
.card-sum { color: var(--paper-2); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-client { font-size: .82rem; color: var(--paper-2); opacity: .8; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--paper-2); font-size: .68rem; }
.card-go { display: inline-flex; align-items: center; gap: .5rem; color: var(--paper); }
.card-go .arr { width: 1rem; transition: transform .4s var(--ease); }
.card > a:hover .card-go .arr { transform: translateX(5px); }
.card-preview { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card-preview {
    display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2;
    background: var(--prussian); border-top: 1px solid var(--draft);
    background-image: linear-gradient(rgba(156, 195, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .08) 1px, transparent 1px);
    background-size: 16px 16px; clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease);
  }
  .card-preview > .mono { color: var(--draft); font-size: .68rem; }
  .card-preview ol { list-style: none; counter-reset: s; display: grid; gap: .55rem; margin-top: .9rem; }
  .card-preview li { counter-increment: s; display: grid; grid-template-columns: 1.6rem 1fr; font-size: .86rem; line-height: 1.35; color: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
  .card-preview li::before { content: counter(s, decimal-leading-zero); font: 400 .62rem/1.9 var(--mono); color: var(--draft); }
  .card > a:hover .card-preview, .card > a:focus-visible .card-preview { clip-path: inset(0 0 0 0); }
  .card > a:hover .card-preview li, .card > a:focus-visible .card-preview li { opacity: 1; transform: none; }
  .card-preview li:nth-child(2) { transition-delay: .05s; } .card-preview li:nth-child(3) { transition-delay: .1s; } .card-preview li:nth-child(4) { transition-delay: .15s; } .card-preview li:nth-child(5) { transition-delay: .2s; }
}

/* ---------- Method ---------- */
.revs { list-style: none; display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .revs { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.revs li { border-top: 1px solid var(--line-2); padding-top: 1.5rem; }
.rev { display: inline-block; border: 1px solid var(--draft); color: var(--draft); padding: .3rem .55rem; margin-bottom: 1.75rem; font-size: .68rem; }
.revs h3 { font-size: 1.65rem; margin-bottom: .9rem; }
.revs p { color: var(--paper-2); margin: 0; }
.principles { display: grid; gap: 2rem 3rem; margin: clamp(3.5rem, 3rem + 2vw, 5rem) 0 0; padding: 2.5rem 0 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principles dt { font-family: var(--serif); font-size: 1.4rem; display: flex; gap: .75rem; align-items: baseline; }
.principles dt::before { content: '+'; font: 400 .9rem/1 var(--mono); color: var(--signal); }
.principles dd { margin: .5rem 0 0; color: var(--paper-2); padding-left: 1.4rem; }
.quote { margin: clamp(3.5rem, 3rem + 2vw, 5rem) 0 0; padding: 2.5rem 0 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.15; max-width: 30ch; margin: 0; }
.quote p::before { content: '\201C'; color: var(--draft); margin-right: .05em; }
.quote p::after { content: '\201D'; color: var(--draft); }
.quote figcaption { margin-top: 1.25rem; color: var(--paper-2); font-size: .95rem; max-width: 70ch; }

/* ---------- Career timeline ---------- */
.tl { position: relative; padding-left: 2.75rem; }
.tl ol { list-style: none; }
.tl-line { position: absolute; left: .55rem; top: .6rem; bottom: 3rem; width: 1px; background: var(--line); }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(var(--draft), var(--draft) 80%, var(--signal)); transform-origin: 50% 0; }
.tl-item { position: relative; padding-bottom: 3rem; }
.tl-dot { position: absolute; left: calc(-2.75rem + .55rem - 5px); top: .35rem; width: 11px; height: 11px; border: 1px solid var(--draft); background: var(--draft); transform: rotate(45deg); transition: background .4s, box-shadow .4s; }
.tl.is-armed .tl-item:not(.is-on) .tl-dot { background: var(--ink); }
.tl-item.is-now .tl-dot { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 14px rgba(255, 138, 42, .7); }
.tl.is-armed .tl-item.is-now:not(.is-on) .tl-dot { background: var(--ink); box-shadow: none; }
.tl-when { color: var(--draft); margin: 0 0 .6rem; display: flex; align-items: center; gap: .75rem; }
.tl-live { color: var(--signal); border: 1px solid currentColor; padding: .1rem .4rem; font-size: .64rem; }
.tl h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .75rem; }
.tl h3 span { color: var(--paper-2); }
.tl-item > p:last-child { color: var(--paper-2); margin: 0; max-width: 62ch; }
@media (min-width: 64rem) {
  .tl-item { display: grid; grid-template-columns: 15rem minmax(0, 1fr); column-gap: 3rem; }
  .tl-when { grid-row: 1 / span 2; padding-top: .35rem; align-items: flex-start; flex-direction: column; gap: .5rem; }
}
.tl-note { color: var(--paper-2); font-size: .95rem; margin: 0; }

/* ---------- Certifications: credential wall ---------- */
.cert-count { display: inline-block; font-size: .5em; vertical-align: super; color: var(--signal); margin-left: .15em; letter-spacing: 0; }
.creds { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.cred-gh { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); padding-bottom: .9rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line-2); }
.cred-gh .mono { color: var(--draft); }
.cred-list { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); }
.cred { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.25rem 1.25rem 1.1rem; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(11, 42, 92, .32), rgba(7, 11, 18, .1)); transition: border-color .4s, transform .5s var(--ease), background-color .4s; }
.cred::before { content: ''; position: absolute; left: -1px; top: -1px; width: .7rem; height: .7rem; border-top: 1px solid var(--draft); border-left: 1px solid var(--draft); }
.cred:hover { border-color: var(--line-2); transform: translateY(-3px); background-color: rgba(11, 42, 92, .25); }
.cred p { margin: 0; max-width: none; }
.cred-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; color: var(--draft); font-size: .66rem; }
.cred-top .tick { width: .95rem; height: .95rem; }
.cred.is-in .tick path { animation: draw-in .8s var(--ease) .3s backwards; }
.cred-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; color: var(--paper); }
.cred-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: auto !important; padding-top: .9rem; border-top: 1px dashed var(--line-2); color: var(--paper-2); font-size: .64rem; letter-spacing: .08em; }
.cred-id { text-transform: none; overflow-wrap: anywhere; word-break: break-all; color: var(--paper-2); opacity: .85; }
.cred-verify { display: inline-flex; align-items: center; gap: .35rem; color: var(--paper); flex: none; letter-spacing: .12em; }
.cred-verify .arr { width: .8rem; height: .8rem; }
.certs li { line-height: 1.55; }
.cert-id { font-size: .66rem; letter-spacing: .06em; text-transform: none; color: var(--paper-2); overflow-wrap: anywhere; }

/* ---------- CTA ---------- */
.cta-sec { padding-block: clamp(6rem, 4rem + 7vw, 11rem); overflow: hidden; }
.cta-sec::after { content: ''; position: absolute; right: -10vw; bottom: -20vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(27, 79, 156, .35), transparent); pointer-events: none; z-index: -1; }
.cta-h { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 6.4rem); max-width: 15ch; letter-spacing: -0.03em; font-weight: 320; }
.cta-p { color: var(--paper-2); font-size: 1.15rem; margin-top: 1.75rem; max-width: 52ch; }
.cta-mail { margin-top: 3rem; font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); max-width: none; overflow-wrap: anywhere; }

/* ---------- Case study ---------- */
.crumb { display: flex; gap: .8rem; color: var(--paper-2); margin-bottom: 2rem; }
.crumb a { color: var(--draft); }
.case-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 64rem) { .case-grid { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: 4rem; } }
.case-hero h1 { font-size: clamp(2.1rem, 1.2rem + 2.9vw, 4.2rem); max-width: 22ch; }
.plate-xl { margin: 0; padding: 1.5rem; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(11, 42, 92, .55), rgba(7, 11, 18, .2)); }
.plate-xl .num { font-size: clamp(3.4rem, 2rem + 4vw, 6rem); }
.facts { display: grid; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; border: 1px solid var(--line-2); }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts .tb-cell { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .facts .tb-cell:nth-child(odd) { border-right: 1px solid var(--line); } .facts .tb-cell:nth-last-child(-n + 2) { border-bottom: 0; } }
.facts dt { font: 500 .62rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--draft); }
.facts dd { margin: .35rem 0 0; font-size: .98rem; }
.prose p { color: #C9D3E0; }
.prose ul:not([class]) { list-style: none; display: grid; gap: .9rem; margin-top: 1.25rem; }
.prose ul:not([class]) li { position: relative; padding-left: 1.75rem; max-width: 70ch; color: #C9D3E0; }
.prose ul:not([class]) li::before { content: '+'; position: absolute; left: 0; top: .05em; font: 400 .95rem/1.6 var(--mono); color: var(--draft); }
.prose strong { color: var(--paper); font-weight: 600; }
.flow-h { font-size: 1.4rem; margin: 3rem 0 1.25rem; }
.flow { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .flow { grid-template-columns: repeat(5, 1fr); gap: .75rem; } }
.flow li { position: relative; display: grid; align-content: start; gap: .6rem; padding: 1rem; border: 1px solid var(--line-2); background: rgba(11, 42, 92, .3); font-size: .9rem; line-height: 1.4; }
.flow li .mono { color: var(--draft); }
@media (min-width: 48rem) { .flow li:not(:last-child)::after { content: ''; position: absolute; top: 1.45rem; left: 100%; width: .75rem; height: 1px; background: var(--draft); } }
.results { list-style: none; display: grid; gap: 2rem 2.5rem; }
@media (min-width: 48rem) { .results { grid-template-columns: repeat(2, 1fr); } }
.results li { border-top: 1px solid var(--paper-2); padding-top: 1rem; }
.results .num { display: block; font-size: clamp(2.4rem, 1.8rem + 1.8vw, 3.4rem); line-height: 1; color: var(--paper); }
.results span:last-child { color: var(--paper-2); font-size: .92rem; display: block; margin-top: .6rem; }
.stack { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.stack li { border: 1px solid var(--line-2); padding: .45rem .75rem; font: 400 .68rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-2); }
.links { list-style: none; display: grid; gap: .5rem; }
.next-sec .wrap { display: block; }
.next { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; text-decoration: none; padding: 2rem 0; border-block: 1px solid var(--line); }
.next-fig { font-size: clamp(2.6rem, 2rem + 2vw, 4rem); color: var(--signal); line-height: 1; }
.next-t { flex: 1 1 20rem; font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1.15; transition: color .3s; }
.next .arr { width: 2.5rem; height: 2.5rem; color: var(--draft); transition: transform .5s var(--ease); }
.next:hover .next-t { color: var(--draft); }
.next:hover .arr { transform: translateX(10px); }

/* ---------- Case study, long form: stakes, 0-to-100 arc, system drawing, result cards, before and after, previous and next ---------- */
.stakes { margin-top: 2.25rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line-2); border-left: 2px solid var(--draft); background: var(--draft-a); }
.stakes p { margin: 0; color: var(--paper); font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; }
.stakes p.mono { color: var(--draft); font-family: var(--mono); font-size: .64rem; margin-bottom: .6rem; }
.case-arc { margin-top: .5rem; }
.case-arc .arc-s > div > p { margin: 0; }
.case-arc .arc-when { color: var(--draft); font-size: .64rem; margin: .45rem 0 .3rem !important; }
.arc.is-now .arc-s.is-end .arc-n { border-color: var(--signal); background: var(--signal); }

.dwg { margin: 0; }
.dwg-sheet { position: relative; padding: clamp(1rem, .5rem + 2.5vw, 3rem) clamp(.5rem, 2.5vw, 3rem); border: 1px solid var(--line-2); background-color: var(--prussian-deep);
  background-image: linear-gradient(rgba(156, 195, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .07) 1px, transparent 1px),
    linear-gradient(rgba(156, 195, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px; background-position: center; }
.dg { display: block; width: 100%; height: auto; margin-inline: auto; overflow: visible; }
.dg-d { display: none; max-width: 64rem; }
.dg-m { max-width: 26rem; }
@media (min-width: 64rem) { .dg-d { display: block; } .dg-m { display: none; } }
.dg-bg { fill: rgba(11, 42, 92, .6); }
.k-ext .dg-bg { fill: rgba(7, 11, 18, .55); }
.dg-r { fill: none; stroke: var(--draft); stroke-width: 1.2; }
.k-ext .dg-r { stroke: var(--paper-2); }
.dg-r.is-dash { stroke-dasharray: 5 4; }
.dg-r2 { stroke-width: .8; opacity: .75; }
.k-out .dg-r { stroke: var(--paper); stroke-width: 1.6; }
.k-live .dg-r { stroke: var(--signal); }
.dg-lamp { fill: var(--signal); }
.dg-l { font: 500 15px var(--sans); fill: var(--paper); }
.dg-s { font: 400 10.5px var(--mono); letter-spacing: .06em; fill: #B4C3D8; }
.dg-e, .dg-a { fill: none; stroke: var(--draft); stroke-width: 1.2; }
.dg-e.is-dash { stroke-dasharray: 4 4; }
.dg-el { font: 400 9px var(--mono); letter-spacing: .08em; fill: var(--draft); }
.dg-z { fill: rgba(156, 195, 255, .03); stroke: var(--draft); stroke-width: 1; stroke-dasharray: 2 5; }
.dg-zb { fill: var(--prussian-deep); }
.dg-zl { font: 500 9.5px var(--mono); letter-spacing: .1em; fill: var(--draft); }
.dg .d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.dwg.is-in .dg .d { animation: draw-in 1.1s var(--ease) var(--t) backwards; }
.dwg.is-in .dg .f { animation: dg-fade .7s ease var(--t) backwards; }
@keyframes dg-fade { from { opacity: 0; } }
.dwg-cap { display: grid; gap: 1.5rem; margin-top: 1.25rem; }
.dwg-tb { display: flex; flex-wrap: wrap; border: 1px solid var(--line-2); color: var(--paper-2); font-size: .64rem; margin: 0; max-width: none; }
.dwg-tb span { flex: 1 1 auto; padding: .6rem .9rem; border-right: 1px solid var(--line); }
.dwg-tb span:first-child { color: var(--draft); }
.dwg-tb span:last-child { border-right: 0; }
.dg-key { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; color: var(--paper-2); font-size: .88rem; }
.dg-key li { display: inline-flex; align-items: center; gap: .6rem; }
.dg-sw { width: 1.75rem; height: 1.125rem; flex: none; overflow: visible; }
.dwg-cap .flow-h { margin: .5rem 0 0; }

.rcards { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.rcard { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem 1.4rem 1.4rem; border: 1px solid var(--line-2); background: linear-gradient(165deg, rgba(11, 42, 92, .45), rgba(7, 11, 18, .1)); }
.rcard::before { content: ''; position: absolute; left: -1px; top: -1px; width: .8rem; height: .8rem; border-top: 1px solid var(--draft); border-left: 1px solid var(--draft); }
.rcard .num { font-size: clamp(2.5rem, 2rem + 1.6vw, 3.4rem); line-height: 1; color: var(--paper); }
.rcard-l { color: var(--paper-2); font-size: .92rem; line-height: 1.5; padding-top: .9rem; border-top: 1px dashed var(--line-2); }
.ba { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); border: 1px solid var(--line); }
.ba-t { width: 100%; border-collapse: collapse; }
.ba-t caption { text-align: left; padding: .9rem 1rem; font: 500 .64rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--draft); border-bottom: 1px solid var(--line-2); }
.ba-t thead th { font: 500 .62rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-2); text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.ba-t tbody th, .ba-t td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.ba-t tbody tr:last-child > * { border-bottom: 0; }
.ba-t tbody th { font-weight: 500; color: var(--paper); width: 30%; }
.ba-t td { color: var(--paper-2); }
.ba-t td:last-child { color: var(--paper); font-family: var(--serif); font-size: 1.12rem; }
@media (max-width: 47.99rem) {
  .ba-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ba-t, .ba-t tbody, .ba-t tr, .ba-t th, .ba-t td { display: block; width: auto; }
  .ba-t tbody tr { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .ba-t tbody tr:last-child { border-bottom: 0; }
  .ba-t tbody th, .ba-t td { padding: 0; border: 0; }
  .ba-t caption { display: block; }
  .ba-t tbody th { margin-bottom: .5rem; width: auto; }
  .ba-t td { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .75rem; padding-block: .15rem; }
  .ba-t td::before { content: attr(data-l); font: 400 .6rem/2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--draft); }
}

.pn { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 48rem) { .pn { grid-template-columns: 1fr 1fr; } }
.pn-a { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: 2rem 0; background: var(--ink); text-decoration: none; }
@media (min-width: 48rem) { .pn-a { padding: 2.25rem 2rem 2.5rem 0; } .pn-next { padding: 2.25rem 0 2.5rem 2rem; align-items: flex-end; text-align: right; } }
.pn-k { color: var(--draft); }
.pn-a .next-t { flex: none; font-size: clamp(1.25rem, 1rem + .9vw, 1.8rem); }
.pn-a .arr { width: 2rem; height: 2rem; color: var(--draft); transition: transform .5s var(--ease); }
.pn-prev .arr { transform: scaleX(-1); }
.pn-a:hover .next-t, .pn-a:focus-visible .next-t { color: var(--draft); }
.pn-next:hover .arr { transform: translateX(8px); }
.pn-prev:hover .arr { transform: scaleX(-1) translateX(8px); }

/* Case cards: key metric and stack line */
.card-sum { -webkit-line-clamp: 3; }
.card-body { margin-bottom: 1.25rem; }
.card-stack ~ .card-foot { margin-top: 1.25rem; }
.card-key { display: flex; align-items: baseline; gap: .8rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.card-key .num { font-size: 1.9rem; line-height: 1; color: var(--draft); white-space: nowrap; }
.card-key > span:last-child { font-size: .84rem; line-height: 1.35; color: var(--paper-2); }
.card-stack { display: block; margin-top: .9rem; color: var(--paper-2); font-size: .6rem; letter-spacing: .08em; line-height: 1.7; }

/* ---------- Testimonials: quote cards, the home wall, grids on /about and case pages ---------- */
.qc figure { position: relative; height: 100%; margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem 1.4rem 1.25rem; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(11, 42, 92, .34), rgba(7, 11, 18, .1)); }
.qc figure::before { content: ''; position: absolute; left: -1px; top: -1px; width: .7rem; height: .7rem; border-top: 1px solid var(--draft); border-left: 1px solid var(--draft); }
.qc-press figure { border-style: dashed; background: rgba(7, 11, 18, .35); }
.qc-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; color: var(--paper-2); font-size: .62rem; max-width: none; }
.qc-src { display: inline-flex; align-items: center; gap: .45rem; color: var(--draft); }
.qc-src::before { content: ''; width: .4rem; height: .4rem; background: currentColor; }
.qc-press .qc-src { color: var(--paper-2); }
.qc-stars { display: inline-flex; gap: .2rem; }
.qc-stars svg { width: .78rem; height: .78rem; fill: var(--draft); }
.qc blockquote { margin: 0; }
.qc blockquote p { margin: 0; font-family: var(--serif); font-weight: 340; font-size: 1.3rem; line-height: 1.32; color: var(--paper); text-wrap: pretty; }
.qc blockquote p::before { content: '\201C'; color: var(--draft); }
.qc blockquote p::after { content: '\201D'; color: var(--draft); }
.qc.is-s blockquote p { font-size: 1.65rem; line-height: 1.2; }
.qc.is-l blockquote p { font-size: 1.12rem; line-height: 1.5; }
.qc-press blockquote p { font-style: italic; }
.qc-en { margin: 0; color: var(--paper-2); font-size: .9rem; line-height: 1.5; }
.qc-en .mono { display: block; color: var(--draft); font-size: .58rem; margin-bottom: .3rem; }
.qc figcaption { display: grid; gap: .3rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line-2); }
.qc-who { color: var(--paper); font-weight: 600; font-size: .95rem; justify-self: start; }
.qc-type { color: var(--paper-2); font-size: .6rem; letter-spacing: .1em; }
.qgrid { list-style: none; columns: 3 18rem; column-gap: 1rem; }
.qgrid > li { break-inside: avoid; margin-bottom: 1rem; }
.voices-top { display: grid; gap: 2.5rem; align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 64rem) { .voices-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
.voices-top .quote { margin: 0; padding: 0; border: 0; }
.qtags > p { color: var(--draft); margin: 0 0 .9rem; }
.qtags ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.qtags li { display: inline-flex; align-items: baseline; gap: .6rem; padding: .45rem .7rem; border: 1px solid var(--line-2); font-size: .9rem; color: var(--paper); }
.qtags li .mono { color: var(--draft); letter-spacing: .04em; }
.qwall { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding-block: .75rem 1.5rem; cursor: grab;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.qwall::-webkit-scrollbar { display: none; }
.qwall:focus-visible { outline-offset: -2px; }
.qwall.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.qwall-track { list-style: none; display: grid; grid-auto-flow: column; gap: 1rem; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
@media (min-width: 48rem) { .qwall-track { grid-template-rows: auto auto; } }
@media (max-width: 47.99rem) { .qwall-track { align-items: start; } }
.qwall .qc { scroll-snap-align: start; width: min(82vw, 23rem); }
.qwall-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.qwall-btns { display: flex; gap: .5rem; }
.qwall-btns .btn { min-height: 2.75rem; padding: 0 1.1rem; font-size: .66rem; }
.qwall-btns[hidden] { display: none; }

/* ---------- Press page ---------- */
.press-list { list-style: none; }
.press-list li { display: grid; gap: .4rem 2rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.press-list li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .press-list li { grid-template-columns: 3rem 14rem minmax(0, 1fr); } }
.press-no { color: var(--draft); padding-top: .4rem; }
.press-list .outlet { font-family: var(--serif); font-size: 1.5rem; margin: 0; line-height: 1.2; }
.press-list .meta { color: var(--paper-2); margin: .25rem 0 0; font-size: .68rem; }
.press-t { font-size: 1.08rem; line-height: 1.5; }
.press-list .gloss { color: var(--paper-2); margin: .5rem 0 0; }

/* ---------- CV, about, contact ---------- */
.roles { list-style: none; }
.roles > li { padding-block: 2rem; border-top: 1px solid var(--line); }
.roles .when { color: var(--draft); margin: 0 0 .6rem; }
.roles h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.roles > li > p { color: #C9D3E0; }
.plain { list-style: none; display: grid; gap: .85rem; }
.plain li { color: #C9D3E0; }
.plain strong { color: var(--paper); font-weight: 600; }
.story p { font-size: 1.1rem; line-height: 1.7; }
.story p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: var(--paper); font-weight: 340; }
.contact-email { font-family: var(--serif); font-size: clamp(1.9rem, 1rem + 3.8vw, 4.6rem); margin-top: 2.5rem; max-width: none; overflow-wrap: anywhere; line-height: 1.15; }

/* ---------- CV long form: role sheets, 0-to-100 arc, chips, recognition, certification table ---------- */
.cv-index { list-style: none; display: grid; column-gap: 2.5rem; border-top: 1px solid var(--line); margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 48rem) { .cv-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv-index a { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: .75rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--paper); transition: color .25s; }
.cv-index a:hover, .cv-index a:focus-visible { color: var(--draft); }
.cv-index .mono { color: var(--draft); font-size: .64rem; }
.cvi-t { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.cvi-pos { display: block; font-family: var(--sans); font-size: .82rem; color: var(--paper-2); margin-top: .2rem; }
.cv-index .cvi-when { color: var(--paper-2); white-space: nowrap; }
.cv-roles { list-style: none; display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.cvr { position: relative; padding: clamp(1.25rem, .9rem + 1.6vw, 2.75rem); border: 1px solid var(--line); background: linear-gradient(165deg, rgba(11, 42, 92, .3), rgba(7, 11, 18, .08)); scroll-margin-top: calc(var(--head) + 1rem); }
.cvr::before, .cvr::after { content: ''; position: absolute; width: .9rem; height: .9rem; border: 0 solid var(--draft); }
.cvr::before { left: -1px; top: -1px; border-top-width: 1px; border-left-width: 1px; }
.cvr::after { right: -1px; bottom: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.cvr-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; color: var(--draft); font-size: .64rem; margin: 0 0 1.5rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--line-2); max-width: none; }
.cvr-top .tl-live { color: var(--signal); margin-left: .5rem; }
.cvr-grid { display: grid; gap: 2.25rem; }
@media (min-width: 64rem) { .cvr-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; } }
.cvr-h { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.3rem); line-height: 1.12; }
.cvr-h > span { display: block; font-size: .6em; color: var(--paper-2); margin-top: .5rem; letter-spacing: 0; }
.cvr-where { color: var(--paper-2); font-size: .64rem; margin: 1rem 0 0; }
.cvr-sum { color: #C9D3E0; margin: 1.1rem 0 0; }
.cvr-dh { color: var(--draft); font-size: .64rem; margin: 1.75rem 0 .85rem; font-weight: 500; }
.cvr-arc .cvr-dh { margin-top: 0; }
.chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.25rem), 1fr)); gap: .5rem; }
.chips li { display: flex; flex-direction: column; gap: .35rem; padding: .65rem .75rem .7rem; border: 1px solid var(--line-2); background: rgba(7, 11, 18, .45); }
.chips .mono { font-size: .56rem; color: var(--draft); letter-spacing: .1em; }
.chips strong { font-family: var(--serif); font-weight: 400; font-size: 1.04rem; line-height: 1.2; color: var(--paper); }
.arc { list-style: none; position: relative; }
.arc-s { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-bottom: 1.1rem; }
.arc-s::before { content: ''; position: absolute; left: 1.5rem; top: 1.9rem; bottom: 0; width: 1px; background: var(--line-2); }
.arc-s.is-end::before { display: none; }
.arc-n { display: grid; place-items: center; height: 1.9rem; border: 1px solid var(--line-2); background: var(--ink); color: var(--draft); font-size: .62rem; letter-spacing: .06em; position: relative; z-index: 1; }
.arc-s p { margin: .25rem 0 0; color: #C9D3E0; max-width: 70ch; }
.arc-k { color: var(--paper); font-weight: 600; }
.arc-s.is-start .arc-n { border-color: var(--draft); }
.arc-s.is-end .arc-n { border-color: var(--draft); background: var(--draft); color: var(--ink); font-weight: 500; }
.cvr.is-now .arc-s.is-end .arc-n { border-color: var(--signal); background: var(--signal); }
.arc-s.is-end p { color: var(--paper); }
.cvr-details { display: grid; gap: 0 2.5rem; margin-top: 2rem; padding-top: .25rem; border-top: 1px solid var(--line); }
@media (min-width: 64rem) { .cvr-details { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }
.cvr-details .prose ul:not([class]) { margin-top: 0; gap: .7rem; }
.cvr-details .prose li { font-size: .95rem; }
.rec-list { margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.rec-list .cred-top span:last-child { color: var(--paper-2); }
.rec-p { color: var(--paper-2); font-size: .92rem; line-height: 1.55; }
.cred.is-context { border-style: dashed; background: none; }
.cv-sub { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); padding-bottom: .9rem; margin-bottom: .25rem; border-bottom: 1px solid var(--line-2); }
.cv-press { list-style: none; }
.cv-press li { display: grid; gap: .3rem 1.5rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .cv-press li { grid-template-columns: 2.25rem 13rem minmax(0, 1fr); align-items: baseline; } }
.cvp-n { color: var(--draft); font-size: .64rem; }
.cvp-o { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.cvp-o .mono { display: block; font-family: var(--mono); font-size: .6rem; color: var(--paper-2); margin-top: .2rem; }
.cvp-t { color: #C9D3E0; line-height: 1.5; overflow-wrap: anywhere; }
.ct-wrap { border: 1px solid var(--line); }
.ct { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ct thead th { font: 500 .62rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--draft); text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line-2); }
.ct-g th { text-align: left; padding: 1.4rem 1rem .6rem; font: 400 1.25rem/1.2 var(--serif); color: var(--paper); border-bottom: 1px solid var(--line-2); }
.ct-g .mono { color: var(--draft); font-size: .64rem; margin-left: .5rem; }
.ct tbody tr:not(.ct-g) th, .ct td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: baseline; text-align: left; }
.ct tbody tr:not(.ct-g) th { font-weight: 500; color: var(--paper); }
.ct td { color: #C9D3E0; }
.ct .ct-id { font-size: .64rem; letter-spacing: .04em; text-transform: none; color: var(--paper-2); overflow-wrap: anywhere; word-break: break-all; max-width: 16rem; }
.ct .ct-v { white-space: nowrap; }
.ct tbody tr:not(.ct-g):hover { background: rgba(11, 42, 92, .22); }
@media (max-width: 55.99rem) {
  .ct thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ct, .ct tbody, .ct tr, .ct th, .ct td { display: block; }
  .ct tbody tr:not(.ct-g) { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .ct tbody tr:not(.ct-g) th, .ct td { padding: 0; border: 0; }
  .ct tbody tr:not(.ct-g) th { margin-bottom: .45rem; }
  .ct td { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .75rem; font-size: .88rem; padding-block: .12rem; }
  .ct td[data-l]::before { content: attr(data-l); font: 400 .6rem/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--draft); }
  .ct .ct-id { max-width: none; }
  .ct .ct-v { margin-top: .5rem; }
}

/* ---------- Footer: drawing title block ---------- */
.site-foot { position: relative; padding-block: 3rem 3.5rem; border-top: 1px solid var(--line); background: var(--ink); }
.tb { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-2); }
@media (min-width: 48rem) { .tb { grid-template-columns: 2fr repeat(4, 1fr); } }
.tb-cell { padding: .9rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--paper); font-size: .7rem; }
.tb-cell span { display: block; color: var(--draft); font-size: .64rem; margin-bottom: .3rem; }
.tb-wide { grid-column: span 2; }
@media (min-width: 48rem) { .tb-wide { grid-column: auto; } .tb-cell { border-bottom: 0; } .tb-cell:last-child { border-right: 0; } }
.foot-grid { display: grid; gap: 1.5rem; margin-top: 2rem; color: var(--paper-2); font-size: .92rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }
.foot-grid p { margin: 0; }
.foot-grid ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Custom cursor (fine pointers only, enabled by JS) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; transform: translate3d(-200px, -200px, 0); }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .seam-hit { cursor: none; }
.cursor-ring { position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; border: 1px solid rgba(233, 238, 245, .8); border-radius: 50%; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, opacity .3s; }
.cursor-ring::before, .cursor-ring::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--draft); transition: opacity .2s; }
.cursor-ring::before { width: 1px; height: .5rem; margin: -.25rem 0 0 -.5px; }
.cursor-ring::after { width: .5rem; height: 1px; margin: -.5px 0 0 -.25rem; }
.cursor.is-link .cursor-ring { width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-color: var(--draft); background: rgba(156, 195, 255, .08); }
.cursor.has-label .cursor-ring { width: 5.6rem; height: 5.6rem; margin: -2.8rem 0 0 -2.8rem; background: var(--signal); border-color: var(--signal); }
.cursor.has-label .cursor-ring::before, .cursor.has-label .cursor-ring::after { opacity: 0; }
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font: 500 .6rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.is-out .cursor-ring, .cursor.is-out .cursor-label { opacity: 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 300; transform: translate(-50%, 160%); background: var(--paper); color: var(--ink); padding: .9rem 1.2rem; display: flex; align-items: center; gap: .6rem; transition: transform .5s var(--ease); max-width: calc(100vw - 2rem); pointer-events: none; }
.toast:empty { padding: 0; }
.toast.show { transform: translate(-50%, 0); }
.toast::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--signal); flex: none; }
.toast:empty::before { display: none; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-16px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(24px); clip-path: inset(8% 0 0 0); } }

/* ---------- Reduced motion: everything lands in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .seam, .crop { transform: none !important; }
}

@media print {
  .site-head, .ctas, .foot-grid ul, .skip, .atmos, .progress, .preloader, .cursor, .toast, .marquee-sec, .portrait { display: none !important; }
  body, html, .site-foot, .pipe-sec { background: #fff; color: #000; }
  main { padding-top: 0; }
  .split .w > span { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  main * { color: #111 !important; background: transparent !important; border-color: #bbb !important; }
  .cred, .chips li, .arc-s, .ct tr, .cvr-d { break-inside: avoid; }
  .sec { padding-block: 1.5rem; }
}
