/* Cook & Wander — clean, fast, content-first design system.
   No frameworks, no web fonts (zero render-blocking requests), CLS-safe. */

:root {
  --cream: #fbf7f0;
  --ink: #23211d;
  --muted: #6b655c;
  --terracotta: #b5562f;
  --olive: #6d7b46;
  --line: #e7e0d4;
  --card: #ffffff;
  --maxwide: 1080px;
  --maxread: 720px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
}

.wrap { width: 100%; max-width: var(--maxwide); margin: 0 auto; padding: 0 20px; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: .3px; }
.brand:hover { text-decoration: none; color: var(--terracotta); }
.nav a { color: var(--ink); font-size: .95rem; margin-left: 18px; }
.nav a:first-child { margin-left: 0; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.hero h1 { font-family: var(--serif); font-size: 2.6rem; line-height: 1.15; margin: 0 0 14px; max-width: 14ch; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin: 0; }
.hero .tagline { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 44px 0; }
.section h2 { font-family: var(--serif); font-size: 1.7rem; margin: 0 0 24px; }
.section-lead { color: var(--muted); max-width: 60ch; margin: -12px 0 28px; }

/* ---------- Card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #efe7d8, #e3dcc9); display: flex; align-items: center; justify-content: center; color: #b3a888; font-size: .8rem; text-align: center; padding: 10px; }
.card .body { padding: 16px 18px 20px; }
.card .kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); font-weight: 600; }
.card h3 { font-family: var(--serif); font-size: 1.18rem; margin: 8px 0 6px; line-height: 1.3; }
.card h3 a { color: var(--ink); }
.card p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Trust blurb ---------- */
.approach { background: #f4eee2; border: 1px solid var(--line); border-radius: 12px; padding: 28px 30px; }
.approach h2 { margin-top: 0; }
.approach p { color: var(--ink); max-width: 64ch; }

/* ---------- Article ---------- */
.article { max-width: var(--maxread); margin: 0 auto; padding: 48px 20px 20px; }
.article h1 { font-family: var(--serif); font-size: 2.3rem; line-height: 1.18; margin: 0 0 12px; }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article .meta .byline { font-weight: 600; color: var(--ink); }
.article h2 { font-family: var(--serif); font-size: 1.5rem; margin: 38px 0 12px; }
.article h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.article p, .article li { font-size: 1.06rem; }
.article ul, .article ol { padding-left: 1.3em; }
.figure { margin: 26px 0; }
.figure .ph { aspect-ratio: 3 / 2; background: linear-gradient(135deg, #efe7d8, #e3dcc9); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #a99c7f; font-size: .85rem; text-align: center; padding: 16px; }
.figure figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; text-align: center; }
.note { background: #f4eee2; border-left: 4px solid var(--olive); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 24px 0; color: var(--ink); }
.note strong { color: var(--olive); }

/* Recipe card */
.recipe-card { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 24px 26px; margin: 34px 0; }
.recipe-card h2 { margin-top: 0; }
.recipe-stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 12px 0 18px; font-size: .9rem; }
.recipe-stats span { color: var(--muted); }
.recipe-stats b { display: block; color: var(--ink); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 34px 0 50px; background: #f4eee2; }
.footer-nav a { color: var(--ink); margin-right: 18px; font-size: .92rem; }
.copyright { color: var(--muted); font-size: .85rem; margin: 16px 0 6px; }
.footer-note { color: var(--muted); font-size: .82rem; max-width: 70ch; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: 1.8rem; }
  .nav { width: 100%; }
  .nav a { margin: 0 16px 0 0; }
}
