/* =========================================
   OVACHRON — Theme CSS
   Palette: Terracotta / Cream / Sage
   ========================================= */

:root {
  --bg: #F7F3ED;
  --bg-warm: #F2EEE8;
  --ink: #1C1814;
  --ink-muted: #6B6058;
  --ink-faint: #A89E94;
  --terracotta: #C4502A;
  --terracotta-light: #E8755A;
  --sage: #8B8C6E;
  --sage-light: #B5B49A;
  --cream: #F7F3ED;
  --white: #FFFFFF;
  --border: #E4DDD3;
  --radius: 2px;
}

* { 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;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── HEADER ─────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

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

.wordmark-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── HERO ──────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 80, 42, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 140, 110, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: 200px;
}

.hero-bg-text {
  position: absolute;
  right: -20px;
  bottom: 60px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  color: rgba(196, 80, 42, 0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 36px;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-body {
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

/* ── STATS ROW ─────────────────────────── */

.stats-row {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 48px;
}

.stats-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  padding: 0 40px;
}

.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--terracotta-light);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.stat-desc {
  font-size: 0.875rem;
  color: rgba(247,243,237,0.65);
  line-height: 1.55;
}

.stat-divider {
  width: 1px;
  background: rgba(247,243,237,0.12);
  align-self: stretch;
  margin: 0;
}

/* ── WHY SECTION ───────────────────────── */

.why-section {
  padding: 100px 48px;
  background: var(--cream);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.why-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 700px;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.why-card {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}

.why-card:last-child { border-right: none; }

.why-card-icon {
  color: var(--terracotta);
  margin-bottom: 20px;
}

.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── HOW SECTION ───────────────────────── */

.how-section {
  padding: 100px 48px;
  background: var(--bg);
}

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

.how-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.how-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 600px;
  margin-bottom: 16px;
}

.how-body {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 56px;
  line-height: 1.6;
}

.how-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
  padding-left: 0;
}

.timeline-item {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 36px 0;
  padding-left: 48px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 44px;
  width: 9px;
  height: 9px;
  background: var(--terracotta);
  border-radius: 50%;
  transform: translateX(-4px);
}

.timeline-item:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.timeline-marker {
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* ── OUTCOMES SECTION ───────────────────── */

.outcomes-section {
  padding: 100px 48px;
  background: var(--ink);
  color: var(--cream);
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outcomes-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 20px;
}

.outcomes-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}

.outcomes-body {
  font-size: 0.95rem;
  color: rgba(247,243,237,0.6);
  line-height: 1.65;
  margin-bottom: 40px;
}

.outcomes-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.outcome-stat {
  border-top: 1px solid rgba(247,243,237,0.1);
  padding-top: 20px;
}

.outcome-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--terracotta-light);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.outcome-label {
  font-size: 0.8rem;
  color: rgba(247,243,237,0.5);
  line-height: 1.4;
}

.outcomes-quote {
  padding: 48px;
  background: rgba(247,243,237,0.04);
  border: 1px solid rgba(247,243,237,0.08);
  display: flex;
  align-items: center;
}

.outcomes-quote blockquote {
  border: none;
  padding: 0;
}

.outcomes-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 20px;
}

.outcomes-quote cite {
  font-size: 0.8rem;
  font-style: normal;
  color: rgba(247,243,237,0.45);
  font-family: 'DM Sans', sans-serif;
}

/* ── PHILOSOPHY SECTION ─────────────────── */

.philosophy-section {
  padding: 100px 48px;
  background: var(--bg-warm);
}

.philosophy-inner {
  max-width: 820px;
  margin: 0 auto;
}

.philosophy-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.philosophy-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 32px;
}

.philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.philosophy-body p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.philosophy-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
  padding-left: 20px;
  border-left: 2px solid var(--sage-light);
}

.value strong {
  color: var(--ink);
}

/* ── CLOSING SECTION ─────────────────────── */

.closing-section {
  padding: 100px 48px;
  background: var(--terracotta);
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-shape-bg {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 560px;
}

/* ── FOOTER ─────────────────────────────── */

.site-footer {
  background: #16120E;
  color: rgba(247,243,237,0.5);
  padding: 80px 48px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,237,0.35);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(247,243,237,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(247,243,237,0.08);
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(247,243,237,0.25);
  line-height: 1.5;
}

/* ── RESPONSIVE ─────────────────────────── */

@media (max-width: 900px) {
  .site-header { padding: 0 24px; }
  .hero { padding: 100px 24px 60px; }
  .stats-row { padding: 48px 24px; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .why-section, .how-section, .outcomes-section, .philosophy-section, .closing-section { padding: 80px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 1px solid var(--border); }
  .why-card:last-child { border-bottom: none; }
  .outcomes-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-bg-text { display: none; }
}

@media (max-width: 600px) {
  .timeline-item { padding-left: 32px; }
  .outcomes-quote { padding: 32px 24px; }
}
