:root {
  --bg: #0F0A06;
  --bg-warm: #15100A;
  --fg: #F5EDE4;
  --fg-muted: #A89A8B;
  --accent: #E8913A;
  --accent-glow: #F4A94D;
  --accent-deep: #C46A1A;
  --ember-1: #E8913A;
  --ember-2: #F4C76D;
  --ember-3: #D45B2A;
  --card-bg: #1A140D;
  --card-border: #2A1F15;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(232,145,58,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 60%, rgba(212,91,42,0.05) 0%, transparent 60%),
    var(--bg);
}

.hero-inner {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  padding: 0.4em 1.4em;
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Floating embers */
.hero-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ember {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.ember-1 {
  width: 200px; height: 200px;
  background: var(--ember-1);
  top: 20%; left: 10%;
  animation-delay: 0s;
}

.ember-2 {
  width: 150px; height: 150px;
  background: var(--ember-2);
  bottom: 25%; right: 8%;
  animation-delay: -3s;
}

.ember-3 {
  width: 120px; height: 120px;
  background: var(--ember-3);
  top: 60%; left: 55%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.5; }
}

/* ═══════════ HOW IT WORKS ═══════════ */
.how {
  padding: 8rem 2rem;
  background: var(--bg-warm);
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how-label {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3.5rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.how-step {
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-deep);
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.how-step h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.how-step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ═══════════ FORMATS ═══════════ */
.formats {
  padding: 8rem 2rem;
  background: var(--bg);
}

.formats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.formats-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.formats-text h2 em {
  font-style: italic;
  color: var(--accent-glow);
}

.formats-text p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.formats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.format-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.format-card:hover {
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

.format-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.format-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.format-desc {
  color: var(--fg-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ═══════════ WHO ═══════════ */
.who {
  padding: 8rem 2rem;
  background: var(--bg-warm);
}

.who-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.who-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 3rem;
  text-align: center;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.who-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.who-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-glow));
}

.who-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.who-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ═══════════ CLOSING ═══════════ */
.closing {
  padding: 8rem 2rem;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(232,145,58,0.06) 0%, transparent 70%),
    var(--bg);
  text-align: center;
}

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

.closing blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--accent-glow);
  margin-bottom: 1rem;
}

.closing cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg);
  line-height: 1.8;
}

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

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

.footer-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}

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

.footer-note a {
  color: var(--accent);
  text-decoration: none;
}

.footer-note a:hover {
  text-decoration: underline;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
  .how-grid,
  .who-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .formats-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .formats-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .how, .formats, .who, .closing {
    padding: 5rem 1.5rem;
  }
}