/* ===== LUMERA WELLNESS — Stylesheet ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: #F5F0E8;
  color: #1A1A18;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* --- Tokens --- */
:root {
  --cream: #F5F0E8;
  --charcoal: #1A1A18;
  --gold: #8B7A3A;
  --gold-star: #C9A84C;
  --muted: #888880;
  --rule: #D4CCBC;
  --dark-bg: #1A1A18;
  --dark-text: #EDE8DE;
  --max-w: 1260px;
  --max-narrow: 900px;
  --pad-x: clamp(20px, 5vw, 80px);
  --section-py: clamp(64px, 8vw, 120px);
}

/* --- Container --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.container--narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--pad-x); }
.text-center { text-align: center; }

/* --- Typography helpers --- */
.eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.eyebrow--light { color: #A89050; }
.upright { font-style: normal; }
.italic { font-style: italic; }
.section-h2 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: clamp(40px, 5vw, 72px);
  color: var(--charcoal);
}
.section-intro {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 680px;
  margin: -30px auto 52px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { opacity: 0.85; }
.btn-nav { background: var(--gold); color: #fff; padding: 10px 22px; font-size: 11px; }
.btn-nav:hover { opacity: 0.85; }
.btn-waitlist {
  background: var(--gold);
  color: #fff;
  width: 100%;
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 18px;
  margin-top: 12px;
}
.btn-waitlist:hover { opacity: 0.85; }
.btn-waitlist:disabled { opacity: 0.5; cursor: default; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 204, 188, 0.4);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-logo { display: flex; align-items: center; }
.logo-svg { height: 22px; width: auto; color: var(--charcoal); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--charcoal);
  transition: 0.3s;
}
.nav-mobile-menu {
  display: none;
  position: fixed; top: 62px; left: 0; right: 0;
  background: var(--cream);
  padding: 24px var(--pad-x);
  flex-direction: column; gap: 20px;
  border-bottom: 1px solid var(--rule);
  z-index: 99;
}
.nav-mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52% 48%;
  padding-top: 80px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x) 80px clamp(24px, 6vw, 100px);
}
.hero-h1 {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-rule {
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin: 8px 0 24px;
}
.hero-body {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: #3a3a38;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-cta-note {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== BENEFITS ===== */
.benefits {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--rule);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.benefit-card {
  padding: 32px 28px 40px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.benefit-card:last-child { border-right: none; }
.card-num {
  font-size: 72px;
  font-weight: 300;
  color: #D8D0C0;
  line-height: 1;
  display: block;
  margin-bottom: -16px;
  font-style: italic;
}
.card-rule {
  height: 1px;
  background: var(--rule);
  margin: 20px 0 18px;
}
.benefit-card h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  margin-bottom: 12px;
}
.benefit-card p { font-size: 15px; color: #4a4a48; line-height: 1.7; }

/* ===== INGREDIENTS ===== */
.ingredients { padding: var(--section-py) 0; border-top: 1px solid var(--rule); }
.ingredient-list { margin-top: 8px; }
.ingredient-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  gap: 40px;
}
.ingredient-row:first-child { border-top: 1px solid var(--rule); }
.ingredient-info { flex: 1; }
.ingredient-info h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 400; margin-bottom: 8px; }
.ingredient-info p { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 520px; }
.ingredient-dose {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  padding-top: 4px;
  min-width: 140px;
  text-align: right;
}

/* ===== SCIENCE ===== */
.science { padding: var(--section-py) 0; border-top: 1px solid var(--rule); }
.study-list { display: flex; flex-direction: column; gap: 20px; }
.study-card {
  border: 1px solid var(--rule);
  padding: 32px;
}
.study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.study-meta-left { display: flex; align-items: center; gap: 16px; }
.study-num {
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: #D8D0C0;
  line-height: 1;
}
.study-journal {
  font-family: 'Cormorant SC', serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.study-year { font-size: 13px; color: var(--muted); }
.study-title { font-size: clamp(17px, 1.8vw, 21px); font-weight: 400; margin-bottom: 16px; }
.study-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
  font-size: 11px;
  font-family: 'Cormorant SC', serif;
  letter-spacing: 0.1em;
  border: 1px solid var(--rule);
  padding: 5px 12px;
  color: var(--muted);
  text-transform: uppercase;
}
.study-stats { display: flex; gap: 40px; margin-bottom: 24px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--muted); }
.study-expand {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: color 0.2s;
}
.study-expand:hover { color: var(--gold); }
.expand-icon { font-size: 18px; font-family: serif; line-height: 1; transition: transform 0.3s; }
.study-expand[aria-expanded="true"] .expand-icon { transform: rotate(45deg); }
.study-detail {
  font-size: 14px;
  line-height: 1.75;
  color: #4a4a48;
  margin-top: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.study-disclaimer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 32px;
  line-height: 1.7;
  font-style: italic;
}
.hidden { display: none; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: var(--section-py) 0; border-top: 1px solid var(--rule); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
  margin-top: -20px;
}
.testimonials-image { border: 1px solid var(--rule); overflow: hidden; }
.testimonials-image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.testimonials-cards { display: flex; flex-direction: column; gap: 0; }
.testimonial-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.testimonial-card:first-child { border-top: 1px solid var(--rule); }
.stars { color: var(--gold-star); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
blockquote { font-size: clamp(14px, 1.5vw, 16px); line-height: 1.75; font-style: italic; color: #3a3a38; margin-bottom: 12px; }
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: 14px; font-style: normal; }
.testimonial-author span { font-size: 12px; color: var(--muted); }

/* ===== FEATURED IN ===== */
.featured-in { padding: 48px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.publication-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}
.publication-row span {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.08em;
  color: #6a6a68;
}
.publication-row .divider { color: var(--rule); font-size: 18px; }

/* ===== FOUNDER ===== */
.founder { padding: var(--section-py) 0; border-top: 1px solid var(--rule); }
.founder-quote-mark {
  font-size: 120px;
  color: #E0D8C8;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.6;
  text-align: center;
  margin-bottom: 12px;
}
.founder-letter { max-width: 720px; margin: 0 auto 36px; }
.founder-letter p { font-size: clamp(15px, 1.7vw, 17px); line-height: 1.8; margin-bottom: 20px; color: #3a3a38; }
.founder-closing { font-size: clamp(16px, 1.8vw, 19px) !important; color: var(--charcoal) !important; }
.founder-sig {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.sig-left { display: flex; flex-direction: column; gap: 4px; }
.sig-name { font-size: clamp(16px, 1.8vw, 20px); font-weight: 400; }
.sig-title { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); font-family: 'Cormorant SC', serif; text-transform: uppercase; }
.sig-badge { display: flex; align-items: center; gap: 12px; }
.badge-rn {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant SC', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  flex-shrink: 0;
}
.badge-text { display: flex; flex-direction: column; gap: 2px; }
.badge-text span { font-size: 11px; font-family: 'Cormorant SC', serif; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.badge-text em { font-size: 11px; color: var(--muted); }

/* ===== FAQ ===== */
.faq { padding: var(--section-py) 0; border-top: 1px solid var(--rule); }
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--charcoal);
  text-align: left;
  gap: 20px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { font-size: 22px; font-family: serif; line-height: 1; flex-shrink: 0; transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: 15px;
  line-height: 1.75;
  color: #4a4a48;
  padding-bottom: 22px;
}

/* ===== WAITLIST ===== */
.waitlist {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: var(--section-py) 0;
  text-align: center;
}
.waitlist .container { max-width: 680px; }
.waitlist-h2 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--dark-text);
}
.waitlist-body {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.75;
  color: #A8A090;
  margin-bottom: 28px;
}
.waitlist-bullets {
  list-style: none;
  margin: 0 auto 20px;
  max-width: 440px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist-bullets li {
  font-size: 15px;
  color: #C0B898;
  padding-left: 20px;
  position: relative;
}
.waitlist-bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.1;
}
.waitlist-caption { font-size: 13px; color: #7A7060; font-style: italic; margin-bottom: 36px; }
.waitlist-progress { margin-bottom: 36px; }
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #A8A090;
  margin-bottom: 10px;
  font-family: 'Cormorant SC', serif;
  letter-spacing: 0.1em;
}
.progress-count { font-size: 22px; font-family: 'Cormorant Garamond', serif; color: var(--dark-text); font-weight: 400; }
.progress-bar-track {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: var(--gold);
  transition: width 1s ease;
}
.progress-remaining { font-size: 12px; color: #7A7060; font-family: 'Cormorant SC', serif; letter-spacing: 0.1em; }
.waitlist-form { max-width: 520px; margin: 0 auto; }
.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--dark-text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input::placeholder { color: #6A6050; }
.form-input:focus { border-color: rgba(139,122,58,0.5); }
.form-fine { font-size: 11px; color: #5A5040; margin-top: 12px; font-family: 'Cormorant SC', serif; letter-spacing: 0.1em; }
.waitlist-success { text-align: center; max-width: 520px; margin: 0 auto; }
.success-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 20px;
  margin: 0 auto 20px;
}
.waitlist-success h3 { font-size: 32px; font-weight: 400; margin-bottom: 12px; color: var(--dark-text); }
.waitlist-success p { font-size: 15px; color: #A8A090; line-height: 1.7; margin-bottom: 28px; }
.referral-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: left;
}
.referral-label { font-size: 10px; font-family: 'Cormorant SC', serif; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.referral-link-text { font-size: 13px; color: #C0B898; word-break: break-all; margin-bottom: 14px; }
.btn-copy {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #C0B898;
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 8px 20px;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.btn-copy:hover { border-color: var(--gold); color: var(--gold); }

/* ===== CHAMPIONS ===== */
.champions {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.champions-h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; margin-bottom: 16px; color: var(--dark-text); }
.champions-desc { font-size: 15px; color: #7A7060; margin-bottom: 32px; }
.leaderboard { max-width: 480px; margin: 0 auto 28px; }
.leaderboard-empty { font-size: 14px; color: #5A5040; font-style: italic; padding: 24px 0; }
.leaderboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  color: #C0B898;
}
.champions-invite { font-size: 13px; color: #5A5040; line-height: 1.7; max-width: 480px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--rule); background: var(--cream); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand { max-width: 360px; }
.footer-logo {
  font-family: 'Cormorant SC', serif;
  font-size: 18px;
  letter-spacing: 0.24em;
  color: var(--charcoal);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.footer-links a {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer-bottom a { color: var(--gold); }
.footer-disclaimer { max-width: 480px; font-style: italic; text-align: right; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 100px var(--pad-x) 48px; }
  .hero-image { height: 60vw; max-height: 500px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card { border-bottom: 1px solid var(--rule); }
  .benefit-card:nth-child(2) { border-right: none; }
  .benefit-card:nth-child(3) { border-right: 1px solid var(--rule); border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-image { max-height: 380px; }
  .testimonials-image img { min-height: unset; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-disclaimer { text-align: left; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: none !important; }
  .ingredient-row { flex-direction: column; gap: 8px; }
  .ingredient-dose { text-align: left; }
  .form-fields { grid-template-columns: 1fr; }
  .study-stats { gap: 24px; }
  .founder-sig { flex-direction: column; align-items: flex-start; }
}
