/* ── Variables ── */
:root {
  --bg: #1C1917;
  --bg-elevated: #262019;
  --accent: #D97706;
  --accent-dim: #92400E;
  --text: #F5F0E8;
  --text-muted: #A89F94;
  --text-subtle: #6B6460;
  --border: rgba(245, 240, 232, 0.08);
  --radius: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.15rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
p { color: var(--text-muted); font-size: 1.05rem; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section-inner.narrow { max-width: 740px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline { color: var(--text); }
.section-headline.centered { text-align: center; }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.25rem 2rem; }
.nav-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
}

.nav-cta {
  font-size: 0.85rem; font-weight: 600; color: var(--bg);
  background: var(--accent); padding: 0.5rem 1.25rem;
  border-radius: var(--radius); transition: background 0.2s;
}
.nav-cta:hover { background: #F59E0B; }

/* ── Hero CTA ── */
.hero-cta {
  display: inline-block; margin-top: 2rem;
  background: var(--accent); color: var(--bg);
  padding: 0.9rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem;
  transition: background 0.2s;
}
.hero-cta:hover { background: #F59E0B; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.hero-atmosphere {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 60%, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { color: var(--accent); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 1.25rem; text-transform: uppercase; }
.hero-headline { color: var(--text); margin-bottom: 1.5rem; font-style: italic; }
.hero-lede { font-size: 1.15rem; line-height: 1.7; max-width: 480px; }

/* ── Hero Visual: Fireplace ── */
.hero-visual {
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
  position: relative; z-index: 1;
}
.fireplace {
  width: 160px; height: 120px;
  background: #0D0B09;
  border-radius: 80px 80px 12px 12px;
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(217, 119, 6, 0.3), inset 0 -20px 40px rgba(217, 119, 6, 0.15);
}
.flame {
  position: absolute; bottom: 0; border-radius: 50% 50% 20% 20%;
  background: linear-gradient(to top, #F97316, #D97706, transparent);
  animation: flicker 2s ease-in-out infinite alternate;
}
.flame-1 { width: 40px; height: 70px; left: 35%; animation-duration: 1.8s; }
.flame-2 { width: 30px; height: 55px; left: 55%; animation-duration: 2.2s; animation-delay: 0.3s; opacity: 0.85; }
.flame-3 { width: 24px; height: 45px; left: 45%; animation-duration: 1.6s; animation-delay: 0.7s; opacity: 0.7; }
.ember-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 25px;
  background: linear-gradient(to right, #D97706, #F97316, #D97706);
  border-radius: 4px 4px 0 0;
  animation: ember-pulse 3s ease-in-out infinite;
}
@keyframes flicker {
  0% { transform: scaleY(1) scaleX(1); opacity: 0.9; }
  100% { transform: scaleY(1.15) scaleX(0.9); opacity: 1; }
}
@keyframes ember-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── Chat Bubbles ── */
.chat-bubble-wrap {
  display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 340px;
}
.chat-bubble {
  padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.875rem; line-height: 1.5;
  max-width: 280px; animation: bubble-in 0.4s ease-out both;
}
.chat-bubble.coach {
  background: var(--accent-dim); color: var(--text); border: 1px solid rgba(217, 119, 6, 0.3);
  display: flex; align-items: center; gap: 0.4rem; max-width: 200px;
}
.chat-bubble.client {
  background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border);
  align-self: flex-end;
}
.chat-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: dot-bounce 1.4s ease-in-out infinite;
}
.chat-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}
.chat-label { font-size: 0.7rem; color: var(--accent); font-weight: 600; letter-spacing: 0.05em; }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-bubble-wrap .chat-bubble:nth-child(2) { animation-delay: 0.5s; }
.chat-bubble-wrap .chat-bubble:nth-child(3) { animation-delay: 1.2s; }
.chat-bubble-wrap .chat-bubble:nth-child(4) { animation-delay: 2s; }

/* ── Features ── */
.features { padding: 6rem 0; }
.features .section-headline { margin-bottom: 3.5rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.feature-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem; transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(217, 119, 6, 0.3); }
.feature-icon { margin-bottom: 1.25rem; }
.feature-card h3 { color: var(--text); margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.95rem; line-height: 1.65; }

/* ── How It Works ── */
.how-it-works { padding: 6rem 0; border-top: 1px solid var(--border); }
.how-it-works .section-headline { margin-bottom: 3rem; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem;
  padding: 2.5rem 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700;
  color: var(--accent); opacity: 0.5; line-height: 1;
}
.step-content h3 { color: var(--text); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; line-height: 1.7; }

/* ── Philosophy ── */
.philosophy { padding: 6rem 0; background: var(--bg-elevated); }
.philosophy-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.philosophy-body { font-size: 1rem; line-height: 1.8; }

/* ── Closing ── */
.closing { padding: 6rem 0; }
.closing-content h2 { color: var(--text); margin-bottom: 1.25rem; }
.closing-content p { font-size: 1.05rem; line-height: 1.75; max-width: 560px; }

/* ── Footer ── */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--text); }
.footer-tagline { font-size: 0.8rem; color: var(--text-subtle); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; gap: 3rem; }
  .hero-visual { order: -1; }
  .fireplace { width: 100px; height: 75px; }
  .flame-1 { width: 25px; height: 45px; }
  .flame-2 { width: 18px; height: 35px; }
  .flame-3 { width: 14px; height: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 50px 1fr; }
  .step-number { font-size: 1.8rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .section-headline { text-align: left; }
}