/* ===================================================================
   PREPARE — DEVILS-STYLE EDITORIAL ARCHITECTURE (PHASE 1)
   Reference: devils.inc/ru
   Zero AI aesthetics. Pure typography, disciplined spacing, and 3D depth.
   =================================================================== */

@font-face {
  font-family: 'CyGrotesk';
  src: url('../assets/CyGrotesk-GrandBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/manrope-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/manrope-regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/manrope-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/manrope-semibold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/manrope-extrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------
   TOKENS & RESET
   ------------------------------------------------------------------- */
:root {
  --bg: #0a0a0a;
  --text: #e3e8ec;
  --text-muted: #8d9399;
  --text-faint: rgba(227, 232, 236, 0.12);
  --accent: #FC3500;
  --border: #1a1a1a;
  --border-light: rgba(227, 232, 236, 0.15);

  --font-display: 'CyGrotesk', -apple-system, sans-serif;
  --font-mono: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --pad-x: clamp(24px, 4.2vw, 64px);
}

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

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--bg);
  color: var(--text);
  width: 100%;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

/* -------------------------------------------------------------------
   CUSTOM MINIMAL CURSOR (Devils.inc Benchmark)
   ------------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              opacity 0.2s ease;
  will-change: transform;
}

.custom-cursor.is-hover {
  width: 38px;
  height: 38px;
  background-color: var(--accent);
  mix-blend-mode: normal;
  opacity: 0.85;
}

@media (pointer: coarse), (max-width: 768px) {
  .custom-cursor {
    display: none !important;
  }
}

/* -------------------------------------------------------------------
   PERSISTENT WEBGL CANVAS (Layer 2)
   Zero canvas flash: hidden until ready
   ------------------------------------------------------------------- */
#experience {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.is-ready #experience {
  opacity: 1;
}

/* -------------------------------------------------------------------
   TYPOGRAPHY SYSTEM
   ------------------------------------------------------------------- */
.meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta--accent {
  color: var(--accent);
}

.body-text {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: #92979b;
  max-width: 520px;
}

.display-hero {
  font-family: var(--font-display);
  font-size: calc(clamp(34px, 8.8vw, 150px) * var(--hero-text-scale, 1));
  font-weight: 800;
  line-height: 0.90;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.display-section {
  font-family: var(--font-display);
  font-size: clamp(64px, 6.2vw, 118px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
}

.display-giant {
  font-family: var(--font-display);
  font-size: clamp(100px, 28vw, 360px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.text-accent {
  color: var(--accent);
}

/* Masked reveal container */
.reveal {
  overflow: hidden;
  display: block;
  position: relative;
  line-height: inherit;
}

.reveal-inner {
  display: inline-block;
  transform: translateY(112%);
  will-change: transform;
}

body.is-ready .reveal-inner {
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-ready .reveal-inner.revealed {
  transform: translateY(0);
}

/* ===================================================================
   INITIAL CSS SAFETY STATE (FOUC PREVENTION BEFORE JS/GSAP RUNS)
   Ensures animated entrance elements start in their hidden pre-animation
   state before the first visible paint, without waiting for scripts/fonts.
   Once GSAP initializes (.animations-ready), GSAP inline styles control opacity/visibility.
   =================================================================== */
html.js:not(.animations-ready) .hero-top-meta,
html.js:not(.animations-ready) .hero-bottom-frame {
  opacity: 0;
}

html.js:not(.animations-ready) .stages-intro-layer {
  opacity: 0;
  visibility: hidden;
}

html.js:not(.animations-ready) .stages-layout {
  opacity: 0;
  visibility: hidden;
}

html.js:not(.animations-ready) .stages-bottom-meta {
  opacity: 0;
}

html.js:not(.animations-ready) .planet-tag-el,
html.js:not(.animations-ready) .planet-line-el,
html.js:not(.animations-ready) .planet-accent-el,
html.js:not(.animations-ready) .planet-desc-el,
html.js:not(.animations-ready) .planet-telemetry-col,
html.js:not(.animations-ready) .planet-top-meta,
html.js:not(.animations-ready) .planet-bottom-meta {
  opacity: 0;
}

html.js:not(.animations-ready) .numbers-poster-statement,
html.js:not(.animations-ready) .numbers-poster-aside {
  opacity: 0;
}

html.js:not(.animations-ready) .digit-split--1,
html.js:not(.animations-ready) .digit-split--4,
html.js:not(.animations-ready) .days-heading,
html.js:not(.animations-ready) .days-desc {
  opacity: 0;
}

html.js:not(.animations-ready) .code-accent-statement-el,
html.js:not(.animations-ready) .code-line-el,
html.js:not(.animations-ready) .code-desc-el,
html.js:not(.animations-ready) .code-right-meta-col {
  opacity: 0;
}

html.js:not(.animations-ready) .service-slide {
  opacity: 0;
  visibility: hidden;
}

html.js:not(.animations-ready) .af-line-el,
html.js:not(.animations-ready) .antifraud-eyebrow-el,
html.js:not(.animations-ready) .risk-node-item,
html.js:not(.animations-ready) #risk-blocked-badge,
html.js:not(.animations-ready) #risk-travel-dot,
html.js:not(.animations-ready) .antifraud-top-bar,
html.js:not(.animations-ready) .antifraud-bottom-bar {
  opacity: 0;
}

html.js:not(.animations-ready) .d-intro-line-el,
html.js:not(.animations-ready) .dir-intro-eyebrow-el,
html.js:not(.animations-ready) .dir-intro-desc-el,
html.js:not(.animations-ready) .dir-intro-preview-item,
html.js:not(.animations-ready) .dir-intro-top-bar,
html.js:not(.animations-ready) .dir-intro-bottom-bar {
  opacity: 0;
}

html.js:not(.animations-ready) .direction-product-item {
  opacity: 0;
  visibility: hidden;
}

html.js:not(.animations-ready) .cta-line-el,
html.js:not(.animations-ready) .cta-desc-el,
html.js:not(.animations-ready) .cta-direct-links,
html.js:not(.animations-ready) .editorial-contact-form,
html.js:not(.animations-ready) .cta-top-bar,
html.js:not(.animations-ready) .cta-bottom-bar,
html.js:not(.animations-ready) .final-divider,
html.js:not(.animations-ready) .end-mascot {
  opacity: 0;
}



/* -------------------------------------------------------------------
   PRELOADER (Scene 00)
   ------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
  transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.preloader.is-exiting {
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
}

.preloader.is-hidden {
  display: none;
}

.preloader__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preloader__logo {
  display: inline-flex;
  align-items: center;
}

.preloader__center {
  margin: auto 0;
}

.preloader__counter {
  font-family: var(--font-display);
  font-size: clamp(72px, 16vw, 240px);
  font-weight: 800;
  line-height: 0.85;
  color: var(--text);
  letter-spacing: -0.04em;
}

.preloader__counter sup {
  font-size: 0.4em;
  color: var(--accent);
  margin-left: 4px;
}

.preloader__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.preloader__bar-rail {
  width: 140px;
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* -------------------------------------------------------------------
   MINIMAL NAVIGATION (Devils Benchmark)
   ------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: clamp(16px, 2.5vh, 24px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}

.header__logo {
  justify-self: start;
}

.header__center-meta {
  justify-self: center;
}

.header__actions {
  justify-self: end;
}

.header * {
  pointer-events: auto;
}

/* Signature Devils.inc top decor notch & line */
.header__decor-line {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 53, 0, 0.4) 20%, rgba(252, 53, 0, 0.8) 50%, rgba(252, 53, 0, 0.4) 80%, transparent);
}

.header__decor-cross {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

/* ===================================================================
   SVG LOGO & MULTI-ELEMENT KINETIC CHOREOGRAPHY (NO SHADOWS)
   =================================================================== */
.site-logo {
  height: clamp(17px, 2.2vh, 23px);
  width: auto;
  max-width: 215px;
  display: block;
  overflow: visible;
  color: #E2E8EE;
  shape-rendering: geometricPrecision;
  transition: color 0.25s ease;
  will-change: transform;
}

.site-logo--footer {
  height: clamp(28px, 4.2vw, 48px);
  max-width: 450px;
}

.site-logo--preloader {
  height: 20px;
  max-width: 190px;
}

/* Individual logo element baseline styling */
.site-logo__elem {
  transform: translate(0, 0);
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1),
              fill 0.22s ease,
              opacity 0.22s ease;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: auto;
}

.site-logo__elem--dot {
  transform-origin: 552.5px 52.5px;
  transition: transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1),
              fill 0.2s ease;
  fill: #FC3500;
}

/* Hover States on parent interactive links: strictly NO drop-shadow, clean vector contrast */
.header__logo:hover,
.footer-logo:hover,
.menu-modal .header__logo:hover {
  animation: logoGlitchTrigger 0.28s ease-out;
}

.header__logo:hover .site-logo,
.footer-logo:hover .site-logo,
.menu-modal .header__logo:hover .site-logo {
  color: #FFFFFF;
}

/* ===================================================================
   SEPARATE HOVER ANIMATION FOR EACH OF THE 10 INDIVIDUAL ELEMENTS
   =================================================================== */

/* 1. First P: ascends with swift mechanical snap */
.header__logo:hover .site-logo__elem--1,
.footer-logo:hover .site-logo__elem--1,
.menu-modal .header__logo:hover .site-logo__elem--1 {
  transform: translateY(-4px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.00s;
}

/* 2. First R: counter-balanced vertical lift */
.header__logo:hover .site-logo__elem--2,
.footer-logo:hover .site-logo__elem--2,
.menu-modal .header__logo:hover .site-logo__elem--2 {
  transform: translateY(-5.5px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.025s;
}

/* 3. First E (detached floating top bar): slides diagonally right & up */
.header__logo:hover .site-logo__elem--3,
.footer-logo:hover .site-logo__elem--3,
.menu-modal .header__logo:hover .site-logo__elem--3 {
  transform: translate(3.5px, -3px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.05s;
}

/* 4. First E (body): vertical step */
.header__logo:hover .site-logo__elem--4,
.footer-logo:hover .site-logo__elem--4,
.menu-modal .header__logo:hover .site-logo__elem--4 {
  transform: translateY(-4px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.075s;
}

/* 5. Second P: crest peak of the kinetic wave */
.header__logo:hover .site-logo__elem--5,
.footer-logo:hover .site-logo__elem--5,
.menu-modal .header__logo:hover .site-logo__elem--5 {
  transform: translateY(-6px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.10s;
}

/* 6. Letter A: sharp elevation */
.header__logo:hover .site-logo__elem--6,
.footer-logo:hover .site-logo__elem--6,
.menu-modal .header__logo:hover .site-logo__elem--6 {
  transform: translateY(-3.5px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.125s;
}

/* 7. Second R: secondary kinetic wave peak */
.header__logo:hover .site-logo__elem--7,
.footer-logo:hover .site-logo__elem--7,
.menu-modal .header__logo:hover .site-logo__elem--7 {
  transform: translateY(-5.5px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.15s;
}

/* 8. Second E (detached floating top bar): slides diagonally right & up */
.header__logo:hover .site-logo__elem--8,
.footer-logo:hover .site-logo__elem--8,
.menu-modal .header__logo:hover .site-logo__elem--8 {
  transform: translate(3.5px, -3px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.175s;
}

/* 9. Second E (body): vertical step */
.header__logo:hover .site-logo__elem--9,
.footer-logo:hover .site-logo__elem--9,
.menu-modal .header__logo:hover .site-logo__elem--9 {
  transform: translateY(-4px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.20s;
}

/* 10. Accent Dot: detaches, shifts forward/up and scales into bright cadmium red (ZERO SHADOW) */
.header__logo:hover .site-logo__elem--10,
.footer-logo:hover .site-logo__elem--10,
.menu-modal .header__logo:hover .site-logo__elem--10 {
  transform: translate(4.5px, -3.5px) scale(1.18);
  fill: #FC3500;
  transition: transform 0.46s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.2s ease;
  transition-delay: 0.225s;
}

/* Quick subtle cybernetic twitch on initial hover */
@keyframes logoGlitchTrigger {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 0.5px); }
  50% { transform: translate(1px, -0.5px); }
  75% { transform: translate(-0.5px, 0.5px); }
  100% { transform: translate(0, 0); }
}

.header__center-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .header__center-meta { display: none; }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

/* Language Switcher (RU / EN) */
.header__lang-switcher,
.menu-modal__lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 4px;
  min-height: 44px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: #7A7A7A;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: #FFFFFF;
}

.lang-btn.is-active {
  color: var(--accent);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
  font-size: 10px;
}

.menu-modal__header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border: none;
  background: transparent;
  transition: color 0.2s;
}

.menu-btn:hover {
  color: var(--accent);
}

.menu-btn__burger {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}

.menu-btn__burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
}

/* Full Viewport Menu Modal */
.menu-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(60px, 10vh, 100px) var(--pad-x) 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-modal__links {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.5vh, 24px);
  margin: auto 0;
}

.menu-modal__link {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
  transition: color 0.2s, transform 0.2s;
}

.menu-modal__link:hover {
  color: var(--accent);
  transform: translateX(12px);
}

.menu-modal__link-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
}

.menu-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* -------------------------------------------------------------------
   SCENE 01 / HERO (380vh track, sticky 100svh composition)
   True Depth Layer Architecture:
   LAYER 1 (z: 0): .hero-background (Pure black)
   LAYER 2 (z: 1): .hero-layer-back (The word "NEXT" behind Mascot)
   LAYER 3 (z: 2): .hero-mascot-layer (192-frame Canvas & Camera wrapper)
   LAYER 4 (z: 3): .hero-layer-front (Foreground Typography in front of Mascot)
   LAYER 5 (z: 4): .hero-ui-layer (Header / metadata / CTA)
   ------------------------------------------------------------------- */
.hero-track {
  position: relative;
  width: 100%;
  height: 220vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  height: 100vh;
  overflow: hidden;
  background: #000000;
  isolation: isolate;
}

/* LAYER 1 — Background (z-index: 0) */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000000;
  pointer-events: none;
}

/* Foreground typography layer */
.hero-layer-front {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
}

/* LAYER 2 — Mascot Canvas / 192-frame sequence (z-index: 1) */
.hero-mascot-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Camera wrapper for final push-in toward mascot head / visor */
.hero-mascot-camera {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 15%;
  will-change: transform;
}

.hero-mascot-canvas,
.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
  pointer-events: none;
  border: none;
  outline: none;
}

/* LAYER 3 — Large Hero Foreground Typography in front of Mascot (z-index: 2) */
.hero-layer-front {
  z-index: 2;
}

.hero-main-frame {
  position: relative;
  width: 100%;
  margin: auto 0;
}

.hero-layer-line1 {
  position: relative;
}

.hero-layer-line2,
.hero-layer-line3 {
  position: relative;
  margin-top: clamp(4px, 0.8vh, 16px);
}

/* LAYER 4 — Important Hero UI / Header / Small Copy / CTA (z-index: 3) */
.hero-ui-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  pointer-events: none;
}

.hero-ui-layer * {
  pointer-events: auto;
}

.hero-top-meta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.hero-top-meta > :nth-child(1) {
  justify-self: start;
}

.hero-top-meta > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.hero-top-meta > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.hero-bottom-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

@media (max-width: 900px) {
  .hero-bottom-frame {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hero-scroll-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* -------------------------------------------------------------------
   SCENE 02 / ВКЛЮЧАЕМСЯ (320vh track, sticky 100svh composition)
   Scroll changes state (01 -> 02 -> 03 -> 04). NO TABS. NO CARDS.
   ------------------------------------------------------------------- */
/* -------------------------------------------------------------------
   SCENE 02 / ВКЛЮЧАЕМСЯ — TECHNICAL ROADMAP SYSTEM (350vh track)
   Left: Manifesto Typography with Route Origin Connector
   Center/Right: 4-Stage Trajectory Path, Ghost Nodes & Active Stage
   Bottom: 4-Stage Functional Stepper
   ------------------------------------------------------------------- */
.stages-track {
  position: relative;
  width: 100%;
  height: 500vh;
  height: 500svh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.stages-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(65px, 8.5vh, 92px) var(--pad-x) clamp(20px, 3.2vh, 36px);
  overflow: hidden;
  z-index: 2;
  background: #000000;
  isolation: isolate;
}

/* Dedicated Centered Chapter Intro State (0–30% of track) */
.stages-intro-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 30;
  pointer-events: none;
  will-change: transform, opacity;
}

.stages-intro-eyebrow {
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

.stages-intro-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(82px, 8vw, 150px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

.stages-intro-line {
  display: block;
  white-space: nowrap;
}

.stages-top-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stages-top-meta > :nth-child(1) {
  justify-self: start;
}

.stages-top-meta > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.stages-top-meta > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.stages-layout {
  display: grid;
  grid-template-columns: minmax(320px, 46vw) 1fr;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  margin: auto 0;
  width: 100%;
  position: relative;
}

/* -------------------------------------------------------------------
   LEFT COLUMN: PROTECTED TYPOGRAPHY SAFE ZONE (0–48vw)
   ------------------------------------------------------------------- */
.stages-left-col {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
  min-height: 420px;
  justify-content: center;
}

.stages-left-eyebrow {
  margin-bottom: 18px;
}

/* Dynamic Active Stage Information Overlay */
.roadmap-active-stage-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 580px;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin: 0;
}

.roadmap-stage-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

/* -------------------------------------------------------------------
   RIGHT COLUMN: 4-STAGE TECHNICAL ROADMAP VISUALIZATION (44–100vw)
   ------------------------------------------------------------------- */
.stages-right-col {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle Architectural Stage Number */
.roadmap-bg-number {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 20vw, 300px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.025);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
}

/* Technical Roadmap Canvas Wrap & SVG */
.roadmap-canvas-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-svg {
  width: 100%;
  max-width: 760px;
  height: auto;
  overflow: visible;
  display: block;
}

.node-ghost-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  fill: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.12em;
  transition: fill 0.3s ease, opacity 0.3s ease;
}

.node-ring-pulse {
  opacity: 0;
  will-change: transform, opacity;
}

.roadmap-stage-item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.stage-item-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.stage-item-tag {
  color: #FC3500;
  font-weight: 700;
}

.stage-item-coord {
  color: rgba(227, 232, 236, 0.38);
  font-size: 10px;
}

.stage-item-title-wrap {
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.stage-item-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 850;
  line-height: 0.90;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #F1F2F3;
}

.stage-item-title .mask-line {
  display: block;
  overflow: hidden;
  position: relative;
}

.stage-item-title .mask-line-inner {
  display: inline-block;
  transform: translateY(0);
  will-change: transform;
}

.stage-item-desc {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: #92979b;
  max-width: 46ch;
  margin-bottom: 20px;
  will-change: transform, opacity;
}

.stage-item-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: #F1F2F3;
  background: rgba(8, 8, 8, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-pill.pill--accent {
  border-color: rgba(252, 53, 0, 0.5);
  color: #FC3500;
}

/* -------------------------------------------------------------------
   BOTTOM FUNCTIONAL STEPPER
   ------------------------------------------------------------------- */
.stages-bottom-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stages-stepper-track {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stepper-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #444444;
  transition: color 0.3s ease;
}

.stepper-step.is-active {
  color: #FC3500;
  font-weight: 800;
}

.stepper-step.is-visited {
  color: rgba(252, 53, 0, 0.6);
}

.stepper-line {
  width: 48px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stepper-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #FC3500;
  /* transition removed for deterministic GSAP scroll */
}

/* -------------------------------------------------------------------
   RESPONSIVE DESIGN FOR SCENE 02
   ------------------------------------------------------------------- */
@media (max-width: 900px) {
  .stages-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stages-right-col {
    min-height: 380px;
  }

  .roadmap-bg-number {
    font-size: 130px;
    right: 2%;
    top: 30%;
  }

  .roadmap-active-stage-container {
    margin-left: 0;
    max-width: 100%;
  }

  .stage-item-title {
    font-size: 32px;
  }

  .stages-stepper-track {
    gap: 8px;
  }

  .stepper-line {
    width: 28px;
  }
}

/* -------------------------------------------------------------------
   SCENE 03 / THE 3D PLANET (300vh track, sticky 100svh composition)
   Layer 1 (z: 1): Background Typography ("GLOBAL INFRASTRUCTURE")
   Layer 2 (z: 2): #experience canvas (Enormous Cropped 3D Planet)
   Layer 3 (z: 3): Foreground Pinned Metadata & Narrative
   ------------------------------------------------------------------- */
.planet-track {
  position: relative;
  width: 100%;
  height: 340vh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.planet-sticky-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}



/* Layer 2: 192-frame Planet Canvas */
.planet-sequence-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.planet-sequence-camera {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

#planet-sequence-canvas,
.planet-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 81% 53%;
  pointer-events: none;
  background: #000000;
}

@media (max-width: 900px) {
  #planet-sequence-canvas,
  .planet-video {
    object-position: 50% 68%;
  }
}

/* Layer 3: In Front of Planet */
.planet-fg-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  pointer-events: none;
}

.planet-fg-layer * {
  pointer-events: auto;
}

.planet-top-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.planet-top-meta > :nth-child(1) {
  justify-self: start;
}

.planet-top-meta > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.planet-top-meta > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.planet-center-composition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin: auto 0;
  width: 100%;
}

@media (max-width: 900px) {
  .planet-center-composition {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.planet-narrative-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: max-content;
  max-width: none;
  position: relative;
  z-index: 10;
}

.planet-tag-mask {
  overflow: visible;
  display: block;
}

.planet-tag-el {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  will-change: transform, opacity;
}

.planet-display-title {
  display: flex;
  flex-direction: column;
  gap: 0px;
  font-family: var(--font-display);
  font-size: clamp(64px, 6.2vw, 118px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #F1F2F3;
  width: max-content;
}

.planet-line-mask {
  display: block;
  width: max-content;
  max-width: none;
  overflow: visible;
  padding-bottom: 2px;
}

.planet-line-el {
  display: block;
  will-change: transform, opacity;
  white-space: nowrap;
  clip-path: inset(-15% -10% -15% -10%);
}

.planet-desc-wrap {
  overflow: visible;
  margin-top: 12px;
}

.planet-desc-el {
  will-change: transform, opacity;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: #b0b6bc;
  max-width: 480px;
}

.planet-bottom-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* -------------------------------------------------------------------
   SCENE 04 / FIRST NUMBER (0% REVENUE SHARE - OVERLAPPING ENTRY)
   ------------------------------------------------------------------- */
.numbers-track {
  position: relative;
  width: 100%;
  height: 240vh;
  z-index: 2;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
}

.numbers-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad-x);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.numbers-poster-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5.5vw, 96px);
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: auto;
}

@media (max-width: 900px) {
  .numbers-poster-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.numbers-poster-statement {
  display: flex;
  flex-direction: column;
}

.numbers-poster-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FC3500;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 2.5vw, 32px);
}

.numbers-poster-headline {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin: 0;
}

.numbers-poster-hero {
  font-family: var(--font-display);
  font-size: clamp(150px, 15vw, 290px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  display: block;
  line-height: 0.82;
}

.numbers-poster-accent {
  font-family: var(--font-display);
  font-size: clamp(72px, 7vw, 132px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #FC3500;
  display: block;
  line-height: 0.88;
  white-space: nowrap;
  margin-top: clamp(8px, 1.2vw, 20px);
}

.numbers-poster-secondary {
  font-family: var(--font-display);
  font-size: clamp(38px, 3.2vw, 62px);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #F1F1F1;
  margin-top: clamp(40px, 3.8vw, 56px);
  text-transform: uppercase;
  line-height: 0.95;
}

.numbers-poster-aside {
  display: flex;
  flex-direction: column;
  padding-left: clamp(28px, 4.5vw, 64px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  justify-content: center;
}

@media (max-width: 900px) {
  .numbers-poster-aside {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 28px;
  }
}

.numbers-compare-wrap {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2.5vw, 36px);
  margin-bottom: clamp(20px, 3vh, 32px);
}

.numbers-compare-item {
  display: flex;
  flex-direction: column;
}

.numbers-compare-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.numbers-compare-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #F1F1F1;
}

.numbers-compare-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

.numbers-compare-vs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  align-self: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.numbers-poster-caption {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: #b0b6bc;
  margin: 0;
  max-width: 36ch;
}

/* -------------------------------------------------------------------
   SCENE 05 / 14 DAYS (180vh track, sticky 100svh composition)
   14 is the dominant graphic object occupying 40-60% of viewport
   ------------------------------------------------------------------- */
.days-track {
  position: relative;
  width: 100%;
  height: 240vh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.days-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.days-top-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.days-top-meta > :nth-child(1) {
  justify-self: start;
}

.days-top-meta > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.days-top-meta > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.days-center-composition {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.days-split-figure {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(4px, 1.2vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(140px, 32vw, 440px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--text);
  will-change: transform, opacity;
  user-select: none;
}

.digit-split {
  display: inline-block;
  will-change: transform;
}

.days-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 8px;
}

.days-desc {
  max-width: 54ch;
  margin: 16px auto 0;
  text-align: center;
}

.days-bottom-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* -------------------------------------------------------------------
   SCENE 06 / SOURCE CODE (200vh track, sticky 100svh composition)
   Depth:
   Layer 1 (z: 1): .code-layer-bg ("ИСХОДНЫЙ")
   Layer 2 (z: 2): #experience canvas (Mascot)
   Layer 3 (z: 3): .code-layer-fg ("КОД", metadata)
   ------------------------------------------------------------------- */
.code-track {
  position: relative;
  width: 100%;
  height: 240vh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.code-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.code-top-meta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.code-top-meta > :nth-child(1) {
  justify-self: start;
}

.code-top-meta > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.code-top-meta > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

/* Layer 2: Full-Bleed Source Code Cinematic Video Background */
.code-sequence-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.code-sequence-camera {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

#code-sequence-canvas,
.code-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  background: #000000;
}

@media (max-width: 900px) {
  .code-sequence-container {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  #code-sequence-canvas,
  .code-video {
    object-position: center bottom;
  }
}

.code-content-layout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  pointer-events: none;
}

.code-content-layout * {
  pointer-events: auto;
}

.code-narrative-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: max-content;
  max-width: none;
  position: relative;
  z-index: 10;
}

.code-headline {
  display: flex;
  flex-direction: column;
  gap: 0px;
  font-family: var(--font-display);
  font-size: clamp(64px, 6.2vw, 118px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #F1F2F3;
  width: max-content;
}

.code-line-mask {
  display: block;
  width: max-content;
  max-width: none;
  overflow: visible;
  padding-bottom: 4px;
}

.code-line-el {
  display: block;
  will-change: transform, opacity;
  white-space: nowrap;
  clip-path: inset(-15% -10% -15% -10%);
}

.code-accent-el {
  color: #FC3500;
}

.code-accent-statement-mask {
  overflow: visible;
  display: block;
  margin-top: 6px;
}

.code-accent-statement-el {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FC3500;
  will-change: transform, opacity;
}

.code-desc-wrap {
  overflow: visible;
  margin-top: 4px;
}

.code-desc-el {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: #92979b;
  max-width: 480px;
  will-change: transform, opacity;
}

.code-right-meta-col {
  align-self: flex-end;
  text-align: right;
  max-width: 280px;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .code-content-layout {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
  }
  .code-right-meta-col {
    align-self: flex-start;
    text-align: left;
  }
}

/* -------------------------------------------------------------------
   SCENE 08 / ALL 7 SERVICES — ORBITAL CINEMATIC SCENE (800vh track)
   One huge dark orbital radar / architectural funnel + 7 service stages
   Brutalist editorial layout with vertical mask reveals
   ------------------------------------------------------------------- */
/* -------------------------------------------------------------------
   SCENE 07 / SERVICES SHOWCASE (FULL 7-PRODUCT SUITE MIGRATION)
   ------------------------------------------------------------------- */
.services-showcase-section {
  position: relative;
  width: 100%;
  background: #000000;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(60px, 8vh, 100px) var(--pad-x);
  isolation: isolate;
  z-index: 2;
}

.services-top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: clamp(32px, 4vh, 48px);
}

.services-top-meta-left {
  justify-self: start;
}

.services-top-meta-center {
  justify-self: center;
  text-align: center;
}

.services-top-meta-right {
  justify-self: end;
  text-align: right;
}

.services-heading-wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 4vh, 40px);
}

.services-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 10px 0 0;
}

.services-intro {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.65;
  color: #8d9399;
  max-width: 44ch;
  margin: 0;
}

/* Category Navigation Bar */
.service-index-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  margin-bottom: clamp(20px, 3vh, 32px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  -webkit-overflow-scrolling: touch;
}

.service-index-nav::-webkit-scrollbar {
  height: 4px;
}

.service-index-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.service-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  color: #8d9399;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-nav-tab .tab-num {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.service-nav-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.service-nav-tab:hover .tab-num {
  color: #FC3500;
}

.service-nav-tab.is-active,
.service-nav-tab[aria-current="true"] {
  background: #FC3500;
  border-color: #FC3500;
  color: #ffffff;
  font-weight: 800;
}

.service-nav-tab.is-active .tab-num,
.service-nav-tab[aria-current="true"] .tab-num {
  color: #ffffff;
}

/* Service Track & Scenes */
.service-track {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #080808;
  overflow: hidden;
}

.service-scene {
  display: none;
  width: 100%;
  min-height: 640px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.service-scene.is-active {
  display: grid;
  animation: serviceSceneIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes serviceSceneIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Column: Copy */
.service-scene-copy {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.service-scene-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: #FC3500;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.service-scene-kicker b {
  font-size: 11px;
  color: #8d9399;
  font-weight: 400;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.service-scene h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 540px;
}

.service-scene-lead {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.7;
  color: #b4b9be;
  margin-bottom: 24px;
  max-width: 50ch;
}

.service-scene-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-scene-details > div {
  padding-left: 14px;
  border-left: 2px solid rgba(252, 53, 0, 0.5);
}

.service-scene-details dt {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-scene-details dd {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #8d9399;
  margin: 0;
}

.service-scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}

.service-scene-tags > span {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #8d9399;
  background: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-demo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
}

.service-demo-row > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8d9399;
  text-transform: uppercase;
  font-weight: 700;
}

.service-demo-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  min-width: 110px;
  border: 1px solid #FC3500;
  border-radius: 0;
  background: #FC3500;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252, 53, 0, 0.4);
  filter: brightness(1.1);
}

.service-demo-outline {
  background: transparent;
  color: #FC3500;
  border-color: #FC3500;
}

.service-demo-outline:hover {
  background: rgba(252, 53, 0, 0.12);
  color: #FC3500;
}

/* Right Column: Visual Stage */
.service-scene-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: clamp(24px, 3.5vw, 48px);
  background: #040404;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  min-width: 0;
}

.service-art-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 440px;
}

.service-art {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
  animation: serviceArtFloat 6s ease-in-out infinite;
}

@keyframes serviceArtFloat {
  0%, 100% {
    transform: translateY(0) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

.service-visual-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: #8d9399;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.service-visual-footer span:last-child {
  color: #FC3500;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* 02: Providers Wall */
.integration-visual {
  width: 100%;
  max-width: 480px;
  margin: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0d0d0d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.integration-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8d9399;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-bottom: 16px;
}

.provider-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.provider-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.provider-tile:hover {
  border-color: rgba(252, 53, 0, 0.4);
  background: rgba(252, 53, 0, 0.04);
}

.provider-tile img {
  width: 100%;
  max-height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.integration-bus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0;
  color: #8d9399;
  font-family: var(--font-mono);
  font-size: 11px;
}

.integration-bus i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FC3500;
  box-shadow: 0 0 10px #FC3500;
  flex-shrink: 0;
}

.integration-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(252, 53, 0, 0.4);
  border-radius: 8px;
  background: rgba(252, 53, 0, 0.06);
  overflow: hidden;
}

.integration-hub b {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.integration-hub span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #FC3500;
  font-weight: 700;
}

/* 05: Prediction Market Visual */
.market-visual {
  width: 100%;
  max-width: 480px;
  margin: auto;
  position: relative;
}

.market-window {
  padding: 24px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.market-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8d9399;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.market-demo {
  color: #FC3500;
  font-weight: 700;
}

.market-topics {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.market-topics span {
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8d9399;
}

.market-topics span:first-child {
  border-color: rgba(252, 53, 0, 0.4);
  color: #FC3500;
  background: rgba(252, 53, 0, 0.08);
}

.market-question {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.market-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.market-result strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: #FC3500;
}

.market-result strong span {
  font-size: 24px;
}

.market-result span {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: #8d9399;
}

.market-chart {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.market-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.market-outcomes span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.market-outcomes span:first-child {
  border: 1px solid rgba(252, 53, 0, 0.4);
  background: rgba(252, 53, 0, 0.1);
  color: #FC3500;
}

.market-outcomes span:last-child {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #8d9399;
}

.market-bottom {
  display: flex;
  gap: 16px;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #666666;
  margin-top: 14px;
}

.market-floating-label {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #FC3500;
}

/* 06: Traffic Growth Visual */
.growth-visual {
  width: 100%;
  max-width: 480px;
  margin: auto;
}

.growth-map {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.growth-map-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8d9399;
  margin-bottom: 18px;
}

.growth-source-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.growth-source-row span {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  padding: 10px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
}

.growth-connectors {
  display: flex;
  height: 32px;
  justify-content: space-around;
}

.growth-connectors i {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(252, 53, 0, 0.1), rgba(252, 53, 0, 0.8));
}

.growth-product {
  text-align: center;
  border: 1px solid rgba(252, 53, 0, 0.35);
  border-radius: 10px;
  background: rgba(252, 53, 0, 0.05);
  padding: 18px 12px;
}

.growth-product span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FC3500;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.growth-product strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 8px 0;
}

.growth-product-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
}

.growth-cycle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
}

.growth-cycle i {
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.growth-map-footer {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8d9399;
}

/* 07: Payment Network Visual */
.payment-network {
  width: 100%;
  max-width: 480px;
  margin: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0d0d0d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.payment-network-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.payment-market {
  text-align: center;
  margin-bottom: 14px;
}

.payment-market strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0;
}

.payment-market p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8d9399;
}

.payment-geos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0;
}

.payment-geos span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #b4b9be;
}

.payment-link {
  height: 20px;
  width: 1px;
  margin: auto;
  background: rgba(252, 53, 0, 0.4);
}

.payment-hub {
  text-align: center;
  padding: 12px;
  background: rgba(252, 53, 0, 0.06);
  border: 1px solid rgba(252, 53, 0, 0.35);
  border-radius: 8px;
  margin: 8px 0;
}

.payment-hub strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.payment-hub span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FC3500;
  font-weight: 600;
}

.payment-routes {
  width: 100%;
  height: 36px;
  stroke: rgba(252, 53, 0, 0.45);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.payment-methods div {
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  text-align: center;
}

.payment-methods span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #FC3500;
  font-weight: 700;
  margin-bottom: 4px;
}

.payment-methods strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.payment-operations {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
  margin-top: 14px;
}

.payment-operations i {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

/* Bottom Pagination & Scrollbar */
.service-scrollbar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 16px;
}

.service-progress {
  height: 2px;
  position: relative;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  max-width: 600px;
}

.service-progress-bar {
  display: block;
  width: calc(100% / var(--service-count, 7));
  height: 100%;
  background: #FC3500;
  transform: translateX(0%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.service-current {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #8d9399;
  margin-right: 14px;
  white-space: nowrap;
}

.service-pagination button {
  padding: 8px 18px;
  min-height: 40px;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-pagination button:hover:not(:disabled) {
  background: #FC3500;
  border-color: #FC3500;
  color: #ffffff;
}

.service-pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Service Preview Dialog Modal (Sportsbook & CS2) */
.service-preview-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: #0b0f14;
  color: #ffffff;
  padding: 24px;
  max-width: min(1560px, calc(100vw - 32px));
  max-height: min(94vh, 940px);
  width: 100%;
  height: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  z-index: 99999;
  overflow: auto;
  color-scheme: dark;
}

.service-preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.service-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-preview-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #FC3500;
  margin-bottom: 4px;
}

.service-preview-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

.service-preview-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-preview-close:hover {
  background: #FC3500;
  border-color: #FC3500;
  color: #000000;
}

#service-preview-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
  margin: 0 0 16px;
}

/* CS2 Case Opening Modal Screen */
.product-preview {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #07090c;
  color: #ffffff;
}

.product-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1117;
}

.product-preview-bar strong {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.product-preview-bar strong span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FC3500;
  margin-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 8px;
}

.product-preview-demo {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
  letter-spacing: 0.08em;
}

.product-preview-content {
  padding: 24px 20px;
}

.product-preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.product-preview-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FC3500;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}

.product-preview-heading h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.product-preview-label {
  font-family: var(--font-mono);
  font-size: 12px;
  border-left: 2px solid #FC3500;
  padding-left: 14px;
  color: #8d9399;
}

.preview-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.preview-categories span {
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8d9399;
  white-space: nowrap;
}

.preview-categories span.is-selected {
  border-color: #FC3500;
  color: #FC3500;
  background: rgba(252, 53, 0, 0.08);
}

.preview-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.preview-case {
  background: #111419;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

.preview-case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--case-accent, #FC3500);
}

.preview-case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
  margin-bottom: 12px;
}

.preview-case-top b {
  font-size: 11px;
  color: var(--case-accent, #FC3500);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
}

.preview-case h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.preview-case p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8d9399;
  margin: 0;
}

.preview-case-meter {
  display: flex;
  gap: 4px;
  margin: 18px 0;
}

.preview-case-meter i {
  height: 3px;
  background: var(--case-accent, #FC3500);
  border-radius: 2px;
  flex: 1;
}

.preview-case-meter i:nth-child(2) { opacity: 0.8; }
.preview-case-meter i:nth-child(3) { opacity: 0.6; }
.preview-case-meter i:nth-child(4) { opacity: 0.4; }
.preview-case-meter i:nth-child(5) { opacity: 0.2; }

.preview-case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
}

.preview-case-footer strong {
  font-size: 18px;
  color: var(--case-accent, #FC3500);
  font-weight: 800;
}

.product-preview-footer {
  display: flex;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8d9399;
}

/* Responsive Breakpoints for Services */
@media (max-width: 1024px) {
  .service-scene {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .service-scene-visual {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 380px;
    padding: 32px 24px;
  }
  .service-art-wrap {
    min-height: 320px;
  }
  .service-art {
    max-height: 340px;
  }
  .services-heading-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .services-showcase-section {
    padding: 48px var(--pad-x);
  }
  .service-scene-copy {
    padding: 28px 20px;
  }
  .service-scene-visual {
    padding: 20px;
    min-height: 300px;
  }
  .service-scene-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-demo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .service-demo-buttons {
    width: 100%;
  }
  .service-demo {
    flex: 1;
    min-width: 0;
  }
  .preview-case-grid {
    grid-template-columns: 1fr;
  }
  .service-scrollbar {
    flex-wrap: wrap;
    gap: 14px;
  }
  .service-progress {
    order: 1;
    width: 100%;
    max-width: 100%;
  }
  .service-pagination {
    order: 2;
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .services-headline {
    font-size: 32px;
  }
  .service-scene h3 {
    font-size: 28px;
  }
  .service-nav-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .service-preview-dialog {
    padding: 16px;
  }
}

/* -------------------------------------------------------------------
   SCENE 08 / ANTI-FRAUD — REAL-TIME RISK DETECTION (240vh track)
   ------------------------------------------------------------------- */
.antifraud-track {
  position: relative;
  width: 100%;
  height: 240vh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.antifraud-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 95px) var(--pad-x) clamp(24px, 4vh, 40px);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.antifraud-top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.antifraud-top-bar > :nth-child(1) { justify-self: start; }
.antifraud-top-bar > :nth-child(2) { justify-self: center; text-align: center; }
.antifraud-top-bar > :nth-child(3) { justify-self: end; text-align: right; }

.antifraud-stage-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5.5vw, 84px);
  align-items: center;
  margin: auto 0;
  width: 100%;
  max-width: 1360px;
}

@media (max-width: 960px) {
  .antifraud-stage-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.antifraud-narrative-col {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  max-width: 52vw;
}

@media (max-width: 960px) {
  .antifraud-narrative-col {
    max-width: 100%;
  }
}

.antifraud-eyebrow-wrap {
  margin-bottom: clamp(16px, 2.2vh, 26px);
}

.antifraud-main-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.2vw, 86px);
  font-weight: 850;
  line-height: 0.90;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #F1F1F1;
  margin: 0;
}

.af-line-mask {
  display: block;
  overflow: hidden;
}

.af-line-el {
  display: block;
  will-change: transform, opacity;
}

.antifraud-visual-col {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
}

.risk-detection-system {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.risk-circuit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.risk-nodes-list {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.8vh, 42px);
  width: 100%;
  position: relative;
  z-index: 5;
  padding-left: 0;
}

.risk-node-item {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}

.risk-node-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #181818;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  margin-left: 11.5px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.risk-node-item.is-detected .risk-node-dot {
  background: #FC3500;
  border-color: #FC3500;
  box-shadow: 0 0 10px #FC3500;
}

.risk-node-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #FC3500;
  padding: 4px 8px;
  background: rgba(252, 53, 0, 0.12);
  border: 1px solid rgba(252, 53, 0, 0.4);
  border-radius: 2px;
  letter-spacing: 0.08em;
}

.risk-node-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #F1F1F1;
  margin: 0;
}

.risk-blocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(252, 53, 0, 0.16);
  border: 1.5px solid #FC3500;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FC3500;
  opacity: 0;
  transform: scale(0.9);
  align-self: flex-start;
  margin-left: 32px;
  box-shadow: 0 0 25px rgba(252, 53, 0, 0.35);
  will-change: transform, opacity;
}

.blocked-icon {
  font-size: 14px;
}

.antifraud-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* -------------------------------------------------------------------
   SECTION 06 / PRODUCT DIRECTIONS INTRO (180vh track, editorial pause)
   ------------------------------------------------------------------- */
.dir-intro-track {
  position: relative;
  width: 100%;
  height: 210vh;
  height: 210svh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.dir-intro-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.dir-intro-top-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.dir-intro-top-bar > :nth-child(1) { justify-self: start; }
.dir-intro-top-bar > :nth-child(2) { justify-self: center; text-align: center; }
.dir-intro-top-bar > :nth-child(3) { justify-self: end; text-align: right; }

.dir-intro-stage-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  margin: auto 0;
  width: 100%;
  max-width: 1380px;
}

@media (max-width: 960px) {
  .dir-intro-stage-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.dir-intro-narrative-col {
  display: flex;
  flex-direction: column;
}

.dir-intro-eyebrow-wrap {
  margin-bottom: clamp(14px, 2vh, 22px);
}

.dir-intro-main-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 108px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #F1F1F1;
  margin: 0;
}

.d-intro-line-mask {
  display: block;
  overflow: hidden;
}

.d-intro-line-el {
  display: block;
  will-change: transform, opacity;
}

.dir-intro-desc-wrap {
  margin-top: clamp(18px, 2.8vh, 32px);
}

.dir-intro-desc-el {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: #8D8D8D;
  max-width: 480px;
}

.dir-intro-preview-col {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .dir-intro-preview-col {
    justify-content: flex-start;
  }
}

.dir-intro-preview-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.dir-intro-preview-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid #FC3500;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.dir-intro-preview-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #FC3500;
  letter-spacing: 0.08em;
}

.dir-intro-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dir-intro-preview-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 850;
  color: #F1F1F1;
  letter-spacing: -0.02em;
}

.dir-intro-preview-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #787878;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dir-intro-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* -------------------------------------------------------------------
   SECTION 07 / PRODUCT DIRECTIONS DETAILS (420vh track, 3 distinct products)
   ------------------------------------------------------------------- */
.directions-track {
  position: relative;
  width: 100%;
  height: 420vh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.directions-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.directions-top-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.directions-top-bar > :nth-child(1) {
  justify-self: start;
}

.directions-top-bar > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.directions-top-bar > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.directions-cur-meta {
  font-weight: 700;
  color: #FC3500;
}

/* Main 3-Product Sequential Stage Container */
.directions-main-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 10;
  min-height: 0;
}

.direction-product-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.direction-product-item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dir-product-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: auto;
}

@media (max-width: 960px) {
  .dir-product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.dir-product-narrative {
  display: flex;
  flex-direction: column;
}

.dir-product-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FC3500;
  margin-bottom: clamp(12px, 1.8vh, 20px);
}

.dir-product-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.8vw, 112px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #F1F1F1;
  margin: 0 0 clamp(16px, 2.5vh, 28px);
}

.dir-product-desc {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: #8D8D8D;
  max-width: 540px;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.dir-product-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dir-cap-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3e8ec;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 18, 0.8);
}

/* Direction Product CTA Button */
.dir-product-action {
  margin-top: clamp(20px, 2.5vh, 28px);
}

.dir-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  background: #FC3500;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(252, 53, 0, 0.25);
}

.dir-demo-btn:hover {
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
}

.dir-demo-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.dir-demo-btn:hover .dir-demo-arrow {
  transform: translate(2px, -2px);
}

/* Bold Editorial Identity & Product Preview Card */
.dir-product-visual-block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.dir-product-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: radial-gradient(circle at 50% 30%, rgba(26, 26, 26, 0.95), #050505 85%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.5vw, 30px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.dir-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FC3500, transparent 80%);
  opacity: 0.8;
}

.dir-product-card--casino {
  border-color: rgba(252, 53, 0, 0.35);
}

.dir-product-card--tma {
  border-color: rgba(255, 255, 255, 0.22);
}

.dir-product-card--sportsbook {
  border-color: rgba(252, 53, 0, 0.4);
}

.dir-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.dir-badge-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 0.85;
  color: #FC3500;
  letter-spacing: -0.05em;
}

.dir-card-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8D8D8D;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dir-card-preview {
  position: relative;
  width: 100%;
  height: clamp(170px, 18vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  background: radial-gradient(circle, rgba(252, 53, 0, 0.06) 0%, transparent 70%);
}

.dir-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.9));
  transition: transform 0.4s ease;
}

.dir-product-card:hover .dir-card-img {
  transform: scale(1.04);
}

.dir-card-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.dir-badge-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 0.9;
  text-transform: uppercase;
}

.dir-badge-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8D8D8D;
}

.directions-bottom-bar {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.directions-progress-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dir-step-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #333333;
  transition: color 0.3s ease;
}

.dir-step-mark.is-active {
  color: #FC3500;
  font-weight: 800;
}

.dir-step-mark.is-visited {
  color: rgba(252, 53, 0, 0.6);
}

.dir-step-bar {
  width: 48px;
  height: 1.5px;
  background: #242424;
  position: relative;
  overflow: hidden;
}

.dir-step-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #FC3500;
}

/* -------------------------------------------------------------------
   SCENE 11 / SELECTED WORK (Editorial Portfolio Showcase)
   NO_007 // SELECTED WORK
   ------------------------------------------------------------------- */
.work-track {
  position: relative;
  width: 100%;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
  padding: clamp(64px, 8vh, 100px) 0 clamp(80px, 10vh, 140px);
}

.work-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.work-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(48px, 6vh, 80px);
}

.work-header-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(56px, 7vh, 96px);
}

.work-header-narrative {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}

.work-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.8vw, 96px);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

.work-desc {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0;
}

.work-header-aside {
  display: flex;
  align-items: flex-end;
}

.work-counter-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.work-counter-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  color: #FC3500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.work-counter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Asymmetric 2-Column Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  width: 100%;
}

.work-card {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card--featured {
  grid-column: span 12;
}

.work-card--wide {
  grid-column: span 12;
}

.work-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.work-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Desktop 2-column layout for Wide/Featured cards */
@media (min-width: 1024px) {
  .work-card--featured .work-card-link,
  .work-card--wide .work-card-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(36px, 4vw, 56px);
    align-items: center;
  }
}

.work-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080808;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.92) contrast(1.04);
}

.work-card:hover .work-card-img {
  transform: scale(1.03);
  filter: brightness(1.0) contrast(1.06);
}

.work-card:hover .work-card-media {
  border-color: rgba(252, 53, 0, 0.4);
}

.work-card-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.work-tag--accent {
  color: #FC3500;
  border-color: rgba(252, 53, 0, 0.4);
}

.work-tag--muted {
  color: #8D9399;
  border-color: rgba(255, 255, 255, 0.08);
}

.work-card-content {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}

.work-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.work-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FC3500;
  text-transform: uppercase;
}

.work-card-cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: right;
}

.work-card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 14px;
  transition: color 0.3s ease;
}

.work-card-arrow {
  font-family: var(--font-mono);
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.work-card:hover .work-card-title {
  color: #FFFFFF;
}

.work-card:hover .work-card-arrow {
  color: #FC3500;
  transform: translate(4px, -4px);
}

.work-card-nda-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8D9399;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  text-transform: uppercase;
  vertical-align: middle;
}

.work-card-desc {
  font-family: var(--font-mono);
  font-size: clamp(13.5px, 0.95vw, 15px);
  line-height: 1.6;
  color: #9AA0A6;
  margin: 0 0 20px;
}

.work-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: auto;
}

.work-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #C0C6CC;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
}

.work-action-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FC3500;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.work-card:hover .work-action-text {
  transform: translateX(4px);
}

.work-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  background: #FC3500;
  padding: 8px 16px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.work-action-btn:hover {
  background: #FF4A19;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .work-card {
    grid-column: span 1 !important;
  }

  .work-header-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .work-header-aside {
    align-self: flex-start;
  }

  .work-counter-badge {
    align-items: flex-start;
    text-align: left;
  }

  .work-card-media {
    aspect-ratio: 16 / 10;
  }

  .work-card-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* -------------------------------------------------------------------
   SCENE 08 / FINAL CONTACT & CTA (200vh track, editorial partnership)
   ------------------------------------------------------------------- */
.cta-track {
  position: relative;
  width: 100%;
  height: 200vh;
  background: #000000;
  border-top: 1px solid var(--border);
  isolation: isolate;
  z-index: 2;
}

.cta-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 10vh, 100px) var(--pad-x) clamp(24px, 4vh, 48px);
  overflow: hidden;
  background: #000000;
  isolation: isolate;
  z-index: 2;
}

.cta-top-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.cta-top-bar > :nth-child(1) { justify-self: start; }
.cta-top-bar > :nth-child(2) { justify-self: center; text-align: center; }
.cta-top-bar > :nth-child(3) { justify-self: end; text-align: right; }

.cta-stage-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(340px, 30vw) minmax(280px, 22vw);
  gap: clamp(24px, 3.5vw, 64px);
  align-items: center;
  margin: auto 0;
  width: 100%;
  max-width: 60vw;
}

.cta-narrative-col {
  display: flex;
  flex-direction: column;
}

.cta-eyebrow-wrap {
  margin-bottom: clamp(14px, 2vh, 22px);
}

.cta-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #F1F1F1;
  margin: 0;
}

.cta-line-mask {
  display: block;
  overflow: hidden;
}

.cta-line-el {
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
}

.cta-desc-wrap {
  margin-top: clamp(18px, 2.5vh, 28px);
}

.cta-desc-el {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: #8D8D8D;
  max-width: 480px;
}

.cta-direct-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(22px, 3vh, 36px);
}

.cta-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FC3500;
  text-decoration: none;
  padding: 8px 14px;
  background: rgba(252, 53, 0, 0.08);
  border: 1px solid rgba(252, 53, 0, 0.3);
  transition: all 0.25s ease;
}

.cta-tg-link:hover {
  background: #FC3500;
  color: #000000;
}

.cta-tg-icon {
  width: 16px;
  height: 16px;
}

.cta-direct-sep {
  color: #333333;
  font-family: var(--font-mono);
  font-size: 12px;
}

.cta-mail-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8D8D8D;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-mail-link:hover {
  color: #F1F1F1;
}

/* Clean Editorial Contact Form */
.cta-form-col {
  width: 100%;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.editorial-contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vh, 24px);
  width: 100%;
  max-width: 380px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8D8D8D;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 10px 0 12px;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.1vw, 16px);
  color: #F1F1F1;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus {
  border-bottom-color: #FC3500;
}

.form-input::placeholder {
  color: #444444;
}

.form-textarea {
  resize: none;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-editorial-submit {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  background: #F1F1F1;
  border: none;
  padding: 16px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, transform 0.25s;
}

.btn-editorial-submit:hover {
  background: #FC3500;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-editorial-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FC3500;
}

/* Independent Absolute Visual Layer: Full-Height Looping Mascot (z-index: 2) */
.end-mascot {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42vw;
  height: 92vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
  background: transparent;
}

.end-mascot video,
.end-mascot-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
}

/* Tablet & Responsive Behavior */
@media (max-width: 1200px) and (min-width: 961px) {
  .cta-stage-layout {
    grid-template-columns: minmax(320px, 30vw) minmax(260px, 22vw);
    max-width: 58vw;
    gap: 24px;
  }

  .end-mascot {
    width: 44vw;
    height: 88vh;
  }
}

@media (max-width: 960px) {
  .cta-track {
    height: auto;
    min-height: 100vh;
  }

  .cta-sticky {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    min-height: 100vh;
    padding: clamp(96px, 12vh, 120px) var(--pad-x) 40px;
    gap: 40px;
    overflow: visible;
  }

  .cta-stage-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    width: 100%;
    max-width: 100%;
  }

  .cta-narrative-col {
    width: 100%;
    max-width: 480px;
  }

  .cta-headline {
    font-size: clamp(30px, 7.5vw, 44px) !important;
  }

  .cta-form-col {
    width: 100%;
    max-width: 480px;
    justify-content: flex-start;
  }

  .editorial-contact-form {
    max-width: 100%;
  }

  .end-mascot {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: clamp(260px, 82vw, 380px);
    height: auto;
    max-height: 55vh;
    margin: 16px auto 0;
    justify-content: center;
  }

  .end-mascot video,
  .end-mascot-video {
    object-position: center;
    max-height: 55vh;
    aspect-ratio: 9 / 16;
  }

  .final-divider {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 16px;
  }
}

/* Horizontal Bottom Divider Line (Spans full section above video, z-index: 20) */
.final-divider {
  position: absolute;
  left: 2.5vw;
  right: 2.5vw;
  bottom: calc(clamp(24px, 4vh, 48px) + 33px);
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  z-index: 20;
  pointer-events: none;
  will-change: opacity;
}

/* Bottom Metadata Bar (Above video, z-index: 21) */
.cta-bottom-bar {
  position: relative;
  z-index: 21;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: none;
  padding-top: 0;
}

/* -------------------------------------------------------------------
   SCENE 12 / MINIMAL EDITORIAL FOOTER & BACK TO TOP
   ------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 3;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 8vh, 80px) var(--pad-x) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  width: 100%;
}

.back-to-top-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.back-to-top-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}


/* ===================================================================
   MOBILE & TABLET RESPONSIVE ARCHITECTURE
   Desktop: >= 1280px (Visually untouched)
   Tablet:  768px – 1279px
   Mobile:  <= 767px (Padding 20px)
   Small:   <= 390px (Padding 16px)
   =================================================================== */

/* Tablet & Intermediate Viewports (768px – 1279px) */
@media (max-width: 1279px) and (min-width: 768px) {
  :root {
    --pad-x: clamp(24px, 4vw, 40px);
  }

  .header {
    height: 72px;
  }

  /* Section 02 Stages */
  .stages-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stages-right-col {
    min-height: 380px;
  }

  /* Section 03 Planet */
  .planet-center-composition {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* Section 04 Numbers */
  .numbers-poster-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
  }

  /* Section 06 Code */
  .code-content-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }

  /* Section 07 Services */
  .service-slide {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .service-slide-icon {
    max-width: 44vw;
    max-height: 48vh;
  }

  /* Section 08 Antifraud */
  .antifraud-stage-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
  }

  /* Section 09 Directions Intro */
  .dir-intro-stage-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
  }

  /* Section 10 Directions */
  .dir-product-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
  }
}

/* Comprehensive Mobile Viewports (<= 767px) */
@media (max-width: 767px) {
  :root {
    --pad-x: 20px;
  }

  /* Global Container & Overflow Guard */
  body {
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
  }

  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Hide Desktop Nonessential Metadata / Diagnostics */
  .header__center-meta,
  .hero-top-meta > :nth-child(2),
  .stages-top-meta > :nth-child(2),
  .planet-top-meta > :nth-child(2),
  .days-top-meta > :nth-child(3),
  .days-bottom-meta > :nth-child(1),
  .code-top-meta > :nth-child(3),
  .code-right-meta-col,
  .services-top-meta-center,
  .antifraud-top-bar > :nth-child(2),
  .antifraud-bottom-bar > :nth-child(1),
  .dir-intro-top-bar > :nth-child(2),
  .dir-intro-bottom-bar > :nth-child(1),
  .directions-top-bar > :nth-child(2),
  .cta-top-bar > :nth-child(2) {
    display: none !important;
  }

  /* Mobile Header (Height 64px, minimal, z-index 150) */
  .header {
    height: 64px;
    padding: 0 var(--pad-x);
    grid-template-columns: auto 1fr auto;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header__decor-line {
    display: none;
  }

  .header__logo .site-logo {
    height: 18px;
    max-width: 140px;
  }

  .header__actions {
    grid-column: 3;
    gap: 14px;
  }

  .header__lang-switcher {
    gap: 4px;
  }

  .lang-btn {
    font-size: 11px;
    padding: 6px 4px;
    min-height: 44px;
    min-width: 32px;
  }

  .menu-btn {
    font-size: 10px;
    letter-spacing: 0.12em;
    gap: 8px;
    min-height: 44px;
    padding: 0 4px;
  }

  /* Mobile Fullscreen Menu */
  .menu-modal {
    padding: 24px var(--pad-x) 32px;
    background: #000000;
  }

  .menu-modal__header {
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
  }

  .menu-modal__header-actions {
    gap: 16px;
  }

  .menu-modal__links {
    margin: 36px 0;
    gap: 18px;
  }

  .menu-modal__link {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: -0.02em;
    gap: 16px;
  }

  .menu-modal__link-num {
    font-size: 12px;
    color: var(--accent);
  }

  .menu-modal__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
  }

  /* Mobile Typography Rules */
  .display-hero {
    font-size: calc(clamp(30px, 9.2vw, 48px) * var(--hero-text-scale, 1));
    line-height: 0.92;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }

  .stages-intro-title {
    font-size: clamp(38px, 11.5vw, 62px);
    line-height: 0.92;
    letter-spacing: -0.035em;
  }

  .planet-display-title,
  .code-headline,
  .service-slide-title,
  .antifraud-main-headline,
  .dir-intro-main-headline,
  .dir-product-title {
    font-size: clamp(36px, 11vw, 58px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.035em !important;
    word-break: normal;
    overflow-wrap: break-word;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cta-headline {
    font-size: clamp(26px, 7.5vw, 42px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.035em !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .planet-line-mask,
  .planet-line-el,
  .code-line-mask,
  .code-line-el,
  .d-intro-line-mask,
  .d-intro-line-el,
  .af-line-mask,
  .af-line-el,
  .cta-line-mask {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .cta-line-el {
    display: block !important;
    white-space: nowrap !important;
  }

  .body-text,
  .stage-item-desc,
  .planet-desc-el,
  .days-desc,
  .code-desc-el,
  .service-slide-desc,
  .dir-intro-desc-el,
  .dir-product-desc,
  .cta-desc-el {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .meta {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* -------------------------------------------------------------
     SCENE 01: HERO MOBILE
     ------------------------------------------------------------- */
  .hero-track {
    height: 140vh;
  }

  .hero-sticky {
    height: 100svh;
    padding: 72px var(--pad-x) 24px;
  }

  .hero-ui-layer {
    padding: 72px var(--pad-x) 24px;
  }

  .hero-layer-front {
    padding: 72px var(--pad-x) 24px;
    justify-content: center;
  }

  .hero-mascot-camera {
    transform: none !important;
  }

  .hero-mascot-canvas,
  .hero-video {
    max-width: 95vw;
    max-height: 75vh;
  }

  .hero-bottom-frame {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 14px;
  }

  .hero-bottom-frame .body-text {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  /* -------------------------------------------------------------
     SCENE 02: ВКЛЮЧАЕМСЯ НА ЛЮБОМ ЭТАПЕ (Roadmap)
     Order: Headline -> Description -> Roadmap visualization
     ------------------------------------------------------------- */
  .stages-track {
    height: 340vh;
  }

  .stages-sticky {
    padding: 72px var(--pad-x) 20px;
    justify-content: space-between;
  }

  .stages-intro-layer {
    padding: 0;
  }

  .stages-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin: auto 0;
    display: flex;
    flex-direction: column;
  }

  .stages-left-col {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .roadmap-active-stage-container {
    min-height: 180px;
  }

  .stage-item-title {
    font-size: 26px !important;
    line-height: 1.0 !important;
  }

  .stage-item-desc {
    margin-top: 10px;
  }

  .stages-right-col {
    width: 100%;
    max-width: 100%;
    order: 2;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .roadmap-bg-number {
    display: none;
  }

  .roadmap-canvas-wrap {
    width: 100%;
    max-width: 100%;
  }

  .roadmap-svg {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  .stages-bottom-meta {
    padding-top: 12px;
  }

  /* -------------------------------------------------------------
     SCENE 03: PLANET (Vertical recomposition)
     Order: Eyebrow -> Headline -> Description -> Planet
     ------------------------------------------------------------- */
  .planet-track {
    height: 260vh;
  }

  .planet-sticky-container {
    height: 100svh;
  }

  .planet-fg-layer {
    padding: 72px var(--pad-x) 24px;
  }

  .planet-center-composition {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: auto 0;
  }

  .planet-narrative-col {
    width: 100%;
    max-width: 100%;
    z-index: 10;
  }

  .planet-sequence-container {
    opacity: 0.55;
    z-index: 1;
  }

  /* -------------------------------------------------------------
     SCENE 04: NUMBERS (0% Business Model)
     0% -> С ОБОРОТА -> ВСЯ ВЫРУЧКА — ВАША
     ------------------------------------------------------------- */
  .numbers-track {
    height: 190vh;
  }

  .numbers-sticky {
    padding: 72px var(--pad-x) 24px;
    height: 100svh;
  }

  .numbers-poster-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
  }

  .numbers-poster-hero {
    font-size: clamp(64px, 20vw, 110px) !important;
    line-height: 0.88;
  }

  .numbers-poster-accent {
    font-size: clamp(28px, 8.5vw, 42px) !important;
    letter-spacing: -0.03em;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .numbers-poster-secondary {
    font-size: clamp(18px, 5.5vw, 24px) !important;
    line-height: 1.05;
    margin-top: 12px;
  }

  .numbers-poster-aside {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 20px;
  }

  .numbers-compare-wrap {
    gap: 20px;
    margin-bottom: 16px;
  }

  .numbers-compare-num {
    font-size: 28px !important;
  }

  /* -------------------------------------------------------------
     SCENE 05: 14 DAYS
     14 large -> Headline -> Description
     ------------------------------------------------------------- */
  .days-track {
    height: 190vh;
  }

  .days-sticky {
    padding: 72px var(--pad-x) 24px;
    height: 100svh;
  }

  .days-center-composition {
    width: 100%;
    max-width: 100%;
  }

  .days-split-figure {
    font-size: clamp(90px, 30vw, 150px) !important;
    line-height: 0.85;
    gap: 4px;
  }

  .days-heading {
    font-size: clamp(24px, 7vw, 36px) !important;
    line-height: 1.02 !important;
    margin-top: 14px;
  }

  /* -------------------------------------------------------------
     SCENE 06: SOURCE CODE
     Headline -> Description -> Character in background
     ------------------------------------------------------------- */
  .code-track {
    height: 200vh;
  }

  .code-sticky {
    padding: 72px var(--pad-x) 24px;
    height: 100svh;
  }

  .code-content-layout {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .code-narrative-col {
    position: relative;
    z-index: 10;
    width: 100%;
  }

  .code-sequence-container {
    opacity: 0.45;
    z-index: 1;
  }

  /* -------------------------------------------------------------
     SCENE 07: SERVICES (Editorial vertical experience)
     ------------------------------------------------------------- */
  .services-showcase-section {
    padding: 40px var(--pad-x);
  }

  /* -------------------------------------------------------------
     SCENE 08: ANTI-FRAUD / TECHNOLOGY
     Headline -> Description -> Features
     ------------------------------------------------------------- */
  .antifraud-track {
    height: 200vh;
  }

  .antifraud-sticky {
    padding: 72px var(--pad-x) 20px;
    height: 100svh;
  }

  .antifraud-stage-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
  }

  .antifraud-narrative-col {
    width: 100%;
    max-width: 100%;
  }

  .risk-detection-system {
    width: 100%;
    gap: 18px;
  }

  .risk-circuit-svg {
    display: none;
  }

  .risk-nodes-list {
    width: 100%;
    gap: 12px;
  }

  .risk-node-item {
    padding: 12px 16px;
    width: 100%;
  }

  .risk-node-title {
    font-size: 18px !important;
  }

  .risk-blocked-badge {
    padding: 8px 14px;
    font-size: 11px;
  }

  /* -------------------------------------------------------------
     SCENE 09: PRODUCT DIRECTIONS INTRO
     ------------------------------------------------------------- */
  .dir-intro-track {
    height: 190vh;
  }

  .dir-intro-sticky {
    padding: 72px var(--pad-x) 20px;
    height: 100svh;
  }

  .dir-intro-stage-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .dir-intro-preview-list {
    max-width: 100%;
    gap: 12px;
  }

  .dir-intro-preview-item {
    padding: 14px 18px;
    gap: 16px;
  }

  .dir-intro-preview-name {
    font-size: 16px !important;
  }

  .dir-intro-preview-sub {
    font-size: 10px;
  }

  /* -------------------------------------------------------------
     SCENE 10: PRODUCT DIRECTIONS SLIDES
     ------------------------------------------------------------- */
  .directions-track {
    height: 300vh;
  }

  .directions-sticky {
    padding: 72px var(--pad-x) 20px;
    height: 100svh;
  }

  .dir-product-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .dir-product-visual-rail {
    display: none;
  }

  .dir-product-narrative {
    width: 100%;
    max-width: 100%;
  }

  .dir-product-desc {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .dir-product-caps {
    gap: 6px;
  }

  .dir-cap-pill {
    font-size: 9px;
    padding: 4px 8px;
  }

  .dir-product-action {
    margin-top: 14px;
  }

  .dir-demo-btn {
    padding: 10px 16px;
    font-size: 10px;
  }

  .dir-product-visual-block {
    display: none;
  }

  /* -------------------------------------------------------------
     SCENE 11: FINAL CONTACT SECTION
     Mobile Order:
     CTA headline -> description -> contact form -> telegram -> mascot
     ------------------------------------------------------------- */
  .cta-track {
    height: auto !important;
    min-height: 100vh;
  }

  .cta-sticky {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 100vh;
    padding: 72px var(--pad-x) 28px !important;
    gap: 28px;
    overflow: visible !important;
  }

  .cta-stage-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 100%;
  }

  .cta-narrative-col {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .cta-direct-links {
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .cta-form-col {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .editorial-contact-form {
    width: 100%;
    max-width: 100%;
    gap: 18px;
  }

  .form-field-group {
    width: 100%;
  }

  .form-input {
    min-height: 48px;
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
  }

  .form-textarea {
    min-height: 80px;
  }

  .btn-editorial-submit {
    min-height: 48px;
    width: 100%;
    padding: 14px 20px;
    font-size: 12px;
  }

  /* Mascot video on mobile: Large 70-82svh maximum visual height,
     completely contained within viewport width, dance moves fully visible */
  .end-mascot {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    order: 3;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 78svh;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
  }

  .end-mascot video,
  .end-mascot-video {
    width: 100%;
    max-width: 100%;
    max-height: 78svh;
    height: auto;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 9 / 16;
    display: block;
  }

  .final-divider {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 12px;
    z-index: 20;
  }

  .cta-bottom-bar {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-top: 8px;
  }

  /* Footer on mobile */
  .footer {
    padding: 40px var(--pad-x) 28px;
    gap: 32px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Small Mobile Screens (<= 390px, e.g. iPhone 12/13 mini, SE, 360-390px) */
@media (max-width: 390px) {
  :root {
    --pad-x: 16px;
  }

  .display-hero {
    font-size: calc(clamp(26px, 8.2vw, 36px) * var(--hero-text-scale, 1));
    line-height: 0.92;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }

  .stages-intro-title,
  .planet-display-title,
  .code-headline,
  .service-slide-title,
  .antifraud-main-headline,
  .dir-intro-main-headline,
  .dir-product-title {
    font-size: clamp(32px, 10vw, 42px) !important;
  }

  .cta-headline {
    font-size: clamp(24px, 7.2vw, 34px) !important;
  }

  .numbers-poster-hero {
    font-size: 78px !important;
  }

  .days-split-figure {
    font-size: 82px !important;
  }

  .form-input {
    min-height: 46px;
    font-size: 14px;
  }

  .btn-editorial-submit {
    min-height: 46px;
  }

  .end-mascot {
    max-height: 72svh;
  }

  .end-mascot video,
  .end-mascot-video {
    max-height: 72svh;
  }
}

/* -------------------------------------------------------------------
   PREFERS REDUCED MOTION (Item 39)
   ------------------------------------------------------------------- */
@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;
  }
  .custom-cursor {
    display: none !important;
  }
  .reveal-inner {
    transform: none !important;
  }
}


/* A readable fallback when JavaScript is unavailable or cannot initialize. */
html:not(.js) .preloader { display: none; }
html:not(.js) .reveal-inner { transform: none; }
html.content-fallback .reveal-inner { transform: none !important; opacity: 1 !important; }
html.content-fallback main [style] { visibility: visible !important; }

/* Keep Lenis and native scrolling from competing; preserve the existing layout. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
/* GSAP already interpolates the reveal transform. A second CSS transition causes trailing. */
body.is-ready .reveal-inner { transition: none; }

html.content-fallback .stages-intro-layer { display: none; }
html.content-fallback :is(.stages-layout, .stages-bottom-meta,
 .planet-tag-el, .planet-line-el, .planet-accent-el, .planet-desc-el, .planet-telemetry-col,
 .numbers-poster-statement, .numbers-poster-aside, .digit-split--1, .digit-split--4,
 .days-heading, .days-desc, .code-accent-statement-el, .code-line-el, .code-desc-el,
 .code-right-meta-col, .antifraud-top-bar, .antifraud-bottom-bar, .antifraud-eyebrow-el,
 .af-line-el, .risk-node-item, .cta-line-el, .cta-desc-el, .cta-direct-links,
 .editorial-contact-form, .end-mascot, .work-card, .work-header-layout, .work-top-bar) {
 opacity: 1 !important; visibility: visible !important; transform: none !important;
}
