:root {
    --ink: #24160f;
    --muted: #6d584c;
    --paper: #fff7ef;
    --white: #fffdfb;
    --chili: #ef3b2d;
    --tangerine: #ff6a1a;
    --saffron: #ffc20e;
    --basil: #0f8a4b;
    --sea: #1477d2;
    --plum: #6c2bd9;
    --berry: #d81b60;
    --deep: #2b1233;
    --line: rgba(36, 22, 15, 0.12);
    --shadow: 0 18px 40px rgba(58, 22, 12, 0.1);
    --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    background:
        radial-gradient(980px 460px at -8% -10%, rgba(255, 106, 26, 0.28), transparent 60%),
        radial-gradient(860px 520px at 110% -8%, rgba(255, 194, 14, 0.45), transparent 58%),
        radial-gradient(760px 480px at 90% 110%, rgba(15, 138, 75, 0.16), transparent 55%),
        radial-gradient(640px 420px at 8% 90%, rgba(108, 43, 217, 0.12), transparent 50%),
        var(--paper);
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
img.is-broken { display: none; }
button, input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -40px; background: var(--deep); color: white;
    padding: 8px 12px; z-index: 20;
}
.skip-link:focus { top: 12px; }

.stripe {
    height: 8px;
    background: linear-gradient(90deg,
        var(--chili) 0 16%,
        var(--saffron) 16% 33%,
        var(--basil) 33% 50%,
        var(--sea) 50% 67%,
        var(--plum) 67% 84%,
        var(--berry) 84% 100%);
}
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 253, 251, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-bar, .cat-nav, main, .footer-grid, .footer-note {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}
.header-bar {
    display: flex; align-items: center; gap: 18px;
    min-height: 78px;
}
.brand, .footer-brand {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--ink); font-weight: 700;
}
.brand-mark {
    width: 42px; height: 42px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--deep);
}
.brand-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--saffron); stroke-width: 2.4; stroke-linecap: round; }
.brand-mark svg path:first-child { fill: var(--saffron); stroke: none; }
.brand-name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.04em; }
.main-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-link, .footer-link, .cat-link, .text-go, .crumb, .jump, .hero-go, .page-link {
    text-decoration: none;
}
.nav-link {
    color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px;
}
.nav-link:hover { background: #ffe08a; }
.search-form { display: flex; gap: 8px; }
.search-form input {
    border: 1px solid var(--line); background: white; border-radius: 999px;
    padding: 10px 14px; min-width: 220px;
}
.search-form button, .print-btn, .hero-go, .page-link, .pager-current {
    border: 0; border-radius: 999px; cursor: pointer;
}
.search-form button, .hero-go {
    background: var(--chili); color: white; font-weight: 700; padding: 10px 16px;
}
.cat-nav {
    display: flex; gap: 8px; overflow-x: auto; padding: 0 0 14px;
    scrollbar-width: thin;
}
.cat-link {
    flex: 0 0 auto; padding: 7px 12px; border-radius: 999px;
    background: white; color: var(--ink); font-weight: 650; font-size: 0.92rem;
    border: 1px solid var(--line);
}
.cat-link.tone-chili { background: #ffe4df; }
.cat-link.tone-tangerine { background: #ffe6d4; }
.cat-link.tone-saffron { background: #fff1c2; }
.cat-link.tone-basil { background: #dff6e8; }
.cat-link.tone-sea { background: #dceefe; }
.cat-link.tone-plum { background: #efe4ff; }
.cat-link.tone-berry { background: #ffd9e8; }

main { padding: 28px 0 64px; }
.hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 540px;
    border-radius: 32px; overflow: hidden; background: var(--deep); color: #fff8ef;
    box-shadow: var(--shadow);
}
.hero-copy { padding: 48px 42px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--saffron); }
.hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); color: white; }
.lede { font-size: 1.2rem; max-width: 36rem; }
.hero-dish { color: #ffd56a; font-weight: 650; }
.hero-go { align-self: flex-start; text-decoration: none; }
.hero-photo { display: block; min-height: 320px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 540px; }
.band { margin-top: 42px; }
.page-home .band-first { margin-top: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.section-head h1, .section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.text-go { color: var(--chili); font-weight: 750; }
.mosaic, .card-grid, .kitchen-grid { display: grid; gap: 16px; }
.mosaic { grid-template-columns: repeat(4, 1fr); }
.mosaic .card:first-child { grid-column: span 2; grid-row: span 2; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.cards-8 { grid-template-columns: repeat(4, 1fr); }
.kitchen-grid { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--white); border-radius: 22px; overflow: hidden;
    box-shadow: var(--shadow); position: relative;
}
.card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--tone, var(--saffron));
}
.tone-chili { --tone: var(--chili); }
.tone-tangerine { --tone: var(--tangerine); }
.tone-saffron { --tone: var(--saffron); }
.tone-basil { --tone: var(--basil); }
.tone-sea { --tone: var(--sea); }
.tone-plum { --tone: var(--plum); }
.tone-berry { --tone: var(--berry); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { background: #f3e2d2; aspect-ratio: 4 / 3; overflow: hidden; }
.mosaic .card:first-child .card-media { aspect-ratio: auto; height: calc(100% - 132px); min-height: 240px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-link:hover img { transform: scale(1.05); }
.card-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--tone, #ffc20e), #fff); }
.card-body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.card-kicker { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone, var(--chili)); }
.card-body h3 { font-size: 1.28rem; }
.card-meta { color: var(--muted); font-size: 0.92rem; }
.kitchen-tile {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    min-height: 84px; padding: 16px 18px; border-radius: 20px; text-decoration: none;
    background: var(--tone); color: white; font-weight: 750; box-shadow: var(--shadow);
}
.kitchen-tile strong { font-family: var(--serif); font-size: 1.6rem; }
.wash { border-radius: 28px; padding: 22px; }
.wash.tone-chili { background: #ffe8e4; }
.wash.tone-tangerine { background: #ffeadc; }
.wash.tone-saffron { background: #fff3cc; }
.wash.tone-basil { background: #e5f7ec; }
.wash.tone-sea { background: #e4f2ff; }
.wash.tone-plum { background: #f3eaff; }
.wash.tone-berry { background: #ffe4ef; }

.page-intro { margin: 10px 0 22px; max-width: 760px; }
.page-intro h1, .static-page h1, .recipe h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-intro p, .missing-intro p { margin-top: 10px; font-size: 1.15rem; color: var(--muted); }
.empty-note { font-size: 1.1rem; }
.missing-intro { display: grid; gap: 14px; justify-items: start; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.page-link, .pager-current {
    min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px;
    background: white; color: var(--ink); font-weight: 750; border: 1px solid var(--line);
}
.pager-current { background: var(--deep); color: white; }
.pager-gap { align-self: center; color: var(--muted); }

.recipe { width: min(860px, 100%); margin: 0 auto; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 12px; }
.crumb { color: var(--sea); font-weight: 700; }
.recipe-top { display: grid; gap: 14px; margin-bottom: 18px; }
.recipe .eyebrow { color: var(--tone, var(--chili)); }
.stat-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.stat-row li { background: white; border-radius: 16px; padding: 10px 12px; min-width: 110px; box-shadow: var(--shadow); }
.stat-row span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.jump { justify-self: start; background: var(--deep); color: white; padding: 10px 14px; border-radius: 999px; font-weight: 700; }
.recipe-hero { margin: 8px 0 22px; }
.recipe-hero img { width: 100%; border-radius: 28px; max-height: 680px; object-fit: cover; }
.prose { font-size: 1.08rem; display: grid; gap: 14px; }
.prose h2 { font-size: 2rem; margin-top: 12px; }
.prose h3 { font-size: 1.4rem; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.prose a { color: #0d5c8a; font-weight: 700; }
.prose figure { margin: 0; }
.prose img { border-radius: 22px; width: 100%; }
.recipe-card {
    margin-top: 28px; background: white; border-radius: 28px; padding: 26px;
    box-shadow: var(--shadow); border-top: 8px solid var(--tone, var(--saffron));
    display: grid; gap: 12px;
}
.recipe-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.print-btn { background: var(--saffron); color: var(--ink); font-weight: 750; padding: 10px 14px; }
.ingredient-list, .equip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ingredient-list { background: #fff4d2; border-radius: 18px; padding: 14px; }
.ingredient-list li, .equip-list li { padding-left: 4px; }
.equip-list { grid-template-columns: repeat(2, 1fr); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.step-num { font-family: var(--serif); font-size: 2rem; color: var(--chili); line-height: 1; }
.notes { background: #f6f1ff; border-radius: 18px; padding: 14px; }
.nutrition { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nutrition li { background: #e8f6ee; border-radius: 14px; padding: 8px 10px; }
.nutrition span { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 700; }
.static-page { width: min(820px, 100%); margin: 0 auto; display: grid; gap: 16px; }
.contact-wrap {
    display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start;
}
.contact-intro { display: grid; gap: 12px; padding-top: 12px; }
.contact-intro h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.contact-intro p { font-size: 1.15rem; color: var(--muted); max-width: 28rem; }
.contact-card {
    background: white; border-radius: 28px; padding: 28px;
    box-shadow: var(--shadow); border-top: 8px solid var(--chili);
    display: grid; gap: 14px;
}
.contact-card h2 { font-size: 2rem; }
.contact-form { display: grid; gap: 8px; }
.contact-form label { font-weight: 700; font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
    width: 100%; border: 1px solid var(--line); background: #fff7ef;
    border-radius: 16px; padding: 12px 14px; color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus {
    outline: 3px solid rgba(255, 194, 14, 0.7); border-color: var(--saffron);
}
.contact-form button {
    justify-self: start; margin-top: 8px; border: 0; border-radius: 999px;
    background: var(--chili); color: white; font-weight: 750; padding: 12px 18px; cursor: pointer;
}
.form-error {
    background: #ffe4df; color: #8d140f; border-radius: 14px; padding: 10px 12px; font-weight: 700;
}
.g-recaptcha { margin-top: 6px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.site-footer { background: var(--deep); color: #fff6ea; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 24px; padding: 28px 0; }
.footer-brand, .footer-link { color: #fff6ea; }
.footer-link { display: block; padding: 4px 0; }
.footer-cats { columns: 2; }
.site-footer h2 { font-size: 1.3rem; margin-bottom: 8px; }
.site-footer p { color: #f0d7c4; margin-top: 8px; }
.footer-note { color: #f0d7c4; padding-bottom: 8px; }

@media (max-width: 980px) {
    .hero, .footer-grid, .contact-wrap { grid-template-columns: 1fr; }
    .hero-photo img { min-height: 280px; }
    .mosaic, .card-grid, .cards-8, .kitchen-grid { grid-template-columns: repeat(2, 1fr); }
    .mosaic .card:first-child { grid-column: span 2; grid-row: auto; }
    .mosaic .card:first-child .card-media { height: auto; aspect-ratio: 16/10; }
}
@media (max-width: 720px) {
    .main-nav { display: flex; }
    .header-bar { flex-wrap: wrap; }
    .search-form { order: 5; flex: 1 1 100%; margin: 0 0 8px; min-width: 0; }
    .search-form input { min-width: 0; width: 100%; flex: 1; }
    .card-grid, .cards-8, .kitchen-grid, .equip-list { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr; }
    .mosaic .card:first-child { grid-column: auto; }
    .hero-copy { padding: 28px 20px; }
    .hero h1 { font-size: 2.7rem; }
}
@media print {
    .site-header, .site-footer, .related-band, .jump, .print-btn, .search-form { display: none !important; }
    body { background: white; }
    .recipe-card { box-shadow: none; }
}
