/* =============================================================
   FerroFluidGL — Landing Page Styles v2.0
   Lightbrush Studio — Cinematic Scroll Rebuild
   No Tailwind. No CSS framework. Hand-written design tokens.
   ============================================================= */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* --- Palette --- */
  --color-bg-void:          #020408;
  --color-bg-space:         #050810;
  --color-bg-panel:         #060d18;
  --color-bg-elevated:      #0c1a2e;
  --color-primary:          #14d7f2;
  --color-primary-bright:   #06fbfc;
  --color-primary-deep:     #10adc2;
  --color-secondary:        #6366f1;
  --color-text-primary:     #e2e8f0;
  --color-text-muted:       #94a3b8;
  --color-text-dim:         #64748b;

  /* --- Typography --- */
  --font-hero:    'Rajdhani', 'Space Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Space Grotesk', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* --- Fluid type scale --- */
  --font-size-xs:   clamp(0.75rem,  0.7rem + 0.25vw,  0.875rem);
  --font-size-sm:   clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --font-size-base: clamp(1rem,     0.9rem + 0.5vw,   1.125rem);
  --font-size-md:   clamp(1.125rem, 1rem + 0.625vw,   1.25rem);
  --font-size-lg:   clamp(1.25rem,  1.1rem + 0.75vw,  1.5rem);
  --font-size-xl:   clamp(1.5rem,   1.3rem + 1vw,     2rem);
  --font-size-2xl:  clamp(2rem,     1.6rem + 2vw,     3rem);
  --font-size-3xl:  clamp(2.5rem,   2rem + 2.5vw,     4rem);
  --font-size-4xl:  clamp(3rem,     2.5rem + 3vw,     5rem);
  --font-size-hero: clamp(4.5rem,   3.5rem + 6vw,     8rem);

  /* --- Line heights --- */
  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-normal:  1.5;
  --lh-relaxed: 1.625;

  /* --- Spacing (8px base grid) --- */
  --space-4:   4px;
  --space-8:   8px;
  --space-16:  16px;
  --space-24:  24px;
  --space-32:  32px;
  --space-48:  48px;
  --space-64:  64px;
  --space-96:  96px;
  --space-128: 128px;

  /* --- Section vertical padding --- */
  --section-pad: clamp(6rem, 10vw, 8rem);

  /* --- Easings --- */
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-glow:   cubic-bezier(0.33, 1, 0.68, 1);

  /* --- Durations --- */
  --dur-fast:   200ms;
  --dur-normal: 300ms;
  --dur-slow:   500ms;
  --dur-slower: 700ms;

  /* --- Glow patterns --- */
  --glow-primary:
    0 0 12px rgba(20, 215, 242, 0.4),
    0 0 24px rgba(20, 215, 242, 0.3),
    0 0 36px rgba(20, 215, 242, 0.2);
  --glow-primary-hover:
    0 0 12px rgba(20, 215, 242, 0.5),
    0 0 28px rgba(20, 215, 242, 0.3),
    0 0 48px rgba(20, 215, 242, 0.2);
  --glow-text:
    0 0 10px rgba(20, 215, 242, 0.5),
    0 0 20px rgba(20, 215, 242, 0.3),
    0 0 30px rgba(20, 215, 242, 0.2);

  /* --- Cursor sizes --- */
  --cursor-dot-size:  8px;
  --cursor-ring-size: 28px;
}


/* ============================================================
   2. RESET + BASE
   ============================================================ */

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

html {
  scroll-behavior: auto; /* Lenis owns smooth scroll — native must be off */
  background: var(--color-bg-void);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--color-bg-void);
  cursor: none; /* Custom cursor replaces default globally */
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--color-primary-bright);
  color: var(--color-bg-void);
}


/* ============================================================
   3. CUSTOM CURSOR
   ============================================================ */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  /* Start invisible — fades in on first mousemove to avoid cursor jumping
     from (0,0) to actual mouse position visibly */
  opacity: 0;
  /* JS translates this element via transform — origin matters */
}

.cursor__dot {
  position: absolute;
  width: var(--cursor-dot-size);
  height: var(--cursor-dot-size);
  background: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.cursor__ring {
  position: absolute;
  width: var(--cursor-ring-size);
  height: var(--cursor-ring-size);
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  /* Ring lags — GSAP quickTo handles the lag, no CSS transition needed here */
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-normal) var(--ease-out),
              width var(--dur-normal) var(--ease-glow),
              height var(--dur-normal) var(--ease-glow);
  opacity: 0.7;
}

/* State: hovering interactive element */
body.cursor-hover .cursor__dot {
  background: var(--color-bg-void);
  transform: translate(-50%, -50%) scale(1.5);
}

body.cursor-hover .cursor__ring {
  background: var(--color-primary);
  opacity: 1;
  width: 32px;
  height: 32px;
}

/* State: hovering playground canvas */
body.cursor-mag .cursor__ring {
  width: 40px;
  height: 40px;
  background: rgba(20, 215, 242, 0.15);
  border-color: var(--color-primary-bright);
}

.cursor__mag-label {
  position: absolute;
  left: calc(var(--cursor-ring-size) / 2 + 6px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}

body.cursor-mag .cursor__mag-label {
  opacity: 1;
}


/* ============================================================
   4. WORDMARK — fixed top-left, 24px margin
   ============================================================ */

.wordmark {
  position: fixed;
  top: var(--space-24);
  left: var(--space-24);
  z-index: 1100;
  display: block;
  line-height: 0;
}

.wordmark img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(20, 215, 242, 0.3));
  transition: filter var(--dur-slow) var(--ease-glow);
}

.wordmark:hover img {
  filter: drop-shadow(0 0 16px rgba(20, 215, 242, 0.6));
}


/* ============================================================
   5. CTA BUTTON — the one component with 4px radius
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-bg-void);
  background: var(--color-primary);
  border: none;
  border-radius: 4px;
  cursor: none; /* Custom cursor */
  text-decoration: none;
  transition:
    box-shadow var(--dur-slow) var(--ease-glow),
    transform var(--dur-fast) var(--ease-out);
}

.btn-primary:hover {
  box-shadow: var(--glow-primary-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(20, 215, 242, 0.3);
}

.btn-primary--large {
  padding: 18px 48px;
  font-size: var(--font-size-base);
  letter-spacing: 0.08em;
}

.secondary-link {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.secondary-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}


/* ============================================================
   6. HERO SECTION — 100vh, sticky during dolly range
   ============================================================ */

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Static fallback image when prefers-reduced-motion is active.
   Inserted by main.js as <img class="hero__fallback-img"> */
.hero__fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Radial vignette — guarantees headline legibility */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(
      ellipse 100% 80% at 50% 50%,
      transparent 0%,
      rgba(2, 4, 8, 0.6) 100%
    ),
    linear-gradient(
      to bottom,
      transparent 40%,
      rgba(2, 4, 8, 0.9) 100%
    );
  pointer-events: none;
}

/* Content block sits above vignette */
.hero__content {
  position: absolute;
  bottom: var(--space-96);
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 var(--space-64);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
  opacity: 0;
}

/* Headline — SplitType wraps chars in .char spans.
   Overflow hidden on lines creates the magnetic horizon effect. */
.hero__headline {
  font-family: var(--font-hero);
  font-size: var(--font-size-hero);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
  /* Initial invisible state — GSAP drives the reveal */
  /* DO NOT set opacity:0 here — SplitType char spans get opacity:0 from main.js */
  max-width: 900px;
}

/* Each split line wrapper clips chars ascending from below */
.hero__headline .line {
  overflow: hidden;
  display: block;
}

/* Each char — initial position set by main.js GSAP fromTo */
.hero__headline .char {
  display: inline-block;
  /* Individual chars need no explicit transform here — GSAP handles it */
}

.hero__subhead {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: var(--lh-snug);
  opacity: 0;
}

.hero__cta-wrap {
  opacity: 0;
}

/* Spec line — absolute bottom of hero */
.hero__spec {
  position: absolute;
  bottom: var(--space-32);
  left: var(--space-64);
  z-index: 10;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-dim);
  opacity: 0;
}


/* ============================================================
   7. DOLLY WRAPPER — 300vh scroll space
   The hero section is sticky inside this container.
   ============================================================ */

.dolly-wrapper {
  position: relative;
  height: 400vh; /* 100vh hero + 300vh scroll space */
  z-index: 0;
  /* Negative top margin pulls this behind the hero's sticky layer */
  margin-top: -100vh;
}

/* The sticky spacer inside dolly-wrapper — not visually rendered,
   it's structural: gives 100vh of pinned space before panels begin */
.dolly-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
}

/* Dolly panels stack in the scroll space above the sticky frame */
.dolly-panel {
  position: absolute;
  top: 100vh; /* Start after the sticky frame */
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  pointer-events: none; /* Canvas receives pointer events */
  z-index: 5; /* Sits above canvas (z:1), below cursor (z:9999) */
}

.dolly-panel--1 { top: 100vh; }
.dolly-panel--2 { top: 200vh; }
.dolly-panel--3 { top: 300vh; }

.dolly-panel__inner {
  padding: 0 var(--space-64);
  max-width: 680px;
  position: relative;
}

/* Dolly section titles — ferro-print in via ScrollTrigger + SplitType */
.dolly-title {
  font-family: var(--font-hero);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
  /* Overflow hidden on lines — chars ascend from horizon */
}

.dolly-title .line {
  overflow: hidden;
  display: block;
}

.dolly-title .char {
  display: inline-block;
}

.dolly-body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  margin-top: var(--space-24);
  max-width: 480px;
  opacity: 0;
}

/* Detail stills — editorially offset to the right of the panel */
.dolly-panel__detail {
  position: absolute;
  opacity: 0;
}

.dolly-panel__detail--right {
  right: -200px; /* Offset beyond the panel inner — editorial asymmetry */
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
}

.dolly-panel__detail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Sharp cut — no radius, editorial frame */
  border: 1px solid rgba(20, 215, 242, 0.12);
}


/* ============================================================
   8. PLAYGROUND SECTION — 100vh
   ============================================================ */

.playground {
  position: relative;
  z-index: 10;
  background: var(--color-bg-void);
  padding: var(--section-pad) var(--space-64);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
}

.playground__header {
  text-align: center;
}

.playground__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-16);
}

.playground__title {
  font-family: var(--font-hero);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
}

.playground__stage {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
}

/* Playground canvas — no rounded corners */
.playground__canvas {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-panel);
  border: 1px solid rgba(20, 215, 242, 0.1);
  cursor: none;
  /* Glow on interaction set via JS class toggle */
  transition: border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-glow);
}

.playground__canvas:active,
.playground__canvas.is-active {
  border-color: rgba(20, 215, 242, 0.35);
  box-shadow:
    0 0 8px rgba(20, 215, 242, 0.15),
    0 0 24px rgba(20, 215, 242, 0.08);
}

.playground__hint {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  text-align: center;
}

/* Controls row */
.playground__controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-48);
  width: 100%;
  max-width: 900px;
}

/* Individual slider group */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.slider-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.slider-label {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* Live readout — updates in cyan as slider moves */
.slider-readout {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  min-width: 2.5ch;
  text-align: right;
}

/* Slider track wrapper — positions the fill layer behind the input */
.slider-track-wrap {
  position: relative;
  height: 2px;
  margin-top: var(--space-8);
}

/* Fill layer behind the slider thumb — shows how far the value is */
.slider-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--color-primary);
  pointer-events: none;
  /* Width is set via inline style from main.js */
  transition: width var(--dur-fast) var(--ease-out);
}

/* ============================================================
   SLIDER — completely restyled. No default chrome.
   Thin 2px track, square handle, no browser-default appearance.
   ============================================================ */

.slider {
  /* Remove all native styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(148, 163, 184, 0.2);
  border: none;
  outline: none;
  cursor: none;
  position: relative;
  z-index: 1;
  /* No border-radius on the track */
  border-radius: 0;
}

/* WebKit thumb — square handle */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border: none;
  border-radius: 0; /* Square — not round */
  cursor: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-glow),
    transform var(--dur-fast) var(--ease-out);
}

.slider::-webkit-slider-thumb:hover,
.slider:focus::-webkit-slider-thumb {
  background: var(--color-primary-bright);
  box-shadow: var(--glow-primary);
  transform: scale(1.25);
}

/* Firefox thumb */
.slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border: none;
  border-radius: 0;
  cursor: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-glow);
}

.slider::-moz-range-thumb:hover {
  background: var(--color-primary-bright);
  box-shadow: var(--glow-primary);
}

/* Firefox progress track fill */
.slider::-moz-range-progress {
  background: var(--color-primary);
  height: 2px;
}

/* WebKit track */
.slider::-webkit-slider-runnable-track {
  background: transparent;
  height: 2px;
}

/* Firefox track */
.slider::-moz-range-track {
  background: rgba(148, 163, 184, 0.2);
  height: 2px;
  border-radius: 0;
}

/* Focus state — glow on the wrapper */
.slider:focus {
  outline: none;
}

.slider:focus-visible ~ .slider-track-fill {
  box-shadow: 0 0 8px rgba(20, 215, 242, 0.4);
}


/* ============================================================
   9. SPEC EDITORIAL SECTION — two-column asymmetric
   ============================================================ */

.spec-editorial {
  position: relative;
  z-index: 10;
  background: var(--color-bg-void);
  padding: var(--section-pad) var(--space-64);
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
  border-top: 1px solid rgba(20, 215, 242, 0.08);
}

/* 7/5 asymmetric grid — pull-quote left, body right */
.spec-editorial__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-64);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.pull-quote {
  font-family: var(--font-hero);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: var(--lh-snug);
  color: var(--color-text-primary);
  border: none; /* No blockquote default styling */
  padding: 0;
  /* Subtle cyan accent on the left — not a full border, a spark */
  padding-left: var(--space-24);
  border-left: 2px solid var(--color-primary);
}

.spec-editorial__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.spec-body-text {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
}

.spec-detail-line {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  border-top: 1px solid rgba(20, 215, 242, 0.08);
  padding-top: var(--space-32);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}


/* ============================================================
   10. FINAL CTA SECTION — 80vh cinematic closing
   ============================================================ */

.final-cta {
  position: relative;
  z-index: 10;
  min-height: 80vh;
  background: var(--color-bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(20, 215, 242, 0.06);
}

/* Background: hero-still at low opacity — ambient, not a video */
.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.07; /* Ambient, not dominant */
  filter: blur(4px) saturate(0.6);
}

/* Dark vignette pulls focus to the content */
.final-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    rgba(2, 4, 8, 0.3) 0%,
    rgba(2, 4, 8, 0.85) 100%
  );
}

.final-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  text-align: center;
  padding: var(--section-pad) var(--space-64);
}

.final-cta__headline {
  font-family: var(--font-hero);
  font-size: clamp(5rem, 4rem + 8vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
}

.final-cta__price {
  font-family: var(--font-mono);
  font-size: var(--font-size-3xl);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  text-shadow: var(--glow-text);
}

.final-cta__secondary {
  margin-top: var(--space-8);
}


/* ============================================================
   11. FOOTER — 60px, logo centered
   ============================================================ */

.footer {
  position: relative;
  z-index: 10;
  height: 60px;
  background: var(--color-bg-void);
  border-top: 1px solid rgba(20, 215, 242, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-link {
  display: block;
  line-height: 0;
}

.footer__logo-link img {
  height: 24px;
  width: auto;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(20, 215, 242, 0.2));
  transition: opacity var(--dur-normal) var(--ease-out),
              filter var(--dur-slow) var(--ease-glow);
}

.footer__logo-link:hover img {
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(20, 215, 242, 0.45));
}


/* ============================================================
   12. SCROLL REVEAL UTILITY — used by GSAP ScrollTrigger
   Elements with .js-reveal start invisible; GSAP drives them in.
   This class is only an initial state marker.
   ============================================================ */

.js-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--dur-slower) var(--ease-out),
    transform var(--dur-slower) var(--ease-out);
}


/* ============================================================
   13. SECTION DIVIDER
   ============================================================ */

.section-rule {
  border: none;
  border-top: 1px solid rgba(20, 215, 242, 0.1);
  margin: 0;
}


/* ============================================================
   14. RESPONSIVE — mobile adjustments
   ============================================================ */

@media (max-width: 900px) {
  .hero__content {
    padding: 0 var(--space-32);
    bottom: var(--space-64);
  }

  .hero__spec {
    left: var(--space-32);
  }

  .dolly-panel__inner {
    padding: 0 var(--space-32);
  }

  .dolly-panel__detail--right {
    display: none; /* Detail stills hidden on small screens — not enough room */
  }

  .playground {
    padding: var(--section-pad) var(--space-32);
  }

  .playground__controls {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .spec-editorial {
    padding: var(--section-pad) var(--space-32);
  }

  .spec-editorial__grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .final-cta__content {
    padding: var(--section-pad) var(--space-32);
  }
}

@media (max-width: 600px) {
  .hero__content {
    padding: 0 var(--space-24);
  }

  .hero__spec {
    left: var(--space-24);
    bottom: var(--space-24);
  }

  .dolly-panel__inner {
    padding: 0 var(--space-24);
  }

  .playground {
    padding: var(--section-pad) var(--space-24);
  }

  .spec-editorial {
    padding: var(--section-pad) var(--space-24);
  }

  .final-cta__content {
    padding: var(--section-pad) var(--space-24);
  }
}


/* ============================================================
   15. PREFERS-REDUCED-MOTION
   When motion is reduced:
   - Custom cursor: dot still shows, ring removed (less distracting)
   - GSAP animations don't fire (handled in main.js)
   - Fallback image replaces hero canvas (handled in main.js)
   - All CSS transitions and animations collapsed to 0ms
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  /* Restore cursor for users who may still want it visible */
  .cursor__ring {
    display: none;
  }

  /* Any element that was hidden by GSAP setup should be visible */
  .hero__eyebrow,
  .hero__subhead,
  .hero__cta-wrap,
  .hero__spec,
  .dolly-body,
  .dolly-panel__detail,
  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hero canvas hidden — static image shown instead */
  #hero-canvas {
    display: none;
  }
}
