/* === TOKENS === */
:root {
  --bg: #FAF7F2;
  --bg-warm: #F5EFE6;
  --bg-deep: #EDE4D3;
  --fg: #1A1410;
  --fg-muted: #7A6E63;
  --accent: #C4704A;
  --accent-soft: rgba(196, 112, 74, 0.12);
  --secondary: #6B7F5E;
  --secondary-soft: rgba(107, 127, 94, 0.12);
  --border: rgba(26, 20, 16, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  align-items: center;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(196, 112, 74, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2.5rem;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 42ch;
  line-height: 1.75;
}

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-table {
  width: 100%;
  max-width: 480px;
}

.table-scene {
  position: relative;
}

.table-surface {
  background: linear-gradient(160deg, #E8DDD0 0%, #D4C5B2 100%);
  border-radius: 200px / 40px;
  aspect-ratio: 4/3;
  position: relative;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.4),
    0 8px 32px rgba(26,20,16,0.1),
    0 2px 8px rgba(26,20,16,0.06);
  overflow: hidden;
}

.table-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(26,20,16,0.03) 60px,
      rgba(26,20,16,0.03) 61px
    );
  border-radius: inherit;
}

.table-shadow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 30px;
  background: rgba(26,20,16,0.08);
  border-radius: 50%;
  filter: blur(8px);
}

/* Plates */
.plate {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C97050 0%, #A85A38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(26,20,16,0.15),
    inset 0 1px 2px rgba(255,255,255,0.2);
}

.plate-1 { top: 15%; left: 12%; }
.plate-2 { top: 10%; right: 15%; }
.plate-3 { bottom: 18%; left: 42%; }

.plate-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plate-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

/* Candles */
.candle {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.candle-body {
  width: 8px;
  height: 40px;
  background: linear-gradient(180deg, #E8DDD0, #D4C5B2);
  border-radius: 2px;
}

.candle-flame {
  width: 6px;
  height: 12px;
  background: radial-gradient(ellipse at bottom, #F5C86A 0%, #E8A030 50%, transparent 100%);
  border-radius: 50% 50% 30% 30%;
  animation: flicker 2s ease-in-out infinite alternate;
  margin-bottom: 2px;
}

@keyframes flicker {
  0% { transform: scaleY(1) rotate(-2deg); opacity: 1; }
  50% { transform: scaleY(1.1) rotate(1deg); opacity: 0.9; }
  100% { transform: scaleY(0.9) rotate(-1deg); opacity: 1; }
}

.candle-1 { bottom: 22%; right: 18%; }
.candle-2 { top: 28%; left: 28%; }

/* Wine glass */
.wine-glass {
  position: absolute;
  bottom: 12%;
  right: 22%;
}

.wine-svg {
  width: 32px;
  height: 50px;
  color: var(--fg-muted);
}

/* Napkins */
.napkin {
  position: absolute;
  width: 60px;
  height: 40px;
  background: var(--secondary);
  opacity: 0.3;
  border-radius: 4px;
}

.napkin-1 { top: 38%; left: 6%; transform: rotate(-15deg); }
.napkin-2 { bottom: 28%; right: 6%; transform: rotate(8deg); }

/* === RITUAL === */
.ritual {
  background: var(--bg-warm);
  padding: 6rem 3rem;
}

.ritual-inner {
  max-width: 680px;
  margin: 0 auto;
}

.ritual-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.ritual-statement p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.ritual-statement p:last-child { margin-bottom: 0; }

.ritual-answer {
  margin-top: 2.5rem;
}

.ritual-answer .ritual-label { display: block; }

.ritual-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 3rem 0;
  opacity: 0.5;
}

/* === FEATURES === */
.features {
  padding: 7rem 3rem;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.feature {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-warm);
  transition: border-color 0.2s;
}

.feature:hover { border-color: var(--accent); }

.feature-icon {
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.feature p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--fg);
  padding: 7rem 3rem;
  text-align: center;
}

.manifesto-inner {
  max-width: 640px;
  margin: 0 auto;
}

.manifesto-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 3rem;
  opacity: 0.6;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--bg);
  line-height: 1.5;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.manifesto-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--bg);
  opacity: 0.5;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 8rem 3rem;
  background: var(--bg-deep);
  text-align: center;
}

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

.closing-emblem {
  margin-bottom: 2.5rem;
  color: var(--accent);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.closing-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }
  .hero-visual { order: -1; }
  .hero-table { max-width: 320px; }
  .hero-headline { font-size: 2.5rem; }
  .features { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .ritual, .manifesto, .closing { padding: 4rem 1.5rem; }
  .ritual-statement p { font-size: 1.2rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-rule { margin: 3rem auto; }
}