/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   LUXE â€” cinematic.css
   Combined cinematic experience: Folder1 + Folder2 (447 frames, 8 sections)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

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

:root {
  --black:   #000000;
  --dark:    #000000;
  --grey:    #111111;
  --grey2:   #1a1a1a;
  --white:   #ffffff;
  --silver:  #c8c8c8;
  --dim:     #999999;
  --blue:    #3b82f6;
  --blue2:   #60a5fa;
  --ease:    cubic-bezier(0.16,1,0.3,1);
  /* Cormorant Garamond for luxury display headlines */
  --font-d:  'Cormorant Garamond', Georgia, serif;
  --font-b:  'Inter', system-ui, sans-serif;
}

html {
  height: 100%;
  scroll-behavior: auto; /* JS controls scroll behavior */
}

body {
  /* height set dynamically by JS â€” tall enough to scroll all 447 frames */
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  overflow-x: hidden;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LOADER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#loader {
  position: fixed; inset: 0;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 1.4s cubic-bezier(0.16,1,0.3,1), visibility 1.4s;
}
#loader.out { opacity: 0; visibility: hidden; pointer-events: none; }

/* Decorative grid lines */
.loader-grid { position: absolute; inset: 0; pointer-events: none; }
.lg-h {
  position: absolute; left: 0; right: 0; height: 1px;
  top: 33.33%;
  background: linear-gradient(to right, transparent, rgba(192,160,96,0.07) 20%, rgba(192,160,96,0.07) 80%, transparent);
}
.lg-h2 { top: 66.66%; }
.lg-v {
  position: absolute; top: 0; bottom: 0; width: 1px;
  left: 33.33%;
  background: linear-gradient(to bottom, transparent, rgba(192,160,96,0.07) 20%, rgba(192,160,96,0.07) 80%, transparent);
}
.lg-v2 { left: 66.66%; }

/* Corner marks */
.loader-corner {
  position: absolute;
  width: 28px; height: 28px;
  pointer-events: none;
}
.loader-corner::before, .loader-corner::after {
  content: ''; position: absolute;
  background: rgba(192,160,96,0.45);
}
.loader-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
.loader-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }
.lc-tl { top: 40px; left: 40px; }
.lc-tr { top: 40px; right: 40px; transform: scaleX(-1); }
.lc-bl { bottom: 40px; left: 40px; transform: scaleY(-1); }
.lc-br { bottom: 40px; right: 40px; transform: scale(-1); }

.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  width: clamp(260px, 30vw, 420px);
  position: relative; z-index: 1;
}

.loader-emblem { margin-bottom: 32px; }
.loader-emblem svg {
  width: clamp(100px, 14vw, 160px);
  height: clamp(100px, 14vw, 160px);
  color: #fff;
  display: block;
}

.loader-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #fff;
  margin-bottom: 8px;
}
.lw-dot { color: rgba(192,160,96,0.9); margin: 0 4px; }

.loader-tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(192,160,96,0.55);
  margin-bottom: 48px;
}

.loader-pct {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 300;
  color: rgba(255,255,255,0.07);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.loader-bar-track {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.07);
  position: relative;
  margin-bottom: 18px;
  overflow: visible;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, rgba(192,160,96,0.3), rgba(192,160,96,1));
  transition: width 0.3s linear;
  position: relative;
}
.loader-bar-fill::after {
  content: '';
  position: absolute; right: -3px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(192,160,96,1);
  box-shadow: 0 0 14px 4px rgba(192,160,96,0.55);
}

.loader-status {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px; font-weight: 300;
  letter-spacing: 0.38em; color: rgba(255,255,255,0.22);
  text-transform: uppercase;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVIGATION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(8,8,8,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
#nav.visible { opacity: 1; }

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
}
.nav-brand svg { width: 32px; height: 32px; }
.nav-brand span {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.4em; text-transform: uppercase;
}

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

.nav-play-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  border-radius: 0;
}
.nav-play-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.nav-play-btn svg { width: 13px; height: 13px; }

.nav-cta-btn {
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}
.nav-cta-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TIMELINE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#timeline {
  position: fixed; bottom: 36px; left: 48px; right: 48px;
  height: 2px; background: rgba(255,255,255,0.08);
  z-index: 1000;
  cursor: pointer;
  opacity: 0; transition: opacity 0.8s var(--ease);
}
#timeline.visible { opacity: 1; }
#timeline:hover { background: rgba(255,255,255,0.15); }

#timeline-progress {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--white));
  transition: none;
  position: relative;
}

#timeline-handle {
  position: absolute; top: 50%; left: 0%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px 2px rgba(59,130,246,0.6);
  transition: transform 0.15s;
}
#timeline:hover #timeline-handle { transform: translate(-50%,-50%) scale(1.4); }

.timeline-markers {
  position: absolute; bottom: 12px; left: 0; right: 0;
  pointer-events: none;
}
.tl-marker {
  position: absolute; transform: translateX(-50%);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  white-space: nowrap;
  transition: color 0.3s;
}
#timeline:hover .tl-marker { color: rgba(255,255,255,0.65); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CANVAS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#mainCanvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  display: block;
  z-index: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION OVERLAYS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: flex-end;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.section-overlay.hidden { opacity: 0; pointer-events: none; }
.section-overlay.visible { opacity: 1; }
.section-overlay * { pointer-events: auto; }

/* Inner layout variants */
.s-inner {
  padding: 0 72px 80px;
  max-width: 680px;
}
.s-inner--right {
  margin-left: auto;
  text-align: left;
  padding: 0 72px 80px;
}
.s-inner--bottom {
  width: 100%; max-width: none;
  display: flex; flex-direction: column;
  padding: 0 72px 80px;
}

/* typography */
.s-label {
  font-family: var(--font-b);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s 0.05s var(--ease), transform 0.7s 0.05s var(--ease);
}
.section-overlay.visible .s-label { opacity: 1; transform: none; }

.s-headline {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05; letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.9), 0 4px 48px rgba(0,0,0,0.6);
}
#section-hero .s-headline { font-size: clamp(52px, 7vw, 100px); }
.s-headline .line1, .s-headline .line2 { display: block; }
.s-headline .italic { font-style: italic; }
.s-headline .line2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.75);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.9));
  text-shadow: none;
}
.s-headline--lg  { font-size: clamp(44px, 5.5vw, 80px); }
.s-headline--xl  { font-size: clamp(56px, 7.5vw, 110px); }

.s-headline {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s 0.15s var(--ease), transform 0.8s 0.15s var(--ease);
}
.section-overlay.visible .s-headline { opacity: 1; transform: none; }

.s-sub {
  font-size: clamp(14px, 1.1vw, 17px); font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.80); max-width: 420px; margin-bottom: 40px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.25s var(--ease), transform 0.8s 0.25s var(--ease);
}
.section-overlay.visible .s-sub { opacity: 1; transform: none; }

/* CTA buttons */
.s-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s 0.35s var(--ease), transform 0.8s 0.35s var(--ease);
}
.section-overlay.visible .s-ctas { opacity: 1; transform: none; }

.cta-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white); color: var(--black);
  font-family: var(--font-b); font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6); cursor: pointer;
  border-radius: 50px;
  transition: all 0.4s var(--ease);
}
.cta-primary:hover { 
  background: var(--white); 
  transform: translateY(-2px); 
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.cta-ghost {
  display: inline-block;
  padding: 16px 40px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--font-b); font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.4s var(--ease);
}
.cta-ghost:hover { 
  border-color: rgba(255,255,255,0.8); 
  background: rgba(255,255,255,0.1); 
  box-shadow: 0 0 15px rgba(255,255,255,0.15); 
  transform: translateY(-2px); 
}

/* Scroll hint */
.s-scroll-hint {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.55); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
  opacity: 0; transition: opacity 0.8s 0.6s var(--ease);
}
.section-overlay.visible .s-scroll-hint { opacity: 1; }

.hint-line {
  width: 36px; height: 1px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden;
}
.hint-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--white);
  animation: hint-pulse 2.5s ease-in-out infinite;
}
@keyframes hint-pulse { 0%{left:-100%} 50%{left:100%} 100%{left:-100%} }

/* Reveal tags */
.reveal-tags {
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.section-overlay.visible .reveal-tags { opacity: 1; transform: none; }
.s-inner--right .reveal-tags { align-items: flex-end; }

.r-tag { display: flex; align-items: center; gap: 12px; }
.r-dot { width:5px; height:5px; border-radius:50%; background:var(--white); flex-shrink:0; }
.r-tag span:last-child { font-size:13px; font-weight:400; letter-spacing:0.05em; color:var(--white); }

/* Exterior features */
.ext-features {
  display: flex; gap: 0;
  margin-top: 48px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.section-overlay.visible .ext-features { opacity: 1; transform: none; }

.ext-feat {
  flex: 1; padding: 0 28px 0 0; position: relative;
}
.ext-feat + .ext-feat { border-left: 1px solid rgba(255,255,255,0.07); padding-left: 28px; }
.ext-feat-num {
  font-size: 10px; letter-spacing: 0.25em; color: var(--dim); margin-bottom: 12px; font-weight: 500;
}
.ext-feat-name {
  font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--white); margin-bottom: 20px; text-transform: none;
}
.ext-feat-bar { height: 1px; background: rgba(255,255,255,0.15); width: 0%; transition: width 1.5s var(--ease); }
.section-overlay.visible .ext-feat:nth-child(1) .ext-feat-bar { width: 100%; transition-delay: 0.5s; }
.section-overlay.visible .ext-feat:nth-child(2) .ext-feat-bar { width: 75%; transition-delay: 0.65s; }
.section-overlay.visible .ext-feat:nth-child(3) .ext-feat-bar { width: 90%; transition-delay: 0.8s; }

/* Exterior glass card */
.ext-glass-card {
  position: absolute; bottom: 80px; right: 72px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 16px;
  min-width: 200px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.5s var(--ease), transform 0.8s 0.5s var(--ease);
}
.section-overlay.visible .ext-glass-card { opacity: 1; transform: none; }
.egc-row { display: flex; flex-direction: column; gap: 3px; }
.egc-val { font-family: var(--font-d); font-size: 28px; font-weight: 700; color: var(--white); }
.egc-label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }

/* gradient overlays per section */
#section-hero {
  /* Strong bottom vignette so hero headline/CTA always pops */
  background:
    linear-gradient(to top,  rgba(4,4,4,0.92) 0%, rgba(4,4,4,0.55) 35%, rgba(4,4,4,0.1) 60%, transparent 100%),
    linear-gradient(to right, rgba(4,4,4,0.35) 0%, transparent 50%);
}
#section-reveal {
  /* Right-side gradient (text sits right-aligned) */
  background:
    linear-gradient(to left, rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.5) 40%, rgba(4,4,4,0.08) 70%, transparent 100%),
    linear-gradient(to top,  rgba(4,4,4,0.6) 0%, transparent 55%);
}
#section-exterior {
  /* Left-side vignette + bottom lift for feature rows */
  background:
    linear-gradient(to right, rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.45) 45%, transparent 80%),
    linear-gradient(to top,   rgba(4,4,4,0.75) 0%, rgba(4,4,4,0.1) 45%, transparent 100%);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FRAME COUNTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#frameCounter {
  position: fixed; top: 50%; right: 40px;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; z-index: 200;
  opacity: 0; transition: opacity 0.8s var(--ease);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
#frameCounter.visible { opacity: 1; }
#frameNum {
  font-family: var(--font-d); font-size: 24px; font-weight: 700;
  color: var(--white); letter-spacing: 0.05em;
}
.fc-sep { font-size: 12px; font-weight: 700; color: var(--dim); margin: 4px 0; }
.fc-total { font-size: 12px; font-weight: 700; color: var(--dim); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   END CARD
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.end-card {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(8,8,8,0.96);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.end-card.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.end-card.visible { opacity: 1; visibility: visible; }

.end-inner { text-align: center; padding: 40px; max-width: 600px; }
.end-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 48px; }
.end-logo svg { width: 60px; height: 60px; color: var(--white); }
.end-logo span {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.4em; text-transform: uppercase;
}
.end-headline {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15; letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.end-headline em { font-style: normal; display: block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.4); }
.end-sub { font-size: 16px; font-weight: 500; color: var(--silver); line-height: 1.6; margin-bottom: 48px; }
.end-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NEW SECTIONS â€” LAYOUT VARIANTS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Center-aligned (Engine Start) */
.s-inner--center {
  width: 100%; max-width: none;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 72px 80px;
}
.s-inner--center .s-sub { margin: 0 auto 36px; }

/* Top-aligned (Aerial) */
.s-inner--top {
  width: 100%; max-width: none;
  display: flex; flex-direction: column;
  padding: 120px 72px 0;
  align-self: flex-start;
}
#section-aerial { align-items: flex-start; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NEW SECTION GRADIENTS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#section-interior {
  background:
    linear-gradient(to top,  rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.4) 45%, transparent 100%),
    linear-gradient(to right, rgba(4,4,4,0.3) 0%, transparent 60%);
}
#section-driver {
  background:
    linear-gradient(to left, rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.4) 50%, transparent 100%),
    linear-gradient(to top,  rgba(4,4,4,0.55) 0%, transparent 55%);
}
#section-engine {
  background:
    radial-gradient(ellipse at center bottom, rgba(4,4,4,0.92) 0%, rgba(4,4,4,0.5) 45%, transparent 100%),
    linear-gradient(to top, rgba(4,4,4,0.4) 0%, transparent 50%);
}
#section-highway {
  background:
    linear-gradient(to top,  rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.35) 45%, transparent 100%),
    linear-gradient(to right, rgba(4,4,4,0.25) 0%, transparent 60%);
}
#section-aerial {
  background:
    linear-gradient(to bottom, rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.45) 40%, transparent 100%),
    linear-gradient(to right,  rgba(4,4,4,0.25) 0%, transparent 65%);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   INTERIOR TAGS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.int-tags {
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.section-overlay.visible .int-tags { opacity: 1; transform: none; }

.int-tag {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.05em; color: var(--silver); text-transform: uppercase;
}
.int-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--white); flex-shrink: 0;
}
.int-dot.blue {
  background: var(--blue2);
  box-shadow: 0 0 8px 2px rgba(59,130,246,0.5);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ENGINE PILLS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.eng-pills {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s 0.35s var(--ease), transform 0.8s 0.35s var(--ease);
}
.section-overlay.visible .eng-pills { opacity: 1; transform: none; }

.eng-pill {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--silver);
}
.eng-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px 2px rgba(59,130,246,0.7);
  animation: eng-blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.eng-pill:nth-child(2) .eng-dot { animation-delay: 0.53s; }
.eng-pill:nth-child(3) .eng-dot { animation-delay: 1.07s; }
@keyframes eng-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.6); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AERIAL LABELS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.aerial-labels {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.section-overlay.visible .aerial-labels { opacity: 1; transform: none; }

.al-item {
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .s-inner { padding: 0 48px 72px; max-width: 560px; }
  .s-inner--right { padding: 0 48px 72px; }
  .s-inner--bottom, .s-inner--center { padding: 0 48px 72px; }
  .s-inner--top { padding: 96px 48px 0; }
  #nav { padding: 20px 36px; }
  #timeline { left: 36px; right: 36px; }
  .ext-glass-card { right: 48px; }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  /* nav */
  #nav { padding: 18px 20px; }
  .nav-cta-btn { display: none; }

  /* cinematic overlays */
  .s-inner,
  .s-inner--right,
  .s-inner--bottom,
  .s-inner--center {
    padding: 0 20px calc(72px + env(safe-area-inset-bottom, 0px));
    max-width: 100%;
  }
  .s-inner--top {
    padding: calc(80px + env(safe-area-inset-top, 0px)) 20px 0;
  }
  .s-inner--right { margin-left: 0; text-align: left; }
  .s-inner--right .reveal-tags { align-items: flex-start; }
  .s-inner--right .r-tag { flex-direction: row; }

  /* headline scale */
  .s-headline     { font-size: clamp(32px, 9vw, 48px) !important; }
  .s-headline--lg { font-size: clamp(28px, 8vw, 42px) !important; }
  .s-headline--xl { font-size: clamp(36px, 10vw, 56px) !important; }
  .s-sub          { font-size: 14px; max-width: 100%; }
  #section-hero .s-headline { font-size: clamp(36px, 11vw, 56px) !important; }

  /* timeline */
  #timeline { left: 20px; right: 20px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .tl-marker { display: none; }

  /* exterior */
  .ext-glass-card {
    right: 20px;
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    min-width: 160px;
    padding: 18px 20px;
  }
  .ext-features { flex-direction: column; gap: 20px; }
  .ext-feat + .ext-feat {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-left: 0;
    padding-top: 20px;
  }
  .egc-val { font-size: 22px; }

  /* frame counter */
  #frameCounter { right: 12px; }
  #frameNum { font-size: 18px; }

  /* engine pills */
  .eng-pills { gap: 12px; }
  .eng-pill  { font-size: 12px; }

  /* aerial labels */
  .aerial-labels { gap: 10px; margin-top: 20px; }
  .al-item { font-size: 12px; }

  /* interior tags */
  .int-tag { font-size: 12px; }

  /* CTAs */
  .s-ctas { flex-direction: column; gap: 10px; }
  .cta-primary, .cta-ghost { padding: 14px 28px; font-size: 11px; }

  /* scroll hint */
  .s-scroll-hint { font-size: 9px; }
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
  .s-headline { font-size: clamp(28px, 10vw, 40px) !important; }
  #section-hero .s-headline { font-size: clamp(30px, 12vw, 44px) !important; }
  .s-label { letter-spacing: 0.25em; font-size: 9px; }
  .s-sub { font-size: 13px; line-height: 1.65; }
  .ext-glass-card { display: none; }
}

/* --- Landscape phone (short viewport) --- */
@media (max-height: 500px) and (orientation: landscape) {
  .s-inner, .s-inner--right, .s-inner--bottom, .s-inner--center { padding-bottom: 48px; }
  .s-inner--top { padding-top: 56px; }
  .s-headline { font-size: clamp(22px, 5vh, 36px) !important; }
  #section-hero .s-headline { font-size: clamp(24px, 6vh, 40px) !important; }
  .s-sub { font-size: 12px; margin-bottom: 20px; }
  .s-ctas { margin-bottom: 24px; }
  #timeline { bottom: 10px; }
  .ext-glass-card { display: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STATIC CONTENT (Sections 9-16)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.static-content {
  position: relative;
  z-index: 10;
  background: var(--black);
  padding-bottom: 120px;
}

.st-section {
  position: relative;
  padding: 240px 48px;
  background: var(--black);
}

.st-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* Typography for Static Sections */
.st-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 24px;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.st-section.is-visible .st-eyebrow { opacity: 1; transform: none; }

.st-headline {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15; letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 32px;
  max-width: 900px;
  color: var(--white);
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.1s var(--ease), transform 1s 0.1s var(--ease);
}
.st-headline em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}
.st-section.is-visible .st-headline { opacity: 1; transform: none; }

.st-subtext {
  font-size: 16px; font-weight: 500; line-height: 1.6;
  color: var(--silver); max-width: 600px; margin-bottom: 80px;
  letter-spacing: -0.01em;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.2s var(--ease), transform 1s 0.2s var(--ease);
}
.st-section.is-visible .st-subtext { opacity: 1; transform: none; }

/* 09 â€” MODELS */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .model-grid { opacity: 1; transform: none; }

.model-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: all 0.5s var(--ease);
}
.model-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255,255,255,0.03);
}
.mc-image { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mc-content { padding: 32px; width: 100%; display: flex; flex-direction: column; flex-grow: 1; }
.mc-icon {
  margin-bottom: 40px;
  color: var(--white);
  height: 24px;
}
.mc-icon svg { height: 100%; width: auto; }
.mc-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--white); margin-bottom: 8px; text-transform: none;
}
.mc-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 2px;
  margin-top: 12px;
  position: absolute; top: 32px; right: 32px;
}
.mc-badge.eq { background: var(--blue); color: var(--white); }
.mc-badge.amg { background: #d32f2f; color: var(--white); }
.mc-badge.maybach { background: #9e8461; color: var(--white); }

.mc-arrow {
  margin-top: auto; padding-top: 32px;
  font-size: 16px; color: var(--silver);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.model-card:hover .mc-arrow {
  transform: translateX(8px);
  color: var(--white);
}

/* 10 â€” EXPERIENCE */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.3s var(--ease), transform 1s 0.3s var(--ease);
}
.st-section.is-visible .exp-grid { opacity: 1; transform: none; }

.exp-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 48px;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: all 0.5s var(--ease);
}
.exp-card:hover { 
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.ec-highlight { background: rgba(59, 130, 246, 0.05); }
.ec-highlight:hover { background: rgba(59, 130, 246, 0.1); }

.ec-num { font-size: 11px; font-weight: 700; color: var(--dim); margin-bottom: 24px; }
.ec-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em; }
.ec-desc { font-size: 14px; font-weight: 400; color: var(--silver); line-height: 1.6; margin-bottom: 32px; max-width: 260px; }
.ec-arrow { margin-top: auto; font-size: 16px; color: var(--silver); transition: transform 0.3s; }
.exp-card:hover .ec-arrow { transform: translateX(8px); color: var(--white); }

/* 11 â€” ELECTRIC & 13 â€” TECHNOLOGY SPLIT */
.st-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.st-split-left .cta-primary {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .st-split-left .cta-primary { opacity: 1; transform: none; }

.elec-features {
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .elec-features { opacity: 1; transform: none; }

.elec-feat { position: relative; padding-top: 16px; }
.ef-bar { position: absolute; top: 0; left: 0; height: 1px; width: 0%; background: var(--blue); transition: width 1s 0.5s var(--ease); }
.st-section.is-visible .ef-bar { width: 100%; }
.ef-num { font-size: 10px; font-weight: 700; color: var(--blue2); margin-bottom: 8px; }
.ef-name { font-size: 14px; font-weight: 400; color: var(--silver); margin-bottom: 4px; }
.ef-val { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }

/* 12 â€” BRANDS */
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .brand-grid { opacity: 1; transform: none; }

.brand-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: all 0.5s var(--ease);
}
.brand-card:hover { 
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255,255,255,0.03);
}
.bc-image { width: 100%; height: 240px; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,0.05); }
.bc-content { padding: 40px; width: 100%; display: flex; flex-direction: column; flex-grow: 1; }
.bc-wordmark { font-family: var(--font-d); font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 8px; text-transform: uppercase; }
.bc-tag { font-size: 10px; font-weight: 700; color: var(--dim); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 24px; }
.bc-desc { font-size: 14px; color: var(--silver); line-height: 1.6; margin-bottom: 40px; text-transform: none; }
.bc-link { margin-top: auto; font-size: 11px; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: 0.15em; text-transform: uppercase; transition: color 0.3s; }
.bc-link:hover { color: var(--silver); }

/* 13 â€” TECH LIST */
.tech-list {
  display: flex; flex-direction: column; gap: 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .tech-list { opacity: 1; transform: none; }

.tl-item { display: flex; gap: 32px; }
.tl-num { font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: 0.1em; width: 40px; }
.tl-title { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; margin-bottom: 8px; text-transform: none; }
.tl-desc { font-size: 15px; color: var(--silver); line-height: 1.6; text-transform: none; }

/* 14 â€” FINANCE */
.st-finance-inner {
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.fin-stats {
  display: flex; gap: 80px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .fin-stats { opacity: 1; transform: none; }

.fin-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fs-val { font-size: 64px; font-weight: 800; color: var(--white); letter-spacing: -0.04em; }
.fs-label { font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: 0.15em; text-transform: uppercase; }

/* 15 â€” OWNERS */
.own-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-section.is-visible .own-grid { opacity: 1; transform: none; }

.own-card {
  padding: 0; 
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.5s var(--ease);
}
.own-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255,255,255,0.03);
}
.oc-image { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,0.05); }
.oc-content { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; }
.oc-icon { width: 32px; height: 32px; color: var(--white); margin-bottom: 32px; }
.oc-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; text-transform: none; letter-spacing: -0.01em; }
.oc-desc { font-size: 14px; color: var(--silver); line-height: 1.6; text-transform: none; }

/* 16 â€” FINAL CTA */
.st-final-cta {
  padding: 240px 48px; background: var(--dark);
  text-align: center; display: flex; justify-content: center;
}
.st-final-inner {
  max-width: 800px; display: flex; flex-direction: column; align-items: center;
}
.sf-emblem {
  display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.st-final-cta.is-visible .sf-emblem { opacity: 1; transform: none; }
.sf-emblem svg { width: 48px; height: 48px; color: var(--white); }
.sf-emblem span { font-size: 12px; font-weight: 700; letter-spacing: 0.4em; color: var(--white); }

.sf-headline {
  font-family: var(--font-d); font-size: clamp(42px, 6vw, 76px); font-weight: 700;
  color: var(--white); letter-spacing: -0.02em; text-transform: none; line-height: 1.15; margin-bottom: 32px;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.1s var(--ease), transform 1s 0.1s var(--ease);
}
.sf-headline em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4); }
.st-final-cta.is-visible .sf-headline { opacity: 1; transform: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IMAGE SPLITS & HERO BGS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.st-hero-bg {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
  z-index: 0;
}
.st-hero-bg > * { z-index: 1; position: relative; }

.st-image-split {
  display: grid; grid-template-columns: 1fr; gap: 80px; align-items: center;
}
.st-image-split > div { max-width: 760px; }
.st-image-panel {
  width: 100%; height: 600px;
  border-radius: 12px; overflow: hidden;
  position: relative;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.3s var(--ease), transform 1s 0.3s var(--ease);
}
.st-section.is-visible .st-image-panel { opacity: 1; transform: none; }
.st-image-panel img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.st-image-panel:hover img { transform: scale(1.05); }

@media (max-width: 992px) {
  .st-image-split { grid-template-columns: 1fr; }
  .st-image-panel { height: 400px; margin-top: 40px; }
}

.sf-sub {
  font-size: 16px; font-weight: 400; color: var(--silver); margin-bottom: 48px; text-transform: none;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.2s var(--ease), transform 0.8s 0.2s var(--ease);
}
.st-final-cta.is-visible .sf-sub { opacity: 1; transform: none; }

.sf-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 120px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.3s var(--ease), transform 0.8s 0.3s var(--ease);
}
.st-final-cta.is-visible .sf-btns { opacity: 1; transform: none; }
.sf-btns .cta-ghost { border-color: rgba(255, 255, 255, 0.15); }

.sf-footer {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity 1s 0.5s var(--ease);
}
.st-final-cta.is-visible .sf-footer { opacity: 1; }
.sf-footer a { color: var(--dim); text-decoration: none; transition: color 0.3s; }
.sf-footer a:hover { color: var(--white); }
.sf-sep { color: rgba(255, 255, 255, 0.1); }

@media (max-width: 1024px) {
  .st-split { grid-template-columns: 1fr; gap: 48px; }
  .fin-stats { flex-direction: column; align-items: center; gap: 48px; }
}

@media (max-width: 768px) {
  .st-section { padding: 80px 24px; }
  .st-final-cta { padding: 120px 24px; }
  .model-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .st-headline { font-size: 40px; }
  .fin-stats { gap: 32px; }
}

/* =========================================================
   GAMIFICATION & INTERACTIVE OVERRIDES
   ========================================================= */

/* --- Custom Cursor --- */
body { cursor: none; }
a, button, .model-card, .exp-card, .brand-card { cursor: none; }

.custom-cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  width: 8px; height: 8px; background: var(--white); border-radius: 50%;
  transform: translate(-50%, -50%); transition: transform 0.1s;
  mix-blend-mode: difference;
}
.custom-cursor.expand { transform: translate(-50%, -50%) scale(4); background: rgba(255,255,255,0.1); }
.custom-cursor-follower {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
  transform: translate(-50%, -50%); transition: transform 0.15s ease-out, opacity 0.15s;
}
.custom-cursor.expand ~ .custom-cursor-follower { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }

/* --- 09 Models: 3D Tilt & Glow --- */
.model-grid { perspective: 1000px; }
.model-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}
.model-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.model-card:hover { border-color: rgba(255,255,255,0.3); box-shadow: 0 15px 45px rgba(0,0,0,0.4), 0 0 40px rgba(255,255,255,0.03); }
.model-card:hover::after { opacity: 1; }
/* Override previous hover from line 667 */
.model-card:hover { transform: translateY(-8px) scale(1.02); } /* Fallback, JS overrides this via style */

/* --- 10 Experience: Magnetic Cards & Buttons --- */
.exp-card {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.exp-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59,130,246,0.15), transparent 50%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.exp-card:hover::before { opacity: 1; }
.cta-primary, .cta-ghost { transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.3s var(--ease), background 0.3s var(--ease); margin: 4px; }
.cta-primary:hover { box-shadow: 0 0 25px rgba(255,255,255,0.4), 0 0 50px rgba(255,255,255,0.2); }
.cta-ghost:hover { box-shadow: 0 0 25px rgba(255,255,255,0.2), 0 0 40px rgba(255,255,255,0.05); }

/* --- 11 Electric: Glowing Bars --- */
.elec-feat { position: relative; }
.ef-bar { box-shadow: 0 0 10px rgba(59,130,246,0); transition: width 1.5s cubic-bezier(0.2,0.8,0.2,1), box-shadow 1.5s; }
.st-section.is-visible .elec-feat:nth-child(1) .ef-bar { width: 100%; box-shadow: 0 0 15px var(--blue); }
.st-section.is-visible .elec-feat:nth-child(2) .ef-bar { width: 85%; box-shadow: 0 0 15px var(--blue); transition-delay: 0.2s; }

/* --- 13 Technology: Progress UI & Staggered Icons --- */
.tech-list { position: relative; }
.tech-list::before {
  content: ''; position: absolute; top: 0; left: 16px; width: 1px; height: 100%;
  background: rgba(255,255,255,0.1); z-index: 0;
}
.tl-item { position: relative; z-index: 1; opacity: 0.4; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transform: translateX(-10px); }
.tl-item.active { opacity: 1; transform: translateX(0); }
.tl-num {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--black);
  border: 1px solid rgba(255,255,255,0.2); transition: all 0.4s var(--ease);
}
.tl-item.active .tl-num { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 0 20px rgba(59,130,246,0.6); }

/* --- 12 Brands: Staggered Delay --- */
.st-section.is-visible .brand-card:nth-child(1) { transition-delay: 0.1s; }
.st-section.is-visible .brand-card:nth-child(2) { transition-delay: 0.2s; }
.st-section.is-visible .brand-card:nth-child(3) { transition-delay: 0.3s; }
.st-section.is-visible .brand-card:nth-child(4) { transition-delay: 0.4s; }

/* --- Staggered Reveals Utility --- */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.is-visible .reveal-up { opacity: 1; transform: none; }
.is-visible .delay-1 { transition-delay: 0.1s; }
.is-visible .delay-2 { transition-delay: 0.2s; }
.is-visible .delay-3 { transition-delay: 0.3s; }

/* --- Parallax Wrappers --- */
.parallax-wrap { overflow: hidden; position: relative; border-radius: 12px; }
.parallax-wrap img { transform-origin: center; transition: transform 0.1s linear; will-change: transform; height: 120%; top: -10%; position: absolute; }
