/* =============================================
   ALIGN A'LIGHT — Main Stylesheet (Light theme)
   Brand palette (from @alignalight):
   --white       #ffffff  base background
   --mist        #ece3f4  mauve mist (dominant soft tone)
   --mist-soft   #f5effb  lighter mauve mist
   --mist-deep   #e0d2ef  deeper mauve
   --purple      #8a5fb8  purple outlines / accents
   --violet      #6c3f9e  deep violet (emphasis)
   --indigo      #2f357a  indigo-blue text
   --indigo-deep #21264f  headings
   --blue-bg     #e9f1fc  very light blue (contact / platforms)
   ============================================= */

:root {
  /* Tells the browser this page manages its own light/dark theming, so OS/browser-level
     "force dark mode" (which double-processes our soft text-shadow glows and produces
     halo artifacts) backs off instead of auto-inverting colors. */
  color-scheme: light;

  /* legacy names kept so inline SVGs keep working, remapped to light palette */
  --deep:   #ffffff;   /* base background            */
  --dark:   #f5effb;   /* light mauve section        */
  --mid:    #ece3f4;   /* mauve mist section         */
  --panel:  #ffffff;   /* card surface               */
  --gold:   #8a5fb8;   /* primary accent  (purple)   */
  --amber:  #6c3f9e;   /* deep accent     (violet)   */
  --cream:  #21264f;   /* headings / strong (indigo) */
  --rose:   #7fa3da;   /* light-blue accent          */
  --mist:   #ece3f4;   /* mauve mist                 */
  --text:   #3b4180;   /* body indigo-blue           */
  --text-dim: #7b7fa8; /* muted indigo-grey          */

  /* new named tokens */
  --white:      #ffffff;
  --mist-soft:  #f5effb;
  --mist-deep:  #e0d2ef;
  --lilac:      #c9b6de;
  --purple:     #8a5fb8;
  --violet:     #6c3f9e;
  --indigo:     #2f357a;
  --indigo-deep:#21264f;
  --blue-bg:    #e9f1fc;
  --blue-bg2:   #dceafb;
  --blue-line:  #bcd3f3;

  --outline:        rgba(138, 95, 184, 0.22);
  --outline-strong: rgba(138, 95, 184, 0.45);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 18px 50px rgba(108, 63, 158, 0.12);
  --shadow-card: 0 24px 60px rgba(108, 63, 158, 0.16);
  --glow-gold: 0 0 40px rgba(138, 95, 184, 0.22);
  --glow-amber: 0 0 60px rgba(138, 95, 184, 0.14);
}

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

/* Keyboard focus — visible, on-palette, only for keyboard users */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — hidden until focused */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10001;
  background: var(--indigo-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Cave canvas sits at z-index:1; all page layers must be above it */
#loader, #navbar, body > section, body > footer, .cart-toast {
  position: relative;
  z-index: 2;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--indigo-deep);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--indigo-deep);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--violet);
}

.section-sub {
  max-width: 580px;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-top: 8px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 12px auto 0; }

.apos { color: var(--purple); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(147, 120, 158, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(147, 120, 158, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--violet);
  border: 1.5px solid var(--outline-strong);
}
.btn-outline:hover {
  background: rgba(147, 120, 158, 0.08);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--outline);
  box-shadow: 0 6px 24px rgba(69, 59, 94, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--transition);
}
#navbar.scrolled .nav-inner { padding: 14px 32px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--indigo-deep);
  letter-spacing: 0.02em;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  height: 1.3em;
  line-height: 1;
  color: var(--purple);
  font-size: 1.1rem;
  animation: spin-slow 10s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--indigo);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--purple); }

/* Nav pillars — Learn / Experience / Explore / Belong */
.has-dropdown { position: relative; }
.nav-pillar {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--indigo);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}
.nav-pillar:hover { color: var(--purple); }
.nav-pillar::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease 0.15s, transform 0.2s ease 0.15s,
              visibility 0s linear 0.35s;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  transition-delay: 0s;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--text);
}
.nav-dropdown a:hover { background: var(--mist-soft); color: var(--purple); }

.nav-soon-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--mist-soft);
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  vertical-align: middle;
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: box-shadow var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(147, 120, 158, 0.45);
  transform: translateY(-1px);
}

/* cart */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--indigo);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition), transform var(--transition);
}
.nav-cart:hover { color: var(--purple); transform: translateY(-1px); }
.nav-cart.bump { animation: cart-bump 0.4s ease; }
@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.25); }
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform var(--transition);
  box-shadow: 0 0 10px rgba(147, 120, 158, 0.5);
}
.cart-count.visible { transform: scale(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--indigo-deep);
  transition: var(--transition);
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 38%, var(--mist) 0%, var(--white) 70%);
}

/* Luxe 3D crystal scene behind the hero (bg-luxe.js) */
.hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Whisper of white at the center so hero text stays legible over the crystal */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 68% 66% at 50% 46%,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #c9b6de 0%, transparent 70%);
  top: -15%; left: -10%;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #bcd3f3 0%, transparent 70%);
  top: 8%; right: -8%;
  opacity: 0.55;
  animation-delay: -4s;
}
.orb-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #e0d2ef 0%, transparent 70%);
  bottom: -10%; left: 28%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 32px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 1px 10px rgba(255, 253, 249, 0.85);
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 700;
  /* solid fallback first, then gradient text for supporting browsers */
  color: var(--violet);
  background: linear-gradient(120deg, #8a5fb8 0%, #6c3f9e 45%, #21264f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(255, 255, 255, 0.9));
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  color: var(--violet);
  text-shadow: 0 1px 12px rgba(255, 253, 249, 0.9);
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: var(--mist);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  padding: 40px 0;
}

.intro-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.intro-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 40px;
  text-align: left;
}
.intro-item p { font-size: 0.9rem; color: var(--text-dim); }
.intro-item strong { display: block; color: var(--indigo-deep); font-weight: 600; font-size: 1rem; }

.intro-icon {
  font-size: 1.5rem;
  color: var(--purple);
  flex-shrink: 0;
}

.intro-divider {
  width: 1px;
  height: 48px;
  background: var(--outline);
  flex-shrink: 0;
}

/* ---- ABOUT ---- */
#about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-frame {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(147, 120, 158, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.about-symbol {
  width: 100%;
  max-width: 380px;
  animation: slow-rotate 30s linear infinite;
}
@keyframes slow-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-text { padding: 20px 0; }

.about-text p {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0;
  padding: 28px;
  background: var(--mist-soft);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 8px var(--purple);
}
.pillar strong {
  color: var(--indigo-deep);
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.pillar p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }

/* ---- SERVICES ---- */
#services {
  padding: 120px 0;
  background: var(--mist);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 120, 158, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--outline-strong);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: var(--outline-strong);
  background: linear-gradient(135deg, #ffffff 0%, var(--mist-soft) 100%);
}

.service-card-inner {
  padding: 44px;
  position: relative;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}
.service-icon-wrap svg { width: 100%; height: 100%; }

.service-num {
  position: absolute;
  top: 32px;
  right: 40px;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(147, 120, 158, 0.14);
  font-weight: 600;
  line-height: 1;
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.55rem;
  color: var(--indigo-deep);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.service-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-size: 0.6rem;
  top: 4px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--violet);
  letter-spacing: 0.02em;
  transition: gap var(--transition), color var(--transition);
  display: inline-block;
}
.service-link:hover { color: var(--purple); letter-spacing: 0.04em; }

/* ---- HOW IT WORKS ---- */
#how {
  padding: 120px 0;
  background: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 18px;
}

.step-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(147, 120, 158, 0.35);
  position: relative;
  z-index: 1;
}

/* horizontal connector running from this bubble's centre to the next */
.step-line {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--outline-strong), var(--outline));
  margin: 0;
  z-index: 0;
}
.step-line.last { display: none; }

.step-content {
  padding: 26px 0 0;
}
.step-content h4 {
  font-size: 1.2rem;
  color: var(--indigo-deep);
  margin-bottom: 8px;
  line-height: 1.25;
  /* reserve room for two lines so every step's text stays aligned,
     even when a longer title (e.g. "Integration & Embodiment") wraps */
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 860px) {
  .step-content h4 { min-height: 0; }
}

@media (max-width: 860px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 52px; max-width: 520px; }
  .process-step .step-line { display: none; }
}
@media (max-width: 520px) {
  .process-timeline { grid-template-columns: 1fr; max-width: 340px; }
}

/* ---- QUOTE BREAK ---- */
.quote-section {
  padding: 100px 0;
  background: var(--mist);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.quote-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 120, 158, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
blockquote {
  position: relative;
  z-index: 1;
}
blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--indigo-deep);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
blockquote cite {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--purple);
  text-transform: uppercase;
  font-style: normal;
}

/* ---- TESTIMONIALS ---- */
#testimonials {
  padding: 120px 0;
  background: var(--mist-soft);
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.testimonial-card.featured-testimonial {
  border-color: var(--outline-strong);
  background: linear-gradient(135deg, var(--blue-bg) 0%, #ffffff 100%);
  box-shadow: var(--glow-amber);
}

.testimonial-stage {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-stage:last-of-type { margin-bottom: 28px; }
.testimonial-stage span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--rose));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--indigo-deep); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-dim); }

/* ---- OFFERINGS HIGHLIGHT ---- */
.offerings-highlight {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--mist) 0%, var(--mist-soft) 100%);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.offering-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.offering-item:hover {
  border-color: var(--outline-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.offering-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}
.offering-item h4 {
  font-size: 1.1rem;
  color: var(--indigo-deep);
  margin-bottom: 8px;
}
.offering-item p { font-size: 0.88rem; color: var(--text-dim); }

/* ---- SHOP ---- */
#shop {
  padding: 120px 0;
  background: var(--white);
}

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

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--outline-strong);
}
.product-card.bestseller {
  border-color: var(--outline-strong);
  background: linear-gradient(135deg, #ffffff 0%, var(--mist-soft) 100%);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(147, 120, 158, 0.35);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(147, 120, 158, 0.12) 0%, transparent 65%),
    linear-gradient(160deg, var(--mist) 0%, var(--mist-soft) 100%);
  border-bottom: 1px solid var(--outline);
}
.product-media svg { width: 64%; height: 64%; }
.product-media-link { display: block; }
.product-title-link { transition: color var(--transition); }
.product-title-link:hover { color: var(--purple); }

.product-media img,
.product-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 0.35s ease;
}
.product-media img { opacity: 1; }
.product-media video { opacity: 0; }
.product-card:hover .product-media img,
.product-card.is-previewing .product-media img { opacity: 0; }
.product-card:hover .product-media video,
.product-card.is-previewing .product-media video { opacity: 1; }

/* Preview-sound button — visible always, works via click on touch and desktop */
.product-preview-btn {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 11px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--indigo-deep);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(45, 40, 60, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.product-preview-btn:hover { background: #fff; transform: translateY(-1px); }
.product-preview-btn .icon-play,
.product-preview-btn .icon-pause { flex-shrink: 0; color: var(--purple); }
.product-preview-btn .icon-pause { display: none; }
.product-card.is-previewing .product-preview-btn .icon-play { display: none; }
.product-card.is-previewing .product-preview-btn .icon-pause { display: block; }
html.dark .product-preview-btn {
  background: rgba(36, 32, 46, 0.86);
  color: var(--cream);
}
html.dark .product-preview-btn:hover { background: rgba(36, 32, 46, 1); }

/* Section labels for sub-grids */
.shop-section-head {
  grid-column: 1 / -1;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--outline);
  margin-top: 16px;
}
.shop-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple);
}
.shop-section-note {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.6;
}

.product-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-rating {
  color: var(--purple);
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.product-rating span { color: var(--text-dim); letter-spacing: 0; margin-left: 4px; font-size: 0.78rem; }

.product-card h3 {
  font-size: 1.35rem;
  color: var(--indigo-deep);
  margin-bottom: 10px;
}
.product-body p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--violet);
  font-weight: 600;
}
.product-btn {
  padding: 10px 20px;
  font-size: 0.8rem;
  box-shadow: 0 4px 16px rgba(147, 120, 158, 0.3);
}

/* ---- COURSE BANNER ---- */
.course-banner {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  border: 1px solid var(--outline-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--mist-soft) 0%, var(--white) 100%);
}

.course-info { padding: 48px; }
.course-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple);
  display: block;
  margin-bottom: 14px;
}
.course-info h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--indigo-deep);
  margin-bottom: 16px;
}
.course-info > p {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin-bottom: 24px;
  max-width: 520px;
}
.course-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.course-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 0.92rem;
}
.course-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--purple);
  font-size: 0.75rem;
}

.course-cta {
  padding: 48px 40px;
  background: var(--blue-bg);
  border-left: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.course-price-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.course-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--violet);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 24px;
}
.course-enquire {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--violet);
  transition: color var(--transition);
}
.course-enquire:hover { color: var(--purple); }
.course-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Per-product education — quiet expandable Why / How / Care */
.product-learn {
  margin: 0 0 18px;
  border-top: 1px solid var(--outline);
  padding-top: 12px;
}
.product-learn summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  position: relative;
  padding-right: 20px;
}
.product-learn summary::-webkit-details-marker { display: none; }
.product-learn summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 300;
  transition: transform 0.25s ease;
}
.product-learn[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.product-learn p {
  margin-top: 10px;
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.product-learn p strong { color: var(--text); font-weight: 500; }

.shop-disclaimer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.shop-disclaimer a { color: var(--purple); font-weight: 500; }
.shop-disclaimer a:hover { color: var(--violet); }
.shop-coming-soon {
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.85;
}
.shop-coming-soon a { color: var(--purple); font-weight: 500; }

/* ---- FEATURED BOOK ---- */
#book {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--mist) 0%, var(--mist-soft) 100%);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  position: relative;
  overflow: hidden;
}
.book-orb {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 120, 158, 0.12) 0%, transparent 70%);
  top: -120px;
  right: -120px;
}

.book-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.book-visual { display: flex; justify-content: center; }

.book-cover {
  position: relative;
  width: 300px;
  aspect-ratio: 2 / 3;
  border-radius: 6px 12px 12px 6px;
  background: linear-gradient(140deg, var(--violet) 0%, var(--indigo-deep) 100%);
  border: 1px solid var(--outline-strong);
  box-shadow:
    -16px 22px 50px rgba(33, 31, 48, 0.3),
    inset 0 0 60px rgba(255, 255, 255, 0.06);
  transform: perspective(1400px) rotateY(14deg);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.book-cover:hover { transform: perspective(1400px) rotateY(4deg) translateY(-6px); }
.book-cover::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(255,255,255,0.06));
  border-radius: 6px 0 0 6px;
}

.book-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.book-cover-inner {
  position: absolute;
  inset: 0;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.book-cover-label {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #d9c7ef;
  margin-bottom: 20px;
}
.book-cover-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 18px;
}
.book-cover-rule {
  width: 40px;
  height: 1px;
  background: #d9c7ef;
  margin-bottom: 18px;
}
.book-cover-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #e6d9f6;
}
.book-cover-mark {
  position: absolute;
  bottom: 26px;
  color: #d9c7ef;
  font-size: 0.9rem;
}

.book-rating {
  color: var(--purple);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.book-rating span { color: var(--text-dim); letter-spacing: 0; margin-left: 8px; font-size: 0.85rem; }

.book-info > p {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 24px;
  max-width: 540px;
}
.book-info > p em { color: var(--violet); font-style: italic; }

.book-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}
.book-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.94rem;
}
.book-points li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--purple);
  font-size: 0.7rem;
}

.book-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.book-format {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---- CONTACT ---- */
#contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-title { margin-bottom: 20px; }
.contact-text > p { color: var(--text-dim); font-size: 1.02rem; margin-bottom: 24px; }

.contact-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.contact-reassure li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--indigo);
}
.contact-reassure li span { color: var(--purple); font-size: 0.9rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--indigo);
}
.contact-item a { transition: color var(--transition); }
.contact-item a:hover { color: var(--purple); }
.contact-icon { color: var(--purple); font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }

.contact-social-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: block;
}

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--blue-line);
  border-radius: 100px;
  background: var(--blue-bg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--indigo);
  transition: var(--transition);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--blue-bg2);
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: var(--blue-bg);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-form-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--indigo);
  margin: 0 0 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-reassure-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  margin: -8px 0 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--indigo-deep);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(59, 65, 128, 0.4);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(147, 120, 158, 0.12);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a5fb8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select option { background: #ffffff; color: var(--indigo-deep); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  background: rgba(147, 120, 158, 0.12);
  border: 1px solid var(--outline-strong);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--violet);
  font-size: 0.95rem;
  text-align: center;
}
.form-success span { margin-right: 8px; }
.form-success-fallback {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}
.form-success-fallback a { color: var(--purple); text-decoration: underline; }
.form-success-text {
  width: 100%;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text);
  resize: vertical;
  background: var(--mist-soft);
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: var(--mist-soft);
  padding: 110px 0;
  text-align: center;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
}
.newsletter-inner .section-title { margin: 18px 0 20px; }
.newsletter-sub {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 36px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-email-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 1px solid var(--outline);
  border-radius: 100px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
}
.newsletter-form input:focus { outline: none; border-color: var(--outline-strong); }
.newsletter-form .otp-section { text-align: center; }
.newsletter-form .verified-badge { text-align: center; }
.newsletter-success {
  display: none;
  margin: 24px auto 0;
  max-width: 460px;
  background: rgba(147, 120, 158, 0.1);
  border: 1px solid var(--outline-strong);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--violet);
  font-size: 0.92rem;
}
.newsletter-success.visible { display: block; }
.newsletter-success span { margin-right: 6px; }
.newsletter-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.85;
}
@media (max-width: 560px) {
  .newsletter-form { flex-direction: column; }
}

/* ---- FOOTER ---- */
footer {
  background: var(--mist);
  border-top: 1px solid var(--outline);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-bg);
  border: 1px solid var(--blue-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  transition: var(--transition);
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--purple); color: #fff; border-color: var(--purple); transform: translateY(-2px); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--violet); }

.footer-bottom {
  border-top: 1px solid var(--outline);
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom a {
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--violet); }

/* ---- CART TOAST ---- */
.cart-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 2000;
  background: #ffffff;
  border: 1px solid var(--outline-strong);
  border-radius: 100px;
  padding: 14px 26px;
  color: var(--indigo-deep);
  font-size: 0.9rem;
  box-shadow: 0 12px 40px rgba(69, 59, 94, 0.25);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.45s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
.cart-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cart-toast strong { color: var(--violet); font-weight: 600; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 340px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .course-banner { grid-template-columns: 1fr; }
  .course-cta { border-left: none; border-top: 1px solid var(--outline); }
  .book-wrap { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
  .book-info > p { margin-left: auto; margin-right: auto; }
  .book-points { display: inline-grid; text-align: left; }
  .book-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; overflow-y: auto; padding: 40px 0; }
  .nav-links a { font-size: 1.3rem; }

  .has-dropdown { position: static; }
  .nav-pillar { font-size: 1.3rem; justify-content: center; }
  .nav-dropdown {
    position: static;
    transform: none;
    width: min(320px, 80vw);
    min-width: 0;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin-top: 0;
    text-align: center;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
  }
  .has-dropdown.open .nav-dropdown {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    max-height: 320px;
    margin-top: 18px;
  }
  .nav-dropdown li + li { margin-top: 10px; }
  .nav-dropdown a { font-size: 1.05rem; padding: 4px 0; }
  .nav-cta { padding: 14px 32px; }
  .nav-actions { gap: 14px; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .intro-grid { flex-direction: column; gap: 8px; }
  .intro-divider { width: 60px; height: 1px; }
  .intro-item { padding: 12px 20px; }

  .service-card-inner { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

  .offerings-grid { grid-template-columns: 1fr 1fr; }

  .shop-grid { grid-template-columns: 1fr; }
  .course-info, .course-cta { padding: 36px 28px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .offerings-grid { grid-template-columns: 1fr; }
  .book-cover { width: 240px; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-btn { justify-content: center; }
}

/* ---- LOADING SCREEN (animated logo) ---- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 38%, var(--mist-soft) 0%, var(--white) 70%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  font-size: 2.6rem;
  color: var(--violet);
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-word {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--text);
  opacity: 0;
  animation: loaderFadeUp 1s ease forwards 0.3s;
}
.loader-word .apos { color: var(--violet); }
.loader-line {
  width: 0;
  height: 1px;
  background: var(--violet);
  animation: loaderGrowLine 1.4s ease forwards 0.6s;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes loaderFadeUp { to { opacity: 1; } }
@keyframes loaderGrowLine { to { width: 120px; } }

.loader-video {
  max-height: 78vh;
  max-width: 90vw;
  width: auto;
  height: auto;
}
.loader-skip {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.7;
  cursor: pointer;
}

/* ---- ACHIEVEMENTS ---- */
.achievements-section {
  background: var(--mist-soft, #f5effb);
  padding: 6rem 0;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.cert-card {
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(138,95,184,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(138,95,184,0.15);
}
.cert-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.cert-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.cert-card:hover .cert-img-wrap img {
  transform: scale(1.04);
}
.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(108,63,158,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cert-card:hover .cert-overlay {
  opacity: 1;
}
.cert-overlay span {
  color: #fff;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
}
.cert-info {
  padding: 1.2rem 1.4rem 1.5rem;
}
.cert-info h3 {
  font-family: var(--font-head, 'Cormorant Garamond', serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.cert-info p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0 0 0.6rem;
  line-height: 1.5;
}
.cert-year {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Lightbox */
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15,10,30,0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cert-lightbox.open {
  display: flex;
}
.cert-lightbox img {
  max-width: min(90vw, 720px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  object-fit: contain;
}
.cert-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cert-lightbox-close:hover { opacity: 1; }

/* ---- 3D BACKGROUND CANVAS ---- */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;            /* behind everything, in front of page bg */
  pointer-events: none;
  display: block;
}

/* When the WebGL scene is live, let it show through the hero by softening
   the CSS orb background; keep a faint vignette so hero text stays legible. */
body.webgl-on .hero-bg {
  background: radial-gradient(ellipse 90% 80% at 50% 40%,
              rgba(236,227,244,0.35) 0%, rgba(255,255,255,0.55) 72%);
}
body.webgl-on .orb { opacity: 0.18; }
body.webgl-on #particles { display: none; }   /* WebGL particles replace the DOM ones */
body.webgl-on #hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 45%,
              rgba(255,255,255,0.55) 0%, transparent 70%);
  z-index: 1;
}

/* ---- FLOATING MODALITY WIDGETS ---- */
.hero-widgets {
  position: absolute;
  inset: 0;
  z-index: 2;            /* above hero-bg, below hero-content text */
  pointer-events: none;
}
.float-widget {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--outline);
  box-shadow: 0 14px 40px rgba(69, 59, 94, 0.14);
  color: var(--indigo-deep);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  will-change: transform;
  animation: fw-appear 1s ease forwards, fw-float 9s ease-in-out infinite;
}
.float-widget .fw-icon {
  font-size: 1.05rem;
  color: var(--purple);
  line-height: 1;
}
.float-widget .fw-label { letter-spacing: 0.01em; }

/* Cluster placement around the hero title (desktop). */
.fw-1 { top: 20%;  left: 8%;  animation-delay: 0.6s, 0s; }
.fw-2 { top: 32%;  right: 7%; animation-delay: 0.9s, 1.2s; }
.fw-3 { top: 62%;  left: 11%; animation-delay: 1.2s, 2.1s; }
.fw-4 { top: 16%;  right: 14%;animation-delay: 1.0s, 0.7s; }
.fw-5 { bottom: 22%;right: 10%;animation-delay: 1.4s, 1.7s; }
.fw-6 { bottom: 26%;left: 16%; animation-delay: 0.8s, 2.6s; }

@keyframes fw-appear {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; }
}
@keyframes fw-float {
  0%, 100% { transform: translate(var(--px, 0px), var(--py, 0px)); }
  50%      { transform: translate(var(--px, 0px), calc(var(--py, 0px) - 14px)); }
}

/* Tablet: trim to four, pull them toward the edges. */
@media (max-width: 1024px) {
  .fw-3, .fw-6 { display: none; }
}
/* Mobile: hide the floating cards entirely to keep the hero clean. */
@media (max-width: 768px) {
  .hero-widgets { display: none; }
}


/* ── WEBGL-ON: semi-transparent sections so the 3D canvas shows through ────
   The CSS variable override cascades to every element using var(--white),
   var(--mist), var(--mist-soft) etc., making backgrounds rgba without
   needing to touch every selector individually.
   Dark gradient sections (--purple/--violet) are left solid for contrast. */
body.webgl-on {
  background: transparent;
  /* Lighten the solid token colours to rgba equivalents */
  --white:      rgba(255, 255, 255, 0.78);
  --panel:      rgba(255, 255, 255, 0.84);
  --mist:       rgba(236, 227, 244, 0.74);
  --mist-soft:  rgba(245, 239, 251, 0.74);
  --mist-deep:  rgba(224, 210, 239, 0.74);
  /* legacy token aliases */
  --deep:       rgba(255, 255, 255, 0.78);
  --dark:       rgba(245, 239, 251, 0.74);
  --mid:        rgba(236, 227, 244, 0.74);
  /* blue-bg sections (contact / platforms strip) */
  --blue-bg:    rgba(233, 241, 252, 0.74);
  --blue-bg2:   rgba(220, 234, 251, 0.74);
}

/* Hero: almost fully transparent so the 3D scene is the star */
body.webgl-on .hero-bg {
  background: radial-gradient(ellipse 88% 78% at 50% 42%,
    rgba(236, 227, 244, 0.18) 0%,
    rgba(255, 255, 255, 0.30) 70%);
}
/* Soften the hero text vignette slightly */
body.webgl-on #hero::after {
  background: radial-gradient(ellipse 55% 45% at 50% 46%,
    rgba(255, 255, 255, 0.50) 0%, transparent 68%);
}
/* Achievements section uses a direct background, override it */
body.webgl-on .achievements-section {
  background: rgba(245, 239, 251, 0.72);
}
/* Loader stays fully opaque so the 3D scene never bleeds through it */
#loader { background: var(--white, #ffffff) !important; }
/* Cards and form panels keep a stronger opacity for legibility */
body.webgl-on .service-card,
body.webgl-on .product-card,
body.webgl-on .philosophy-card,
body.webgl-on .testimonial-card,
body.webgl-on .journal-card,
body.webgl-on .contact-form-wrap,
body.webgl-on .begin-card {
  background: rgba(255, 255, 255, 0.88) !important;
}
/* Navbar keeps its scroll-state opacity solid */
body.webgl-on #navbar.scrolled {
  background: rgba(255, 255, 255, 0.90) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
}

/* ====================================================
   CAVE BACKGROUND MODE  (body.cave-active)
   Canvas is z-index:1; all sections/nav are z-index:2.
   The hero is transparent so the cave shows through.
   ==================================================== */

/* Kill the default hero gradient + orbs so the cave canvas is the backdrop */
body.cave-active .hero-bg {
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
}
body.cave-active .orb {
  display: none;
}

/* Semi-transparent dark scrim so hero text stays legible over the dark cave */
body.cave-active #hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%,
    rgba(5, 18, 8, 0.45) 0%,
    rgba(3, 10, 5, 0.20) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Hero text — switch to soft green-white for cave contrast */
body.cave-active .hero-eyebrow {
  color: rgba(190, 230, 205, 0.88);
}
body.cave-active .hero-title {
  color: #e4f5ea;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.7), 0 0 60px rgba(30, 100, 50, 0.3);
}
body.cave-active .hero-tagline {
  color: rgba(200, 238, 215, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
body.cave-active .hero-body {
  color: rgba(185, 225, 200, 0.78);
}
body.cave-active .btn-secondary {
  color: #c0e8d0;
  border-color: rgba(120, 185, 145, 0.55);
}
body.cave-active .btn-secondary:hover {
  background: rgba(60, 130, 80, 0.18);
  border-color: rgba(140, 210, 165, 0.75);
}
body.cave-active .hero-scroll,
body.cave-active .hero-scroll span {
  color: rgba(170, 215, 185, 0.65);
  border-color: rgba(140, 195, 160, 0.4);
}
/* Keep the particle dots very subtle — cave has its own spores */
body.cave-active #particles {
  opacity: 0.25;
}

/* ====================================================
   LUXE ANIMATION LAYER  (animate-luxe.js)
   ==================================================== */

/* Scroll progress bar — a single hairline, not a loud brand statement */
#scrollProgress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 10000;
  background: var(--gold);
  opacity: 0.55;
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Quiet scroll reveals: a plain, short fade + rise. No blur, no scale,
   no directional slide — restraint over spectacle. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance — runs when the loader dismisses (.hero-in). Gated on
   .luxe-anim so the hero is never hidden if JS doesn't run. */
.luxe-anim .hero-content > * {
  opacity: 0;
  transform: translateY(14px);
}
.luxe-anim.hero-in .hero-content > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.luxe-anim.hero-in .hero-content > *:nth-child(1) { transition-delay: 0.05s; }
.luxe-anim.hero-in .hero-content > *:nth-child(2) { transition-delay: 0.15s; }
.luxe-anim.hero-in .hero-content > *:nth-child(3) { transition-delay: 0.25s; }
.luxe-anim.hero-in .hero-content > *:nth-child(4) { transition-delay: 0.35s; }
.luxe-anim.hero-in .hero-content > *:nth-child(5) { transition-delay: 0.45s; }
.luxe-anim.hero-in .hero-content > *:nth-child(6) { transition-delay: 0.6s; }


/* ====================================================
   DARK MODE — warm charcoal sanctuary (html.dark)
   Toggle-only; light is the default. The whole site reads
   colour through tokens, so remapping them here restyles
   every page. Targeted fixes below cover the few
   hardcoded-white spots.
   ==================================================== */
html.dark {
  color-scheme: dark;

  --deep:   #191621;
  --dark:   #1e1a28;
  --mid:    #241f2e;
  --panel:  #242030;
  --gold:   #c9a36e;
  --amber:  #d8b587;
  --cream:  #f2ede4;
  --rose:   #a99bb8;
  --mist:   #241f2e;
  --text:   #c9c2cf;
  --text-dim: #8d8698;

  --white:      #191621;
  --mist-soft:  #1e1a28;
  --mist-deep:  #2c2536;
  --lilac:      #9f8ca8;
  --purple:     #b39cc0;
  --violet:     #cdbad8;
  --indigo:     #d9d2e2;
  --indigo-deep:#f2ede4;
  --blue-bg:    #221e2b;
  --blue-bg2:   #272230;
  --blue-line:  #3a3344;

  --outline:        rgba(242, 237, 228, 0.12);
  --outline-strong: rgba(242, 237, 228, 0.26);

  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glow-gold: 0 0 40px rgba(201, 163, 110, 0.14);
  --glow-amber: 0 0 50px rgba(0, 0, 0, 0.3);
}

/* Targeted fixes for hardcoded-light rules */
html.dark body { background: var(--white); }
html.dark .hero-bg {
  background: radial-gradient(ellipse 85% 75% at 50% 38%, #241f2e 0%, #191621 70%);
}
html.dark .hero-bg::after {
  background: radial-gradient(ellipse 58% 48% at 50% 44%,
    rgba(25, 22, 33, 0.5) 0%,
    rgba(25, 22, 33, 0) 100%);
}
html.dark #loader { background: #191621 !important; }
html.dark .loader-word { color: var(--text); }
html.dark .service-card.featured {
  background: linear-gradient(135deg, #242030 0%, #1e1a28 100%);
}
html.dark .form-group input,
html.dark .form-group textarea,
html.dark .form-group select {
  background: #241f2e;
  color: var(--cream);
}
html.dark .form-group select option { background: #241f2e; color: var(--cream); }
html.dark .btn-primary {
  background: linear-gradient(135deg, #93789e 0%, #6d5a80 100%);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}
html.dark .navbar-solid,
html.dark #navbar.scrolled {
  background: rgba(25, 22, 33, 0.92);
}
html.dark .orb { opacity: 0.14; }
html.dark img { opacity: 0.92; }

/* Dark-mode hero text: bold cream tones, dark halo (kept distinct from the
   vivid light-mode gradient above, which reads better on the pale bg) */
html.dark .hero-eyebrow { color: #f2ede4; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
html.dark .hero-title {
  color: var(--violet);
  background: linear-gradient(120deg, #cdbad8 0%, #e4dcea 45%, #f2ede4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
}
html.dark .hero-tagline { color: #f2ede4; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
html.dark .hero-rhythm { color: #f2ede4; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }

/* Theme toggle button — mirrors .nav-cart ghost style */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--indigo-deep);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--outline-strong); color: var(--purple); }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }

/* ==================== CHECKOUT PAGE ==================== */
.checkout-main { padding: 150px 0 100px; }
.checkout-header { text-align: center; margin-bottom: 56px; }
.checkout-header .section-title { margin-top: 8px; }
.checkout-count { color: var(--text-dim); font-size: 0.92rem; margin-top: 10px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.checkout-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.checkout-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
}
.checkout-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.checkout-item-info h4 { font-size: 0.98rem; font-weight: 600; color: var(--indigo-deep); margin-bottom: 3px; }
.checkout-item-info p { font-size: 0.82rem; color: var(--text-dim); }
.checkout-qty { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--outline-strong);
  background: var(--white);
  color: var(--purple);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--mist-soft); }
.checkout-item-total { font-weight: 600; color: var(--indigo-deep); min-width: 84px; text-align: right; }
.checkout-remove {
  background: none; border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition);
}
.checkout-remove:hover { color: var(--violet); }

.checkout-empty { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.checkout-empty .btn { margin-top: 20px; }

.checkout-form-section { margin-top: 8px; }
.checkout-form-section h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--indigo-deep); margin-bottom: 6px; }
.checkout-form-section > p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 24px; }

.checkout-summary {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.checkout-summary h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--indigo-deep); margin-bottom: 20px; }
.checkout-summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--outline);
}
.checkout-summary-row.total {
  border-bottom: none;
  font-weight: 700;
  color: var(--indigo-deep);
  font-size: 1.1rem;
  padding-top: 16px;
}
.checkout-summary-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px dashed var(--outline);
}

/* ---- DISCOUNT CODE ---- */
.checkout-discount {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--outline);
}
.checkout-discount label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.discount-input-row { display: flex; gap: 8px; }
.discount-input-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  text-transform: uppercase;
}
.discount-input-row .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.discount-message {
  font-size: 0.8rem;
  color: var(--purple);
  margin-top: 8px;
  min-height: 1em;
}
.discount-message.is-error { color: #c0392b; }
.checkout-summary-row.discount-row { color: var(--purple); }
.discount-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: 6px;
  padding: 0;
}
.discount-remove:hover { color: #c0392b; }

/* ---- UPI PAYMENT ---- */
.checkout-payment {
  background: var(--mist-soft);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.checkout-payment h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--indigo-deep); margin-bottom: 8px; }
.checkout-payment .btn { margin: 12px 0; }
.checkout-upi-id { font-size: 0.82rem; }

.checkout-confirm {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
}
.checkout-confirm-icon { font-size: 2.5rem; color: var(--purple); margin-bottom: 12px; }
.checkout-confirm h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--indigo-deep); margin-bottom: 12px; }
.checkout-confirm p { color: var(--text-dim); margin-bottom: 10px; line-height: 1.7; }
.checkout-confirm textarea {
  width: 100%;
  margin: 20px 0;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
  resize: vertical;
  background: var(--mist-soft);
}
.checkout-confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- SELF-DISCOVERY INTAKE (intake.html) ---- */
.intake-main { padding: 150px 0 100px; }
.intake-container { max-width: 720px; }
.intake-header { margin-bottom: 48px; }
.intake-step-mode .intake-section { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.intake-step-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.intake-step-nav .btn-outline { margin-right: auto; }
.intake-intro { color: var(--text-dim); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.intake-privacy {
  font-size: 0.85rem;
  color: var(--indigo-deep);
  background: var(--mist-soft);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 20px;
}

.intake-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--outline);
}
.intake-section:last-of-type { border-bottom: none; }
.intake-section-label {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--indigo-deep);
  margin-bottom: 28px;
}

.intake-question { margin-bottom: 28px; }
.intake-question:last-child { margin-bottom: 0; }
.intake-q-text { font-weight: 600; color: var(--indigo-deep); margin-bottom: 12px; line-height: 1.5; }

.intake-options { display: flex; flex-direction: column; gap: 10px; }
.intake-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: 0.92rem;
  color: var(--text);
}
.intake-option:hover { border-color: var(--purple); }
.intake-option input { accent-color: var(--purple); width: 17px; height: 17px; flex-shrink: 0; }
.intake-option.is-checked { border-color: var(--purple); background: var(--mist-soft); }
.intake-other-text {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--indigo-deep);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  width: 100%;
}

.intake-confirm { max-width: 560px; margin: 0 auto; text-align: center; }
.intake-confirm h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--indigo-deep); margin-bottom: 12px; }
.intake-confirm p { color: var(--text-dim); margin-bottom: 10px; line-height: 1.7; }
.intake-confirm textarea {
  width: 100%;
  margin: 20px 0;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
  resize: vertical;
  background: var(--mist-soft);
}

html.dark .intake-other-text { background: var(--white); color: var(--text); border-color: var(--outline); }

@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-item {
    grid-template-columns: 52px 1fr;
    grid-template-areas: "img info" "img qty" "img total";
    row-gap: 6px;
  }
  .checkout-item img { grid-area: img; }
  .checkout-item-info { grid-area: info; }
  .checkout-qty { grid-area: qty; }
  .checkout-item-total { grid-area: total; text-align: left; }
  .checkout-remove { position: absolute; top: 10px; right: 10px; }
}

/* ==================== PHONE / OTP VERIFICATION ==================== */
.phone-verify-row {
  display: flex;
  gap: 10px;
}
.phone-verify-row input { flex: 1; min-width: 0; }
.btn-otp {
  flex-shrink: 0;
  padding: 0 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.otp-section { margin-top: 12px; }
.otp-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:disabled {
  color: var(--text-dim);
  cursor: default;
  text-decoration: none;
}
.verified-badge {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a8a5f;
}
html.dark .verified-badge { color: #7fd9a4; }
#recaptcha-container { position: absolute; visibility: hidden; }

@media (max-width: 520px) {
  .phone-verify-row { flex-direction: column; align-items: stretch; }
  .btn-otp { width: 100%; }
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail-main { padding: 150px 0 100px; }

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.product-breadcrumb a { color: var(--text-dim); transition: color var(--transition); }
.product-breadcrumb a:hover { color: var(--purple); }
.product-breadcrumb span[aria-current] { color: var(--indigo-deep); font-weight: 500; }

.product-not-found { text-align: center; padding: 80px 20px; color: var(--text-dim); }
.product-not-found .btn { margin-top: 20px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

/* Gallery */
.product-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(147, 120, 158, 0.12) 0%, transparent 65%),
    linear-gradient(160deg, var(--mist) 0%, var(--mist-soft) 100%);
}
.product-gallery-main img,
.product-gallery-main video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.product-gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.product-thumb {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--mist-soft);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.active { border-color: var(--purple); }
.product-thumb svg {
  position: absolute; inset: 0;
  margin: auto;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}
.product-thumb#pdThumbVideo::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
}

/* Info panel */
.product-info-category {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}
.product-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--indigo-deep);
  margin-bottom: 14px;
  line-height: 1.15;
}
.product-info-rating {
  display: flex; align-items: center; gap: 10px;
  color: var(--purple);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.product-review-count { color: var(--text-dim); font-size: 0.85rem; }
.product-info-desc { color: var(--text-dim); line-height: 1.75; margin-bottom: 24px; }
.product-info-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--indigo-deep);
  margin-bottom: 28px;
}

.product-buy-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.product-qty {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 6px;
  border: 1px solid var(--outline-strong);
  border-radius: 100px;
}
.product-added-note { color: #3a8a5f; font-size: 0.88rem; font-weight: 500; margin-bottom: 20px; }
html.dark .product-added-note { color: #7fd9a4; }

.product-trust-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-top: 20px;
  border-top: 1px solid var(--outline);
}

/* Details sections */
.product-details-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--outline);
  margin-bottom: 56px;
}
.product-detail-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--indigo-deep);
  margin-bottom: 10px;
}
.product-detail-block p { color: var(--text-dim); line-height: 1.7; font-size: 0.95rem; }
.product-specs { display: flex; flex-direction: column; gap: 8px; }
.product-specs dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--purple); font-weight: 600; }
.product-specs dd { font-size: 0.92rem; color: var(--text-dim); margin: 0 0 6px; }

/* Related products */
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.related-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.related-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--indigo-deep); padding: 12px 14px 4px; }
.related-card p { font-size: 0.88rem; color: var(--purple); font-weight: 600; padding: 0 14px 14px; }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-details-sections { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .product-buy-row { flex-direction: column; align-items: stretch; }
  .product-qty { justify-content: center; }
}

/* ==================== DEDICATED SHOP PAGE ==================== */
.shop-page-main { padding: 150px 0 100px; }

/* Minimal preview cards — full detail lives on each product's own page */
.product-card--mini { cursor: pointer; }
.product-card--mini .product-body {
  padding: 16px 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.product-card--mini .product-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--indigo-deep);
  line-height: 1.35;
  margin: 0;
}
.product-card--mini .product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}
.shop-section-head { scroll-margin-top: 110px; }

/* Homepage shop teaser */
.shop-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.shop-teaser-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.shop-teaser-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.shop-teaser-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.shop-teaser-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--indigo-deep);
  padding: 18px 22px 4px;
}
.shop-teaser-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 0 22px 20px;
}
.shop-teaser-cta { text-align: center; }
@media (max-width: 860px) {
  .shop-teaser-grid { grid-template-columns: 1fr; }
}

/* Intro-strip modality tiles are now links to their explanation pages */
.intro-item-link { color: inherit; display: block; }
.intro-item-link:hover .intro-icon { transform: translateY(-3px); }
.intro-item-link:hover strong { color: var(--purple); }

/* ---- HOMEPAGE QUIZ TEASER ---- */
.quiz-teaser-section {
  padding: 90px 0;
  background: linear-gradient(160deg, var(--mist-soft) 0%, var(--white) 100%);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}
.quiz-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.quiz-teaser-text { max-width: 560px; }
.quiz-teaser-text .section-label { text-align: left; }
.quiz-teaser-text .section-title { text-align: left; margin-bottom: 14px; }
.quiz-teaser-text .section-sub { text-align: left; margin: 0 0 28px; }
.quiz-teaser-glyphs {
  display: flex;
  gap: 20px;
  font-size: 2.6rem;
  color: var(--purple);
  flex-shrink: 0;
  opacity: 0.85;
}
.quiz-teaser-glyphs span:nth-child(2) { transform: translateY(14px); }
.quiz-teaser-glyphs span:nth-child(3) { transform: translateY(-8px); }

@media (max-width: 720px) {
  .quiz-teaser-inner { flex-direction: column; text-align: center; }
  .quiz-teaser-text .section-label,
  .quiz-teaser-text .section-title,
  .quiz-teaser-text .section-sub { text-align: center; }
  .quiz-teaser-glyphs { order: -1; }
}

/* ---- QUIZ PAGE (quiz.html) ---- */
.quiz-main { padding: 150px 0 120px; }
.quiz-container { max-width: 640px; }
.quiz-panel { text-align: center; }
.quiz-lead { color: var(--text-dim); font-size: 1rem; line-height: 1.75; margin: 20px 0 32px; }

.quiz-progress {
  height: 5px;
  background: var(--mist-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.quiz-dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 18px; }
.quiz-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist-soft);
  border: 1px solid var(--blue-line);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.quiz-dot.is-done { background: var(--purple); border-color: var(--purple); }
.quiz-dot.is-active { background: var(--violet); border-color: var(--violet); transform: scale(1.4); }

.quiz-step {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.quiz-q-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--indigo-deep);
  margin-bottom: 28px;
  line-height: 1.4;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  position: relative;
  text-align: left;
  padding: 16px 20px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), opacity var(--transition);
}
.quiz-option:hover {
  border-color: var(--purple);
  background: var(--mist-soft);
  transform: translateX(4px);
}
.quiz-option:active { transform: translateX(4px) scale(0.98); }
.quiz-option.is-selected {
  border-color: var(--purple);
  background: var(--mist-soft);
  color: var(--indigo-deep);
  transform: translateX(4px);
}
.quiz-option.is-selected::after {
  content: '✓';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple);
  font-weight: 700;
}
.quiz-option.is-faded { opacity: 0.4; pointer-events: none; }
.quiz-option:disabled { cursor: default; }

.quiz-key-hint {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.7;
}

@keyframes quizFadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-q-anim { animation: quizFadeSlideIn 0.4s ease; }

@keyframes quizGlyphPop {
  0% { opacity: 0; transform: scale(0.4) rotate(-15deg); }
  60% { opacity: 1; transform: scale(1.15) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.quiz-result-glyph { display: block; font-size: 2.6rem; color: var(--purple); margin-bottom: 8px; animation: quizGlyphPop 0.6s ease; }
.quiz-result-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 12px;
}
.quiz-result-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--indigo-deep); margin-bottom: 20px; }
.quiz-result-body { color: var(--text); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.quiz-result-helps { color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; margin-bottom: 32px; }
.quiz-result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.quiz-copy-link {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}
.quiz-copy-link:hover { color: var(--purple); }

.quiz-blend { margin: 8px 0 28px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--mist-soft); }
.quiz-blend-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.quiz-blend-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.quiz-blend-row:last-child { margin-bottom: 0; }
.quiz-blend-name { flex: 0 0 118px; text-align: left; font-size: 0.82rem; color: var(--text); }
.quiz-blend-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--white); overflow: hidden; }
.quiz-blend-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-blend-pct { flex: 0 0 36px; text-align: right; font-size: 0.8rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }

.quiz-email-form { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.quiz-email-lead { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 12px; }
.quiz-email-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.quiz-email-row input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  min-width: 240px;
}
.quiz-email-success { color: var(--purple); font-size: 0.85rem; margin-top: 12px; }

html.dark .quiz-option { background: var(--white); }
