/* QLZ Web Dev. Tokens first; everything else reads from them. */
:root {
  --canvas: #0B0A0A;
  --surface: #151111;
  --surface-2: #1D1717;
  --glass: rgba(21, 17, 17, 0.72);
  --ink: #F4EEE8;
  --ink-soft: #ADA39C;
  --ink-faint: #756C66;
  --line: rgba(244, 238, 232, 0.1);
  --line-strong: rgba(244, 238, 232, 0.2);
  --red: #A01010;
  --red-btn: #B5160F;
  --red-hot: #E8392F;
  --wa: #1F8A4C;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 76px);
  --nav-h: 72px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red-hot); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--canvas); border-radius: 999px; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- World and atmosphere ---------- */
#world {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none;
}
.no-webgl #world { display: none; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
}
main, .footer { position: relative; z-index: 2; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}
.h2 em, .display em { font-style: normal; color: var(--red-hot); }
.lede { color: var(--ink-soft); font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.6; max-width: 34rem; text-wrap: pretty; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--red-hot); transform: rotate(45deg); }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 15.5px/1 var(--text); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red-btn); color: #fff; box-shadow: 0 10px 30px -12px rgba(180, 20, 15, 0.8); }
.btn-primary:hover { background: #C91C14; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(11, 10, 10, 0.35); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #239B56; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand svg { width: 30px; height: 30px; transition: transform 0.5s var(--ease); }
.brand:hover svg { transform: rotate(60deg); }
.brand-name { font: 600 17px/1 var(--display); letter-spacing: 0.06em; }
.brand-sub { font: 500 11.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; }
.nav-links a:not(.btn) {
  font: 500 13px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft); padding: 8px 0; transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(11, 10, 10, 0.5); cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(11, 10, 10, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu a:not(.btn) {
  font: 600 clamp(2rem, 9vw, 3rem)/1.2 var(--display); letter-spacing: -0.03em; text-decoration: none;
  transform: translateY(16px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s ease;
}
.menu.is-open a:not(.btn) { transform: none; opacity: 1; }
.menu.is-open a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open a:nth-child(4) { transition-delay: 0.15s; }
.menu .btn { margin-top: 28px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- Acts ---------- */
.act { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
[data-cue] { opacity: 0; will-change: opacity, transform; }

/* Hero: WebGL mark behind, copy in the middle, blurred shards in front. */
.hero { height: 165vh; }
.hero-copy {
  position: absolute; left: var(--gutter); bottom: max(9vh, 64px); z-index: 2;
  width: min(54rem, 60vw);
  transform: translate3d(0, calc(var(--p) * -16vh), 0);
  opacity: calc(1 - var(--p) * 1.6);
}
.hero h1 { font-size: clamp(3rem, 7.6vw, 7.8rem); margin: 22px 0 26px; }
.hero h1 .line { display: block; }
.hero .lede { margin-bottom: 34px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.fg { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.shard {
  position: absolute;
  transform: translate3d(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--p) * var(--v) * -1vh + var(--my, 0) * var(--d) * 1px), 0);
}
.shard svg { width: 100%; height: 100%; }
.shard-a { --d: -38; --v: 90; width: 30vw; max-width: 460px; right: -6vw; bottom: -14vh; filter: blur(16px); opacity: 0.7; }
.shard-b { --d: -22; --v: 60; width: 9vw; max-width: 130px; left: 52vw; top: 18vh; filter: blur(5px); opacity: 0.8; }
.shard-c { --d: -14; --v: 40; width: 4.5vw; max-width: 64px; left: 41vw; top: 13vh; opacity: 0.9; }

.hero-intro .line, .hero-intro .kicker, .hero-intro .lede, .hero-intro .ctas {
  animation: rise 1.1s var(--ease) both;
}
.hero-intro .kicker { animation-delay: 0.1s; }
.hero-intro .line:nth-child(1) { animation-delay: 0.18s; }
.hero-intro .line:nth-child(2) { animation-delay: 0.28s; }
.hero-intro .lede { animation-delay: 0.42s; }
.hero-intro .ctas { animation-delay: 0.52s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 34px, 0); } }

/* Tension: copy trails right while the old site breaks on the left. */
.tension { height: 250vh; }
.tension-copy {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(34rem, 42vw); display: grid; gap: 18px; text-align: right;
}
.tension-copy::before {
  content: ""; position: absolute; inset: -12vh -6vw -12vh -10vw; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(11, 10, 10, 0.85), rgba(11, 10, 10, 0));
}
.t-line { font: 500 clamp(1.25rem, 2.1vw, 2rem)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink-soft); text-wrap: balance; }
.t-line.big { color: var(--ink); font-size: clamp(1.7rem, 3.2vw, 3rem); font-weight: 600; margin-top: 10px; }
.t-line.big em { font-style: normal; color: var(--red-hot); }

/* Assembly: the peak. Copy leads left, the exploded page sits right. */
.assembly { height: 440vh; }
.asm-copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(30rem, 34vw); display: grid;
}
.asm-copy > * { grid-area: 1 / 1; align-self: center; }
.asm-copy .h2 { font-size: clamp(1.9rem, 3.4vw, 3.4rem); }
.asm-copy .lede { margin-top: 18px; }
.layers { list-style: none; padding: 0; display: grid; gap: 4px; counter-reset: none; }
.layers li {
  padding: 14px 0 14px 20px; border-left: 2px solid var(--line);
  opacity: 0.38; transition: opacity 0.4s ease, border-color 0.4s ease;
}
.layers li.is-done { opacity: 0.62; }
.layers li.is-active { opacity: 1; border-left-color: var(--red-hot); }
.layers h3 { font: 600 clamp(1.05rem, 1.5vw, 1.35rem)/1.2 var(--display); letter-spacing: -0.01em; }
.layers p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease), margin 0.5s var(--ease); }
.layers li.is-active p { max-height: 6em; margin-top: 6px; }
.asm-final .btn { margin-top: 28px; }
.assembly-still { display: none; }

/* Process: travelled sideways. */
.process { height: 300vh; }
.process-head { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 9vh); width: min(40rem, 80vw); }
.process-head .lede { margin-top: 16px; }
.process-track {
  position: absolute; left: 0; bottom: 9vh; display: flex; gap: 20px; padding-left: var(--gutter); padding-right: var(--gutter);
  transform: translate3d(calc(var(--p) * var(--travel, 0px) * -1), 0, 0);
}
.step {
  flex: none; width: clamp(18rem, 34vw, 31rem); min-height: 17rem; display: flex; flex-direction: column; padding: 32px 30px 34px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.step-n { font: 500 13px/1 var(--mono); color: var(--red-hot); letter-spacing: 0.1em; }
.step h3 { font: 600 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--display); letter-spacing: -0.03em; margin: auto 0 14px; }
.step p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.step-end { background: var(--red-btn); border-color: transparent; display: flex; flex-direction: column; justify-content: space-between; }
.step-end h3 { margin-top: 0; }
.step-end p { color: rgba(255, 255, 255, 0.82); }
.step-end .btn { background: #fff; color: var(--canvas); align-self: flex-start; margin-top: 22px; }

/* Proof: split, the case file tilts up and scrolls inside its frame. */
.proof { height: 280vh; }
.proof .pin { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: var(--nav-h) var(--gutter) 0; }
.proof-copy .h2 { margin: 20px 0 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; padding: 0; list-style: none; }
.tags li { font: 500 12.5px/1 var(--mono); letter-spacing: 0.04em; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red-hot); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.case-stage { perspective: 1500px; }
.case-frame {
  --k: clamp(0, calc(var(--p) * 2.8), 1);
  position: relative; height: min(70vh, 640px); border-radius: 18px; overflow: hidden;
  background: #F4EEE6; color: #1B1515;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--k)) * 24deg)) rotateY(calc((1 - var(--k)) * -16deg)) scale(calc(0.86 + var(--k) * 0.14));
}
.case-bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2; height: 44px; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; background: #E9E0D4; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font: 500 12px/1 var(--mono); color: #6A5F58;
}
.case-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFC4BC; }
.case-bar span { margin-left: 10px; }
.case-scroll {
  padding: 84px clamp(22px, 4vw, 52px) 60px;
  transform: translate3d(0, calc(clamp(0, (var(--p) - 0.36) / 0.56, 1) * var(--shot-travel, 0px) * -1), 0);
}
.case-scroll h3 { font: 600 clamp(2rem, 3.6vw, 3.2rem)/0.98 var(--display); letter-spacing: -0.04em; }
.case-scroll .sub { color: #6A5F58; margin: 10px 0 34px; }
.case-block { border-top: 1px solid rgba(27, 21, 21, 0.14); padding: 22px 0 26px; display: grid; grid-template-columns: 9rem 1fr; gap: 16px; }
.case-block h4 { font: 500 12px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #A01010; }
.case-block p, .case-block li { font-size: 16px; line-height: 1.6; color: #2A2222; }
.case-block ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.case-block li { padding-left: 22px; position: relative; }
.case-block li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; background: #A01010; transform: rotate(45deg); }
.case-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.case-results div { background: #fff; border-radius: 12px; padding: 16px; }
.case-results b { display: block; font: 600 1.25rem/1.1 var(--display); letter-spacing: -0.02em; }
.case-results span { font-size: 13.5px; color: #6A5F58; }

/* Why: index cards that stack as you read. */
.why { padding: 22vh var(--gutter) 18vh; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); }
.why-head { position: sticky; top: 22vh; align-self: start; }
.why-head .lede { margin-top: 20px; }
.why-cards { display: grid; gap: 0; }
.why-card {
  position: sticky; top: calc(18vh + var(--i) * 22px);
  margin-bottom: 26vh; padding: clamp(28px, 3.4vw, 46px); border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.9);
  min-height: 19rem; display: flex; flex-direction: column; justify-content: space-between;
}
.why-card:last-child { margin-bottom: 0; }
.why-card .tag { font: 500 12.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); }
.why-card h3 { font: 600 clamp(1.8rem, 3.2vw, 2.9rem)/1 var(--display); letter-spacing: -0.035em; margin: 40px 0 16px; }
.why-card p { color: var(--ink-soft); max-width: 34rem; }
.why-card.schools { background: #F4EEE6; color: #1B1515; }
.why-card.schools p { color: #5B504A; }
.schools-list { list-style: none; padding: 0; display: grid; gap: 6px; margin: 30px 0 18px; }
.schools-list li { font: 600 clamp(1.15rem, 2vw, 1.7rem)/1.15 var(--display); letter-spacing: -0.025em; }

/* Contact: the page stops moving and listens. */
.contact { padding: 47vh var(--gutter) 12vh; text-align: center; }
.contact .h2 { font-size: clamp(2.8rem, 8vw, 7.4rem); }
.contact > .lede { margin: 24px auto 0; }
.channels { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 36px 0 64px; }
.brief {
  max-width: 46rem; margin: 0 auto; text-align: left;
  padding: clamp(24px, 4vw, 44px); border-radius: 28px;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.brief h3 { font: 600 1.4rem/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 6px; }
.brief > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px;
  background: rgba(244, 238, 232, 0.04); border: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, background-color 0.2s ease; outline: none;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red-hot); background: rgba(244, 238, 232, 0.07); }
.brief .btn { margin-top: 22px; width: 100%; }
.form-note { color: var(--ink-soft); font-size: 14px; margin-top: 12px; min-height: 1.4em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px var(--gutter) 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--canvas); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.footer nav a, .footer small { font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #fff;
  font: 600 14.5px/1 var(--text); text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s var(--ease), background-color 0.2s ease, opacity 0.3s ease, visibility 0.3s;
  opacity: 0; visibility: hidden; transform: translateY(12px);
}
.past-hero .wa-float { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: translateY(-3px); background: #239B56; }
.wa-float svg { width: 22px; height: 22px; }

/* No-WebGL: a static mark so the hero still has a subject. */
.hero-fallback { display: none; }
.no-webgl .hero-fallback {
  display: block; position: absolute; right: 8vw; top: 50%; width: min(34vw, 420px); transform: translateY(-55%) rotate(-8deg);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}

/* ---------- Tablet and below ---------- */
@media (max-width: 1024px) {
  .proof .pin { grid-template-columns: 1fr; align-content: center; gap: 28px; padding-top: calc(var(--nav-h) + 12px); }
  .proof-copy .lede { display: none; }
  .case-frame { height: 52vh; }
  .why { grid-template-columns: 1fr; }
  .why-head { position: relative; top: 0; }
}

/* ---------- Phone: its own composition, not a squeezed desktop ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .brand-sub { display: none; }

  .hero { height: 130vh; }
  .hero-copy { width: auto; right: var(--gutter); bottom: max(5vh, 28px); }
  .hero h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); margin: 16px 0 18px; }
  .hero .lede { margin-bottom: 24px; font-size: 1rem; }
  .ctas .btn { flex: 1 1 auto; }
  .shard-a { width: 62vw; right: -24vw; bottom: auto; top: 6vh; opacity: 0.45; }
  .shard-b { width: 14vw; left: 5vw; top: 11vh; }
  .shard-c { display: none; }

  .tension-copy { top: auto; bottom: 7vh; transform: none; left: var(--gutter); right: var(--gutter); width: auto; text-align: left; gap: 12px; }
  .tension-copy::before {
    content: ""; position: absolute; inset: -40px calc(var(--gutter) * -1) -7vh; z-index: -1;
    background: linear-gradient(to top, rgba(11, 10, 10, 0.95) 55%, rgba(11, 10, 10, 0));
  }

  .tension { height: 190vh; }
  .assembly { height: 320vh; }
  .asm-copy { top: auto; bottom: 6vh; transform: none; left: var(--gutter); right: var(--gutter); width: auto; }
  .asm-copy::before {
    content: ""; position: absolute; inset: -60px calc(var(--gutter) * -1) -6vh; z-index: -1;
    background: linear-gradient(to top, rgba(11, 10, 10, 0.96) 60%, rgba(11, 10, 10, 0));
  }
  .asm-copy .h2 { font-size: 1.9rem; }
  .layers li { display: none; border-left: 0; padding-left: 0; }
  .layers li.is-active { display: block; }
  .layers li.is-active p { max-height: none; }

  .process { height: 230vh; }
  .process-head { top: calc(var(--nav-h) + 4vh); }
  .process-track { bottom: 6vh; gap: 12px; }
  .step { width: 78vw; min-height: 17rem; padding: 24px 22px 26px; }

  .proof { height: 190vh; }
  .proof .pin { gap: 18px; }
  .proof-copy .h2 { font-size: 2rem; margin: 12px 0 8px; }
  .proof-copy .tags, .proof-copy .ctas { display: none; }
  .case-frame { height: 58vh; }
  .case-block { grid-template-columns: 1fr; gap: 8px; }

  .why { padding: 12vh var(--gutter) 10vh; gap: 32px; }
  .why-card { top: calc(12vh + var(--i) * 14px); margin-bottom: 12vh; min-height: 0; }
  .why-card h3 { margin-top: 28px; }

  .contact { padding-top: 38vh; padding-bottom: 8vh; }
  .footer { flex-direction: column; align-items: flex-start; }
  .fields { grid-template-columns: 1fr; }
  .channels .btn { flex: 1 1 100%; }
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .no-webgl .hero-fallback { right: 50%; top: 22vh; width: 46vw; transform: translate(50%, 0) rotate(-8deg); }
}

/* ---------- Reduced motion: no pinning, no scrubbing, depth kept ---------- */
.rm #world { position: absolute; height: 100vh; }
.rm .grain { display: none; }
.rm [data-cue] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
.rm .hero-intro * { animation: none !important; }
.rm .act { height: auto !important; }
.rm .pin { position: relative; height: auto; min-height: 100vh; overflow: visible; padding: calc(var(--nav-h) + 8vh) var(--gutter) 10vh; }
.rm .hero .pin { height: 100vh; padding: 0; }
.rm .hero-copy, .rm .shard { transform: none; opacity: 1; }
.rm .tension-copy, .rm .asm-copy, .rm .process-head, .rm .process-track { position: relative; inset: auto; transform: none; width: auto; max-width: 48rem; }
.rm .tension-copy { text-align: left; }
.rm .asm-copy { display: grid; gap: 34px; }
.rm .asm-copy > * { grid-area: auto; }
.rm .layers li { opacity: 1; display: block; }
.rm .layers p { max-height: none; margin-top: 6px; }
.rm .assembly-still, .no-webgl .assembly-still { display: block; width: min(100%, 900px); height: auto; border-radius: 16px; margin-top: 40px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.rm .process-track { flex-wrap: wrap; padding: 0; margin-top: 40px; }
.rm .step { width: min(100%, 22rem); }
.rm .case-frame { transform: none; }
.rm .case-scroll { transform: none; }
.rm .case-frame { height: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Portfolio page ---------- */
.work-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 6vh) var(--gutter) 12vh; position: relative; }
.work-hero .hero-intro { max-width: 52rem; }
.work-hero h1 { font-size: clamp(2.8rem, 7vw, 7rem); margin: 22px 0 26px; }
.work-hero h1 .line { display: block; }
.work-case {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: 14vh var(--gutter);
}
.work-case .case-frame { --k: clamp(0, calc(var(--enter) * 1.4 - 0.2), 1); height: min(76vh, 680px); }
.work-case .case-scroll { transform: translate3d(0, calc(clamp(0, var(--p) * 1.4, 1) * -26%), 0); }
.work-case-copy .h2 { margin: 16px 0 20px; }
.work-next { padding: 10vh var(--gutter) 18vh; }
.slot {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px dashed var(--line-strong);
  background: rgba(11, 10, 10, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.slot > svg { width: clamp(90px, 14vw, 200px); color: var(--red-hot); }
.slot .lede { margin: 18px 0 28px; }
.no-webgl .work-hero .hero-fallback { display: block; position: absolute; right: 8vw; top: 26vh; width: min(30vw, 380px); transform: rotate(-8deg); }
@media (max-width: 1024px) {
  .work-case { grid-template-columns: 1fr; }
  .work-case .case-frame { height: 62vh; }
}
@media (max-width: 760px) {
  .work-hero { padding-bottom: 8vh; }
  .work-hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .slot { grid-template-columns: 1fr; }
  .work-case { padding-top: 6vh; }
  .no-webgl .work-hero .hero-fallback { right: 50%; top: 16vh; width: 44vw; transform: translateX(50%) rotate(-8deg); }
}
.rm .work-case .case-frame, .rm .work-case .case-scroll { transform: none; }
