:root {
  --bg: #F8F4EF;
  --bg-warm: #F2EBE0;
  --accent: #B85C38;
  --accent-light: #D4856A;
  --sage: #7D8B6A;
  --sage-light: #A8B09A;
  --ink: #2A2520;
  --ink-light: #6B6159;
  --muted: #A8998C;
  --white: #FDFAF7;
  --flame: rgba(184, 92, 56, 0.08);
  --flame2: rgba(125, 139, 106, 0.06);
  --flame3: rgba(212, 133, 106, 0.05);
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: sticky;
  top: 0;
  background: rgba(248, 244, 239, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(168, 153, 140, 0.2);
}

.nav__brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav__science-link {
  font-size: 0.85rem;
  color: var(--ink-light);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav__science-link:hover {
  color: var(--ink);
}

.nav__quiz-link {
  font-size: 0.85rem;
  color: var(--ink-light);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav__quiz-link:hover {
  color: var(--ink);
}

.nav__shop-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav__shop-link:hover {
  color: #9e4e2d;
}

/* ─── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 80px 48px 60px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 50%, var(--flame), transparent),
    radial-gradient(ellipse 40% 60% at 90% 30%, var(--flame2), transparent),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(42,37,32,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__inner {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__eyebrow-text {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.hero__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero__headline-light {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-light);
}

.hero__headline-em {
  display: block;
  color: var(--accent);
  font-weight: 500;
  font-style: normal;
}

.hero__body {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.75;
  max-width: 480px;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero__ornament {
  opacity: 0.6;
}

/* Flame decorative */
.hero__flame-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  padding-right: 60px;
  position: relative;
  z-index: 1;
}

.hero__flame {
  border-radius: 50%;
  filter: blur(40px);
}

.hero__flame--1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(184,92,56,0.25) 0%, transparent 70%);
  animation: flamePulse 4s ease-in-out infinite;
}

.hero__flame--2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(125,139,106,0.18) 0%, transparent 70%);
  animation: flamePulse 5s ease-in-out infinite 1s;
}

.hero__flame--3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212,133,106,0.15) 0%, transparent 70%);
  animation: flamePulse 3.5s ease-in-out infinite 0.5s;
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ─── RITUAL ──────────────────────── */
.ritual {
  padding: 120px 48px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
}

.ritual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,92,56,0.4), transparent);
}

.ritual__header {
  margin-bottom: 80px;
}

.ritual__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  font-weight: 400;
}

.ritual__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--bg);
  max-width: 480px;
  line-height: 1.2;
}

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

.ritual__step {
  border-left: 1px solid rgba(248,244,239,0.12);
  padding-left: 28px;
}

.ritual__step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 20px;
}

.ritual__step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 12px;
}

.ritual__step-body {
  font-size: 0.9rem;
  color: rgba(248,244,239,0.6);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── COLLECTIONS ─────────────────── */
.collections {
  padding: 120px 48px;
  background: var(--bg);
}

.collections__header {
  margin-bottom: 72px;
}

.collections__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 400;
}

.collections__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  max-width: 520px;
  line-height: 1.2;
}

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

.collections__item {
  padding: 56px 48px;
  background: var(--bg-warm);
  transition: background 0.3s ease;
}

.collections__item:hover {
  background: #EDE5D8;
}

.collections__icon {
  margin-bottom: 24px;
}

.collections__item-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.collections__item-body {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── PHILOSOPHY ──────────────────── */
.philosophy {
  padding: 120px 48px;
  background: var(--bg-warm);
  position: relative;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,153,140,0.3), transparent);
}

.philosophy__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 40px;
  position: relative;
}

.philosophy__quote-mark {
  display: block;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 16px;
  font-style: normal;
}

.philosophy__body {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.philosophy__divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 40px auto;
  opacity: 0.4;
}

.philosophy__callout {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
}

/* ─── CLOSING ─────────────────────── */
.closing {
  padding: 120px 48px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--flame3), transparent),
    var(--bg);
  text-align: center;
}

.closing__inner {
  max-width: 560px;
  margin: 0 auto;
}

.closing__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.closing__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.closing__eyebrow-text {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.closing__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.2;
}

.closing__body {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 48px;
}

.closing__signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.closing__signature-text {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── FOOTER ──────────────────────── */
.footer {
  padding: 48px 48px 40px;
  background: var(--ink);
  text-align: center;
}

.footer__brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--accent-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer__meta {
  font-size: 0.75rem;
  color: rgba(248,244,239,0.3);
  font-weight: 300;
}

/* ─── RESPONSIVE ──────────────────── */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 40px;
    min-height: auto;
  }
  .hero__flame-container { display: none; }
  .ritual { padding: 80px 24px; }
  .ritual__steps { grid-template-columns: 1fr; gap: 40px; }
  .collections { padding: 80px 24px; }
  .collections__grid { grid-template-columns: 1fr; }
  .collections__item { padding: 40px 28px; }
  .philosophy { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 40px 24px 32px; }
}

@media (max-width: 480px) {
  .nav__tagline { display: none; }
  .hero__headline { font-size: 2.2rem; }
  .closing__title { font-size: 1.8rem; }
}