/* ==========================================================================
   NGUYEN PHU NHAN — EDITORIAL AI GROWTH STUDIO (V2 · CLAUDE OPUS QC)
   Obsidian #060809 (sampled from portrait) · Ivory #F3EFE6 · Champagne #D4AE6A
   Engine: Zero backdrop-filter, zero feTurbulence, zero canvas lag -> 120fps
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Exact Studio Black matched to nhan-suit.jpg corners (#05090A) */
  --bg: #060809;
  --bg-elevated: #0D1012;
  --bg-panel: #121619;
  --bg-nav: #060809;
  --nav-h: 74px;

  --ink: #F3EFE6;
  --ink-2: #B2ACA0;
  --ink-muted: #7C776E;

  /* Single luxury accent pulled from portrait tie gold */
  --gold: #D4AE6A;
  --gold-bright: #E6C78B;
  --gold-soft: rgba(212, 174, 106, 0.12);
  --gold-border: rgba(212, 174, 106, 0.36);
  --gold-ink: #08090A;

  --rule: rgba(243, 239, 230, 0.1);
  --rule-strong: rgba(243, 239, 230, 0.2);
  --live: #45D483;

  /* Editorial Luxury Type Pairing (Opus QC) */
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --chapter-gap: clamp(96px, 11vw, 168px);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-padding-top: 84px;
  scrollbar-color: var(--ink-muted) var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.04;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold);
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 400;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
}
.skip-link:focus-visible { top: 16px; }

/* Subtle GPU Cursor Champagne Spotlight (Zero blur(), Zero getBoundingClientRect) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 174, 106, 0.13) 0%, rgba(212, 174, 106, 0.04) 38%, transparent 70%);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* Scroll progress hairline */
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 220;
  background: rgba(243, 239, 230, 0.06);
  pointer-events: none;
}
.scroll-line__fill {
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ==========================================================================
   MINIMAL SOLID OBSIDIAN NAVIGATION (ZERO BACKDROP-FILTER LAG)
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #060809;
  border-bottom: 1px solid rgba(212, 174, 106, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
  color: #F3EFE6;
  text-decoration: none;
}

.brand-signature {
  display: block;
  width: auto;
  height: 36px;
  overflow: visible;
  --signature-accent: #D4AE6A;
}

.nav-brand:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 6px;
  border-radius: 2px;
}

/* Opus QC: Text is visible by default; JS arms reveal once cleanly */
.reveal {
  opacity: 1;
}
html.js-armed .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(22px);
}
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__mobile-portrait {
  display: none;
}
.offer-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-mail {
  font-size: 0.82rem;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-mail:hover { color: var(--gold); }

/* Mobile Menu Button */
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-expo);
}
.menu-btn span:first-child { transform: translateY(-3.5px); }
.menu-btn span:last-child { transform: translateY(3.5px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 190;
  background: var(--bg);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-expo);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu li a { font-family: var(--font-serif); font-size: 2.3rem; color: var(--ink); }

/* ==========================================================================
   BUTTONS — CLEAN LUXURY TACTILE PHYSICS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.28s var(--ease-fluid), border-color 0.28s var(--ease-fluid), color 0.28s var(--ease-fluid), transform 0.2s var(--ease-expo);
}
.btn:active { transform: scale(0.98); }

.btn--gold {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
}
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }

.btn--sheen::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -65%;
  width: 48%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
  transform: skewX(-18deg) translateX(0);
  transition: transform 0.7s var(--ease-expo);
  pointer-events: none;
}
.btn--sheen:hover::after { transform: skewX(-18deg) translateX(460%); }

.btn--outline {
  background: rgba(6, 8, 9, 0.55);
  border-color: var(--rule-strong);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.84rem; }

/* ==========================================================================
   CHAPTER 1 — MONUMENTAL CENTER-STAGE PORTRAIT HERO (SPLIT-CURTAIN SCRUB)
   (Steve dead-center on #060809 · Flanking kinetic wings part on scroll!)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 74px;
  background: var(--bg);
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 74px 0 0 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__aura {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(860px, 85vw);
  height: min(860px, 85vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 174, 106, 0.16) 0%, rgba(212, 174, 106, 0.05) 34%, transparent 66%);
  will-change: transform;
}

.hero__orbit {
  position: absolute;
  top: 45%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(212, 174, 106, 0.14);
  transform: translate(-50%, -50%);
  will-change: transform;
}
.hero__orbit--outer {
  width: min(640px, 68vh);
  height: min(640px, 68vh);
  border-style: dashed;
  border-color: rgba(212, 174, 106, 0.15);
}
.hero__orbit--inner {
  width: min(490px, 52vh);
  height: min(490px, 52vh);
  border-color: rgba(243, 239, 230, 0.08);
}

.hero__portrait-stage {
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 46vw);
  height: min(740px, calc(100svh - 102px));
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  /* Feathered left, right & bottom melt seamlessly into #060809 obsidian */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%);
  mask-composite: intersect;
}

.hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  will-change: transform, clip-path;
}

.hero__portrait-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 9, 0.25) 0%, transparent 16%, transparent 50%, rgba(6, 8, 9, 0.94) 76%, #060809 92%),
    linear-gradient(90deg, #060809 0%, transparent 22%, transparent 78%, #060809 100%);
  pointer-events: none;
}

.hero__stage-ui {
  position: relative;
  z-index: 4;
  min-height: calc(100svh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(16px, 2.2vh, 26px) clamp(18px, 2.4vh, 30px);
}

.hero__top-pill {
  display: flex;
  justify-content: center;
}

.hero__wings {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 34vw) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-block: auto;
  padding-bottom: clamp(18px, 3vh, 42px);
  perspective: 1200px;
}

.hero__wing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  will-change: transform, opacity;
}

.hero__wing--left {
  grid-column: 1;
  align-items: flex-end;
  text-align: right;
}

.hero__wing--right {
  grid-column: 3;
  align-items: flex-start;
  text-align: left;
}

.hero__wing-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero__wing-line {
  display: block;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.9vw, 4.95rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding-bottom: 0.04em;
}
.hero__wing-line em {
  font-style: italic;
  color: var(--gold);
}
.hero__wing-line .line-inner {
  display: inline-block;
}

.hero__wing-meta {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-top: 10px;
}

.hero__deck {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  will-change: transform, opacity;
}

.hero__scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}
.hero__scroll-cue:hover { color: var(--gold); }
.hero__scroll-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2s var(--ease-expo) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}

/* ==========================================================================
   CHAPTER 1.5 — GOOGLE FLOW INTERACTIVE SCROLL-SCRUBBING CINEMA (120fps)
   ========================================================================== */

.flow-scrub {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.flow-scrub__pin {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-h));
  min-height: 540px;
  background: var(--bg);
  overflow: hidden;
  touch-action: pan-y;
}

.flow-scrub__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.flow-scrub__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #060809 0%, rgba(6, 8, 9, 0.18) 16%, transparent 45%, rgba(6, 8, 9, 0.72) 82%, #060809 100%),
    linear-gradient(90deg, rgba(6, 8, 9, 0.78) 0%, rgba(6, 8, 9, 0.35) 36%, transparent 65%);
}

.flow-scrub__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(28px, 4.5vh, 52px);
}

.flow-scrub__beats {
  position: relative;
  min-height: 220px;
  max-width: 600px;
}

.flow-beat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease-expo), transform 0.55s var(--ease-expo);
}

.flow-beat.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.flow-beat__kicker {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 10px;
}

.flow-beat__title {
  font-size: clamp(2.25rem, 4.2vw, 3.9rem);
  line-height: 1.03;
  margin-bottom: 14px;
}

.flow-beat__copy {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  color: var(--ink-2);
  max-width: 48ch;
}

.flow-beat__cta {
  margin-top: 20px;
}

.flow-scrub__hud {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.flow-scrub__bar {
  width: 100%;
  height: 2px;
  background: rgba(243, 239, 230, 0.14);
  overflow: hidden;
}

.flow-scrub__bar-fill {
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
}

.flow-scrub__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.hero__offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
  background: rgba(18, 22, 25, 0.85);
  font-size: 0.8rem;
  color: var(--ink);
}
.hero__offer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
}

.hero__lead {
  font-size: clamp(0.95rem, 1.12vw, 1.08rem);
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 58ch;
}
.hero__lead strong { color: var(--ink); font-weight: 500; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   VELOCITY-REACTIVE DUAL ARCHITECTURAL MARQUEE (REVERSES ON SCROLL UP/DOWN)
   ========================================================================== */

.kinetic-band {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
  user-select: none;
}

.kinetic-row {
  overflow: hidden;
  width: 100%;
}

.kinetic-track {
  display: inline-flex;
  align-items: baseline;
  gap: 26px;
  white-space: nowrap;
  will-change: transform;
}

.kinetic-row--serif .kinetic-track {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.kinetic-row--serif i {
  font-style: normal;
  color: var(--gold);
}
.kinetic-row--serif span:nth-of-type(even) {
  font-style: italic;
  color: var(--gold);
}

.kinetic-row--mono .kinetic-track {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.kinetic-row--mono i {
  font-style: normal;
  color: rgba(212, 174, 106, 0.45);
}

/* ==========================================================================
   CHAPTER 1.8 — 3D SCROLL GROWTH TRANSFORMATION (WITHOUT ME vs WITH ME)
   100% Scroll-Driven 3D Flow CGI Canvas + Morphing KPIs + Live SVG Curve
   ========================================================================== */

.growth-3d {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.growth-3d__pin {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-h));
  min-height: 600px;
  background: var(--bg);
  overflow: hidden;
  touch-action: pan-y;
}

.growth-3d__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}

.growth-3d__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #060809 0%, rgba(6, 8, 9, 0.24) 18%, rgba(6, 8, 9, 0.26) 76%, #060809 100%),
    radial-gradient(ellipse at 50% 48%, rgba(6, 8, 9, 0.12) 0%, rgba(6, 8, 9, 0.72) 84%);
}

/* Vertical golden laser wipe beam driven purely by scroll progress */
.growth-3d__beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 174, 106, 0.85) 35%, rgba(246, 222, 170, 0.95) 50%, rgba(212, 174, 106, 0.85) 65%, transparent 100%);
  box-shadow: 0 0 28px 4px rgba(212, 174, 106, 0.4);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.growth-3d__ui {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(18px, 2.6vh, 30px) clamp(20px, 2.8vh, 34px);
  gap: 18px;
}

.growth-3d__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.growth-3d__side {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  transition: color 0.35s ease;
}
.growth-3d__side.is-active { color: var(--ink); }
.growth-3d__side--after { text-align: right; }
.growth-3d__side--after.is-active { color: var(--gold-bright); }

.growth-3d__slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.growth-3d__slider-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(243, 239, 230, 0.12);
}

.growth-3d__slider-fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7C776E 0%, #D4AE6A 55%, #F6DEAA 100%);
  transform-origin: left center;
  transform: scaleX(0);
}

.growth-3d__slider-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid #060809;
  box-shadow: 0 0 14px rgba(212, 174, 106, 0.7);
  will-change: transform;
}

.growth-3d__slider-hint {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.growth-3d__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(24px, 3.6vw, 56px);
  align-items: center;
  margin-block: auto;
}

/* Opus Grid-Cell Head Stack: Zero Overlap & Zero Mid-Scroll Ghost */
.growth-3d__headlines {
  display: grid;
  margin-bottom: 16px;
}

.g3d-head {
  grid-area: 1 / 1;
  position: relative;
}

.g3d-mobile-roadmap {
  display: none;
}

.g3d-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.g3d-kicker--gold { color: var(--gold); }

.g3d-title {
  font-size: clamp(2rem, 3.1vw, 3.05rem);
  line-height: 1.04;
  margin-bottom: 10px;
}

.g3d-sub {
  font-size: 0.9rem;
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.5;
}

.g3d-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.g3d-kpi {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(9, 12, 15, 0.74);
  border: 1px solid var(--rule);
  transition: border-color 0.35s ease;
}
.g3d-kpis.is-after .g3d-kpi {
  border-color: var(--gold-border);
}

.g3d-kpi__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.g3d-kpi__name {
  font-size: 0.78rem;
  color: var(--ink-2);
}
.g3d-kpi__val {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.g3d-kpis.is-after .g3d-kpi__val { color: var(--gold-bright); }

.g3d-kpi__bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(243, 239, 230, 0.08);
  overflow: hidden;
  margin-bottom: 7px;
}
.g3d-kpi__bar-fill {
  width: 100%;
  height: 100%;
  background: var(--ink-muted);
  transform-origin: left center;
  transform: scaleX(0.14);
  transition: background-color 0.35s ease;
}
.g3d-kpis.is-after .g3d-kpi__bar-fill {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
}

.g3d-kpi__note {
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Right SVG Trajectory Panel (Translucent Obsidian Panel — Zero Blur Lag) */
.growth-3d__chart-card {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 22px;
  background: rgba(9, 12, 15, 0.74);
  border: 1px solid var(--rule-strong);
  transition: border-color 0.45s ease;
}
.growth-3d__chart-card.is-after {
  border-color: var(--gold-border);
}

.g3d-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.g3d-chart-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 3px;
}
.g3d-chart-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1.1;
}
.g3d-chart-delta {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: rgba(6, 8, 9, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.growth-3d__chart-card.is-after .g3d-chart-delta {
  color: var(--gold-bright);
  border-color: var(--gold-border);
}

.g3d-svg-wrap {
  width: 100%;
  margin-bottom: 12px;
}
.g3d-svg {
  width: 100%;
  height: auto;
  display: block;
}

.g3d-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  margin-bottom: 14px;
}

.g3d-ms {
  opacity: 0.32;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
}
.g3d-ms.is-lit {
  opacity: 1;
  transform: translateY(0);
}
.g3d-ms span {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 3px;
}
.g3d-ms p {
  font-size: 0.74rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.g3d-chart-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  opacity: 0.45;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
}
.g3d-chart-cta.is-lit {
  opacity: 1;
  transform: translateY(0);
}
.g3d-disclaimer {
  font-size: 0.68rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   CHAPTER HEADING SYSTEM
   ========================================================================== */

/* Opus Drift Fix: content-visibility: visible prevents ScrollTrigger offset drift */
.chapter {
  padding-block: var(--chapter-gap);
  content-visibility: visible;
  contain: none;
}

.chapter--tinted {
  background: var(--bg-elevated);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.chap-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}

.chap-title {
  font-size: clamp(2.4rem, 4.6vw, 4.35rem);
  line-height: 1.03;
}

.chap-note {
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 46ch;
  justify-self: end;
}

/* ==========================================================================
   CHAPTER 2 — REAL GOOGLE ADS PROOF LEDGER (LIVE API DATA + 19 U.S. ACCOUNTS)
   ========================================================================== */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
}

.metric-cell {
  padding: 34px 28px;
  border-right: 1px solid var(--rule);
}
.metric-cell:first-child { padding-left: 0; }
.metric-cell:last-child { border-right: 0; padding-right: 0; }

.metric-cell__val {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.metric-cell__val--gold { color: var(--gold); }

.metric-cell__title {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.metric-cell__sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Verified Live Campaign Ledger Table */
.ads-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 48px;
}

.ads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ads-table th {
  padding: 0 16px 16px 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule-strong);
  white-space: nowrap;
}

.ads-table td {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.94rem;
  color: var(--ink-2);
  vertical-align: middle;
}

.ads-table td.client-col {
  color: var(--ink);
  font-weight: 500;
}

.ads-table td.client-col span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.ads-table td.num {
  font-family: var(--font-mono);
  color: var(--ink);
  white-space: nowrap;
}
.ads-table td.num--gold { color: var(--gold); }

.ads-table tr {
  transition: background-color 0.25s ease;
}
.ads-table tbody tr:hover {
  background: rgba(243, 239, 230, 0.025);
}

.ads-source {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 14px;
}

/* Active U.S. Google Ads & DMI Client Roster */
.roster-block {
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.roster-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.roster-top h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 24px;
}

.roster-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.roster-link span {
  font-size: 0.76rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
.roster-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-border);
}

/* ==========================================================================
   CHAPTER 3 — GSAP PINNED HORIZONTAL VIP VIDEO REEL (ZERO LAG, 1 ACTIVE VID)
   ========================================================================== */

.reel-chapter {
  position: relative;
  padding-block: clamp(44px, 5.5vh, 76px);
  background: var(--bg);
  overflow: hidden;
}

.reel-chapter .chap-head {
  margin-bottom: clamp(22px, 3vh, 34px);
}

.reel-stage-pin {
  width: 100%;
}

.reel-track-viewport {
  overflow: hidden;
  width: 100%;
}

.reel-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}

.reel-card {
  width: clamp(232px, 27.5vh, 305px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.56;
  transform: scale(0.95);
  transition: opacity 0.45s var(--ease-fluid), transform 0.55s var(--ease-expo);
}
.reel-card.is-playing {
  opacity: 1;
  transform: scale(1.02);
}

.reel-card--wide {
  width: clamp(340px, 46vh, 520px);
}

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 14.6;
  border-radius: 18px;
  overflow: hidden;
  background: #0B0D0F;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: border-color 0.35s ease, transform 0.45s var(--ease-expo);
}

.reel-card--wide .reel-frame {
  aspect-ratio: 16 / 10;
  margin-top: auto;
  margin-bottom: auto;
}

.reel-card.is-playing .reel-frame {
  border-color: var(--gold-border);
}

.reel-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.reel-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: rgba(6, 8, 9, 0.86);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.reel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

.reel-meta__title {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 4px;
}
.reel-meta__desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.reel-dots {
  display: none;
}

/* ==========================================================================
   CHAPTER 4 — OPAQUE STICKY STACKED 5 FLAGSHIP WEBSITE THEMES (ZERO GHOST!)
   ========================================================================== */

.themes-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.theme-stack-card {
  position: sticky;
  top: calc(var(--nav-h) + 16px + var(--stack-i, 0) * 14px);
  z-index: calc(10 + var(--stack-i, 0));
  isolation: isolate;
  border-radius: 24px;
  background: #121619;
  opacity: 1 !important;
  border: 1px solid var(--rule-strong);
  overflow: hidden;
  transform-origin: 50% 0%;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  will-change: transform;
}

.theme-card-shade {
  position: absolute;
  inset: 0;
  background: #060809;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  will-change: opacity;
}

.theme-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
  align-items: stretch;
}

.theme-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #080A0C;
  overflow: hidden;
  border-right: 1px solid var(--rule);
}

.theme-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s var(--ease-expo);
}
.theme-stack-card:hover .theme-card-media img {
  transform: scale(1.025);
}

.theme-card-body {
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
}

.theme-card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.theme-card-name {
  font-size: clamp(2rem, 3vw, 2.85rem);
  margin-bottom: 12px;
}

.theme-card-desc {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.theme-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-card-sublinks {
  display: flex;
  gap: 10px;
}
.theme-card-sublinks .btn { flex: 1; }

/* ==========================================================================
   CHAPTER 5 — THE $500 ALL-IN OFFER + FULL-STACK AI CAPABILITIES
   ========================================================================== */

.offer-sheet {
  border-radius: 26px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  padding: clamp(28px, 4.5vw, 56px);
  margin-bottom: 56px;
}

.offer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.offer-price {
  font-family: var(--font-mono);
  font-size: clamp(4.2rem, 8.5vw, 7.2rem);
  font-weight: 500;
  line-height: 0.92;
  color: var(--ink);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.offer-price-sub {
  font-size: 0.94rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.bonus-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  margin-bottom: 24px;
  width: 100%;
  max-width: 380px;
}

.bonus-opt {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.bonus-opt[aria-pressed="true"] {
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.offer-list li:first-child { padding-top: 0; }
.offer-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.offer-list__idx {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
}
.offer-list__title {
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.offer-list__desc {
  font-size: 0.88rem;
  color: var(--ink-2);
}
.offer-list__tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold);
  white-space: nowrap;
}

/* Full-Stack AI Capabilities Strip */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.stack-col {
  padding: 30px 24px 0 0;
  border-right: 1px solid var(--rule);
}
.stack-col:not(:first-child) { padding-left: 24px; }
.stack-col:last-child { border-right: 0; padding-right: 0; }

.stack-col h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.stack-col p {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ==========================================================================
   CHAPTER 6 — THE PERSON: EDITORIAL 4:5 PORTRAIT (nhan-casual.jpg) + PROCESS
   ========================================================================== */

.person-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.person-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: var(--bg-panel);
}

.person-photo-frame img {
  position: relative;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 26%;
}

.person-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 24px;
}

.person-bio {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 54ch;
  margin-bottom: 36px;
}
.person-bio strong { color: var(--ink); font-weight: 500; }

.process-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.process-step__text {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   CHAPTER 7 — SCROLL-SCALED CLOSING CTA & FOOTER + FLOATING HUMAN MESSENGER
   ========================================================================== */

.close-chapter {
  padding: clamp(104px, 13vw, 180px) 0 clamp(84px, 9vw, 128px);
  text-align: center;
  border-top: 1px solid var(--rule);
}

.close-headline {
  font-size: clamp(2.8rem, 6.8vw, 6.2rem);
  line-height: 1.02;
  max-width: 15ch;
  margin: 0 auto 24px;
  will-change: transform, opacity;
}

.close-sub {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 auto 38px;
}

.close-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Minimal Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0 92px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a:hover { color: var(--gold); }

/* Floating Human Messenger + Email Pill (Opus QC — revealed cleanly after Hero) */
.contact-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-expo), transform 0.35s var(--ease-expo);
}
.contact-dock.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mess-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.85);
  transition: transform 0.25s var(--ease-expo), border-color 0.25s ease;
}
.mess-pill:hover { transform: translateY(-2px); border-color: var(--gold); }

.mess-pill__avatar-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.mess-pill__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}
.mess-pill__dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  border: 2px solid var(--bg-panel);
}

.mail-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.85);
  transition: transform 0.25s var(--ease-expo), border-color 0.25s ease, color 0.25s ease;
}
.mail-circle:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }

/* Live Interactive Theme Preview Modal + Fullscreen Video Modal */
.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 8, 9, 0.96);
  display: flex;
  flex-direction: column;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-expo);
}
.modal-shell.is-open { opacity: 1; pointer-events: auto; }

.modal-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  margin-bottom: 12px;
}

.modal-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: #0B0D0F;
  transition: width 0.38s var(--ease-expo);
}
.modal-shell.is-phone .modal-iframe { width: 390px; max-width: 100%; }

.modal-video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  border: 1px solid var(--rule-strong);
  background: #000;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE-FIRST DEGRADATION, ZERO PIN ON MOBILE)
   ========================================================================== */

/* ==========================================================================
   MOBILE-FIRST CHOREOGRAPHY (390×844 NATIVE-APP FEEL · OPUS V5 QC)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --chapter-gap: clamp(64px, 12vw, 96px);
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: var(--nav-h);
  }

  /* Hide desktop absolute portrait; show crisp mobile split portrait between headline lines! */
  .hero__portrait-stage { display: none; }
  .hero__atmosphere { height: 520px; }
  .hero__orbit--outer { width: 310px; height: 310px; top: 44%; }
  .hero__orbit--inner { width: 225px; height: 225px; top: 44%; }

  .hero__stage-ui {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 44px;
    gap: 14px;
  }

  .hero__offer-chip {
    font-size: 0.74rem;
    padding: 6px 13px;
  }

  .hero__wings {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding-bottom: 0;
  }
  .hero__wing--left,
  .hero__wing--right {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .hero__wing-kicker,
  .hero__wing-meta { display: none; }
  .hero__wing-line { font-size: clamp(2.35rem, 10vw, 3.3rem); line-height: 1.02; }

  .hero__mobile-portrait {
    display: block;
    width: min(330px, 84vw);
    aspect-ratio: 1 / 0.94;
    margin: -8px auto -24px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
    mask-composite: intersect;
  }
  .hero__mobile-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
  }

  .hero__wing--right { position: relative; z-index: 3; }
  .hero__deck { gap: 14px; margin-top: 6px; }
  .hero__lead { font-size: 0.92rem; }
  .hero__scroll-cue { display: inline-flex; margin-top: 8px; }

  /* Mobile #flow-scrub: Pinned 100svh with upper 60% clean for Porsche 911! */
  .flow-scrub__pin {
    height: calc(100svh - var(--nav-h));
    min-height: 520px;
  }
  .flow-scrub__scrim {
    background: linear-gradient(180deg, #060809 0%, transparent 14%, transparent 52%, rgba(6, 8, 9, 0.88) 76%, #060809 100%);
  }
  .flow-scrub__overlay { padding-bottom: 20px; }
  .flow-scrub__beats { min-height: 175px; }
  .flow-beat__title { font-size: clamp(1.85rem, 7.6vw, 2.4rem); margin-bottom: 8px; }
  .flow-beat__copy { font-size: 0.86rem; line-height: 1.48; }
  .flow-beat__cta { margin-top: 12px; }
  .flow-scrub__hud { margin-top: 14px; }

  /* Mobile #kinetic-band: Single crisp serif row */
  .kinetic-band { padding-block: 16px; }
  .kinetic-row--mono { display: none; }

  /* Mobile #growth-3d: Pinned 100svh — top 46% CLEAN for rising 3D Gold Monoliths, bottom 54% compact HUD sheet! */
  .growth-3d__pin {
    height: calc(100svh - var(--nav-h));
    min-height: 560px;
  }
  .growth-3d__scrim {
    background: linear-gradient(180deg, rgba(6, 8, 9, 0.65) 0%, transparent 14%, transparent 40%, rgba(6, 8, 9, 0.88) 58%, #060809 100%);
  }
  .growth-3d__ui {
    padding-block: 12px 14px;
    gap: 8px;
  }
  .growth-3d__top {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }
  .growth-3d__side { display: none; }
  .growth-3d__slider { width: 100%; max-width: 280px; margin-inline: auto; }

  .growth-3d__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-block: auto 0;
  }
  .growth-3d__headlines { margin-bottom: 8px; }
  .g3d-kicker { font-size: 0.65rem; margin-bottom: 4px; }
  .g3d-title { font-size: clamp(1.55rem, 6.8vw, 2.1rem); margin-bottom: 4px; }
  .g3d-sub { display: none; }

  .g3d-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .g3d-kpi {
    padding: 9px 11px;
    border-radius: 11px;
    background: rgba(11, 14, 17, 0.92);
  }
  .g3d-kpi__top { flex-direction: column; gap: 2px; margin-bottom: 5px; }
  .g3d-kpi__name { font-size: 0.68rem; }
  .g3d-kpi__val { font-size: 1.02rem; }
  .g3d-kpi__bar { margin-bottom: 0; }
  .g3d-kpi__note { display: none; }

  .growth-3d__chart-card {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(11, 14, 17, 0.92);
  }
  .g3d-chart-head { margin-bottom: 4px; align-items: center; }
  .g3d-chart-eyebrow { font-size: 0.62rem; margin-bottom: 0; }
  .g3d-chart-title { display: none; }
  .g3d-chart-delta { font-size: 0.78rem; padding: 3px 9px; }
  .g3d-svg-wrap { margin-bottom: 0; }
  .g3d-svg { max-height: 76px; }
  .g3d-milestones--desk, .g3d-chart-cta { display: none; }

  /* Mobile static 3-step roadmap cleanly below pinned 3D stage */
  .g3d-mobile-roadmap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 26px;
    padding-bottom: 36px;
  }
  .g3d-m-step {
    padding: 16px;
    border-radius: 14px;
    background: var(--bg-panel);
    border: 1px solid var(--rule);
  }
  .g3d-m-step span { font-size: 0.7rem; color: var(--gold); display: block; margin-bottom: 4px; }
  .g3d-m-step strong { display: block; font-size: 0.98rem; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
  .g3d-m-step p { font-size: 0.84rem; color: var(--ink-2); line-height: 1.45; }

  .chap-head,
  .theme-card-grid,
  .offer-top,
  .person-grid { grid-template-columns: minmax(0, 1fr); }

  .chap-note { justify-self: start; }
  .metrics-grid, .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-cell { padding: 20px 14px; border-bottom: 1px solid var(--rule); }
  .metric-cell:nth-child(2n) { border-right: 0; }
  .stack-col { padding: 22px 14px 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .stack-col:not(:first-child) { padding-left: 0; }
  .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }

  /* Mobile #videos: Native 82vw snap peek carousel + dots */
  .reel-chapter { padding-block: 64px; }
  .reel-track-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .reel-track-viewport::-webkit-scrollbar { display: none; }
  .reel-track { gap: 16px; padding-inline: 20px 36px; }
  .reel-card,
  .reel-card--wide {
    width: 82vw;
    max-width: 340px;
    scroll-snap-align: center;
    opacity: 1;
    transform: none;
  }
  .reel-frame,
  .reel-card--wide .reel-frame { aspect-ratio: 9 / 13.5; margin: 0; }

  .reel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .reel-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(243, 239, 230, 0.22);
    transition: width 0.3s var(--ease-expo), background-color 0.3s ease;
  }
  .reel-dots span.is-active {
    width: 24px;
    background: var(--gold);
  }

  /* Mobile #themes-5: KEEP OPAQUE STICKY CARD STACKING (Apple Wallet feel, ZERO ghosting!) */
  .themes-stack { gap: 24px; }
  .theme-stack-card {
    position: sticky;
    top: calc(var(--nav-h) + 12px + var(--stack-i, 0) * 10px);
    border-radius: 20px;
  }
  .theme-card-media { border-right: 0; border-bottom: 1px solid var(--rule); aspect-ratio: 16 / 10; }
  .theme-card-body { padding: 20px; gap: 16px; }
  .theme-card-name { font-size: 1.9rem; margin-bottom: 6px; }
  .theme-card-desc { font-size: 0.86rem; line-height: 1.5; }
}

@media (max-width: 768px) {
  .nav-links, .nav-mail, .nav-cta-desktop, .nav-brand__sub { display: none; }
  .menu-btn { display: inline-flex; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-cell { padding: 18px 10px; }
  .metric-cell__val { font-size: 1.9rem; }
  .stack-grid, .process-row { grid-template-columns: minmax(0, 1fr); }
  .offer-list li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .offer-list__tag { grid-column: 2; }
  .bonus-opt { min-height: 44px; }
  .theme-card-sublinks { flex-direction: row; }

  /* Mobile #google-ads: Transform data table into crisp stacked campaign cards! */
  .ads-table-wrap { overflow-x: visible; }
  .ads-table thead { display: none; }
  .ads-table, .ads-table tbody { display: block; width: 100%; }
  .ads-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: var(--bg-panel);
    border: 1px solid var(--rule);
  }
  .ads-table td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 0.88rem;
  }
  .ads-table td.client-col { grid-column: 1 / -1; font-size: 1rem; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
  .ads-table td:nth-child(2) { grid-column: 1 / -1; font-size: 0.8rem; color: var(--ink-muted); }
  .ads-table td.num::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: var(--ink-muted);
    margin-bottom: 2px;
  }
  .ads-table td.num { font-size: 1.08rem; }

  .contact-dock { right: 12px; bottom: 12px; gap: 6px; }
  .mess-pill { padding: 4px; gap: 0; }
  .mess-pill > span:last-child { display: none; }
  .mail-circle { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.js-armed .reveal:not(.is-in) { opacity: 1 !important; transform: none !important; }
}
