/* Spice & Simmer — warm, weeknight, kitchen-forward */
:root {
  --terracotta: #c2410c;
  --terracotta-deep: #9a3412;
  --paprika: #c2410c;
  --paprika-deep: #9a3412;
  --turmeric: #f59e0b;
  --cream: #fff8ee;
  --shell: #fdf3e1;
  --herb: #4d5d3a;
  --herb-bright: #6b8550;
  --olive: #4d5d3a;
  --ink: #2b1d12;
  --ink-soft: #5b4836;
  --line: #ead6b5;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(43,29,18,.06), 0 8px 24px rgba(43,29,18,.06);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }

p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: .35em; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-family: var(--serif); font-size: 1.35rem; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paprika); color: var(--cream); font-size: 1.2rem; }
.primary-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.primary-nav a { color: var(--ink); font-weight: 500; font-size: .97rem; }
.primary-nav a:hover { color: var(--paprika); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 60px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 88% 12%, rgba(245,158,11,.12), transparent 38%),
    radial-gradient(circle at 6% 88%, rgba(107,133,80,.10), transparent 42%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 40px 0 36px; } }
.hero-eyebrow { color: var(--terracotta); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; display: inline-block; padding-bottom: 14px; border-bottom: 2px solid var(--terracotta); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.05; margin-bottom: 22px; letter-spacing: -.025em; }
.hero p.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 42ch; line-height: 1.55; }
.hero-img { border-radius: 18px; overflow: hidden; box-shadow: 0 4px 12px rgba(43,29,18,.10), 0 24px 60px rgba(43,29,18,.16); aspect-ratio: 4/3; background: var(--shell); position: relative; }
.hero-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); border-radius: inherit; pointer-events: none; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stamp { position: absolute; bottom: -18px; right: -18px; background: var(--cream); border: 2px solid var(--terracotta); color: var(--terracotta); font-family: var(--serif); font-size: .82rem; font-weight: 600; padding: 14px 18px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(-4deg); text-align: center; line-height: 1.25; }
@media (max-width: 820px) { .hero-stamp { right: 12px; bottom: -10px; transform: rotate(-3deg) scale(.85); } }

.btn { display: inline-block; background: var(--paprika); color: var(--cream); padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s; }
.btn:hover { background: var(--paprika-deep); color: var(--cream); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Section */
.section { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--paprika); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; display: block; margin-bottom: 6px; }

/* Cards grid */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(43,29,18,.08), 0 14px 30px rgba(43,29,18,.10); }
.card a.cover { display: block; aspect-ratio: 4/3; background: var(--shell); overflow: hidden; }
.card a.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover a.cover img { transform: scale(1.04); }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.15rem; margin: 0; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--paprika); text-decoration: none; }
.meta-row { display: flex; gap: 14px; font-size: .82rem; color: var(--ink-soft); flex-wrap: wrap; }
.meta-row .pill { background: var(--shell); padding: 3px 10px; border-radius: 999px; font-weight: 500; color: var(--ink-soft); font-size: .76rem; }

/* Index lists (categories/cuisines pages) */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tag-cloud a { background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; color: var(--ink); font-weight: 500; }
.tag-cloud a:hover { background: var(--paprika); color: var(--cream); border-color: var(--paprika); text-decoration: none; }

/* Recipe page */
.recipe-hero { padding: 36px 0 28px; }
.recipe-hero .crumbs { color: var(--ink-soft); font-size: .85rem; margin-bottom: 14px; }
.recipe-hero h1 { margin-bottom: 14px; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 18px 0 24px; }
.recipe-meta .stat { display: flex; flex-direction: column; }
.recipe-meta .stat span:first-child { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }
.recipe-meta .stat span:last-child { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.recipe-cover { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; background: var(--shell); margin-bottom: 28px; box-shadow: var(--shadow); }
.recipe-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.recipe-body { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding-bottom: 60px; }
@media (max-width: 880px) { .recipe-body { grid-template-columns: 1fr; } }
.recipe-content h2 { margin-top: 36px; }
.recipe-content h2:first-child { margin-top: 0; }
.recipe-content ol li { margin-bottom: 14px; }

.sidebar h4 { margin-bottom: 12px; }
.ingredient-card { background: var(--card); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.ingredient-card ul { list-style: none; padding: 0; margin: 0; }
.ingredient-card li { padding: 9px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 14px; font-size: .96rem; }
.ingredient-card li:last-child { border-bottom: 0; }
.ingredient-card .ing-measure { color: var(--ink-soft); white-space: nowrap; }

.adsense { background: var(--shell); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; color: var(--ink-soft); font-size: .8rem; text-align: center; margin: 22px 0; }

/* Footer */
.site-footer { background: var(--ink); color: #f5e6cf; padding: 48px 0 28px; margin-top: 60px; }
.site-footer h4 { color: var(--turmeric); }
.site-footer .brand { color: #fff; }
.site-footer a { color: #f5e6cf; }
.site-footer a:hover { color: var(--turmeric); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 28px; border-bottom: 1px solid #44342a; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.copyright { padding-top: 18px; font-size: .85rem; color: #b9a08a; }

/* About / static pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.pager a:hover { background: var(--paprika); border-color: var(--paprika); color: var(--cream); text-decoration: none; }
.pager .current { background: var(--paprika); color: var(--cream); border-color: var(--paprika); }

/* Badges */
.card a.cover { position: relative; }
.badge-win {
  position: absolute; top: 12px; left: 12px;
  background: var(--herb-bright); color: #fff;
  font-size: .72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--shell); color: var(--ink-soft);
  padding: 5px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 500;
  border: 1px solid var(--line);
}
.badge.badge-win { background: var(--herb-bright); color: #fff; border-color: var(--herb-bright); font-weight: 600; }
.badge.badge-pan { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }

/* Listing pages */
.listing-head { padding-top: 56px; padding-bottom: 12px; }
.listing-head .eyebrow { color: var(--terracotta); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; display: inline-block; padding-bottom: 10px; border-bottom: 2px solid var(--terracotta); margin-bottom: 20px; }
.listing-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 14px; }
.listing-head .lede { font-size: 1.12rem; max-width: 64ch; line-height: 1.55; }

/* Long-form prose blocks on listing/index pages */
.rich-prose { padding: 8px 0 28px; }
.rich-prose .prose { max-width: 760px; }
.rich-prose .prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.rich-prose .prose h3 { font-size: 1.18rem; margin-top: 1.4em; color: var(--terracotta-deep); }
.rich-prose .prose p { font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); }
.rich-prose .prose strong { color: var(--ink); }
.rich-prose .prose ul { padding-left: 22px; line-height: 1.65; color: var(--ink-soft); }
.rich-prose .prose ul li { margin-bottom: 8px; }

/* Cross-link footer block on listing pages */
.cross-links { background: var(--shell); border-radius: 18px; padding: 36px; margin-top: 28px; }
.cross-links > h2 { margin-bottom: 22px; font-size: 1.5rem; }
.cross-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cross-grid h4 { color: var(--ink-soft); font-size: .85rem; letter-spacing: .12em; }
.cross-grid .tag-cloud { gap: 8px; }
.cross-grid .tag-cloud a { padding: 6px 12px; font-size: .85rem; }
@media (max-width: 600px) { .cross-links { padding: 24px 20px; border-radius: 14px; } }

/* Method cards on home */
.method-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.method-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px;
  color: var(--ink); transition: transform .15s ease, box-shadow .18s ease, border-color .15s;
  text-decoration: none;
}
.method-card:hover { transform: translateY(-3px); border-color: var(--terracotta); box-shadow: var(--shadow); text-decoration: none; }
.method-card .method-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.method-card .method-blurb { color: var(--ink-soft); font-size: .94rem; line-height: 1.5; flex: 1; }
.method-card .method-count { color: var(--terracotta); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 6px; }

/* Mobile polish */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 22px; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .primary-nav { gap: 14px; font-size: .92rem; }
  .grid { gap: 16px; }
  .recipe-hero { padding: 24px 0 16px; }
  .recipe-meta { gap: 14px 22px; }
  .recipe-meta .stat span:last-child { font-size: 1.1rem; }
  .badge { font-size: .76rem; padding: 4px 10px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
