/* ============================================================
   ZUUKVFX: "editor workspace" concept
   Palette: red + cream + black · Brutalist
   Fonts: Bebas Neue (headlines) + Chakra Petch (everything else)
   ============================================================ */

:root {
  --red: #C8221B;        /* cream text on it passes 4.5:1 */
  --red-hi: #FF5A4E;     /* red for small text on black */
  --ink: #111010;
  --ink-2: #1B1918;
  --ink-3: #2C2826;
  --cream: #F4ECDD;
  --cream-2: #E9DFCC;
  --muted: #ADA398;      /* on ink */
  --muted-ink: #5E554C;  /* on cream */
  --gold: #F5C542;       /* 1M+ club */
  --gold-hi: #FFF0B3;

  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;   /* big headlines */
  --display-weight: 400;
  --accent: var(--display);                                /* highlighted words */
  --accent-weight: 400;
  --sub: 'Chakra Petch', system-ui, sans-serif;            /* buttons, card titles, names */
  --sub-weight: 700;
  --text: 'Chakra Petch', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);     /* long, soft landing */
  --spring: cubic-bezier(.34, 1.56, .64, 1);   /* small overshoot */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }
.mark { display: block; flex-shrink: 0; }
.mark-sm { width: 34px; height: 34px; --tile-stroke: var(--cream); }
.mark-xs { width: 22px; height: 22px; --tile-stroke: var(--ink-3); }

.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-hi); flex-shrink: 0; animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .15; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  font-family: var(--sub); font-weight: var(--sub-weight);
  font-size: 15px; text-transform: uppercase; letter-spacing: .03em;
  padding: 12px 22px;
  border: 3px solid var(--ink);
  transition: translate .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { translate: -3px -3px; box-shadow: 3px 3px 0 var(--ink); }
.btn:active { translate: 0 0; box-shadow: none; transition-duration: .1s; }
.btn-red { background: var(--red); color: var(--cream); }
.btn-ink-ghost { color: var(--ink); background: transparent; }
.btn-ink-ghost:hover { background: var(--ink); color: var(--cream); box-shadow: 3px 3px 0 var(--red); }
.btn-outline { color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--red); }
.btn-sm { min-height: 40px; font-size: 13px; padding: 8px 16px; }
.nav .btn-red { border-color: var(--red); }
.nav .btn-red:hover { box-shadow: 3px 3px 0 var(--cream); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: var(--ink);
  border-bottom: 3px solid var(--ink-3);
}
/* scroll progress = a playhead running under the nav */
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--red-hi);
  transform: scaleX(var(--progress, 0)); transform-origin: left;
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-name { font-family: var(--sub); font-weight: var(--sub-weight); font-size: 20px; }
.nav-tc {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  padding: 4px 10px; border: 2px solid var(--ink-3);
}
.nav-links { display: flex; gap: 28px; justify-self: end; }
.nav-links a {
  font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
  padding: 6px 0; border-bottom: 3px solid transparent;
  transition: border-color .3s, color .3s;
}
.nav-links a:hover { color: var(--red-hi); border-color: var(--red-hi); }

/* ---------- hero ---------- */
.hero {
  background: var(--cream);
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}
/* the grid lives on its own layer so it can drift with a cheap transform (no repaint) */
.hero::before {
  content: ""; position: absolute; top: -48px; left: -48px; right: 0; bottom: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--cream-2) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, var(--cream-2) 1px, transparent 1px) 0 0 / 48px 100%;
}
.hero-grid {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  background: var(--ink); color: var(--cream);
  padding: 8px 14px;
}
.headline {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(64px, 8.8vw, 124px);
  line-height: .9;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 22px 0 30px;
}
.hl {
  /* one box per word: hugs the word and never bleeds into the line above */
  display: inline-block;
  font-family: var(--accent); font-weight: var(--accent-weight);
  color: var(--cream);
  background: var(--red);
  line-height: .9;
  padding: .1em .12em .02em;
  margin-top: .08em;
  white-space: nowrap;
}
.sub { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; max-width: 40ch; color: var(--muted-ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.stats {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 36px;
  border-top: 3px solid var(--ink);
}
.stat { padding: 16px 28px 0 0; margin-right: 28px; border-right: 2px solid var(--cream-2); }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat dt { font-family: var(--sub); font-weight: var(--sub-weight); font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.stat dd { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-ink); margin-top: 6px; }

/* monitor */
.monitor-wrap { position: relative; }
.monitor {
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--red);
}
.monitor-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
  border-bottom: 2px solid var(--ink-3);
}
.monitor-label { color: var(--cream); }
.monitor-rec { display: inline-flex; align-items: center; gap: 6px; color: var(--red-hi); }
.monitor-tc { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--cream); }
.monitor-screen {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16/9; overflow: hidden; background: #000;
}
.monitor-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- screen ---------- */
.mv-screen { cursor: pointer; }
/* soft crossfade between videos (no shake) */
.mv-screen img { transition: opacity .9s var(--ease-out); will-change: transform, opacity; }

/* quiet play prompt: only on hover, so faces stay visible */
.mv-hover {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(17, 16, 16, .82); color: var(--cream);
  border: 2px solid var(--cream);
  opacity: 0; scale: .9;
  transition: opacity .35s, scale .5s var(--spring);
}
.mv-hover .icon { color: var(--red-hi); }
.mv-screen:hover .mv-hover, .mv-screen:focus-visible .mv-hover { opacity: 1; scale: 1; }
@media (hover: none) {
  .mv-hover { opacity: 1; scale: 1; left: 10px; top: auto; bottom: 14px; translate: 0 0; padding: 6px 10px 6px 8px; font-size: 12px; }
}
.mv-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2; background: rgba(17, 16, 16, .55); }
.mv-progress span { display: block; height: 100%; width: 100%; background: var(--red-hi); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* ---------- channel row with the controls on the right ---------- */
.mv-meta {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 14px;
  border-top: 2px solid var(--ink-3);
  min-height: 74px;
}
.mv-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--red);
  background: var(--ink-3);
}
.mv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mv-avatar.vip { border-color: var(--gold); }
.mv-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mv-channel { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--red-hi); }
.mv-subs { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.mv-subs.vip { color: var(--gold); }
.mv-title { font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--cream); }

.mv-buttons { display: flex; gap: 2px; flex-shrink: 0; align-self: center; }
.mv-btn { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); transition: background-color .25s, color .25s, scale .4s var(--spring); }
.mv-btn:active { scale: .9; }
.mv-btn:hover { background: var(--ink-3); color: var(--cream); }
.mv-btn .icon { width: 15px; height: 15px; }
.mv-btn-main { color: var(--cream); background: var(--red); }
.mv-btn-main:hover { background: var(--red-hi); }

/* ---------- timeline: video clips with thumbnails + one audio track ---------- */
.tl2 {
  display: grid; grid-template-columns: 34px 1fr;
  margin-top: 18px;
  background: var(--ink);
  border: 3px solid var(--ink);
  --rows: 48px 26px;
}
.tl2-head { display: grid; grid-template-rows: var(--rows); border-right: 2px solid var(--ink-3); }
.tl2-head span { display: grid; place-items: center; font-weight: 700; font-size: 11px; color: var(--muted); }
.tl2-head span + span { border-top: 1px solid var(--ink-3); }
.tl2-body { position: relative; display: grid; grid-template-rows: var(--rows); overflow: hidden; }
.tl2-track { position: relative; display: flex; gap: 3px; padding: 3px; }
.tl2-track + .tl2-track { border-top: 1px solid var(--ink-3); }

.tl2-clip {
  position: relative; flex: var(--w, 1); min-width: 0; overflow: hidden;
  border: 2px solid transparent;
  background: var(--ink-3) var(--img) center / cover;
  cursor: pointer;
  filter: grayscale(.6) brightness(.6);
  transition: border-color .4s, filter .6s var(--ease-out);
}
.tl2-clip:hover { filter: grayscale(.2) brightness(.85); }
.tl2-clip.active { filter: none; border-color: var(--red-hi); }

.tl2-a1 .w { flex: var(--w, 1); min-width: 0; color: rgba(244, 236, 221, .28); transition: color .6s var(--ease-out); }
.tl2-a1 .w.active { color: var(--red-hi); }
.tl2-a1 svg { display: block; width: 100%; height: 100%; }

.tl2-playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--red-hi); pointer-events: none; z-index: 3; }
.tl2-playhead::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--red-hi); }

/* motion (only when the viewer allows it): a very gentle push-in while each video is on screen */
@keyframes push-in { from { transform: scale(1); } to { transform: scale(1.04); } }
.motion .mv-screen img.on { animation: push-in var(--kb, 4.5s) linear both; }
.motion .tl2 { animation: wipe-in .7s var(--cut) .95s both; }

/* the v2 monitor is a bit taller: keep the stickers only where there is room */
@media (max-width: 1300px) { .hero-fx { display: none; } }

@media (max-width: 600px) {
  .mv-btn { width: 44px; height: 44px; }
  .mv-meta { flex-wrap: wrap; }
  .mv-buttons { width: 100%; justify-content: center; }
}

/* ---------- hero texture ---------- */
.hero-tex { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.grain {
  position: absolute; inset: -60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  opacity: .1;
}
.dots {
  position: absolute;
  background: radial-gradient(circle, rgba(200, 34, 27, .55) 0 2px, transparent 2.6px) 0 0 / 14px 14px;
}
.dots-tl { left: -40px; top: -40px; width: 46%; height: 70%;
  -webkit-mask: radial-gradient(ellipse at 0 0, #000 0, transparent 62%); mask: radial-gradient(ellipse at 0 0, #000 0, transparent 62%); opacity: .5; }
.dots-br { right: -40px; bottom: 0; width: 52%; height: 85%;
  -webkit-mask: radial-gradient(ellipse at 100% 100%, #000 0, transparent 64%); mask: radial-gradient(ellipse at 100% 100%, #000 0, transparent 64%); opacity: .7; }
.vf { position: absolute; width: 34px; height: 34px; border: 0 solid var(--ink); opacity: .55; }
.vf-tl { top: 22px; left: 22px; border-top-width: 3px; border-left-width: 3px; }
.vf-tr { top: 22px; right: 22px; border-top-width: 3px; border-right-width: 3px; }
.vf-bl { bottom: 58px; left: 22px; border-bottom-width: 3px; border-left-width: 3px; }
.vf-br { bottom: 58px; right: 22px; border-bottom-width: 3px; border-right-width: 3px; }
.vf-label { position: absolute; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-ink); opacity: .8; }
.vf-label-tr { top: 30px; right: 66px; }
@media (max-width: 1000px) {
  .vf-label { display: none; }
  .vf { width: 22px; height: 22px; }
  .vf-tl, .vf-tr { top: 12px; } .vf-tl, .vf-bl { left: 10px; } .vf-tr, .vf-br { right: 10px; } .vf-bl, .vf-br { bottom: 48px; }
  .dots-tl { width: 70%; height: 40%; } .dots-br { width: 80%; height: 45%; }
}

/* ---------- hero background life ---------- */
/* floating editor stickers */
.hero-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.fx {
  position: absolute; left: var(--x); top: var(--y);
  rotate: var(--r, 0deg);
  translate: calc(var(--mx, 0) * var(--depth, 10) * 1px) calc(var(--my, 0) * var(--depth, 10) * 1px);
}
.fx > i { display: inline-flex; align-items: center; gap: 8px; font-style: normal; }
.fx-key > i {
  flex-direction: column; justify-content: center; gap: 0;
  width: 72px; height: 72px;
  background: var(--cream); border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 0 7px 0 var(--ink);
}
.fx-key b { font-family: var(--sub); font-weight: 700; font-size: 30px; line-height: 1; }
.fx-key small { font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-ink); }
.fx-kf > i { width: 120px; color: var(--ink); opacity: .75; }
.fx-kf svg { width: 100%; height: auto; display: block; }
.fx-chip > i { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--cream); padding: 7px 12px; box-shadow: 4px 4px 0 var(--red); }
.fx-cut > i { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; background: var(--red); color: var(--cream); padding: 7px 12px; border: 3px solid var(--ink); }

/* timeline ruler running along the bottom of the hero */
.ruler {
  position: relative; z-index: 1;
  height: 36px; overflow: hidden;
  border-top: 2px solid var(--ink);
  background: var(--cream);
}
.ruler-track {
  position: absolute; inset: 0 auto 0 0; display: flex;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 120px) 0 0 / auto 14px repeat-x,
    repeating-linear-gradient(90deg, rgba(17, 16, 16, .45) 0 1px, transparent 1px 12px) 0 0 / auto 7px repeat-x;
}
.ruler-track span {
  flex: 0 0 120px; padding: 15px 0 0 6px;
  font-weight: 700; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted-ink);
}

@media (max-width: 1000px) {
  .hero-fx { display: none; } /* single column: no free space around the monitor */
}

/* ---------- dark texture (sits behind every section that has no background of its own) ---------- */
.page-tex {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(0, 0, 0, .55) 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px),
    linear-gradient(rgba(244, 236, 221, .035) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(244, 236, 221, .035) 1px, transparent 1px) 0 0 / 48px 100%;
}
.grain-dark {
  position: absolute; inset: -60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  opacity: .06;
}
/* red halftone bleeding from the top-right of a couple of sections */
.clients, #process { position: relative; }
.clients::before, #process::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 20px; right: 0; width: min(520px, 70%); height: 360px;
  background: radial-gradient(circle, rgba(255, 90, 78, .5) 0 2px, transparent 2.6px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(ellipse at 100% 0, #000 0, transparent 66%); mask: radial-gradient(ellipse at 100% 0, #000 0, transparent 66%);
  opacity: .55;
}
#process::before { top: auto; bottom: -40px; right: auto; left: 0;
  -webkit-mask: radial-gradient(ellipse at 0 100%, #000 0, transparent 66%); mask: radial-gradient(ellipse at 0 100%, #000 0, transparent 66%); }

/* ---------- sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(68px, 9vw, 124px) var(--gutter) 0; }
.section-head { margin-bottom: 30px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--red-hi); }
.kicker::before { content: ""; width: 18px; height: 3px; background: currentColor; }
.section h2 {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: .95; margin-top: 10px; letter-spacing: .01em;
  text-transform: uppercase;
}

/* worked for */
.clients { padding-top: clamp(56px, 7vw, 96px); }
.client-grid { --cols: 7; --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.client-grid > .client { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.client {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 34px 10px 20px;
  text-align: center;
  background: var(--ink-2);
  border: 3px solid var(--ink-3);
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.client:hover, .client:focus-visible { translate: -4px -6px; box-shadow: 6px 8px 0 var(--red); border-color: var(--cream); }
.client-pfp {
  width: 84px; height: 84px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--red);
  background: var(--ink-3);
  display: grid; place-items: center;
  font-family: var(--sub); font-weight: var(--sub-weight); font-size: 30px;
}
.client-pfp img { width: 100%; height: 100%; object-fit: cover; }
.pfp-wrap { position: relative; display: inline-block; transition: transform .6s var(--spring); }

/* 1M+ club: crown, gold ring, gold name, sparkles */
.client.vip { border-color: rgba(245, 197, 66, .45); background: linear-gradient(180deg, rgba(245, 197, 66, .08), transparent 60%), var(--ink-2); }
.client.vip:hover, .client.vip:focus-visible { border-color: var(--gold); box-shadow: 6px 6px 0 var(--gold); }
.client.vip .client-pfp { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 66, .2), 0 0 22px rgba(245, 197, 66, .35); }
.client.vip .client-name {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, var(--gold-hi) 50%, var(--gold) 60%, var(--gold) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.client.vip .client-subs { color: var(--gold); }
.crown {
  position: absolute; top: -22px; left: 50%; width: 40px; height: 30px;
  color: var(--gold);
  transform: translateX(-50%) rotate(-14deg);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45));
}
.spark { position: absolute; color: var(--gold-hi); pointer-events: none; }
.spark-1 { width: 14px; height: 14px; top: 2px; right: -10px; }
.spark-2 { width: 10px; height: 10px; bottom: 6px; left: -10px; }
.client-info { display: flex; flex-direction: column; gap: 2px; }
.client-name { font-family: var(--sub); font-weight: var(--sub-weight); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.15; }
.client-subs { font-weight: 700; font-size: 14px; color: var(--red-hi); }
.client-arrow { position: absolute; top: 10px; right: 10px; color: var(--muted); transition: color .3s, transform .5s var(--ease-out); }
.client:hover .client-arrow { color: var(--cream); transform: translate(2px, -2px); }

/* work: bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.vcard { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.vthumb {
  display: block;
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border: 3px solid var(--ink-3);
  background: var(--ink-2);
  transition: translate .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .3s;
}
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.vcard:hover .vthumb, .vcard:focus-visible .vthumb { translate: -5px -5px; box-shadow: 6px 6px 0 var(--red); border-color: var(--cream); }
.vcard:hover .vthumb img { scale: 1.06; }
.play {
  position: absolute; left: 50%; top: 50%;
  width: 60px; height: 60px; display: grid; place-items: center;
  background: var(--red); color: var(--cream);
  border: 3px solid var(--ink);
  transform: translate(-50%, -50%) rotate(-12deg) scale(.8);
  opacity: 0; transition: opacity .3s, transform .55s var(--spring);
}
.play .icon { width: 24px; height: 24px; transform: rotate(12deg); }
.vcard:hover .play, .vcard:focus-visible .play { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
/* featured video: gold badge everywhere it shows up */
.feat-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
  padding: 5px 10px; box-shadow: 3px 3px 0 var(--ink);
}
.feat-badge[hidden] { display: none; }

/* spotlight card: full width, thumbnail + big title side by side */
.vcard.spotlight { grid-column: 1 / -1; display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.vcard.spotlight .vthumb { border-color: var(--gold); }
.vcard.spotlight:hover .vthumb, .vcard.spotlight:focus-visible .vthumb { border-color: var(--gold-hi); box-shadow: 6px 6px 0 var(--gold); }
.vcard.spotlight .vmeta { gap: 10px; }
.spot-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.spot-kicker::before { content: ""; width: 18px; height: 3px; background: currentColor; }
.vcard.spotlight .vchannel { color: var(--gold); }
.vcard.spotlight .vtitle { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: .95; text-transform: uppercase; }
.spot-cta {
  align-self: flex-start; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  font-family: var(--sub); font-weight: var(--sub-weight); font-size: 15px; text-transform: uppercase; letter-spacing: .03em;
  background: var(--gold); color: var(--ink); border: 3px solid var(--ink);
  transition: translate .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.vcard.spotlight:hover .spot-cta { translate: -3px -3px; box-shadow: 3px 3px 0 var(--cream); }
@media (max-width: 860px) {
  .vcard.spotlight { grid-template-columns: 1fr; }
}

/* featured clip in the hero timeline gets a gold frame + star */
.tl2-clip.feat { border-color: rgba(245, 197, 66, .6); }
.tl2-clip.feat::after { content: "★"; position: absolute; top: 1px; left: 4px; font-size: 13px; line-height: 1; color: var(--gold); text-shadow: 0 1px 2px #000; }
.tl2-clip.feat.active { border-color: var(--gold); }

.views { position: absolute; right: 10px; top: 10px; font-weight: 700; font-size: 13px; background: var(--ink); color: var(--cream); padding: 4px 8px; }
.vmeta { display: flex; flex-direction: column; gap: 3px; }
.vchannel { font-weight: 700; font-size: 13px; color: var(--red-hi); text-transform: uppercase; letter-spacing: .08em; }
.vtitle { font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.3; }


.shorts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.shorts-grid .vthumb { aspect-ratio: 9/16; }
.reel-frame { aspect-ratio: 16/9; border: 3px solid var(--cream); box-shadow: 10px 10px 0 var(--red); background: #000; }
.reel-frame iframe, .reel-frame video { width: 100%; height: 100%; border: 0; display: block; }

/* solo band */
.band {
  margin-top: clamp(80px, 10vw, 140px);
  background: var(--red);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: clamp(44px, 6vw, 72px) var(--gutter);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
}
.band-big {
  font-family: var(--accent); font-weight: var(--accent-weight);
  font-size: clamp(64px, 11vw, 156px); line-height: .95;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: .04em .04em 0 var(--ink);
}
.band-small { font-size: clamp(18px, 2vw, 24px); font-weight: 600; max-width: 36ch; color: var(--cream); }

/* process */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 3px solid var(--ink-3);
  counter-reset: step;
}
.step { position: relative; padding: 22px 22px 26px; border-right: 3px solid var(--ink-3); background: var(--ink-2); }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ink-3); }
.step:nth-child(2)::before { background: var(--muted); }
.step:nth-child(3)::before { background: var(--cream); }
.step:nth-child(4)::before { background: var(--red); }
.step-tc { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--muted); margin: 8px 0 12px; }
.step h3 { font-family: var(--sub); font-weight: var(--sub-weight); font-size: 22px; line-height: 1.15; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.service { border: 3px solid var(--ink-3); padding: 28px; }
.service h3 { font-family: var(--sub); font-weight: var(--sub-weight); font-size: 30px; text-transform: uppercase; }
.service > p { color: var(--muted); margin: 4px 0 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-weight: 600; font-size: 15px; padding: 6px 12px; border: 2px solid var(--ink-3); background: var(--ink-2); }

/* end screen */
.endscreen {
  margin-top: clamp(84px, 10vw, 140px);
  border-top: 3px solid var(--ink-3);
  padding: clamp(68px, 9vw, 120px) var(--gutter);
  background: radial-gradient(ellipse at 50% 120%, rgba(200, 34, 27, .35), transparent 60%);
}
.endscreen-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.end-title {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(64px, 12vw, 168px);
  line-height: .9; text-transform: uppercase; letter-spacing: .01em;
  margin: 14px 0 16px;
}
.end-sub { font-size: clamp(17px, 2vw, 21px); font-weight: 500; color: var(--muted); max-width: 36ch; margin: 0 auto 32px; }
.end-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.end-card {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 64px;
  padding: 12px 18px 12px 20px;
  text-align: left;
  color: var(--cream);
  border: 3px solid var(--cream);
  transition: translate .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
}
.end-card:hover { translate: -3px -3px; box-shadow: 4px 4px 0 var(--red); }
.end-card-main { position: relative; background: var(--red); border-color: var(--red); }
.end-card-main:hover { box-shadow: 4px 4px 0 var(--cream); }
.end-icon { width: 24px; height: 24px; }
.end-card-text { display: flex; flex-direction: column; line-height: 1.2; }
.end-card-big { font-family: var(--sub); font-weight: var(--sub-weight); font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.end-card-handle { font-weight: 600; font-size: 14px; opacity: .8; }
.end-card-handle:empty { display: none; }
.end-action { margin-left: 6px; opacity: .85; }
.mark-end {
  width: 64px; height: 64px; margin: 0 auto 18px;
  --tile: var(--cream); --glyph: var(--red); --tile-stroke: var(--ink);
  filter: drop-shadow(4px 4px 0 var(--red));
}

.footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; font-size: 14px; color: var(--muted); border-top: 3px solid var(--ink-3); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 9, 9, .9); }
.modal-box { position: relative; width: min(1100px, 100%); }
.modal-frame { aspect-ratio: 16/9; background: #000; border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--red); }
.modal-frame.vertical { aspect-ratio: 9/16; width: min(420px, 100%); max-height: 82vh; margin: 0 auto; }
.modal-frame iframe, .modal-frame video { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; top: -58px; right: 0; width: 48px; height: 48px; display: grid; place-items: center; background: var(--red); color: var(--cream); border: 3px solid var(--cream); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 140px);
  font-weight: 700; font-size: 15px;
  background: var(--ink); color: var(--cream);
  border: 3px solid var(--red); box-shadow: 4px 4px 0 var(--red);
  padding: 12px 18px;
  transition: transform .6s var(--spring);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }
.hero :focus-visible { outline-color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1250px) {
  .client-grid { --cols: 4; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .headline { font-size: clamp(64px, 13vw, 120px); }
  .monitor-wrap { max-width: 640px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 3px solid var(--ink-3); }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-tc { justify-self: center; }
  .services { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-tc { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .stat { padding-right: 18px; margin-right: 18px; }
  .bento { grid-template-columns: 1fr; }
  .client-grid { --cols: 2; --gap: 12px; }
  .client-pfp { width: 68px; height: 68px; }
  .crown { width: 34px; height: 26px; top: -19px; }
  .client-name { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 3px solid var(--ink-3); }
  .step:last-child { border-bottom: 0; }
}

/* ============================================================
   MOTION: fluid, editor-flavoured
   Everything is scoped to .motion, which is only set when the
   viewer does not ask for reduced motion. Mouse/scroll motion is
   driven by a small spring loop in script.js.
   ============================================================ */
:root { --cut: cubic-bezier(.7, 0, .2, 1); }

@keyframes wipe-in   { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise      { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes line-up   { from { clip-path: inset(0 0 100% 0); transform: translateY(40%); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes punch-in  { 0% { opacity: 0; transform: scale(1.35) rotate(-5deg); }
                       60% { opacity: 1; transform: scale(.97) rotate(.8deg); }
                       100% { opacity: 1; transform: none; } }
@keyframes power-on  { 0% { opacity: 0; transform: scale(.7, .02); filter: brightness(3); }
                       40% { opacity: 1; transform: scale(1, .02); filter: brightness(3); }
                       100% { opacity: 1; transform: none; filter: none; } }
@keyframes block-wipe { 0% { transform: scaleX(0); transform-origin: left; }
                        48% { transform: scaleX(1); transform-origin: left; }
                        52% { transform: scaleX(1); transform-origin: right; }
                        100% { transform: scaleX(0); transform-origin: right; } }
@keyframes show-at-half { 0%, 49% { color: transparent; } 50%, 100% { color: var(--cream); } }
@keyframes playhead-run { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in  { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ring      { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.45); } }
@keyframes float     { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-3deg); } }

/* 1) hero intro: soft focus pulls, the headline rises out of a mask, the highlights punch in */
.motion .tag        { animation: rise .9s var(--ease-out) .05s both; }
.motion .ln         { display: inline-block; animation: line-up 1.1s var(--ease-out) .15s both; }
.motion .hl-1       { animation: punch-in .9s var(--spring) .55s both; }
.motion .hl-2       { animation: punch-in .9s var(--spring) .68s both; }
.motion .sub        { animation: rise 1s var(--ease-out) .85s both; }
.motion .ctas       { animation: rise 1s var(--ease-out) .95s both; }
.motion .stats      { animation: rise 1s var(--ease-out) 1.05s both; }
.motion .monitor    { animation: power-on 1s var(--ease-out) .3s both; }
.motion .tl2        { animation: wipe-in 1.1s var(--cut) .9s both; }
.motion .vf         { animation: wipe-in .8s var(--ease-out) 1.1s both; }

/* 2) section titles: red block wipes across, text appears at the cut */
.motion .wipe { position: relative; display: table; color: transparent; }
.motion .wipe::after { content: ""; position: absolute; inset: -.04em -.06em; background: var(--red); transform: scaleX(0); pointer-events: none; }
.motion .wipe.in { animation: show-at-half 1s linear both; color: var(--cream); }
.motion .wipe.in::after { animation: block-wipe 1s var(--cut) both; }
.end-title.wipe { margin-left: auto; margin-right: auto; }

/* 3) everything else rises in, staggered ("backwards" fill so hover/tilt own transform afterwards) */
.motion .reveal { opacity: 0; }
.motion .reveal.in { opacity: 1; animation: rise 1s var(--ease-out) backwards; animation-delay: var(--d, 0ms); }

/* 4) scrub a video card: playhead + timecode follow the mouse */
.scrub { position: absolute; top: 0; bottom: 0; left: calc(var(--x, 0) * 100%); width: 2px; background: var(--red-hi); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrub::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--red-hi); }
.scrub-tc { position: absolute; bottom: 10px; left: 8px; transform: translateX(-50%); white-space: nowrap;
  font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; background: var(--ink); color: var(--cream); padding: 2px 6px; }
.vcard.scrubbing .scrub { opacity: 1; }
.vcard.scrubbing .play { opacity: 0 !important; }

.band { overflow: hidden; }

/* 6) how it works: a playhead runs across and lights each step */
.motion .steps .step::before { background: var(--ink-3); transition: background-color .6s var(--ease-out); }
.motion .steps.in .step:nth-child(1)::before { background: var(--red); transition-delay: .15s; }
.motion .steps.in .step:nth-child(2)::before { background: var(--red); transition-delay: .75s; }
.motion .steps.in .step:nth-child(3)::before { background: var(--red); transition-delay: 1.35s; }
.motion .steps.in .step:nth-child(4)::before { background: var(--red); transition-delay: 1.95s; }
.motion .steps::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: 0; width: 3px; background: var(--red-hi); opacity: 0; pointer-events: none; z-index: 2; }
.motion .steps.in::after { animation: playhead-run 2.4s cubic-bezier(.45, .05, .55, .95) .1s both; }

/* 7) hero background: grid drift, stickers bob + pop in, ruler plays */
@keyframes grid-pan { to { transform: translate3d(48px, 48px, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pop { 0% { scale: 0; } 100% { scale: 1; } }
@keyframes ruler-play { to { transform: translateX(-50%); } }
.motion .hero::before { animation: grid-pan 9s linear infinite; will-change: transform; }
.motion .fx { animation: pop .8s var(--spring) both; }
.motion .fx-key  { animation-delay: 1.25s; }
.motion .fx-kf   { animation-delay: 1.35s; }
.motion .fx-chip { animation-delay: 1.45s; }
.motion .fx-cut  { animation-delay: 1.55s; }
.motion .fx > i { animation: bob 4.2s ease-in-out infinite; }
.motion .fx-kf > i   { animation-duration: 5.1s; animation-delay: -1.2s; }
.motion .fx-chip > i { animation-duration: 3.6s; animation-delay: -2.1s; }
.motion .fx-cut > i  { animation-duration: 4.7s; animation-delay: -.6s; }
.motion .ruler-track { animation: ruler-play 40s linear infinite; }
.hero.offscreen::before, .hero.offscreen *, .hero.offscreen *::before { animation-play-state: paused !important; }


/* 8) 1M+ club */
@keyframes crown-bob { 0%, 100% { transform: translateX(-50%) rotate(-14deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-8deg) translateY(-4px); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.motion .crown { animation: crown-bob 2.6s ease-in-out infinite; }
.motion .client.vip .client-name { animation: shimmer 3.2s linear infinite; }
.motion .spark-1 { animation: twinkle 1.8s ease-in-out infinite; }
.motion .spark-2 { animation: twinkle 1.8s ease-in-out .9s infinite; }
.client:hover .pfp-wrap { transform: scale(1.08) rotate(-6deg); }

/* 9) end screen: the logo floats, the Discord button breathes */
.motion .mark-end { animation: float 4s ease-in-out infinite; }
.motion .end-card-main::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--red-hi); pointer-events: none; animation: ring 2.4s var(--ease-out) infinite; }

/* 10) video player opens with a soft scale-in */
.motion .modal:not([hidden]) .modal-backdrop { animation: fade-in .4s ease both; }
.motion .modal:not([hidden]) .modal-box { animation: modal-in .6s var(--ease-out) both; }

/* 11) cursor follower (mouse only): a ring that turns into a label over videos and channels */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 2px solid var(--red-hi); border-radius: 50%;
    font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
    color: transparent;
    opacity: 0;
    transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), border-radius .45s var(--ease-out),
                background-color .3s, color .2s, opacity .3s, border-color .3s;
  }
  .motion .cursor.on { opacity: 1; }
  .motion .cursor.small { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--red-hi); }
  .motion .cursor.label { width: 92px; height: 32px; margin: 14px 0 0 14px; border-radius: 0; background: var(--red); border-color: var(--red); color: var(--cream); }
  .modal-open .cursor { opacity: 0 !important; } /* the iframe swallows mouse moves */
}

@media (max-width: 600px) {
  .motion .steps::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
