/* ============================================================
   Reelith — Apple-inspired editing studio site
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-mute: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.18);
  --dark: #000000;
  --dark-2: #0a0a0a;
  --dark-3: #161617;
  --on-dark: #f5f5f7;
  --on-dark-mute: #a1a1a6;
  --accent: #ff2d55;
  --accent-2: #ff5577;
  --accent-glow: rgba(255, 45, 85, 0.45);
  --radius: 22px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis.lenis-stopped { overflow: hidden; }
html.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [data-magnetic] { cursor: none; }
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.06; }

.hero__title {
  font-size: clamp(48px, 9vw, 124px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em; /* prevents 'g' descender clipping */
}
/* Solid brand red. No background-clip: text — on iOS Safari, clipping the
   em's gradient to descendant text renders wrong when those descendants
   (the .char spans) are on their own compositing layers from will-change,
   producing visible dark bands at the top of glyphs. Char + em must both
   be plain solid fills for iOS to render cleanly. */
.hero__title em,
.hero__title em .char {
  font-style: normal;
  color: #ff2d55;
  -webkit-text-fill-color: #ff2d55;
}
.hero__title em .char {
  vertical-align: baseline;
}
h2 {
  font-size: clamp(34px, 5.2vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.04;
}
/* Same reason as .hero__title em above — plain solid fill on both em
   and .char to avoid the iOS Safari composited-layer clip artifact. */
h2 em,
h2 em .char {
  font-style: normal;
  color: #ff2d55;
  -webkit-text-fill-color: #ff2d55;
}
h2 em .char {
  vertical-align: baseline;
}
h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.018em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}
.eyebrow--dark {
  color: var(--ink-3);
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.02);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.section-head--light .eyebrow { color: var(--on-dark-mute); }
.section-sub {
  color: var(--ink-3);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 620px;
  margin: 0;
}
.section-head--light .section-sub { color: var(--on-dark-mute); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav.scrolled.is-dark-section {
  background: rgba(10, 10, 10, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.018em;
  font-size: 18px;
  color: var(--ink);
}
.nav__logo {
  height: 24px;
  width: auto;
  display: block;
}
.nav__logo--on-dark { display: block; }
.nav__logo--on-light { display: none; }
/* When scrolled onto a light section, swap to the dark-content logo */
.nav.scrolled:not(.is-dark-section) .nav__logo--on-dark { display: none; }
.nav.scrolled:not(.is-dark-section) .nav__logo--on-light { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  opacity: 0.9;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__links a:hover { opacity: 1; color: var(--ink); }
.nav.is-dark-section .nav__links a,
.nav.scrolled.is-dark-section .nav__links a { color: var(--on-dark-mute); }
.nav.is-dark-section .nav__links a:hover,
.nav.scrolled.is-dark-section .nav__links a:hover { color: var(--on-dark); }

.nav__cta {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); background: var(--accent); }
.nav.is-dark-section .nav__cta,
.nav.scrolled.is-dark-section .nav__cta { background: var(--on-dark); color: var(--dark); }

.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }

/* ============================================================
   Liquid glass — Apple-style translucent panels
   ============================================================ */
.liquid-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.18),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  isolation: isolate;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.5s var(--ease);
}
.liquid-glass::after {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  filter: blur(8px);
  animation: glassSheen 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes glassSheen {
  0%, 100% { transform: translateX(0); opacity: 0; }
  20% { opacity: 0.8; }
  60% { opacity: 0.8; }
  100% { transform: translateX(420%); opacity: 0; }
}
.liquid-glass > * { position: relative; z-index: 1; }

.liquid-glass--dark {
  background: rgba(20, 20, 22, 0.42);
}
.liquid-glass--accent {
  background:
    linear-gradient(160deg, rgba(255, 45, 85, 0.22) 0%, rgba(255, 45, 85, 0.06) 60%, rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 45, 85, 0.4);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22),
    0 30px 80px -30px rgba(255, 45, 85, 0.55);
}
.liquid-glass--light {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.06),
    0 40px 80px -30px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   Background editing motifs (timecode, waveforms, vectorscope, etc.)
   ============================================================ */
.bg-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx--reel { position: absolute; inset: 0; }
.motif {
  position: absolute;
  opacity: 0;
  font-family: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
  will-change: transform, opacity;
  animation: motifFadeIn 1.6s var(--ease-out) forwards;
}
@keyframes motifFadeIn {
  to { opacity: 0.6; }
}
.bg-fx--reel .motif { animation-delay: 0.2s; }

/* Timecode chip */
.motif--tc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 9px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifDrift 18s ease-in-out infinite alternate;
}
.motif--tc .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}
.services .motif--tc, .pricing .motif--tc { color: rgba(255, 255, 255, 0.6); }
.reel .motif--tc { color: rgba(255, 255, 255, 0.65); }

/* Waveform */
.motif--wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifDrift 22s ease-in-out infinite alternate;
}
.motif--wave span {
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
  border-radius: 1px;
  animation: waveBar 1.4s ease-in-out infinite;
}
.motif--wave span:nth-child(odd) { background: linear-gradient(to bottom, transparent, var(--accent)); }
.motif--wave span:nth-child(1) { animation-delay: 0.0s; }
.motif--wave span:nth-child(2) { animation-delay: 0.1s; }
.motif--wave span:nth-child(3) { animation-delay: 0.2s; }
.motif--wave span:nth-child(4) { animation-delay: 0.3s; }
.motif--wave span:nth-child(5) { animation-delay: 0.4s; }
.motif--wave span:nth-child(6) { animation-delay: 0.5s; }
.motif--wave span:nth-child(7) { animation-delay: 0.4s; }
.motif--wave span:nth-child(8) { animation-delay: 0.3s; }
.motif--wave span:nth-child(9) { animation-delay: 0.2s; }
.motif--wave span:nth-child(10) { animation-delay: 0.1s; }
@keyframes waveBar {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}

/* Film strip cells */
.motif--strip {
  display: flex;
  gap: 4px;
  padding: 6px 0;
  position: relative;
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifDrift 26s ease-in-out infinite alternate;
}
.motif--strip::before, .motif--strip::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  height: 4px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 2px);
  background-size: 8px 4px;
  background-repeat: repeat-x;
}
.motif--strip::before { top: 0; }
.motif--strip::after { bottom: 0; }
.motif--strip .cell {
  width: 28px; height: 18px;
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.motif--strip .cell:nth-child(even) {
  background: linear-gradient(135deg, rgba(76, 138, 255, 0.18), rgba(255, 255, 255, 0.04));
}

/* Vectorscope */
.motif--vector {
  width: 64px; height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  position: absolute;
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifDrift 30s ease-in-out infinite alternate;
}
.motif--vector::before, .motif--vector::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
}
.motif--vector::before {
  top: 50%; left: 8%; right: 8%;
  height: 1px;
}
.motif--vector::after {
  left: 50%; top: 8%; bottom: 8%;
  width: 1px;
}
.motif--vector .vector-dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%; left: 50%;
  margin: -2px 0 0 -2px;
  box-shadow: 0 0 10px var(--accent);
  animation: vectorOrbit 4s linear infinite;
}
@keyframes vectorOrbit {
  0% { transform: rotate(0deg) translate(20px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(20px) rotate(-360deg); }
}

/* Layers / tracks UI */
.motif--layers {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifDrift 24s ease-in-out infinite alternate;
}
.motif--layers .layer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.motif--layers .layer span {
  width: 22px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  text-align: center;
}
.motif--layers .bar {
  height: 8px;
  width: 110px;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.motif--layers .bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15) 50%, transparent);
  background-size: 200% 100%;
  animation: trackShine 3.5s linear infinite;
}
.motif--layers .bar--a { background: linear-gradient(90deg, rgba(255, 45, 85, 0.6), rgba(255, 45, 85, 0.1)); width: 96px; }
.motif--layers .bar--b { background: linear-gradient(90deg, rgba(76, 138, 255, 0.6), rgba(76, 138, 255, 0.1)); width: 130px; }
.motif--layers .bar--c { background: linear-gradient(90deg, rgba(255, 138, 76, 0.6), rgba(255, 138, 76, 0.1)); width: 78px; }
@keyframes trackShine {
  from { background-position: -100% 0; }
  to { background-position: 200% 0; }
}

/* Color bars (SMPTE-ish) */
.motif--colors {
  display: flex;
  height: 38px;
  width: 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifDrift 28s ease-in-out infinite alternate;
}
.motif--colors span { flex: 1; }
.motif--colors span:nth-child(1) { background: #c8c8c8; }
.motif--colors span:nth-child(2) { background: #c8c800; }
.motif--colors span:nth-child(3) { background: #00c8c8; }
.motif--colors span:nth-child(4) { background: #00c800; }
.motif--colors span:nth-child(5) { background: #c800c8; }
.motif--colors span:nth-child(6) { background: #c80000; }
.motif--colors span:nth-child(7) { background: #0000c8; }

/* Cut marker */
.motif--cut {
  width: 24px; height: 24px;
  color: rgba(255, 45, 85, 0.7);
  animation: motifFadeIn 1.6s var(--ease-out) forwards, motifSpin 8s linear infinite;
}
@keyframes motifSpin { to { transform: rotate(360deg); } }

@keyframes motifDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(24px, -32px); }
}

/* ============================================================
   Film-strip scroll indicator (left edge)
   ============================================================ */
.scroll-strip {
  position: fixed;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  mix-blend-mode: difference;
  color: #fff;
}
.scroll-strip.is-visible { opacity: 1; }
.scroll-strip__tc, .scroll-strip__label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.scroll-strip__rail {
  position: relative;
  width: 14px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-strip__cells {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}
.scroll-strip__cells .cell {
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.scroll-strip__playhead {
  position: absolute;
  top: 0;
  left: -8px; right: -8px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  transition: top 0.05s linear;
}
.scroll-strip__playhead::before, .scroll-strip__playhead::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 0; height: 0;
  border-style: solid;
}
.scroll-strip__playhead::before {
  left: -2px;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--accent);
}
.scroll-strip__playhead::after {
  right: -2px;
  border-width: 4px 6px 4px 0;
  border-color: transparent var(--accent) transparent transparent;
}
@media (max-width: 960px) {
  .scroll-strip { display: none; }
}

/* ============================================================
   Reel section
   ============================================================ */
.reel {
  position: relative;
  padding: 140px 0;
  background: #000;
  color: var(--on-dark);
  overflow: hidden;
}
.reel__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.reel__orb {
  position: absolute;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.18) 0%, transparent 65%);
  filter: blur(60px);
}
.reel .container { position: relative; z-index: 2; }
.reel__frame {
  margin: 60px auto 0;
  max-width: 1080px;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
}
.reel__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--on-dark-mute);
}
.reel__dots { display: flex; gap: 7px; }
.reel__dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.reel__dots span:nth-child(1) { background: #ff5f57; }
.reel__dots span:nth-child(2) { background: #febc2e; }
.reel__dots span:nth-child(3) { background: #28c840; }
.reel__tc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
}
.reel .rec-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}
.reel__chip {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: 10px;
  color: var(--on-dark);
}

.reel__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a0a0a 0%, #1d1d1f 100%);
  overflow: hidden;
}
.reel__rays {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(105deg, transparent 0 80px, rgba(255, 255, 255, 0.025) 80px 81px);
  animation: raysShift 18s linear infinite;
}
@keyframes raysShift {
  from { background-position: 0 0; }
  to { background-position: 400px 0; }
}
.reel__caption {
  position: absolute;
  bottom: 32px; left: 32px;
}
.reel__hook {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.reel__hook::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 1.2s ease-in-out infinite;
}

.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  z-index: 3;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.reel__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.reel__play svg { width: 32px; height: 32px; margin-left: 5px; }
.reel__play-rings, .reel__play-rings::before, .reel__play-rings::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: playRing 2.4s var(--ease-out) infinite;
}
.reel__play-rings::before, .reel__play-rings::after { content: ''; }
.reel__play-rings::before { animation-delay: 0.8s; }
.reel__play-rings::after { animation-delay: 1.6s; }
@keyframes playRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

.reel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
}
.reel__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: 0.01em;
}
.reel__pill .bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}
.reel__pill .bars span {
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
  animation: bars 1.2s ease-in-out infinite;
}
.reel__pill .bars span:nth-child(1) { height: 4px; animation-delay: 0s; }
.reel__pill .bars span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.reel__pill .bars span:nth-child(3) { height: 6px; animation-delay: 0.3s; }
.reel__pill .bars span:nth-child(4) { height: 12px; animation-delay: 0.45s; }

@media (max-width: 720px) {
  .reel { padding: 96px 0; }
  .reel__frame { margin-top: 36px; }
  .reel__play { width: 64px; height: 64px; }
  .reel__play svg { width: 22px; height: 22px; }
}

/* ============================================================
   Format devices — real autoplay-muted videos behind decorative overlays
   ============================================================ */
.format__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  background: #000;
}
.format__screen .format__progress,
.format__screen .format__caption,
.format__screen .format__timeline { z-index: 2; }
.format__screen[data-lightbox] {
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.format__screen[data-lightbox]:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.format__screen[data-lightbox]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.4s var(--ease);
}
.format__screen[data-lightbox]:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

/* ============================================================
   Founder video — replaces the placeholder poster with a real <video>
   ============================================================ */
.reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  z-index: 1;
}
.reel__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 45, 85, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(76, 138, 255, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, rgba(26, 26, 28, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%);
  transition: opacity 0.6s var(--ease);
  pointer-events: auto;
}
.reel__player.is-playing .reel__overlay { opacity: 0; pointer-events: none; }
.reel__player.is-playing .reel__video { z-index: 3; }
.reel__player.is-playing .reel__video::-webkit-media-controls,
.reel__player .reel__video[controls] { display: block; }

/* ============================================================
   Portfolio (Recent Work) section
   ============================================================ */
.portfolio {
  position: relative;
  padding: 140px 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.portfolio__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.portfolio__orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.08) 0%, transparent 60%);
  filter: blur(40px);
}
.portfolio .container { position: relative; z-index: 2; }

.portfolio .section-head--light .eyebrow { color: var(--ink-3); border-color: var(--line); }
.portfolio .section-head--light h2,
.portfolio .section-head--light .section-sub { color: var(--ink); }
.portfolio .section-head--light .section-sub { color: var(--ink-3); }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.portfolio__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.portfolio__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
}

.portfolio__phone {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.portfolio__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.4s var(--ease);
}
.portfolio__card:hover .portfolio__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}
.portfolio__tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.portfolio__play {
  align-self: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: auto;
  margin-bottom: auto;
}
.portfolio__play svg { width: 22px; height: 22px; margin-left: 3px; }
.portfolio__card:hover .portfolio__play {
  transform: scale(1.08);
  background: #fff;
}

@media (max-width: 1100px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .portfolio { padding: 96px 0; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   Testimonials section
   ============================================================ */
.testimonials {
  position: relative;
  padding: 140px 0;
  background: #fff;
  overflow: hidden;
}
.testimonials__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.testimonials .container { position: relative; z-index: 2; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.15);
}

.testimonial__video {
  position: relative;
  aspect-ratio: 9 / 14;
  background: #000;
  overflow: hidden;
}
.testimonial__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}
.testimonial__play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease);
}
.testimonial__play svg { width: 24px; height: 24px; margin-left: 4px; }
.testimonial:hover .testimonial__play { transform: scale(1.08); }

.testimonial__meta {
  position: relative;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-mark {
  font-family: 'Inter', serif;
  font-size: 56px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.45;
  font-weight: 800;
  margin-bottom: -10px;
}
.testimonial__quote {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}
.testimonial__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.005em;
}
.testimonial__role {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .testimonials { padding: 96px 0; }
}

/* ============================================================
   Lightbox modal — fullscreen video player
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__player {
  position: relative;
  max-width: 1100px;
  max-height: 88vh;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  transition: transform 0.5s var(--ease);
}
.lightbox.is-open .lightbox__video { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
}
.lightbox__close:hover {
  background: rgba(255, 45, 85, 0.4);
  transform: rotate(90deg);
}
.lightbox__close svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .lightbox { padding: 16px; }
  .lightbox__close { top: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: clip-path 1.1s var(--ease), opacity 0.6s ease 0.6s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done {
  clip-path: inset(0 0 100% 0);
}
.loader__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #fff;
}
.loader__badge {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: loaderSpin 1.8s linear infinite;
}
.loader__arc { transform-origin: center; }
.loader__logo {
  position: relative;
  width: 46px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 4px 14px rgba(255, 45, 85, 0.4));
}
.loader__mark span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  animation: loaderPulse 1.8s ease-in-out infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* ============================================================
   Custom Cursor
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 10050; /* sits above .lightbox (10000) so it never disappears */
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.js-ready .cursor { opacity: 1; }

/* When the lightbox is open, show the native cursor (for video controls)
   and hide the custom one — users need standard cursor for play/volume sliders. */
body.lightbox-open,
body.lightbox-open a,
body.lightbox-open button,
body.lightbox-open [data-magnetic] {
  cursor: auto !important;
}
body.lightbox-open .cursor { opacity: 0 !important; }
.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: #fff;
}
.cursor__ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 60px; height: 60px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 45, 85, 0.15);
}
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* ============================================================
   Hero — 3D mark
   ============================================================ */
.hero__mark {
  position: relative;
  width: 340px;
  height: 340px;
  margin-bottom: -28px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__mark canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.hero__mark-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(255, 45, 85, 0.4) 0%, transparent 55%);
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@media (max-width: 720px) {
  .hero__mark { width: 240px; height: 240px; margin-bottom: -12px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 0 0;
  background: #000;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 70%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.hero__orb--a {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #ff2d55 0%, transparent 60%);
  top: -120px; left: -120px;
}
.hero__orb--b {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #ff5577 0%, transparent 60%);
  bottom: -180px; right: -150px;
  opacity: 0.35;
}
.hero__orb--c {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #ff8a4c 0%, transparent 65%);
  top: 35%; left: 55%;
  opacity: 0.25;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 28px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero__sub {
  max-width: 620px;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--on-dark-mute);
  line-height: 1.5;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

.hero__scroll {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.hero__scrollbar {
  width: 2px; height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero__scrolldot {
  position: absolute;
  top: -10px; left: 0;
  width: 100%; height: 12px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(44px); opacity: 0; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
  position: relative;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost-dark {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost-dark:hover { background: rgba(0, 0, 0, 0.08); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: var(--accent); transform: translateY(-2px); }

.btn__play {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
}
.btn__play svg { width: 10px; height: 10px; color: #fff; }

.btn__whatsapp {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.btn__whatsapp svg { width: 13px; height: 13px; color: #fff; }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--on-dark-mute);
  padding-left: 36px;
}
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Formats
   ============================================================ */
.formats {
  padding: 140px 0;
  background: var(--bg-alt);
}
.formats__grid {
  display: grid;
  gap: 24px;
}
.format {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 72px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.format--long { direction: rtl; }
.format--long > * { direction: ltr; }

.format__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.format__copy p { color: var(--ink-3); font-size: 17px; margin: 0; }

.format__device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.format__device--phone .format__screen {
  width: 260px;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  background: linear-gradient(160deg, #1d1d1f, #000);
  border: 8px solid #111;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  position: relative;
  overflow: hidden;
  transform: rotate(-3deg);
  transition: transform 0.8s var(--ease);
}
.format--short.is-revealed .format__screen { transform: rotate(0deg) translateY(-4px); }

.format__device--wide .format__screen--wide {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: linear-gradient(160deg, #1d1d1f, #000);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  transform: rotate(2deg);
  transition: transform 0.8s var(--ease);
}
.format--long.is-revealed .format__screen--wide { transform: rotate(0deg) translateY(-4px); }

.format__progress {
  position: absolute;
  bottom: 18px; left: 14px; right: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.format__progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 38%;
  background: var(--accent);
  border-radius: 3px;
  animation: progressLoop 4s var(--ease) infinite;
}
@keyframes progressLoop {
  0% { width: 0%; }
  85% { width: 100%; }
  100% { width: 100%; opacity: 0; }
}

.format__caption {
  position: absolute;
  bottom: 50px;
  left: 14px; right: 14px;
}
.hook {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: -0.01em;
}
.hook::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.format__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.track {
  height: 8px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.track--a { background: linear-gradient(90deg, #ff2d55, #ff8a4c); width: 80%; }
.track--b { background: linear-gradient(90deg, #4c8aff, #5cc8ff); width: 65%; }
.track--c { background: linear-gradient(90deg, #a4a4ad, #6e6e73); width: 90%; }
.playhead {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 2px;
  background: #fff;
  left: 40%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: playheadMove 4s var(--ease) infinite;
}
@keyframes playheadMove {
  0% { left: 0%; }
  100% { left: 100%; }
}
/* ============================================================
   Services
   ============================================================ */
.services {
  padding: 140px 0;
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 45, 85, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.service {
  padding: 36px 32px;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}
.service__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--on-dark);
}
.service__icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 8px; color: var(--on-dark); }
.service p { color: var(--on-dark-mute); font-size: 15px; margin: 0; line-height: 1.55; }

/* ============================================================
   Process
   ============================================================ */
.process {
  padding: 140px 0;
  background: var(--bg-alt);
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.12); }
.step__num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  background: linear-gradient(120deg, #1d1d1f 0%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 { color: var(--ink); }
.step p { color: var(--ink-3); margin: 0; font-size: 16px; }

.step__visual {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.18); animation: pulse 1.4s ease-in-out infinite; }

.step__visual--bars {
  display: flex; gap: 4px; align-items: flex-end;
}
.step__visual--bars span {
  width: 4px;
  background: var(--ink);
  border-radius: 2px;
  animation: bars 1.2s ease-in-out infinite;
}
.step__visual--bars span:nth-child(1) { height: 14px; animation-delay: 0s; }
.step__visual--bars span:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.step__visual--bars span:nth-child(3) { height: 10px; animation-delay: 0.2s; background: var(--accent); }
.step__visual--bars span:nth-child(4) { height: 26px; animation-delay: 0.3s; }
.step__visual--bars span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
@keyframes bars {
  0%, 100% { transform: scaleY(0.4); transform-origin: bottom; }
  50% { transform: scaleY(1); }
}

.step__visual--arrow svg { width: 28px; height: 28px; color: var(--accent); }

/* ============================================================
   Unlimited Pass — featured top card with 3D circular mark
   ============================================================ */
.unlimited {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
  padding: 60px 60px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 45, 85, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255, 45, 85, 0.12) 0%, rgba(10, 10, 12, 0.7) 60%, rgba(255, 138, 76, 0.08) 100%);
  border: 1px solid rgba(255, 45, 85, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 40px 100px -30px rgba(255, 45, 85, 0.55);
}

.unlimited__flag {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 22px rgba(255, 45, 85, 0.55);
  z-index: 3;
}

.unlimited__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.unlimited__visual canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.unlimited__glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at center, rgba(255, 45, 85, 0.35) 0%, transparent 55%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: unlimitedGlow 5s ease-in-out infinite;
}
@keyframes unlimitedGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.unlimited__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  text-align: center;
}
.unlimited__big {
  font-size: clamp(72px, 10vw, 124px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}
.unlimited__small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--on-dark);
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}

.unlimited__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.eyebrow--unlimited {
  align-self: flex-start;
  background: rgba(255, 45, 85, 0.18);
  border-color: rgba(255, 45, 85, 0.4);
  color: #ffb3c2;
}
.unlimited__title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--on-dark);
  margin: 0;
}
.unlimited__title em {
  font-style: normal;
  background: linear-gradient(180deg, #ff2d55 0%, #b8132c 55%, #6a0014 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.unlimited__desc {
  color: var(--on-dark-mute);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}
.unlimited__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 4px;
}
.unlimited__list li {
  position: relative;
  padding-left: 28px;
  color: var(--on-dark);
  font-size: 15px;
  letter-spacing: -0.005em;
}
.unlimited__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: rgba(255, 45, 85, 0.22);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' fill='none' stroke='%23ff2d55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.unlimited__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.unlimited__limited {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

@media (max-width: 960px) {
  .unlimited {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 32px;
    text-align: center;
  }
  .unlimited__visual { max-width: 360px; }
  .unlimited__list { align-items: flex-start; text-align: left; max-width: 340px; margin-left: auto; margin-right: auto; }
  .unlimited__actions { justify-content: center; }
}
@media (max-width: 560px) {
  .unlimited__flag { top: 14px; right: 14px; font-size: 10px; padding: 5px 11px; }
  .unlimited { padding: 36px 22px; }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  padding: 140px 0;
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  bottom: -30%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 45, 85, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 160px 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.16) 0%, transparent 60%);
  filter: blur(40px);
}
.cta h2 { max-width: 900px; margin: 0 auto 24px; font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.035em; }
.cta p { max-width: 580px; margin: 0 auto 40px; color: var(--ink-3); font-size: 18px; }
.cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #000;
  color: var(--on-dark-mute);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__logo {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}
.footer__brand p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.footer__addr { color: var(--on-dark-mute); font-size: 13px; line-height: 1.6; }

.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--on-dark-mute);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--on-dark); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  font-size: 13px;
  color: var(--on-dark-mute);
}

/* ============================================================
   Char split (GSAP-driven)
   ============================================================ */
.char {
  display: inline-block;
  will-change: transform, opacity;
}
.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.14em; /* room for descenders (g, p, y) so they don't clip */
  vertical-align: baseline;
  white-space: nowrap; /* chars inside a word never break — wrap only at whitespace */
}

/* ============================================================
   Reveal animation (fallback if GSAP fails)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }
[data-reveal]:nth-child(5) { transition-delay: 0.32s; }
[data-reveal]:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .services__grid, .steps { grid-template-columns: 1fr 1fr; }
  .format { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
  .format--long { direction: ltr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .formats, .services, .process, .pricing { padding: 96px 0; }
  .services__grid, .steps { grid-template-columns: 1fr; }
  .format { padding: 36px 28px; }
  .format__device--phone .format__screen { width: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-head { margin-bottom: 48px; }
  .cta { padding: 100px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero__inner { padding-bottom: 80px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
}

/* ============================================================
   Mobile pass — full polish for phones (≤ 900px)
   Declutters motifs, tightens spacing, sizes 3D marks, fixes the
   Unlimited card and Reel chrome, stacks portfolio + testimonials.
   ============================================================ */
@media (max-width: 900px) {
  /* Hide background editing motifs on small screens — they clutter */
  .bg-fx { display: none !important; }

  /* Tighten hero */
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__inner { padding: 16px 22px 70px; gap: 22px; }
  .hero__title { font-size: clamp(40px, 12vw, 76px); letter-spacing: -0.035em; }
  .hero__sub { font-size: 15.5px; }
  .hero__scroll { margin-top: 36px; }
  .hero__mark { width: 220px; height: 220px; margin-bottom: -8px; }

  /* Marquee softer */
  .marquee { padding: 14px 0; }
  .marquee__track { font-size: 18px; gap: 26px; }

  /* Sections breathe */
  .formats, .services, .process, .pricing, .reel, .portfolio, .testimonials, .cta {
    padding: 80px 0;
  }
  .section-head { margin-bottom: 40px; gap: 18px; }
  .section-sub { font-size: 15px; }

  /* Format devices */
  .format { padding: 32px 24px; gap: 28px; }
  .format__device--phone .format__screen { width: 200px; }
  .format__device--wide .format__screen--wide { max-width: 320px; }
  .format__copy h3 { font-size: 22px; }
  .format__copy p { font-size: 15.5px; }

  /* Reel / founder video frame */
  .reel__frame { margin-top: 32px; }
  .reel__chrome {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .reel__tc { font-size: 10px; }
  .reel__chip { font-size: 9px; padding: 3px 8px; }
  .reel__meta { padding: 14px 14px; gap: 8px; }
  .reel__pill { padding: 5px 10px; font-size: 11px; }
  .reel__play { width: 60px; height: 60px; }
  .reel__play svg { width: 22px; height: 22px; }

  /* Portfolio grid stacks at this width too (was 560px) */
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
  .portfolio__phone { aspect-ratio: 9 / 14; }
  .portfolio__tag { font-size: 10px; padding: 4px 8px; }
  .portfolio__play { width: 52px; height: 52px; }
  .portfolio__play svg { width: 18px; height: 18px; }

  /* Testimonials */
  .testimonials__grid { gap: 18px; margin-top: 32px; }
  .testimonial__video { aspect-ratio: 9 / 13; }
  .testimonial__meta { padding: 22px 20px 20px; gap: 12px; }
  .testimonial__quote { font-size: 16px; }
  .quote-mark { font-size: 44px; margin-bottom: -8px; }

  /* Unlimited Pass — single column, smaller mark, flag inline */
  .unlimited {
    grid-template-columns: 1fr;
    padding: 40px 24px 36px;
    gap: 28px;
    text-align: center;
  }
  .unlimited__flag {
    position: static;
    align-self: center;
    margin: 0 auto;
    display: inline-block;
  }
  .unlimited__visual {
    max-width: 300px;
    width: 78%;
    order: 1;
  }
  .unlimited__copy { order: 2; align-items: center; }
  .unlimited__title { font-size: clamp(28px, 8vw, 40px); }
  .unlimited__desc { font-size: 15px; max-width: 100%; }
  .unlimited__list {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 320px;
    margin: 4px auto;
  }
  .unlimited__list li { font-size: 14.5px; }
  .unlimited__big { font-size: clamp(56px, 16vw, 96px); }
  .unlimited__small { font-size: 11px; letter-spacing: 0.32em; }
  .unlimited__actions { flex-direction: column; gap: 14px; width: 100%; }
  .unlimited__actions .btn { width: 100%; justify-content: center; }

  /* CTA */
  .cta h2 { font-size: clamp(32px, 9vw, 56px); margin-bottom: 18px; }
  .cta p { font-size: 16px; margin-bottom: 28px; }
  .cta__buttons { flex-direction: column; width: 100%; padding: 0 20px; }
  .cta__buttons .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 60px 0 32px; }
  .footer__grid { gap: 32px; padding-bottom: 36px; }

  /* Lightbox: edge-to-edge on phones */
  .lightbox { padding: 12px; }
  .lightbox__close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lightbox__video { border-radius: 10px; }
}

/* ============================================================
   Extra small phones (≤ 420px)
   ============================================================ */
@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .nav__inner { padding: 0 18px; }
  .nav__brand .nav__logo { height: 20px; width: auto; }

  .hero__mark { width: 180px; height: 180px; }
  .hero__title { font-size: clamp(36px, 13vw, 60px); }

  .portfolio__grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }

  .reel__chrome > * { font-size: 9px; }
  .reel__dots span { width: 9px; height: 9px; }

  .unlimited { padding: 32px 18px 30px; }
  .unlimited__visual { max-width: 260px; }
  .unlimited__list { max-width: 280px; }

  .formats, .services, .process, .pricing, .reel, .portfolio, .testimonials { padding: 64px 0; }
}

/* ============================================================
   Reduce Three.js intensity on phones to keep things smooth.
   The hero & unlimited 3D scenes are heavy on integrated GPUs.
   ============================================================ */
@media (max-width: 700px) {
  .hero__mark canvas, #unlimited-3d {
    image-rendering: auto;
  }
}


