/* 12bit Creatives — stylesheet.
   Brand tokens first (the whole site is styled through them), then type, layout, the journey, sections. */

:root {
  --ink: #07070a;        /* page black, slightly blue */
  --ink-2: #0e0e13;      /* raised surfaces */
  --ink-3: #16161d;      /* cards */
  --bone: #f4f1ec;       /* text white, warm */
  --mute: #9a968f;       /* secondary text */
  --dim: #5c5955;        /* captions, dividers */
  --line: rgba(244, 241, 236, 0.1);
  --tungsten: #ff5a1f;   /* brand orange: hot lamp filament */
  --tungsten-2: #ff8a3d;
  --signal: #4df0ff;     /* grade partner: teal */
  --amber: #ffc46b;
  --grade: linear-gradient(90deg, #ff5a1f 0%, #ffb35c 28%, #f4f1ec 50%, #8fe9ff 72%, #4df0ff 100%);
  --display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --measure: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
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(--text); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--tungsten); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.96; margin: 0; }
h1 { font-size: clamp(2.8rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--mute); line-height: 1.5; max-width: 34em; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tungsten); margin: 0 0 18px; }
.eyebrow::before { content: ''; display: inline-block; width: 9px; height: 9px; background: currentColor; margin-right: 12px; vertical-align: 1px; }
.mono { font-family: var(--mono); }
.measure { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.band-alt { background: var(--ink-2); }
.hr { height: 1px; background: var(--line); }
.acc { color: var(--tungsten); }

/* film grain over everything, very quiet */
body::after {
  content: ''; position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 60; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-2%, 1.5%); } 66% { transform: translate(1.5%, -2%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 999px;
  background: var(--bone); color: var(--ink); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ''; position: absolute; inset: 0; background: var(--tungsten); transform: translateY(101%); transition: transform 0.45s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px rgba(244, 241, 236, 0.28); }
.btn.ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--tungsten); }
.btn.sm { padding: 11px 18px; font-size: 0.85rem; }
.btn .bit { width: 8px; height: 8px; background: var(--tungsten); transition: background 0.3s; }
.btn:hover .bit { background: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background 0.4s, backdrop-filter 0.4s; }
.nav.scrolled { background: rgba(7, 7, 10, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: baseline; gap: 0.1em; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.05em; line-height: 1; }
.brand .mark { width: 1.1em; height: auto; align-self: center; margin-right: 0.3em; }
.wm { background: var(--grade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .dot { display: inline-block; width: 0.18em; height: 0.18em; background: var(--tungsten); }
.brand small { font-family: var(--mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--mute); margin-left: 14px; text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--mute); transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--tungsten); transition: right 0.35s var(--ease); }
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.sound { display: inline-flex; align-items: center; gap: 3px; height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.3s, border-color 0.3s; }
.sound span { margin-left: 8px; }
.sound i { width: 2px; height: 6px; background: currentColor; border-radius: 1px; transition: height 0.3s; }
.sound.on { color: var(--bone); border-color: rgba(255, 90, 31, 0.6); }
.sound.on i { background: var(--tungsten); animation: eq 0.9s ease-in-out infinite; }
.sound.on i:nth-child(2) { animation-delay: 0.15s; } .sound.on i:nth-child(3) { animation-delay: 0.3s; } .sound.on i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 14px; } }
.sound.armed { border-color: rgba(255, 90, 31, 0.6); }
@media (prefers-reduced-motion: reduce) { .sound.on i { animation: none; height: 10px; } }
@media (max-width: 860px) { .sound span { display: none; } .sound { padding: 0 10px; } }
.menu-btn { display: none; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 0; }
@media (max-width: 860px) {
  .nav-links { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ink); flex-direction: column; gap: 0; padding: 20px var(--gutter); border-top: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { font-family: var(--display); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--bone); }
  .nav-links a::after { display: none; }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .nav-right { gap: 10px; }
  .brand small { display: none; }
}

/* ── loader: one dot stretches into a line, then the page is on ──────── */
.loader { position: fixed; inset: 0; z-index: 90; background: var(--ink); display: grid; place-items: center; transition: opacity 0.6s, visibility 0.6s; }
.loader.off { opacity: 0; visibility: hidden; }
.loader .ld { width: 10px; height: 10px; background: var(--bone); border-radius: 999px; animation: ld 1.5s var(--ease) infinite; }
@keyframes ld { 0% { width: 10px; opacity: 0.4; } 45% { width: 160px; opacity: 1; background: var(--tungsten); } 100% { width: 10px; opacity: 0.4; } }
.loader .lt { position: absolute; bottom: 36px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); }
@media (prefers-reduced-motion: reduce) { .loader .ld { animation: none; width: 160px; } }

/* ── the journey ──────────────────────────────────────────────────────── */
.journey { position: relative; background: var(--ink); }
.journey-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.journey-pin::before { /* vignette */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7, 7, 10, 0.75) 100%);
}
.j-cap { position: absolute; z-index: 2; opacity: 0; will-change: transform, opacity; pointer-events: none; }
.j-cap.on { pointer-events: auto; }
.j-cap .num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tungsten); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.j-cap .num i { display: inline-block; width: 28px; height: 1px; background: var(--tungsten); }
.j-cap h2 { font-size: clamp(2rem, 4.6vw, 4.2rem); }
.j-cap p { color: var(--mute); max-width: 30em; margin-top: 14px; font-size: clamp(0.98rem, 1.3vw, 1.15rem); }
.j-cap.idea { left: 0; right: 0; top: 24%; text-align: center; padding: 0 var(--gutter); }
.j-cap.idea h1 { font-size: clamp(2.6rem, 8.5vw, 8rem); }
.j-cap.idea p { margin: 22px auto 0; color: var(--mute); }
.j-cap.idea .hint { position: absolute; left: 0; right: 0; top: calc(100vh - 24% - 90px); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); }
.hint-sound { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--tungsten); padding: 0; }
.hint-sound:hover { color: var(--bone); }
.sound-live .hint-sound { display: none; }
.j-cap.craft.hero h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
@media (min-width: 861px) and (min-aspect-ratio: 6/5) { .j-cap.craft.hero { left: auto; right: calc(var(--gutter) + 120px); text-align: right; max-width: 440px; } .j-cap.craft.hero .num { justify-content: flex-end; } .j-cap.craft.hero p { margin-left: auto; } }
.j-cap.craft.hero .num { color: var(--signal); }
.j-cap.craft.hero .num i { background: var(--signal); }
.j-cap.idea .hint::after { content: ''; display: block; width: 1px; height: 36px; margin: 12px auto 0; background: linear-gradient(var(--tungsten), transparent); }
.j-cap.craft { left: var(--gutter); bottom: 10vh; max-width: 520px; }
.j-cap.final { left: 0; right: 0; bottom: 8vh; text-align: center; padding: 0 var(--gutter); }
.j-cap.final .num { justify-content: center; }
.j-cap.final .num i { display: none; }
.j-cap.final p { margin: 0 auto 26px; }
.j-cap.final .row { justify-content: center; }
.rail { position: absolute; right: calc(var(--gutter) - 4px); top: 50%; transform: translateY(-50%); z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rail li { position: relative; width: 9px; height: 9px; background: rgba(244, 241, 236, 0.18); transition: background 0.3s, transform 0.3s; }
.rail li::after { content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); opacity: 0; transition: opacity 0.3s; }
.rail li.on { background: var(--tungsten); transform: scale(1.35); }
.rail li.on::after { opacity: 1; }
.rail li.done { background: rgba(244, 241, 236, 0.6); }
@media (max-width: 860px) {
  .j-cap.idea { top: 18%; }
  .j-cap.craft { bottom: 7vh; right: var(--gutter); max-width: none; }
  .j-cap.craft h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .j-cap.craft.hero h2 { font-size: clamp(1.6rem, 7.2vw, 2.2rem); }
  .j-cap.craft p { font-size: 0.92rem; }
  .rail { right: 10px; gap: 10px; }
  .rail li::after { display: none; }
}
/* static journey: reduced motion or no WebGL. The pin is not applied; the canvas shows the finished wordmark. */
.journey-static .journey-pin { height: auto; min-height: 100vh; overflow: visible; display: grid; align-content: center; padding: calc(var(--nav-h) + 60px) 0 60px; }
.journey-static #stage { position: absolute; inset: 0; height: 100%; }
.journey-static .j-cap { position: relative; opacity: 1; inset: auto; pointer-events: auto; }
.journey-static .j-cap.idea { padding-bottom: 50vh; }
.journey-static .j-cap.idea .hint { display: none; }
.journey-static .j-cap.craft { display: none; }
.journey-static .rail { display: none; }
.journey-static .j-static { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: var(--measure); margin: 0 auto 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.j-static { display: none; }
.j-static li { list-style: none; border-top: 1px solid var(--line); padding-top: 14px; }
.j-static .num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--tungsten); display: block; margin-bottom: 8px; }
.j-static h3 { font-size: 1.2rem; }
.j-static p { color: var(--mute); font-size: 0.92rem; margin-top: 6px; }

/* ── thesis ──────────────────────────────────────────────────────────── */
.thesis h2 { font-size: clamp(2.4rem, 7vw, 6.5rem); max-width: 12em; }
.thesis h2 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.thesis h2 .w span { display: inline-block; transform: translateY(110%); }
.thesis .lede { margin-top: 34px; }
.thesis .arrow { display: inline-block; width: 0.9em; height: 0.08em; background: var(--tungsten); vertical-align: middle; margin: 0 0.15em; position: relative; }
.thesis .arrow::after { content: ''; position: absolute; right: -0.02em; top: 50%; width: 0.3em; height: 0.3em; border: 0.08em solid var(--tungsten); border-left: 0; border-bottom: 0; transform: translateY(-50%) rotate(45deg); }

/* ── services ────────────────────────────────────────────────────────── */
.services .head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { position: relative; padding: 28px 24px 30px; min-height: 290px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; overflow: hidden; isolation: isolate; transition: background 0.4s; }
.svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 260px at var(--mx, 50%) var(--my, 0%), rgba(255, 90, 31, 0.18), transparent 70%); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.svc:hover::before { opacity: 1; }
.svc .bits { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--dim); display: flex; justify-content: space-between; }
.svc .bits b { color: var(--tungsten); font-weight: 500; }
.svc svg { width: 54px; height: 54px; stroke: var(--bone); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: auto; transition: transform 0.6s var(--ease); }
.svc:hover svg { transform: translateY(-6px) rotate(-4deg); }
.svc h3 { margin-top: 10px; font-size: clamp(1.15rem, 1.5vw, 1.45rem); overflow-wrap: anywhere; }
.svc p { color: var(--mute); font-size: 0.95rem; }
.svc-all { margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.svc-all .big { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.85; letter-spacing: -0.04em; color: var(--tungsten); }
.svc-all p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 38em; }
.svc-all p strong { color: var(--bone); font-weight: 600; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; white-space: nowrap; margin-top: 64px; }
.marquee .track { display: inline-flex; gap: 48px; animation: mq 40s linear infinite; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
.marquee .track span::before { content: '■'; color: var(--tungsten); margin-right: 48px; font-size: 0.5em; vertical-align: middle; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }
.brand-band { margin-top: clamp(60px, 8vw, 110px); padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.brand-band .head { margin-bottom: clamp(32px, 4vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: none; }
.steps li { padding: 24px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.steps b { font-family: var(--mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--tungsten); }
.steps span { font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.1; }
.steps small { font-size: 0.95rem; color: var(--mute); margin-top: auto; }
@media (max-width: 1120px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .services .head { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 0; } .svc-all { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } }

/* ── bit depth: why 12bit ────────────────────────────────────────────── */
.depth { background: var(--ink-2); overflow: hidden; }
.depth .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.bits { list-style: none; margin: 0 0 clamp(60px, 9vw, 120px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); counter-reset: none; }
.bits li { position: relative; aspect-ratio: 1; border-radius: 6px; background: rgba(244, 241, 236, var(--lit, 0.14)); padding: clamp(10px, 1.6vw, 20px); display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); overflow: hidden; transition: transform 0.5s var(--ease), background 0.4s; }
.bits li:nth-child(1) { --lit: 0.14; } .bits li:nth-child(2) { --lit: 0.22; } .bits li:nth-child(3) { --lit: 0.32; } .bits li:nth-child(4) { --lit: 0.46; }
.bits li:nth-child(5) { --lit: 0.2; } .bits li:nth-child(6) { --lit: 0.34; } .bits li:nth-child(7) { --lit: 0.52; } .bits li:nth-child(8) { --lit: 0.74; }
.bits li:nth-child(9) { --lit: 0.3; } .bits li:nth-child(10) { --lit: 0.5; } .bits li:nth-child(11) { --lit: 0.8; }
.bits li.on { background: var(--tungsten); }
.bits li.heart { box-shadow: inset 0 0 0 2px var(--signal); }
.bits li:hover { transform: translateY(-4px); }
.bits li b { font-family: var(--mono); font-weight: 500; font-size: clamp(0.6rem, 0.9vw, 0.75rem); letter-spacing: 0.2em; color: rgba(7, 7, 10, 0.7); }
.bits li:nth-child(-n+6) b, .bits li:nth-child(-n+6) span, .bits li:nth-child(-n+6) small, .bits li:nth-child(9) b, .bits li:nth-child(9) span, .bits li:nth-child(9) small { color: var(--bone); }
.bits li:nth-child(-n+6) b, .bits li:nth-child(9) b { color: var(--mute); }
.bits li span { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(0.72rem, 1.15vw, 1.1rem); line-height: 1.08; overflow-wrap: anywhere; hyphens: auto; }
.bits li small { font-size: clamp(0.62rem, 0.9vw, 0.82rem); opacity: 0.8; display: none; }
.bits li.on small { display: block; }
.why-depth h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
@media (min-width: 861px) { .bits li small { display: block; } }
@media (max-width: 860px) { .why-head { grid-template-columns: 1fr; } .bits { gap: 6px; } .bits li { padding: 8px; border-radius: 4px; } .bits li.on small { display: none; } .bits li b { font-size: 0.5rem; letter-spacing: 0.12em; } }
.ramp { display: grid; gap: 16px; }
.ramp .r { position: relative; height: 72px; border-radius: 6px; overflow: hidden; }
.ramp .r::after { content: attr(data-label); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); mix-blend-mode: plus-lighter; opacity: 0.85; }
.ramp .r.banded { background: linear-gradient(90deg, #1b0d08 0 12.5%, #4a1d0f 12.5% 25%, #7a2c14 25% 37.5%, #a73d18 37.5% 50%, #d04d1a 50% 62.5%, #ff5a1f 62.5% 75%, #ff8a3d 75% 87.5%, #ffb35c 87.5% 100%); }
.ramp .r.smooth { background: linear-gradient(90deg, #1b0d08, #ff5a1f 62%, #ffb35c); }
.ramp .r.grade { background: var(--grade); }
.ramp .r.banded::after, .ramp .r.smooth::after, .ramp .r.grade::after { color: var(--bone); mix-blend-mode: normal; }
.depth .num-row { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.depth .num-row div { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.03em; }
.depth .num-row small { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); margin-top: 6px; font-weight: 400; }
@media (max-width: 860px) { .depth .grid { grid-template-columns: 1fr; } }

/* ── work ────────────────────────────────────────────────────────────── */
.work .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.reel { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink-3); isolation: isolate; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.ph::before { content: ''; position: absolute; inset: 0; background:
  linear-gradient(135deg, rgba(255, 90, 31, 0.25), transparent 40%, transparent 60%, rgba(77, 240, 255, 0.18)),
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(244, 241, 236, 0.045) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(244, 241, 236, 0.045) 39px 40px); }
.ph .tag { position: relative; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--amber); border: 1px dashed rgba(255, 196, 107, 0.5); padding: 8px 12px; background: rgba(7, 7, 10, 0.5); }
.ph .tag small { display: block; letter-spacing: 0.1em; text-transform: none; color: var(--mute); margin-top: 4px; font-size: 0.68rem; }
.reel .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--bone); color: var(--ink); display: grid; place-items: center; transition: transform 0.5s var(--ease), background 0.3s; z-index: 2; }
.reel:hover .play { transform: translate(-50%, -50%) scale(1.1); background: var(--tungsten); }
.reel .play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.reel .ph .tag { transform: translateY(80px); }
.reel .meta { position: absolute; left: 20px; bottom: 18px; right: 20px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); z-index: 2; }
.reel .meta b { color: var(--bone); font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--ink-3); transform-style: preserve-3d; }
.tile:nth-child(3n+2) { aspect-ratio: 4 / 5; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 10px; z-index: 2; }
.tile .cap h3 { font-size: 1.15rem; }
.tile .cap span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.tile .sheen { position: absolute; inset: 0; background: radial-gradient(300px 300px at var(--mx, 50%) var(--my, 50%), rgba(244, 241, 236, 0.14), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 1; }
.tile:hover .sheen { opacity: 1; }
.tile .ph::before { background: linear-gradient(160deg, var(--c1, #2a1810), var(--c2, #0e0e13) 60%, var(--c3, #0b1f24)); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; gap: 14px; } .reel .play { width: 64px; height: 64px; } }

/* ── studio ──────────────────────────────────────────────────────────── */
.studio .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.studio .big { font-size: clamp(1.6rem, 3vw, 2.6rem); font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.studio .big em { font-style: normal; color: var(--tungsten); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.principles li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles .n { font-family: var(--mono); color: var(--tungsten); font-size: 0.8rem; letter-spacing: 0.2em; padding-top: 4px; }
.principles h3 { font-size: 1.25rem; margin-bottom: 8px; }
.principles p { color: var(--mute); font-size: 0.98rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.stats div { border-top: 1px solid var(--line); padding-top: 16px; }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.stats small { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); display: block; margin-top: 8px; }
@media (max-width: 860px) { .studio .grid { grid-template-columns: 1fr; gap: 36px; } .stats { grid-template-columns: 1fr 1fr; } }

/* ── contact ─────────────────────────────────────────────────────────── */
.contact { background: var(--ink-2); }
.contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 6.5vw, 6rem); }
.contact .lines { margin-top: 40px; display: grid; gap: 14px; }
.copyline { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 12px; }
.copyline span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.copyline code { font-family: var(--mono); font-size: 0.9rem; }
.copyline button { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tungsten); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.socials a { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute); transition: color 0.3s, border-color 0.3s; }
.socials a:hover { color: var(--bone); border-color: var(--tungsten); }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea, .field select {
  min-width: 0; max-width: 100%;
  font: inherit; color: var(--bone); background: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; width: 100%; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--tungsten); }
.field textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 0.82rem; color: var(--dim); }
@media (max-width: 860px) { .contact .grid { grid-template-columns: 1fr; } .form .two { grid-template-columns: 1fr; } .copyline { grid-template-columns: 70px 1fr auto; } }

/* ── footer ──────────────────────────────────────────────────────────── */
footer { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: end; }
.foot .big { font-family: var(--display); font-weight: 800; font-size: clamp(3.6rem, 14vw, 14rem); letter-spacing: -0.05em; line-height: 0.82; margin: 0 0 24px; display: flex; align-items: baseline; gap: 0.08em; }
.foot .big i { display: inline-block; width: 0.17em; height: 0.17em; background: var(--tungsten); }
.foot .big .mark { width: 0.9em; height: auto; align-self: center; margin-right: 0.12em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; color: var(--mute); }
.foot nav a:hover { color: var(--bone); }
.foot .legal { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-top: 20px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }

/* ── reveals ─────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); }
.journey-static .reveal, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf h1 { font-size: clamp(5rem, 22vw, 18rem); line-height: 0.85; }
.nf h1 span { color: var(--tungsten); }

/* ── inner pages ─────────────────────────────────────────────────────── */
.page-hero { padding-top: calc(var(--nav-h) + clamp(70px, 12vw, 150px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.5rem); max-width: 12em; }
.nav-links a.active { color: var(--bone); }
.nav-links a.active::after { right: 0; }
.cta { border-top: 1px solid var(--line); }
.cta-in { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5.5rem); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-list li { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.02em; }
.svc-list b { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--tungsten); margin-bottom: 10px; }
@media (max-width: 900px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
body.inner .nav { background: rgba(7, 7, 10, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }

/* ── phone polish ────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .thesis h2 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .cta h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .contact h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .foot .big { font-size: clamp(2.4rem, 16vw, 5.5rem); }
  .copyline { grid-template-columns: 64px 1fr auto; font-size: 0.86rem; }
  .copyline code { font-size: 0.78rem; overflow-wrap: anywhere; }
  .depth .num-row div { font-size: 1.6rem; }
  .bits li span { font-size: 0.58rem; letter-spacing: -0.01em; }
  .j-cap.idea .lede { font-size: 1rem; }
  .j-cap.final .row { flex-direction: column; }
  .j-cap.final .btn { width: 100%; justify-content: center; }
  .btn { padding: 14px 20px; }
}
