/* Self-hosted fonts (Geist, Geist Mono, Instrument Serif; SIL Open Font License). Latin + Latin Extended only. */
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-normal-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-normal-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   VUILD, design system
   Obsidian & signal. Instrument Serif for voice, Geist for structure,
   Geist Mono for metadata.
   ========================================================================== */


:root {
  --ink: #08080a;
  --ink-2: #0e0e11;
  --ink-3: #16161a;
  --bone: #efebe4;
  --bone-2: #d9d4ca;
  --mute: #8d8a83;
  --mute-2: #5d5b56;
  --line: rgba(239, 235, 228, 0.12);
  --line-2: rgba(239, 235, 228, 0.22);
  --ember: #c6ff3d;
  --ember-2: color-mix(in srgb, #c6ff3d 70%, #fff);
  --accent: var(--ember);
  --on-ember: #120600;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1680px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --fs-mega: clamp(64px, 13.5vw, 260px);
  --fs-xxl: clamp(52px, 9vw, 168px);
  --fs-xl: clamp(40px, 6.2vw, 112px);
  --fs-l: clamp(30px, 3.8vw, 64px);
  --fs-m: clamp(22px, 2.2vw, 34px);
  --fs-body: clamp(16px, 1.08vw, 18px);
  --fs-s: 14px;
  --fs-xs: 11.5px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, canvas, 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; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--ember); outline-offset: 4px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--bone); color: var(--ink); padding: 10px 14px; border-radius: 8px; transition: top .3s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.92; margin: 0; }
.amp { font-family: var(--f-display); font-style: italic; font-size: .74em; letter-spacing: 0; padding: 0 .02em; }
.display em, h1 em, h2 em, h3 em { font-style: italic; }
.mega { font-size: var(--fs-mega); line-height: .84; letter-spacing: -0.035em; }
.xxl { font-size: var(--fs-xxl); }
.xl { font-size: var(--fs-xl); }
.l { font-size: var(--fs-l); line-height: 1; }
.m { font-size: var(--fs-m); line-height: 1.12; }
.sans { font-family: var(--f-sans); letter-spacing: -0.02em; }
.mono, .eyebrow { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.eyebrow { color: var(--mute); display: inline-flex; align-items: center; gap: .8em; }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.eyebrow.plain::before { display: none; }
.lede { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; color: var(--bone-2); max-width: 36ch; letter-spacing: -0.01em; }
.muted { color: var(--mute); }
.ember { color: var(--ember); }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(120px, 15vw, 240px) 0; }
.section.tight { padding: clamp(64px, 8vw, 120px) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 28px); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(56px, 7vw, 120px); flex-wrap: wrap; }

/* ---------- Grain + vignette ---------- */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; background-image: url("../img/grain.webp"); background-size: 160px 160px; transform: translateZ(0); will-change: transform; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 80; padding: 22px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--bone); transition: transform .6s var(--ease), color .4s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(to bottom, rgba(8,8,10,.55), transparent); pointer-events: none; transition: opacity .4s; }
.nav.on-light { color: var(--ink); }
.nav.on-light::before { opacity: 0; }
.nav.on-light .nav-cta { border-color: rgba(8,8,10,.35); }
.nav.on-light .nav-cta:hover { background: var(--ink); color: var(--bone); }
.nav.hide { transform: translateY(-120%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-weight: 600; letter-spacing: .02em; font-size: 15px; }
.logo svg.mark { width: 40px; height: auto; aspect-ratio: 508 / 231; transition: transform .6s var(--ease); }
.logo:hover svg.mark { transform: translateY(-2px) scale(1.04); }
.logo .wm { letter-spacing: .28em; font-size: 13px; }
.nav-links { display: flex; gap: clamp(22px, 2.8vw, 44px); align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size: 13.5px; position: relative; display: inline-flex; gap: 6px; align-items: baseline; }
.nav-links a sup { font-family: var(--f-mono); font-size: 9px; opacity: .55; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-meta { display: flex; align-items: center; gap: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.nav-meta .clock { opacity: .7; }
.nav-cta { border: 1px solid rgba(239,235,228,.4); border-radius: 999px; padding: 9px 16px; font-family: var(--f-sans); text-transform: none; letter-spacing: 0; font-size: 13px; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--bone); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 79; background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--gutter) 32px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a.big { font-family: var(--f-display); font-size: clamp(56px, 16vw, 120px); line-height: .95; display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.menu a.big sup { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.menu .menu-foot { display: flex; justify-content: space-between; margin-top: 28px; color: var(--mute); }

@media (max-width: 900px) {
  .nav-links, .nav-meta .clock { display: none; }
  .burger { display: block; position: absolute; left: calc(var(--gutter) - 11px); top: 50%; transform: translateY(-50%); }
  .nav .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav-meta { gap: 8px; margin-left: auto; }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cursor .dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor .ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s; display: grid; place-items: center; }
.cursor .ring b { font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .25s; }
.cursor.is-link .ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.08); }
.cursor.is-label .ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
.cursor.is-label .ring b { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); transition: color .5s var(--ease), border-color .5s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover { color: var(--ink); border-color: var(--bone); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn.solid { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
.btn.solid::before { background: var(--bone); }
.btn.light { border-color: rgba(8,8,10,.2); color: var(--ink); }
.btn.light::before { background: var(--ink); }
.btn.light:hover { color: var(--bone); }
.link-u { position: relative; display: inline-flex; gap: 8px; align-items: center; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(0); transform-origin: right; }

/* ---------- Reveal primitives ---------- */
.line-mask { display: block; overflow: hidden; padding: .04em .12em .22em; margin: -.04em -.12em -.22em; } /* room for descenders, italics and side bearings */
.line-mask > span { display: block; will-change: transform; }
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }
.word { display: inline-block; }
.char { display: inline-block; will-change: transform; }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--ink); display: grid; place-items: center; }
.loader .ld-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader .ld-word { font-family: var(--f-display); font-size: clamp(64px, 12vw, 180px); line-height: .9; display: flex; overflow: hidden; }
.loader .ld-word span { display: inline-block; transform: translateY(105%); }
.loader .ld-bar { width: min(280px, 60vw); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader .ld-bar i { position: absolute; inset: 0; background: var(--ember); transform-origin: left; transform: scaleX(0); }
.loader .ld-count { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); }
.loader.gone { display: none; }

/* ---------- Hero (home) ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; }
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 clamp(28px, 4vw, 48px); position: relative; }
.hero h1 { font-size: var(--fs-mega); line-height: .82; letter-spacing: -0.04em; }
.hero h1 .l2 { padding-left: 12vw; }
.hero .hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.hero .hero-foot .lede { grid-column: 1 / span 5; }
.hero .hero-foot .actions { grid-column: 6 / span 4; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-foot .scroll { display: none; grid-column: 11 / span 2; justify-self: end; display: flex; align-items: center; gap: 12px; color: var(--mute); }
.hero .hero-top { position: absolute; top: 96px; left: 0; right: 0; }
.hero .hero-top .wrap { display: flex; justify-content: space-between; color: var(--mute); }
.scroll-line { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bone); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }
@media (max-width: 900px) {
  .hero h1 .l2 { padding-left: 0; }
  .hero .hero-foot .lede, .hero .hero-foot .actions { grid-column: 1 / -1; }
  .hero .hero-foot .scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; position: relative; background: rgba(8,8,10,.88); }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: mq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 54px); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track > *::after { content: "✦"; font-size: .45em; color: var(--ember); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto p.big { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.manifesto p.big .w { opacity: .14; transition: opacity .2s; }
.manifesto p.big em { color: var(--ember); }
.manifesto .meta { display: flex; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 12px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 8px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--f-display); font-size: clamp(64px, 8vw, 150px); line-height: .9; letter-spacing: -0.04em; display: flex; align-items: flex-start; }
.stat .n sup { font-size: .38em; color: var(--ember); margin-top: .18em; margin-left: .04em; }
.stat .k { color: var(--mute); margin-top: 10px; font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Selected work (horizontal) ---------- */
.hwork { position: relative; }
.hwork .pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hwork .track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hwork .intro { width: min(34vw, 520px); flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0; }
.case-card { flex: none; width: min(62vw, 980px); position: relative; }
.case-card .media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.case-card .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.case-card:hover .media img { transform: scale(1.04); }
.case-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,.55), transparent 45%); pointer-events: none; }
.case-card .tag { position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(8,8,10,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); }
.case-card .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.case-card .cap h3 { font-size: clamp(34px, 3.6vw, 64px); }
.case-card .cap .muted { font-size: 14px; text-align: right; }
.case-card .idx { position: absolute; right: 18px; top: 14px; z-index: 2; font-family: var(--f-display); font-size: 64px; line-height: 1; color: var(--bone); opacity: .9; mix-blend-mode: difference; }
.hwork .progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; height: 1px; background: var(--line); }
.hwork .progress i { position: absolute; inset: 0; background: var(--bone); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .hwork .pin { height: auto; padding: 40px 0; }
  .hwork .track { flex-direction: column; width: auto; }
  .hwork .intro { width: auto; gap: 24px; }
  .case-card { width: auto; }
  .hwork .progress { display: none; }
}

/* ---------- Capabilities ---------- */
.caps { border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: 80px 1.2fr 1.4fr 40px; gap: 24px; align-items: start; padding: clamp(22px, 2.6vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative; cursor: default; }
.cap-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--ember) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.cap-row:hover::before { opacity: 1; }
.cap-row .no { font-family: var(--f-mono); font-size: 12px; color: var(--mute); padding-top: 14px; }
.cap-row h3 { font-size: clamp(40px, 5vw, 92px); transition: transform .6s var(--ease), color .4s; }
.cap-row:hover h3 { transform: translateX(14px); font-style: italic; }
.cap-row .desc { color: var(--bone-2); padding-top: 10px; max-width: 46ch; }
.cap-row .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--bone-2); white-space: nowrap; }
.cap-row .plus { width: 28px; height: 28px; margin-top: 16px; position: relative; justify-self: end; }
.cap-row .plus::before, .cap-row .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: var(--bone); transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.cap-row .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.cap-row:hover .plus::after { transform: translate(-50%, -50%) rotate(0); }
@media (max-width: 900px) { .cap-row { grid-template-columns: 44px 1fr; } .cap-row .desc { grid-column: 2; } .cap-row .plus { display: none; } }

/* ---------- Light section ---------- */
.light { background: var(--bone); color: var(--ink); --line: rgba(8,8,10,.12); --line-2: rgba(8,8,10,.22); --mute: #6e6a62; --bone-2: #2b2a27; }
.light .eyebrow { color: var(--mute); }
.light ::selection { background: var(--ink); color: var(--bone); }

/* ---------- Clients wall ---------- */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { position: relative; aspect-ratio: 1.55 / 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 18px; overflow: hidden; text-align: center; }
.client .name { font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 40px); line-height: 1; letter-spacing: -0.02em; transition: transform .7s var(--ease), opacity .4s; }
.client .name small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.client .q { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: var(--ink); color: var(--bone); text-align: left; transform: translateY(101%); transition: transform .7s var(--ease); }
.client .q p { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 26px); line-height: 1.08; margin: 0; }
.client .q span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.client:hover .q, .client:focus-within .q { transform: translateY(0); }
.client:hover .name { transform: translateY(-30%); opacity: 0; }
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonial slider ---------- */
.quotes { position: relative; }
.quote-stage { position: relative; min-height: clamp(300px, 34vw, 520px); }
.quote { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; align-content: start; gap: 36px; opacity: 0; pointer-events: none; }
.quote.on { opacity: 1; pointer-events: auto; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(48px, 8.5vw, 170px); line-height: .9; letter-spacing: -0.035em; }
.quote blockquote::before { content: "“"; color: var(--ember); }
.quote blockquote::after { content: "”"; color: var(--ember); }
.quote .who { display: flex; align-items: center; gap: 16px; }
.quote .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.quote .who b { display: block; font-weight: 500; }
.quote .who span { color: var(--mute); font-size: 14px; }
.quote-nav { display: flex; gap: 10px; align-items: center; margin-top: 32px; }
.quote-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s; }
.quote-nav button:hover { background: var(--bone); color: var(--ink); }
.light .quote-nav button:hover { background: var(--ink); color: var(--bone); }
.quote-nav .count { font-family: var(--f-mono); font-size: 12px; color: var(--mute); margin-left: 12px; }
.quote-dots { display: flex; gap: 6px; margin-left: auto; }
.quote-dots i { width: 22px; height: 2px; background: var(--line-2); transition: background .3s, width .4s var(--ease); }
.quote-dots i.on { background: var(--ember); width: 44px; }

/* ---------- Press ---------- */
.press { display: flex; flex-wrap: wrap; gap: 10px 40px; font-family: var(--f-display); font-size: clamp(26px, 3vw, 52px); line-height: 1.1; }
.press span { opacity: .35; transition: opacity .4s; }
.press span:hover { opacity: 1; }
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.award { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; justify-content: space-between; align-items: end; min-height: 180px; background: linear-gradient(135deg, rgba(255,255,255,.03), transparent); }
.award h4, .award h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.6vw, 60px); margin: 0; line-height: .95; }
@media (max-width: 700px) { .awards { grid-template-columns: 1fr; } }

/* ---------- Labs teaser ---------- */
.labs-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); align-items: center; }
.labs-teaser .viz { aspect-ratio: 1; border-radius: 50%; position: relative; overflow: hidden; border: 1px solid var(--line); }
.labs-teaser .viz canvas { width: 100% !important; height: 100% !important; }
@media (max-width: 900px) { .labs-teaser { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative; }
.cta h2 { font-size: var(--fs-mega); line-height: .82; letter-spacing: -0.04em; }
.cta .actions { display: flex; gap: 14px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--ink); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 120px) 0 28px; overflow: hidden; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h5, .footer .fh { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--bone-2); transition: color .3s; }
.footer ul a:hover { color: var(--ember); }
.footer .big-mark { margin: clamp(48px, 6vw, 80px) 0 0; display: flex; justify-content: center; align-items: center; user-select: none; position: relative; height: 110px; }
.footer .big-mark canvas.vmark-foot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 260px !important; height: 130px !important; }
.footer .big-mark.has-3d svg.mark { display: none; }
.footer .big-mark svg.mark { width: 72px; height: auto; aspect-ratio: 508 / 231; color: var(--bone); opacity: .55; transition: opacity .4s; }
.footer .big-mark:hover svg.mark { opacity: 1; }
.footer .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 0 150px 64px; color: var(--mute); font-size: 13px; }
@media (max-width: 700px) { .footer .legal { padding: 0 0 72px; } }
.footer .legal nav { display: flex; gap: 20px; }
.footer .legal a:hover { color: var(--bone); }
.to-top { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr 1fr; } .footer .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(140px, 18vw, 240px) 0 clamp(48px, 6vw, 96px); position: relative; }
.page-hero h1 { font-size: var(--fs-xxl); line-height: .86; letter-spacing: -0.035em; }
.page-hero .sub { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(32px, 4vw, 64px); align-items: end; }
.page-hero .sub .lede { grid-column: 1 / span 6; }
.page-hero .sub .aside { grid-column: 9 / span 4; justify-self: end; text-align: right; color: var(--mute); }
@media (max-width: 800px) { .page-hero .sub .lede, .page-hero .sub .aside { grid-column: 1 / -1; justify-self: start; text-align: left; } }

/* ---------- Work index ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--bone-2); transition: background .3s, color .3s, border-color .3s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.filters button sup { font-size: 9px; margin-left: 4px; opacity: .6; }
.windex { border-top: 1px solid var(--line); }
.wrow { display: grid; grid-template-columns: 60px 2.2fr 1.6fr 1fr 110px; gap: 24px; align-items: center; padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); position: relative; transition: opacity .4s, padding .5s var(--ease); }
.wrow .no { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.wrow h3 { font-size: clamp(34px, 4.4vw, 80px); transition: transform .6s var(--ease); display: flex; gap: 14px; align-items: baseline; }
.wrow h3 .badge { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--ember); color: var(--on-ember); transform: translateY(-.6em); }
.wrow .tags { color: var(--mute); font-size: 14px; }
.wrow .yr { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.wrow .go { justify-self: end; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; opacity: .5; transition: opacity .3s; }
.windex:hover .wrow { opacity: .35; }
.windex .wrow:hover { opacity: 1; }
.wrow:hover h3 { transform: translateX(16px); }
.wrow:hover .go { opacity: 1; color: var(--ember); }
.wrow.hidden { display: none; }
.wrow .thumb-m { display: none; }
@media (max-width: 900px) {
  .wrow { grid-template-columns: 1fr; gap: 10px; }
  .wrow .no, .wrow .go { display: none; }
  .wrow .thumb-m { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
  .wrow .thumb-m img { width: 100%; height: 100%; object-fit: cover; }
  .windex:hover .wrow { opacity: 1; }
}
.hover-preview { position: fixed; left: 0; top: 0; z-index: 60; width: min(34vw, 520px); aspect-ratio: 16 / 10; pointer-events: none; border-radius: 14px; overflow: hidden; opacity: 0; transform: scale(.85); transition: opacity .35s, transform .5s var(--ease); }
.hover-preview.on { opacity: 1; transform: scale(1); }
.hover-preview .strip { position: absolute; inset: 0; }
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.hover-preview img.on { opacity: 1; }
@media (hover: none) { .hover-preview { display: none; } }

/* ---------- Case study ---------- */
.case-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 40px; position: relative; overflow: hidden; }
.case-hero .bg { position: absolute; inset: -10% 0 0 0; z-index: -1; }
.case-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.case-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 8%, rgba(8,8,10,.35) 55%, rgba(8,8,10,.7)); }
.case-hero h1 { font-size: clamp(56px, 10.5vw, 210px); line-height: .86; letter-spacing: -0.035em; }
.case-hero .kicker { font-family: var(--f-display); font-style: italic; font-size: var(--fs-m); color: var(--bone-2); max-width: 30ch; margin-top: 24px; line-height: 1.1; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.case-meta div span { display: block; margin-bottom: 8px; }
.case-meta div p { margin: 0; color: var(--bone-2); font-size: 15px; }
@media (max-width: 800px) { .case-meta { grid-template-columns: 1fr 1fr; } }
.case-summary { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.case-summary .big { grid-column: 1 / span 8; font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.case-summary .svc { grid-column: 10 / span 3; }
.case-summary .svc ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.case-summary .svc li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--bone-2); display: flex; justify-content: space-between; }
.case-summary .svc li::after { content: "✓"; color: var(--accent); font-size: 12px; }
@media (max-width: 900px) { .case-summary .big, .case-summary .svc { grid-column: 1 / -1; } }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--ink-3); position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.full { aspect-ratio: 16 / 9; }
.shot.par img { height: 118%; margin-top: -9%; will-change: transform; }
.shot.tint { background: var(--accent-bg, var(--ink-3)); display: grid; place-items: center; padding: clamp(24px, 5vw, 80px); }
.shot.tint img { object-fit: contain; height: auto; max-height: 100%; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 28px); }
.duo .shot { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }
.chapter { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(56px, 7vw, 120px) 0; border-top: 1px solid var(--line); }
.chapter .ch-no { grid-column: 1 / span 2; font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.chapter h2 { grid-column: 3 / span 4; font-size: clamp(44px, 5vw, 96px); }
.chapter .ch-body { grid-column: 8 / span 5; font-size: clamp(17px, 1.3vw, 21px); color: var(--bone-2); line-height: 1.55; }
@media (max-width: 900px) { .chapter .ch-no, .chapter h2, .chapter .ch-body { grid-column: 1 / -1; } }
.case-quote { text-align: center; padding: clamp(96px, 12vw, 200px) 0; }
.case-quote blockquote { margin: 0 auto; max-width: 18ch; font-family: var(--f-display); font-size: clamp(44px, 6.6vw, 124px); line-height: .94; letter-spacing: -0.03em; }
.case-quote blockquote em { color: var(--accent); }
.case-quote cite { display: block; margin-top: 36px; font-style: normal; color: var(--mute); }
.video-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--line-2); transition: border-color .4s; }
.video-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.video-card:hover { border-color: var(--accent); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video-card:hover img { transform: scale(1.04); }
.video-card .play { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 14px; align-items: center; }
.video-card .play i { width: 64px; height: 64px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; color: var(--ink); }
.video-card .play span { max-width: 28ch; font-size: 15px; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.next-case { display: block; padding: clamp(80px, 10vw, 160px) 0; border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.next-case h2 { font-size: var(--fs-mega); line-height: .82; transition: transform .8s var(--ease), letter-spacing .8s var(--ease); }
.next-case:hover h2 { transform: scale(1.03); font-style: italic; }
.next-case .nimg { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; z-index: -1; }
.next-case .nimg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: blur(2px); }
.next-case:hover .nimg { opacity: 1; }
.results-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.results-band .r { border-top: 1px solid var(--accent); padding-top: 18px; }
.results-band .r b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 60px); line-height: 1; margin-bottom: 10px; }
.results-band .r span { color: var(--mute); font-size: 14px; }
@media (max-width: 800px) { .results-band { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 28px); }
.principle { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 40px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--ember) 8%, transparent), transparent 60%); }
.principle img { position: absolute; right: -8%; top: -6%; width: 58%; opacity: .95; transition: transform 1.2s var(--ease); filter: saturate(.9); }
.principle:hover img { transform: translateY(-8px) rotate(-4deg) scale(1.04); }
.principle h3 { font-size: clamp(40px, 3.8vw, 64px); }
.principle p { color: var(--bone-2); margin: 14px 0 0; max-width: 32ch; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.twall { columns: 3 320px; column-gap: clamp(12px, 1.6vw, 28px); }
.tcard { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.015); transition: border-color .4s, transform .6s var(--ease); }
.tcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tcard p { font-family: var(--f-display); font-size: clamp(26px, 2.2vw, 40px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.02em; }
.tcard .who { display: flex; gap: 12px; align-items: center; }
.tcard .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tcard .who b { font-weight: 500; font-size: 14px; display: block; }
.tcard .who span { font-size: 13px; color: var(--mute); }
.light .tcard { background: rgba(0,0,0,.02); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 0 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .sn { font-family: var(--f-mono); font-size: 11px; color: var(--ember); }
.step h4, .step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 2.6vw, 44px); margin: 18px 0 12px; line-height: 1; }
.step p { color: var(--bone-2); font-size: 15px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- Labs ---------- */
.chrono-stage { position: relative; height: 100svh; min-height: 640px; }
.chrono-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.chrono-ui { position: absolute; inset: auto 0 92px 0; z-index: 2; pointer-events: none; } /* clear of the floating Accent / Ask Vuild buttons */
.chrono-ui .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.chrono-ui .ctrl { pointer-events: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.chrono-ui .ctrl button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8,8,10,.72); transition: background .3s, color .3s; }
.chrono-ui .ctrl button:hover, .chrono-ui .ctrl button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.chrono-ui .readout { margin-right: 170px; font-family: var(--f-mono); font-size: 12px; color: var(--mute); text-align: right; }
.chrono-ui .readout b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4vw, 72px); color: var(--bone); letter-spacing: -0.02em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.chrono-title { position: absolute; top: 120px; left: 0; right: 0; z-index: 2; pointer-events: none; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 28px); }
.lab { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .4s; }
.lab:hover { border-color: var(--line-2); }
.lab .th { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); position: relative; }
.lab .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.lab:hover .th img { transform: scale(1.06); filter: saturate(1.05); }
.lab .th .gen { position: absolute; inset: 0; }
.lab .meta { padding: 18px 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.lab h3 { font-family: var(--f-sans); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.lab p { color: var(--mute); font-size: 14px; margin: 6px 0 0; }
.lab .yr { font-family: var(--f-mono); font-size: 11px; color: var(--mute); white-space: nowrap; }
.lab .pick { position: absolute; top: 14px; left: 14px; z-index: 2; }
.lab .pick .pill { background: rgba(8,8,10,.8); }
@media (max-width: 900px) { .chrono-ui .readout { margin-right: 0; text-align: left; } .chrono-ui { bottom: 88px; } }
@media (max-width: 1000px) { .lab-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lab-grid { grid-template-columns: 1fr; } }
.archive { columns: 3 260px; column-gap: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.archive a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); break-inside: avoid; color: var(--bone-2); transition: color .3s, padding .4s var(--ease); }
.archive a:hover { color: var(--ember); padding-left: 8px; }
.archive a span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.contact-side .ch { display: grid; gap: 28px; margin-top: 48px; }
.contact-side .ch div { border-top: 1px solid var(--line); padding-top: 16px; }
.contact-side .ch p { margin: 6px 0 0; font-size: 18px; }
.form { display: grid; gap: 40px; }
.q-block legend, .q-block label.lbl { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 44px); line-height: 1; margin-bottom: 18px; display: block; padding: 0; }
.q-block legend span, .q-block label.lbl span { font-family: var(--f-mono); font-size: 11px; color: var(--ember); vertical-align: super; margin-right: 8px; letter-spacing: .06em; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 13px 20px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--bone); }
.chips input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chips input:focus-visible + span { outline: 1.5px solid var(--ember); outline-offset: 3px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 14px 0; font-size: clamp(18px, 1.5vw, 24px); outline: none; transition: border-color .3s; border-radius: 0; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--ember); }
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .contact-grid, .two { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--mute); }
.form-status { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ember); min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Legal ---------- */
.legal-body { display: grid; grid-template-columns: 3fr 8fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.legal-body aside { position: sticky; top: 110px; display: grid; gap: 8px; }
.legal-body aside a { color: var(--mute); font-size: 14px; transition: color .3s; }
.legal-body aside a:hover { color: var(--bone); }
.legal-body article { max-width: 72ch; }
.legal-body h2 { font-size: clamp(32px, 3vw, 48px); margin: 64px 0 20px; scroll-margin-top: 110px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--bone-2); line-height: 1.7; }
@media (max-width: 800px) { .legal-body { grid-template-columns: 1fr; } .legal-body aside { position: static; } }

/* ---------- Chat ---------- */
.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 85; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(20,20,24,.72); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 20px 60px rgba(0,0,0,.45); transition: transform .5s var(--ease), opacity .4s; font-size: 14px; }
.chat-launch:hover { transform: translateY(-3px); }
body.chat-open .chat-launch { opacity: 0; pointer-events: none; transform: translateY(12px); }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 86; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100svh - 40px)); border-radius: 24px; background: rgba(14,14,17,.88); border: 1px solid var(--line-2); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 40px 120px rgba(0,0,0,.6); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.9) translateY(20px); opacity: 0; pointer-events: none; transition: transform .6s var(--ease), opacity .35s; }
body.chat-open .chat { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.chat-head .orb { width: 28px; height: 28px; flex: none; }
.chat-head b { font-weight: 500; font-size: 15px; display: block; }
.chat-head span { font-family: var(--f-mono); font-size: 10px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; display: flex; gap: 6px; align-items: center; }
.chat-head span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.chat-head .x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.chat-head .x:hover { background: rgba(255,255,255,.08); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; animation: pop .45s var(--ease); }
.msg a { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.msg.bot { background: rgba(255,255,255,.055); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--bone); color: var(--ink); border-bottom-right-radius: 6px; }
.msg.typing { display: flex; gap: 4px; padding: 16px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.msg-cards { display: grid; gap: 8px; margin-top: 10px; }
.msg-cards a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--bone); transition: border-color .3s; }
.msg-cards a:hover { border-color: var(--ember); }
.msg-cards img { width: 56px; height: 36px; object-fit: cover; border-radius: 6px; }
.msg-cards b { font-weight: 500; font-size: 13.5px; display: block; }
.msg-cards small { color: var(--mute); font-size: 12px; }
.chat-sugs { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; }
.chat-sugs button { font-size: 12.5px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--bone-2); transition: background .3s, color .3s; }
.chat-sugs button:hover { background: var(--bone); color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; outline: none; font-size: 14.5px; min-width: 0; }
.chat-form input:focus { border-color: var(--ember); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; background: var(--ember); color: var(--on-ember); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); }
.chat-form button:hover { transform: scale(1.06); }
.chat-foot { font-size: 11px; color: var(--mute-2); text-align: center; padding: 0 12px 10px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

@media (max-width: 700px) {
  .chat-launch { padding: 8px; }
  .chat-launch span:not(.orb) { display: none; }
  .case-hero .bg img { opacity: .2; }
  .chrono-stage { min-height: 780px; }
}

/* ---------- 3D work stage (home) ---------- */
.stage { position: relative; }
.stage-pin { position: relative; height: 100svh; overflow: hidden; }
.stage-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.stage-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 55% at 66% 55%, color-mix(in srgb, var(--stage-accent, var(--ember)) 22%, transparent), transparent 70%); transition: background 1.2s var(--ease); }
.stage-ui { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: 110px; padding-bottom: 36px; pointer-events: none; }
.stage-ui a, .stage-ui button { pointer-events: auto; }
.stage-top { display: flex; justify-content: space-between; align-items: center; }
.stage-copy { position: relative; align-self: center; width: min(40vw, 560px); min-height: 420px; }
.stage-item { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: 0; visibility: hidden; }
.stage-item.on { opacity: 1; visibility: visible; }
.stage-item h2 { font-size: clamp(56px, 7.4vw, 136px); line-height: .86; letter-spacing: -0.035em; }
.stage-item .kicker { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2vw, 32px); line-height: 1.1; color: var(--bone-2); max-width: 22ch; margin: 0; }
.stage-item .btn { align-self: flex-start; margin-top: 10px; }
.stage-item .btn:hover { border-color: var(--accent); }
.stage-meta { display: flex; gap: 36px; margin: 6px 0 0; }
.stage-meta dt { margin-bottom: 6px; } .stage-meta dd { margin: 0; font-size: 15px; color: var(--bone-2); }
.stage-fallback { display: none; }
.no-3d .stage-fallback { display: block; width: 100%; border-radius: 14px; margin-top: 12px; }
.stage-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.stage-nav button { position: relative; display: inline-flex; gap: 10px; align-items: baseline; padding: 12px 16px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--mute); background: rgba(8,8,10,.7); overflow: hidden; transition: color .4s, border-color .4s; }
.stage-nav button .mono { font-size: 10px; }
.stage-nav button i { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: left; }
.stage-nav button.on { color: var(--bone); border-color: var(--line-2); }
@media (max-width: 900px) {
  .stage-ui { padding-top: 88px; }
  .stage-copy { width: 100%; align-self: end; min-height: 330px; }
  .stage-item { justify-content: flex-end; gap: 12px; }
  .stage-item h2 { font-size: clamp(48px, 13vw, 72px); }
  .stage-meta { display: none; }
  .stage-3d { height: 58%; top: 40px; }
  .stage-glow { background: radial-gradient(70% 40% at 50% 32%, color-mix(in srgb, var(--stage-accent, var(--ember)) 25%, transparent), transparent 70%); }
  .stage-nav button { padding: 9px 12px 11px; font-size: 12.5px; }
}

/* ---------- Case hero with live devices ---------- */
.case-hero.has-3d .bg { opacity: .0; }
.case-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.case-hero .case-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 70% 45%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%); }
.case-hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.case-hero .wrap a { pointer-events: auto; }
.case-hero .kicker { max-width: 50%; }
@media (max-width: 900px) {
  .case-hero { padding-top: 56svh; }
  .case-3d { height: 62svh; }
  .case-hero h1, .case-hero .kicker { max-width: none; }
  .case-hero .case-glow { background: radial-gradient(80% 35% at 50% 25%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
}

/* ---------- AI ---------- */
.ai-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 4vw, 80px); align-items: center; }
.ai-viz { position: relative; aspect-ratio: 1; }
.ai-viz::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ember) 14%, transparent), transparent); }
.ai-viz canvas { position: absolute; inset: -6%; width: 112% !important; height: 112% !important; }
.ai-cap { position: absolute; left: 0; bottom: 0; }
.ai-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.ai-list li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.25vw, 19px); transition: padding .5s var(--ease), color .3s; }
.ai-list li:hover { padding-left: 10px; color: var(--ember); }
.ai-list li .mono { color: var(--mute); font-size: 11px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } .ai-viz { order: -1; max-width: 520px; width: 100%; margin: 0 auto; } }
.ai-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.ai-hero canvas { position: absolute; top: 0; right: -6vw; width: 70vw !important; height: 100% !important; }
.ai-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 68% 45%, color-mix(in srgb, var(--ember) 12%, transparent), transparent 70%); }
.ai-hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.ai-hero .wrap a, .ai-hero .wrap button { pointer-events: auto; }
.ai-hero h1 { font-size: var(--fs-xxl); line-height: .86; letter-spacing: -0.035em; }
.ai-hero .sub { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(28px, 3vw, 48px); align-items: end; }
.ai-hero .sub .lede { grid-column: 1 / span 5; }
.ai-hero .sub .actions { grid-column: 7 / span 6; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .ai-hero canvas { right: 0; width: 100% !important; height: 60% !important; } .ai-hero .sub .lede, .ai-hero .sub .actions { grid-column: 1 / -1; justify-content: flex-start; } }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 28px); }
.ai-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px); min-height: 320px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--ember) 7%, transparent), transparent 60%); transition: border-color .4s, transform .6s var(--ease); }
.ai-card:hover { border-color: color-mix(in srgb, var(--ember) 45%, transparent); transform: translateY(-4px); }
.ai-card h3 { font-size: clamp(30px, 2.6vw, 44px); line-height: 1; margin-top: 36px; }
.ai-card .pills { margin-top: auto; }
.ai-card p { color: var(--bone-2); margin: 0; font-size: 15.5px; }
.ai-card .pills { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1000px) { .ai-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ai-cards { grid-template-columns: 1fr; } }
.ai-prins { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.ai-prin { padding: 28px 22px 0 0; }
.ai-prin + .ai-prin { padding-left: 22px; border-left: 1px solid var(--line); }
.ai-prin h4, .ai-prin h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.3vw, 40px); line-height: 1; margin: 0 0 14px; }
.ai-prin p { color: var(--bone-2); font-size: 15px; margin: 0; }
@media (max-width: 1000px) { .ai-prins { grid-template-columns: 1fr 1fr; } .ai-prin:nth-child(odd) { border-left: 0; padding-left: 0; } }
.ai-demo { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 64px); background: radial-gradient(80% 120% at 0% 100%, color-mix(in srgb, var(--ember) 12%, transparent), transparent 60%); }
.cta .vmark { position: absolute; left: 50%; top: 66%; width: min(64vh, 86vw) !important; height: min(32vh, 43vw) !important; transform: translate(-50%, -50%); z-index: 0; }
.cta .actions a, .cta .actions button { pointer-events: auto; }

/* ---------- Work grid ---------- */
.work-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.work-bar .filters { margin-bottom: 0; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.view-toggle button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; color: var(--mute); transition: background .3s, color .3s; }
.view-toggle button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.wgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 32px); }
.wgrid[hidden], .windex[hidden] { display: none; }
.wcard { display: block; position: relative; }
.wcard.wide { grid-column: 1 / -1; }
.wcard.hidden { display: none; }
.wmedia { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.wcard.wide .wmedia { aspect-ratio: 16 / 8; }
.wmedia img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter .8s; }
.wcard:hover .wmedia img { transform: scale(1.07); }
.wmedia::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.wmedia .badge { position: absolute; top: 16px; left: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--ember); color: var(--on-ember); }
.wmeta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 4px 8px; }
.wmeta h3 { font-size: clamp(32px, 3.2vw, 56px); line-height: .95; transition: transform .6s var(--ease); }
.wcard:hover .wmeta h3 { transform: translateX(8px); font-style: italic; }
.wmeta p { color: var(--mute); margin: 8px 0 0; font-size: 15px; max-width: 46ch; }
.wmeta .mono { text-align: right; white-space: nowrap; }
a.wcard:hover .wmeta .mono { color: var(--accent); }
@media (max-width: 800px) { .wgrid { grid-template-columns: 1fr; } .wcard.wide .wmedia { aspect-ratio: 16 / 10; } }


/* ---------- Nav: frosted when revealed on scroll-up ---------- */
.nav { transition: transform .6s var(--ease), color .4s, background .5s, padding .5s var(--ease), backdrop-filter .5s; }
.nav.scrolled { background: color-mix(in srgb, var(--ink) 68%, transparent); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.nav.scrolled::before { opacity: 0; }
.nav.scrolled.on-light { background: color-mix(in srgb, var(--bone) 70%, transparent); border-bottom-color: rgba(8,8,10,.08); }

/* ---------- Ask Vuild orb: glassy, living plasma ---------- */
.orb { position: relative; border-radius: 50%; overflow: hidden; isolation: isolate; animation: none;
  background: radial-gradient(circle at 50% 115%, color-mix(in srgb, var(--ember) 60%, #fff) 0%, var(--ember) 38%, color-mix(in srgb, var(--ember) 35%, #000) 82%);
  /* ring: a dark gap, then a fine accent border */
  box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3.5px color-mix(in srgb, var(--ember) 75%, #fff), 0 0 22px color-mix(in srgb, var(--ember) 50%, transparent), inset 0 -5px 10px rgba(0,0,0,.4), inset 0 2px 6px rgba(255,255,255,.35); }
.orb::before { content: ""; position: absolute; inset: -35%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 15%, color-mix(in srgb, var(--ember) 30%, #fff) 25%, transparent 40% 62%, color-mix(in srgb, var(--ember) 70%, #fff) 74%, transparent 88%); filter: blur(5px); opacity: .75; animation: orb-spin 6s linear infinite; }
.orb::after { content: ""; position: absolute; left: 20%; top: 9%; width: 44%; height: 28%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); }
.chat-launch .orb { animation: orb-breathe 4s ease-in-out infinite; }
body.chat-thinking .orb::before { animation-duration: 1.4s; opacity: 1; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 50% { transform: scale(1.06); box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3.5px color-mix(in srgb, var(--ember) 85%, #fff), 0 0 34px color-mix(in srgb, var(--ember) 70%, transparent), inset 0 -5px 10px rgba(0,0,0,.4), inset 0 2px 6px rgba(255,255,255,.35); } }
.chat-launch { padding: 9px 16px 9px 10px; font-size: 13.5px; gap: 12px; }
.chat-launch .orb { width: 30px; height: 30px; }

/* ---------- Accent picker ---------- */
.accent-picker { position: fixed; left: 20px; bottom: 20px; z-index: 85; }
.accent-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--ink-2) 80%, transparent); font-size: 12.5px; color: var(--bone-2); transition: border-color .3s; }
.accent-toggle:hover { border-color: var(--bone); }
.accent-toggle i { width: 22px; height: 22px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px color-mix(in srgb, var(--ember) 60%, transparent); }
.accent-panel { position: absolute; left: 0; bottom: calc(100% + 10px); width: 244px; padding: 16px; border-radius: 18px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--ink-2) 92%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px) scale(.97); transform-origin: bottom left; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.accent-picker.open .accent-panel { opacity: 1; transform: none; pointer-events: auto; }
.accent-panel .mono { color: var(--mute); display: block; margin-bottom: 12px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.swatches button { aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: transform .3s var(--ease); }
.swatches button:hover { transform: scale(1.12); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3.5px var(--bone); }
.accent-custom { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--bone-2); }
.accent-custom input[type=color] { width: 34px; height: 34px; border: 0; padding: 0; background: none; border-radius: 50%; overflow: hidden; cursor: pointer; }
.accent-custom input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.accent-custom input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.accent-custom code { font-family: var(--f-mono); font-size: 12px; color: var(--mute); margin-left: auto; }
.accent-custom button { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.accent-custom button:hover { color: var(--bone); }
@media (max-width: 700px) { .accent-toggle span { display: none; } .accent-toggle { padding: 6px; } }

/* ---------- Client logos (SVG) ---------- */
.client .name { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.clogo { display: grid; place-items: center; height: 56px; color: var(--ink); opacity: .82; transition: opacity .4s; }
.clogo svg { display: block; height: 100%; width: auto; max-width: 150px; }
.clogo.mark { height: 48px; }
.clogo.word { height: 30px; }
.clogo.word svg { max-width: 170px; }
.client:hover .clogo { opacity: 1; }
.client .name small { margin-top: 0; }
@media (max-width: 600px) { .clogo.mark { height: 38px; } .clogo.word { height: 24px; } }

/* Orb morph on hover: the sphere turns liquid, the plasma races, the ring follows the shape */
.chat-launch:hover .orb, .chat-launch:focus-visible .orb { animation: orb-morph 2.4s cubic-bezier(.45,.05,.55,.95) infinite; }
.chat-launch:hover .orb::before, .chat-launch:focus-visible .orb::before { animation-duration: 1.1s; opacity: 1; filter: blur(3px); }
.chat-launch:hover .orb::after { animation: orb-glint 2.4s ease-in-out infinite; }
@keyframes orb-morph {
  0%, 100% { border-radius: 50%; transform: scale(1.06); }
  20% { border-radius: 60% 40% 55% 45% / 48% 60% 40% 52%; transform: scale(1.14) rotate(8deg); }
  45% { border-radius: 42% 58% 46% 54% / 58% 42% 58% 42%; transform: scale(1.1) rotate(-6deg); }
  70% { border-radius: 55% 45% 38% 62% / 44% 56% 44% 56%; transform: scale(1.16) rotate(4deg); }
}
@keyframes orb-glint { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18%, 12%) scale(.8); opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .chat-launch:hover .orb, .chat-launch:hover .orb::after { animation: none; } }

/* ---------- Peers (aligned quote grid) ---------- */
.peers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.peer { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 240px; padding: clamp(24px, 2.4vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .5s var(--ease); }
.peer p { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 2.3vw, 40px); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.peer .mono { color: var(--mute); transition: color .3s; }
.peer:hover { background: color-mix(in srgb, var(--ember) 6%, transparent); }
.peer:hover .mono { color: var(--ember); }
@media (max-width: 900px) { .peers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .peers { grid-template-columns: 1fr; } .peer { min-height: 180px; } }

/* ---------- Page transitions: curtain out → curtain in ---------- */
.curtain { position: fixed; inset: 0; z-index: 250; background: var(--ink-2); display: grid; place-items: center; pointer-events: none; transform: translateY(101%); }
.curtain svg { width: 64px; height: auto; color: var(--bone); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--ease); }
body.leaving .curtain { transform: translateY(0); transition: transform .65s cubic-bezier(.76, 0, .24, 1); }
body.leaving .curtain svg { opacity: .9; transform: none; transition-delay: .3s; }
body.leaving main, body.leaving .footer { transform: translateY(-4vh) scale(.985); opacity: .35; transition: transform .7s cubic-bezier(.76, 0, .24, 1), opacity .6s; }
body.arriving .curtain { transform: translateY(0); }
body.arriving .curtain svg { opacity: .9; transform: none; }
body.arrived .curtain { transform: translateY(-101%); transition: transform .8s cubic-bezier(.76, 0, .24, 1) .05s; }
body.arrived .curtain svg { opacity: 0; transform: translateY(-14px); transition: opacity .3s, transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } body.leaving main, body.leaving .footer { transform: none; opacity: 1; } }

/* ---------- Testimonial grid (About) ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tq { margin: 0; position: relative; display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 2.6vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 250px; transition: background .5s var(--ease); }
.tq:hover { background: rgba(8, 8, 10, .025); }
.tq.lg { grid-column: span 1; min-height: 360px; }
.tq.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: flex-end; justify-content: space-between; }
.tq-mark { font-family: var(--f-display); font-size: 64px; line-height: .6; height: 26px; color: var(--ember); }
.tq blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(28px, 2.3vw, 40px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.tq.lg blockquote { font-size: clamp(44px, 4.4vw, 80px); max-width: 12ch; }
.tq.wide blockquote { font-size: clamp(40px, 5vw, 92px); max-width: none; }
.tq figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.tq.wide figcaption { margin-top: 0; }
.tq figcaption b { display: block; font-weight: 500; font-size: 14.5px; }
.tq figcaption small { display: block; font-size: 13px; color: var(--mute); margin-top: 2px; }
.tmark { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); overflow: hidden; }
.tmark svg { width: 58%; height: 58%; object-fit: contain; }
.tmark.mono { font-size: 11px; letter-spacing: .06em; color: var(--bone-2); }
@media (min-width: 1001px) { .tgrid { grid-template-columns: repeat(6, 1fr); } .tq { grid-column: span 2; } .tq.lg { grid-column: span 3; } .tq.wide { grid-column: 1 / -1; } }
@media (max-width: 1000px) { .tgrid { grid-template-columns: 1fr 1fr; } .tq.lg { grid-column: span 1; } }
@media (max-width: 640px) { .tgrid { grid-template-columns: 1fr; } .tq.wide { flex-direction: column; align-items: flex-start; } }

/* ---------- Press logos ---------- */
.press-logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.press-logos .plogo { justify-content: center; height: clamp(96px, 9vw, 128px); padding: 0 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press-logos .plogo svg { height: var(--h); max-width: 85%; }
@media (max-width: 1000px) { .press-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .press-logos { grid-template-columns: repeat(2, 1fr); } }
.plogo { display: inline-flex; align-items: center; color: var(--bone); opacity: .62; transition: opacity .4s, transform .6s var(--ease); }
.plogo svg { height: var(--h, 100%); width: auto; display: block; overflow: visible; }
.plogo:hover { opacity: 1; transform: translateY(-2px); }

.loader .ld-mark { width: clamp(120px, 14vw, 200px); overflow: hidden; padding: 6px 0; }
.loader .ld-mark svg { width: 100%; height: auto; color: var(--bone); overflow: visible; }
.loader .ld-mark g path { transform-box: fill-box; transform-origin: 50% 100%; }

/* ---------- Orrery (hero) ---------- */
.hero canvas.orrery { position: absolute; top: 0; right: 0; width: 62vw; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; }
.hero canvas.orrery.grabbing { cursor: grabbing; }
.hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.hero .wrap a, .hero .wrap button { pointer-events: auto; }
.orrery-read { position: absolute; right: var(--gutter); top: 110px; z-index: 2; text-align: right; display: grid; gap: 4px; color: var(--mute); pointer-events: none; }
.orrery-read .od-label { color: var(--ember); }
.orrery-read b { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.2vw, 38px); text-transform: none; letter-spacing: -0.01em; color: var(--bone); font-variant-numeric: tabular-nums; }
.orrery-read small { font-size: 10px; opacity: .8; }
@media (max-width: 900px) { .hero canvas.orrery { width: 100%; height: 58%; } .orrery-read { top: 86px; } }

/* ---------- Blueprint (manifesto) ---------- */
.manifesto-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.manifesto-copy { min-height: 170vh; } /* scroll room: the phone assembles while this column scrolls past */
.manifesto-copy p.big { position: sticky; top: 18vh; }
.manifesto-copy .bp-cap { position: sticky; top: calc(18vh + 30rem); }
.manifesto .manifesto-copy p.big { font-size: clamp(32px, 3.8vw, 70px); }
.bp-cap { margin-top: 40px; }
.bp-stage { position: sticky; top: 10vh; height: 80vh; }
.bp-stage canvas { width: 100% !important; height: 100% !important; }
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; } .bp-stage { position: relative; top: 0; height: 70vh; } }

/* ---------- Capability prism ---------- */
.caps-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.caps-grid .cap-row { grid-template-columns: 56px 1fr; }
.caps-grid .cap-row .desc { grid-column: 2; padding-top: 0; }
.caps-grid .cap-row .plus { display: none; }
.caps-grid .cap-row h3 { font-size: clamp(38px, 4.2vw, 80px); }
.cap-row.on h3 { font-style: italic; transform: translateX(14px); }
.cap-row.on .no { color: var(--ember); }
.prism-stage { position: sticky; top: 12vh; height: 76vh; }
.prism-stage canvas { width: 100% !important; height: 100% !important; }
@media (max-width: 900px) { .caps-grid { grid-template-columns: 1fr; } .prism-stage { position: relative; top: 0; height: 60vh; order: -1; } }

/* ---------- Armillary (About) ---------- */
.about-hero { position: relative; overflow: hidden; }
.about-hero canvas.armillary { position: absolute; top: 0; right: 0; width: 56vw; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; }
.about-hero canvas.armillary.grabbing { cursor: grabbing; }
.about-hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.about-hero .wrap a { pointer-events: auto; }
.armillary-labels { position: absolute; top: 0; right: 0; width: 56vw; height: 100%; z-index: 2; pointer-events: none; }
.armillary-labels .al { position: absolute; left: 0; top: 0; display: grid; gap: 2px; padding: 7px 10px; border-left: 1px solid var(--ember); background: color-mix(in srgb, var(--ink) 70%, transparent); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.armillary-labels .al b { font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }
.armillary-labels .al span { font-size: 12px; color: var(--mute); }
@media (max-width: 900px) { .about-hero canvas.armillary, .armillary-labels { width: 100%; height: 56%; } .about-hero { padding-top: 52svh !important; } }

/* Work hero: the Probe */
.probe-hero { overflow: hidden; }
.probe-hero canvas.probe { position: absolute; top: 0; right: 0; width: 58vw; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%); }
.probe-hero canvas.probe.grabbing { cursor: grabbing; }
.probe-hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.probe-hero .wrap button, .probe-hero .wrap a { pointer-events: auto; }
.probe-read { position: absolute; right: var(--gutter); top: 110px; z-index: 2; text-align: right; display: grid; gap: 4px; color: var(--mute); pointer-events: none; }
.probe-read .pr-label { color: var(--ember); }
.probe-read b { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.2vw, 38px); letter-spacing: -0.01em; color: var(--bone); font-variant-numeric: tabular-nums; }
.probe-read .pr-status { display: inline-flex; gap: 8px; align-items: center; justify-content: flex-end; }
.probe-read .pr-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: pr-blink 1.6s infinite; }
@keyframes pr-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@media (max-width: 900px) { .probe-hero canvas.probe { width: 100%; height: 52%; -webkit-mask-image: none; mask-image: none; } .probe-hero { padding-top: 50svh !important; } .probe-read { top: 84px; } }

/* Contact: form beside the sticky typewriter */
.contact-hero h1 { font-size: clamp(56px, 6.4vw, 124px); }
.contact-layout { --cl-gap: clamp(32px, 5vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--cl-gap); }
.contact-layout .contact-side { margin: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.contact-layout .contact-side .ch { grid-template-columns: repeat(3, auto); gap: 24px; margin-top: 36px; }
.cl-side { position: relative; }
.tw-stick { position: sticky; top: 72px; height: calc(100svh - 96px); min-height: 520px; display: grid; grid-template-rows: 1fr auto; }
.tw-stick canvas.typewriter { width: calc(100% + var(--cl-gap) + var(--gutter) * 0.6); height: 100%; margin-left: calc(-1 * var(--cl-gap)); cursor: grab; touch-action: pan-y; }
.tw-stick { overflow: visible; }
@media (max-width: 900px) { .tw-stick canvas.typewriter { width: 100%; margin-left: 0; } }
.tw-stick canvas.typewriter.grabbing { cursor: grabbing; }
.tw-cap { text-align: center; color: var(--mute); margin: 0 0 12px; }
@media (max-width: 1100px) { .contact-layout .contact-side .ch { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .cl-side { order: -1; } .tw-stick { position: relative; top: 0; height: 96vw; min-height: 340px; max-height: 62svh; } .contact-hero { padding-top: 96px !important; } }

/* SI hero: the Automaton */
.ai-hero canvas.automaton { top: 0; right: 0; width: 62vw !important; height: 100% !important; }
@media (max-width: 900px) { .ai-hero canvas.automaton { width: 100% !important; height: 62% !important; } }

/* Investor ("Backed by") chips */
.backer { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 62%, transparent); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); border: 1px solid var(--line); color: var(--bone); }
.backer small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.backer svg { height: 14px; width: auto; display: block; }
.backer.b-foundersfund svg { height: 9px; }
.backer.b-ycombinator svg { height: 18px; }
.backer-inline { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; vertical-align: middle; color: var(--bone); opacity: .85; }
.backer-inline small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.backer-inline svg { height: 12px; width: auto; }
.backer-inline.b-foundersfund svg { height: 8px; }
.backer-inline.b-ycombinator svg { height: 15px; }
.backer-logo small { display: none; }
.backer-logo svg { height: 22px; width: auto; display: inline-block; margin-top: 4px; color: var(--bone); }
.backer-logo.b-ycombinator svg { height: 26px; }
.bmark { display: inline-flex; align-items: center; gap: 6px; }
.bword { font-family: var(--f-sans); font-weight: 600; font-size: 13px; letter-spacing: -0.01em; line-height: 1; }
.backer-inline .bword { font-size: 12px; }
.backer-logo .bword { font-size: 19px; margin-top: 4px; }
.b-ycombinator svg { color: #f26522; }

/* Award trophies (Blender renders on transparent backgrounds) */
.award { position: relative; overflow: hidden; align-items: center; }
.award .trophy { width: clamp(130px, 13vw, 190px); height: auto; margin: -28px -8px -34px 0; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); transition: transform .8s var(--ease); }
.award:hover .trophy { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.award::after { content: ""; position: absolute; right: 8%; bottom: -40%; width: 40%; height: 80%; background: radial-gradient(closest-side, rgba(255,255,255,.05), transparent); pointer-events: none; }
.backer.b-annenberg svg { height: 17px; }
.backer-inline.b-annenberg svg { height: 14px; }
.backer-logo.b-annenberg svg { height: 28px; }
.bserif { font-family: var(--f-display); font-weight: 400; font-size: 16px; letter-spacing: .01em; }
.backer-logo .bserif { font-size: 22px; }
.b-wikipedia svg { height: 18px; }
.backer-logo.b-wikipedia svg { height: 24px; }

/* Testimonial author profile links (Wikipedia / IMDb) */
.prof { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: -4px 0 -4px 7px; border-radius: 50%; border: 1px solid currentColor; opacity: .45; vertical-align: -3px; transition: opacity .3s, background .3s, color .3s, border-color .3s; }
.prof svg { width: 10px; height: 10px; }
.prof-imdb svg { width: 12px; height: 12px; }
.prof:hover, .prof:focus-visible { opacity: 1; background: var(--ember); border-color: var(--ember); color: var(--on-ember); }

/* the field the typewriter's keys are typing into */
.q-block.tw-target .field { border-color: var(--ember); box-shadow: 0 1px 0 var(--ember); transition: border-color .3s, box-shadow .3s; }
.tw-cap b { color: var(--bone); font-weight: 500; }

/* Explained chips (GEO, AEO, SEO/ASO) */
.chips .has-tip { position: relative; }
.chips .has-tip > span::after { content: "?"; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 8px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--f-mono); font-size: 9px; opacity: .55; vertical-align: 1px; }
.chips .has-tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 20; width: max-content; max-width: min(320px, 80vw); padding: 12px 14px; border-radius: 12px; background: var(--bone); color: var(--ink); font-family: var(--f-sans); font-size: 13px; line-height: 1.45; letter-spacing: 0; text-transform: none; text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%, 6px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.chips .has-tip::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 21; width: 12px; height: 12px; background: var(--bone); transform: translate(-50%, 6px) rotate(45deg); opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.chips .has-tip.tip-open::after, .chips .has-tip:hover::after, .chips .has-tip:focus-within::after { opacity: 1; transform: translate(-50%, 0); }
.chips .has-tip.tip-open::before, .chips .has-tip:hover::before, .chips .has-tip:focus-within::before { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }
@media (hover: none) { .chips .has-tip:hover::after, .chips .has-tip:hover::before { opacity: 0; } .chips .has-tip.tip-open::after, .chips .has-tip.tip-open::before { opacity: 1; } }
.chips .has-tip[data-align="left"]::after { left: 0; transform: translate(0, 6px); }
.chips .has-tip[data-align="right"]::after { left: auto; right: 0; transform: translate(0, 6px); }
.chips .has-tip[data-align="left"].tip-open::after, .chips .has-tip[data-align="left"]:hover::after, .chips .has-tip[data-align="left"]:focus-within::after,
.chips .has-tip[data-align="right"].tip-open::after, .chips .has-tip[data-align="right"]:hover::after, .chips .has-tip[data-align="right"]:focus-within::after { transform: translate(0, 0); }
.chips .has-tip[data-align="left"]::before { left: 28px; }
.chips .has-tip[data-align="right"]::before { left: auto; right: 16px; transform: translate(0, 6px) rotate(45deg); }
.chips .has-tip[data-align="right"].tip-open::before, .chips .has-tip[data-align="right"]:hover::before, .chips .has-tip[data-align="right"]:focus-within::before { transform: translate(0, 0) rotate(45deg); }

/* Charity badge: its own warm colour so it never reads as "Acquired" */
.badge.badge-charity { background: #ff8fab; color: #2a0a14; }
.badge.badge-charity::before { content: "♥"; margin-right: 6px; font-size: 9px; }

/* principle objects (Blender renders): smaller than the old illustrations, always behind the text */
.principle img { width: 46%; right: -3%; top: -2%; filter: drop-shadow(0 18px 26px rgba(0,0,0,.55)); }
.principle > span, .principle > div { position: relative; z-index: 1; }
.principle:hover img { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
@media (max-width: 900px) { .principle img { width: 42%; } }

/* SI: "Sand that thinks" statement */
.sand { text-align: center; padding-block: clamp(96px, 14vw, 200px); position: relative; overflow: hidden; }
.sand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 55%, color-mix(in srgb, var(--ember) 7%, transparent), transparent 70%); pointer-events: none; }
.sand .wrap { position: relative; }
.sand-steps { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 14px; align-items: center; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; margin: 0 0 clamp(20px, 2.4vw, 36px); }
.sand-steps i { font-style: normal; color: var(--ember); }
.sand-steps span:last-child { color: var(--bone); }
.sand-line { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 11vw, 220px); line-height: .9; letter-spacing: -0.035em; margin: 0; }
.sand-line em { color: var(--ember); }
.sand-sub { max-width: 46ch; margin: clamp(24px, 3vw, 44px) auto 0; color: var(--mute); }
.wlinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.wlinks a { color: var(--bone); }
.wlinks a:hover { color: var(--ember); }

/* badges that link out (TEDx talk) */
.backer.blink { text-decoration: none; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.backer.blink:hover { border-color: var(--line-2); background: color-mix(in srgb, var(--ink) 80%, transparent); transform: translateY(-2px); }
.backer .bgo { font-style: normal; font-size: 12px; color: var(--mute); margin-left: 2px; transition: color .3s, transform .3s var(--ease); }
.backer.blink:hover .bgo { color: var(--ember); transform: translate(2px, -2px); }
.b-ted svg { color: #e62b1e; height: 20px; width: auto; }
.b-ted .bx { color: #e62b1e; font-weight: 800; font-size: 15px; margin-left: -7px; transform: translateY(-3px); }
.b-ted .bt { margin-left: 5px; }
.badge.badge-own-venture { background: var(--bone); color: var(--ink); }

/* ---------- Dark mode (follows the system setting) ----------
   Most of the site is already dark; this turns the bone "light" sections dark too,
   lifting them a touch (ink-2) so they still read as distinct bands. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  .light { background: var(--ink-2); color: var(--bone); --line: rgba(239,235,228,.12); --line-2: rgba(239,235,228,.22); --mute: #8d8a83; --bone-2: #d9d4ca; }
  .light ::selection { background: var(--ember); color: var(--on-ember); }
  .light .clogo, .light .tmark { color: var(--bone); }
  .light .tcard { background: rgba(255,255,255,.025); }
  .light .quote-nav button:hover { background: var(--bone); color: var(--ink); }
  .btn.light { border-color: rgba(239,235,228,.3); color: var(--bone); }
  .btn.light::before { background: var(--bone); }
  .btn.light:hover { color: var(--ink); }
  /* the nav no longer flips to dark text over these sections */
  .nav.on-light { color: var(--bone); }
  .nav.on-light::before { opacity: 1; }
  .nav.on-light .nav-cta { border-color: rgba(239,235,228,.4); }
  .nav.on-light .nav-cta:hover { background: var(--bone); color: var(--ink); }
  .nav.scrolled.on-light { background: color-mix(in srgb, var(--ink) 70%, transparent); border-bottom-color: var(--line); }
}

/* Work cards and index rows link to their project pages through a full-card overlay link,
   so badges that link out (e.g. the TEDx talk) can sit above it without nesting links */
.wcard, .wrow { position: relative; }
.wcard-hit { position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.wcard-hit:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.wcard .backer.blink, .wrow .backer-inline.blink { position: relative; z-index: 3; }
.wcard .backer.blink { position: absolute; }
.wcard:hover .wmedia img { transform: scale(1.07); }
/* project pages */
.inline-badge { position: static !important; display: inline-block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--ember); color: var(--on-ember); }
.project-hero .bg img { filter: saturate(.9); }

/* legal page heroes */
.legal-hero canvas.legal3d { position: absolute; top: 0; right: 0; width: 52vw; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(to right, transparent, #000 24%); mask-image: linear-gradient(to right, transparent, #000 24%); }
.legal-hero canvas.legal3d.grabbing { cursor: grabbing; }
.legal-hero { min-height: 72svh; }
@media (max-width: 900px) { .legal-hero canvas.legal3d { top: 72px; width: 100%; height: calc(46% - 40px); -webkit-mask-image: none; mask-image: none; } .legal-hero { padding-top: 44svh !important; min-height: 0; } }
/* start the typewriter column just under the header so it's framed the same before and after it sticks */
@media (min-width: 901px) { .contact-layout .cl-side { margin-top: calc(72px - clamp(140px, 18vw, 240px)); } }
/* project galleries: website screenshots at their natural proportions */
.shot.site { aspect-ratio: auto; }
.shot.site img { height: auto; display: block; }
/* full press list under the logo grid */
.press-all { margin: clamp(28px, 3vw, 44px) 0 0; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 26px); line-height: 1.75; color: var(--mute); text-wrap: pretty; }
.press-all .mono { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.press-all span:not(.mono) { white-space: nowrap; transition: color .3s; }
.press-all span:not(.mono):hover { color: var(--bone); }
.press-all span:not(.mono):not(:last-child)::after { content: "·"; margin: 0 .55em; color: var(--line); }
.press-logos { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .press-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .press-logos { grid-template-columns: repeat(3, 1fr); } .press-logos .plogo svg { max-width: 78%; } }
/* interaction hints: "Hover" for mouse, "Tap" for touch */
.hint-tap { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-tap { display: inline; } }
/* armillary: one readable label at a time, plus a row of client locations */
.armillary-labels .al { white-space: normal; max-width: min(300px, 70%); gap: 4px; padding: 9px 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .35s; }
.armillary-labels .al span { font-size: 13px; line-height: 1.35; color: color-mix(in srgb, var(--bone) 72%, transparent); }
.armillary-labels .al.flip { border-left: 0; border-right: 1px solid var(--ember); text-align: right; }
.armillary-nav { position: absolute; right: 0; width: 56vw; top: 82%; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 var(--gutter); }
.armillary-nav button { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); background: color-mix(in srgb, var(--ink) 60%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.armillary-nav button:hover { color: var(--bone); }
.armillary-nav button[aria-pressed="true"] { color: var(--on-ember); background: var(--ember); border-color: var(--ember); }
@media (max-width: 900px) { .about-hero canvas.armillary, .armillary-labels { height: 46svh; } .armillary-nav { top: calc(46svh + 4px); left: 0; right: 0; width: auto; } .about-hero { padding-top: calc(46svh + 118px) !important; } }
@media (min-width: 901px) and (max-width: 1280px) { .armillary-nav { top: 74%; gap: 5px; } .armillary-nav button { padding: 6px 9px; font-size: 10px; } }
/* profile links: a clear pill in the top-right corner of each testimonial card */
.prof-label { display: none; }
.tq .prof { position: absolute; top: clamp(22px, 2.2vw, 38px); right: clamp(22px, 2.2vw, 38px); margin: 0; width: auto; height: 36px; padding: 0 14px 0 10px; gap: 8px; border-radius: 999px; border: 1px solid var(--line-2); opacity: 1; color: inherit; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.tq .prof svg { width: 16px; height: 16px; }
.tq .prof-imdb svg { width: 20px; height: 20px; }
.tq .prof .prof-label { display: inline; }
.tq .prof:hover, .tq .prof:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--bone); }
/* the accent reads on dark; on the light sections use a deepened version of it so it stays visible */
.light { --ember-ink: color-mix(in oklab, var(--ember) 52%, #0b0c08); }
.light .tq-mark { color: var(--ember-ink); }
.light .eyebrow::before { background: var(--ember-ink); }
@media (prefers-color-scheme: dark) { .light { --ember-ink: var(--ember); } .tq .prof:hover, .tq .prof:focus-visible { background: var(--ember); border-color: var(--ember); color: var(--on-ember); } }
.cl-main { overflow-x: clip; overflow-clip-margin: 0; }
@media (min-width: 1281px) { .armillary-nav { top: 77%; gap: 5px; max-width: 56vw; } .armillary-nav button { padding: 6px 10px; font-size: 10px; } }
.more-clients { margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.more-clients .press-all { margin-top: 0; font-size: clamp(22px, 2vw, 32px); }
.more-clients .row-head { margin-bottom: clamp(18px, 2vw, 28px); }
/* labs watch on phones: the watch first, then the title, controls and timer in the flow below it */
@media (max-width: 900px) {
  .chrono-stage { height: auto; min-height: 0 !important; display: flex; flex-direction: column; padding-top: 72px; }
  .chrono-stage canvas { position: relative !important; inset: auto; order: -1; height: 62svh !important; min-height: 380px; }
  .chrono-title, .chrono-ui { position: static; pointer-events: auto; }
  .chrono-title { margin-top: 8px; }
  .chrono-ui { margin-top: 28px; padding-bottom: 40px; }
}
/* work hero on phones: probe on top, mission readout as a compact line beneath it (never over the craft) */
@media (max-width: 900px) {
  .probe-hero canvas.probe { top: 56px; height: calc(50svh - 104px); }
  .probe-read { top: calc(50svh - 44px); left: var(--gutter); right: var(--gutter); text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 10.5px; }
  .probe-read .pr-label { flex-basis: 100%; }
  .probe-read b { font-size: 22px; }
  .probe-read .pr-status { justify-content: flex-start; }
  .probe-hero { padding-top: calc(50svh + 36px) !important; }
}
/* home hero on phones: orrery on top, date readout as one line beneath it, then the headline (nothing over the model) */
@media (max-width: 900px) {
  .hero canvas.orrery { width: 100%; top: 56px; height: calc(46svh - 56px); }
  .orrery-read { top: calc(46svh + 6px); left: var(--gutter); right: var(--gutter); text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
  .orrery-read b { font-size: 24px; }
  .orrery-read small { flex-basis: 100%; }
  .hero { min-height: 0; justify-content: flex-start; padding-top: calc(46svh + 92px); }
}
/* SI hero on phones: the automaton first, the headline and copy below it */
@media (max-width: 900px) {
  .ai-hero canvas.automaton { top: 56px !important; height: calc(54svh - 56px) !important; }
  .ai-hero { min-height: 0; justify-content: flex-start; padding-top: calc(54svh + 20px); }
}
/* chat suggestions: one swipeable row, so they never crowd out the conversation */
.chat-log { min-height: 0; }
.chat-sugs { flex: none; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 10px 16px 12px; -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 28px), transparent); }
.chat-sugs::-webkit-scrollbar { display: none; }
.chat-sugs button { flex: none; white-space: nowrap; }
@media (max-width: 900px) { .tw-cap { display: none; } .tw-stick { grid-template-rows: 1fr; } }
/* CodePen editor quotes inside the labs grid */
.lab-quotes { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin: clamp(12px, 2vw, 32px) 0; }
.lab-quotes .peer { min-height: 0; gap: 22px; }
.lab-quotes .tq-mark { display: block; }
.lab-quotes .peer p { font-size: clamp(30px, 3.2vw, 54px); max-width: 20ch; }
@media (max-width: 600px) { .lab-quotes { grid-template-columns: 1fr; } }
/* desktop: the accent button waits out of sight until the pointer reaches its corner (or it's open / keyboard-focused) */
.accent-picker.tucked { opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.accent-picker.tucked.peek, .accent-picker.tucked.open, .accent-picker.tucked:focus-within { opacity: 1; transform: none; pointer-events: auto; }
/* Boone: the glasses slide down over his eyes, hold, then push back up */
.glasses-anim { position: relative; }
.glasses-anim .gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; animation: glasses-drop 7s cubic-bezier(.45, 0, .2, 1) infinite; will-change: transform; }
@keyframes glasses-drop {
  0%, 30% { transform: translate(0, 0); }
  38% { transform: translate(calc(var(--dx) * 1.04), calc(var(--dy) * 1.08)); }  /* slides down, a touch of overshoot */
  41%, 72% { transform: translate(var(--dx), var(--dy)); }                         /* the look */
  80% { transform: translate(0, -0.35%); }                                         /* pushed back up */
  84%, 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .glasses-anim .gl { animation: none; } }
/* arriving from an internal link: the page is painted under a closed curtain from the very first frame */
html.nav-in .curtain { transform: translateY(0); transition: none; }
html.nav-in .curtain svg { opacity: .9; transform: none; transition: none; }
.curtain svg.mark { width: 64px; }
/* desktop header: larger nav links (and a matching call-to-action) */
@media (min-width: 901px) {
  .nav-links { gap: clamp(28px, 3vw, 52px); }
  .nav-links a { font-size: clamp(15px, 1.05vw, 18px); letter-spacing: -0.005em; }
  .nav-links a::after { bottom: -6px; }
  .nav-cta { font-size: clamp(14px, .95vw, 16px); padding: 11px 20px; }
}
/* "Sand that thinks": centred, with a small hourglass above the words */
.sand-grid { display: flex; flex-direction: column; align-items: center; }
.sand-stage { order: -1; position: relative; width: min(460px, 86vw); height: clamp(250px, 32svh, 320px); margin: 0 auto clamp(12px, 2vw, 28px); }
.sand-stage canvas { width: 100%; height: 100%; display: block; outline: none; }
.sand-stage canvas:focus-visible { outline: 1px solid var(--ember); outline-offset: 6px; border-radius: 12px; }
.sand-hint { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.sand-copy { text-align: center; }
