/* adnandekedek.com, built from the Adnan Dekedek brand system.
   One memorable thing per view: the hand-drawn signature. Everything else stays quiet:
   an editorial column on a dot-grid ground, Archivo set wide, mono only for data. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-VF.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-VF.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  --ground: #F5F7FB; --surface: #FFFFFF; --surface-sunk: #EAEFF6; --line: #DCE2EC; --line-strong: #7D8AA3;
  --ink: #0A1222; --ink-muted: #45516A; --ink-faint: #5E6A82;
  --signal: #1F5BEA; --signal-fill: #2B65F5; --on-signal: #FFFFFF; --signal-soft: #E4ECFF;
  --ion: #00789A; --spark: #A35F00; --focus: #1F5BEA;
  --midnight: #070B14; --midnight-2: #0D1422; --paper: #EDF1F8; --brand-signal: #2F6BFF;
  --dot: #CCD4E1; --dot-hot: #2F6BFF;
  --shadow: 0 1px 0 #0a122208, 0 18px 40px -22px #0a122240;
  --glow: #2f6bff1f;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-full: 999px;
  --gutter: 64px; --section: 120px; --content: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #070B14; --surface: #0D1422; --surface-sunk: #04070D; --line: #1C2740; --line-strong: #56688C;
    --ink: #EDF1F8; --ink-muted: #A3AEC3; --ink-faint: #8290AA;
    --signal: #6B9BFF; --signal-fill: #2B65F5; --signal-soft: #0E1D3D; --ion: #5CE1FF; --spark: #FFB547; --focus: #5CE1FF;
    --dot: #1A2338; --dot-hot: #5CE1FF; --shadow: 0 1px 0 #ffffff08, 0 24px 48px -24px #000000d0; --glow: #5ce1ff17;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #070B14; --surface: #0D1422; --surface-sunk: #04070D; --line: #1C2740; --line-strong: #56688C;
  --ink: #EDF1F8; --ink-muted: #A3AEC3; --ink-faint: #8290AA;
  --signal: #6B9BFF; --signal-fill: #2B65F5; --signal-soft: #0E1D3D; --ion: #5CE1FF; --spark: #FFB547; --focus: #5CE1FF;
  --dot: #1A2338; --dot-hot: #5CE1FF; --shadow: 0 1px 0 #ffffff08, 0 24px 48px -24px #000000d0; --glow: #5ce1ff17;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background-color: var(--ground); background-image: radial-gradient(var(--dot) 1.1px, transparent 1.2px); background-size: 24px 24px; background-position: -12px -12px; color: var(--ink); font: 400 17px/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
p, ul, ol, dl, dd, figure, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-sans); font-stretch: 116%; text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
::selection { background: var(--signal-soft); color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* ------------------------------------------------------------------ type */
.display-xl { font-size: clamp(42px, 6vw, 80px); line-height: .98; font-weight: 720; letter-spacing: -.03em; }
.display-l { font-size: clamp(32px, 4vw, 50px); line-height: 1.03; font-weight: 700; letter-spacing: -.022em; }
.display-m { font-size: clamp(26px, 2.7vw, 34px); line-height: 1.1; font-weight: 680; letter-spacing: -.016em; }
.title { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -.008em; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--ink-muted); max-width: 58ch; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--ink-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--font-mono); letter-spacing: .02em; color: var(--ink-faint); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--signal); }
.card-label { font: 500 12.5px/1.35 var(--font-mono); color: var(--ink-faint); letter-spacing: .01em; }
.sub { font: 600 13px/1.3 var(--font-sans); font-stretch: 100%; letter-spacing: .01em; color: var(--ink-faint); }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 66ch; }
.prose p { color: var(--ink-muted); }
.prose .lead { color: var(--ink); }

/* ------------------------------------------------------------------ links and buttons */
.arr { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--signal); width: fit-content; }
.text-link:hover .arr, .btn:hover .arr { transform: translateX(3px); }
.text-link:hover .arr--ne, .btn:hover .arr--ne { transform: translate(2px, -2px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font: 600 15.5px/1 var(--font-sans); padding: 0 20px; border-radius: var(--r-full); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg:not(.arr) { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.btn--primary { background: var(--signal-fill); color: var(--on-signal); }
.btn--primary:hover { background: var(--brand-signal); }
.btn--secondary { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn--secondary:hover { border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.linklike { all: unset; color: var(--signal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lockup svg { height: 34px; width: auto; fill: currentColor; }
.lockup span:not(.vh) { font: 650 17px/1 var(--font-sans); font-stretch: 116%; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-full); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-sunk); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-sunk); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.toggle { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface); }
.toggle button { all: unset; cursor: pointer; display: grid; place-items: center; width: 32px; height: 30px; border-radius: var(--r-full); color: var(--ink-faint); }
.toggle button[aria-pressed="true"] { background: var(--signal-soft); color: var(--signal); }
.toggle button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.toggle svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { all: unset; display: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-full); place-items: center; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; overflow: visible; }
.menu-btn path { transition: transform .25s var(--ease); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .m1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .m2 { transform: translateY(-4px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section--sunk { background: var(--surface-sunk); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-intro { color: var(--ink-muted); max-width: 54ch; }
.section-head .section-intro { justify-self: end; }
.section-cta { margin-top: 48px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-block: 72px 112px; overflow: hidden; isolation: isolate; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s; }
.field.is-on { opacity: 1; }
.home .hero { background: linear-gradient(180deg, transparent 75%, var(--ground)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero h1 { max-width: 14ch; font-size: clamp(42px, 5.6vw, 78px); }
.roles { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; font: 500 15px/1 var(--font-mono); color: var(--ink-faint); }
.roles li { padding: 8px 12px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); transition: color .35s, border-color .35s, background-color .35s; }
.roles li.is-on { color: var(--signal); border-color: var(--signal); background: var(--signal-soft); }
.context { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-muted); }
.live-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--ion); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ion) 18%, transparent); flex: none; }
.hero-portrait { justify-self: end; width: 100%; max-width: 440px; }
.hero-portrait .frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #9a9a9a; box-shadow: var(--shadow); }
.portrait-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.04); animation: settle 1.4s var(--ease) both; }
.hero-portrait .frame::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, #070b1499); pointer-events: none; }
.sig--hero { position: absolute; z-index: 1; left: 6%; bottom: 5%; width: 46%; height: auto; filter: drop-shadow(0 2px 8px #0008); }
.sig--hero .sig-fill { fill: #F5F7FB; }
@keyframes settle { from { transform: scale(1.12); opacity: .6; } to { transform: scale(1.04); opacity: 1; } }

/* The signature: masks drawn along the strokes, under a second. */
.sig-fill { fill: var(--ink); }
.sig-mask path { fill: none; stroke: #fff; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--d) cubic-bezier(.45, .05, .35, 1) var(--t) forwards; }
.sig-mask .s1 { --d: .26s; --t: .25s; }
.sig-mask .s2 { --d: .36s; --t: .5s; }
.sig-mask .s3 { --d: .1s; --t: .88s; }
.sig-mask .s4 { --d: .12s; --t: .98s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------------ organizations band */
.orgs { padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); }
.orgs-label { font: 500 13px/1 var(--font-mono); color: var(--ink-faint); margin-bottom: 16px; }
.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; padding: 0; display: flex; flex: none; gap: 56px; padding-right: 56px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { font: 600 clamp(19px, 2vw, 24px)/1.2 var(--font-sans); font-stretch: 112%; letter-spacing: -.01em; color: var(--ink-muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track li::after { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--line-strong); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ spotlight surfaces */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* ------------------------------------------------------------------ selected work */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.work-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.work-card:focus-within { border-color: var(--signal); }
.wc-visual { position: relative; aspect-ratio: 16 / 9; background: var(--surface-sunk); border-bottom: 1px solid var(--line); overflow: hidden; display: grid; }
.wc-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .wc-visual img { transform: scale(1.04); }
.wc-visual--shot img { object-position: top left; }
.wc-visual--facts, .wc-visual--ventures { place-items: center; padding: 28px; background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 14px 14px; }
.credit { font: 500 11.5px/1.3 var(--font-mono); color: var(--ink-faint); }
.wc-visual .credit { position: absolute; right: 10px; bottom: 8px; color: #fff; background: #070b1499; padding: 4px 8px; border-radius: var(--r-full); }
.wc-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; flex: 1; }
.wc-body p:not(.card-label) { color: var(--ink-muted); font-size: 16px; }
.wc-body .text-link { margin-top: auto; padding-top: 8px; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r-lg); }

.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.facts-row div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.facts-row dd { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--font-sans); font-stretch: 116%; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts-row dt { font-size: 13.5px; line-height: 1.35; color: var(--ink-muted); }
.facts-row--stack { grid-template-columns: minmax(0, 1fr); }
.facts-row--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts-row--stack.facts-row--n2 { grid-template-columns: minmax(0, 1fr); }
.ed--row { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); align-items: baseline; padding: 12px 16px; }
.ed--row .ed-name { font: 500 12.5px/1.3 var(--font-mono); color: var(--ink-faint); }
.ed-val { font-weight: 600; font-size: 15px; }
.note { font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); padding: 12px 16px; border-left: 2px solid var(--ion); background: var(--surface-sunk); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.highlights { padding-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.hl-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hl-list li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); font-size: 16.5px; line-height: 1.5; border-top: 3px solid var(--signal-fill); }
.editions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.ed-name { font-weight: 650; font-size: 15px; }
.ed-nums { display: flex; gap: 14px; font-size: 13.5px; color: var(--ink-muted); justify-self: end; }
.ed-nums b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ed-pilots { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-muted); }
.ed-pilots i { width: 14px; height: 14px; border-radius: var(--r-full); background: var(--signal-fill); box-shadow: 0 0 0 3px var(--signal-soft); }
.ed-pilots span { margin-left: 8px; }
.editions .credit { align-self: flex-end; position: static; background: none; color: var(--ink-faint); padding: 0; }
.ventures { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.ventures ol { list-style: none; padding: 0; display: flex; gap: 14px; }
.ventures li { width: clamp(34px, 4.4vw, 52px); aspect-ratio: 1; border-radius: var(--r-full); border: 2px dashed var(--line-strong); }
.ventures li.on { border: 0; background: var(--signal-fill); box-shadow: 0 0 0 6px var(--signal-soft); }
.vd-cap .key { margin-left: 8px; }
.vd-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-size: 13.5px; color: var(--ink-muted); text-align: center; }
.key { width: 10px; height: 10px; border-radius: var(--r-full); border: 1.5px dashed var(--line-strong); display: inline-block; }
.key.on { background: var(--signal-fill); border: 0; }

/* Program moments */
.moments-wrap { margin-top: 72px; }
.moments-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.moments { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 128px; gap: 12px; }
.moment { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-sunk); }
.moment a { display: block; height: 100%; }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.9); }
.moment:hover img, .moment:focus-within img { transform: scale(1.05); filter: saturate(1.05); }
.moment figcaption { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 4px; padding: 40px 14px 12px; color: #fff; font-size: 13.5px; line-height: 1.35; background: linear-gradient(180deg, transparent, #070b14d9); pointer-events: none; }
.moment figcaption .credit { color: #ffffffb3; }
.m0 { grid-column: span 6; grid-row: span 4; } .m1, .m2 { grid-column: span 3; grid-row: span 2; } .m3, .m4, .m5 { grid-column: span 2; grid-row: span 2; }
.m3 figcaption > span:first-child, .m4 figcaption > span:first-child, .m5 figcaption > span:first-child { display: none; }
.m3:hover figcaption > span:first-child, .m4:hover figcaption > span:first-child, .m5:hover figcaption > span:first-child,
.m3:focus-within figcaption > span:first-child, .m4:focus-within figcaption > span:first-child, .m5:focus-within figcaption > span:first-child { display: block; }

/* ------------------------------------------------------------------ expertise */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.area { display: flex; flex-direction: column; gap: 12px; padding: 36px 40px 40px 0; border-bottom: 1px solid var(--line); }
.area:nth-child(even) { padding: 36px 0 40px 40px; border-left: 1px solid var(--line); }
.area p { color: var(--ink-muted); max-width: 52ch; }
.area .text-link { margin-top: 4px; }

/* ------------------------------------------------------------------ built with AI */
.tool { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .2s, opacity .25s, transform .25s var(--ease); }
.tool:hover { border-color: var(--line-strong); }
.tool p:not(.card-label) { color: var(--ink-muted); font-size: 15.5px; }
.tool .text-link { margin-top: auto; }
.tool-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tool--featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; padding: 0; overflow: hidden; margin-bottom: 40px; }
.tool-shot { background: var(--midnight); padding: 28px 0 0 28px; overflow: hidden; }
.tool-shot img { border-radius: 10px 0 0 0; box-shadow: 0 0 0 1px #ffffff1a; object-fit: cover; object-position: top left; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.tool--featured:hover .tool-shot img { transform: translate(-6px, -6px); }
.tool-body { display: flex; flex-direction: column; gap: 14px; padding: 36px; }
.tool-body p:not(.card-label) { font-size: 16.5px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-grid .tool:nth-child(4), .tool-grid .tool:nth-child(5) { grid-column: span 1; }
.tool.is-hidden { display: none; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: var(--r-full); background: var(--surface-sunk); color: var(--ink-muted); }
.status { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--font-mono); padding: 6px 10px 6px 8px; border-radius: var(--r-full); border: 1px solid var(--line); color: var(--ink-muted); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); }
.status--live { color: var(--ion); border-color: color-mix(in srgb, var(--ion) 40%, transparent); }
.status--live::before { background: var(--ion); }
.status--phase::before { background: linear-gradient(90deg, var(--signal) 50%, transparent 50%); border: 1.5px solid var(--signal); }
.status--dev::before { border: 1.5px dashed var(--ink-faint); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.filters { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface); }
.filters button { all: unset; cursor: pointer; min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--r-full); font-size: 14.5px; font-weight: 550; color: var(--ink-muted); transition: background-color .2s, color .2s; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.filters button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.filter-count { font: 500 13px/1 var(--font-mono); color: var(--ink-faint); }

/* ------------------------------------------------------------------ method */
.method { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.method-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
.method-example { margin-top: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--midnight); color: var(--paper); display: flex; flex-direction: column; gap: 10px; animation: rise .35s var(--ease); }
.method-example .ex-src { font: 500 12.5px/1 var(--font-mono); color: #8FB0FF; }
.method-example .ex-text { font-size: 17px; line-height: 1.5; }
.method-example .text-link { color: #9DBBFF; }
.steps { list-style: none; padding: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1.5px; background: var(--line); }
.step { position: relative; padding: 0 0 36px 76px; display: flex; flex-direction: column; gap: 8px; }
.step:last-child { padding-bottom: 0; }
.step-btn { all: unset; cursor: pointer; display: flex; align-items: center; gap: 20px; margin-left: -76px; }
.step-n { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r-full); border: 1.5px solid var(--line-strong); background: var(--ground); font: 600 14px/1 var(--font-mono); color: var(--ink-muted); transition: all .25s var(--ease); }
.step-h { font-size: clamp(24px, 2.4vw, 30px); font-weight: 680; font-stretch: 116%; letter-spacing: -.015em; }
.step-btn:hover .step-n { border-color: var(--signal); color: var(--signal); }
.step-btn[aria-pressed="true"] .step-n { background: var(--signal-fill); border-color: var(--signal-fill); color: #fff; box-shadow: 0 0 0 6px var(--signal-soft); }
.step-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r-full); }
.step p { color: var(--ink-muted); max-width: 48ch; }
.step-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; text-decoration: none; width: fit-content; }
.js .step-link { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ career snapshot */
.snapshot { display: flex; flex-direction: column; gap: 16px; }
.snap-label { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--font-mono); color: var(--ink-faint); }
.role-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; position: relative; }
.role-cards::after { content: "+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-full); background: var(--ground); border: 1px solid var(--line); font: 500 18px/1 var(--font-mono); color: var(--ink-faint); }
.role-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; border-top: 3px solid var(--ion); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.earlier { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.earlier li { border-bottom: 1px solid var(--line); }
.earlier a { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px 0; text-decoration: none; color: var(--ink); align-items: baseline; }
.earlier a:hover strong { color: var(--signal); }
.earlier span:not(.muted) { color: var(--ink-muted); }
.earlier .muted { margin-left: auto; font: 500 13px/1.4 var(--font-mono); color: var(--ink-faint); }

/* ------------------------------------------------------------------ now */
.now { padding-block: 0 var(--section); }
.now-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 24px 40px; align-items: center; }
.now-inner > * { min-width: 0; }
.now-inner { position: relative; }
.now .wrap > p { color: var(--ink-muted); }
.now-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.now-dot { width: 10px; height: 10px; border-radius: var(--r-full); background: var(--spark); box-shadow: 0 0 0 0 color-mix(in srgb, var(--spark) 50%, transparent); animation: beat 2.6s ease-out infinite; }
.now-head .small { flex-basis: 100%; font-family: var(--font-mono); font-size: 13px; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--spark) 50%, transparent); } 80%, 100% { box-shadow: 0 0 0 12px transparent; } }
.now .wrap { padding-block: 32px; }
.now-inner::before { content: ""; position: absolute; inset: 0 var(--gutter); border: 1px dashed color-mix(in srgb, var(--spark) 55%, var(--line)); border-radius: var(--r-lg); pointer-events: none; }
.now-inner { padding-inline: calc(var(--gutter) + 32px); }

/* ------------------------------------------------------------------ contact */
.contact { position: relative; overflow: hidden; background: var(--midnight); color: var(--paper); padding-block: 120px; isolation: isolate; }
.contact h2 { color: #fff; max-width: 15ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy p { color: #C3CCDD; max-width: 54ch; }
.contact .muted { color: #8C99B3; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.email-block { display: flex; flex-direction: column; gap: 18px; }
.email-big { font: 650 clamp(22px, 2.6vw, 34px)/1.1 var(--font-sans); font-stretch: 110%; letter-spacing: -.015em; color: #fff; text-decoration: none; word-break: break-all; background: linear-gradient(#5CE1FF, #5CE1FF) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .35s var(--ease); width: fit-content; }
.email-big:hover { background-size: 100% 2px; }
.contact .btn--secondary { color: #fff; border-color: #56688C; }
.contact .btn--secondary:hover { border-color: #fff; }
.copy-status { min-height: 1.4em; font: 500 13px/1.4 var(--font-mono); color: #5CE1FF; }
.contact .sig--contact { position: absolute; right: -40px; top: -60px; width: 520px; max-width: 60vw; height: auto; z-index: -1; opacity: .07; }
.contact .sig--contact .sig-fill { fill: #fff; }
.contact .sig--contact .sig-mask path { animation: none; stroke-dashoffset: 0; }
.contact :focus-visible { outline-color: #5CE1FF; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-sunk); padding-block: 56px 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.foot-id { display: flex; flex-direction: column; gap: 10px; }
.foot-id .lockup { margin-bottom: 8px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.foot-nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; width: fit-content; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-muted); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-faint); }
.to-top { color: var(--ink-muted); }

/* ------------------------------------------------------------------ inner page heads */
.page-head { padding-block: 80px 64px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 24px; }
.page-head .lead { max-width: 62ch; }
.jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 550; transition: border-color .2s; }
.jump:hover { border-color: var(--signal); color: var(--signal); }
.closing-band { display: flex; flex-direction: column; gap: 24px; padding-block: 96px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.closing-band .lead { color: var(--ink); max-width: 46ch; }

/* ------------------------------------------------------------------ career */
.scope { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: 32px; padding-block: 32px; border-block: 1px solid var(--line); }
.scope > div { display: flex; flex-direction: column; gap: 12px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 14px; padding: 8px 12px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--ink-muted); }
.chips--soft li { background: var(--signal-soft); border-color: transparent; color: var(--signal); }
.timeline { margin-block: 56px 16px; display: flex; flex-direction: column; gap: 14px; }
.timeline figcaption { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-muted); }
.timeline figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.k { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.k--employed { background: var(--signal-fill); }
.k--venture { background: var(--ion); }
.tl-scroll { overflow-x: auto; }
.tl-svg { width: 100%; min-width: 640px; height: auto; overflow: visible; }
.tl-grid line { stroke: var(--line); stroke-width: 1; }
.tl-grid line.now { stroke: var(--spark); stroke-dasharray: 3 4; }
.tl-grid text { font: 500 12px var(--font-mono); fill: var(--ink-faint); }
.tl-bar rect { transition: opacity .2s, transform .2s; }
.tl-bar--employed rect { fill: var(--signal-fill); }
.tl-bar--venture rect { fill: var(--ion); }
.tl-bar text { font: 600 13px var(--font-sans); fill: #fff; pointer-events: none; }
.tl-bar--venture text { fill: #04212B; }
.tl-svg:hover .tl-bar rect, .tl-svg.has-focus .tl-bar rect { opacity: .35; }
.tl-svg .tl-bar:hover rect, .tl-svg .tl-bar.is-on rect, .tl-bar:focus-visible rect { opacity: 1; }
.tl-bar:focus-visible { outline: none; }
.tl-bar:focus-visible rect { stroke: var(--focus); stroke-width: 3; }
.role-list { display: flex; flex-direction: column; }
.role { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding-block: 56px; border-top: 1px solid var(--line); transition: background-color .3s; }
.role.is-on { background: linear-gradient(90deg, var(--glow), transparent 70%); }
.role-meta-col { display: flex; flex-direction: column; gap: 10px; align-self: start; position: sticky; top: 104px; }
.role-dates { font: 500 13.5px/1.3 var(--font-mono); color: var(--ink-faint); }
.badge { display: inline-flex; width: fit-content; align-items: center; gap: 6px; font: 600 12.5px/1 var(--font-mono); padding: 6px 10px; border-radius: var(--r-full); color: var(--ion); border: 1px solid color-mix(in srgb, var(--ion) 40%, transparent); }
.role-body { display: flex; flex-direction: column; gap: 14px; }
.role-intro { font-size: 18.5px; line-height: 1.55; color: var(--ink); }
.dash, .results ul, .more-body ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dash li, .results li, .more-body li { position: relative; padding-left: 24px; color: var(--ink-muted); }
.dash li::before, .more-body li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 12px; height: 1.5px; background: var(--signal); }
.results { margin-top: 10px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface-sunk); display: flex; flex-direction: column; gap: 10px; }
.results li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: var(--r-full); border: 1.5px solid var(--ion); }
.more { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.more summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 20px; font-weight: 600; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font: 400 22px/1 var(--font-mono); color: var(--signal); transition: transform .25s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more-body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.two-col > div { display: flex; flex-direction: column; gap: 12px; }
.list-plain { list-style: none; padding: 0; display: flex; flex-direction: column; }
.list-plain li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); align-items: baseline; }
.list-plain li:last-child { border-bottom: 1px solid var(--line); }
.list-plain .yr { font: 500 13px/1 var(--font-mono); color: var(--ink-faint); }
.list-plain small { display: block; color: var(--ink-muted); font-size: 14.5px; }

/* ------------------------------------------------------------------ programs */
.filter-row--sticky { position: sticky; top: 80px; z-index: 5; padding-block: 12px; margin-bottom: 8px; background: color-mix(in srgb, var(--ground) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.filter-empty { padding: 32px 0; color: var(--ink-muted); }
.prog-group { padding-block: 56px 24px; }
.pg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.pg-head .muted { font: 500 13.5px/1.3 var(--font-mono); }
.prog { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-block: 44px; border-bottom: 1px solid var(--line); animation: rise .35s var(--ease); }
.prog:not(:has(.pe-img)) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.prog.is-hidden, .prog-group.is-hidden { display: none; }
.prog-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.prog-main .title { font-size: clamp(22px, 2.2vw, 27px); margin-bottom: 8px; }
.prog-main .sub { margin-top: 8px; }
.contrib { font-size: 18px; line-height: 1.55; color: var(--ink); }
.prog-main > p:not(.card-label):not(.contrib) { color: var(--ink-muted); }
.prog-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.sources { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.sources a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 550; text-decoration: none; }
.sources a:hover { text-decoration: underline; }
.pe-img { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-sunk); align-self: start; aspect-ratio: 4 / 3; }
.pe-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prog:hover .pe-img img { transform: scale(1.03); }
.pe-img figcaption { position: absolute; left: 10px; bottom: 10px; color: #fff; background: #070b14a6; padding: 4px 8px; border-radius: var(--r-full); }
.pe-img--facts { aspect-ratio: auto; padding: 20px; display: grid; place-items: center; background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 14px 14px; border: 1px solid var(--line); }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; padding: 14px 16px 6px; font-weight: 600; font-size: 14px; color: var(--ink-faint); }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--ink-muted); background: var(--surface-sunk); }
.compare td { font-variant-numeric: tabular-nums; }
.compare tbody th a { font-weight: 650; }

/* ------------------------------------------------------------------ about */
.about-grid { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.about-grid > div { display: flex; flex-direction: column; gap: 24px; }
.about-portrait { border-radius: var(--r-lg); overflow: hidden; background: #9a9a9a; justify-self: end; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.about-shot { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; text-decoration: none; max-width: 520px; }
.about-shot img { border-radius: var(--r-md); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.about-shot:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ Training Control Center */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); max-width: 760px; }
.facts div { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 0; }
.facts dt { font: 500 12.5px/1.3 var(--font-mono); color: var(--ink-faint); }
.facts dd { font-size: 16px; font-weight: 550; }
.tech { max-width: 760px; }
.tech summary { cursor: pointer; width: fit-content; font-size: 14.5px; font-weight: 600; color: var(--ink-muted); }
.tech p { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.views-wrap { display: flex; flex-direction: column; gap: 16px; }
.views { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 20px; padding-bottom: 32px; }
.view { display: flex; flex-direction: column; gap: 10px; }
.view img { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.view figcaption { font-size: 14.5px; color: var(--ink-muted); }
.view figcaption strong { color: var(--ink); margin-right: 4px; }
.v0 { grid-row: span 2; }
.walk-band { padding-bottom: 32px; }
.walk-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px #000a; }
.walk-dialog::backdrop { background: #070b14b3; backdrop-filter: blur(4px); }
.walk-dialog[open] { animation: rise .3s var(--ease); display: flex; flex-direction: column; }
.wt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.wt-tabs { display: flex; gap: 4px; padding: 12px 24px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.wt-tabs button { all: unset; cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--ink-muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.wt-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.wt-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 6px; }
.wt-stage { padding: 24px; background: var(--surface-sunk); overflow: auto; min-height: 360px; }
.wt-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); }
.mock { border-radius: var(--r-md); background: var(--midnight); color: var(--paper); padding: 20px; min-height: 320px; font-size: 15px; }
.m-k { display: block; font: 500 11.5px/1.3 var(--font-mono); color: #8C99B3; margin-bottom: 6px; }
.mock--console { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 14px; }
.m-slide { border-radius: 10px; background: #0D1422; border: 1px solid #1C2740; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.m-slide-t { font-size: clamp(20px, 2.4vw, 28px); font-weight: 680; font-stretch: 112%; line-height: 1.15; }
.m-side { display: flex; flex-direction: column; gap: 10px; }
.m-box { border-radius: 10px; background: #0D1422; border: 1px solid #1C2740; padding: 14px; }
.m-timer { font: 600 26px/1 var(--font-mono); color: #5CE1FF; }
.m-parts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; font-size: 13.5px; }
.m-parts li { display: flex; align-items: center; gap: 6px; }
.m-parts span { width: 7px; height: 7px; border-radius: 50%; background: #5CE1FF; }
.m-quiz-mini { display: none; padding: 10px 12px; border-radius: 8px; background: #2B65F533; border: 1px solid #2B65F5; }
.mock--projector { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px; aspect-ratio: 16 / 9; min-height: 0; }
.m-big { font-size: clamp(22px, 3vw, 38px); font-weight: 700; font-stretch: 114%; line-height: 1.1; letter-spacing: -.015em; }
.m-opts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-opts li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: #0D1422; border: 1px solid #1C2740; }
.m-opts b { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #1C2740; font: 600 13px/1 var(--font-mono); }
.mock--phone { max-width: 360px; margin-inline: auto; border-radius: 28px; border: 8px solid #1C2740; padding: 24px 18px; display: flex; flex-direction: column; gap: 14px; }
.m-opts--pick { grid-template-columns: 1fr; }
.m-opts--pick li.ans { border-color: #5CE1FF; background: #5ce1ff1a; }
.m-locked { display: inline-flex; width: fit-content; gap: 6px; align-items: center; font: 600 13px/1 var(--font-mono); color: #5CE1FF; }
.m-locked::before { content: "✓"; }
.m-only-quiz { display: none; flex-direction: column; gap: 16px; }
.wt-stage[data-mode="quiz"] .m-only-quiz { display: flex; }
.wt-stage[data-mode="quiz"] .m-only-slide { display: none; }
.wt-stage[data-mode="quiz"] .m-quiz-mini { display: block; }
.wt-stage[data-mode="record"] .wt-panel { display: none; }
.record { width: 100%; max-width: 640px; border-collapse: collapse; background: var(--surface); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.record caption { text-align: left; font-weight: 650; padding-bottom: 10px; }
.record th, .record td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.record th { font-weight: 550; color: var(--ink-muted); width: 46%; }

.net-h { margin: 48px 0 16px; }
.net { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.net svg { width: 100%; height: auto; max-height: 340px; }
.net .ln { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 6 6; animation: flow 1.2s linear infinite; }
.net .ln--net { stroke: var(--ion); transition: opacity .3s; }
.node rect { fill: var(--surface-sunk); stroke: var(--line-strong); stroke-width: 1.2; }
.node--hub rect { fill: var(--signal-fill); stroke: none; }
.node text { font: 600 15px var(--font-sans); fill: var(--ink); text-anchor: middle; }
.node .s { font: 500 12px var(--font-mono); fill: var(--ink-muted); }
.node--hub text { fill: #fff; }
.node--hub .s { fill: #DCE6FF; }
.node--ai rect { stroke: var(--ion); stroke-dasharray: 4 4; transition: opacity .3s; }
.tag-net, .tag-ai { font: 500 12px var(--font-mono); fill: var(--ink-faint); }
.tag-ai { fill: var(--ion); }
.cut path { stroke: var(--spark); stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.net[data-net="off"] .ln--net, .net[data-net="off"] .node--ai, .net[data-net="off"] .tag-ai { opacity: .2; }
.net[data-net="off"] .ln--net { animation: none; }
.net[data-net="off"] .cut path { opacity: 1; }
.net figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.net-state { font-size: 15px; color: var(--ink-muted); flex: 1 1 260px; }
.switch { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px; }
.switch .knob { width: 44px; height: 26px; border-radius: var(--r-full); background: var(--line); position: relative; transition: background-color .2s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0004; transition: transform .2s var(--ease); }
.switch[aria-checked="true"] .knob { background: var(--spark); }
.switch[aria-checked="true"] .knob::after { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.feat { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.feat p, .dec p { color: var(--ink-muted); }
.decs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.dec { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.dec-n { font: 600 13px/1 var(--font-mono); color: var(--signal); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { border-radius: var(--r-md); border: 1px solid var(--line); width: 100%; }
.gallery figcaption { font-size: 14.5px; color: var(--ink-muted); }

/* ------------------------------------------------------------------ colophon */
.sig-compare { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.sc-pane { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.sc-pane svg { width: 70%; max-width: 220px; height: auto; }
.strokes path { fill: none; stroke: var(--signal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.sig-compare figcaption { display: flex; flex-direction: column; justify-content: center; gap: 16px; color: var(--ink-muted); }
.resp { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.resp li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.resp li span { font-size: 14px; color: var(--ink-muted); }
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: f; }
.flow li { position: relative; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 10px; height: 1.5px; background: var(--line-strong); }
.flow-step { all: unset; cursor: pointer; box-sizing: border-box; height: 100%; width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background-color .2s; }
.flow-step .muted { font-size: 14px; line-height: 1.45; }
.flow-n { font: 600 12.5px/1 var(--font-mono); color: var(--signal); }
.flow-step[aria-pressed="true"] { border-color: var(--signal); background: var(--signal-soft); }
.flow-step:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ------------------------------------------------------------------ 404 */
.notfound { padding-block: 120px; }
.notfound .muted a { font-weight: 600; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  :root { --gutter: 40px; --section: 96px; }
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li::after { display: none; }
  .sig-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-compare figcaption { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px)); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; animation: rise .25s var(--ease); }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  :root { --gutter: 24px; --section: 72px; }
  .hero { padding-block: 32px 72px; }
  .hero-grid, .contact-grid, .about-grid, .prose-grid, .method, .role, .prog, .prog:not(:has(.pe-img)), .two-col, .scope, .section-head, .tool--featured, .now-inner, .foot-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-portrait { justify-self: start; max-width: 340px; order: -1; }
  .hero-portrait .frame { aspect-ratio: 5 / 4; }
  .section-head .section-intro { justify-self: start; }
  .work-grid, .role-cards, .feats, .gallery, .hl-list { grid-template-columns: minmax(0, 1fr); }
  .role-cards::after { display: none; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .area, .area:nth-child(even) { padding: 28px 0; border-left: 0; }
  .method-side { position: static; }
  .role-meta-col { position: static; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .moments .moment { grid-column: span 1; grid-row: span 1; }
  .moments .m0 { grid-column: span 2; grid-row: span 2; }
  .moments .m1 { grid-column: span 2; }
  .views { grid-template-columns: minmax(0, 1fr); }
  .v0 { grid-row: auto; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .tool-shot { padding: 20px 0 0 20px; aspect-ratio: 16 / 10; }
  .tool-body { padding: 24px; }
  .now-inner { padding-inline: calc(var(--gutter) + 20px); }
  .resp { grid-template-columns: minmax(0, 1fr); }
  .mock--console { grid-template-columns: minmax(0, 1fr); }
  .contact { padding-block: 80px; }
  .page-head { padding-block: 48px 40px; }
  .filter-row--sticky { top: 72px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .lockup span:not(.vh) { display: none; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-row { grid-template-columns: minmax(0, 1fr); }
  .facts-row div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; padding: 12px 14px; }
  .facts-row--big dd { font-size: 30px; min-width: 2.4em; }
  .wc-visual--facts { aspect-ratio: auto; }
  .flow, .sig-compare { grid-template-columns: minmax(0, 1fr); }
  .m-opts { grid-template-columns: minmax(0, 1fr); }
  .mock--projector { aspect-ratio: auto; padding: 24px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .compare th, .compare td { border: 0; padding: 4px 16px; }
  .compare td::before { content: attr(data-label) ": "; color: var(--ink-faint); font-size: 13.5px; }
  .earlier .muted { margin-left: 0; flex-basis: 100%; }
  .filters { border-radius: var(--r-md); }
  .wt-head { flex-direction: column; }
  .foot-nav { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .sig-mask path { stroke-dashoffset: 0; }
  .marquee-track { animation: none !important; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .marquee-track { flex-wrap: wrap; gap: 12px 40px; padding-inline: var(--gutter); }
  .field { display: none; }
  .net .ln { animation: none !important; }
}
@media print {
  .site-header, .site-footer, .hero-portrait, .toggle, .field, .orgs, .filters, .walk, .contact .sig, .progress { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .page-head { padding-block: 16pt; }
  .role { break-inside: avoid; padding-block: 12pt; }
  .role-meta-col { position: static; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .timeline { display: none; }
}
