/* =====================================================
   USACZ · MOTION DESIGN SYSTEM
   Twinbru-inspired · Navy + Gold Monochrome
   ===================================================== */

:root {
  --bg-deep: #000000;        /* pure black per user — cinematic */
  --bg-mid: #050505;
  --bg-cream: #FAF7EE;
  --gold: #C9A24B;
  --gold-bright: #E5C77E;
  --gold-dim: #8C6B36;
  --ink: rgba(255, 246, 224, 0.96);
  --ink-dim: rgba(255, 246, 224, 0.55);
  --ink-faint: rgba(255, 246, 224, 0.16);
  --red: #8B2E2E;
  --red-bright: #C44545;
}

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

html { scroll-behavior: auto; overflow-x: clip; }

body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: 'Inter', 'Noto Serif SC', sans-serif;
  /* overflow-x: clip (NOT hidden) — clips horizontal overflow without creating a
     scroll container, so position:sticky on .fear-pin / .step-pin still works,
     and position:fixed nav on iOS Safari is not re-anchored. */
  overflow-x: clip;
  cursor: auto;  /* native cursor restored — partners need precise click points */
  min-height: 100vh;
}

/* Per-section width safety */
section, .footer, .hero, .nav { max-width: 100vw; box-sizing: border-box; }

/* Defensive clip on scenes that contain absolutely-positioned giant decorations
   (fear-num-bg / step-num-bg can extend beyond viewport via left/right: -3vw) */
.fear-scene, .step-scene, .journey { overflow-x: clip; }

@media (max-width: 800px) {
  body { cursor: auto; }
}

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
button:focus { outline: none; }

img { max-width: 100%; display: block; }

/* =====================================================
   1. INTRO CEREMONY
   ===================================================== */
.intro {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9000;                           /* below .nav (9999) so nav is always reachable */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: introSafetyFade 0.6s ease-out 3s forwards;  /* fail-safe: auto-hide if JS errors */
}
@keyframes introSafetyFade {
  to { opacity: 0; visibility: hidden; }
}
/* Mobile keeps the same intro reveal as desktop — feels premium */
@media (max-width: 700px) {
  .intro-mark .o8b-full { font-size: clamp(1.4rem, 7vw, 2.2rem); letter-spacing: 0.2em; }
  .intro-mark .domain   { font-size: 0.55rem; letter-spacing: 0.4em; }
  .intro-sub            { font-size: 0.55rem; letter-spacing: 0.35em; padding: 0 24px; text-align: center; }
}

.intro-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
}

.intro-dot { display: none; }
.intro-line {
  width: 30vw;
  max-width: 360px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  margin-bottom: 20px;
}

/* Slot-machine counter — disabled */
.intro-counter { display: none !important; }

/* =====================================================
   ★ LUSION-LEVEL CINEMA EFFECTS ★
   ===================================================== */

/* Marquee infinite scroll bar */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  padding: 28px 0;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.25);
}
.marquee-strip::before, .marquee-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 3; pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  animation: marquee 38s linear infinite;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);
  color: var(--ink);
  letter-spacing: 0.04em;
}
.marquee-track > span { flex-shrink: 0; display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  flex-shrink: 0; box-shadow: 0 0 10px var(--gold);
}
.marquee-track .gold {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 800px) {
  .marquee-track { font-size: 1.05rem; gap: 32px; }
  .marquee-track > span { gap: 32px; }
}

/* Cursor trail dots (lagging behind portal) */
.cursor-trail {
  position: fixed;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 8990;
  opacity: 0;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
@media (max-width: 800px) {
  .cursor-trail { display: none; }
}

/* Magnetic CTA buttons — handled via JS, just smooth transition */
.btn { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, color 0.4s, border-color 0.4s; }

/* Section divider gold curtain */
.curtain-divider {
  height: 200px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.curtain-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.curtain-divider.in::before { transform: scaleX(1); }
.curtain-divider .glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  /* upright + rounded — Inter sans-serif gives a clean symmetric ∞ */
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  background: var(--bg-deep);
  padding: 0 24px;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.curtain-divider.in .glyph { transform: translate(-50%, -50%) scale(1); }

/* Section reveal mask (Lusion-style scroll-triggered word reveal) */
.reveal-words .word-line {
  display: block;
  overflow: hidden;
}
.reveal-words .word-line span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s;
}
.reveal-words.in .word-line span {
  transform: translateY(0);
  opacity: 1;
}
.reveal-words.in .word-line:nth-child(1) span { transition-delay: 0s; }
.reveal-words.in .word-line:nth-child(2) span { transition-delay: 0.1s; }
.reveal-words.in .word-line:nth-child(3) span { transition-delay: 0.2s; }
.reveal-words.in .word-line:nth-child(4) span { transition-delay: 0.3s; }

.intro-mark {
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--ink);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.intro-mark .o8b-full {
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
}
.intro-mark .domain {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  letter-spacing: 0.5em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.intro-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.65rem, 1vw, 0.85rem);   /* match .intro-mark .domain */
  letter-spacing: 0.5em;                      /* match .intro-mark .domain */
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  text-align: center;
  margin-left: 0;                             /* center under wordmark — no legacy SUMMIT EDGE shift */
  text-indent: 0.55em;
}
.intro-sub:empty { display: none; }

/* =====================================================
   2. CURSOR PORTAL
   ===================================================== */
.cursor-portal {
  /* Subtle ambient ring — native cursor stays visible for precise clicks.
     Ring is purely decorative, much smaller than before (was 80px, now 32px). */
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: difference;
  opacity: 0.55;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s;
  top: 0;
  left: 0;
}

.cursor-portal::before {
  /* Center dot removed — native cursor IS the center now */
  display: none;
}

.cursor-portal.expanded {
  /* On hover over interactive: ring expands subtly to signal "clickable" */
  width: 56px;
  height: 56px;
  opacity: 0.85;
}

@media (max-width: 800px) {
  .cursor-portal { display: none; }
}

/* =====================================================
   3. PARTICLE BG + WEBGL GLOBE
   ===================================================== */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

/* Three.js globe canvas — fixed background, behind everything */
.globe-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
@media (max-width: 700px) {
  /* keep globe visible on mobile, just dim it slightly so headlines stay legible */
  .globe-bg { opacity: 0.55; }
}

/* =====================================================
   4. NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;                       /* boosted from 100 to 200 — sit above all 3D canvases */
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  isolation: isolate;                  /* create own stacking context */
  pointer-events: auto;                /* explicit — defeat any inherited none */
}
.nav a, .nav-links a {
  pointer-events: auto !important;     /* nav links must always be clickable */
  position: relative;
  z-index: 1;
}

.nav-mark {
  display: flex;
  align-items: center;
}
.nav-mark a {
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  word-spacing: 0.16em;
  white-space: nowrap;
}
.nav-mark .inf {
  color: var(--gold);
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.35em;
  letter-spacing: normal;
  display: inline-block;
  vertical-align: -0.08em;
  margin: 0 0.22em;   /* upright + rounded ∞ — natural symmetry, no compensation needed */
}
.nav-mark .domain { display: none; }  /* hide o8b.com text in nav per user */
@media (max-width: 800px) {
  .nav-mark a { font-size: 0.78rem; letter-spacing: 0.12em; word-spacing: 0.1em; }
}

/* Brand inline (used in big headlines like final-h) */
.brand-inline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  word-spacing: 0.12em;
  font-size: 0.7em;
  color: var(--gold);
  white-space: nowrap;
  font-style: normal;
}
.brand-inline .inf {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.3em;
  letter-spacing: normal;
  display: inline-block;
  vertical-align: -0.08em;
  margin: 0 0.22em;   /* upright + rounded ∞ — symmetric */
}

/* O8B universal wordmark for any context */
.o8b-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.o8b-mark .inf {
  color: var(--gold);
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.4em;
  margin: 0 0.22em;   /* upright + rounded ∞ — symmetric */
  display: inline-block;
  vertical-align: -0.08em;
}
.o8b-full {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  word-spacing: 0.18em;
  white-space: nowrap;
  word-break: keep-all;
}
.o8b-full .inf {
  color: var(--gold);
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  letter-spacing: normal;
  display: inline-block;
  vertical-align: -0.08em;
  margin: 0 0.22em;   /* upright + rounded ∞ — symmetric */
}
/* Inline use within big headlines — smaller relative size + keep nowrap */
.final-h .o8b-full, .type-headline .o8b-full {
  letter-spacing: 0.14em;
  word-spacing: 0.14em;
  font-size: 0.65em;
  font-weight: 600;
  vertical-align: baseline;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.active { color: var(--gold); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-status {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  position: relative;
  width: 28px;
  height: 22px;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 110;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.nav-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);   /* pure-black scrim, matches brand */
  backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.4s;
}
.nav-overlay.open { display: block; opacity: 1; }

@media (max-width: 800px) {
  .nav { padding: 16px 24px; }
  .nav-status { display: none; }
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: #000000;        /* hard black, no navy bleed */
    border-left: 1px solid rgba(201, 162, 75, 0.35);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 80px 40px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 105;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 1.2rem !important;
    letter-spacing: 0.4em !important;
    color: #FFFFFF !important;
    font-weight: 500;
  }

  .nav-links a:hover {
    color: var(--gold) !important;
  }

  .nav-links a.active {
    color: var(--gold) !important;
  }
}

/* =====================================================
   5. SHARED LABEL COMPONENT
   ===================================================== */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.label::before, .label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.label.solo::before { display: none; }
.label.solo::after { display: none; }

/* =====================================================
   6. TYPE MOMENT
   ===================================================== */
.type-moment {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 80px 48px;
}

.type-label { margin-bottom: 60px; }

.type-headline {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 1400px;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Each "line" in a type-headline (separated by <br>) should not break further */
.type-headline > .line { display: block; white-space: nowrap; }
@media (max-width: 700px) {
  .type-headline > .line { white-space: normal; }
}

/* English subtitle below a type-headline */
.type-en-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: var(--gold);
  margin-top: 24px;
  letter-spacing: 0.04em;
  text-align: center;
  word-break: normal;
}

.type-headline .accent {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.type-headline .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
}

.type-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  color: var(--ink-dim);
  margin-top: 48px;
  max-width: 700px;
  line-height: 1.6;
}

/* =====================================================
   7. HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 0 48px;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  position: relative;
}

.hero-label {
  margin-bottom: 40px;
  opacity: 0;
}

.hero-h1 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 12vw, 12rem);
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.hero-h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.1;
}

.hero-h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-h1 .accent {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-dim);
  letter-spacing: 0.3em;
  margin-bottom: 80px;
  opacity: 0;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  text-align: center;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--ink-faint);
  margin: 14px auto 0;
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--gold-bright));
  animation: scrollLineFlow 1.8s infinite;
}

@keyframes scrollLineFlow {
  to { top: 48px; }
}

/* =====================================================
   8. CTA BUTTON
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 36px;
  border: 1px solid var(--gold);
  background: rgba(201, 162, 75, 0.04);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover {
  color: var(--bg-deep);
}

.btn span { position: relative; z-index: 1; }

.btn-arrow {
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  z-index: 1;
}

.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn.ghost {
  border-color: var(--ink-faint);
  background: transparent;
  color: var(--ink-dim);
}

.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn.ghost::before { display: none; }

/* =====================================================
   9. STATS GRID
   ===================================================== */
.stats {
  min-height: 100vh;
  padding: 140px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.stats-label { margin-bottom: 48px; }

.stats-h {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 6.5rem);
  text-align: center;
  margin: 0 auto 100px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 1400px;
  word-break: keep-all;
  white-space: normal;
  padding: 0 24px;
}

.stats-h .accent {
  color: var(--gold);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
}

.stat-card {
  border: 1px solid var(--ink-faint);
  padding: 56px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.04);
}

.stat-card:hover::before { opacity: 1; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 32px 16px; }
  .stats-h { margin-bottom: 60px; }
}

/* =====================================================
   10. FEAR / PAIN CARDS
   ===================================================== */
.fears {
  min-height: 100vh;
  padding: 140px 48px;
  position: relative;
  z-index: 2;
}

.fears-header {
  max-width: 1300px;
  margin: 0 auto 80px;
  text-align: center;
}

.fears-label { margin-bottom: 32px; }

.fears-h {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 7.5vw, 7.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.fears-h .accent {
  color: var(--gold);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.fears-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.fears-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.fear-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--ink-faint);
  padding: 48px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.fear-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fear-card:hover {
  background: rgba(201, 162, 75, 0.05);
  border-color: var(--gold);
  transform: translateY(-8px);
}

.fear-card:hover::before { transform: scaleX(1); }

.fear-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 32px;
}

.fear-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 12px;
}

.fear-h {
  font-family: 'Noto Serif SC', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.3;
}

.fear-q {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-top: auto;
}

@media (max-width: 1100px) {
  .fears-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .fears-grid { grid-template-columns: 1fr; }
  .fear-card { min-height: auto; }
}

/* =====================================================
   11. STEPS / OBP 4-STEP
   ===================================================== */
.steps {
  padding: 140px 48px;
  position: relative;
  z-index: 2;
}

.steps-header {
  max-width: 1300px;
  margin: 0 auto 100px;
  text-align: center;
}

.steps-label { margin-bottom: 32px; }

.steps-h {
  font-family: 'Noto Serif SC', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

.steps-h .accent {
  color: var(--gold);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.steps-list {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.step-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--ink-faint);
  align-items: start;
  cursor: pointer;
  transition: background 0.4s;
  position: relative;
}

.step-row:last-child { border-bottom: 1px solid var(--ink-faint); }

.step-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.step-row:hover::before { opacity: 1; }

.step-row:hover .step-num {
  color: var(--gold);
  transform: translateX(8px);
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--ink-dim);
  line-height: 1;
  transition: all 0.4s;
}

.step-content { padding-top: 8px; }

.step-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.step-h {
  font-family: 'Noto Serif SC', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.3;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: 600px;
}

.step-meta {
  text-align: right;
  padding-top: 8px;
}

.step-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.step-meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
}

@media (max-width: 900px) {
  .step-row { grid-template-columns: 60px 1fr; gap: 24px; padding: 40px 0; }
  .step-meta { display: none; }
  .step-num { font-size: 2.4rem; }
}

/* =====================================================
   12. CASES SHOWCASE
   ===================================================== */
.cases {
  padding: 140px 48px;
  position: relative;
  z-index: 2;
}

.cases-header {
  max-width: 1300px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
}

.cases-headline {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 1100px;
}

.cases-headline .accent {
  color: var(--gold);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.case-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--ink-faint);
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover { border-color: var(--gold); }
.case-card:hover::before { transform: scaleY(1); }

.case-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.case-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.case-name .en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  display: block;
  font-size: 0.95rem;
  color: var(--ink-dim);
  margin-top: 4px;
}

.case-meta {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-faint);
}

.case-meta-item {
  flex: 1;
}

.case-meta-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.case-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-header { flex-direction: column; align-items: start; }
}

/* =====================================================
   13. FOOTER
   ===================================================== */
.footer {
  padding: 100px 48px 60px;
  border-top: 1px solid var(--ink-faint);
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 80px;
}

.footer-brand {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand .o8b-full {
  font-size: 1.4rem;
  color: var(--ink);
}
.footer-brand .domain {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-h {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul { list-style: none; }

.footer-col li {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col li a:hover, .footer-col li:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--ink-faint);
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .footer { padding: 80px 32px 40px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
    margin-bottom: 56px;
  }
  .footer-inner > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ink-faint);
  }
  .footer-brand { align-items: center; }
  .footer-tagline { max-width: 100%; text-align: center; margin: 0 auto; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 32px;
  }
}
@media (max-width: 600px) {
  .footer { padding: 56px 22px 28px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-bottom: 40px;
  }
  .footer-inner > div:first-child { padding-bottom: 22px; margin-bottom: 4px; }
  .footer-brand .o8b-full {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    word-spacing: 0.1em;
    color: var(--ink);
  }
  .footer-brand .domain {
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    margin-top: 4px;
  }
  .footer-tagline {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 14px;
  }
  .footer-col-h {
    font-size: 0.55rem;
    letter-spacing: 0.32em;
    margin-bottom: 14px;
    color: var(--gold);
  }
  .footer-col li {
    font-size: 0.82rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .footer-bottom {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    padding-top: 22px;
    line-height: 1.7;
  }
}
@media (max-width: 380px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div:first-child { border-bottom: 1px solid var(--ink-faint); padding-bottom: 22px; }
  .footer-col { text-align: center; }
}

/* =====================================================
   14. PAGE HERO (sub-pages)
   ===================================================== */
.page-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 60px;
  position: relative;
  z-index: 2;
}

.page-hero-label { margin-bottom: 40px; }

/* === Shared FINALE wordmark — Ai 赋能 出海 + OPEN ∞ BUSINESS gold flat === */
.final-h .ai-mark {
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-right: 0.18em;
}
.final-brandline {
  margin-bottom: 60px;
  text-align: center;
}
.final-brandline .brand-full-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7em, 2.4vw, 1.6em);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 2.2rem);
  color: var(--gold);
  white-space: nowrap;
}
.final-brandline .brand-full-gold > .bw { letter-spacing: 0.22em; }
.final-brandline .brand-full-gold .inf {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.35em;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.page-hero-h1 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 11vw, 11rem);
  line-height: 1.0;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
  max-width: 1400px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .page-hero { padding: 110px 16px 50px; }
  .page-hero-h1 {
    white-space: nowrap;     /* 出海六步赋能法 强制单行 */
    font-size: 11vw;
    letter-spacing: -0.03em;
  }
  .hero-h1 {
    font-size: clamp(2.6rem, 11vw, 5rem);
    letter-spacing: -0.02em;
  }
  .hero-sub {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    margin-bottom: 40px;
    line-height: 1.7;
  }
  .hero { padding: 0 24px; }
  /* type-headline / fears-h on mobile — let them shrink instead of overflow */
  .type-headline { font-size: clamp(2rem, 9vw, 4rem); }
  .fears-h { font-size: clamp(2rem, 9vw, 4rem); }
}

.page-hero-h1 .accent {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.page-hero-h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.1;
  padding-right: 0.04em;        /* breathing room so chars don't clip */
}
.page-hero-h1 .word.accent {
  padding-right: 0.22em;        /* italic Chinese leans right—give it room */
  margin-right: -0.05em;        /* tighten visual gap */
}

.page-hero-h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--ink-dim);
  max-width: 700px;
  line-height: 1.6;
}

/* =====================================================
   15. UTILITY
   ===================================================== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-faint) 30%, var(--ink-faint) 70%, transparent);
  margin: 0 auto;
  max-width: 1200px;
}

.section-spacer { height: 100px; }

[data-fade] { opacity: 0; }

/* Reveal helpers */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-up.in { opacity: 1; transform: translateY(0); transition: opacity 0.9s, transform 0.9s; }
