/* ========================================================
   ÉLAN NOIR — EAU DE PARFUM | Haute Parfumerie
   Visual Identity: Midnight Noir, Smoked Crystal & Warm Amber Flame
   Typography: Tenor Sans, Cormorant Garamond, Space Grotesk, Inter
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
  /* Midnight Noir Smoked Crystal Palette */
  --bg-deep: #070709;
  --bg-base: #0c0b0e;
  --bg-card: rgba(16, 14, 20, 0.78);
  --bg-card-hover: rgba(24, 20, 30, 0.92);
  --bg-glass: rgba(14, 12, 18, 0.65);

  /* Warm French Brass & Melted Amber */
  --amber: #d4a359;
  --amber-bright: #f0c37c;
  --amber-dark: #916828;
  --amber-extrude: #593e12;
  --flame-orange: #f97316;
  --amber-glow: rgba(212, 163, 89, 0.32);
  --flame-glow: rgba(249, 115, 22, 0.28);
  --border-amber: rgba(212, 163, 89, 0.35);

  --white: #fdfaf6;
  --text-primary: #f5efe6;
  --text-muted: #a39c94;
  --text-dim: #605a54;

  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Haute Parfumerie Typography */
  --font-brand: 'Tenor Sans', sans-serif;
  --font-display: 'Tenor Sans', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'Space Grotesk', -apple-system, monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1240px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background-color: var(--bg-deep);
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Minimal Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 163, 89, 0.3);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--amber);
}

/* 3D Global Perspective Lighting & Chiseled Depth */
.brand-title {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  perspective: 800px;
  transform-style: preserve-3d;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.95),
    0 0 25px var(--amber-glow);
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s ease;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--amber-bright);
  border: 1px solid var(--border-amber);
  background: rgba(212, 163, 89, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 2px 5px rgba(0, 0, 0, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* 3D Section Headings & Extrusion */
.chapter-title,
.section-heading,
.pillar-title,
.ritual-title,
.acquire-details h3,
.ecosystem-left h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  perspective: 900px;
  transform-style: preserve-3d;
  text-shadow:
    0 1px 0 rgba(255, 240, 210, 0.9),
    0 2px 1px rgba(255, 255, 255, 0.3),
    0 3px 3px rgba(0, 0, 0, 0.7),
    0 5px 8px rgba(0, 0, 0, 0.88),
    0 9px 22px rgba(0, 0, 0, 0.95),
    0 0 30px var(--amber-glow);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s ease;
}

/* 3D Glistening Amber Metallic Sheen Sweep Animation on Text Highlights */
.chapter-title em,
.section-heading em,
.acquire-details h3 em,
.ecosystem-left h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  background: linear-gradient(
    110deg,
    #d4a359 0%,
    #ffffff 35%,
    #f0c37c 55%,
    #ea580c 80%,
    #d4a359 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: amber-shimmer-sweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 18px var(--amber-glow));
  transform: translateZ(16px);
}

@keyframes amber-shimmer-sweep {
  0% { background-position: 180% 0; }
  50% { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 3px rgba(89, 62, 18, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.9),
    0 0 25px rgba(240, 195, 124, 0.45);
}

.proof-val,
.size-pill-price {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 3px 3px rgba(0, 0, 0, 0.8),
    0 6px 14px rgba(0, 0, 0, 0.95),
    0 0 35px var(--amber-glow);
  transform-style: preserve-3d;
}

/* ========================================================
   NAVIGATION
   ======================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  transition: var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  transition: all 0.25s ease;
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: var(--amber-bright);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 0 14px var(--amber-glow);
}

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

/* 3D Tactile Brushed Brass Ingot Button */
.nav-cta,
.acquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #070709;
  background: linear-gradient(180deg, #fce8cc 0%, #d4a359 45%, #916828 100%);
  border: 1px solid rgba(255, 240, 210, 0.65);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 3px rgba(0, 0, 0, 0.4),
    0 3px 0 var(--amber-extrude),
    0 6px 14px rgba(0, 0, 0, 0.7),
    0 0 20px var(--amber-glow);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.nav-cta:hover,
.acquire-btn:hover {
  transform: perspective(600px) translateY(-2px) translateZ(10px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 5px 0 var(--amber-extrude),
    0 10px 22px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(240, 195, 124, 0.55);
}

.agency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-bright);
  background: rgba(212, 163, 89, 0.1);
  border: 1px solid var(--border-amber);
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 3px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.agency-pill:hover {
  background: rgba(212, 163, 89, 0.2);
  border-color: var(--amber);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.75),
    0 0 20px var(--amber-glow);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(212, 163, 89, 0.15);
  border: 1px solid var(--amber);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.8),
    0 0 14px var(--amber-glow);
  transition: all 0.25s ease;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 5px var(--amber-glow);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Luxury Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.mobile-nav-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-nav-drawer.open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;
  height: 100dvh;
  background: #070709;
  border-left: 1px solid var(--border-amber);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.mobile-nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

.mobile-nav-brand em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--amber-bright);
  font-size: 1.25rem;
}

.mobile-nav-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  color: var(--amber-bright);
  border-color: var(--border-amber);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-nav-item:active,
.mobile-nav-item:hover {
  background: rgba(212, 163, 89, 0.12);
  border-color: var(--border-amber);
  transform: translateX(4px);
}

.mobile-nav-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--amber);
  font-weight: 600;
}

.mobile-nav-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
  flex: 1;
}

.mobile-nav-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-hub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(212, 163, 89, 0.08);
  border: 1px solid var(--border-amber);
  border-radius: 4px;
  color: var(--amber-bright);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-hub-link:hover {
  background: rgba(212, 163, 89, 0.16);
  transform: translateX(3px);
}

/* ========================================================
   CINEMATIC 3D SCROLL CANVAS STAGE
   ======================================================== */
#scroll-stage {
  position: relative;
  width: 100%;
  height: 480vh;
  background: var(--bg-deep);
}

.stage-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #110e14 0%, var(--bg-deep) 85%);
}

#film-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.film-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 55%, rgba(7, 7, 9, 0.4) 80%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 2;
}

.cinematic-letterbox-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.cinematic-letterbox-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* Stage Captions (Alternating Left -> Right -> Left -> Right) */
.stage-captions {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.chapter-block {
  opacity: 0;
  position: absolute;
  top: 50%;
  max-width: 320px;
  width: 78%;
  padding: 22px 24px;
  background: rgba(10, 9, 13, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: 12px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.95),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 0 25px rgba(212, 163, 89, 0.12);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
  will-change: transform, opacity, filter;
  pointer-events: none;
  filter: blur(6px);
}

/* Peripheral Left Flank (Pinned strictly outside central flacon) */
.chapter-block.pos-left {
  left: 3.5vw;
  right: auto;
  text-align: left;
  border-left: 2px solid var(--amber);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateY(-44%) scale(0.97);
}

.chapter-block.pos-left.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(-50%) scale(1);
}

/* Peripheral Right Flank (Pinned strictly outside central flacon) */
.chapter-block.pos-right {
  right: 3.5vw;
  left: auto;
  text-align: left;
  border-right: 2px solid var(--amber);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateY(-44%) scale(0.97);
}

.chapter-block.pos-right.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(-50%) scale(1);
}

/* Minimal Luxury Typography */
.chapter-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--amber-bright);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.chapter-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ffffff 0%, #fbe8cb 35%, #d4a359 70%, #f0c37c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px var(--amber-glow));
}

.chapter-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(245, 239, 230, 0.85);
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* HUD Progress */
.stage-hud {
  position: absolute;
  bottom: 45px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
  pointer-events: none;
}

.hud-bar {
  width: 90px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.hud-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--amber-bright);
  box-shadow: 0 0 10px var(--amber-glow);
  transition: width 0.05s linear;
}

.hud-numbers {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ========================================================
   CONTENT BELOW THE SCROLL FILM — HAUTE VISUAL EDITORIAL
   ======================================================== */
.content-wrapper {
  position: relative;
  z-index: 20;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}

.container {
  width: min(var(--max-width), calc(100% - 60px));
  margin: 0 auto;
}

.section-header {
  padding: 120px 0 60px 0;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
}

/* Asymmetric Visual Showcase */
.visual-showcase-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 120px;
}

.visual-showcase-split.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.showcase-media-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-amber);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.9),
    0 0 35px var(--amber-glow);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateY(-2deg) translateZ(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.visual-showcase-split.reverse .showcase-media-frame {
  transform: perspective(1000px) rotateY(2deg) translateZ(0);
}

.showcase-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.showcase-media-frame:hover .showcase-img {
  transform: scale(1.04);
}

.floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-amber);
  border-radius: 30px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--amber-bright);
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

/* Material Pillars */
.material-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar-item {
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--amber);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.pillar-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-amber);
  border-left: 3px solid var(--amber-bright);
  transform: translateX(6px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    0 8px 25px rgba(0, 0, 0, 0.7),
    0 0 25px var(--amber-glow);
}

.pillar-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--amber);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
}

.pillar-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.clinical-proof-strip {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.proof-pill {
  flex: 1;
  padding: 12px 14px;
  background: rgba(212, 163, 89, 0.08);
  border: 1px solid var(--border-amber);
  border-radius: 3px;
  text-align: center;
}

.proof-val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber-bright);
  line-height: 1;
  margin-bottom: 3px;
}

.proof-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Habitat Section */
.quantum-elixir-section {
  padding: 100px 0 120px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at 80% 50%, rgba(212, 163, 89, 0.08) 0%, transparent 65%);
}

.stats-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-feature-card {
  padding: 20px;
  border-left: 1px solid var(--border-amber);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
}

.stat-feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber-bright);
  margin-bottom: 4px;
}

.stat-feature-card span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Artisan Discipline Section */
.ritual-section {
  padding: 120px 0;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.ritual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px 30px;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.ritual-card:hover {
  border-color: var(--border-amber);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--amber-glow);
}

.ritual-step-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.ritual-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.ritual-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.sensory-notes-strip {
  margin-top: 40px;
  padding: 20px 30px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sensory-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}

.sensory-items {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* Acquire Section */
.acquire-section {
  padding: 120px 0;
  position: relative;
}

.acquire-card {
  background: linear-gradient(135deg, rgba(20, 17, 24, 0.95) 0%, rgba(7, 7, 9, 0.98) 100%);
  border: 1px solid var(--border-amber);
  border-radius: 6px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 8px 0 rgba(7, 7, 9, 0.9),
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 45px var(--amber-glow);
}

.acquire-visual {
  text-align: center;
}

.acquire-visual-img {
  width: 100%;
  max-width: 440px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
}

.acquire-details h3 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.acquire-details p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.acquire-sizes {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.size-pill {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.25s ease;
}

.size-pill.active,
.size-pill:hover {
  background: rgba(212, 163, 89, 0.12);
  border-color: var(--amber);
}

.size-pill-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.size-pill-price {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--amber-bright);
  font-weight: 600;
}

/* Ecosystem Section */
.agency-ecosystem-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
  background: #050507;
}

.ecosystem-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
}

.ecosystem-left h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.ecosystem-left p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.ecosystem-hubs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hub-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hub-card:hover {
  border-color: var(--amber);
  background: rgba(212, 163, 89, 0.12);
  transform: translateX(4px);
}

.hub-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hub-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hub-arrow {
  color: var(--amber-bright);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: #040406;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ========================================================
   RESPONSIVE DESIGN SYSTEM (TABLETS & MOBILE)
   ======================================================== */

@media (max-width: 960px) {
  .navbar {
    padding: 0 24px;
    height: 68px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .stage-hud {
    display: none;
  }
  .container {
    width: min(var(--max-width), calc(100% - 40px));
  }
  .visual-showcase-split,
  .visual-showcase-split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 80px;
  }
  .showcase-media-frame,
  .visual-showcase-split.reverse .showcase-media-frame {
    transform: none !important;
  }
  .showcase-img {
    height: 380px;
  }
  .ritual-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .acquire-card {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 36px;
  }
  .ecosystem-box {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 36px;
  }
  .sensory-notes-strip {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* SMART MOBILE PHONES (< 640px) */
@media (max-width: 640px) {
  .navbar {
    height: 60px;
    padding: 0 14px;
  }
  .brand {
    gap: 8px;
  }
  .brand-title {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
  }
  .brand-badge {
    font-size: 0.52rem;
    padding: 1px 5px;
  }
  .nav-right {
    gap: 8px;
  }
  .agency-pill {
    display: none;
  }
  .nav-cta {
    padding: 7px 11px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .mobile-menu-toggle {
    display: flex;
  }

  #scroll-stage {
    height: 320vh;
  }
  .stage-viewport {
    height: 100vh;
    height: 100dvh;
  }
  .cinematic-letterbox-top {
    height: 50px;
  }
  .cinematic-letterbox-bottom {
    height: 70px;
  }

  .chapter-block {
    top: auto;
    bottom: clamp(20px, 4vh, 42px);
    left: 14px !important;
    right: 14px !important;
    width: auto;
    max-width: calc(100% - 28px);
    text-align: center !important;
    border: 1px solid var(--border-amber) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px;
    padding: 14px 16px;
    background: rgba(10, 9, 13, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95);
    transform: translateY(18px) !important;
  }
  .chapter-block.active {
    opacity: 1;
    transform: translateY(0) !important;
  }
  .chapter-index {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    margin-bottom: 4px;
  }
  .chapter-title {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 5px;
  }
  .chapter-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .container {
    width: calc(100% - 28px);
    padding: 0;
  }
  .section-header {
    padding: 55px 0 25px 0;
  }
  .section-heading {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .visual-showcase-split,
  .visual-showcase-split.reverse {
    gap: 24px;
    padding-bottom: 50px;
  }
  .showcase-img {
    height: 260px;
  }

  .pillar-item {
    padding: 16px 14px;
  }
  .clinical-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 10px;
  }
  .proof-pill {
    padding: 8px 4px;
  }
  .proof-val {
    font-size: 1.05rem;
  }
  .proof-lbl {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .quantum-elixir-section {
    padding: 50px 0;
  }
  .stats-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .stat-feature-card {
    padding: 12px 10px;
  }

  .ritual-section {
    padding: 50px 0;
  }
  .ritual-grid {
    gap: 14px;
  }
  .ritual-card {
    padding: 20px 16px;
  }

  .acquire-section {
    padding: 50px 0;
  }
  .acquire-card {
    padding: 22px 16px;
    gap: 22px;
  }
  .acquire-sizes {
    flex-direction: column;
    gap: 8px;
  }
  .acquire-btn {
    width: 100%;
    padding: 13px 14px;
    font-size: 0.68rem;
    text-align: center;
  }

  .agency-ecosystem-section {
    padding: 50px 0;
  }
  .ecosystem-box {
    padding: 22px 16px;
    gap: 22px;
  }

  .site-footer {
    padding: 30px 0;
  }
  .footer-inner {
    gap: 10px;
  }
}

/* =========================================================
   UNIVERSAL THEME TOGGLE BUTTON & LIGHT MODE
   ========================================================= */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 15, 10, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  border-color: #d4af37;
  color: #fff;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

body.light-theme {
  --bg-deep: #faf7f2;
  --bg-card: rgba(255, 255, 255, 0.9);
  --text-primary: #1c1813;
  --text-secondary: rgba(28, 24, 19, 0.82);
  --text-muted: rgba(28, 24, 19, 0.55);
  --border-amber: rgba(180, 100, 30, 0.3);
  --border-subtle: rgba(28, 24, 19, 0.12);
  background-color: #faf7f2;
  color: #1c1813;
}

body.light-theme .site-header {
  background: rgba(250, 247, 242, 0.88);
  border-bottom: 1px solid rgba(180, 100, 30, 0.2);
}

body.light-theme .site-header.scrolled {
  background: rgba(250, 247, 242, 0.98);
}

body.light-theme .brand-title,
body.light-theme .hero-title,
body.light-theme .section-title,
body.light-theme .card-title,
body.light-theme .spec-val,
body.light-theme .eco-card-title {
  color: #1c1813;
}

body.light-theme .nav-link {
  color: #4a3e2e;
}

body.light-theme .nav-link:hover {
  color: #b4641e;
}

body.light-theme .stage-viewport {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(217, 119, 6, 0.15) 0%, rgba(235, 228, 218, 0.6) 50%, #faf7f2 85%);
}

body.light-theme .story-card,
body.light-theme .ritual-card,
body.light-theme .stat-feature-card,
body.light-theme .acquire-card,
body.light-theme .hub-card,
body.light-theme .chapter-block,
body.light-theme .ecosystem-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(180, 100, 30, 0.25);
  box-shadow: 0 10px 30px rgba(28, 24, 19, 0.08);
}

body.light-theme .site-footer {
  background: #ebe2d4;
  border-top: 1px solid rgba(180, 100, 30, 0.2);
}

body.light-theme .theme-toggle-btn {
  background: #fff;
  border-color: rgba(180, 100, 30, 0.35);
  color: #1c1813;
}

