:root {
    --ink: #2a140c;
    --muted: #6e5346;
    --paper: rgba(255, 252, 247, 0.94);
    --line: rgba(42, 20, 12, 0.1);
    --pomegranate: #e23b4a;
    --saffron: #f0a202;
    --olive: #2c7a45;
    --sea: #0d8b93;
    --plum: #6a3adf;
    --citrus: #ff7430;
    --cream: #fff6ec;
    --shadow: 0 18px 50px rgba(80, 28, 12, 0.12);
    --radius: 28px;
    --serif: Fraunces, Georgia, serif;
    --sans: Outfit, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.6;
    background:
        radial-gradient(980px 520px at -8% -10%, #ffd7a1 0%, transparent 58%),
        radial-gradient(760px 480px at 110% -6%, #ffc0d0 0%, transparent 52%),
        radial-gradient(820px 540px at 90% 110%, #b7f0e6 0%, transparent 46%),
        radial-gradient(640px 420px at 8% 92%, #ffe08a 0%, transparent 42%),
        var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, .brand-name { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 0.95; margin: 0.05em 0 0.2em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.1; margin: 0; }
h3 { font-size: 1.15rem; margin: 0; line-height: 1.2; }
p { margin: 0 0 0.8em; }
.wrap { width: min(1240px, calc(100% - 1.5rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.narrow-wide { width: min(980px, calc(100% - 1.5rem)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: white; padding: 0.6rem 0.9rem; border-radius: 999px; z-index: 20; }
.skip:focus { top: 0.7rem; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 246, 236, 0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand, .brand-footer { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 700; color: var(--ink); }
.mark {
    width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: white;
    background: linear-gradient(145deg, var(--pomegranate), var(--citrus) 55%, var(--saffron));
    box-shadow: 0 8px 18px rgba(226, 59, 74, 0.28);
}
.brand-name { font-size: 1.45rem; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: white; border-radius: 999px; padding: 0.55rem 0.9rem; font: inherit; font-weight: 700; }
.site-nav { display: flex; gap: 0.35rem; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav-link { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.4rem 0.75rem; border-radius: 999px; color: var(--ink); }
.nav-link.is-active, .nav-link:hover { background: white; }

.hero { padding: 1.1rem 0 1.15rem; background: linear-gradient(160deg, #fffdf8 0%, #ffe7c8 42%, #ffd0d4 100%); border-bottom: 1px solid var(--line); }
.hero-bar { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.25rem; align-items: end; }
.eyebrow { display: inline-block; margin: 0 0 0.55rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: white; color: var(--pomegranate); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 40rem; }
.search-bar { display: grid; grid-template-columns: 1fr auto; gap: 0.55rem; margin: 0.4rem 0 0; align-items: center; max-width: 36rem; }
.search-bar input { width: 100%; border: 0; border-radius: 999px; padding: 0.95rem 1.2rem; font: inherit; background: white; box-shadow: var(--shadow); }
.button, button.button { border: 0; border-radius: 999px; background: var(--ink); color: white; font: inherit; font-weight: 700; padding: 0.9rem 1.2rem; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.stat { display: flex; flex-direction: column; justify-content: center; min-height: 86px; padding: 0.6rem 0.8rem; border-radius: 18px; text-decoration: none; color: white; }
.stat strong { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.stat span { font-size: 0.78rem; font-weight: 700; opacity: 0.92; }
.stat-pop { background: linear-gradient(145deg, #e23b4a, #ff7430); }
.stat-sea { background: linear-gradient(145deg, #0d8b93, #1aa8a4); }
.stat-olive { background: linear-gradient(145deg, #2c7a45, #6aaa2f); }

.band { padding: 1.15rem 0 1.3rem; }
.band-gold { background: #ffe6bc; }
.band-rose { background: #ffe3e0; }
.band-mint { background: #d9f6df; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 0.75rem; }
.tile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 108px; padding: 0.8rem; border-radius: 18px; text-decoration: none; color: white; }
.tile strong { font-family: var(--serif); font-size: 1.2rem; line-height: 1.05; }
.tile span { font-size: 0.75rem; font-weight: 700; opacity: 0.92; }
.tone-pomegranate { background: linear-gradient(160deg, #e23b4a, #ff6a3d); }
.tone-saffron { background: linear-gradient(160deg, #e08900, #f0a202); color: #2a140c; }
.tone-olive { background: linear-gradient(160deg, #217a3e, #67b12e); }
.tone-sea { background: linear-gradient(160deg, #0c7c86, #19b0b0); }
.tone-plum { background: linear-gradient(160deg, #6234d6, #b15cff); }
.tone-citrus { background: linear-gradient(160deg, #ff5a1f, #ffb020); color: #2a140c; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-photo { aspect-ratio: 16 / 11; background: white; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 0.7rem 0.85rem 0.85rem; background: #fffdf9; }
.card-body h3 { font-family: var(--serif); font-size: 1.12rem; }
.card-body .meta { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.8rem; font-weight: 650; }
.story-row { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 0.7rem; overflow-x: auto; }
.story-wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.story-card { display: block; background: var(--paper); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.story-card img { width: 100%; height: 140px; object-fit: cover; }
.story-card span { display: block; padding: 0.55rem 0.7rem 0.7rem; font-family: var(--serif); font-size: 1.05rem; }

.page-hero { padding: 1.6rem 0 0.3rem; }
.recipe-page { padding-bottom: 2.5rem; }
.crumb { color: var(--pomegranate); font-weight: 700; text-decoration: none; }
.hero-photo { border-radius: 28px; overflow: hidden; background: white; box-shadow: var(--shadow); margin: 0.5rem 0 1rem; }
.hero-photo img { width: 100%; height: 320px; object-fit: cover; }
.prose h2, .prose h3 { margin-top: 1.1rem; }
.prose img { margin: 0.8rem 0; border-radius: 18px; }
.jump { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; }
.recipe-card { margin: 1.2rem 0; padding: 1.2rem 1.3rem; background: white; border-radius: 28px; box-shadow: var(--shadow); scroll-margin-top: 5.4rem; }
.recipe-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.6rem 0 0.8rem; list-style: none; }
.recipe-stats li { background: var(--cream); border-radius: 16px; padding: 0.5rem 0.75rem; min-width: 5.4rem; }
.recipe-stats span { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.recipe-columns { display: grid; gap: 1.1rem; }
.ingredients, .steps { margin: 0; padding: 0; }
.ingredients { list-style: none; }
.ingredients li, .steps li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.ingredients li.is-done { text-decoration: line-through; opacity: 0.5; }
.qty { display: inline-block; min-width: 5.2rem; font-weight: 700; color: var(--pomegranate); }
.recipe-notes { margin-top: 0.8rem; background: #fff1df; border-radius: 16px; padding: 0.75rem 0.9rem; }
.chip, .strip-link { display: inline-flex; text-decoration: none; border-radius: 999px; padding: 0.4rem 0.8rem; background: white; font-weight: 650; color: var(--ink); }
.tag-row, .hero-links, .strip { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 1rem; }
.pager-link, .pager-current { min-width: 2.4rem; height: 2.4rem; padding: 0 0.75rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.pager-link { background: white; color: var(--ink); box-shadow: var(--shadow); }
.pager-current { background: var(--ink); color: white; }
.pager-gap { font-weight: 700; }
.bento, .bento-compact, .tile-grid { display: grid; gap: 0.6rem; }
.bento { grid-template-columns: repeat(4, 1fr); }
.bento-card { min-height: 96px; padding: 0.8rem; border-radius: 18px; text-decoration: none; color: white; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, #e23b4a, #ff6a3d); }
.bento-card:nth-child(4n+2) { background: linear-gradient(160deg, #e08900, #f0a202); color: #2a140c; }
.bento-card:nth-child(4n+3) { background: linear-gradient(160deg, #217a3e, #67b12e); }
.bento-card:nth-child(4n) { background: linear-gradient(160deg, #0c7c86, #19b0b0); }
.index-groups { display: grid; gap: 1.3rem; }
.contact-form { display: grid; gap: 0.35rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-radius: 16px; padding: 0.85rem 1rem; font: inherit; background: white; box-shadow: var(--shadow); }
.contact-form textarea { min-height: 8rem; }
.form-ok, .form-error { padding: 0.7rem 0.9rem; border-radius: 14px; }
.form-ok { background: #d9f6df; }
.form-error { background: #ffe3e0; }
.story-stack { display: grid; gap: 0.8rem; }
.story-panel { background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.story-panel img { width: 100%; max-height: 28rem; object-fit: cover; }
.story-panel p { padding: 0.8rem 1rem 1rem; }
.story-row { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 0.7rem; overflow-x: auto; }
.story-wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.empty { background: white; padding: 1rem; border-radius: 16px; }
.eyebrow, .meta, .crumbs, .byline { letter-spacing: 0.04em; }
.byline, .crumbs { color: var(--muted); font-size: 0.92rem; }

.site-footer { margin-top: 1rem; background: #2a140c; color: #fff6ec; }
.footer-stripe { height: 8px; background: linear-gradient(90deg, var(--pomegranate), var(--saffron), #ffe08a, var(--olive), var(--sea), var(--plum)); }
.footer-grid { display: grid; gap: 1.1rem; padding: 1.5rem 0 0.5rem; }
.footer-grid h2 { color: #ffd27a; font-size: 1.25rem; }
.footer-grid a, .brand-footer { color: #fff6ec; text-decoration: none; display: block; margin: 0.22rem 0; }
.footer-base { padding: 0.6rem 0 1.1rem; }

@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .recipe-columns { grid-template-columns: 0.9fr 1.1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 979px) {
    .site-nav { display: none; }
    .site-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); padding: 0.6rem 1rem 1rem; }
    .nav-toggle { display: inline-flex; }
    .hero-bar, .card-grid, .tile-grid, .bento { grid-template-columns: 1fr 1fr; }
    .tile-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .card-grid, .hero-bar, .stat-row, .bento { grid-template-columns: 1fr; }
    .search-bar { grid-template-columns: 1fr; }
}
@media print {
    .site-header, .site-footer, .jump, .tag-row { display: none; }
    body { background: white; }
}
