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

/* ── Tokens ── */
:root {
  /* Backgrounds */
  --bg:          #FAF8F4;   /* warm cream — primary */
  --bg-soft:     #F2EDF7;   /* pale purple — section alternating */
  --bg-white:    #FFFFFF;
  --bg-dark:     #1C0D38;   /* deep purple — featured panels */
  --bg-dark-mid: #2E1557;   /* slightly lighter dark panel */

  /* Purple scale */
  --purple-deep:   #1C0D38;
  --purple-mid:    #3D1F6E;
  --purple-accent: #6B3F9E;

  /* Mauve scale */
  --mauve:       #9B7FA6;
  --mauve-dark:  #7A5F8A;
  --mauve-light: #C4A8CC;
  --mauve-pale:  #E8DDEF;

  /* Text */
  --text:       #1A0A30;   /* primary — very dark purple */
  --text-mid:   #4A3560;   /* secondary */
  --text-muted: #8B7BA0;   /* muted */
  --text-light: #FAF8F4;   /* on dark backgrounds */

  /* Borders */
  --border:        rgba(61, 31, 110, 0.15);
  --border-strong: rgba(61, 31, 110, 0.35);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.4;
}

h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 500; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--purple-deep);
}

.nav-brand .dot { color: var(--mauve); }

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--purple-mid); }

/* ── Hero ── */
.hero {
  padding: 64px 24px 0;
  max-width: 720px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--mauve);
}

.hero h1 {
  color: var(--purple-deep);
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--purple-accent);
  font-style: italic;
  font-weight: 300;
}

.hero-body p {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
}

/* ── Abstract visual (CSS art — replace with photography) ── */
.visual-circle {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 40%,
    rgba(196, 168, 204, 0.45) 0%,
    rgba(107, 63, 158, 0.15) 45%,
    rgba(250, 248, 244, 0) 70%
  );
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
}

.visual-circle::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(155, 127, 166, 0.3);
}

.visual-circle::after {
  content: '';
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(228, 218, 238, 0.8) 0%,
    rgba(250, 248, 244, 0) 70%
  );
}

/*
  IMAGE PLACEHOLDER
  The .image-zone class marks areas designed for photography.
  Suggested imagery: morning light through a window, open sky,
  calm water, single botanical (leaf/branch), light through fog.
  Aspect ratio 16/9 for landscape, 4/5 for portrait.
*/
.image-zone {
  width: 100%;
  background: linear-gradient(135deg,
    var(--mauve-pale) 0%,
    var(--bg-soft) 50%,
    var(--mauve-pale) 100%
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-zone--landscape { aspect-ratio: 16/7; }
.image-zone--square    { aspect-ratio: 1; }
.image-zone--tall      { aspect-ratio: 3/4; }

.image-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-zone-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  opacity: 0.7;
}

/* CSS art — light emergence (used in image zones without a photo) */
.image-zone-art {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.light-emergence {
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(232, 221, 239, 0.6) 35%,
      rgba(196, 168, 204, 0.3) 60%,
      transparent 80%
    ),
    linear-gradient(180deg,
      var(--mauve-pale) 0%,
      var(--bg-soft) 40%,
      var(--mauve-pale) 100%
    );
}

.horizon-art {
  background: linear-gradient(180deg,
    #E8DDEF 0%,
    #F2EDF7 30%,
    #FAF8F4 50%,
    #F2EDF7 70%,
    #E8DDEF 100%
  );
}

/* ── Divider ── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--mauve);
  margin: 28px 0;
  opacity: 0.6;
}

/* ── Entry Cards ── */
.cards-section {
  background: var(--bg-soft);
  padding: 64px 24px;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mauve);
  border-radius: 2px;
  padding: 28px 28px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.card:hover {
  border-left-color: var(--purple-accent);
  box-shadow: 0 4px 24px rgba(61, 31, 110, 0.1);
  transform: translateY(-2px);
}

.card--featured {
  background: var(--purple-deep);
  border: 1px solid rgba(196, 168, 204, 0.2);
  border-left: 3px solid var(--mauve-light);
}

.card--coming-soon {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 10px;
  display: block;
}

.card--featured .card-tag { color: var(--mauve-light); }

.card h3 {
  color: var(--purple-deep);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.card--featured h3 { color: var(--bg); }

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.card--featured p { color: var(--mauve-light); }

.card-arrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s, color 0.2s;
}

.card--featured .card-arrow { color: var(--mauve-light); }

.card:hover .card-arrow { gap: 14px; color: var(--purple-accent); }
.card--featured:hover .card-arrow { color: var(--bg); }

.card-arrow::after { content: '→'; }

.badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--mauve-dark);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Dark Panel ── */
.panel-dark {
  background: var(--bg-dark);
  padding: 64px 24px;
  color: var(--text-light);
}

.panel-dark h2 { color: var(--text-light); }

.panel-dark p {
  color: var(--mauve-light);
  margin-bottom: 14px;
}

.panel-dark .divider { background: var(--mauve); }

.mechanism-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(196, 168, 204, 0.15);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.mechanism-row:last-child { border-bottom: none; }

.mechanism-num {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mauve);
  min-width: 22px;
  padding-top: 3px;
}

.mechanism-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 3px;
}

.mechanism-desc {
  font-size: 0.8rem;
  color: var(--mauve-light);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Light Panel ── */
.panel-light {
  padding: 64px 24px;
  background: var(--bg);
}

.panel-light h2 { color: var(--purple-deep); margin-bottom: 20px; }

/* ── Quote ── */
.panel-quote {
  background: var(--bg-soft);
  padding: 64px 24px;
  text-align: center;
}

.panel-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: var(--purple-deep);
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.4;
}

.panel-quote cite {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  font-style: normal;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple-mid);
  color: var(--text-light);
}
.btn-primary:hover { background: var(--purple-accent); }

.btn-outline {
  background: transparent;
  color: var(--purple-mid);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--bg-soft);
  border-color: var(--purple-mid);
}

.btn-outline-light {
  background: transparent;
  color: var(--mauve-light);
  border: 1.5px solid rgba(196, 168, 204, 0.35);
}
.btn-outline-light:hover {
  border-color: var(--mauve-light);
  color: var(--text-light);
}

.btn-full { width: 100%; }

/* ── Product Pages ── */
.product-hero {
  padding: 56px 24px 48px;
  max-width: 640px;
  margin: 0 auto;
}

.product-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--mauve);
  flex-shrink: 0;
}

.product-hero h1 {
  color: var(--purple-deep);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin-bottom: 16px;
}

.product-hero .lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.7;
}

.price-block {
  margin: 28px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--purple-deep);
}

.price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Includes list ── */
.includes-section {
  background: var(--bg-soft);
  padding: 48px 24px;
}

.includes-section .section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 24px;
}

.include-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.include-item:last-child { border-bottom: none; }

.include-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mauve);
  flex-shrink: 0;
  margin-top: 9px;
}

.include-text {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
}

/* ── Quiz ── */
.quiz-wrap {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.quiz-container {
  flex: 1;
  padding: 40px 24px 64px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.quiz-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
}

.quiz-progress-bar {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress-bar.active  { background: var(--purple-mid); }
.quiz-progress-bar.done    { background: var(--mauve); }

.quiz-question { display: none; animation: fadeIn 0.3s ease; }
.quiz-question.active { display: block; }

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

.quiz-q-number {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 16px;
}

.quiz-q-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  font-weight: 500;
  color: var(--purple-deep);
  line-height: 1.45;
  margin-bottom: 36px;
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; }

.quiz-option {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}

.quiz-option:hover {
  background: var(--bg-soft);
  border-color: var(--mauve);
  color: var(--text);
}

.quiz-option.selected {
  background: var(--bg-soft);
  border-color: var(--purple-mid);
  border-left-width: 3px;
  color: var(--purple-mid);
}

/* Quiz results */
.quiz-results { display: none; animation: fadeIn 0.4s ease; }
.quiz-results.active { display: block; }

.result-band {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  color: var(--purple-mid);
  margin-bottom: 24px;
}

.result-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 24px;
  line-height: 1.3;
}

.result-body p {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 400;
}

.result-cta {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg-soft);
  border-left: 3px solid var(--mauve);
}

.result-cta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 12px;
}

/* ── Suite ── */
.suite-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.suite-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--purple-deep);
  margin-bottom: 3px;
}

.suite-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

.suite-item-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Upsell ── */
.upsell-card {
  border: 1.5px solid var(--border-strong);
  border-radius: 2px;
  padding: 28px;
  background: var(--bg-soft);
  margin-top: 28px;
}

.upsell-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.upsell-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--purple-deep);
  margin: 4px 0;
}

.upsell-saving {
  font-size: 0.78rem;
  color: var(--mauve-dark);
  margin-bottom: 20px;
}

/* ── Footer ── */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
}

.footer p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--purple-mid); }

/* ── Helpers ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--mauve);
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .hero {
    padding: 80px 24px 0;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
  }

  .hero-visual { order: 2; padding-top: 16px; }
  .hero-content { order: 1; }

  .cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn-full { width: auto; }

  .product-hero { padding: 72px 24px 56px; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 340px; }
}
