/* ==========================================================================
   CEREOFY — MASTER STYLESHEET (Final Spec)
   Indian Creator-First Growth Agency
   Palettes:
     Ink: #0E0E0E | Red: #E10600 | Paper: #F4F1EA | White: #FFFFFF
   Typography:
     Display: Archivo (Weight 800, Condensed wdth 62..75) -> Anton -> Impact
     Serif Accent: Instrument Serif Italic (max once per scene)
     Body & UI: Hanken Grotesk 400 & 500
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SELF-HOSTED FONTS (@font-face)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 62% 75%;
  font-display: swap;
  src: url('../fonts/archivo-800-condensed.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-500.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
  --c-ink: #0E0E0E;
  --c-red: #E10600;
  --c-paper: #F4F1EA;
  --c-white: #FFFFFF;
  --c-muted: #8E8B85;
  --c-border-ink: rgba(14, 14, 14, 0.12);
  --c-border-light: rgba(244, 241, 234, 0.15);

  --font-display: 'Archivo', 'Anton', Impact, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-primary: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

/* Dark mode preference for light sections */
@media (prefers-color-scheme: dark) {
  .bg-light {
    background-color: #121212 !important;
    color: #F4F1EA !important;
  }
  .bg-light .tag-label,
  .bg-light .about-heading,
  .bg-light .statement-text,
  .bg-light .team-heading,
  .bg-light .contact-heading,
  .bg-light .testimonials-heading,
  .bg-light .founder-name {
    color: #FFFFFF !important;
  }
  .bg-light .tag-label {
    color: #E5E5E5 !important;
  }
  .bg-light .about-p,
  .bg-light .about-principles-list li,
  .bg-light .founder-line,
  .bg-light .contact-sub,
  .bg-light .quote-text {
    color: #D4D4D8 !important;
  }
  .bg-light .form-input {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }
  .bg-light .form-label {
    color: #D4D4D8 !important;
  }
  .bg-light .contact-toggle {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .bg-light .ctoggle-btn {
    color: #A1A1AA !important;
  }
  .bg-light .ctoggle-btn.ctoggle-active {
    background-color: #FFFFFF !important;
    color: #0E0E0E !important;
  }
  .quote-card {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
  }
  .quote-card .quote-text {
    color: #F4F1EA !important;
  }
  .quote-card .quote-author {
    color: #A1A1AA !important;
  }
}

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

html {
  font-family: var(--font-body);
  background-color: var(--c-ink);
  color: var(--c-paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Lenis smooth scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  min-height: 100vh;
  background-color: var(--c-ink);
  color: var(--c-paper);
  position: relative;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   3. BUG RULES COMPLIANCE (Rule 1 & 4)
   All content visible by default. Never opacity: 0 in plain CSS.
   -------------------------------------------------------------------------- */
html.js:not(.reduced-motion) .reveal-up {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.8s var(--ease-primary), transform 0.8s var(--ease-primary);
}
html.js:not(.reduced-motion) .reveal-up.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-line-wrap {
  display: block;
  overflow: hidden;
}
.hero-line {
  display: block;
  transform: translate3d(0, 0, 0);
}
html.js:not(.reduced-motion) .hero-line {
  transform: translate3d(0, 105%, 0);
}
.hero-line-red {
  color: var(--c-red);
}

/* Section tags red line animation */
.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}
.tag-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--c-red);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.6s var(--ease-primary);
}
html.js:not(.reduced-motion) .tag-label:not(.is-inview)::before {
  transform: scaleX(0);
}
html.js:not(.reduced-motion) .tag-label.is-inview::before {
  transform: scaleX(1);
}
.tag-label.on-dark {
  color: #FFFFFF !important;
}
.tag-label.on-red {
  color: var(--c-white);
}
.tag-label.on-red::before {
  background-color: var(--c-white);
}

/* Editorial Serif Accent (max once per scene) */
.editorial-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
.bg-ink {
  background-color: var(--c-ink) !important;
  color: var(--c-paper) !important;
}
.bg-light {
  background-color: var(--c-ink) !important;
  color: var(--c-paper) !important;
}
.bg-red {
  background-color: var(--c-red) !important;
  color: var(--c-white) !important;
}

/* Buttons with dark fill sliding up on hover */
.btn-red, .bb-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--c-red);
  color: var(--c-white);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--c-red);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease-primary), color 0.25s ease;
  z-index: 1;
}
.btn-red::before, .bb-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--c-ink);
  transform: translate3d(0, 100%, 0);
  transition: transform 0.3s var(--ease-primary);
  z-index: -1;
}
.btn-red:hover, .bb-cta:hover {
  transform: translate3d(0, -3px, 0);
  color: var(--c-white);
}
.btn-red:hover::before, .bb-cta:hover::before {
  transform: translate3d(0, 0, 0);
}
.bb-cta.bb-cta-ink {
  background-color: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}
.bb-cta.bb-cta-ink::before {
  background-color: var(--c-red);
}

/* --------------------------------------------------------------------------
   4. SCENE 0: PRELOADER (Logo + 0-100 counter + red line + red wipe)
   -------------------------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--c-red);
  z-index: 1000;
  pointer-events: none;
  transition: width 0.05s linear;
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--c-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.2s ease, width 0.25s var(--ease-primary), height 0.25s var(--ease-primary), background-color 0.25s ease, border 0.25s ease;
}
body:hover #cursor-dot {
  opacity: 1;
}
#cursor-dot.cursor-media-ring {
  width: 36px;
  height: 36px;
  background-color: rgba(225, 6, 0, 0.15);
  border: 1.5px solid var(--c-red);
}
@media (pointer: coarse), (max-width: 900px) {
  #cursor-dot { display: none !important; }
}

#preloader {
  position: fixed;
  inset: 0;
  background-color: var(--c-ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease;
}
#preloader.wiping .pre-wipe {
  transform: translate3d(0, -100%, 0);
}
#preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.pre-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pre-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.pre-wordmark {
  font-family: var(--font-display);
  font-size: 2.75rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
  line-height: 1;
}
.pre-dot { color: var(--c-red); }
.pre-progress-box {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pre-progress-line {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
}
.pre-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--c-red);
  transition: width 0.1s linear;
}
.pre-counter {
  font-size: 0.75rem;
  color: var(--c-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pre-wipe {
  position: absolute;
  inset: 0;
  background-color: var(--c-red);
  transform: translate3d(0, 100%, 0);
  transition: transform 0.6s var(--ease-primary);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   5. NAVBAR & MOBILE BAR
   -------------------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  transition: transform 0.4s var(--ease-primary);
}
#site-header.nav-hidden {
  transform: translate3d(0, -100%, 0);
}
.site-nav {
  padding: 18px 0;
  background-color: var(--c-ink); /* solid background, no blur */
  border-bottom: 1px solid var(--c-border-light);
  transition: padding 0.3s ease;
}
.site-nav.nav-scrolled {
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--c-paper);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--c-red);
  transition: width 0.25s var(--ease-primary);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background-color: transparent;
  color: var(--c-white);
  border: 1.5px solid var(--c-red);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav-cta:hover {
  background-color: var(--c-red);
  color: var(--c-white);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--c-white);
}

/* Mobile Fullscreen Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--c-ink);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 2rem;
  cursor: pointer;
}
.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: var(--c-paper);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-links a:hover {
  color: var(--c-red);
  transform: translate3d(8px, 0, 0);
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--c-ink);
  border-top: 1px solid var(--c-border-light);
  z-index: 490;
  padding: 10px 16px;
  gap: 12px;
  transition: transform 0.3s ease;
}
.mobile-bottom-bar.is-hidden {
  transform: translate3d(0, 100%, 0);
}
.mob-bar-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
}
.mob-bar-call {
  background-color: #222;
  color: var(--c-white);
  border: 1px solid #444;
}
.mob-bar-wa {
  background-color: #25D366;
  color: #000;
  font-weight: 800;
}
@media (max-width: 990px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-bottom-bar { display: flex; }
}

/* --------------------------------------------------------------------------
   6. SCENE 1 — HERO
   -------------------------------------------------------------------------- */
.scene-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background-color: var(--c-ink);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-grad-fallback {
  position: absolute;
  inset: 0;
  background: url('../videos/hero-poster.jpg') center/cover no-repeat,
              radial-gradient(circle at 75% 30%, #300200 0%, #0E0E0E 70%);
  z-index: 1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,14,14,0.85) 0%, rgba(14,14,14,0.45) 55%, rgba(14,14,14,0.15) 100%),
              linear-gradient(180deg, transparent 60%, var(--c-ink) 100%);
  z-index: 3;
}
.film-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#FFF 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.04; /* static tiny film-grain */
  z-index: 4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-top: 40px;
  padding-bottom: 60px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9.5vw, 9.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--c-white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero-subline {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--c-muted);
  max-width: 680px;
  line-height: 1.45;
  margin-bottom: 2rem;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-showreel-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-white);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.hero-showreel-btn:hover {
  border-color: var(--c-red);
  background-color: rgba(225, 6, 0, 0.15);
}
.play-icon-triangle {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--c-red);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 6;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cue-dot {
  width: 4px;
  height: 4px;
  background-color: var(--c-red);
  border-radius: 50%;
  animation: cueBob 1.8s infinite ease-in-out;
}
@keyframes cueBob {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.3; }
  50% { transform: translate3d(0, 8px, 0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. SCENE 2 & 17 — MARQUEES
   -------------------------------------------------------------------------- */
.scene-marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 32px;
  will-change: transform;
  animation: marqueeLeft 30s linear infinite;
}
.marquee-track-rev {
  animation: marqueeRight 35s linear infinite;
}
.scene-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.mq-item {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  text-transform: uppercase;
  color: var(--c-white);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 32px;
}
.mq-large { font-size: clamp(2rem, 4.5vw, 4rem); }
.mq-sep { font-size: 0.875rem; color: var(--c-red); }
@keyframes marqueeLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes marqueeRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* --------------------------------------------------------------------------
   8. SCENE 3 — SHOWREEL EXPAND (~220vh Pinned)
   -------------------------------------------------------------------------- */
.scene-showreel-expand {
  position: relative;
  background-color: var(--c-ink);
  color: var(--c-white);
}
.showreel-pin {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.showreel-expand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.showreel-side-text {
  flex: 0 0 45%;
  transition: opacity 0.3s ease;
}
.showreel-expand-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.showreel-expand-frame {
  position: relative;
  width: 48%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  will-change: clip-path, transform;
}
.showreel-expand-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.showreel-expand-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.showreel-play-sound-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--c-red);
  color: var(--c-white);
  border: none;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.showreel-play-sound-btn.is-visible {
  opacity: 1;
}

/* Lightbox Modal */
.showreel-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}
.showreel-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-video-wrap {
  width: min(90vw, 1100px);
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}
.lightbox-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. SCENE 4 — STATEMENT (Scrubbed word-by-word)
   -------------------------------------------------------------------------- */
.scene-statement {
  padding: clamp(80px, 12vh, 160px) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.statement-inner { max-width: 1100px; }
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.word-span {
  display: inline-block;
  opacity: 0.22;
  color: #FFFFFF;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.word-span.is-lit { opacity: 1; color: #FFFFFF; }
.word-span.word-red { color: var(--c-red) !important; opacity: 1; }

/* --------------------------------------------------------------------------
   10. SCENE 5 — ABOUT CEREOFY
   -------------------------------------------------------------------------- */
.scene-about {
  padding: clamp(80px, 12vh, 160px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(60px, 8vh, 100px);
  align-items: center;
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.about-p {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
  color: #D4D4D8;
  margin-bottom: 16px;
}
.about-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 48px;
}
.about-stat-item {
  display: flex;
  flex-direction: column;
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--c-red);
  line-height: 0.95;
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #A1A1AA;
}
.about-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-origin {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
}
.about-principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-principles-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: #D4D4D8;
}
.about-principles-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
@media (max-width: 900px) {
  .about-grid, .about-meta-row { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   11. SCENE 6 — HOW WE HELP (Pinned Billboards 640vh)
   -------------------------------------------------------------------------- */
.scene-services {
  position: relative;
  background-color: var(--c-ink);
  color: var(--c-white);
}
.services-pin {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 0 40px;
  overflow: hidden;
}
.city-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.city-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #090910 0%, #0E0E0E 100%);
}
.city-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140vw;
  height: 45vh;
  opacity: 0.35;
  will-change: transform;
}
.train-track {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 24px;
  z-index: 2;
}
.train-rail {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: rgba(225, 6, 0, 0.4);
}
.train-rail-top { top: 0; }
.train-rail-bottom { bottom: 0; }

.train {
  position: absolute;
  bottom: 2px;
  left: -800px;
  display: flex;
  gap: 8px;
  will-change: transform;
}
.train-car {
  background-color: var(--c-ink);
  border: 1px solid var(--c-red);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  position: relative;
}
.train-locomotive {
  background-color: #000;
  border-top-left-radius: 12px;
}
.train-locomotive span { color: var(--c-red); font-weight: 800; }

.services-header {
  position: relative;
  z-index: 5;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
}
.services-title-red { color: var(--c-red); }
.services-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-muted);
}
#svc-current { color: var(--c-red); font-size: 2rem; }
.svc-progress-track {
  width: 80px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  margin-left: 8px;
}
.svc-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 14.28%;
  background-color: var(--c-red);
  transition: width 0.3s ease;
}

.billboards-viewport {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 30px 0;
  overflow: visible;
}
.billboards-track {
  display: flex;
  gap: clamp(24px, 4vw, 60px);
  padding: 0 clamp(20px, 4vw, 48px);
  will-change: transform;
}
.billboard {
  flex: 0 0 clamp(320px, 75vw, 840px);
  min-height: 480px;
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px;
  border-top: 4px solid var(--c-red);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: scale(0.94);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease-primary), transform 0.4s var(--ease-primary);
}
.billboard.is-active-bb {
  opacity: 1;
  transform: scale(1);
}
.bb-ghost-num {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 22rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 1;
}
.bb-white .bb-ghost-num { color: rgba(14, 14, 14, 0.12); }
.bb-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bb-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-red);
  margin-bottom: 12px;
}
.bb-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 8px;
}
.bb-sub {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.bb-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
}
.bb-bullets li {
  position: relative;
  padding-left: 20px;
}
.bb-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}
.bb-lights-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  display: flex;
  justify-content: space-around;
  padding: 0 40px;
}
.bb-lights-strip span {
  width: 6px;
  height: 6px;
  background-color: var(--c-red);
  border-radius: 50%;
  animation: blinkSteps 1.6s steps(2) infinite;
}
@keyframes blinkSteps {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.bb-ink {
  background-color: #141414;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-white);
}
.bb-ink .bb-sub { color: var(--c-red); }
.bb-red {
  background-color: var(--c-red);
  color: var(--c-white);
}
.bb-red .bb-num { color: var(--c-white); }
.bb-red .bb-sub { color: rgba(255, 255, 255, 0.9); }
.bb-red .bb-bullets li::before { color: var(--c-white); }
.bb-white {
  background-color: var(--c-paper);
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   12. SCENE 7 — HOW WE WORK (Pinned Process ~300vh)
   -------------------------------------------------------------------------- */
.scene-process {
  position: relative;
  background-color: #111111;
  color: var(--c-white);
}
.process-pin {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.process-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
}
.process-progress-rail {
  position: relative;
  width: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  height: 100%;
}
.process-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background-color: var(--c-red);
  transition: height 0.3s ease;
}
.process-steps-container {
  position: relative;
  min-height: 400px;
}
.process-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.4s var(--ease-primary), transform 0.4s var(--ease-primary);
}
.process-card.is-active-step {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.process-step-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--c-red);
  line-height: 0.9;
  margin-bottom: 12px;
}
.process-step-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.25rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step-text {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: var(--c-muted);
  max-width: 650px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. SCENE 8 — PANORAMIC SCROLL (Pinned ~500vh)
   -------------------------------------------------------------------------- */
.scene-panorama {
  position: relative;
  background-color: var(--c-ink);
  overflow: clip;
}
.panorama-pin {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pano-timeline {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 10;
  width: min(80vw, 400px);
}
.pano-tl-track {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
}
.pano-tl-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate3d(-50%, -50%, 0);
  width: 10px;
  height: 10px;
  background-color: var(--c-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-red);
}

.panorama-strip {
  display: flex;
  align-items: center;
  gap: clamp(60px, 8vw, 140px);
  padding: 0 clamp(40px, 6vw, 100px);
  will-change: transform;
}
.pano-panel { flex-shrink: 0; }
.pano-logo-panel {
  width: min(85vw, 600px);
  text-align: center;
}
.pano-logo-svg {
  width: min(70vw, 260px);
  height: min(70vw, 260px);
  margin-bottom: 24px;
}
.pano-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.pano-support { font-size: 1.125rem; color: var(--c-muted); }

.pano-cards-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pano-cards-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.pano-card {
  perspective: 1000px;
  transform: scale(0.96);
  opacity: 0.85;
  transition: transform 0.3s var(--ease-primary), opacity 0.3s ease;
}
.pano-card.is-center-card {
  transform: scale(1.04);
  opacity: 1;
}
.pano-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-primary);
  transform-style: preserve-3d;
}
.pano-card:hover .pano-card-inner { transform: rotateY(180deg); }
.pano-card-front, .pano-card-back {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.pano-card-front {
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pano-card-back {
  background-color: var(--c-red);
  color: var(--c-white);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
}
.pano-creator-card { width: 260px; height: 360px; }
.creator-blur-fig {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(225, 6, 0, 0.25) 0%, rgba(14, 14, 14, 0.9) 70%);
}
.creator-cat-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 12px;
}

.pano-brand-card { width: 320px; height: 220px; }
.brand-logo-pill {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--c-white);
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 24px;
  border-radius: 999px;
  display: inline-block;
}

.revealing-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(225, 6, 0, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
}
.rs-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-red);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}
.rs-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-white);
}
.creator-card-shimmer, .work-card-shimmer {
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(225, 6, 0, 0.15) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: shimmerSweep 3s infinite linear;
  pointer-events: none;
}
@keyframes shimmerSweep {
  0% { transform: translate3d(-100%, 0, 0); }
  100% { transform: translate3d(100%, 0, 0); }
}
.pano-endcap { width: min(85vw, 480px); padding: 40px; }
.endcap-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   14. SCENE 9 — CREATOR REELS STRIP
   -------------------------------------------------------------------------- */
.scene-reels {
  padding: clamp(80px, 12vh, 140px) 0;
  background-color: var(--c-ink);
  overflow: hidden;
}
.reels-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 40px;
}
.reels-scroll-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.reels-scroll-row::-webkit-scrollbar { height: 4px; }
.reels-scroll-row::-webkit-scrollbar-thumb { background-color: var(--c-red); }
.reel-card {
  flex: 0 0 clamp(240px, 24vw, 300px);
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background-color: #161616;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-primary);
}
.reel-card:hover { transform: scale(1.03); }
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 14, 14, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.reel-creator-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--c-white);
}
.reel-niche-tag {
  font-size: 0.75rem;
  color: var(--c-red);
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   15. SCENE 10 — CREATOR CATEGORIES (Sticky Stack)
   -------------------------------------------------------------------------- */
.scene-categories {
  position: relative;
  background-color: var(--c-ink);
  padding: 40px 0 100px;
}
.cat-stack {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cat-card {
  position: sticky;
  top: calc(80px + var(--cat-offset, 0px));
  height: clamp(380px, 62vh, 520px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 48px);
}
.cat-video-wrap { position: absolute; inset: 0; z-index: 1; }
.cat-grad-bg { position: absolute; inset: 0; z-index: 1; }
.cat-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0.6;
}
.cat-overlay { position: absolute; inset: 0; z-index: 3; }
.cat-shine-sweep {
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: shine32 3.2s infinite linear;
  pointer-events: none;
  z-index: 4;
}
@keyframes shine32 {
  0% { transform: translate3d(-100%, 0, 0); }
  100% { transform: translate3d(100%, 0, 0); }
}
.cat-card-content { position: relative; z-index: 5; }
.cat-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.25rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   16. SCENE 11 — WORK (Flash Cards)
   -------------------------------------------------------------------------- */
.scene-work {
  padding: clamp(80px, 12vh, 160px) 0;
}
.work-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.05;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.work-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.work-card-wrap { perspective: 900px; }
.work-card-flip {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-primary);
  cursor: pointer;
}
@media (min-width: 901px) {
  .work-card-flip:hover {
    transform: perspective(900px) rotateY(-8deg) translate3d(0, -8px, 0);
  }
}
.work-card-face {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.work-card-front {
  background-color: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.work-card-label {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 0.9;
}
.work-card-back {
  background-color: var(--c-red);
  color: var(--c-white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  font-size: 1.125rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .work-cards-row { grid-template-columns: 1fr; }
  .work-card-flip { min-height: 380px; }
}

/* --------------------------------------------------------------------------
   17. SCENE 12 — BRAND WALL
   -------------------------------------------------------------------------- */
.scene-brand-wall {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.brand-wall-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 36px;
}
.brand-wall-tracks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.brand-marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}
.brand-track-left {
  animation: marqueeLeft 32s linear infinite;
}
.brand-track-right {
  animation: marqueeRight 36s linear infinite;
}
.brand-wall-tracks:hover .brand-marquee-track {
  animation-play-state: paused;
}
.brand-logo-pill {
  filter: grayscale(1);
  transition: filter 0.3s ease, border-color 0.3s ease;
}
.brand-logo-pill:hover {
  filter: grayscale(0);
  border-color: var(--c-red);
}

/* --------------------------------------------------------------------------
   18. SCENE 13 — CEREOFY PAY (~420vh Pinned)
   -------------------------------------------------------------------------- */
.scene-pay {
  position: relative;
  color: var(--c-white);
  overflow: hidden;
}
.pay-pin {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.pay-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.pay-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 40px;
}
.pay-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.pay-step {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.pay-step.is-active {
  opacity: 1;
  transform: translate3d(8px, 0, 0);
}
.pay-step-num { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.pay-step-label { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 600; }
.pay-more-btn {
  display: inline-flex;
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
}

.phone-mockup {
  width: min(100%, 340px);
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  background-color: #0E0E0E;
  border-radius: 34px;
  padding: 8px; /* white 8px frame */
  border: 8px solid #FFFFFF;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #161616;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 18px;
}
.phone-notch {
  width: 90px;
  height: 18px;
  background-color: #0E0E0E;
  border-radius: 12px;
  margin: 0 auto 18px;
}
.phone-header-bar { text-align: center; margin-bottom: 24px; }
.phone-app-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: var(--c-white);
}
.phone-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-status-wrap { position: relative; width: 100%; height: 100%; }
.phone-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translate3d(0, 8px, 0);
}
.phone-state.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.phone-state-icon { font-size: 3.5rem; line-height: 1; }
.phone-state-status {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}
.phone-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  color: var(--c-white);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: default;
}
.phone-btn-paid {
  background-color: #15803D;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-tick-icon {
  display: inline-block;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .pay-inner { grid-template-columns: 1fr; }
  .phone-mockup { max-width: 280px; }
}

/* --------------------------------------------------------------------------
   19. SCENE 14 — KIND WORDS (Testimonials Marquee)
   -------------------------------------------------------------------------- */
.scene-testimonials {
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonials-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 36px;
}
.testimonials-tracks {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.testimonial-track-row {
  display: inline-flex;
  gap: 32px;
}
.quote-card {
  width: min(85vw, 480px);
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  white-space: normal;
}
.quote-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #F4F1EA;
  margin-bottom: 20px;
}
.quote-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: #A1A1AA;
}
.quote-author span { color: var(--c-red); }

/* --------------------------------------------------------------------------
   20. SCENE 15 — TEAM / FOUNDERS
   -------------------------------------------------------------------------- */
.scene-team {
  padding: clamp(80px, 12vh, 160px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.team-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  text-transform: uppercase;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.founders-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.founder-card { display: flex; flex-direction: column; }
.founder-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #222;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  clip-path: inset(0 0 0 0 round 6px);
  transition: clip-path 0.8s var(--ease-primary);
}
.founder-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#2A2A2A,#141414);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 700;
}
.founder-role {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 6px;
}
.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 12px;
}
.founder-line { font-size: 1.0625rem; line-height: 1.55; color: #D4D4D8; }
@media (max-width: 768px) { .founders-row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   21. SCENE 16 — FAQ
   -------------------------------------------------------------------------- */
.scene-faq {
  padding: clamp(80px, 12vh, 160px) 0;
  background-color: var(--c-ink);
  color: var(--c-white);
}
.faq-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--c-white);
  margin-bottom: clamp(40px, 6vh, 80px);
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  text-transform: uppercase;
  color: var(--c-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-question-btn:hover { color: var(--c-red); }
.faq-icon-cross {
  font-size: 1.75rem;
  color: var(--c-red);
  transition: transform 0.3s var(--ease-primary);
}
.faq-item.is-open .faq-icon-cross { transform: rotate(45deg); }
.faq-answer-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-primary);
}
.faq-item.is-open .faq-answer-collapse { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  padding-bottom: 28px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 900px;
}

/* --------------------------------------------------------------------------
   22. SCENE 18 — CONTACT FORM
   -------------------------------------------------------------------------- */
.scene-contact {
  padding: clamp(80px, 12vh, 160px) 0;
  background-color: var(--c-ink);
  color: var(--c-paper);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
}
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.contact-sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: #D4D4D8;
  line-height: 1.6;
}
.contact-email-link, .contact-wa-link {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.contact-wa-link { color: #15803D; }

.contact-toggle {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px; /* sliding pill */
  padding: 4px;
  margin-bottom: 32px;
  position: relative;
}
.ctoggle-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A1A1AA;
  cursor: pointer;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ctoggle-btn:hover { color: #FFFFFF; }
.ctoggle-btn.ctoggle-active {
  background-color: #FFFFFF;
  color: #0E0E0E;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form[hidden] { display: none !important; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { position: relative; display: flex; flex-direction: column; }
.form-input {
  width: 100%;
  padding: 16px 14px;
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #FFFFFF;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus { border-color: var(--c-red); }
.input-draw-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--c-red);
  transition: width 0.3s var(--ease-primary);
}
.form-input:focus ~ .input-draw-line { width: 100%; }

.form-field-float { position: relative; }
.form-field-float .form-label {
  position: absolute;
  top: 16px;
  left: 14px;
  font-size: 0.9375rem;
  color: #A1A1AA;
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.form-field-float .form-input:focus ~ .form-label,
.form-field-float .form-input:not(:placeholder-shown) ~ .form-label {
  transform: translate3d(0, -28px, 0);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-red);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-char-count { font-size: 0.75rem; color: #888; text-align: right; margin-top: 4px; }
.form-err { font-size: 0.75rem; color: #DC2626; margin-top: 4px; display: none; }
.form-err:not(:empty) { display: block; }
.form-global-err { margin-top: 8px; }

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: #A1A1AA;
  cursor: pointer;
}
.form-consent-label input { margin-top: 3px; }

.hp-field { display: none !important; visibility: hidden; }
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--c-red);
  color: var(--c-white);
  padding: 18px 36px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease;
  margin-top: 8px;
}
.form-submit:hover { background-color: #BA0500; }
.submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-submit.is-submitting .submit-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Form Error Shake Animation */
.form-error-shake {
  animation: errShake 0.4s ease-in-out;
}
@keyframes errShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20%, 60% { transform: translate3d(-6px, 0, 0); }
  40%, 80% { transform: translate3d(6px, 0, 0); }
}

.form-success { text-align: center; padding: 40px 20px; }
.form-success[hidden] { display: none !important; }
.success-tick { width: 64px; height: 64px; margin-bottom: 20px; }
.tick-circle { animation: tickDraw 0.6s ease forwards; }
.tick-mark { animation: tickDraw 0.4s 0.5s ease forwards; }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   23. SCENE 19 — FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-giant-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: clamp(40px, 8vh, 80px);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 19vw, 20rem);
  line-height: 0.85;
  color: var(--c-red);
  letter-spacing: -0.02em;
  text-align: center;
  will-change: transform, opacity;
}
.footer-meta-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}
.footer-support { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: #FFFFFF; }
.footer-addr { color: #A1A1AA; margin-bottom: 8px; }
.footer-email { color: var(--c-red); text-decoration: none; font-weight: 600; }
.footer-links-col, .footer-social-col { display: flex; gap: 24px; }
.footer-link, .footer-social {
  color: #D4D4D8;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.footer-link:hover, .footer-social:hover { color: var(--c-red); }
.footer-bottom { padding-top: 24px; font-size: 0.75rem; color: #71717A; }

/* --------------------------------------------------------------------------
   24. REDUCED MOTION PREFERENCE
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track, .marquee-track-rev, .brand-marquee-track { animation: none !important; }
  .hero-line { transform: none !important; }
  .reveal-up { opacity: 1 !important; transform: none !important; }
  .billboards-viewport, .panorama-pin { overflow-x: auto !important; }
  .word-span { opacity: 1 !important; }
}


/* SMOOTH ACCELERATION RULES */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.scene-hero {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
video {
  transform: translateZ(0);
  backface-visibility: hidden;
}
