@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════ */
:root {
  --rose-0:   #fff8f9;
  --rose-1:   #ffeef3;
  --rose-2:   #ffd6e4;
  --rose-3:   #ffb3cc;
  --rose-4:   #f07ea8;
  --primary:  #c0185a;
  --primary-2:#960943;
  --dark:     #0f0508;
  --dark-2:   #1e0b14;
  --dark-3:   #2d1420;
  --text:     #1a0910;
  --text-2:   #5c3042;
  --text-3:   #9b7080;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-sine: cubic-bezier(0.37, 0, 0.63, 1);

  --shadow-sm: 0 2px 12px rgba(192,24,90,0.08);
  --shadow-md: 0 8px 32px rgba(192,24,90,0.14);
  --shadow-lg: 0 24px 64px rgba(192,24,90,0.20);
  --shadow-xl: 0 40px 100px rgba(192,24,90,0.28);
}

/* ═══════════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--rose-0);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { cursor: none; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rose-1); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════════════════════════ */
#scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary-2), var(--primary), #ff6fa3, var(--rose-3));
  z-index: 9999;
  transition: width 0.06s linear;
  box-shadow: 0 0 16px rgba(192,24,90,0.6), 0 0 6px rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════════ */
#cursor-dot {
  position: fixed; z-index: 99998;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  will-change: left, top;
}
#cursor-ring {
  position: fixed; z-index: 99997;
  width: 38px; height: 38px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  will-change: left, top;
  transition: width 0.35s var(--ease-back),
              height 0.35s var(--ease-back),
              border-color 0.3s,
              background 0.3s,
              opacity 0.3s;
}
#cursor-ring.hovered {
  width: 60px; height: 60px;
  border-color: var(--primary-2);
  background: rgba(192,24,90,0.06);
}
#cursor-ring.clicking {
  width: 28px; height: 28px;
  background: rgba(192,24,90,0.15);
}

/* ═══════════════════════════════════════════════════════
   PRELOADER  — Luxury cinematic entrance
═══════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
#preloader::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(192,24,90,0.18) 0%, transparent 70%);
  animation: preloaderGlow 3s ease-in-out infinite alternate;
}
@keyframes preloaderGlow {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

/* Horizontal scan line */
#preloader::after {
  content: '';
  position: absolute;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(192,24,90,0.6) 50%, transparent 100%);
  top: 0;
  animation: scanLine 2.5s linear infinite;
}
@keyframes scanLine {
  from { transform: translateY(0); }
  to   { transform: translateY(100vh); }
}

.preloader-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
}

.preloader-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: #fff;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-expo) 0.3s forwards;
}
.preloader-wordmark span {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.preloader-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-expo) 0.55s forwards;
}

/* Progress ring */
.ring-wrap {
  position: relative;
  width: 90px; height: 90px;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.8s forwards;
}
.ring-wrap svg {
  transform: rotate(-90deg);
  width: 100%; height: 100%;
}
.ring-bg  { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 3; }
.ring-fg  {
  fill: none; stroke: var(--primary); stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 283; stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.1s linear;
  filter: drop-shadow(0 0 8px rgba(192,24,90,0.9));
}
#pct-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.preloader-hint {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

/* Exit */
#preloader.done {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease-expo), transform 1.2s var(--ease-expo), visibility 1.2s;
  visibility: hidden;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  background: rgba(255,248,249,0);
  backdrop-filter: blur(0px);
  transition: background 0.5s, backdrop-filter 0.5s, box-shadow 0.5s;
}
#main-nav.scrolled {
  background: rgba(255,248,249,0.9);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(192,24,90,0.08), var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none;
  position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 100%; height: 1px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-expo);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transition: background 0.2s, transform 0.2s var(--ease-back), box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════
   SCROLL EXPERIENCE ZONE
═══════════════════════════════════════════════════════ */
.scroll-experience-wrapper {
  position: relative;
  width: 100%;
  height: 550vh;
}

.canvas-container {
  position: sticky; top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 1; overflow: hidden;
  background: var(--dark);
}
#scroll-canvas {
  width: 100%; height: 100%;
  display: block;
}

/* Vignette on canvas */
.canvas-container::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 90% 90% at 50% 50%, transparent 50%, rgba(10,2,8,0.55) 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   STORY PANELS
═══════════════════════════════════════════════════════ */
.story-panels-layer {
  position: absolute; inset: 0;
  z-index: 10; pointer-events: none;
}

.story-panel {
  position: fixed; inset: 0; z-index: 20;
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 8vw, 9rem);
  pointer-events: none;
  /* Hidden state */
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s var(--ease-expo),
              visibility 0.8s,
              transform 0.8s var(--ease-expo);
}

/* Entry directions */
.story-panel.from-left  { transform: translateX(-40px); }
.story-panel.from-right { transform: translateX(40px); }
.story-panel.from-bottom{ transform: translateY(40px); }

.story-panel.is-active {
  opacity: 1; visibility: visible;
  transform: none !important;
  pointer-events: auto;
}
.story-panel.is-exit {
  opacity: 0;
  transition: opacity 0.5s var(--ease-sine), visibility 0.5s;
}

.panel-left   { justify-content: flex-start; }
.panel-right  { justify-content: flex-end; }
.panel-center { justify-content: center; text-align: center; }

/* ── Glass Card ── */
.glass-card {
  position: relative;
  background: rgba(255, 242, 246, 0.82);
  backdrop-filter: blur(32px) saturate(180%) brightness(1.04);
  -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.04);
  border: 1px solid rgba(255, 200, 220, 0.5);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 500px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 0 0 1px rgba(255,255,255,0.2) inset,
    var(--shadow-xl);
  display: flex; flex-direction: column; gap: 1.2rem;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}

.panel-center .glass-card { max-width: 620px; align-items: center; }

.panel-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(192,24,90,0.07);
  border: 1px solid rgba(192,24,90,0.15);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  align-self: flex-start;
}
.panel-center .panel-eyebrow { align-self: center; }

.panel-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
}
.panel-title em {
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}

.panel-body {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.78;
  color: var(--text-2);
  font-weight: 400;
}

/* Scroll hint */
.scroll-hint {
  display: flex; align-items: center; gap: 0.7rem;
  margin-top: 0.25rem;
  opacity: 0.55;
}
.scroll-hint span {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3);
}
.mouse-icon {
  width: 18px; height: 30px;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  position: relative; flex-shrink: 0;
}
.mouse-wheel {
  width: 3px; height: 7px;
  background: var(--primary); border-radius: 2px;
  position: absolute; top: 5px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-in-out;
}
@keyframes scrollWheel {
  0%   { top: 5px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { top: 15px; opacity: 0; }
  100% { top: 5px; opacity: 0; }
}

/* Panel CTA */
.panel-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: 999px;
  padding: 0.9rem 2.4rem;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  transition: background 0.2s, transform 0.25s var(--ease-back), box-shadow 0.2s;
  margin-top: 0.5rem;
}
.panel-cta:hover {
  background: var(--primary-2);
  transform: translateY(-3px) scale(0.99);
  box-shadow: var(--shadow-xl);
}

/* ═══════════════════════════════════════════════════════
   HUD + SOUND
═══════════════════════════════════════════════════════ */
#frame-hud {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 500;
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(10,2,8,0.85);
  border: 1px solid rgba(192,24,90,0.3);
  border-radius: 999px; padding: 0.45rem 1.1rem;
  backdrop-filter: blur(16px);
  font-family: var(--font-serif);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease-expo), transform 0.5s var(--ease-expo);
}
#frame-hud.visible { opacity: 1; transform: none; }
#frame-hud .lbl { color: rgba(255,160,190,0.5); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; }
#frame-hud .num { color: #fff; font-size: 1.1rem; font-weight: 600; min-width: 2.2ch; }
#frame-hud .sep { color: rgba(255,255,255,0.2); font-size: 0.8rem; }
#frame-hud .tot { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

#sound-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 44px; height: 44px;
  background: rgba(10,2,8,0.85);
  border: 1px solid rgba(192,24,90,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.25s var(--ease-back), background 0.2s, color 0.2s;
}
#sound-btn:hover { transform: scale(1.12); background: var(--primary); color: #fff; }
#sound-btn .icon-on  { display: block; }
#sound-btn .icon-off { display: none; }
#sound-btn.muted .icon-on  { display: none; }
#sound-btn.muted .icon-off { display: block; }

/* ═══════════════════════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════════════════════ */
#product-page {
  position: relative; z-index: 10;
  background: var(--rose-0);
}

/* Section rhythm */
.section-pad { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 5.5rem); }
.container { max-width: 1240px; margin: 0 auto; }

/* ── Hero section ── */
.hero-section {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 6vw, 5.5rem);
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: -20%; right: -10%; z-index: 0;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--rose-2) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroBlobFloat 8s ease-in-out infinite alternate;
}
@keyframes heroBlobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 40px) scale(1.08); }
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(192,24,90,0.06);
  border: 1px solid rgba(192,24,90,0.12);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--primary); font-weight: 600; }

.hero-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75; color: var(--text-2);
  max-width: 440px; margin-bottom: 2.5rem;
}

.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: 999px;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  transition: background 0.2s, transform 0.25s var(--ease-back), box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--primary);
  border: 1.5px solid rgba(192,24,90,0.3);
  border-radius: 999px;
  padding: 0.9rem 2rem;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-back);
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(192,24,90,0.05);
  transform: translateY(-2px);
}

/* Hero image */
.hero-image-wrap {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-bg {
  position: absolute;
  width: 90%; height: 90%;
  background: radial-gradient(circle, var(--rose-2) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroBlobFloat 6s ease-in-out infinite alternate-reverse;
}
.hero-product-img {
  position: relative; z-index: 1;
  width: 85%; max-width: 460px;
  filter: drop-shadow(0 40px 80px rgba(192,24,90,0.25));
  animation: floatImg 5s ease-in-out infinite;
}
@keyframes floatImg {
  0%,100% { transform: translateY(0) rotate(-0.5deg); }
  50%      { transform: translateY(-22px) rotate(0.5deg); }
}

/* Feature pills */
.feature-pills {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
}
.feature-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--rose-2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  box-shadow: var(--shadow-sm);
}
.feature-pill .material-symbols-outlined {
  font-size: 1rem; color: var(--primary);
  font-variation-settings: 'FILL' 1;
}

/* ── Feature icons row ── */
.icon-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3.5rem clamp(1.5rem, 6vw, 5.5rem);
  background: #fff;
  border-top: 1px solid var(--rose-2);
  border-bottom: 1px solid var(--rose-2);
}
.icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-align: center;
}
.icon-item .icon-wrap {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rose-1);
  border-radius: 16px;
  border: 1px solid var(--rose-2);
  transition: background 0.2s, transform 0.3s var(--ease-back);
}
.icon-item:hover .icon-wrap {
  background: var(--primary);
  transform: translateY(-4px) scale(1.05);
}
.icon-item:hover .icon-wrap .material-symbols-outlined { color: #fff; }
.icon-item .material-symbols-outlined {
  font-size: 1.4rem; color: var(--primary);
  font-variation-settings: 'FILL' 1;
  transition: color 0.2s;
}
.icon-item span:last-child {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--text-2);
}

/* ── Science section ── */
.science-section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 5.5rem);
  background: var(--rose-0);
}
.section-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300; line-height: 1.12;
  color: var(--text); letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--primary); font-weight: 600; }
.section-body {
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  line-height: 1.75; color: var(--text-2);
  max-width: 520px;
}

.science-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 4rem; align-items: start;
}

.science-main-card {
  background: #fff;
  border: 1px solid var(--rose-2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s;
}
.science-main-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.science-card-body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.science-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rose-1); border-radius: 14px;
  border: 1px solid var(--rose-2);
  margin-bottom: 1.25rem;
}
.science-card-icon .material-symbols-outlined {
  color: var(--primary); font-size: 1.4rem;
  font-variation-settings: 'FILL' 1;
}
.science-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.75rem;
}
.science-card-body p { font-size: 0.92rem; line-height: 1.7; color: var(--text-2); }
.check-list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-2);
}
.check-list li .material-symbols-outlined {
  font-size: 1rem; color: var(--primary);
  font-variation-settings: 'FILL' 1;
}
.science-img-wrap {
  height: 200px; overflow: hidden; background: var(--rose-1);
}
.science-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-expo); }
.science-main-card:hover .science-img-wrap img { transform: scale(1.05); }

/* Side cards */
.science-side { display: flex; flex-direction: column; gap: 1.5rem; }
.side-card {
  background: #fff;
  border: 1px solid var(--rose-2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.side-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.side-card-header {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.side-card-header .material-symbols-outlined {
  color: var(--primary); font-size: 1.4rem;
  font-variation-settings: 'FILL' 1;
}
.side-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 600; color: var(--text);
}
.side-card p { font-size: 0.88rem; line-height: 1.68; color: var(--text-2); }
.progress-bar-wrap { margin-top: 1rem; height: 3px; background: var(--rose-2); border-radius: 2px; overflow: hidden; }
.progress-bar-fill {
  height: 100%; background: var(--primary); border-radius: 2px;
  width: 0; transition: width 1.2s var(--ease-expo);
}
.side-card:hover .progress-bar-fill { width: 100%; }

/* ── Stats section ── */
.stats-section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 5.5rem);
  background: var(--dark);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(192,24,90,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 80%, rgba(192,24,90,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.stats-content { position: relative; z-index: 1; }
.stats-section .section-label { color: var(--rose-3); }
.stats-section .section-title { color: #fff; }
.stats-section .section-title em { color: var(--rose-3); }

.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin: 4rem 0;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-expo);
}
.stat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-expo);
}
.stat-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(192,24,90,0.3);
  transform: translateY(-4px);
}
.stat-card:hover::after { transform: scaleX(1); }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1;
  color: #fff; margin-bottom: 0.5rem;
}
.stat-num span { color: var(--primary); }
.stat-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.stats-cta-row {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.btn-light {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #fff; color: var(--primary);
  border: none; border-radius: 999px;
  padding: 0.9rem 2.4rem;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  transition: background 0.2s, transform 0.25s var(--ease-back), box-shadow 0.2s;
}
.btn-light:hover { background: var(--rose-1); transform: translateY(-2px); }
.stats-disclaimer { font-size: 0.7rem; color: rgba(255,255,255,0.3); font-style: italic; }

/* ── Notice ── */
.notice-section { padding: 2.5rem clamp(1.5rem, 6vw, 5.5rem); background: var(--rose-0); }
.notice-card {
  max-width: 1240px; margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(192,24,90,0.12);
  border-radius: 20px; padding: 1.75rem 2rem;
  display: flex; align-items: center; gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.notice-card .material-symbols-outlined { color: var(--primary); font-size: 1.6rem; flex-shrink: 0; }
.notice-card h4 {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.3rem;
}
.notice-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text-2); }

/* ── Footer ── */
footer {
  background: var(--dark-2);
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem) 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 600;
  color: var(--rose-3); letter-spacing: 0.02em;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.3); max-width: 320px; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-back);
}
.social-btn:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary); transform: translateY(-2px);
}
.social-btn .material-symbols-outlined { font-size: 1rem; }

.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h5 {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.88rem; color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rose-3); }

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content { order: 2; }
  .hero-image-wrap { order: 1; }
  .hero-body { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .feature-pills { justify-content: center; }
  .science-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .icon-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .story-panel { padding: 1.5rem; justify-content: center !important; text-align: center; }
  .glass-card { max-width: 100%; }
  .panel-eyebrow { align-self: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  #frame-hud { bottom: 1rem; left: 1rem; }
  #sound-btn { bottom: 1rem; right: 1rem; }
}
@media (max-width: 480px) {
  .footer-links-grid { grid-template-columns: 1fr; }
}
