/* ========================================================
   VELOURA — Haute Cosmétique
   Apple-Grade Minimalist 3D Canvas Scrubber & Luxury System
   Full 3D Typography, Tactile Extrusion Buttons, and Visual Editorial Sections
   ======================================================== */

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

:root {
  --bg-deep: #030508;
  --bg-base: #05070c;
  --bg-card: rgba(10, 13, 20, 0.75);
  --bg-card-hover: rgba(16, 21, 32, 0.9);

  --gold: #c99a3d;
  --gold-light: #e5b85b;
  --gold-dark: #a87925;
  --gold-extrude: #6e4b10;
  --gold-glow: rgba(201, 154, 61, 0.25);

  --white: #f5f1e8;
  --text-primary: #e7e3d9;
  --text-muted: #a39f95;
  --text-dim: #605e58;

  --border-gold: rgba(201, 154, 61, 0.32);
  --border-subtle: rgba(255, 255, 255, 0.09);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --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: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 154, 61, 0.4);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ========================================================
   GLOBAL 3D TYPOGRAPHY DEPTH EFFECTS
   ======================================================== */
.brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 500;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 3px rgba(0, 0, 0, 0.8),
    0 4px 10px rgba(0, 0, 0, 0.9),
    0 0 20px var(--gold-glow);
  transform: perspective(600px) translateZ(5px);
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.brand-badge {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 2px 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 & Titles */
.chapter-title,
.section-heading,
.card-title,
.ritual-title,
.visual-card-title,
.acquire-details h3,
.ecosystem-left h3 {
  text-shadow:
    0 1px 0 rgba(255, 240, 200, 0.45),
    0 2px 2px rgba(0, 0, 0, 0.75),
    0 4px 8px rgba(0, 0, 0, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(201, 154, 61, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.chapter-title em,
.section-heading em,
.visual-card-title em,
.acquire-details h3 em,
.ecosystem-left h3 em {
  font-style: italic;
  color: var(--gold-light);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 3px rgba(110, 75, 16, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.9),
    0 0 25px rgba(229, 184, 91, 0.45);
}

/* 3D Numerical Counters & Stats */
.card-number,
.stat-big-num,
.size-pill-price {
  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 rgba(201, 154, 61, 0.4);
  transform-style: preserve-3d;
}

/* 3D Tags & Indices */
.chapter-index,
.section-tag,
.ritual-step-tag,
.floating-badge,
.size-pill-name {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.25em;
}

/* 3D Body & Descriptions */
.chapter-desc,
.card-body,
.ritual-desc,
.section-sub,
.visual-card-desc,
.acquire-details p,
.ecosystem-left p {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.7);
}

/* ========================================================
   MINIMAL LUXURY SKINCARE 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(3, 5, 8, 0.78);
  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.7);
  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 {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  transform: perspective(400px) translateZ(0);
  transition: all 0.25s ease;
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: var(--gold-light);
  transform: perspective(400px) translateZ(8px);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 0 14px rgba(201, 154, 61, 0.5);
}

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

/* 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(201, 154, 61, 0.15);
  border: 1px solid var(--gold);
  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 rgba(201, 154, 61, 0.4);
  transition: all 0.25s ease;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(201, 154, 61, 0.8);
  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(6.5px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) 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.78);
  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: #05070c;
  border-left: 1px solid var(--border-gold);
  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.18em;
  color: var(--white);
  text-transform: uppercase;
}

.mobile-nav-brand em {
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.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(--gold-light);
  border-color: var(--border-gold);
}

.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(201, 154, 61, 0.12);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.mobile-nav-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}

.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-body);
  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(201, 154, 61, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--gold-light);
  text-decoration: none;
  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(201, 154, 61, 0.16);
  transform: translateX(3px);
}

/* ========================================================
   3D TACTILE BUTTONS (Physical Extrusion, Bevel & Tilt)
   ======================================================== */

.nav-cta,
.acquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #05070c;
  background: linear-gradient(180deg, #fae2b1 0%, #d8a543 45%, #a87925 100%);
  border: 1px solid rgba(255, 240, 200, 0.6);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(600px) translateY(0) translateZ(0);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 3px rgba(0, 0, 0, 0.35),
    0 3px 0 var(--gold-extrude),
    0 6px 14px rgba(0, 0, 0, 0.7),
    0 0 20px var(--gold-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(-3px) translateZ(12px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 6px 0 var(--gold-extrude),
    0 12px 24px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(229, 184, 91, 0.55);
}

.nav-cta:active,
.acquire-btn:active {
  transform: perspective(600px) translateY(2px) translateZ(0);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.5),
    0 1px 0 var(--gold-extrude),
    0 3px 6px rgba(0, 0, 0, 0.6),
    0 0 15px var(--gold-glow);
}

.acquire-btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35),
    0 4px 0 var(--gold-extrude),
    0 8px 20px rgba(0, 0, 0, 0.7),
    0 0 25px var(--gold-glow);
}

.agency-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(28, 36, 52, 0.85) 0%, rgba(12, 16, 24, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  text-decoration: none;
  transform-style: preserve-3d;
  transform: perspective(600px) translateY(0) translateZ(0);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 2px rgba(0, 0, 0, 0.6),
    0 3px 0 rgba(8, 11, 18, 0.9),
    0 6px 14px rgba(0, 0, 0, 0.65),
    0 0 15px rgba(201, 154, 61, 0.15);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 3px rgba(0, 0, 0, 0.9);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.agency-pill:hover {
  background: linear-gradient(180deg, rgba(201, 154, 61, 0.2) 0%, rgba(168, 121, 37, 0.35) 100%);
  color: var(--white);
  border-color: var(--gold-light);
  transform: perspective(600px) translateY(-3px) translateZ(10px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1px 3px rgba(0, 0, 0, 0.5),
    0 5px 0 rgba(8, 11, 18, 0.95),
    0 10px 22px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(201, 154, 61, 0.4);
}

.size-pill {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(20, 26, 38, 0.6) 0%, rgba(10, 13, 20, 0.8) 100%);
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(600px) translateY(0) translateZ(0);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 3px 0 rgba(6, 8, 12, 0.8),
    0 6px 14px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.size-pill:hover {
  transform: perspective(600px) translateY(-2px) translateZ(8px);
  border-color: var(--gold);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 5px 0 rgba(6, 8, 12, 0.9),
    0 10px 20px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(201, 154, 61, 0.25);
}

.size-pill.active {
  border-color: var(--gold-light);
  background: linear-gradient(180deg, rgba(201, 154, 61, 0.15) 0%, rgba(10, 13, 20, 0.95) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 4px 0 rgba(6, 8, 12, 0.9),
    0 8px 18px rgba(0, 0, 0, 0.75),
    0 0 30px rgba(201, 154, 61, 0.35);
}

/* ========================================================
   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, #070a12 0%, var(--bg-deep) 80%);
}

#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(3, 5, 8, 0.35) 80%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 2;
}

.cinematic-letterbox-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  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: 160px;
  background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.stage-captions {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.chapter-block {
  opacity: 0;
  position: absolute;
  top: 50%;
  max-width: 360px;
  width: 82%;
  padding: 22px 26px;
  background: rgba(3, 5, 8, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(0, 0, 0, 0.6);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  pointer-events: none;
}

/* Alternating Left-positioned chapters (01 & 03) */
.chapter-block.pos-left {
  left: clamp(28px, 6vw, 110px);
  right: auto;
  text-align: left;
  border-left: 2px solid var(--gold);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateY(-50%) translateX(-40px);
}

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

/* Alternating Right-positioned chapters (02 & 04) */
.chapter-block.pos-right {
  right: clamp(28px, 6vw, 110px);
  left: auto;
  text-align: right;
  border-right: 2px solid var(--gold);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateY(-50%) translateX(40px);
}

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

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

.chapter-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 6px 20px rgba(0, 0, 0, 0.95),
    0 0 25px rgba(201, 154, 61, 0.25);
}

.chapter-title em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, #fae2b1 30%, #d8a543 65%, #ffdf9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(201, 154, 61, 0.45));
}

.chapter-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(235, 230, 220, 0.82);
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.stage-hud {
  position: absolute;
  bottom: 45px;
  right: 50px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  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(--gold-light);
  transition: width 0.05s linear;
}

.hud-numbers {
  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-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  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: 400;
  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;
}

/* ========================================================
   SECTION 1: ASYMMETRIC HAUTE VISUAL SHOWCASE (Cream Spiral)
   ======================================================== */
.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-gold);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 40px var(--gold-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-media-frame:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-6px) translateZ(20px);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(229, 184, 91, 0.4);
}

.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(3, 5, 8, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

/* Ingredients Accordion / Card Column */
.ingredient-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-item {
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.8) 0%, rgba(8, 11, 18, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 26px 28px;
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 4px 0 rgba(4, 6, 10, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.pillar-item:hover {
  border-color: var(--border-gold);
  transform: perspective(600px) translateY(-3px) translateZ(10px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 6px 0 rgba(4, 6, 10, 0.95),
    0 16px 32px rgba(0, 0, 0, 0.8),
    0 0 25px var(--gold-glow);
}

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

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
}

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

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

/* Integrated Clinical Badges (Replacing boring separate section) */
.clinical-proof-strip {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.proof-pill {
  flex: 1;
  padding: 12px 14px;
  background: rgba(201, 154, 61, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  text-align: center;
}

.proof-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 3px;
}

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

/* ========================================================
   SECTION 2: THE QUANTUM ELIXIR (Active Drop Highlight)
   ======================================================== */
.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(201, 154, 61, 0.06) 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-gold);
  background: rgba(255, 255, 255, 0.02);
}

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

.stat-feature-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ========================================================
   SECTION 3: THE APPLICATION RITUAL
   ======================================================== */
.ritual-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.ritual-card {
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.8) 0%, rgba(8, 11, 18, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 44px 32px;
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 4px 0 rgba(4, 6, 10, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.7);
  transition: var(--transition);
  position: relative;
}

.ritual-card:hover {
  border-color: var(--border-gold);
  transform: perspective(600px) translateY(-5px) translateZ(12px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 8px 0 rgba(4, 6, 10, 0.95),
    0 18px 36px rgba(0, 0, 0, 0.85),
    0 0 35px var(--gold-glow);
}

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

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

/* Sensory Note Bar */
.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-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.sensory-items {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* ========================================================
   SECTION 4: ACQUIRE THE BESPOKE VESSEL
   ======================================================== */
.acquire-section {
  padding: 120px 0;
  position: relative;
}

.acquire-card {
  background: linear-gradient(135deg, rgba(14, 18, 28, 0.95) 0%, rgba(5, 7, 12, 0.98) 100%);
  border: 1px solid var(--border-gold);
  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(4, 6, 10, 0.9),
    0 25px 70px rgba(0, 0, 0, 0.8),
    0 0 45px var(--gold-glow);
  transform-style: preserve-3d;
}

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

.acquire-visual-img {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.acquire-visual-img:hover {
  transform: scale(1.03) translateZ(15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px var(--gold-glow);
}

.acquire-details h3 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  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;
}

/* ========================================================
   SECTION 5: VELANOVA ECOSYSTEM HUB
   ======================================================== */
.agency-ecosystem-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.ecosystem-box {
  background: linear-gradient(135deg, rgba(14, 18, 28, 0.92) 0%, rgba(5, 7, 12, 0.97) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 6px 0 rgba(4, 6, 10, 0.9),
    0 22px 60px rgba(0, 0, 0, 0.75),
    0 0 35px var(--gold-glow);
  transform-style: preserve-3d;
}

.ecosystem-left h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

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

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

.hub-card {
  background: linear-gradient(180deg, rgba(22, 28, 40, 0.6) 0%, rgba(10, 13, 20, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 22px 26px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 3px 0 rgba(6, 8, 12, 0.8),
    0 8px 18px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.hub-card:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 154, 61, 0.12) 0%, rgba(10, 13, 20, 0.9) 100%);
  transform: perspective(600px) translateY(-3px) translateZ(10px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 6px 0 rgba(6, 8, 12, 0.9),
    0 12px 24px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(201, 154, 61, 0.25);
}

.hub-info h4 {
  font-size: 0.92rem;
  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(--gold-light);
  font-size: 1.1rem;
}

/* Minimal Luxury Footer */
.site-footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: #020305;
  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-display);
  font-size: 1.2rem;
  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 */
  .navbar {
    height: 60px;
    padding: 0 14px;
  }
  .brand {
    gap: 8px;
  }
  .brand-title {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
  }
  .brand-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
  }
  .nav-right {
    gap: 8px;
  }
  .agency-pill {
    display: none; /* Moved into mobile drawer menu for uncluttered header */
  }
  .nav-cta {
    padding: 7px 11px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .mobile-menu-toggle {
    display: flex;
  }

  /* 3D Canvas Scroll Stage */
  #scroll-stage {
    height: 320vh;
  }
  .stage-viewport {
    height: 100vh;
    height: 100dvh;
  }
  .cinematic-letterbox-top {
    height: 50px;
  }
  .cinematic-letterbox-bottom {
    height: 70px;
  }

  /* Mobile Chapter Blocks (Centered below video frame) */
  .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-gold) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px;
    padding: 14px 16px;
    background: rgba(3, 5, 8, 0.88);
    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;
  }

  /* Containers & Content Headers */
  .container {
    width: calc(100% - 28px);
    padding: 0;
  }
  .section-header {
    padding: 55px 0 25px 0;
  }
  .section-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
  }
  .section-heading {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  /* Visual Showcases */
  .visual-showcase-split,
  .visual-showcase-split.reverse {
    gap: 24px;
    padding-bottom: 50px;
  }
  .showcase-img {
    height: 260px;
  }
  .floating-badge {
    font-size: 0.6rem;
    padding: 5px 10px;
    bottom: 12px;
    left: 12px;
  }

  /* Ingredient Pillars & Clinical Proof Badges */
  .pillar-item {
    padding: 16px 14px;
  }
  .pillar-num {
    font-size: 1.1rem;
  }
  .pillar-title {
    font-size: 1.25rem;
  }
  .pillar-desc {
    font-size: 0.82rem;
    line-height: 1.6;
  }
  .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 Core */
  .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;
  }
  .stat-feature-card h4 {
    font-size: 1.2rem;
  }
  .stat-feature-card span {
    font-size: 0.65rem;
  }

  /* Application Ritual */
  .ritual-section {
    padding: 50px 0;
  }
  .ritual-grid {
    gap: 14px;
  }
  .ritual-card {
    padding: 20px 16px;
  }
  .ritual-step-tag {
    font-size: 0.62rem;
  }
  .ritual-title {
    font-size: 1.25rem;
  }
  .ritual-desc {
    font-size: 0.82rem;
    line-height: 1.6;
  }
  .sensory-notes-strip {
    padding: 14px 12px;
    margin-top: 20px;
  }
  .sensory-label {
    font-size: 0.65rem;
  }
  .sensory-items {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Acquire Section */
  .acquire-section {
    padding: 50px 0;
  }
  .acquire-card {
    padding: 22px 16px;
    gap: 22px;
  }
  .acquire-visual-img {
    max-width: 100%;
    height: auto;
  }
  .acquire-details h3 {
    font-size: 1.85rem;
    margin-bottom: 8px;
  }
  .acquire-details p {
    font-size: 0.84rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .acquire-sizes {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }
  .size-pill {
    padding: 12px 14px;
    width: 100%;
    justify-content: space-between;
  }
  .acquire-btn {
    width: 100%;
    padding: 13px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-align: center;
  }

  /* Ecosystem Hub */
  .agency-ecosystem-section {
    padding: 50px 0;
  }
  .ecosystem-box {
    padding: 22px 16px;
    gap: 22px;
  }
  .ecosystem-left h3 {
    font-size: 1.7rem;
  }
  .ecosystem-left p {
    font-size: 0.84rem;
    line-height: 1.6;
  }
  .ecosystem-hubs {
    gap: 10px;
  }
  .hub-card {
    padding: 15px 14px;
  }
  .hub-info h4 {
    font-size: 0.85rem;
  }
  .hub-info p {
    font-size: 0.72rem;
  }

  /* Footer */
  .site-footer {
    padding: 30px 0;
    font-size: 0.72rem;
  }
  .footer-inner {
    gap: 10px;
  }
  .footer-brand {
    font-size: 1.05rem;
  }
}
