/* ───────── Tokens ───────── */
:root {
  --ink: #0a090d;
  --ink-2: #14121a;
  --ink-3: #1f1c28;
  --line: rgba(243, 239, 230, 0.14);
  --paper: #f3efe6;
  --muted: #a39fae;
  --acid: #d7ff3e;
  --pink: #ff3d8b;
  --blue: #6c8cff;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── Shared bits ───────── */
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--acid);
}
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 8.5rem); line-height: 0.92; letter-spacing: 0.005em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--pink); }
.lede { max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(26px, 3.6vw, 52px); }
section { padding: clamp(52px, 6.5vw, 104px) var(--gutter); position: relative; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--paper);
  background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:hover { background: var(--acid); border-color: var(--acid); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--big { padding: 22px 40px; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.btn--acid { background: var(--acid); border-color: var(--acid); }
.btn--acid:hover { background: var(--paper); border-color: var(--paper); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }

[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ───────── Loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--acid); color: var(--ink);
  display: grid; place-items: end start; padding: var(--gutter);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader.done { transform: translateY(-101%); }
.loader__inner { display: grid; }
.loader__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.loader__count { font-family: var(--display); font-size: clamp(7rem, 30vw, 24rem); line-height: 0.85; font-variant-numeric: tabular-nums; }

/* ───────── Cursor + hover image ───────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--acid); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); opacity: 0; }
.cursor.big .cursor__label { opacity: 1; }
.hover-img {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: min(30vw, 380px); aspect-ratio: 4 / 3; margin: -140px 0 0 30px;
  border-radius: 14px; overflow: hidden; opacity: 0; transform: scale(0.8) rotate(-4deg);
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.hover-img.on { opacity: 1; transform: scale(1) rotate(3deg); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 110; pointer-events: none; }
@media (hover: none) { .cursor, .hover-img { display: none; } }

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--gutter);
  transition: background 0.3s, backdrop-filter 0.3s, transform 0.4s var(--ease);
}
.nav.scrolled { background: rgba(10, 9, 13, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--display); font-size: 28px; line-height: 1; display: inline-flex; align-items: baseline; gap: 4px; }
.nav__logo i { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); display: inline-block; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ───────── Hero ───────── */
.hero { min-height: 100svh; padding: 0 var(--gutter) clamp(28px, 5vw, 56px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 22s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 9, 13, 0.55) 0%, rgba(10, 9, 13, 0.1) 35%, rgba(10, 9, 13, 0.92) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 var(--acid); animation: ping 1.8s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 14px rgba(215, 255, 62, 0); } }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(5rem, 21.5vw, 22rem); line-height: 0.82; letter-spacing: -0.005em; text-transform: uppercase; margin-left: -0.04em; }
.line { display: block; overflow: hidden; padding-top: 0.06em; }
.line--outline { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.char { display: inline-block; transform: translateY(110%) rotate(8deg); transition: transform 1.1s cubic-bezier(0.2, 0.9, 0.1, 1); transition-delay: calc(var(--i) * 45ms + var(--d, 0ms)); }
.loaded .char { transform: none; }
.hero__sub { margin-top: clamp(16px, 2.4vw, 32px); font-size: clamp(1.15rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.25; max-width: 24ch; opacity: 0; transform: translateY(20px); transition: opacity 0.8s 0.9s, transform 0.8s 0.9s var(--ease); }
.loaded .hero__sub { opacity: 1; transform: none; }
.rotator { display: inline-block; overflow: hidden; vertical-align: bottom; height: 1.25em; }
.rotator__word { display: inline-block; color: var(--ink); background: var(--acid); padding: 0 0.3em; border-radius: 6px; transition: transform 0.5s var(--ease), opacity 0.5s; }
.rotator__word.out { transform: translateY(-110%); opacity: 0; }
.rotator__word.pre { transform: translateY(110%); opacity: 0; transition: none; }
.hero__clip {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(90px, 14vh, 150px);
  width: clamp(120px, 15vw, 220px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: rotate(5deg); opacity: 0; transition: opacity 0.9s 1.2s;
}
.loaded .hero__clip { opacity: 1; }
.hero__clip video { width: 100%; height: 100%; object-fit: cover; }
.hero__clip figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(10, 9, 13, 0.7); padding: 6px 8px; border-radius: 8px; }
.hero__scroll { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(28px, 5vw, 56px); display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero__scroll i { width: 46px; height: 1px; background: var(--paper); transform-origin: left; animation: scrollcue 1.8s infinite var(--ease); }
@keyframes scrollcue { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 640px) {
  .hero__clip { bottom: auto; top: 96px; width: 104px; }
  .hero__scroll { display: none; }
  .line--outline { -webkit-text-stroke-width: 1.5px; }
}

/* ───────── Marquee ───────── */
.marquee { background: var(--acid); color: var(--ink); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin: -18px 0; position: relative; z-index: 5; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 3rem); text-transform: uppercase; white-space: nowrap; will-change: transform; }
.marquee__track b { font-weight: 400; font-size: 0.6em; }

/* ───────── Intro ───────── */
.intro { display: grid; gap: 28px; }
.intro__text { font-size: clamp(1.7rem, 4.4vw, 4.2rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; max-width: min(100%, 1200px); }
.intro__text .w { opacity: 0.16; transition: opacity 0.35s; }
.intro__text .w.lit { opacity: 1; }

/* ───────── What I do ───────── */
.what__list { border-top: 1px solid var(--line); }
.what__list li {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 40px; align-items: center; gap: 20px;
  padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding 0.4s var(--ease), color 0.3s, opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.what__list li::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--acid); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); z-index: -1; }
.what__list li:hover { color: var(--ink); padding-left: 18px; }
.what__list li:hover::before { transform: scaleY(1); }
.what__n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.what__list h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 4.6rem); line-height: 1; }
.what__list p { color: var(--muted); max-width: 40ch; }
.what__list li:hover p, .what__list li:hover .what__n { color: var(--ink); }
.what__arrow { font-size: 26px; justify-self: end; transition: transform 0.4s var(--ease); }
.what__list li:hover .what__arrow { transform: rotate(45deg); }
@media (max-width: 760px) {
  .what__list li { grid-template-columns: 36px 1fr; row-gap: 6px; }
  .what__list p { grid-column: 2; }
  .what__arrow { display: none; }
}

/* ───────── Horizontal gallery ───────── */
.hscroll { padding: 0; background: var(--ink-2); }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { position: absolute; top: 84px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; z-index: 2; }
.hscroll__hint { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hscroll__hint span { display: inline-block; animation: nudge 1.2s infinite var(--ease); }
@keyframes nudge { 50% { transform: translateX(8px); } }
.hscroll__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__title { width: min(80vw, 520px); flex: none; display: grid; gap: 18px; }
.hscroll__title p { color: var(--muted); max-width: 34ch; }
.shot { flex: none; position: relative; height: min(62svh, 620px); border-radius: 16px; overflow: hidden; background: var(--ink-3); }
.shot--wide { aspect-ratio: 3 / 2; }
.shot--tall { aspect-ratio: 2 / 3; }
.shot:nth-of-type(even) { transform: translateY(4svh); }
.shot:nth-of-type(odd) { transform: translateY(-3svh); }
.shot img { width: 116%; max-width: none; height: 100%; object-fit: cover; margin-left: -8%; transform: translateX(var(--px, 0)); transition: scale 0.8s var(--ease); }
.shot:hover img { scale: 1.05; }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 2px; background: rgba(10, 9, 13, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.shot figcaption b { font-family: var(--display); font-weight: 400; font-size: 18px; text-transform: uppercase; color: var(--paper); letter-spacing: 0.02em; }
.hscroll__end { flex: none; width: min(70vw, 460px); padding-right: var(--gutter); font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.95; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--acid); }
.hscroll__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 2px; background: var(--line); }
.hscroll__bar i { display: block; height: 100%; width: 100%; background: var(--acid); transform-origin: left; transform: scaleX(0); }
/* touch / small screens: native swipe */
.hscroll.native { height: auto !important; }
.hscroll.native .hscroll__sticky { position: relative; height: auto; overflow-x: auto; padding: 110px 0 70px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.hscroll.native .hscroll__track { transform: none !important; }
.hscroll.native .shot { height: 56svh; scroll-snap-align: center; transform: none; }
.hscroll.native .hscroll__bar { display: none; }
.hscroll.native .hscroll__head { top: 40px; position: absolute; }

/* ───────── Ads ───────── */
.ads__grid { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .ads__grid { grid-template-columns: 1fr; } .phone { max-width: 280px; margin: 0 auto; } }
.phone { aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #2c2936, #0e0d13); border: 1px solid var(--line); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; transform-style: preserve-3d; will-change: transform; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #000; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.phone__ui { position: absolute; inset: auto 0 0 0; padding: 60px 16px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); display: grid; gap: 10px; }
.phone__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.phone__copy { font-size: 14px; line-height: 1.35; }
.phone__copy b { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; }
.phone__cta { background: var(--acid); color: var(--ink); font-weight: 600; font-size: 14px; text-align: center; padding: 11px; border-radius: 10px; animation: ctapulse 2.2s infinite; }
@keyframes ctapulse { 50% { transform: scale(1.03); box-shadow: 0 0 26px rgba(215, 255, 62, 0.45); } }

.calc { background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 18px; }
.calc__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; }
.calc__note { color: var(--muted); font-size: 14px; margin-top: -14px; }
.field { display: grid; gap: 8px; }
.field span { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.field output { color: var(--paper); font-family: var(--mono); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acid) var(--fill, 50%), var(--ink-3) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--ink-3); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--acid); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--acid); margin-top: -9px; transition: transform 0.2s; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--acid); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }
.calc__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc__results span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; min-height: 2.6em; }
.calc__results b { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc__meter { height: 10px; border-radius: 10px; background: var(--ink-3); overflow: hidden; }
.calc__meter i { display: block; height: 100%; width: 40%; border-radius: 10px; background: var(--acid); transition: width 0.5s var(--ease), background 0.4s; }
.calc__verdict { font-weight: 500; min-height: 3em; }
@media (max-width: 520px) { .calc__results { grid-template-columns: 1fr; } .calc__results span { min-height: 0; } }

/* ───────── Build / flow ───────── */
.build { background: var(--ink-2); }
.flow { border: 1px solid var(--line); border-radius: 24px; background: var(--ink); overflow: hidden; }
.flow__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.flow__name { font-family: var(--mono); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.flow__name i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.flow.running .flow__name i { background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.flow__svg { display: block; width: 100%; height: auto; padding: 10px; background-image: radial-gradient(rgba(243, 239, 230, 0.09) 1px, transparent 1px); background-size: 22px 22px; }
.edges path { stroke: rgba(243, 239, 230, 0.22); stroke-width: 1.5; stroke-dasharray: 5 6; }
.flow.running .edges path { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.node rect { fill: var(--ink-3); stroke: rgba(243, 239, 230, 0.2); stroke-width: 1; transition: fill 0.3s, stroke 0.3s; }
.node text { fill: var(--paper); font-family: var(--body); font-size: 14px; font-weight: 600; text-anchor: middle; }
.node text.sub { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 400; }
.node--ai rect { stroke: var(--pink); }
.node.hot rect { fill: var(--acid); stroke: var(--acid); }
.node.hot text, .node.hot text.sub { fill: var(--ink); }
.pulses circle { fill: var(--acid); filter: drop-shadow(0 0 6px var(--acid)); }
.flow__log { margin: 0; padding: 16px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; min-height: 9.5em; white-space: pre-wrap; color: var(--paper); }
.flow__log .dim { color: var(--muted); }
.flow__log .ok { color: var(--acid); }
.flow__log .ai { color: var(--pink); }
@media (max-width: 700px) { .flow__svg { min-width: 720px; } .flow { overflow-x: auto; } .flow__log, .flow__top { position: sticky; left: 0; } }

.build__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--ink); transition: border-color 0.3s, translate 0.4s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.card:hover { border-color: var(--acid); translate: 0 -6px; }
.card__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; line-height: 1.05; }
.card p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); transition: background 0.2s, color 0.2s, rotate 0.3s; }
.chips li:hover { background: var(--acid); color: var(--ink); rotate: -3deg; }

/* ───────── Feed ───────── */
.feed__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; background: transparent; border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.feed__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.post { position: relative; display: grid; grid-template-rows: auto 1fr; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--ink-2); transition: border-color 0.3s, transform 0.5s var(--ease), opacity 0.5s; transform-style: preserve-3d; }
.post:hover { border-color: var(--acid); }
.post.hide { display: none; }
.post.pop { animation: pop 0.5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__media--type { display: grid; place-items: center; font-family: var(--display); font-size: clamp(3rem, 7vw, 5rem); text-transform: uppercase; color: var(--ink); line-height: 0.9; text-align: center; padding: 12px; }
.post__body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.post__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); }
.post h3 { font-family: var(--display); font-weight: 400; font-size: 1.65rem; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.post p { color: var(--muted); font-size: 15px; }
.post__more { font-family: var(--mono); font-size: 12px; margin-top: 4px; }

.reader { width: min(760px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--ink-2); color: var(--paper); overflow: auto; }
.reader::backdrop { background: rgba(10, 9, 13, 0.78); backdrop-filter: blur(6px); }
.reader[open] { animation: pop 0.45s var(--ease) both; }
.reader__close { position: sticky; top: 12px; float: right; margin: 12px; z-index: 2; font-family: var(--mono); font-size: 12px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); }
.reader__close:hover { background: var(--acid); color: var(--ink); }
.reader__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reader__body { padding: clamp(20px, 4vw, 44px); display: grid; gap: 16px; }
.reader__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); }
.reader h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; text-transform: uppercase; text-wrap: balance; }
.reader__text { display: grid; gap: 14px; max-width: 60ch; color: #d9d5cc; }

/* ───────── Contact + footer ───────── */
.contact { display: grid; gap: 32px; overflow: hidden; }
.contact__title { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 13vw, 14rem); line-height: 0.88; text-transform: uppercase; display: grid; }
.contact__title span:nth-child(2) { justify-self: end; }
.contact__title .line--outline { -webkit-text-stroke-color: var(--acid); }
.contact__row { display: flex; flex-wrap: wrap; gap: 14px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 24px var(--gutter) 34px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.footer a:hover { color: var(--acid); }

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .intro__text .w { opacity: 1; }
  .char { transform: none; }
}

/* ───────── v2: stats, JV, Groovebox, worked-with, channels, team, cookie ───────── */
.nav__links { gap: clamp(10px, 1.6vw, 26px); font-size: 13.5px; }
@media (max-width: 1080px) { .nav__links { display: none; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(36px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 24px 20px 0 0; border-right: 1px solid var(--line); padding-left: 20px; }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border-right: 0; }
.stats dt { font-family: var(--display); font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1; color: var(--acid); font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: 22ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats div { padding: 20px 12px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

.partner { background: var(--acid); color: var(--ink); }
.partner .label { color: var(--ink); }
.partner .h2 em { color: var(--ink); -webkit-text-stroke: 0; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.08em; }
.partner .lede { color: rgba(10, 9, 13, 0.75); }
.partner__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.jv { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 26px; display: grid; gap: 10px; align-content: start; min-height: 230px; transition: rotate 0.4s var(--ease), translate 0.4s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.jv:hover { rotate: -1.5deg; translate: 0 -8px; }
.jv:nth-child(even):hover { rotate: 1.5deg; }
.jv__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); }
.jv h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; text-transform: uppercase; }
.jv p { color: var(--muted); font-size: 15px; }
.partner__bring { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 18px; justify-items: start; }
.partner__bring ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 28px; width: 100%; }
.partner__bring li { padding: 14px 0 14px 30px; border-top: 1.5px solid var(--ink); position: relative; font-weight: 500; }
.partner__bring li::before { content: "→"; position: absolute; left: 0; }
.partner .btn--acid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.partner .btn--acid:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }

.shot video { width: 100%; height: 100%; object-fit: cover; }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 15vw, 230px); gap: 12px; }
.tile { border-radius: 16px; overflow: hidden; background: var(--ink-3); position: relative; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }
.tile:hover img, .tile:hover video { scale: 1.06; }
.tile--a { grid-column: span 4; grid-row: span 2; }
.tile--b { grid-column: span 2; grid-row: span 3; }
.tile--c { grid-column: span 2; }
.tile--d { grid-column: span 2; }
.tile--e { grid-column: span 3; grid-row: span 2; }
.tile--f { grid-column: span 3; grid-row: span 2; }
.tile--g { grid-column: span 3; grid-row: span 2; }
.tile--h { grid-column: span 3; grid-row: span 2; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .tile--a, .tile--e { grid-column: span 2 !important; }
  .tile--b { grid-row: span 2 !important; }
}
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); counter-reset: t; }
.timeline li { padding: 22px 18px 0 0; position: relative; display: grid; gap: 6px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--acid); }
.timeline b { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.timeline span { color: var(--muted); font-size: 14.5px; }

.worked { background: var(--ink-2); overflow: hidden; }
.worked__h { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.names { margin: 0 calc(var(--gutter) * -1) clamp(40px, 6vw, 80px); display: grid; gap: 6px; }
.names__row { overflow: hidden; }
.names__track { display: flex; gap: clamp(22px, 3vw, 48px); width: max-content; animation: slide 46s linear infinite; padding-right: clamp(22px, 3vw, 48px); }
.names__row--rev .names__track { animation-direction: reverse; animation-duration: 54s; }
.names__row:hover .names__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.names span { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: 1.05; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(243, 239, 230, 0.55); transition: color 0.25s, -webkit-text-stroke-color 0.25s; }
.names span:hover { color: var(--acid); -webkit-text-stroke-color: var(--acid); }
.names__row:nth-child(2) span:nth-child(3n + 1), .names__row:nth-child(1) span:nth-child(4n + 2), .names__row:nth-child(3) span:nth-child(4n + 1) { color: var(--paper); -webkit-text-stroke: 0; }
.worked__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); }
@media (max-width: 860px) { .worked__cols { grid-template-columns: 1fr; } }
.chips--lg { margin-bottom: 36px; }
.chips--lg li { font-family: var(--body); font-size: 15px; font-weight: 500; padding: 10px 16px; }
.venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); column-gap: 28px; }
.venues li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease), color 0.2s; }
.venues li:hover { padding-left: 10px; color: var(--acid); }
.venues b { font-weight: 600; }
.venues span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 80px); }
.channel { border-top: 2px solid var(--acid); padding: 22px 0 0; display: grid; gap: 12px; align-content: start; }
.channel:nth-child(2) { border-color: var(--blue); }
.channel:nth-child(3) { border-color: var(--pink); }
.channel__n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.channel h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; text-transform: uppercase; }
.channel p { color: var(--muted); max-width: 42ch; }
.channel ul { display: grid; gap: 6px; font-size: 14.5px; }
.channel li { padding-left: 20px; position: relative; }
.channel li::before { content: "+"; position: absolute; left: 0; color: var(--acid); font-family: var(--mono); }

.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dept { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-height: 170px; transition: background 0.3s, color 0.3s, opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.dept:hover { background: var(--paper); color: var(--ink); }
.dept span { font-family: var(--mono); font-size: 12px; color: var(--acid); }
.dept:hover span { color: var(--ink); }
.dept h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.05; text-transform: uppercase; }
.dept p { color: var(--muted); font-size: 14.5px; }
.dept:hover p { color: rgba(10, 9, 13, 0.7); }
.team__how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: clamp(32px, 5vw, 64px); }
.team__how b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; display: block; margin-bottom: 6px; }
.team__how p { color: var(--muted); }

.post__meta, .reader__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.post__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.feed__more { margin-top: 28px; display: flex; justify-content: center; }
.reader__text h4 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; margin: 10px 0 -4px; color: var(--paper); }

.footer__links { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.footer__links button { background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.footer__links button:hover { color: var(--acid); }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130; max-width: 560px; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px 20px; display: grid; gap: 14px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); font-size: 14.5px; animation: pop 0.5s var(--ease) both; }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; }
.cookie__row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie .btn--ghost { color: var(--ink); border-color: rgba(10, 9, 13, 0.3); }
.cookie .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cookie .btn--acid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cookie .btn--acid:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }

/* legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 140px var(--gutter) 100px; }
.legal h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 9vw, 6rem); line-height: 0.95; margin-bottom: 12px; }
.legal h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; margin: 44px 0 10px; }
.legal p, .legal li { color: #d9d5cc; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--acid); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.legal .muted { color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* ───────── v3: showreel, portrait, contact video ───────── */
.intro { grid-template-columns: minmax(0, 1fr); }
.intro__me { float: none; width: min(100%, 300px); position: relative; border-radius: 18px; overflow: hidden; rotate: -2deg; justify-self: end; margin-bottom: 8px; z-index: 1; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.intro__me img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
.intro__me figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px; background: rgba(10, 9, 13, 0.75); padding: 8px 10px; border-radius: 10px; }
@media (min-width: 1000px) {
  .intro:has(.intro__me) { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; }
  .intro:has(.intro__me) .label, .intro:has(.intro__me) .stats { grid-column: 1 / -1; }
  .intro:has(.intro__me) .intro__me { grid-column: 2; grid-row: 2; margin: 0; align-self: start; }
  .intro:has(.intro__me) .intro__text { grid-column: 1; grid-row: 2; }
}

.reel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px); gap: clamp(28px, 6vw, 90px); align-items: center; background: var(--ink-2); }
.reel__copy { display: grid; gap: 22px; }
.reel__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid var(--line); }
.reel__list li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: color 0.2s, padding 0.3s var(--ease); }
.reel__list li:hover { color: var(--acid); padding-left: 8px; }
.reel__list b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.reel__player { position: relative; aspect-ratio: 9 / 16; max-height: 86svh; justify-self: center; width: 100%; border-radius: 26px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55); }
.reel__player video { width: 100%; height: 100%; object-fit: cover; }
.reel__toggle { position: absolute; right: 14px; top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 0; background: rgba(10, 9, 13, 0.7); color: var(--paper); }
.reel__toggle:hover { background: var(--acid); color: var(--ink); }
.reel__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(243, 239, 230, 0.2); }
.reel__bar i { display: block; height: 100%; background: var(--acid); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) { .reel { grid-template-columns: 1fr; } .reel__player { max-width: 340px; } }

.contact { isolation: isolate; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.45; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(10, 9, 13, 0.55) 45%, var(--ink) 100%); }

/* ───────── v4: tighter rhythm, poster cards ───────── */
.stats { margin-top: clamp(24px, 3.5vw, 48px); }
.names { margin-bottom: clamp(28px, 4vw, 56px); }
.channels { margin-top: clamp(28px, 4vw, 56px); }
.team__how { margin-top: clamp(24px, 3.5vw, 44px); }
.partner__bring { margin-top: clamp(22px, 3vw, 40px); }
.marquee { margin: -14px 0; }
.contact { gap: 24px; }
.post__media--poster { aspect-ratio: 1 / 1; }
.reader__media--poster img { aspect-ratio: auto; max-height: 72svh; width: 100%; object-fit: contain; background: #000; }
