/* =========================================================
   MARK HIPOLITO — PORTFOLIO 2026
   "The Build" · see BUILD-PLAN.md
   ========================================================= */

:root {
  --void: #070707;
  --ink: #0c0c0c;
  --graphite: #161616;
  --line: rgba(244, 231, 212, .12);
  --line-2: rgba(244, 231, 212, .22);
  --ash: #c4bfb7;
  --bone: #f4e7d4;
  --white: #ffffff;
  --cobalt: #3a5bff;
  --cobalt-soft: rgba(58, 91, 255, .35);
  --signal: #3dff8b;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --fs-mega: clamp(4rem, 18vw, 22rem);
  --fs-h1: clamp(3rem, 9vw, 10rem);
  --fs-h2: clamp(2.25rem, 6vw, 6.5rem);
  --fs-statement: clamp(1.8rem, 5.2vw, 5.5rem);
  --fs-body-l: clamp(1.05rem, 1.3vw, 1.35rem);

  --gutter: clamp(16px, 4vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--cobalt); color: var(--white); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 4px; }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.serif, em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eyebrow { display: inline-block; color: var(--ash); margin-bottom: 2rem; }
.h2 {
  font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600;
  font-variation-settings: "wdth" 88; line-height: .95; letter-spacing: -.035em;
}
.h2 em { font-weight: 400; color: var(--bone); }
.lead { font-size: var(--fs-body-l); color: var(--ash); max-width: 34ch; }

/* split text masks */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  height: 52px; padding: 0 1.6em; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
}
.btn-solid { background: var(--bone); color: var(--void); }
.btn-solid:hover { background: var(--white); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(244, 231, 212, .06); }

.link-u { position: relative; padding-bottom: 2px; }
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================================
   PRELOADER — tagline → logo → streaming cards → split open
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 1000; pointer-events: all; }
.pl-half { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--ink); }
.pl-top { top: 0; }
.pl-bot { bottom: 0; }
.pl-half::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); opacity: 0; }
.pl-top::after { bottom: 0; }
.pl-bot::after { top: 0; }
.pl-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.pl-tagline, .pl-logo { grid-area: 1 / 1; text-align: center; }
.pl-tagline { font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; }
.pl-tagline span { display: inline-block; opacity: 0; filter: blur(12px); }
.pl-tagline .serif { font-size: 1.15em; }
.pl-logo {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: .02em; font-variation-settings: "wdth" 125; opacity: 0;
}
.pl-logo b { color: var(--cobalt); margin: 0 .3em; }
.pl-stream { position: absolute; top: 0; height: 100%; width: clamp(90px, 13vw, 200px); display: flex; flex-direction: column; gap: 2.5vh; justify-content: center; }
.pl-left { left: 7vw; }
.pl-right { right: 7vw; }
.pl-stream img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px;
  opacity: 0; transform: translateY(110vh); filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.pl-right img:nth-child(odd), .pl-left img:nth-child(even) { width: 78%; align-self: flex-end; }
.pl-meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; color: var(--ash); }
.pl-count b { color: var(--bone); font-weight: 500; }

/* =========================================================
   GLOBAL CHROME
   ========================================================= */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 900; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  12% { transform: translate(-5%, -8%); } 25% { transform: translate(-12%, 4%); }
  37% { transform: translate(6%, -14%); } 50% { transform: translate(-4%, 12%); }
  62% { transform: translate(-14%, 2%); } 75% { transform: translate(10%, 6%); }
  87% { transform: translate(2%, -6%); }
}
.vignette {
  position: fixed; inset: 0; z-index: 899; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* Cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.c-dot, .c-ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.c-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--white); }
.c-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255, 255, 255, .6);
  display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .3s, border-color .3s;
}
.c-label { font-family: var(--f-mono); font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--void); opacity: 0; transition: opacity .25s; }
.cursor.is-link .c-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label .c-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--white); border-color: var(--white); }
.cursor.is-label .c-label { opacity: 1; }
.cursor.is-label .c-dot { opacity: 0; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 22px var(--gutter);
  transition: transform .7s var(--ease-out), opacity .5s;
  opacity: 0;
}
.nav.is-ready { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.nav-logo i, .ui-logo i { color: var(--cobalt); font-style: normal; }
.nav-links { display: flex; gap: 2.2rem; font-size: 14px; color: var(--ash); }
.nav-links a { transition: color .3s; }
.nav-links a:hover { color: var(--bone); }
.nav-status { display: flex; align-items: center; gap: .7em; color: var(--ash); }
.nav-status i, .ui-badge i, .clocks-note i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(61, 255, 139, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 255, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 139, 0); } }
.nav-burger { display: none; width: 44px; height: 44px; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--bone); transition: transform .5s var(--ease-out); }
.nav-burger span:first-child { top: 18px; }
.nav-burger span:last-child { top: 25px; }
.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px; clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu nav { display: flex; flex-direction: column; gap: 8px; }
.menu nav a { font-family: var(--f-display); font-size: 15vw; font-weight: 600; line-height: .95; letter-spacing: -.04em; display: flex; align-items: flex-start; gap: .3em; }
.menu nav a span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--ash); padding-top: 1.2em; }
.menu p { color: var(--ash); }

/* Spine */
.spine {
  position: fixed; left: calc(var(--gutter) * .45); top: 50%; z-index: 700; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ash);
  opacity: 0; transition: opacity .6s;
}
.spine.is-ready { opacity: 1; }
.spine-count { writing-mode: vertical-rl; transform: rotate(180deg); }
.spine-idx { color: var(--bone); font-weight: 500; }
.spine-line { position: relative; width: 1px; height: 120px; background: var(--line); overflow: hidden; }
.spine-line i { position: absolute; inset: 0; background: var(--bone); transform-origin: top; transform: scaleY(0); }
.spine-name { writing-mode: vertical-rl; transform: rotate(180deg); min-height: 60px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 960; transform: translate(-50%, 220%);
  background: var(--bone); color: var(--void); padding: 14px 22px; border-radius: 999px;
  transition: transform .6s var(--ease-out), visibility .6s; visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* =========================================================
   SCENES (video + fallbacks)
   ========================================================= */
.scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.scene.has-video .scene-video { opacity: 1; }
.scene.has-video .scene-fallback { opacity: 0; }
.scene-fallback { position: absolute; inset: 0; transition: opacity .8s; }

/* Scene 1 fallback — light spill + reflective floor */
.s1-fallback { --p: 0; }
.s1-floor {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%;
  background:
    linear-gradient(to bottom, transparent, rgba(244, 231, 212, .025) 30%, transparent),
    repeating-linear-gradient(90deg, rgba(244, 231, 212, .045) 0 1px, transparent 1px 90px);
  transform: perspective(600px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.s1-glow {
  position: absolute; left: 50%; top: 52%; width: 120vmax; height: 120vmax; transform: translate(-50%, -50%) scale(calc(.35 + var(--p) * .9));
  background: radial-gradient(closest-side, rgba(244, 231, 212, calc(.04 + var(--p) * .2)), rgba(58, 91, 255, calc(var(--p) * .07)) 45%, transparent 70%);
}
.s1-haze {
  position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 50% 100%, rgba(58, 91, 255, .08), transparent 70%);
}

/* =========================================================
   01 HERO — THE BUILD
   ========================================================= */
.hero { position: relative; height: 100svh; }
.hero-pin { position: relative; height: 100svh; overflow: hidden; }

.hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; color: rgba(196, 191, 183, .7); }
.hud > span { position: absolute; }
.hud b { color: var(--bone); font-weight: 500; }
.hud-tl { top: 92px; left: var(--gutter); }
.hud-tr { top: 92px; right: var(--gutter); }
.hud-bl { bottom: 28px; left: var(--gutter); }
.hud-br { bottom: 28px; right: var(--gutter); }

.hero-intro {
  position: absolute; left: 50%; top: 22%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--ash);
}
.mouse { width: 22px; height: 34px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--bone); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.stage {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  perspective: 1800px; perspective-origin: 50% 30%;
}
.device {
  position: relative; width: min(66vw, 1080px, calc(66vh * var(--vpa, 1.6)));
  transform-style: preserve-3d; will-change: transform;
}
.lid {
  position: relative; transform-style: preserve-3d; transform-origin: 50% 100%;
}
.bezel {
  position: relative; padding: 1.4% 1.4% 2.6%;
  background: linear-gradient(180deg, #1d1d1f, #0e0e10);
  border-radius: 18px 18px 6px 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .04), 0 40px 120px rgba(0, 0, 0, .7);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.bezel::before { /* camera notch */
  content: ""; position: absolute; top: .5%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2a2a2e;
}
.lid-back {
  position: absolute; inset: 0; border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #3a3a3e, #1c1c1f 60%, #121214);
  transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; place-items: center;
}
.lid-back span { font-family: var(--f-display); font-weight: 800; font-size: 3vw; color: rgba(255, 255, 255, .12); transform: scaleX(-1); }
.screen {
  position: relative; aspect-ratio: var(--vpa, 1.6); overflow: visible; border-radius: 6px;
  background: #050506;
}
.screen-glow { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 40%, #fff, #e9e3d9 60%, #bdb6aa); opacity: 0; z-index: 3; pointer-events: none; }
.ui-mount { position: absolute; inset: 0; border-radius: inherit; }
.base {
  position: absolute; left: -7%; width: 114%; top: 100%; height: 0; transform-style: preserve-3d;
}
.base::before { /* keyboard deck, lies flat toward viewer */
  content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 10.5;
  transform-origin: top; transform: rotateX(90deg);
  background:
    radial-gradient(60% 35% at 50% 85%, rgba(255, 255, 255, .05), transparent 70%),
    linear-gradient(180deg, #2a2a2d, #1a1a1c);
  border-radius: 0 0 22px 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.base-lip { position: absolute; left: 0; top: -2px; width: 100%; height: 12px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #4a4a4f, #1c1c1e); box-shadow: 0 30px 60px rgba(0, 0, 0, .7); }
.hinge-line { position: absolute; left: 6%; right: 6%; top: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--cobalt), transparent); box-shadow: 0 0 18px 2px var(--cobalt-soft); opacity: 0; }

.publish-cursor { position: absolute; left: 70%; top: 120%; width: 3.2%; z-index: 6; opacity: 0; }
.publish-cursor svg { width: 100%; fill: var(--white); stroke: var(--void); stroke-width: 1.2; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .5)); }
.ripple { position: absolute; width: 8%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--cobalt); opacity: 0; z-index: 5; pointer-events: none; transform: translate(-50%, -50%); }

.hero-final { position: absolute; inset: 0; z-index: 4; opacity: 0; visibility: hidden; }

/* ---------- The UI (shared by mini screen + final hero) ---------- */
.ui {
  position: absolute; inset: 0; container-type: size; container-name: ui;
  color: var(--bone); background: var(--void); overflow: hidden; border-radius: inherit;
}
.ui-mount .ui { overflow: visible; }
.ui-mount .ui::before { content: ""; position: absolute; inset: 0; background: var(--void); border-radius: 6px; }
.hero-final .ui { background: transparent; }
.ui-grid {
  position: absolute; inset: 0 4cqw; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 12));
  opacity: .5; border-right: 1px solid var(--line);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.pc { position: absolute; }
.ui-nav { top: 5cqh; left: 4cqw; right: 4cqw; display: flex; justify-content: space-between; align-items: center; font-size: 1.05cqw; }
.ui-logo { font-family: var(--f-display); font-weight: 800; font-size: 1.5cqw; letter-spacing: -.03em; }
.ui-links { display: flex; gap: 2.4cqw; color: var(--ash); }
.ui-eyebrow { top: 24cqh; left: 4cqw; font-size: .82cqw; color: var(--ash); }
.ui-title {
  top: 29cqh; left: 4cqw; width: 66cqw;
  font-family: var(--f-display); font-weight: 600; font-size: 7.6cqw; line-height: .9; letter-spacing: -.045em;
  font-variation-settings: "wdth" 92;
}
.ui-title .w { display: inline-block; }
.ui-title .serif { font-weight: 400; color: var(--bone); letter-spacing: -.02em; font-size: 1.08em; }
.ui-sub { left: 4cqw; bottom: 20cqh; width: 30cqw; font-size: 1.12cqw; line-height: 1.5; color: var(--ash); }
.ui-ctas { left: 4cqw; bottom: 8cqh; display: flex; gap: .8cqw; }
.ui .btn { height: 3.7cqw; font-size: 1.04cqw; padding: 0 1.7cqw; }
.ui-card {
  top: 22cqh; right: 4cqw; width: 23cqw; border-radius: 1cqw; overflow: hidden;
  background: var(--graphite); box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .55), 0 0 0 1px var(--line);
}
.ui-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ui-card figcaption { display: flex; justify-content: space-between; padding: .9cqw 1cqw; font-size: .7cqw; color: var(--ash); }
.ui-chip {
  top: 62cqh; right: 21cqw; display: flex; align-items: baseline; gap: .7cqw;
  padding: 1cqw 1.4cqw; border-radius: .8cqw;
  background: rgba(22, 22, 22, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line-2), 0 1.5cqw 3cqw rgba(0, 0, 0, .5);
}
.ui-chip b { font-family: var(--f-display); font-size: 2cqw; font-weight: 700; letter-spacing: -.03em; }
.ui-chip span { font-size: .85cqw; color: var(--ash); }
.ui-badge {
  right: 4cqw; bottom: 8cqh; display: flex; align-items: center; gap: .8cqw;
  padding: 1cqw 1.4cqw; border-radius: 999px; font-size: .78cqw;
  background: rgba(58, 91, 255, .14); box-shadow: 0 0 0 1px rgba(58, 91, 255, .55); color: var(--bone);
}
.ui-badge i { width: .55cqw; height: .55cqw; min-width: 5px; min-height: 5px; }

@container ui (orientation: portrait) {
  .ui-nav { top: 4cqh; font-size: 3.6cqw; }
  .ui-logo { font-size: 5.4cqw; }
  .ui-links { display: none; }
  .ui-eyebrow { top: 13cqh; font-size: 2.6cqw; right: 4cqw; line-height: 1.6; }
  .ui-title { top: 19cqh; width: 92cqw; font-size: 13.2cqw; }
  .ui-card { top: 46cqh; left: 6cqw; right: auto; width: min(56cqw, 26cqh); border-radius: 3cqw; }
  .ui-card figcaption { font-size: 2.2cqw; padding: 2.4cqw; }
  .ui-chip { top: 60cqh; right: 6cqw; padding: 2.6cqw 3.4cqw; border-radius: 2.4cqw; flex-direction: column; gap: .5cqw; }
  .ui-chip b { font-size: 6.4cqw; }
  .ui-chip span { font-size: 2.6cqw; max-width: 20cqw; line-height: 1.3; }
  .ui-sub { top: 71cqh; bottom: auto; width: 88cqw; font-size: 3.8cqw; }
  .ui-ctas { top: 82cqh; bottom: auto; gap: 2.4cqw; }
  .ui .btn { height: 12cqw; font-size: 3.6cqw; padding: 0 5cqw; }
  .ui-badge { top: 91.5cqh; bottom: auto; left: 4cqw; right: auto; font-size: 2.4cqw; padding: 2cqw 3cqw; gap: 2cqw; }
  .ui-badge i { width: 1.6cqw; height: 1.6cqw; }
}

/* Drag affordances (mini screen only) */
.sel {
  position: absolute; inset: -6px; border: 1px solid var(--cobalt); pointer-events: none; opacity: 0;
  border-radius: 4px;
}
.sel::before, .sel::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--white); border: 1px solid var(--cobalt); }
.sel::before { left: -4px; top: -4px; }
.sel::after { right: -4px; bottom: -4px; }
.sel em {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  font: 500 9px/1 var(--f-mono); letter-spacing: .06em; font-style: normal; white-space: nowrap;
  background: var(--cobalt); color: var(--white); padding: 3px 5px; border-radius: 3px;
}
.drag {
  position: absolute; right: -14px; bottom: -22px; display: flex; align-items: flex-start; gap: 2px; opacity: 0; pointer-events: none; z-index: 2;
}
.drag svg { width: 16px; fill: var(--c, var(--cobalt)); stroke: var(--white); stroke-width: 1.4; }
.drag em {
  font: 500 10px/1 var(--f-body); font-style: normal; letter-spacing: 0;
  background: var(--c, var(--cobalt)); color: var(--white); padding: 4px 7px; border-radius: 3px 10px 10px 10px; margin-top: 12px; white-space: nowrap;
}

/* =========================================================
   02 STATS
   ========================================================= */
.stats { position: relative; z-index: 6; padding: 24vh 0 16vh; background: linear-gradient(to bottom, transparent, var(--void) 24vh); margin-top: -30vh; }
.marquee { display: flex; flex-direction: column; gap: 1vw; overflow: hidden; margin-bottom: 14vh; }
.mq-row { display: flex; white-space: nowrap; }
.mq-track { display: flex; align-items: center; gap: 3vw; padding-right: 3vw; flex-shrink: 0; will-change: transform; }
.mq-track span {
  font-family: var(--f-display); font-size: clamp(3rem, 9vw, 9.5rem); font-weight: 700; line-height: 1;
  letter-spacing: -.04em; font-variation-settings: "wdth" 112;
}
.mq-track span.o { color: transparent; -webkit-text-stroke: 1px rgba(244, 231, 212, .45); font-weight: 600; }
.mq-track i { font-style: normal; color: var(--cobalt); font-size: clamp(1.5rem, 3vw, 3rem); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--gutter); border-top: 1px solid var(--line); }
.stat { position: relative; padding: 3.2vw 2vw 2vw 0; border-right: 1px solid var(--line); }
.stat:not(:first-child) { padding-left: 2vw; }
.stat:last-child { border-right: 0; }
.stat-idx { display: block; color: var(--ash); margin-bottom: 2.2vw; }
.num {
  display: flex; font-family: var(--f-display); font-weight: 600; font-size: clamp(3.4rem, 7vw, 8rem);
  line-height: .9; letter-spacing: -.05em; height: 1em; overflow: hidden;
}
.num .dg { display: inline-block; height: 1em; overflow: hidden; }
.num .dg-col { display: flex; flex-direction: column; }
.num .dg-col span { height: 1em; line-height: .9; }
.num .fx { color: var(--cobalt); }
.stat p { margin-top: 1.2rem; color: var(--ash); max-width: 22ch; font-size: 15px; }

/* =========================================================
   03 MISSION
   ========================================================= */
.mission { position: relative; }
.mission-pin {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 14vh var(--gutter);
}
.blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 120px 120px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.statement {
  position: relative; font-family: var(--f-display); font-size: var(--fs-statement); font-weight: 500;
  line-height: 1.04; letter-spacing: -.035em; max-width: 20ch;
  font-variation-settings: "wdth" 96;
}
.statement .mw { opacity: .12; transition: none; }
.statement em { font-size: 1.06em; }
.statement strong { font-weight: 600; background: linear-gradient(var(--cobalt), var(--cobalt)) 0 92% / var(--u, 0%) 4px no-repeat; }

/* =========================================================
   04 PILLARS
   ========================================================= */
.pillars { position: relative; }
.pillars-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 6vh; padding: 14vh 0 10vh; overflow: hidden; }
.pillars-head { padding: 0 var(--gutter); }
.pillars-track { display: flex; gap: 2vw; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.pillar {
  position: relative; width: min(62vw, 880px); min-height: 56vh; padding: 3vw; border-radius: 20px;
  background: linear-gradient(160deg, rgba(244, 231, 212, .05), rgba(244, 231, 212, .015));
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transform-style: preserve-3d; transition: box-shadow .4s;
}
.pillar:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.pillar-num {
  font-family: var(--f-display); font-size: clamp(7rem, 17vw, 20rem); font-weight: 700; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 231, 212, .3); align-self: flex-end;
}
.pillar-body h3 { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 3.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; margin-bottom: 1.2rem; }
.pillar-body p { color: var(--ash); max-width: 46ch; font-size: var(--fs-body-l); }
.pillar-body ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.pillar-body li { padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ash); font-size: 10px; }
.pillar-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 231, 212, .09), transparent 45%);
}
.pillar:hover .pillar-shine { opacity: 1; }

/* =========================================================
   05 BRIDGE + WORK
   ========================================================= */
.bridge { position: relative; }
.bridge-pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zg { perspective: 900px; }
.zg-world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.zg-item {
  position: absolute; left: 50%; top: 50%; width: clamp(180px, 24vw, 420px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px;
  transform: translate(-50%, -50%) translate3d(calc(var(--x) * 1vw), calc(var(--y) * 1vh), calc(var(--z) * 1px)) rotate(calc(var(--r) * 1deg));
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--line);
  filter: brightness(.85);
}
.bridge-title {
  position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 700; font-size: var(--fs-mega); line-height: .82; letter-spacing: -.055em;
  font-variation-settings: "wdth" 100; mix-blend-mode: difference; color: var(--white);
}
.bridge-title .serif { font-weight: 400; letter-spacing: -.03em; }
.bridge-sub { position: absolute; bottom: 8vh; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--ash); white-space: nowrap; }

.work { position: relative; padding: 0 var(--gutter) 10vh; }
.case { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.case + .case .case-inner { box-shadow: 0 0 0 1px var(--line), 0 -40px 100px rgba(0, 0, 0, .8); }
.case-inner {
  position: relative; width: 100%; height: 84svh; border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 1.55fr 1fr;
  background: var(--graphite); box-shadow: 0 0 0 1px var(--line), 0 -30px 80px rgba(0, 0, 0, .55);
  transform-origin: 50% 0;
}
.case-media { position: relative; overflow: hidden; clip-path: inset(0 0 0 0 round 0); }
.case-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 1s; }
.case:hover .case-media img { transform: scale(1.04); filter: saturate(1.1); }
.case-info { display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4rem; padding: 3vw; }
.case-idx { color: var(--ash); margin-bottom: auto; }
.case-title {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 7vw, 8rem); line-height: .85; letter-spacing: -.055em;
  font-variation-settings: "wdth" 80;
}
.case-hook { color: var(--ash); font-size: var(--fs-body-l); max-width: 34ch; }
.case-results { display: flex; gap: 2vw; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-results li { display: flex; flex-direction: column; font-size: 12px; color: var(--ash); text-transform: uppercase; letter-spacing: .1em; font-family: var(--f-mono); }
.case-results b { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2.4rem); color: var(--bone); letter-spacing: -.03em; text-transform: none; font-weight: 600; }
.case-open { align-self: flex-start; }
.case-open span { transition: transform .5s var(--ease-out); }
.case-open:hover span { transform: translate(3px, -3px); }


/* ---------- Launched websites ---------- */
.sites { position: relative; z-index: 2; padding: 18vh var(--gutter) 16vh; background: var(--void); }
.sites-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4vw; align-items: end; margin-bottom: 10vh; }
.sites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4vw; align-items: start; }
.site:nth-child(3n + 2) { margin-top: 14vh; }
.site:nth-child(3n + 3) { margin-top: 6vh; }
.site { cursor: pointer; }
.site-frame {
  border-radius: 14px; overflow: hidden; background: var(--graphite);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .5);
  transition: transform .8s var(--ease-out), box-shadow .5s;
}
.site:hover .site-frame { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px rgba(0, 0, 0, .6); }
.site-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1b1b1d; border-bottom: 1px solid var(--line); }
.site-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 231, 212, .18); }
.site-bar b { margin-left: 10px; font-weight: 400; font-size: 10px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-view { position: relative; aspect-ratio: 10 / 12.5; overflow: hidden; background: #fff; }
.site-view img { position: absolute; top: 0; left: 0; width: 100%; height: auto; will-change: transform; }
.site figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 16px 2px 0; }
.site figcaption b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.3rem); letter-spacing: -.02em; }
.site figcaption span { color: var(--ash); font-size: 10px; white-space: nowrap; }
.ov-site { max-width: 1100px; margin: 0 auto 8vh; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.ov-site img { width: 100%; height: auto; }

/* =========================================================
   06 STORY
   ========================================================= */
.story { position: relative; }
.story-pin { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-track { display: flex; align-items: center; gap: 6vw; padding: 14vh var(--gutter); width: max-content; will-change: transform; }
.story-intro { width: min(42vw, 640px); flex-shrink: 0; }
.story-intro .h2 { margin-bottom: 2rem; }
.story-portrait { width: min(28vw, 420px); flex-shrink: 0; }
.story-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 20px; filter: grayscale(1) contrast(1.05); clip-path: inset(30% 30% 30% 30% round 200px); }
.story-portrait figcaption { margin-top: 14px; color: var(--ash); }
.timeline { display: flex; gap: 0; flex-shrink: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7.6rem; height: 1px; background: var(--line-2); }
.timeline li { position: relative; width: clamp(240px, 22vw, 340px); padding-right: 3vw; }
.timeline li::before { content: ""; position: absolute; left: 0; top: calc(7.6rem - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--void); box-shadow: inset 0 0 0 1.5px var(--bone); }
.timeline .t-now::before { background: var(--cobalt); box-shadow: 0 0 0 6px var(--cobalt-soft); }
.t-year { display: block; height: 7rem; font-family: var(--f-display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; color: transparent; -webkit-text-stroke: 1px rgba(244, 231, 212, .5); }
.t-now .t-year { color: var(--bone); -webkit-text-stroke: 0; }
.timeline h4 { margin-top: 2.2rem; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.timeline p { color: var(--ash); margin-top: .6rem; font-size: 15px; }
.story-outro { width: min(50vw, 760px); flex-shrink: 0; font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.04em; line-height: .98; }

/* =========================================================
   07 PROCESS
   ========================================================= */
.process { position: relative; padding: 16vh var(--gutter) 12vh; }
.process-head { margin-bottom: 10vh; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
.process-sticky { position: sticky; top: 12vh; height: 76vh; display: flex; align-items: center; }
.pnum-wrap { height: 1em; overflow: hidden; font-family: var(--f-display); font-weight: 700; font-size: clamp(9rem, 28vw, 30rem); line-height: 1; letter-spacing: -.07em; }
.pnum-col { display: flex; flex-direction: column; will-change: transform; }
.pnum-col span { height: 1em; line-height: 1; }
.steps { display: flex; flex-direction: column; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .25; transition: opacity .6s; }
.step.is-active { opacity: 1; }
.step h3 { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 1.2rem; }
.step p { color: var(--ash); font-size: var(--fs-body-l); max-width: 36ch; }

.engage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2vw; margin-top: 12vh; }
.engage-card, .clocks { border-radius: 20px; padding: clamp(24px, 3vw, 48px); box-shadow: inset 0 0 0 1px var(--line); background: rgba(244, 231, 212, .02); }
.engage-card ul { display: flex; flex-direction: column; }
.engage-card li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2vw; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.engage-card b { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.engage-card span { color: var(--ash); }
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); padding: 0; overflow: hidden; }
.clock { position: relative; background: var(--void); padding: clamp(20px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.clock span { color: var(--ash); }
.clock b { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.clock i { position: absolute; top: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.clock.is-on i { background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.clocks-note { grid-column: 1 / -1; background: var(--void); padding: 16px clamp(20px, 2.4vw, 36px); color: var(--ash); display: flex; align-items: center; gap: 10px; }

/* =========================================================
   08 CTA
   ========================================================= */
.cta { position: relative; }
.cta-pin { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mono-fallback { display: grid; place-items: center; }
.monolith {
  position: relative; width: clamp(160px, 18vw, 280px); aspect-ratio: 200 / 440;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(115deg, #121216 0%, #08080a 45%, #17171c 52%, #070708 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 60px 140px rgba(0, 0, 0, .9), 0 0 120px rgba(58, 91, 255, .12);
  transform: perspective(1200px) rotateY(-18deg); opacity: .55;
}
.mono-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mono-lines rect, .mono-lines path { fill: none; stroke: rgba(244, 231, 212, .8); stroke-width: .8; vector-effect: non-scaling-stroke; }
.mono-edge { position: absolute; left: 0; width: 100%; height: 30%; background: linear-gradient(to bottom, transparent, rgba(58, 91, 255, .5), transparent); top: 100%; }
.mono-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: radial-gradient(40% 50% at 50% 0%, rgba(58, 91, 255, .1), transparent 70%); }

.cta-content { position: relative; z-index: 3; text-align: center; padding: 20vh var(--gutter); display: flex; flex-direction: column; align-items: center; }
.cta-title {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(3.6rem, 13vw, 16rem); line-height: .86; letter-spacing: -.055em;
  font-variation-settings: "wdth" 100; margin-bottom: 6vh;
}
.cta-title .serif { font-weight: 400; letter-spacing: -.03em; }
.cta-title .ch { display: inline-block; will-change: transform; }
.email-pill {
  display: inline-flex; align-items: center; gap: 1rem; padding: 0 12px 0 clamp(20px, 3vw, 40px); height: clamp(64px, 7vw, 96px);
  border-radius: 999px; background: var(--bone); color: var(--void);
  font-family: var(--f-display); font-size: clamp(1.05rem, 2.4vw, 2.4rem); font-weight: 600; letter-spacing: -.03em;
  transition: background .4s;
}
.email-pill:hover { background: var(--white); }
.ep-icon { width: clamp(44px, 5vw, 72px); aspect-ratio: 1; border-radius: 50%; background: var(--void); color: var(--bone); display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.email-pill:hover .ep-icon { transform: rotate(45deg); }
.cta-sub { margin-top: 2rem; color: var(--ash); }
.cta-links { margin-top: 2.4rem; display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; font-size: 15px; }

/* =========================================================
   09 FOOTER
   ========================================================= */
.footer { position: relative; padding: 14vh var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 10vh; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols .mono { color: var(--ash); margin-bottom: 8px; }
.footer-cols a { width: fit-content; transition: color .3s; }
.footer-cols a:hover { color: var(--white); }
.footer-cols p { color: var(--ash); }
.footer-top { align-items: flex-end; }
.to-top { padding: 14px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.wordmark {
  display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 800;
  font-size: 12.2vw; line-height: .8; letter-spacing: -.06em; font-variation-settings: "wdth" 100;
  overflow: hidden; padding-bottom: 1vw;
}
.wordmark span { display: inline-block; }
.footer-bar { display: flex; justify-content: space-between; gap: 1rem; color: var(--ash); padding-top: 24px; border-top: 1px solid var(--line); margin-top: 3vh; }

/* =========================================================
   CASE OVERLAY
   ========================================================= */
.overlay { position: fixed; inset: 0; z-index: 850; background: var(--ink); clip-path: inset(100% 0 0 0); visibility: hidden; }
.overlay.is-open { visibility: visible; }
.ov-close { position: fixed; top: 22px; right: var(--gutter); z-index: 3; width: 52px; height: 52px; border-radius: 50%; background: var(--bone); color: var(--void); font-size: 16px; }
.ov-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.ov-content { padding: 16vh var(--gutter) 10vh; }
.ov-head { display: grid; grid-template-columns: 2fr 1fr; gap: 4vw; align-items: end; margin-bottom: 8vh; }
.ov-title { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h1); line-height: .85; letter-spacing: -.055em; font-variation-settings: "wdth" 82; }
.ov-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.ov-meta div span { display: block; color: var(--ash); margin-bottom: 4px; }
.ov-hero { border-radius: 20px; overflow: hidden; margin-bottom: 10vh; }
.ov-hero img { width: 100%; height: auto; }
.ov-block { display: grid; grid-template-columns: 1fr 2fr; gap: 4vw; padding: 6vh 0; border-top: 1px solid var(--line); }
.ov-block h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; }
.ov-block p { color: var(--ash); font-size: var(--fs-body-l); max-width: 60ch; }
.ov-block p + p { margin-top: 1rem; }
.ov-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; }
.ov-list li b { display: block; color: var(--bone); margin-bottom: 6px; font-weight: 600; }
.ov-list li { color: var(--ash); }
.ov-steps { counter-reset: s; display: flex; flex-wrap: wrap; gap: 10px; }
.ov-steps li { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone); font-size: 14px; }
.ov-steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero) " "; font-family: var(--f-mono); color: var(--ash); font-size: 11px; }
.ov-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.ov-stats div { padding: 2vw 0; border-top: 1px solid var(--line-2); }
.ov-stats b { display: block; font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.05em; line-height: 1; }
.ov-stats span { color: var(--ash); }
.ov-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4vw; margin: 4vh 0 10vh; }
.ov-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ov-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.ov-next { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 10vh 0 4vh; border-top: 1px solid var(--line); text-align: center; }
.ov-next span { color: var(--ash); }
.ov-next button { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h1); line-height: .9; letter-spacing: -.055em; transition: color .4s; }
.ov-next button:hover { color: var(--white); font-style: normal; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .nav-links { gap: 1.4rem; }
  .case-inner { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .case-info { padding: 28px; gap: 1rem; }
  .case-idx { margin-bottom: 0; }
  .story-intro { width: 60vw; }
  .story-portrait { width: 40vw; }
}

@media (max-width: 767px) {
  .nav { padding: 16px var(--gutter); }
  .nav-links, .nav-status { display: none; }
  .nav-burger { display: block; }
  .spine { display: none; }
  .hud-tl, .hud-tr { top: 78px; }
  .hud-br { display: none; }
  .hero-intro { top: 18%; }

  .device.is-phone { width: min(64vw, 300px, calc(64vh * var(--vpa, .5))); }
  .is-phone .bezel { padding: 3.2%; border-radius: 38px; }
  .is-phone .bezel::before { top: 2.2%; width: 26%; height: 2.2%; border-radius: 20px; margin-left: -13%; z-index: 7; background: #000; }
  .is-phone .screen { border-radius: 30px; }
  .is-phone .ui-mount .ui::before { border-radius: 30px; }
  .is-phone .lid-back { border-radius: 38px; }
  .is-phone .base, .is-phone .hinge-line { display: none; }

  .stats { padding-top: 14vh; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 12px 28px 0 !important; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 12px !important; }
  .stat-idx { margin-bottom: 16px; }
  .stat p { font-size: 13px; }

  .pillars-pin { padding: 12vh 0 6vh; }
  .pillars-track { flex-direction: column; width: auto; gap: 16px; }
  .pillar { width: 100%; min-height: auto; padding: 28px 22px; gap: 24px; }
  .pillar-num { font-size: 32vw; }

  .zg-item { width: 44vw; }
  .bridge-sub { bottom: 6vh; }

  .work { padding-bottom: 6vh; }
  .case-inner { height: 86svh; border-radius: 18px; grid-template-rows: 42% 1fr; }
  .case-title { font-size: 15vw; }
  .case-hook { font-size: 15px; }
  .case-results { gap: 20px; padding: .8rem 0; }

  .sites { padding: 12vh var(--gutter); }
  .sites-head { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 6vh; }
  .sites-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .site:nth-child(n) { margin-top: 0; }
  .site:nth-child(even) { margin-top: 8vh; }
  .site figcaption { flex-direction: column; gap: 4px; padding-top: 10px; }
  .site figcaption span { white-space: normal; }
  .site-bar { height: 24px; padding: 0 8px; gap: 4px; }
  .site-bar i { width: 6px; height: 6px; }
  .site-bar b { display: none; }
  .story-pin { display: block; }
  .story-track { flex-direction: column; align-items: stretch; width: auto; gap: 48px; padding: 12vh var(--gutter); }
  .story-intro, .story-portrait, .story-outro { width: 100%; }
  .story-portrait { width: 80%; }
  .timeline { flex-direction: column; gap: 36px; padding-left: 26px; }
  .timeline::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { width: 100%; padding: 0; }
  .timeline li::before { left: -26px; top: 18px; }
  .t-year { height: auto; font-size: 3rem; }
  .timeline h4 { margin-top: .6rem; }

  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { display: none; }
  .step { min-height: auto; padding: 40px 0; opacity: 1; }
  .step h3::before { content: attr(data-n) " "; font-family: var(--f-mono); font-size: 12px; color: var(--ash); vertical-align: top; letter-spacing: .1em; }
  .engage { grid-template-columns: 1fr; gap: 16px; }
  .engage-card li { grid-template-columns: 1fr; gap: 6px; }

  .cta-content { padding: 16vh var(--gutter); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-top { align-items: flex-start; }
  .footer-bar { flex-direction: column; }
  .wordmark { flex-direction: column; font-size: 23vw; line-height: .84; }
  .statement { font-size: 8.6vw; }

  .ov-head, .ov-block { grid-template-columns: 1fr; }
  .ov-list, .ov-gallery { grid-template-columns: 1fr; }
  .ov-stats { grid-template-columns: 1fr; }
  .pl-left { left: 3vw; }
  .pl-right { right: 3vw; }
}

/* Reduced motion: show final states */
@media (prefers-reduced-motion: reduce) {
  .grain, .mouse i, .nav-status i, .ui-badge i { animation: none; }
  .hero-final { opacity: 1 !important; visibility: visible !important; }
  .stage, .hero-intro { display: none; }
  .statement .mw { opacity: 1; }
  .statement strong { --u: 100%; }
  .story-portrait img { clip-path: none; }
  .step { opacity: 1; }
  .stats { margin-top: 0; }
}
