/* ═══════════════════════════════════════════════════════════
   NECTARLY — THE SANCTUARY
   Design System: "Ethereal Botanical Sanctuary meets Biotech-Luxe"
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --poppy-red: #DC343B;
  --crimson-pantone: #AE0F36;
  --chili-oil: #8F3D37;
  --crown-blue: #464B65;
  --bronze-mist: #9C7E41;
  --winterberry: #BE394F;
  --primrose-pink: #EED4D9;
  --lyons-blue: #005871;
  --fig: #532E3B;
  --pantone-162c: #FFBE9F;
  --pantone-9580c: #E1EFCE;
  --petal-cream: #F9D4C5;
  --orchid-mist: #E8D3EF;
  --aqua-mist: #D5EEF0;

  --ochre: var(--poppy-red);
  --ochre-glow: rgba(220, 52, 59, 0.22);
  --terracotta: var(--chili-oil);
  --terracotta-glow: rgba(143, 61, 55, 0.2);
  --deep-sage: var(--lyons-blue);
  --sage-glow: rgba(0, 88, 113, 0.18);
  --incandescent-rose: var(--winterberry);
  --rose-glow: rgba(190, 57, 79, 0.2);
  --warm-cream: var(--fig);
  --midnight: var(--primrose-pink);
  --midnight-deep: #F3E7EA;
  --dawn: var(--primrose-pink);
  --gold: var(--bronze-mist);
  --gold-glow: rgba(156, 126, 65, 0.22);

  /* Glass */
  --glass-bg: rgba(238, 212, 217, 0.58);
  --glass-border: rgba(83, 46, 59, 0.22);
  --glass-blur: 24px;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 10vh, 8rem);
  --content-max: 1200px;

  /* Transitions */
  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: auto; /* Lenis handles this */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--warm-cream);
  background: var(--midnight-deep);
  overflow-x: hidden;
  line-height: 1.6;
}

body.cart-open { overflow: hidden; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #005871;
  outline-offset: 4px;
}

/* ─── 3D CANVAS ─── */
#sanctuary-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ─── ENTRANCE OVERLAY ─── */
.entrance-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(238, 212, 217, 0.94) 0%, #F3E7EA 100%);
  backdrop-filter: blur(30px);
  transition: opacity 1.2s var(--ease-silk), visibility 1.2s;
}

.entrance-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entrance-content {
  text-align: center;
  animation: fadeInUp 1.5s var(--ease-silk) both;
}

.entrance-logo { margin-bottom: 1.5rem; }

.logo-img {
  width: clamp(80px, 15vw, 140px);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(83, 46, 59, 0.34));
  animation: logoPulse 4s ease-in-out infinite;
}

.entrance-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: #532E3B;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.entrance-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  opacity: 0.45;
  letter-spacing: 0.05em;
}

/* ─── BUTTONS: LIQUID MORPHISM ─── */
.btn-liquid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(83, 46, 59, 0.28);
  border-radius: 60px;
  background: rgba(238, 212, 217, 0.58);
  backdrop-filter: blur(12px);
  color: #532E3B;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s var(--ease-silk);
}

.btn-liquid:hover {
  border-color: #DC343B;
  background: rgba(220, 52, 59, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220, 52, 59, 0.16), 0 0 42px rgba(83, 46, 59, 0.06);
}

.btn-liquid:disabled,
.btn-liquid[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.btn-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-silk);
}

.btn-liquid:hover .btn-shimmer { transform: translateX(100%); }

.btn-primary { border-color: #DC343B; background: rgba(220, 52, 59, 0.09); }
.btn-primary:hover { background: rgba(220, 52, 59, 0.17); border-color: #DC343B; box-shadow: 0 8px 28px rgba(220, 52, 59, 0.18); }

.btn-secondary { border-color: #005871; }
.btn-secondary:hover { border-color: #005871; background: rgba(0, 88, 113, 0.12); box-shadow: 0 8px 28px rgba(0, 88, 113, 0.18); }

.btn-accent { border-color: #532E3B; background: rgba(83, 46, 59, 0.08); }
.btn-accent:hover { background: rgba(83, 46, 59, 0.16); box-shadow: 0 8px 28px rgba(83, 46, 59, 0.18); }

.enter-btn { padding: 1.2rem 3rem; font-size: 1.05rem; }

/* ─── SCROLL CONTAINER ─── */
.scroll-container {
  position: relative;
  z-index: 10;
  transition: opacity 1s var(--ease-silk);
}

/* ─── SECTIONS ─── */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8F3D37;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* ─── GLASS CARD ─── */
.glass-card {
  background: rgba(238, 212, 217, 0.58);
  border: 1px solid rgba(83, 46, 59, 0.22);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all 0.5s var(--ease-silk);
}

.glass-card:hover {
  border-color: rgba(83, 46, 59, 0.36);
  background: rgba(238, 212, 217, 0.74);
  box-shadow: 0 12px 42px rgba(83, 46, 59, 0.13);
}

/* ─── HERO ─── */
.section--hero {
  min-height: 100vh;
  flex-direction: column;
  text-align: center;
  padding-top: 15vh;
}

.hero-content {
  isolation: isolate;
  max-width: 900px;
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
}

.hero-content::before {
  position: absolute;
  inset: -3.5rem -5rem -1.5rem;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 247, 244, 0.54), rgba(255, 190, 159, 0.2) 36%, transparent 68%),
    radial-gradient(circle at 35% 62%, rgba(238, 212, 217, 0.24), transparent 52%),
    radial-gradient(circle at 66% 58%, rgba(174, 15, 54, 0.12), transparent 48%);
  content: '';
  filter: blur(22px);
  pointer-events: none;
}

.hero-headline {
  color: #3F2430;
  font-family: var(--font-serif);
  font-weight: 300;
  isolation: isolate;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  padding: clamp(0.65rem, 1.5vw, 1.2rem) clamp(1rem, 3vw, 2.5rem);
  position: relative;
  text-shadow:
    0 1px 0 rgba(255, 247, 244, 0.78),
    0 0 18px rgba(255, 247, 244, 0.9),
    0 8px 28px rgba(83, 46, 59, 0.2);
}

.hero-headline::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 247, 244, 0.42) 28%, rgba(255, 247, 244, 0.38) 62%, transparent 100%),
    radial-gradient(circle at 44% 42%, rgba(255, 190, 159, 0.18), transparent 60%),
    radial-gradient(circle at 62% 56%, rgba(238, 212, 217, 0.18), transparent 58%);
  border-radius: 0;
  box-shadow: none;
  content: '';
  filter: blur(24px);
  inset: -0.18em -0.2em -0.06em;
  opacity: 0.92;
  position: absolute;
  transform: scale(1.08);
  z-index: -1;
}

.hero-headline .line {
  display: block;
  font-size: clamp(2rem, 5.5vw, 4rem);
  opacity: 0;
  position: relative;
  transform: translateY(40px);
  z-index: 1;
}

.hero-headline .highlight {
  color: #B62543;
  font-weight: 500;
  font-style: italic;
  text-shadow:
    0 1px 0 rgba(255, 247, 244, 0.82),
    0 0 18px rgba(220, 52, 59, 0.3),
    0 0 34px rgba(255, 190, 159, 0.28);
}

.hero-sub {
  background: rgba(255, 247, 244, 0.42);
  border: 1px solid rgba(255, 247, 244, 0.38);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(255, 247, 244, 0.34);
  display: inline-block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0;
  padding: 0.55rem 1.1rem;
  transform: translateY(20px);
  color: rgba(63, 36, 48, 0.82);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 0 rgba(255, 247, 244, 0.72);
  line-height: 1.7;
  text-shadow:
    0 0 14px rgba(255, 190, 159, 0.22),
    0 4px 22px rgba(83, 46, 59, 0.14);
  filter: drop-shadow(0 0 12px rgba(255, 190, 159, 0.18));
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeInUp 1s 3s var(--ease-silk) forwards;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
}

.scroll-hint-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(156, 126, 65, 0.54), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── MANIFESTO ─── */
.section--manifesto { min-height: 100vh; }

.manifesto-content {
  max-width: 800px;
  text-align: center;
}

.manifesto-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: #532E3B;
}

.manifesto-text p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  color: rgba(83, 46, 59, 0.72);
}

.manifesto-text strong { color: var(--warm-cream); }
.manifesto-text em { color: #BE394F; font-style: italic; }

/* ─── PRODUCT RITUAL ─── */
.section--ritual {
  min-height: auto;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.ritual-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--content-max);
  width: 100%;
}

.ritual-copy {
  max-width: 480px;
}

.ritual-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.ritual-copy p {
  color: rgba(83, 46, 59, 0.7);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.ritual-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.ritual-point {
  border-left: 2px solid #BE394F;
  color: rgba(83, 46, 59, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding-left: 1rem;
}

.ritual-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.82fr;
  gap: 1rem;
  align-items: end;
}

.ritual-image {
  background: rgba(83, 46, 59, 0.05);
  border: 1px solid rgba(83, 46, 59, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  margin: 0;
  overflow: hidden;
}

.ritual-image--primary { transform: translateY(-1rem); }

.ritual-image img {
  aspect-ratio: 1 / 1;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ─── LIFECYCLE ─── */
.section--lifecycle {
  flex-direction: column;
  min-height: auto;
  padding-bottom: 0;
}

.lifecycle-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.lifecycle-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lifecycle-intro {
  font-size: 1.05rem;
  color: rgba(83, 46, 59, 0.6);
  font-weight: 300;
}

.phase-panel {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.phase-panel:nth-of-type(even) {
  justify-content: flex-start;
}

.phase-panel:nth-of-type(odd) {
  justify-content: flex-end;
}

.phase-content {
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--phase-color, #BE394F) 18%, transparent), transparent 34%),
    linear-gradient(135deg, var(--phase-card-start, rgba(238, 212, 217, 0.66)), var(--phase-card-end, rgba(249, 212, 197, 0.42)));
  border-color: var(--phase-border, rgba(83, 46, 59, 0.22));
  box-shadow: 0 18px 54px var(--phase-shadow, rgba(83, 46, 59, 0.12));
}

.phase-content:hover {
  border-color: var(--phase-color, #BE394F);
  box-shadow: 0 20px 64px var(--phase-shadow, rgba(83, 46, 59, 0.18));
  transform: translateY(-4px);
}

.phase-panel[data-phase="menarche"] {
  --phase-color: #DC343B;
  --phase-card-start: rgba(255, 190, 159, 0.5);
  --phase-card-end: rgba(238, 212, 217, 0.68);
  --phase-border: rgba(220, 52, 59, 0.28);
  --phase-shadow: rgba(220, 52, 59, 0.15);
}

.phase-panel[data-phase="periods"] {
  --phase-color: #8F3D37;
  --phase-card-start: rgba(143, 61, 55, 0.16);
  --phase-card-end: rgba(238, 212, 217, 0.68);
  --phase-border: rgba(143, 61, 55, 0.3);
  --phase-shadow: rgba(143, 61, 55, 0.16);
}

.phase-panel[data-phase="pcos"] {
  --phase-color: #005871;
  --phase-card-start: rgba(225, 239, 206, 0.58);
  --phase-card-end: rgba(213, 238, 240, 0.48);
  --phase-border: rgba(0, 88, 113, 0.28);
  --phase-shadow: rgba(0, 88, 113, 0.14);
}

.phase-panel[data-phase="perimenopause"] {
  --phase-color: #464B65;
  --phase-card-start: rgba(232, 211, 239, 0.56);
  --phase-card-end: rgba(238, 212, 217, 0.56);
  --phase-border: rgba(70, 75, 101, 0.28);
  --phase-shadow: rgba(70, 75, 101, 0.14);
}

.phase-panel[data-phase="menopause"] {
  --phase-color: #9C7E41;
  --phase-card-start: rgba(255, 190, 159, 0.42);
  --phase-card-end: rgba(225, 239, 206, 0.44);
  --phase-border: rgba(156, 126, 65, 0.32);
  --phase-shadow: rgba(156, 126, 65, 0.15);
}

.phase-panel[data-phase="lunasync"] {
  --phase-color: #532E3B;
  --phase-card-start: rgba(70, 75, 101, 0.18);
  --phase-card-end: rgba(213, 238, 240, 0.42);
  --phase-border: rgba(83, 46, 59, 0.32);
  --phase-shadow: rgba(83, 46, 59, 0.16);
}

.phase-panel[data-phase="lunasync"] .luna-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(83, 46, 59, 0.18), transparent 34%),
    linear-gradient(135deg, var(--phase-card-start), var(--phase-card-end));
  border-color: var(--phase-border);
}

.phase-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--phase-color, var(--ochre));
  opacity: 0.1;
  line-height: 1;
}

.phase-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #532E3B, var(--phase-color, #BE394F));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phase-stage {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--phase-color, #8F3D37);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.phase-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(83, 46, 59, 0.72);
  margin-bottom: 1.5rem;
}

.phase-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.ingredient-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  border: 1px solid rgba(83, 46, 59, 0.18);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(83, 46, 59, 0.72);
  background: rgba(238, 212, 217, 0.35);
  transition: all 0.3s var(--ease-silk);
}

.ingredient-tag:hover {
  border-color: #005871;
  color: #005871;
  background: rgba(0, 88, 113, 0.08);
}

.phase-flavor {
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.6;
}

.luna-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(83, 46, 59, 0.18), transparent 34%),
    linear-gradient(135deg, var(--phase-card-start, rgba(70, 75, 101, 0.18)), var(--phase-card-end, rgba(213, 238, 240, 0.42)));
  border-color: var(--phase-border, rgba(83, 46, 59, 0.32));
}

/* ─── TRANSPARENCY LAB ─── */
.section--transparency {
  flex-direction: column;
  min-height: auto;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.transparency-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.transparency-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.35;
}

.transparency-title em {
  color: var(--deep-sage);
  font-weight: 500;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--content-max);
  width: 100%;
}

.ingredient-card {
  text-align: center;
  cursor: default;
  transition: all 0.5s var(--ease-silk);
}

.ingredient-card:hover {
  transform: translateY(-6px);
}

.ingredient-visual {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: saturate(0.8);
  transition: all 0.4s var(--ease-silk);
}

.ingredient-card:hover .ingredient-visual {
  transform: scale(1.15);
  filter: saturate(1.2);
}

.ingredient-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--warm-cream);
}

.ingredient-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(83, 46, 59, 0.6);
}

/* ─── WAITLIST ─── */
.section--waitlist {
  flex-direction: column;
  min-height: auto;
  padding-bottom: clamp(0.8rem, 2vh, 1.5rem);
  overflow: hidden;
  text-align: center;
}

.waitlist-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.waitlist-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.waitlist-sub {
  font-size: 1.05rem;
  color: rgba(83, 46, 59, 0.6);
  margin-bottom: 2rem;
  font-weight: 300;
}

.waitlist-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
}

.counter-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  background: linear-gradient(135deg, #DC343B, #532E3B, #005871);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.counter-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 0.3rem;
}

.waitlist-form { padding: 2rem; }

.form-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.form-group input {
  flex: 1;
  min-width: 220px;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(83, 46, 59, 0.24);
  border-radius: 60px;
  background: rgba(238, 212, 217, 0.5);
  color: #532E3B;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.4s var(--ease-silk);
}

.form-group input::placeholder { color: rgba(83, 46, 59, 0.38); }

.form-group input:focus {
  border-color: #005871;
  background: rgba(0, 88, 113, 0.06);
  box-shadow: 0 0 26px rgba(0, 88, 113, 0.14);
}

.form-note {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  opacity: 0.35;
}

.waitlist-success, .gift-success {
  padding: 2rem;
  animation: fadeInUp 0.8s var(--ease-silk);
}

.success-burst {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: burstPulse 1.5s ease-in-out infinite;
}

/* ─── GIFT A SNAP ─── */
.section--gift {
  flex-direction: column;
  min-height: auto;
  padding-top: clamp(1rem, 2.4vh, 1.8rem);
  padding-bottom: clamp(1rem, 2.4vh, 1.8rem);
  text-align: center;
}

.gift-content { max-width: 600px; }

.gift-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.gift-sub {
  font-size: 1.05rem;
  color: rgba(83, 46, 59, 0.6);
  margin-bottom: 2rem;
  font-weight: 300;
}

.gift-form { padding: 2rem; }

/* ─── TESTIMONIALS ─── */
.section--testimonials {
  flex-direction: column;
  min-height: auto;
  padding: clamp(1.25rem, 3vh, 2.25rem) clamp(1rem, 5vw, 4rem) var(--section-pad);
}

.testimonials-content {
  max-width: var(--content-max);
  width: 100%;
  text-align: center;
}

.testimonials-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 3rem;
}

.testimonial-bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-bubble {
  text-align: left;
  transition: all 0.5s var(--ease-silk);
  cursor: default;
}

.testimonial-bubble:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #532E3B;
  box-shadow: 0 12px 34px rgba(83, 46, 59, 0.16);
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(83, 46, 59, 0.78);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #BE394F;
}

/* ─── FOOTER ─── */
.section--footer {
  min-height: auto;
  padding: 4rem clamp(1rem, 5vw, 4rem) 2rem;
  border-top: 1px solid rgba(83, 46, 59, 0.1);
}

.footer-content {
  max-width: var(--content-max);
  width: 100%;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  background: linear-gradient(135deg, #532E3B, #BE394F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.4;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-link {
  color: rgba(83, 46, 59, 0.52);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-link:hover { color: #BE394F; }

.footer-audio-toggle { margin-bottom: 2rem; }

.btn-audio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  background: var(--glass-bg);
  color: rgba(83, 46, 59, 0.5);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-audio:hover { border-color: #005871; color: #005871; }
.btn-audio.muted .audio-icon::after { content: ' (off)'; }

.footer-disclaimer {
  color: rgba(83, 46, 59, 0.36);
  font-size: 0.72rem;
  line-height: 1.7;
  margin: 0 auto 1rem;
  max-width: 720px;
}

.footer-copy {
  font-size: 0.72rem;
  opacity: 0.25;
  letter-spacing: 0.03em;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(83, 46, 59, 0.28)); }
  50% { filter: drop-shadow(0 0 28px rgba(190, 57, 79, 0.28)) drop-shadow(0 0 42px rgba(83, 46, 59, 0.2)); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.3); }
}

@keyframes burstPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-headline .line { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .ritual-content { grid-template-columns: 1fr; }
  .ritual-copy { max-width: none; text-align: center; }
  .ritual-gallery { grid-template-columns: 1fr; }
  .ritual-image--primary { transform: none; }
  .form-group { flex-direction: column; }
  .form-group input { min-width: unset; width: 100%; }
  .phase-content { padding: 2rem 1.5rem; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .testimonial-bubbles { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 1rem; }
  
  .phase-panel:nth-of-type(even),
  .phase-panel:nth-of-type(odd) {
    justify-content: center;
  }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F3E7EA; }
::-webkit-scrollbar-thumb { background: rgba(83, 46, 59, 0.34); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #532E3B; }

/* ─── NAVIGATION ─── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  z-index: 500;
  background: linear-gradient(to bottom, rgba(243, 231, 234, 0.9), transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(83, 46, 59, 0.1);
  transition: all 0.8s var(--ease-silk);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: #532E3B;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: rgba(83, 46, 59, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: #BE394F;
  letter-spacing: 0.2em;
}

.cart-btn {
  background: none;
  border: 1px solid rgba(83, 46, 59, 0.24);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.4s var(--ease-silk);
}

.cart-btn:hover {
  border-color: #BE394F;
  background: rgba(190, 57, 79, 0.08);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #DC343B;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ─── CART DRAWER ─── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s var(--ease-silk);
}

.cart-drawer.active {
  visibility: visible;
  pointer-events: all;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(243, 231, 234, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s;
}

.cart-drawer.active .cart-overlay { opacity: 1; }

.cart-content {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  width: 450px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  transform: translateX(120%);
  transition: transform 0.6s var(--ease-bounce);
}

.cart-drawer.active .cart-content { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.close-btn {
  background: none;
  border: none;
  color: #532E3B;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.close-btn:hover { opacity: 1; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 2rem;
}

.cart-item {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem;
}

.cart-item h4 {
  font-size: 1rem;
  margin: 0;
}

.cart-item p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.6;
}

.remove-item {
  align-items: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #8F3D37;
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  height: 2rem;
  justify-content: center;
  transition: all 0.3s var(--ease-silk);
  width: 2rem;
}

.remove-item:hover,
.remove-item:focus-visible {
  background: rgba(143, 61, 55, 0.1);
  border-color: rgba(143, 61, 55, 0.28);
}

.empty-msg {
  text-align: center;
  opacity: 0.4;
  margin-top: 4rem;
  font-style: italic;
}

.cart-footer {
  border-top: 1px solid rgba(83, 46, 59, 0.12);
  padding-top: 2rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.full-width { width: 100%; }

.cart-note {
  color: rgba(83, 46, 59, 0.5);
  font-size: 0.75rem;
  line-height: 1.5;
  margin-top: 0.9rem;
  min-height: 1.2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .main-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .cart-content { right: 10px; left: 10px; width: auto; }
}

/* ─── SELF-OPTIMIZATION: WIDESCREEN / ULTRAWIDE ─── */
@media (min-width: 1600px) {
  :root {
    --content-max: 1600px;
    --section-pad: 12rem;
  }
  .hero-headline .line { font-size: clamp(3rem, 6vw, 5.5rem); }
  .hero-sub { font-size: 1.4rem; max-width: 800px; }
  .glass-card { padding: 4.5rem; }
  .ritual-title { font-size: 3.8rem; }
  .phase-name { font-size: 3.2rem; }
  .nav-logo { font-size: 2.2rem; }
  .nav-links a { font-size: 1rem; }
}
