/* ═══════════════════════════════════════════════════════════
   Elvera — Cinematic Parallax Storytelling
   v3: Gold accent, parallax layers, text scramble, sticky titles,
   draw-path SVG, image-to-background zoom, variable font hover
   ═══════════════════════════════════════════════════════════ */


/* ── CUSTOM PROPERTIES (extend base.css) ── */
:root {
  --gold: #CA8A04;
  --gold-light: #E2A826;
  --gold-glow: rgba(202,138,4,0.25);
  --gold-soft: rgba(202,138,4,0.08);
  --dark-deep: #1A1714;
  --card-surface: #FAFAF7;
  --card-shadow: 0 2px 40px rgba(0,0,0,0.06);
  --section-pad: clamp(100px, 14vh, 180px);
  --side-pad: clamp(24px, 5vw, 80px);
}


/* ── LENIS OVERRIDES ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }


/* ═══════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.loader.done { pointer-events: none; }
.loader-words {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 300;
  color: var(--c-cream);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
}
.loader-word { display: inline-block; }


/* ═══════════════════════════════════════════
   FILM GRAIN OVERLAY
   ═══════════════════════════════════════════ */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}


/* ═══════════════════════════════════════════
   CURSOR SPOTLIGHT
   ═══════════════════════════════════════════ */
.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(202,138,4,0.04) 0%,
    rgba(241,234,222,0.02) 30%,
    transparent 70%
  );
  transition: background 0.15s linear;
}


/* ═══════════════════════════════════════════
   DRAW PATH SVG
   ═══════════════════════════════════════════ */
.draw-path-svg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
}
.draw-path-svg path {
  stroke: var(--gold);
  stroke-dasharray: var(--path-length, 5000);
  stroke-dashoffset: var(--path-offset, 5000);
  transition: none;
}


/* ═══════════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 9999;
  width: 0;
  transition: none;
}


/* ═══════════════════════════════════════════
   SCENE BASE
   ═══════════════════════════════════════════ */
.scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.scene-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
}


/* ═══════════════════════════════════════════
   SHARED TYPOGRAPHY
   ═══════════════════════════════════════════ */
.section-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.12;
  margin-bottom: clamp(20px, 3vh, 36px);
  letter-spacing: -0.02em;
}
.section-headline.centered { text-align: center; }
.section-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.8;
  opacity: 0.6;
  max-width: 560px;
  margin-bottom: clamp(24px, 3vh, 40px);
}
.section-body.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-body-emphasis {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.3;
  margin-top: clamp(32px, 4vh, 56px);
  opacity: 0.85;
}


/* ═══════════════════════════════════════════
   BUTTONS — Gold accent system
   ═══════════════════════════════════════════ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 18px 48px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.3s, transform 0.3s cubic-bezier(0.16,0.68,0.43,0.99), box-shadow 0.3s;
  box-shadow: 0 4px 24px var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(202,138,4,0.35);
}
.btn-gold--lg {
  font-size: 18px;
  padding: 22px 56px;
}
.btn-gold--sm {
  font-size: 13px;
  padding: 10px 24px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--c-cream);
  border: 1.5px solid rgba(241,234,222,0.25);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  padding: 16px 36px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(241,234,222,0.5);
  background: rgba(241,234,222,0.06);
}


/* ═══════════════════════════════════════════
   S1 — HERO
   ═══════════════════════════════════════════ */
.scene-hero {
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(201,168,76,0.06) 0%, transparent 70%), #0a0a0a;
  color: var(--c-cream);
  min-height: 100vh;
  min-height: 100dvh;
}

/* 3D Ancient Tree Parallax */
.hero-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.hero-layer {
  position: absolute;
  inset: -10%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform-style: preserve-3d;
}

/* L0: Sky / ambient warmth */
.hero-sky {
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    rgba(202,138,4,0.12) 0%,
    rgba(80,65,30,0.06) 40%,
    rgba(26,23,20,0) 70%
  );
}

/* L1: Tree canvas — capped at source resolution to prevent upscale blur */
.hero-layer--tree {
  inset: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tree-canvas {
  display: block;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero-tree-canvas.revealed {
  opacity: 1;
}
/* Dark overlay for text readability */
.hero-layer--tree::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0.45);
  pointer-events: none;
}

/* L2: Rays — stripped */
.hero-rays { display: none; }

/* L3: Particle canvas */
#heroParticles {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* L4: Vignette + atmospheric fog */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: none;
}
/* Fog — stripped */
.hero-fog { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 220px) var(--side-pad) clamp(80px, 12vh, 160px);
}
.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  background: linear-gradient(135deg, #e8e0d0 0%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Anagram */
.anagram-wrap {
  margin: 32px auto;
  cursor: pointer;
  user-select: none;
}
.anagram-stage {
  display: inline-flex;
  gap: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 72px);
  letter-spacing: 14px;
  color: var(--gold);
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.ag-l {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 12px;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.hero-micro-top {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-bottom: 32px;
  opacity: 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  opacity: 0;
}
.hero-micro {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  opacity: 0;
}


/* ═══════════════════════════════════════════
   STICKY SPLIT LAYOUT (S2, S5)
   ═══════════════════════════════════════════ */
.sticky-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) var(--side-pad) clamp(40px, 5vh, 72px);
  min-height: auto;
  align-items: start;
}
.sticky-split__title {
  position: sticky;
  top: 30vh;
  align-self: start;
}
.sticky-split__body {
  padding-top: 4vh;
  padding-bottom: 4vh;
}
.split-block {
  margin-bottom: clamp(48px, 6vh, 80px);
}
.split-block:last-child {
  margin-bottom: 0;
}
.split-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
  opacity: 0.65;
}

@media (max-width: 768px) {
  .sticky-split {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
  }
  .sticky-split__title {
    position: relative;
    top: 0;
  }
  .sticky-split__body {
    padding-top: 0;
    padding-bottom: clamp(24px, 4vh, 48px);
  }
}


/* ═══════════════════════════════════════════
   S2 — WHAT IT IS (bone)
   ═══════════════════════════════════════════ */
.scene-dna {
  background: var(--c-cream);
  color: var(--c-dark);
  min-height: auto; /* override 100vh — content-driven height */
}
.scene-dna .split-emphasis::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(202,138,4,0.35);
  margin: 0 auto clamp(24px, 3vh, 40px);
}

/* Reveal slider */
.reveal-slider {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 16px;
  cursor: ew-resize;
  margin: 40px 0;
}
.reveal-before, .reveal-after {
  position: absolute;
  inset: 0;
}
.reveal-before img, .reveal-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reveal-after {
  clip-path: inset(0 50% 0 0);
}
.reveal-label {
  position: absolute;
  bottom: 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.reveal-label-before { right: 16px; }
.reveal-label-after { left: 16px; }
.reveal-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  touch-action: none;
}
.reveal-handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.6);
}
.reveal-handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   S3 — ASK MY CIRCLE (dark)
   ═══════════════════════════════════════════ */
.scene-circle {
  background: var(--c-stone);
  color: var(--c-cream);
}
.circle-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) var(--side-pad);
  align-items: center;
}
.circle-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.circle-phone {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  transform: scale(0.85);
  transition: transform 0.8s cubic-bezier(0.16,0.68,0.43,0.99);
}
.circle-content .section-headline {
  color: var(--c-cream);
}
.circle-content .section-body {
  color: rgba(241,234,222,0.55);
}

/* Compare cards */
.compare-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.compare-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(241,234,222,0.04);
  border: 1px solid rgba(241,234,222,0.08);
  border-radius: 16px;
  padding: 20px 24px;
  transition: transform 0.4s cubic-bezier(0.16,0.68,0.43,0.99), box-shadow 0.4s;
}
.compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.compare-self, .compare-them {
  flex: 1;
}
.compare-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
  margin-bottom: 4px;
}
.compare-trait {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
}
.compare-arrow {
  flex-shrink: 0;
  opacity: 0.3;
  color: var(--gold);
}

@media (max-width: 768px) {
  .circle-layout {
    grid-template-columns: 1fr;
  }
  .circle-visual { order: -1; }
}


/* ═══════════════════════════════════════════
   S2 — PROBLEM / CATEGORY (bone) — new elements
   ═══════════════════════════════════════════ */
.preserves-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.preserves-list li {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 2;
  padding-left: 20px;
  position: relative;
}
.preserves-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.split-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}
.split-emphasis {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.25;
  color: var(--c-dark);
}


/* ═══════════════════════════════════════════
   S4 — EVERY HUMAN DESERVES AN ELVERA (bone)
   ═══════════════════════════════════════════ */
.scene-everyone {
  background: var(--c-cream);
  color: var(--c-dark);
}
.centered-emphasis {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}
.elvera-family {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: clamp(40px, 5vh, 64px) auto;
}
.family-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s cubic-bezier(0.16,0.68,0.43,0.99), box-shadow 0.4s;
  cursor: default;
}
.family-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}
.family-card-img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
}
.family-card-img img {
  width: 100%;
  height: auto;
  display: block;
}
.family-card-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  margin-bottom: 8px;
  color: var(--c-dark);
}
.family-card-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.55;
}

@media (max-width: 768px) {
  .elvera-family {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .elvera-family {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}


/* ═══════════════════════════════════════════
   S5 — GENERATIONAL PUNCH (dark)
   ═══════════════════════════════════════════ */
.scene-generational {
  background: var(--dark-deep);
  color: var(--c-cream);
  overflow: hidden;
}
.scene-generational::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202,138,4,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.generational-headline {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.generational-lines {
  max-width: 600px;
  margin: 0 auto clamp(32px, 4vh, 56px);
  text-align: center;
}
.generational-lines p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 2.2;
  opacity: 0.5;
}
.scene-generational .section-body-emphasis {
  color: var(--c-cream);
}
.generational-lines::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(202,138,4,0.3);
  margin: clamp(24px, 3vh, 40px) auto 0;
}
.scene-generational .section-body {
  color: rgba(241,234,222,0.45);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* ═══════════════════════════════════════════
   S6 — TIME CAPSULE (bone)
   ═══════════════════════════════════════════ */
.scene-timecapsule {
  background: var(--c-cream);
  color: var(--c-dark);
}
.tc-items {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(32px, 4vh, 56px);
  flex-wrap: wrap;
}
.tc-items p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  opacity: 0.65;
}
.tc-main {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  text-align: center;
  margin-bottom: clamp(32px, 4vh, 56px);
}
.tc-image {
  display: block;
  max-width: 700px;
  width: 100%;
  margin: 0 auto clamp(32px, 4vh, 48px);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 0 0 1px rgba(202,138,4,0.12);
}
.scene-timecapsule .btn-gold {
  margin-top: 24px;
}


/* ═══════════════════════════════════════════
   S5 — PRIVACY (dark)
   ═══════════════════════════════════════════ */
.scene-privacy {
  background: #2A2520;
  color: var(--c-cream);
  min-height: auto;
  overflow: hidden;
}
.scene-privacy::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202,138,4,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.privacy-inner {
  padding-top: clamp(80px, 10vh, 140px);
  padding-bottom: clamp(80px, 10vh, 140px);
}
.privacy-inner .section-headline { color: var(--c-cream); }
.privacy-body { color: rgba(241,234,222,0.7) !important; }
.trust-pills--centered { justify-content: center; }


/* Trust list */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
  text-align: left;
}
.trust-list li {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  color: rgba(241,234,222,0.7);
  padding: 14px 0;
  border-bottom: 1px solid rgba(241,234,222,0.08);
  position: relative;
  padding-left: 28px;
}
.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}
.trust-list li:last-child {
  border-bottom: none;
}


/* ═══════════════════════════════════════════
   S6 — NUMBER (bone)
   ═══════════════════════════════════════════ */
.scene-number {
  background: var(--dark-deep);
  color: var(--c-cream);
}
.scene-number .section-headline,
.scene-number .section-body,
.scene-number .section-body-emphasis {
  color: var(--c-cream);
}
.scene-number .section-body { opacity: 0.65; }
.scene-number .slide-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(241,234,222,0.12);
}
.scene-number .sc-name,
.scene-number .sc-badge {
  color: var(--c-cream);
}
.scene-number .sc-portrait { border: 2px solid rgba(241,234,222,0.2); }
.scene-number .number-input-row input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(241,234,222,0.2);
  color: var(--c-cream);
}
.scene-number .number-input-row button {
  background: var(--gold);
  color: #1A1714;
}

.number-display {
  margin: 40px auto 8px;
}
.number-cycle {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 4px;
  transition: opacity 0.28s ease;
  color: var(--gold);
  display: inline-block;
}
.number-state {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 40px;
}

/* Card slideshow */
.card-carousel {
  max-width: 360px;
  margin: 0 auto 40px;
}
.card-slideshow {
  position: relative;
}
.slide-card {
  display: none;
  background: var(--card-surface);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.slide-card.active { display: block; }
.sc-portrait {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 12px;
}
.sc-g1 { background: linear-gradient(135deg, var(--gold), #B8753E); }
.sc-g3 { background: linear-gradient(135deg, #7b5136, #B8753E); }
.sc-number {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 4px;
}
.sc-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 8px;
}
.sc-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  margin-bottom: 8px;
}
.sc-essence {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.6;
  margin-bottom: 12px;
}
.sc-traits { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sc-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gold-soft);
  color: var(--gold);
}
.sc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.sc-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-dark);
  opacity: 0.15;
  cursor: pointer;
  transition: opacity 0.2s;
}
.sc-dots .dot.active { opacity: 0.6; }

/* Number input */
.number-input-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 24px auto;
  max-width: 360px;
}
.number-input-row input {
  flex: 1;
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 20px;
  border: 2px solid rgba(26,23,20,0.1);
  border-radius: 50px;
  background: var(--card-surface);
  color: var(--c-dark);
  outline: none;
  transition: border-color 0.2s;
}
.number-input-row input:focus {
  border-color: var(--gold);
}
.number-input-row button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  background: var(--c-dark);
  color: var(--c-cream);
  cursor: pointer;
  transition: background 0.2s;
}
.number-input-row button:hover { background: var(--c-stone); }
.number-result {
  font-family: var(--sans);
  font-size: 14px;
  min-height: 20px;
  color: var(--gold);
  margin-bottom: 16px;
}
.number-conversion {
  font-family: var(--sans);
  font-size: 14px;
  opacity: 0.45;
  margin-bottom: 24px;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 16px;
  max-width: 400px;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 20px;
  border: 1.5px solid rgba(241,234,222,0.15);
  border-radius: 50px;
  background: rgba(26,23,20,0.6);
  color: var(--c-cream);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input[type="email"]::placeholder {
  color: rgba(241,234,222,0.35);
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--gold);
}
.waitlist-form button[type="submit"] {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.waitlist-form button[type="submit"]:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.waitlist-confirm {
  font-family: var(--sans);
  font-size: 14px;
  color: #22c55e;
  margin-bottom: 16px;
  text-align: center;
}

/* App Store badge */
.app-store-badge {
  display: inline-block;
  margin-top: 20px;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.app-store-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(201,168,76,0.2);
}
.app-store-badge--footer {
  display: block;
  margin: 16px auto 0;
  text-align: center;
}


/* ═══════════════════════════════════════════
   S7 — PRICING (bone)
   ═══════════════════════════════════════════ */
.scene-pricing {
  background: var(--c-cream);
  color: var(--c-dark);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s cubic-bezier(0.16,0.68,0.43,0.99), box-shadow 0.4s;
  cursor: default;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
}
.pricing-card--featured {
  border: 2px solid var(--gold);
  box-shadow: 0 4px 32px var(--gold-glow);
}
.pricing-card--featured:hover {
  box-shadow: 0 8px 48px rgba(202,138,4,0.25), 0 0 0 2px var(--gold);
}
.tier-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 8px;
  transition: font-weight 0.3s ease;
}
.tier-price {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--gold);
  margin-bottom: 4px;
}
.tier-period {
  font-family: var(--sans);
  font-size: 14px;
  opacity: 0.4;
  margin-bottom: 16px;
}
.tier-tagline {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  opacity: 0.55;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}


/* ═══════════════════════════════════════════
   S8 — FINAL CTA (dark)
   ═══════════════════════════════════════════ */
.scene-final {
  background: var(--dark-deep);
  color: var(--c-cream);
  min-height: 80vh;
}
.final-parallax {
  opacity: 0.5;
}
.final-glow {
  background: radial-gradient(
    ellipse 60% 50% at 50% 55%,
    rgba(202,138,4,0.1) 0%,
    transparent 70%
  );
}
.final-inner {
  text-align: center;
}
.final-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.final-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.8;
  opacity: 0.5;
  max-width: 500px;
  margin: 0 auto 32px;
}
.final-micro {
  font-size: 14px;
  color: rgba(241,234,222,0.3);
  margin-top: 24px;
}


/* ═══════════════════════════════════════════
   STICKY BOTTOM CTA
   ═══════════════════════════════════════════ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(26,23,20,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(241,234,222,0.06);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,0.68,0.43,0.99);
}
.sticky-cta-bar.visible {
  transform: translateY(0);
}
.sticky-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(241,234,222,0.6);
}


/* ═══════════════════════════════════════════
   ELEMENTS REVEAL (JS drives opacity/y)
   ═══════════════════════════════════════════ */
[data-elements-reveal] > * {
  opacity: 0;
  transform: translateY(32px);
}
[data-elements-reveal].revealed > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16,0.68,0.43,0.99),
              transform 0.7s cubic-bezier(0.16,0.68,0.43,0.99);
}
/* Stagger children */
[data-elements-reveal].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-elements-reveal].revealed > *:nth-child(2) { transition-delay: 0.08s; }
[data-elements-reveal].revealed > *:nth-child(3) { transition-delay: 0.16s; }
[data-elements-reveal].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-elements-reveal].revealed > *:nth-child(5) { transition-delay: 0.32s; }
[data-elements-reveal].revealed > *:nth-child(6) { transition-delay: 0.40s; }
[data-elements-reveal].revealed > *:nth-child(7) { transition-delay: 0.48s; }
[data-elements-reveal].revealed > *:nth-child(8) { transition-delay: 0.56s; }


/* ═══════════════════════════════════════════
   SCALE-IN (JS drives transform)
   ═══════════════════════════════════════════ */
[data-scale-in] {
  transform: scale(0.96);
  transition: transform 0.8s cubic-bezier(0.16,0.68,0.43,0.99);
}
[data-scale-in].scaled {
  transform: scale(1);
}


/* ═══════════════════════════════════════════
   TEXT SCRAMBLE (JS replaces chars)
   ═══════════════════════════════════════════ */
[data-text-scramble] .scramble-char {
  display: inline-block;
  transition: opacity 0.15s;
}
[data-text-scramble] .scramble-char.resolving {
  color: var(--gold);
}


/* ═══════════════════════════════════════════
   VARIABLE FONT WEIGHT HOVER
   ═══════════════════════════════════════════ */
[data-font-weight-hover] {
  font-variation-settings: 'wght' 400;
  transition: font-variation-settings 0.35s ease;
  cursor: default;
}
[data-font-weight-hover]:hover {
  font-variation-settings: 'wght' 700;
}


/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-snap-type: none; }
  .spotlight, .film-grain { display: none; }
  .draw-path-svg { display: none; }
  [data-elements-reveal] > * { opacity: 1 !important; transform: none !important; }
  [data-scale-in] { transform: none !important; }
  .hero-content > * { opacity: 1 !important; transform: none !important; }
  .hero-layer { inset: 0 !important; transform: none !important; }
  #heroParticles { display: none; }
  .hero-rays { display: none; }

  .circle-phone { transform: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   i18n — Language picker + RTL support
   ═══════════════════════════════════════════════════════════ */

/* Language picker */
.i18n-picker {
  position: relative;
  margin-left: 0.5rem;
}

.i18n-toggle {
  background: none;
  border: none;
  color: var(--text-muted, #888);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.i18n-toggle:hover {
  color: var(--gold);
  background: var(--gold-soft);
}

.i18n-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-surface, #FAFAF7);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 6px;
  display: none;
  flex-direction: column;
  min-width: 140px;
  z-index: 9999;
}
.i18n-dropdown.open {
  display: flex;
}

.i18n-option {
  background: none;
  border: none;
  padding: 8px 14px;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 6px;
  color: var(--text-body, #333);
  transition: background 0.15s;
  white-space: nowrap;
}
.i18n-option:hover {
  background: var(--gold-soft, rgba(202,138,4,0.08));
}
.i18n-option.active {
  color: var(--gold);
  font-weight: 600;
}

/* RTL support */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}
html[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
}
html[dir="rtl"] .compare-arrow svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .i18n-dropdown {
  right: auto;
  left: 0;
  text-align: right;
}
html[dir="rtl"] .i18n-option {
  text-align: right;
}
html[dir="rtl"] .footer-links {
  flex-direction: row-reverse;
}
html[dir="rtl"] .trust-list {
  padding-right: 1.2em;
  padding-left: 0;
}
html[dir="rtl"] .sticky-cta-bar {
  flex-direction: row-reverse;
}


/* ═══════════════════════════════════════════
   GRAIN TEXTURE OVERLAY (body.grain::after)
   ═══════════════════════════════════════════ */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}


/* ═══════════════════════════════════════════
   FADE-UP ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text  { animation: fadeUp 0.8s ease forwards; }
.hero-sub   { animation: fadeUp 0.8s ease 0.15s both; }
.hero-cta   { animation: fadeUp 0.8s ease 0.3s both; }


/* ═══════════════════════════════════════════
   SCROLL REVEAL (data-reveal)
   ═══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}


/* ═══════════════════════════════════════════
   WAITLIST SUBMIT — SUCCESS STATE
   ═══════════════════════════════════════════ */
@keyframes checkBounce {
  0%   { transform: scale(0) rotate(-45deg); opacity: 0; }
  60%  { transform: scale(1.3) rotate(5deg); opacity: 1; }
  80%  { transform: scale(0.9) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}
.waitlist-form button.success {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
  pointer-events: none;
}
.waitlist-form button.success .btn-check {
  display: inline-block;
  animation: checkBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
  color: #fff;
  margin-right: 4px;
}
.waitlist-form button .btn-check { display: none; }
.form-success-check {
  display: inline-block;
  animation: checkBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
  color: #c9a84c;
  font-size: 24px;
}


/* ═══════════════════════════════════════════
   CURSOR GLOW TRAIL
   ═══════════════════════════════════════════ */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  transition: none;
}
@media (hover: none) {
  #cursor-glow { display: none; }
}


/* ═══════════════════════════════════════════
   MAGNETIC BUTTONS — will-change
   ═══════════════════════════════════════════ */
.btn-gold,
.nav-cta {
  will-change: transform;
}


/* ═══════════════════════════════════════════
   STAGGER ENTRANCE — family-card, pricing-card
   ═══════════════════════════════════════════ */
.family-card,
.pricing-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease,
              box-shadow 0.4s cubic-bezier(0.16,0.68,0.43,0.99);
}
.family-card.is-visible,
.pricing-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--dark-deep);
  border: 0.75px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 680px;
  width: calc(100% - 48px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-text {
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 300;
  color: #8a7d6a;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.cookie-text a { color: var(--gold); text-decoration: none; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}
.cookie-decline {
  background: transparent;
  color: #8a7d6a;
  border: 0.75px solid rgba(138,125,106,0.3);
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 300;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-actions { align-self: flex-end; }
}
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 80px; /* clear sticky CTA bar */
  }
}

/* ── WAITLIST ERROR ── */
.waitlist-error {
  color: #ef4444;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   FACETS SECTION — Lumy-style mode cards
   ═══════════════════════════════════════════════════════════════════ */

.scene-facets {
  padding: 80px 0 100px;
}

.facets-eyebrow {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-text-tertiary, #888);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* 3-column grid on desktop, 3-column on tablet, 3-column on mobile */
.facets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .facets-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* Individual facet card — Lumy-inspired atmospheric mode card */
.facet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 12px 12px;
  min-height: 108px;
  border-radius: 14px;
  background-color: #1A1410;
  border: 0.75px solid color-mix(in srgb, var(--facet-color) 25%, transparent);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.2s ease;
  cursor: default;
}

.facet-card::before {
  /* Atmospheric radial glow from top-right */
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--facet-color) 14%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.facet-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--facet-color) 40%, transparent);
}

/* Icon */
.facet-icon {
  color: var(--facet-color);
  margin-bottom: 8px;
  /* Soft glow */
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--facet-color) 50%, transparent));
  flex-shrink: 0;
}

.facet-icon svg {
  display: block;
}

/* Mode label — uppercase, accent-colored, wide tracking */
.facet-mode {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--facet-color);
  line-height: 1.2;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Subtitle */
.facet-sub {
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.2px;
  margin: 0 0 auto;
  line-height: 1.3;
}

/* Progress bar at bottom */
.facet-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1px;
  margin-top: 12px;
  overflow: hidden;
}

.facet-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--facet-color) 0%, color-mix(in srgb, var(--facet-color) 40%, transparent) 100%);
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animate progress bars when section enters viewport */
.scene-facets.is-visible .facet-card:nth-child(1) .facet-bar-fill { width: 72%; transition-delay: 0.05s; }
.scene-facets.is-visible .facet-card:nth-child(2) .facet-bar-fill { width: 48%; transition-delay: 0.10s; }
.scene-facets.is-visible .facet-card:nth-child(3) .facet-bar-fill { width: 89%; transition-delay: 0.15s; }
.scene-facets.is-visible .facet-card:nth-child(4) .facet-bar-fill { width: 61%; transition-delay: 0.20s; }
.scene-facets.is-visible .facet-card:nth-child(5) .facet-bar-fill { width: 33%; transition-delay: 0.25s; }
.scene-facets.is-visible .facet-card:nth-child(6) .facet-bar-fill { width: 55%; transition-delay: 0.30s; }
.scene-facets.is-visible .facet-card:nth-child(7) .facet-bar-fill { width: 78%; transition-delay: 0.35s; }
.scene-facets.is-visible .facet-card:nth-child(8) .facet-bar-fill { width: 22%; transition-delay: 0.40s; }
.scene-facets.is-visible .facet-card:nth-child(9) .facet-bar-fill { width: 44%; transition-delay: 0.45s; }

@media (max-width: 480px) {
  .facet-card {
    padding: 10px 8px 10px;
    min-height: 92px;
    border-radius: 12px;
  }

  .facet-icon svg {
    width: 18px;
    height: 18px;
  }

  .facet-mode {
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }

  .facet-sub {
    font-size: 8px;
  }
}
