/* vaiblog.com — design system
   Dark ground, one warm "solar" ramp (gold → ember → rose), glass surfaces
   floating over a live WebGL field. Bricolage Grotesque for display, Instrument
   Serif italics for the emphasised half of a headline, Geist for reading, Geist
   Mono for data. */

:root {
  --ink: #07070a;
  --ink-2: #0d0d12;
  --ink-3: #14141b;
  --text: #f3efe8;
  --text-2: #d6d1c8;
  --muted: #a39e95;
  --faint: #6f6b65;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  --glass-solid: rgba(13, 13, 18, .72);

  --gold: #ffc35a;
  --ember: #ff6b2c;
  --rose: #ff4470;
  --iris: #9a8cff;
  --solar: linear-gradient(100deg, #ffd27a 0%, #ff8a3d 45%, #ff4470 100%);
  --solar-soft: linear-gradient(100deg, rgba(255, 210, 122, .18), rgba(255, 68, 112, .14));

  --f-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --mast-h: 76px;
  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: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }
strong { color: var(--text); font-weight: 600; }
::selection { background: rgba(255, 107, 44, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: .7rem 1.1rem; background: var(--text); color: var(--ink); border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 2rem; }
.mt-7 { margin-top: clamp(2.5rem, 5vw, 4rem); }
.muted { color: var(--muted); }

/* ── Field + atmosphere ────────────────────────────────────────────── */

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
#field.on { opacity: 1; }
.atmos {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% 8%, rgba(255, 107, 44, .10), transparent 70%),
    radial-gradient(50vw 50vh at 5% 95%, rgba(154, 140, 255, .08), transparent 70%),
    radial-gradient(120vw 90vh at 50% 50%, transparent 55%, rgba(0, 0, 0, .55));
}
.atmos::after {
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  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");
}
main, footer, .closer, #masthead { position: relative; z-index: 2; }
main { display: block; }

#progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--solar); transform-origin: 0 50%; transform: scaleX(0); }

/* ── Layout primitives ─────────────────────────────────────────────── */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.bay { position: relative; padding-block: clamp(5rem, 11vw, 9.5rem); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); flex-wrap: wrap; }
.head > div { max-width: 46rem; }
.head > p { max-width: 30rem; color: var(--muted); margin: 0; }
.head > div > p { color: var(--muted); max-width: 40rem; margin-top: 1.25rem; }
.split-2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-2--top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

/* ── Type ──────────────────────────────────────────────────────────── */

h1, h2, .display {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
h2, .display { font-size: clamp(2.4rem, 5.6vw, 4.9rem); }
h3 { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
h1 em, h2 em, .display em, .gild,
.closer h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  background: var(--solar);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 .75rem/1.4 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--solar); }
.eyebrow a { color: var(--gold); }
.lede { font-size: 1.2rem; color: var(--text-2); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.2s infinite; flex: none; }
.eyebrow .pulse-dot { margin-right: -.2rem; }
.eyebrow:has(.pulse-dot)::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ── Buttons & links ───────────────────────────────────────────────── */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), background .3s, border-color .3s, box-shadow .4s, color .3s;
}
.btn:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .07); }
.btn .arw { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--glow, .btn--gold, .btn--solid {
  color: #1a0d05; border-color: transparent;
  background: var(--solar);
  box-shadow: 0 10px 40px -10px rgba(255, 107, 44, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--glow:hover, .btn--gold:hover, .btn--solid:hover { background: var(--solar); box-shadow: 0 16px 60px -10px rgba(255, 107, 44, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: .875rem; }
.btn--ghost, .btn--onDark { background: rgba(255, 255, 255, .03); }
.cta-row, .hero-cta, .music-links { display: flex; flex-wrap: wrap; gap: .8rem; }

.tlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 500 .95rem/1.3 var(--f-body); color: var(--text);
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease), color .3s;
}
.tlink:hover { background-size: 100% 1px; color: var(--gold); }
.tlink .arw { width: 16px; height: 16px; }

/* ── Header ────────────────────────────────────────────────────────── */

#masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px var(--gutter); transition: transform .6s var(--ease); }
#masthead.tucked { transform: translateY(-120%); }
.mast {
  max-width: calc(var(--shell) - 2 * 32px); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  height: 60px; padding: 0 10px 0 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
#masthead.scrolled .mast { background: rgba(10, 10, 14, .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.brand { display: inline-flex; align-items: center; font: 700 1.25rem/1 var(--f-display); letter-spacing: -.04em; }
.brand .dot { color: var(--ember); }
.brand-mark { margin-right: .6rem; width: 26px; height: 26px; border-radius: 8px; background: var(--solar); position: relative; transform: rotate(-8deg); box-shadow: 0 6px 20px -6px rgba(255, 107, 44, .8); }
.brand-mark i { position: absolute; inset: 6px; border-radius: 3px; border: 2px solid rgba(26, 13, 5, .85); border-top-color: transparent; transform: rotate(45deg); }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.nav a { display: block; padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; color: var(--muted); transition: color .25s, background .25s; }
.nav a:hover { color: var(--text); }
.nav a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .08); }
.mast-actions { display: flex; justify-content: flex-end; align-items: center; gap: .6rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }

#drawer {
  position: fixed; inset: 0; z-index: 45; padding: 110px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(7, 7, 10, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; transition: opacity .4s;
}
#drawer[hidden] { display: none; }
#drawer.open { opacity: 1; }
#drawer nav { display: flex; flex-direction: column; }
#drawer nav a { display: flex; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font: 600 clamp(2rem, 9vw, 3rem)/1.1 var(--f-display); letter-spacing: -.035em; translate: 0 20px; opacity: 0; transition: translate .6s var(--ease), opacity .6s; }
#drawer.open nav a { translate: 0 0; opacity: 1; }
#drawer nav a:nth-child(2) { transition-delay: .04s; } #drawer nav a:nth-child(3) { transition-delay: .08s; }
#drawer nav a:nth-child(4) { transition-delay: .12s; } #drawer nav a:nth-child(5) { transition-delay: .16s; } #drawer nav a:nth-child(6) { transition-delay: .2s; }
#drawer .n { font: 500 .75rem var(--f-mono); color: var(--ember); }
.drawer-foot { display: flex; flex-direction: column; gap: .3rem; font: 500 .8rem var(--f-mono); color: var(--muted); }
.drawer-foot a { color: var(--gold); }
body.menu-open { overflow: hidden; }

/* ── Reveal ────────────────────────────────────────────────────────── */

.js [data-rise] { opacity: 0; translate: 0 32px; transition: opacity 1s var(--ease), translate 1.1s var(--ease), rotate 1.1s var(--ease), scale 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise="left"] { translate: -48px 0; }
.js [data-rise="right"] { translate: 48px 0; }
.js [data-rise="scale"] { translate: 0 0; scale: .92; }
.js [data-rise="fade"] { translate: 0 0; }
.js [data-rise="3d"] { translate: 0 60px; rotate: x 24deg; transform-origin: 50% 100%; }
.js [data-rise].in { opacity: 1; translate: 0 0; rotate: none; scale: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin-bottom: -.12em; }
.js [data-split] .w > span { display: inline-block; translate: 0 105%; rotate: 0 0 1 6deg; transition: translate 1.1s var(--ease), rotate 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.js [data-split].in .w > span { translate: 0 0; rotate: none; }
.js [data-split] em .w > span { background: var(--solar); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.js [data-split] em { background: none; }

/* ── 3D tilt surfaces ──────────────────────────────────────────────── */

.tilt {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), border-color .4s, box-shadow .5s, opacity 1s var(--ease), translate 1.1s var(--ease), rotate 1.1s var(--ease);
  will-change: transform;
}
.tilt:hover { transition: transform .15s linear, border-color .4s, box-shadow .5s, opacity 1s var(--ease), translate 1.1s var(--ease), rotate 1.1s var(--ease); }
.glass, .metric, .svc, .post-card, .work, .tl-item, .surface, .form, .film-link, .callout, .article-toc, .dc-flow, .case-notes article, .cline-wrap {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 170, 90, .13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tilt:hover::after { opacity: 1; }
.tilt:hover { border-color: rgba(255, 195, 90, .28); }

/* ── Hero ──────────────────────────────────────────────────────────── */

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--mast-h) + 4rem) 0 3rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; position: relative; }
.hero-title { font-size: clamp(3rem, 6.4vw, 6.6rem); line-height: .93; margin-bottom: 1.8rem; }
.hero-title em { display: inline; }
.hero-lede { max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); margin-bottom: 2.2rem; }
.id-pill { display: inline-flex; align-items: center; gap: .8rem; padding: 6px 8px 6px 6px; margin-bottom: 1.6rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.id-pill img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.id-pill-text { display: flex; flex-direction: column; line-height: 1.2; padding-right: .6rem; }
.id-pill-text b { font-weight: 600; font-size: .95rem; }
.id-pill-text small { color: var(--muted); font-size: .78rem; }
.id-pill-status { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(74, 222, 128, .1); color: #a7f3c0; font: 500 .72rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }

.hud { position: relative; height: min(70vh, 640px); }
.hud-tag {
  position: absolute; display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; min-width: 190px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(12, 12, 16, .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .8rem; color: var(--muted);
}
.hud-tag b { font: 600 1.15rem/1.2 var(--f-display); color: var(--text); letter-spacing: -.02em; }
.hud-k { font: 500 .66rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hud-tag::before { content: ""; position: absolute; width: 56px; height: 1px; top: 50%; background: linear-gradient(90deg, var(--gold), transparent); }
.hud-in { top: 2%; right: 0; } .hud-in::before { right: 100%; transform: scaleX(-1); }
.hud-mid { top: 42%; left: -6%; } .hud-mid::before { left: 100%; }
.hud-out { bottom: 0; right: 6%; } .hud-out::before { right: 100%; transform: scaleX(-1); }
.hud-out b { background: var(--solar); -webkit-background-clip: text; background-clip: text; color: transparent; }

.statstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 3.5rem 0 0; border-top: 1px solid var(--line); }
.statstrip > div { padding: 1.4rem 1.4rem 0 0; border-right: 1px solid var(--line); margin-right: 1.4rem; }
.statstrip > div:last-child { border-right: 0; }
.statstrip dt { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.statstrip dd { margin: .4rem 0 0; font: 600 clamp(2rem, 3.6vw, 3.2rem)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; font: 500 .66rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── Ribbon ────────────────────────────────────────────────────────── */

.ribbon { position: relative; z-index: 2; overflow: hidden; padding: 1.1rem 0; border-block: 1px solid var(--line); background: rgba(10, 10, 14, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: rotate(-1.6deg) scale(1.03); margin-block: 1rem; }
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon-track > span { display: inline-flex; align-items: center; gap: .7rem; padding-right: 3.2rem; font: 500 .82rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ribbon-track > span::after { content: "✦"; color: var(--ember); margin-left: 2.5rem; font-size: .7rem; }
.ribbon b { font-weight: 500; color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Metrics ───────────────────────────────────────────────────────── */

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); perspective: 1400px; }
.metric { display: flex; flex-direction: column; padding: 1.6rem 1.6rem 1.5rem; min-height: 300px; overflow: hidden; }
.metric-k { font: 500 .74rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.metric-v { margin-top: auto; font: 600 clamp(3rem, 5.4vw, 5rem)/.9 var(--f-display); letter-spacing: -.05em; background: var(--solar); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.metric-s { font: 500 .8rem var(--f-mono); color: var(--text-2); margin-top: .4rem; letter-spacing: .1em; }
.metric-n { margin-top: .8rem; font-size: .9rem; color: var(--muted); }
.meter { margin-top: 1.4rem; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--pct, 100) * 1%); background: var(--solar); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .3s; }
.in .meter i, .meter.in i { transform: scaleX(1); }

/* ── Stacked work cards ────────────────────────────────────────────── */

.stack-list { display: grid; gap: 2rem; }
.stack-card {
  position: sticky; top: calc(96px + var(--n, 0) * 16px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: min(72vh, 600px); padding: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 22, 29, .92), rgba(12, 12, 17, .94));
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(calc(1 - var(--sink, 0) * .07));
  filter: brightness(calc(1 - var(--sink, 0) * .45));
  transform-origin: 50% 0;
}
.stack-card:nth-child(2) { --n: 1; } .stack-card:nth-child(3) { --n: 2; } .stack-card:nth-child(4) { --n: 3; }
.stack-card:nth-child(5) { --n: 4; } .stack-card:nth-child(6) { --n: 5; }
.work-shot { position: relative; display: block; overflow: hidden; border-radius: calc(var(--r) - 6px); background: var(--ink-3); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), scale 1.2s var(--ease); }
.work:hover .work-shot img { scale: 1.04; }
.work-body { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.4rem, 3vw, 2.6rem); }
.work-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -.035em; line-height: 1.02; }
.work-body p { color: var(--muted); margin: 0; }
.work-idx { font: 500 .78rem var(--f-mono); color: var(--ember); letter-spacing: .1em; }
.work-meta { font: 500 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-links, .work-foot { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag, .chip {
  display: inline-flex; align-items: center; padding: .38rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-2); font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .02em; color: var(--text-2);
  background: rgba(255, 255, 255, .025);
}
.chip { font-family: var(--f-body); font-size: .82rem; letter-spacing: 0; transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: rgba(255, 195, 90, .5); color: var(--gold); background: rgba(255, 195, 90, .06); }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.kpi-inline { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.8rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.kpi-inline b { display: block; font: 600 1.8rem/1 var(--f-display); letter-spacing: -.04em; color: var(--text); }
.kpi-inline span { font: 500 .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── Portrait, facts ───────────────────────────────────────────────── */

.portrait { position: relative; max-width: 520px; }
.portrait figure { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -50px rgba(255, 107, 44, .35); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-edge { display: none; }
.portrait-badge { position: absolute; left: -18px; bottom: 34px; display: flex; flex-direction: column; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(12, 12, 16, .7); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateZ(60px); }
.portrait-badge b { font: 700 1.6rem/1 var(--f-display); letter-spacing: -.03em; background: var(--solar); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portrait-badge span { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.portrait-route { position: absolute; right: -14px; top: 28px; display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; border-radius: 999px; background: rgba(12, 12, 16, .7); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 500 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.portrait-route i { width: 40px; height: 1px; background: var(--solar); position: relative; }
.portrait-route i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.portrait.tilt { transform-style: preserve-3d; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 2rem 0 0; }
.fact { padding: .9rem 0; border-top: 1px solid var(--line); }
.fact dt { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: .25rem 0 0; font-weight: 500; }

/* ── Services ──────────────────────────────────────────────────────── */

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); perspective: 1400px; }
.svc { padding: 2rem 1.8rem 1.8rem; overflow: hidden; }
.svc-n { position: absolute; top: 1.6rem; right: 1.8rem; font: 500 .78rem var(--f-mono); color: var(--faint); }
.svc-ico { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 2.4rem; border-radius: 16px; color: var(--gold); background: var(--solar-soft); border: 1px solid rgba(255, 195, 90, .22); }
.svc-ico:empty { display: none; }
.svc-ico svg { width: 24px; height: 24px; }
.svc h3 { margin-bottom: .8rem; }
.svc p { color: var(--muted); margin: 0; font-size: .97rem; }
.svc .work-foot { margin-top: 1.4rem; }

/* ── Posts ─────────────────────────────────────────────────────────── */

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 10px; }
.post-shot { aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--r) - 8px); background: var(--ink-3); }
.post-shot img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.post-card:hover .post-shot img { scale: 1.06; }
.post-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1rem 1rem; flex: 1; }
.post-cat { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.post-body h3 { font-size: 1.3rem; }
.post-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-more { margin-top: auto; padding-top: .6rem; font-size: .88rem; font-weight: 500; color: var(--text); }

/* ── Closer ────────────────────────────────────────────────────────── */

.closer { padding: clamp(7rem, 16vw, 13rem) 0; text-align: center; }
.closer-inner { display: flex; flex-direction: column; align-items: center; }
.closer h2 { font-size: clamp(3rem, 9vw, 8.5rem); line-height: .92; margin-bottom: 1.8rem; }
.closer p { max-width: 36rem; color: var(--text-2); font-size: 1.1rem; margin-bottom: 2.4rem; }
.closer .cta-row { justify-content: center; }
.closer .eyebrow::before { display: none; }

/* ── Footer ────────────────────────────────────────────────────────── */

#colophon { padding: 0 0 2rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 7, 10, .3), rgba(7, 7, 10, .92) 40%); }
.foot-word { font: 700 clamp(4.5rem, 21vw, 20rem)/.8 var(--f-display); letter-spacing: -.07em; text-align: center; padding: 3rem 0 2rem; color: rgba(255, 255, 255, .025); -webkit-text-stroke: 1px rgba(255, 255, 255, .2); user-select: none; }
.foot-word span { -webkit-text-stroke: 0; background: var(--solar); -webkit-background-clip: text; background-clip: text; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot-brand p { color: var(--muted); max-width: 22rem; margin: 1rem 0 1.4rem; font-size: .95rem; }
.foot-social { display: flex; gap: .5rem; }
.foot-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: color .3s, border-color .3s, transform .4s var(--ease); }
.foot-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h5 { font: 500 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-col a { color: var(--text-2); font-size: .95rem; transition: color .25s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font: 500 .74rem var(--f-mono); color: var(--faint); }

/* ── Page heads (inner pages) ──────────────────────────────────────── */

.phead { position: relative; min-height: 86svh; display: flex; align-items: flex-end; padding: calc(var(--mast-h) + 5rem) 0 clamp(3rem, 7vw, 6rem); }
.phead h1 { font-size: clamp(3rem, 8.4vw, 8rem); line-height: .94; max-width: 15ch; margin-bottom: 1.8rem; }
.phead > .shell > p, .phead .exhibition-copy > p { max-width: 38rem; color: var(--text-2); font-size: 1.15rem; }
.meshgrid, .orb, .phead-veil, .hero-veil { display: none !important; }
.phead-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line); max-width: 46rem; }
.phead-figures > div { padding: 1.1rem 1rem 0 0; display: flex; flex-direction: column-reverse; }
.stat-n { font: 600 clamp(1.7rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-l { font: 500 .68rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }
.phead-figures .stat-l { margin: 0 0 .4rem; }

/* ── Portfolio: exhibition deck (fanned 3D cards) ──────────────────── */

.exhibition-copy { position: relative; z-index: 2; }
.phead:has(.exhibition-stage) > .shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: end; }
.exhibition-stage { position: relative; height: clamp(360px, 46vw, 560px); perspective: 1600px; }
.stage-orbit { position: absolute; inset: 8% 4%; border-radius: 50%; border: 1px dashed rgba(255, 195, 90, .2); transform: rotateX(70deg); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotateX(70deg) rotateZ(360deg); } }
.stage-coordinate { position: absolute; top: 0; right: 0; font: 500 .72rem var(--f-mono); color: var(--faint); letter-spacing: .12em; }
.exhibition-deck { position: absolute; inset: 0; transform-style: preserve-3d; }
.exhibit {
  position: absolute; left: 50%; top: 50%; width: min(66%, 380px); aspect-ratio: 4 / 3;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  transition: transform .9s var(--ease), box-shadow .5s, border-color .4s;
}
.exhibit img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.exhibit-a { transform: translate(-50%, -50%) translate3d(-34%, -16%, -120px) rotateY(24deg) rotateZ(-5deg); }
.exhibit-b { transform: translate(-50%, -50%) translate3d(0, 4%, 0) rotateY(0) rotateZ(1deg); z-index: 2; }
.exhibit-c { transform: translate(-50%, -50%) translate3d(34%, -14%, -120px) rotateY(-24deg) rotateZ(5deg); }
.exhibition-deck:hover .exhibit { filter: brightness(.6); }
.exhibition-deck .exhibit:hover { filter: none; border-color: var(--gold); z-index: 3; box-shadow: 0 60px 100px -30px rgba(255, 107, 44, .5); }
.exhibition-deck .exhibit-a:hover { transform: translate(-50%, -50%) translate3d(-34%, -22%, 80px) rotateY(10deg) rotateZ(-2deg); }
.exhibition-deck .exhibit-b:hover { transform: translate(-50%, -50%) translate3d(0, -2%, 100px); }
.exhibition-deck .exhibit-c:hover { transform: translate(-50%, -50%) translate3d(34%, -20%, 80px) rotateY(-10deg) rotateZ(2deg); }
.exhibit-label { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: .7rem .9rem; font: 500 .66rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(rgba(0, 0, 0, .7), transparent); }
.exhibit-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .8rem; font: 600 1.1rem var(--f-display); letter-spacing: -.02em; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.stage-instruction { position: absolute; bottom: -1.5rem; left: 0; right: 0; text-align: center; font: 500 .72rem var(--f-mono); color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }

.chapter-dock {
  position: sticky; top: 86px; z-index: 30; margin: 0 auto; width: max-content; max-width: calc(100% - 2 * var(--gutter));
  display: flex; align-items: center; gap: .6rem; padding: 5px 5px 5px 16px; border-radius: 999px;
  background: rgba(12, 12, 16, .7); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
#masthead.tucked ~ main .chapter-dock { top: 14px; }
.chapter-dock-title { font: 500 .68rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.chapter-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.chapter-links::-webkit-scrollbar { display: none; }
.chapter-links a { padding: .5rem .85rem; border-radius: 999px; font-size: .85rem; color: var(--muted); white-space: nowrap; transition: color .25s, background .25s; }
.chapter-links a:hover { color: var(--text); }
.chapter-links a[aria-current] { color: #1a0d05; background: var(--solar); }
.chapter-progress, .exhibition-motion { display: none !important; }

.exhibition-chapter, #direct-channel { overflow: clip; }
.chapter-numeral { position: absolute; top: clamp(2rem, 5vw, 4rem); right: var(--gutter); font: 700 clamp(8rem, 22vw, 20rem)/.8 var(--f-display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; user-select: none; }

/* Direct Channel features */
.dc-role { max-width: 52rem; padding: 1.1rem 1.4rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--text-2); }
.dc-role strong { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-right: .4rem; }
.dc-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.dc-feature:nth-of-type(even) > figure { order: 2; }
.dc-feature h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.035em; line-height: 1.04; margin-bottom: 1.2rem; }
.dc-feature p { color: var(--text-2); }
.dc-evidence { margin: 0; }
.dc-evidence a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform 1s var(--ease); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.dc-feature:nth-of-type(even) .dc-evidence a { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }
.dc-evidence a:hover, .dc-feature:nth-of-type(even) .dc-evidence a:hover { transform: none; }
.dc-evidence figcaption, .dc-flow figcaption { margin-top: .9rem; font: 500 .74rem var(--f-mono); color: var(--faint); }
.dc-flow { margin: 0; padding: 1.8rem; }
.dc-flow .eyebrow { margin-bottom: 1rem; }
.dc-flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.dc-flow li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 .8rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.dc-flow li span { grid-row: span 2; font: 500 .8rem var(--f-mono); color: var(--ember); padding-top: .15rem; }
.dc-flow li p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.dc-details { margin: 1.2rem 0 1.4rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, .02); }
.dc-details summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.dc-details summary::-webkit-details-marker { display: none; }
.dc-details summary::after { content: "+"; font: 400 1.3rem/1 var(--f-mono); color: var(--gold); transition: transform .3s; }
.dc-details[open] summary::after { transform: rotate(45deg); }
.dc-details > :not(summary) { padding: 0 1.1rem; color: var(--muted); }
.dc-details ol { padding-left: 2.4rem; }
.dc-details > :last-child { padding-bottom: 1rem; }
.dc-connected { margin-top: 3rem; padding: 2rem; border-radius: var(--r); background: var(--solar-soft); border: 1px solid rgba(255, 195, 90, .2); display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; }
.dc-connected h3 { flex-basis: 100%; }
.dc-connected p { flex-basis: 100%; margin: 0; color: var(--text-2); }

/* Rings */
.rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
.ring { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.6rem 1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ring figure { position: relative; margin: 0 0 1rem; width: min(150px, 100%); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .trk { stroke: rgba(255, 255, 255, .07); }
.ring .arc { stroke: url(#goldgrad); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 2s var(--ease) .2s; }
.ring.in .arc, .rings.in .arc { stroke-dashoffset: calc(326.7 - 326.7 * var(--pct, 100) / 100); }
.ring figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-v { font: 600 1.9rem/1 var(--f-display); letter-spacing: -.04em; }
.ring-s { font: 500 .66rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.ring-l { font-weight: 600; }
.ring-note { font-size: .85rem; color: var(--muted); }

/* Bars */
.bars { display: grid; gap: 1.3rem; }
.bar-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; font-size: .95rem; }
.bar-val { font: 500 .85rem var(--f-mono); color: var(--gold); }
.bar-trk { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar-fil { height: 100%; width: calc(var(--pct, 100) * 1%); background: var(--solar); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.bar-row.in .bar-fil, .bars.in .bar-fil { transform: scaleX(1); }

/* Galleries */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
.gal--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal--video { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gal-item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--ink-3); cursor: zoom-in; transition: transform .7s var(--ease), border-color .4s; }
.gal:not(.gal--wide):not(.gal--video) .gal-item { aspect-ratio: 1; }
.gal--video .gal-item { aspect-ratio: 9 / 14; cursor: pointer; }
.gal-item img, .gal-item video { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.gal-item:hover { border-color: rgba(255, 195, 90, .4); transform: translateY(-4px); }
.gal-item:hover img, .gal-item:hover video { scale: 1.05; }
.gal-cap { position: absolute; left: .6rem; bottom: .6rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(8, 8, 12, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 .7rem var(--f-mono); color: var(--text); letter-spacing: .04em; }
.gal--video .gal-item::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 22px no-repeat; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3); transition: transform .4s var(--ease), opacity .3s; }
.gal--video .gal-item:hover::before { transform: scale(1.15); opacity: 0; }

.case-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
.case-notes article { padding: 1.8rem; }
.case-notes h3 { margin-bottom: .8rem; }
.case-notes p { color: var(--muted); font-size: .95rem; }

.classics-films > h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.classics-films > p { color: var(--muted); }
.film-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); margin-top: 1.6rem; }
.film-link { display: flex; flex-direction: column; gap: .3rem; padding: 10px 10px 1rem; overflow: hidden; }
.film-link strong { padding: .6rem .4rem 0; }
.film-link > span { padding: 0 .4rem; font-size: .85rem; color: var(--gold); }
.film-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.film-link:hover .film-thumb img { scale: 1.06; }
.film-thumb span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: rgba(0, 0, 0, .25); }

.music { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.music-art { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); transform: perspective(1200px) rotateY(12deg) rotateX(4deg); box-shadow: -30px 60px 100px -40px rgba(255, 68, 112, .45); transition: transform 1s var(--ease); }
.music-art:hover { transform: none; }
.music-art img { width: 100%; height: 100%; object-fit: cover; }
.music h3 { margin-bottom: .4rem; }
.music p { color: var(--text-2); }

/* ── About: timeline, ticks ────────────────────────────────────────── */

.timeline { position: relative; display: grid; gap: 1.25rem; padding-left: clamp(1.6rem, 4vw, 3rem); }
.timeline::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 1px; background: linear-gradient(var(--gold), var(--rose) 60%, transparent); }
.timeline-fill { display: none; }
.tl-item { padding: 1.8rem 2rem; }
.tl-item::before { content: ""; position: absolute; left: calc(-1 * clamp(1.6rem, 4vw, 3rem) - 5px); top: 2.2rem; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(255, 195, 90, .12); }
.tl-date { font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.tl-role { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.tl-org { color: var(--muted); font-size: .92rem; margin: .3rem 0 1rem; }
.tl-item p { color: var(--text-2); }
.tl-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.stack { display: grid; gap: 1rem; }
.surface { padding: 1.6rem; }
.surface .tl-org { margin-bottom: .8rem; }
.surface p { color: var(--muted); margin: 0; }
.surface--feature { background: var(--solar-soft); border-color: rgba(255, 195, 90, .25); }
.ticks { display: grid; gap: 0; }
.tick { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.tick::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .1rem; border-radius: 50%; background: var(--solar-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc35a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid rgba(255, 195, 90, .3); }
.tick > svg { display: none; }
.tick b { display: block; font-weight: 600; }
.tick span { font-size: .88rem; color: var(--muted); }

/* ── My story ──────────────────────────────────────────────────────── */

.chapter { position: relative; padding-block: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.chapter-year { position: sticky; top: 120px; font: 700 clamp(4.5rem, 12vw, 11rem)/.85 var(--f-display); letter-spacing: -.06em; background: var(--solar); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .95; }
.chapter-body h3 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 1.5rem; }
.chapter-body p { color: var(--text-2); font-size: 1.1rem; line-height: 1.75; }
.chapter-body, .chapter .chapter-body { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r); background: rgba(10, 10, 14, .6); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pullquote { margin: 2rem 0 0; padding: 1.4rem 0 0 1.6rem; border-left: 2px solid; border-image: var(--solar) 1; font: italic 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.25 var(--f-serif); color: var(--text); }

/* ── Contact ───────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.cline { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.cline-ico { display: none; }
.cline > span:last-child { display: flex; flex-direction: column; gap: .15rem; }
.cline-k { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cline-v { font-size: 1.1rem; font-weight: 500; }
.cline-v a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.cline-v a:hover { color: var(--gold); }
.form { padding: clamp(1.6rem, 3.5vw, 2.8rem); display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; padding: .95rem 1.05rem; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35); color: var(--text); font: 400 1rem/1.4 var(--f-body);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 195, 90, .14); background: rgba(0, 0, 0, .5); }
.field .hint { font: 400 .82rem var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.field .err { display: none; color: #ff8fa6; font-size: .85rem; }
.field.bad input, .field.bad textarea { border-color: #ff6b8a; }
.field.bad .err { display: block; }
.form .btn { justify-self: start; margin-top: .4rem; }
.form-note { color: var(--muted); font-size: .85rem; margin: 0; }
.form-ok { display: none; padding: 2.4rem; border-radius: var(--r); background: var(--solar-soft); border: 1px solid rgba(255, 195, 90, .25); }
.form-ok.on { display: block; }
.form-ok h3 { margin-bottom: .6rem; }

/* ── Blog index lead ───────────────────────────────────────────────── */

.lead-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 12px; margin-bottom: clamp(1rem, 2vw, 1.5rem); overflow: hidden; }
.lead-post .work-shot { min-height: 300px; }
.lead-post .work-body { justify-content: center; }
.lead-post h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }

/* ── Articles ──────────────────────────────────────────────────────── */

.article { padding-top: calc(var(--mast-h) + 4.5rem); }
.prose { max-width: 46rem; margin-inline: auto; }
.article-head .prose { max-width: 58rem; }
.article-head h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1; margin-bottom: 1.6rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font: 500 .78rem var(--f-mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 1.6rem; }
.article-meta a { color: var(--gold); }
.article-head .lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--text-2); line-height: 1.5; }
.article > .shell:last-child > .prose {
  margin-top: 2.5rem; padding: clamp(1.4rem, 4vw, 3.2rem); border-radius: var(--r-lg);
  background: rgba(10, 10, 14, .82); border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.prose p, .prose li { color: var(--text-2); font-size: 1.1rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.08; margin: 3rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.prose a:not(.btn):not(.tlink) { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(255, 195, 90, .4); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.prose a:not(.btn):not(.tlink):hover { text-decoration-color: var(--gold); }
.prose ol, .prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--ember); }
.prose blockquote { margin: 2rem 0; padding-left: 1.4rem; border-left: 2px solid var(--ember); font: italic 1.4rem/1.4 var(--f-serif); color: var(--text); }
.article-hero { margin: 0 0 2.5rem; }
.article-figure { margin: 2.2rem 0; }
.article-figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.prose code { font: 500 .9em var(--f-mono); padding: .1em .4em; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--gold); }
.article-hero img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.image-credit, .article-hero figcaption { margin-top: .7rem; font: 500 .72rem var(--f-mono); color: var(--faint); }
.article-toc { padding: 1.4rem 1.6rem; margin-bottom: 2.5rem; }
.article-toc strong { font: 500 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.article-toc ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .1rem; }
.article-toc li { margin: 0; font-size: .98rem; }
.prose .article-toc a { color: var(--text-2); text-decoration: none; display: block; padding: .3rem 0; }
.prose .article-toc a:hover { color: var(--gold); }
.callout { padding: 1.4rem 1.6rem; margin: 2rem 0; background: var(--solar-soft); border-color: rgba(255, 195, 90, .22); }
.callout p:last-child { margin: 0; }
.article-table { overflow-x: auto; margin: 2rem 0; border-radius: var(--r-sm); border: 1px solid var(--line); }
.article-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article-table th, .article-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-table th { font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: rgba(255, 255, 255, .03); }
.article-table td { color: var(--text-2); }
.article-table tr:last-child td { border-bottom: 0; }
.article-author, .article-related { margin-top: 3rem; padding: 1.6rem; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.article-author strong { font: 500 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.article-author p { margin: .6rem 0 0; font-size: 1rem; }
.article-related h2 { margin-top: 0; font-size: 1.5rem; }
.article-related ul { margin: 1rem 0 0; }

/* ── Lightbox ──────────────────────────────────────────────────────── */

#lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4rem 1rem; background: rgba(4, 4, 6, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
#lightbox.on { opacity: 1; visibility: visible; }
#lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
#lightbox img, #lightbox video { max-height: 80vh; width: auto; border-radius: var(--r-sm); }
#lightbox figcaption { margin-top: 1rem; font: 500 .8rem var(--f-mono); color: var(--muted); }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); transition: background .25s; }
.lb-btn:hover { background: rgba(255, 255, 255, .12); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
#lightbox.single .lb-prev, #lightbox.single .lb-next { display: none; }
body.lb-open { overflow: hidden; }

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .mast { grid-template-columns: 1fr auto; }
  .metrics, .rings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid, .posts, .film-links, .case-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gal, .gal--video { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .hero { min-height: auto; padding-top: calc(var(--mast-h) + 2.5rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .hud { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
  .hud-tag { position: static; min-width: 0; padding: .7rem .75rem; }
  .hud-tag::before { display: none; }
  .hud-tag b { font-size: .95rem; }
  .hud-tag > span:last-child { font-size: .7rem; line-height: 1.3; }
  .statstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statstrip > div:nth-child(2) { border-right: 0; }
  .statstrip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .split-2, .contact-grid, .music, .dc-feature, .chapter-grid, .lead-post { grid-template-columns: 1fr; }
  .dc-feature:nth-of-type(even) > figure { order: 0; }
  .phead:has(.exhibition-stage) > .shell { grid-template-columns: 1fr; }
  .exhibition-stage { height: 340px; margin-top: 1rem; }
  .stack-card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; transform: none; filter: none; }
  .stack-card .work-shot { aspect-ratio: 16 / 10; }
  .portrait { margin-inline: auto; width: 100%; }
  .portrait-badge { left: 12px; }
  .portrait-route { right: 12px; }
  .chapter-year { position: static; font-size: clamp(4rem, 22vw, 6rem); }
  .head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .mast-actions .btn { display: none; }
  .mast { padding-left: 16px; }
  .metrics, .rings, .svc-grid, .posts, .film-links, .case-notes, .facts, .grid-2, .foot-grid { grid-template-columns: 1fr; }
  .gal, .gal--wide, .gal--video { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-height: 220px; }
  .phead { min-height: 70svh; }
  .phead-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .kpi-inline { gap: 1rem; }
  .kpi-inline b { font-size: 1.4rem; }
  .id-pill-status { display: none; }
  .ribbon { transform: none; }
  .prose p, .prose li { font-size: 1.04rem; }
  .chapter-dock { top: 76px; }
  .chapter-dock-title { display: none; }
  .chapter-dock { padding-left: 5px; }
  .exhibit { width: 62%; }
}

/* ── Reduced motion: everything in its final state ─────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-rise], .js [data-split] .w > span { opacity: 1; translate: none; rotate: none; scale: none; }
  .ribbon-track { animation: none; }
  .stage-orbit { animation: none; }
}

@media print {
  #field, .atmos, #masthead, #drawer, .closer, #colophon, .chapter-dock { display: none !important; }
  body { background: #fff; color: #000; }
}
