/* ============================================================
   YOAVCHU STUDIO — studio.yoavchu.com
   AI video retainer, one page.

   TYPE (researched, deliberately not the portfolio's stack):
     Boldonse      — Universitype, 2025. Ultra-condensed display with
                     playful ink traps. Hero + display numerals only.
     Clash Display — Indian Type Foundry / Fontshare. Section headings.
     Satoshi       — Indian Type Foundry / Fontshare. Body, UI, labels.

   Portfolio (yoavchu.com) uses Bricolage Grotesque / Instrument Serif /
   JetBrains Mono — none of those appear here on purpose.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* surfaces */
  --void:      #0B0A0C;
  --void-2:    #121116;
  --void-3:    #1A181F;
  --void-4:    #232029;

  /* ink */
  --bone:      #EFEAE1;
  --bone-70:   rgba(239, 234, 225, 0.70);
  --bone-45:   rgba(239, 234, 225, 0.45);
  --bone-28:   rgba(239, 234, 225, 0.28);
  --line:      rgba(239, 234, 225, 0.11);
  --line-2:    rgba(239, 234, 225, 0.22);

  /* accents */
  --flare:     #FF3B14;
  --flare-2:   #FF8A3D;
  --plasma:    #7B4BFF;
  --grad:      linear-gradient(100deg, var(--flare) 0%, var(--flare-2) 48%, var(--plasma) 100%);

  /* type */
  --f-display: 'Boldonse', 'Arial Narrow', sans-serif;
  --f-head:    'Clash Display', 'Helvetica Neue', sans-serif;
  --f-body:    'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  /* motion */
  --e-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --e-inout:   cubic-bezier(0.65, 0, 0.35, 1);
  --e-spring:  cubic-bezier(0.34, 1.4, 0.64, 1);

  /* layout */
  --pad-x:     clamp(20px, 5vw, 88px);
  --max-w:     1560px;
  --sec-y:     clamp(88px, 13vh, 180px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--flare); color: #fff; }

:target { scroll-margin-top: clamp(80px, 12vh, 120px); }

:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 4px;
  border-radius: 3px;
}

.deg { color: var(--flare); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .orb, .ticker-track, .clients-track { animation: none !important; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--void);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--e-out), visibility 0.6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { width: min(560px, 78vw); text-align: left; }
.loader-mark {
  font-family: var(--f-display);
  font-size: clamp(28px, 6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 22px;
}
.loader-bar { height: 2px; background: var(--line-2); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0%; background: var(--grad); }
.loader-num {
  margin-top: 12px;
  font-family: var(--f-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--bone-45);
}
.loader-num em { font-style: normal; }

/* ============================================================
   GRAIN / CURSOR / PROGRESS
   ============================================================ */
.grain {
  position: fixed; inset: -50%; z-index: 900;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 6s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

.cursor { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.is-live { opacity: 1; }
.cursor-dot {
  position: absolute; top: 0; left: 0;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--flare);
}
.cursor-ring {
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: width 0.35s var(--e-out), height 0.35s var(--e-out),
              margin 0.35s var(--e-out), background 0.35s var(--e-out),
              border-color 0.35s var(--e-out);
}
.cursor-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--void); opacity: 0; white-space: nowrap;
  transition: opacity 0.2s;
}
.cursor.is-active .cursor-ring {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: var(--flare); border-color: var(--flare);
}
.cursor.is-active .cursor-label { opacity: 1; }
.cursor.is-active .cursor-dot { opacity: 0; }

@media (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor summary { cursor: none; }
}
@media (pointer: coarse) { .cursor { display: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 940;
  height: 2px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad-x);
  transition: transform 0.5s var(--e-out), background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11, 10, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav.is-hidden { transform: translateY(-104%); }

.nav-mark { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.nav-mark-name {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: -0.01em;
}
.nav-mark-sub {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--bone-45);
  padding: 3px 7px; border: 1px solid var(--line); border-radius: 2px;
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em;
  color: var(--bone-70);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a .idx { font-size: 9px; color: var(--flare); font-weight: 500; }
.nav-links a:hover { color: var(--bone); background: rgba(239, 234, 225, 0.06); }
.nav-links a.is-current { color: var(--bone); background: rgba(239, 234, 225, 0.08); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em;
  color: var(--void);
  background: var(--bone);
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--e-spring);
}
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--flare); transition: background 0.3s; }
.nav-cta:hover { background: var(--flare); color: #fff; }
.nav-cta:hover .dot { background: #fff; }

.nav-burger { display: none; width: 42px; height: 42px; position: relative; }
.nav-burger i {
  position: absolute; left: 10px; width: 22px; height: 1.5px; background: var(--bone);
  transition: transform 0.4s var(--e-out), opacity 0.3s;
}
.nav-burger i:nth-child(1) { top: 18px; }
.nav-burger i:nth-child(2) { top: 24px; }
.nav-burger.is-open i:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-burger.is-open i:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--void-2);
  padding: calc(88px + env(safe-area-inset-top)) var(--pad-x) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--e-out);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-head);
  font-size: clamp(26px, 8vw, 40px);
  font-weight: 600; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--e-out), transform 0.5s var(--e-out);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a .idx { font-family: var(--f-body); font-size: 11px; font-weight: 700; color: var(--flare); letter-spacing: 0.12em; }
.mobile-menu nav a.mm-cta { color: var(--flare); border-bottom: none; margin-top: 10px; }
.mobile-menu-foot {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; letter-spacing: 0.06em; color: var(--bone-45);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: color 0.35s var(--e-out), border-color 0.35s, background 0.35s;
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn .arw { transition: transform 0.4s var(--e-spring); font-style: normal; }
.btn:hover .arw { transform: translateX(5px); }
.btn.big { padding: 20px 34px; font-size: 13px; }

.btn-primary { background: var(--bone); color: var(--void); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--grad);
  transform: translateY(101%);
  transition: transform 0.5s var(--e-out);
}
.btn-primary { z-index: 0; }
.btn-primary:hover { color: #fff; background: transparent; }
.btn-primary:hover::after { transform: translateY(0); }

.btn-ghost { border-color: var(--line-2); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(239, 234, 225, 0.06); }

.btn-wa { background: var(--void-3); color: var(--bone); border-color: var(--line-2); }
.btn-wa .wa-ico { width: 18px; height: 18px; color: #25D366; }
.btn-wa:hover { background: #25D366; color: #06231A; border-color: #25D366; }
.btn-wa:hover .wa-ico { color: #06231A; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(120px + env(safe-area-inset-top)) var(--pad-x) 60px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32; }
.orb-a {
  width: 46vw; height: 46vw; top: -12vw; right: -8vw;
  background: radial-gradient(circle, var(--flare) 0%, transparent 66%);
  animation: orbA 22s var(--e-inout) infinite alternate;
}
.orb-b {
  width: 40vw; height: 40vw; bottom: -14vw; left: -10vw;
  background: radial-gradient(circle, var(--plasma) 0%, transparent 66%);
  opacity: 0.26;
  animation: orbB 28s var(--e-inout) infinite alternate;
}
@keyframes orbA { to { transform: translate3d(-9vw, 7vw, 0) scale(1.18); } }
@keyframes orbB { to { transform: translate3d(8vw, -6vw, 0) scale(1.24); } }

.hero-inner { position: relative; width: 100%; max-width: var(--max-w); margin: 0 auto; }

.hero-kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--bone-45);
  margin-bottom: clamp(20px, 3.4vh, 38px);
}
.hero-kicker em { font-style: normal; color: var(--bone-28); }
.hero-kicker .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--flare);
  box-shadow: 0 0 0 0 rgba(255, 59, 20, 0.7);
  animation: pulse 2.4s var(--e-out) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 12px rgba(255, 59, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 20, 0); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  /* Boldonse caps measure 1.19em tall, so anything under ~1.2 leading collides */
  font-size: clamp(2.1rem, min(7.2vw, 11.4vh), 7.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; padding: 0.08em 0 0.02em; }
.hero-title .w {
  display: inline-block;
  transform: translateY(130%);
  transition: transform 1.05s var(--e-out);
}
.hero-title.is-in .w { transform: translateY(0); }
.hero-title .line:nth-child(1) .w { transition-delay: 0.05s; }
.hero-title .line:nth-child(2) .w { transition-delay: 0.13s; }
.hero-title .line:nth-child(3) .w { transition-delay: 0.21s; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--bone);
  text-stroke: 1.4px var(--bone);
}

.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(24px, 4vh, 46px);
  max-width: 1000px;
}
.hero-lede {
  flex: 1 1 400px;
  max-width: 52ch;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--bone-70);
  line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* floating preview cards */
.hero-stack { display: none; }
@media (min-width: 1280px) {
  .hero { padding-top: calc(108px + env(safe-area-inset-top)); padding-bottom: 88px; }
  .hero-inner { padding-right: 420px; }
  .hero-stack {
    display: block;
    position: absolute; top: 50%; right: 0;
    width: 400px; height: 460px;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .hs-card {
    position: absolute;
    width: 168px; aspect-ratio: 9 / 16;
    border-radius: 14px; overflow: hidden;
    border: 1px solid var(--line-2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    background: var(--void-2);
    will-change: transform;
  }
  .hs-card video { width: 100%; height: 100%; object-fit: cover; }
  .hs-card:nth-child(1) { top: 0;     right: 232px; transform: rotate(-7deg); }
  .hs-card:nth-child(2) { top: 84px;  right: 96px;  transform: rotate(3deg); z-index: 2; }
  .hs-card:nth-child(3) { top: 22px;  right: -34px; transform: rotate(9deg); }
}

.hero-scroll {
  position: absolute; left: var(--pad-x); bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--bone-28);
}
.hero-scroll i { display: block; width: 46px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero-scroll i::after {
  content: ''; position: absolute; inset: 0; background: var(--flare);
  animation: scrollLine 2.2s var(--e-inout) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--void-2);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: slide 34s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--f-head);
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
}
.ticker-track i { color: var(--flare); font-style: normal; font-size: 14px; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { padding: clamp(48px, 8vh, 84px) 0; }
.clients-label {
  text-align: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.24em; color: var(--bone-28);
  margin-bottom: 28px;
}
.clients-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.clients-track { display: flex; align-items: center; gap: clamp(36px, 6vw, 92px); width: max-content; animation: slide 40s linear infinite; }
/* brightness(0) invert(1) flattens any solid mark to pure white whichever colour
   it ships in — grayscale+brightness leaves dark logos muddy on this background.
   Height comes from each logo's own --h (set inline) because their lockups and
   internal padding differ too much for one shared value. */
.clients-track img {
  height: var(--h, 30px); width: auto;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  transition: opacity 0.35s;
}
.clients-track img:hover { opacity: 1; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: var(--sec-y) var(--pad-x); max-width: var(--max-w); margin: 0 auto; }
.section + .section { border-top: 1px solid var(--line); }

.sec-head { max-width: 900px; margin-bottom: clamp(40px, 7vh, 82px); }
.sec-idx {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--bone-45);
  margin-bottom: 20px;
}
.sec-idx span {
  display: grid; place-items: center;
  width: 30px; height: 22px;
  background: var(--flare); color: #fff; border-radius: 3px;
  font-size: 10px; letter-spacing: 0.06em;
}
.sec-title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.sec-title .ital { color: var(--bone-45); }
.sec-lede { margin-top: 22px; max-width: 60ch; color: var(--bone-70); font-size: clamp(15px, 1.1vw, 17px); }

/* Clash Display is tightly spaced by default and the negative tracking above
   squeezes the word gaps shut — open them back up on every display heading. */
.sec-title, .mode-body h3,
.step-c h3, .faq-item .q, .contact-meta b, .ticker-track span,
.mobile-menu nav a, .tier-price {
  word-spacing: 0.12em;
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   OFFER — modes
   ============================================================ */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.mode {
  /* Both example clips are 9:16, so the media sits beside the copy at its own
     aspect instead of being cropped into a letterbox across the card top. */
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--void-2), var(--void));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s, transform 0.5s var(--e-out);
}
.mode:hover { border-color: var(--line-2); }
.mode-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--void-3); }
.mode-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.9; transition: transform 0.9s var(--e-out), opacity 0.5s; }
.mode:hover .mode-media video { transform: scale(1.05); opacity: 1; }
.mode-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(17, 16, 19, 0.55));
}
.mode-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 7px 12px; border-radius: 100px;
  background: rgba(11, 10, 12, 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
}
.mode-body {
  padding: clamp(22px, 2.4vw, 36px);
  display: flex; flex-direction: column; justify-content: center;
}
.mode-num {
  font-family: var(--f-body);
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--flare); margin-bottom: 14px;
}
.mode-body h3 {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.mode-body > p { color: var(--bone-70); max-width: 48ch; }

/* ============================================================
   WORK
   ============================================================ */
/* Offset parallax columns rather than a flat grid. Uneven column widths and
   uneven top offsets stop it reading as a spreadsheet of thumbnails; each
   column then drifts at its own rate (js 14) as the section passes. */
.work-cols {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 1.12fr 0.88fr;
  gap: clamp(14px, 1.7vw, 28px);
  align-items: start;
  padding-bottom: 120px;  /* room for the downward-drifting columns */
}
.wcol { display: grid; gap: clamp(14px, 1.7vw, 28px); will-change: transform; }
.wcol:nth-child(1) { margin-top: 0; }
.wcol:nth-child(2) { margin-top: 96px; }
.wcol:nth-child(3) { margin-top: 26px; }
.wcol:nth-child(4) { margin-top: 132px; }

.v-card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden;
  background: var(--void-2);
  border: 1px solid var(--line);
  text-align: left;
  transition: border-color 0.4s, transform 0.5s var(--e-out);
}
.v-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--e-out), filter 0.5s; filter: brightness(0.82); }
.v-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.v-card:hover video { transform: scale(1.04); filter: brightness(1); }
.v-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 10, 12, 0.92));
}
.v-meta {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
}
.v-meta em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--bone-70); }
.v-play {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 10, 12, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  font-size: 10px;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.v-card:hover .v-play { background: var(--flare); border-color: var(--flare); color: #fff; }

.v-idx {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--f-display);
  font-size: 12px; line-height: 1; letter-spacing: 0.04em;
  color: var(--bone); opacity: 0.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
  transition: opacity 0.4s;
}
.v-card:hover .v-idx { opacity: 1; }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: minmax(120px, 16%) minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(28px, 4.2vw, 54px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.5s;
}
.step:hover { background: linear-gradient(90deg, rgba(255, 59, 20, 0.05), transparent 60%); }
.step-n {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5.6vw, 5rem);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line-2);
  text-stroke: 1.2px var(--line-2);
  transition: -webkit-text-stroke-color 0.5s, color 0.5s;
}
.step:hover .step-n { -webkit-text-stroke-color: var(--flare); }
.step-c { max-width: 62ch; }
.step-c h3 {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem); letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.step-c p { color: var(--bone-70); }
.step-time {
  display: inline-block; justify-self: end; margin-top: 10px;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--bone-45);
}

/* ============================================================
   PRICING
   ============================================================ */
/* start, not stretch: the tiers hold different numbers of lines, and stretching
   them to a common height opens a dead gap under the shortest card. */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); align-items: start; }
.tier {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--void-2), var(--void));
  transform-style: preserve-3d;
  transition: border-color 0.4s, transform 0.5s var(--e-out), box-shadow 0.5s;
}
.tier:hover { border-color: var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.tier-feature { border-color: rgba(255, 59, 20, 0.42); background: linear-gradient(180deg, rgba(255, 59, 20, 0.07), var(--void) 62%); }
.tier-feature::before {
  content: ''; position: absolute; inset: -1px; border-radius: 20px; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.5; pointer-events: none;
}
.tier-flag {
  position: absolute; top: -11px; left: clamp(26px, 2.6vw, 40px);
  padding: 5px 12px; border-radius: 100px;
  background: var(--grad); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em;
}
.tier-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 22px; }
.tier-name { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--bone-45); margin-bottom: 20px; }
.tier-count {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.tier-feature .tier-count { color: var(--flare); }
.tier-unit { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--bone-45); margin-top: 12px; }

/* UGC vs creative-film split meter in each tier head */
.tier-mix { margin-top: 18px; }
.tm-bar {
  display: block; height: 4px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(90deg,
    var(--flare) 0 var(--ugc),
    var(--plasma) var(--ugc) 100%);
}
.tm-key {
  display: block; margin-top: 9px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--bone-45);
}
.tm-key b { color: var(--bone); }
.tm-key em { font-style: normal; color: var(--bone-28); margin: 0 2px; }

.tier-price {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.04em;
}
.tier-price em { font-style: normal; font-size: 0.55em; color: var(--bone-45); }
.tier-price i { font-style: normal; font-size: 0.32em; font-weight: 500; letter-spacing: 0; color: var(--bone-45); margin-left: 6px; }
.tier-per { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--flare); margin-top: 6px; }

.tier-list { margin: 26px 0; border-top: 1px solid var(--line); }
.tier-list li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--bone-70);
}
.tier-list li::before {
  content: ''; position: absolute; left: 2px; top: 17px;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--flare); border-bottom: 1.5px solid var(--flare);
  transform: rotate(-45deg);
}
.tier-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto;
  padding: 16px 22px;
  border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.tier-cta .arw { font-style: normal; transition: transform 0.4s var(--e-spring); }
.tier-cta:hover { background: var(--bone); color: var(--void); border-color: var(--bone); }
.tier-cta:hover .arw { transform: translateX(5px); }
.tier-feature .tier-cta { background: var(--flare); border-color: var(--flare); color: #fff; }
.tier-feature .tier-cta:hover { background: var(--bone); border-color: var(--bone); color: var(--void); }
.tier-note { margin-top: 16px; font-size: 12px; color: var(--bone-28); line-height: 1.5; }

/* highlighted tier line — the engine upgrade and the free revision round */
.tier-list li.hi { color: var(--bone); }
.tier-list li.hi b { color: var(--flare); font-weight: 700; }
.tier-list li.hi::before { border-color: var(--flare); border-width: 2px; }

.pricing-notes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  margin-top: clamp(32px, 5vh, 54px);
}
.pricing-notes li {
  background: var(--void);
  padding: clamp(20px, 2.2vw, 28px);
  font-size: 13px; line-height: 1.6; color: var(--bone-45);
}
.pricing-notes span {
  display: block; margin-bottom: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--flare);
}

.pricing-foot { margin-top: clamp(24px, 3.4vh, 34px); font-size: 14px; color: var(--bone-45); max-width: 62ch; }
.pricing-foot a { color: var(--flare); border-bottom: 1px solid rgba(255, 59, 20, 0.4); }
.pricing-foot a:hover { border-bottom-color: var(--flare); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); max-width: 1040px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.4vw, 30px) 0;
  list-style: none;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.55rem); letter-spacing: -0.03em;
  transition: color 0.3s;
}
.faq-item:hover .q { color: var(--flare); }
.faq-item .pm { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-item .pm::before, .faq-item .pm::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--bone-45);
  transform: translate(-50%, -50%); transition: transform 0.4s var(--e-out), background 0.3s;
}
.faq-item .pm::before { width: 16px; height: 1.5px; }
.faq-item .pm::after  { width: 1.5px; height: 16px; }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .pm::before, .faq-item[open] .pm::after { background: var(--flare); }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: clamp(20px, 2.4vw, 30px); max-width: 66ch; color: var(--bone-70); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { position: relative; overflow: hidden; }
.contact-inner { position: relative; z-index: 1; }
.contact-huge {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 8.4vw, 7.6rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 30px 0 clamp(24px, 4vh, 40px);
}
.contact-huge .line { display: block; white-space: nowrap; }
.contact-huge .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--flare);
  text-stroke: 1.4px var(--flare);
}
.contact-lede { max-width: 54ch; color: var(--bone-70); font-size: clamp(15px, 1.15vw, 18px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vh, 44px); }
.contact-meta {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(40px, 7vh, 72px);
  padding-top: 28px; border-top: 1px solid var(--line);
}
.contact-meta li { display: flex; flex-direction: column; gap: 6px; }
.contact-meta span { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--bone-28); }
.contact-meta b { font-family: var(--f-head); font-weight: 500; font-size: clamp(15px, 1.4vw, 20px); letter-spacing: -0.02em; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  justify-content: space-between;
  padding: 34px var(--pad-x) calc(34px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  max-width: var(--max-w); margin: 0 auto;
}
.foot-mark { font-family: var(--f-display); font-size: 15px; letter-spacing: -0.01em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--bone-45); }
.foot-links a { transition: color 0.3s; }
.foot-links a:hover { color: var(--flare); }
.foot-note { font-size: 11px; color: var(--bone-28); letter-spacing: 0.03em; }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 980;
  background: rgba(6, 5, 7, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center;
  padding: clamp(52px, 8vh, 90px) var(--pad-x);
  opacity: 0;
  transition: opacity 0.4s var(--e-out);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal-stage { width: min(100%, 460px); max-height: 100%; }
.modal-stage video {
  width: 100%; max-height: 82vh;
  border-radius: 12px; background: #000;
  transform: scale(0.96);
  transition: transform 0.5s var(--e-out);
}
.modal.is-open .modal-stage video { transform: scale(1); }
.modal-stage.is-wide { width: min(100%, 1000px); }
.modal-close {
  position: absolute; top: 22px; right: var(--pad-x);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.modal-close i { font-style: normal; font-size: 16px; line-height: 1; }
.modal-close:hover { background: var(--flare); border-color: var(--flare); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .pricing-notes { grid-template-columns: 1fr; }
  /* stays at four columns — there are exactly four .wcol children, so any
     other count wraps one of them onto a row of its own. Only the width
     contrast and the offsets relax. */
  .work-cols { grid-template-columns: 1.06fr 0.94fr 1.06fr 0.94fr; gap: 16px; }
  .work-cols .wcol:nth-child(2) { margin-top: 64px; }
  .work-cols .wcol:nth-child(3) { margin-top: 18px; }
  .work-cols .wcol:nth-child(4) { margin-top: 88px; }
}

@media (max-width: 900px) {
  /* one card per row here, so the media can take a narrower share and the
     copy still has a comfortable measure beside it. */
  .modes { grid-template-columns: 1fr; }
  .mode { grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .tier-feature { order: -1; }
  /* two columns: .wcol 3 and 4 wrap to a second band, so every offset is
     cleared or the two bands pull apart. */
  .work-cols { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .work-cols .wcol:nth-child(n) { margin-top: 0; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step-time { justify-self: start; margin-top: 18px; }
  .step-n { -webkit-text-stroke-color: var(--flare); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { min-height: auto; padding-top: calc(112px + env(safe-area-inset-top)); padding-bottom: 44px; }
  .hero-title { font-size: clamp(2.2rem, 11.4vw, 4.4rem); }
  .hero-title .outline { -webkit-text-stroke-width: 1px; }
  .hero-kicker { font-size: 9.5px; letter-spacing: 0.12em; gap: 7px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-scroll { display: none; }
  .orb { filter: blur(60px); }
  .orb-a { width: 80vw; height: 80vw; }
  .orb-b { width: 78vw; height: 78vw; }

  .clients-track img { height: calc(var(--h, 30px) * 0.78); }

  /* too narrow to sit side by side — stack, and cap the media so one card
     does not fill the whole screen. */
  .mode { grid-template-columns: 1fr; }
  .mode-media { aspect-ratio: 4 / 5; }
  .mode-media::after { background: linear-gradient(180deg, transparent 45%, var(--void-2)); }

  .work-cols { grid-template-columns: 1fr; gap: 12px; }
  .work-cols .wcol { gap: 12px; }
  .work-cols .wcol:nth-child(n) { margin-top: 0; }
  .v-card { aspect-ratio: 4 / 5; }

  .contact-huge { font-size: clamp(2.1rem, 12.4vw, 4rem); }
  .contact-huge .outline { -webkit-text-stroke-width: 1px; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-meta { gap: 22px; flex-direction: column; }

  .foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .modal { padding: 72px 16px 24px; }
  .modal-close { right: 16px; top: 16px; }
}

/* short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 40px; }
  .hero-scroll { display: none; }
}
