/* ============================================================
   The Happy Cookbook — Landing Page Styles
   Warm gold / deep burgundy palette, elegant serif headings
   ============================================================ */

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

:root {
  --cream:    #faf7f2;
  --cream-2:  #f2ede4;
  --gold:     #c8922a;
  --gold-light: #e8b84b;
  --gold-dim: rgba(200, 146, 42, 0.12);
  --gold-border: rgba(200, 146, 42, 0.25);
  --burgundy: #6b1e2a;
  --burgundy-dark: #4a1520;
  --fg:      #2c1a12;
  --fg-muted: #7a5a4a;
  --border:  rgba(44, 26, 18, 0.12);
  --shadow:  rgba(44, 26, 18, 0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--burgundy);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  border: none;
  box-shadow: 0 4px 16px rgba(107, 30, 42, 0.3);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(107, 30, 42, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-large { padding: 16px 36px; font-size: 18px; }

/* ---- Section helpers ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

/* ---- HERO ---- */
.hero {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 40px 80px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-cover-wrap {
  flex-shrink: 0;
  width: 340px;
}
.hero-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 40px var(--shadow), 0 2px 8px var(--shadow);
  /* Crop to front cover (left half) */
  object-position: 0 0;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-fine-print {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 14px;
}

/* ---- ABOUT ---- */
.about {
  background: var(--cream-2);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}
.about-portrait-wrap {
  flex-shrink: 0;
  width: 300px;
  text-align: center;
}
.about-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 32px var(--shadow);
  /* Crop to back cover (right half) */
  object-position: right center;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.portrait-caption {
  margin-top: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--burgundy);
  font-weight: 600;
}
.about-text { flex: 1; }
.about-text .section-title { margin-top: 4px; }
.about-bio {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ---- WHAT'S INSIDE ---- */
.whats-inside { background: var(--cream); }
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.ingredient-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px var(--shadow);
}
.ingredient-emoji { font-size: 36px; margin-bottom: 16px; display: block; }
.ingredient-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--burgundy);
}
.ingredient-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }

.promise-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 99px;
}
.promise-check {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* ---- RECIPES ---- */
.recipes { background: var(--cream-2); border-top: 1px solid var(--border); }
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.recipe-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow);
}
.recipe-emoji { font-size: 32px; margin-bottom: 14px; display: block; }
.recipe-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.2px;
}
.recipe-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* ---- PRICING ---- */
.pricing { background: var(--cream); border-top: 1px solid var(--border); }
.pricing-inner { text-align: center; }
.pricing-card {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--gold-border);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 8px 40px var(--shadow);
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}
.pricing-features li {
  font-size: 16px;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before { color: var(--gold); font-size: 16px; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-card .btn-primary { width: 100%; text-align: center; }
.pricing-note {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 14px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--burgundy-dark);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand-block { display: flex; align-items: baseline; gap: 10px; }
.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.footer-byline { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; padding: 48px 20px 56px; }
  .hero-cover-wrap { width: 260px; margin: 0 auto; }
  .about-inner { flex-direction: column; padding: 56px 20px; }
  .about-portrait-wrap { width: 240px; margin: 0 auto; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 36px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-cover-wrap { width: 200px; }
  .section-inner { padding: 56px 20px; }
  .btn-large { padding: 14px 24px; font-size: 16px; }
}