:root {
    --ink: #2a140f;
    --cayenne: #d7263d;
    --ember: #ff6b2c;
    --yolk: #ffc857;
    --collard: #1b7f4e;
    --berry: #8e2f5c;
    --cocoa: #6a3b2a;
    --cream: #fff4e6;
    --paper: #fffdf9;
    --line: rgba(42, 20, 15, 0.12);
    --shadow: 0 22px 50px rgba(80, 24, 12, 0.14);
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% -10%, rgba(255, 200, 87, 0.55), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(215, 38, 61, 0.18), transparent 28%),
        linear-gradient(180deg, #fff8ef 0%, var(--cream) 40%, #fff 100%);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
p { margin: 0; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.sr-only, .honey {
    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;
    z-index: 20;
}
.skip:focus { top: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 248, 239, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.6rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}
.mark {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.55rem;
    background:
        radial-gradient(circle at 60% 30%, #1b7f4e 0 18%, transparent 19%),
        radial-gradient(circle at 50% 70%, #ffc857 0 42%, #d7263d 43%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.nav-toggle {
    margin-left: auto;
    border: 0;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font: inherit;
}
.site-nav { display: none; }
.site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff8ef;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    gap: 0.4rem;
}
.nav-link, .menu summary, .menu-link {
    text-decoration: none;
    font-weight: 650;
}
.nav-link, .menu summary {
    padding: 0.45rem 0.2rem;
    cursor: pointer;
}
.nav-link.is-active { color: var(--cayenne); }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:after { content: " ▾"; font-size: 0.75rem; }
.menu-panel {
    display: grid;
    gap: 0.35rem;
    padding: 0.4rem 0 0.6rem 0.6rem;
}
.menu-link { text-decoration: none; }
.header-search { display: none; }

.hero { padding: 2.2rem 0 1rem; }
.hero-grid { display: grid; gap: 1.5rem; }
.kicker {
    color: var(--cayenne);
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
}
.lede { font-size: 1.18rem; max-width: 40rem; margin-top: 1rem; color: #4c332b; }
.hero-actions, .chip-row, .ribbon-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-actions { margin-top: 1.4rem; }
.button, .header-search button, .search-form button, .contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    text-decoration: none;
    font-weight: 750;
    border: 2px solid var(--ink);
}
.button-solid, .header-search button, .search-form button, .contact-form button {
    background: var(--cayenne);
    color: white;
    border-color: var(--cayenne);
}
.button-ghost { background: transparent; }
.hero-stage { display: grid; gap: 0.8rem; align-items: start; }
.hero-stack { display: grid; gap: 0.7rem; }
.hero-stack .card-link { height: auto; }
.hero-stack .card-media { aspect-ratio: 5 / 4; }
.hero-stack .card-media img { object-position: center 30%; }
.hero-feature,
.hero-feature .card,
.hero-feature .card-link { height: 100%; }
.hero-feature .card-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 12rem; }
.hero-feature .card-media img { object-position: center 22%; }

.card-grid { display: grid; gap: 1rem; }
.card { min-width: 0; }
.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background: var(--paper);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transform: translateY(0);
    transition: transform 0.2s ease;
}
.card-link:hover { transform: translateY(-4px) rotate(-0.3deg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f3d7b5; }
.card-media.is-empty {
    background:
        repeating-linear-gradient(45deg, #ffd7a8, #ffd7a8 12px, #fff1dc 12px, #fff1dc 24px);
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip, .pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}
.chip { position: absolute; left: 0.7rem; bottom: 0.7rem; background: white; }
.tone-cayenne { background: #ffe1e4; color: #9d1830; }
.tone-ember { background: #ffe4d4; color: #b8430d; }
.tone-yolk { background: #fff1c9; color: #8a5a00; }
.tone-collard { background: #ddf5e8; color: #0f6840; }
.tone-berry { background: #f8dceb; color: #7a234d; }
.tone-cocoa { background: #f3e2d8; color: #6a3b2a; }
.pill { padding: 0.55rem 0.9rem; }
.card-body { display: grid; gap: 0.45rem; padding: 0.95rem 1rem 1.1rem; }
.card-title { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.03em; }
.card-meta { display: flex; gap: 0.8rem; color: #6d584e; font-size: 0.92rem; font-weight: 650; }

.ribbon { padding: 0.4rem 0 1.2rem; }
.band { padding: 1.2rem 0 2rem; }
.band-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}
.band-head p { color: #5c463d; margin-top: 0.4rem; max-width: 36rem; }
.text-link { font-weight: 750; color: var(--cayenne); }
.chip-row { margin: 0.5rem auto 0; }

.page-hero { padding: 2.4rem 0 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; color: #6d584e; margin-bottom: 0.8rem; font-size: 0.95rem; }
.crumb { color: var(--cayenne); font-weight: 700; }
.stat-row { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.stat-row li {
    background: white;
    border-radius: 1rem;
    padding: 0.7rem 0.9rem;
    min-width: 6.2rem;
    box-shadow: var(--shadow);
}
.stat-row span { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7a6258; }
.recipe-photo { margin: 1.2rem 0 0; border-radius: 1.8rem; overflow: hidden; box-shadow: var(--shadow); }
.recipe-photo img { width: 100%; max-height: 640px; object-fit: cover; }
.recipe-layout { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.prose > * + * { margin-top: 0.9rem; }
.prose a { color: var(--cayenne); font-weight: 700; }
.prose img { border-radius: 1.2rem; margin: 0.6rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.board-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.board-card > * + * { margin-top: 0.8rem; }
.board-card h2 { font-size: 2rem; }
.ingredient-list, .steps, .nutrition ul { list-style: none; padding: 0; margin: 0; }
.ingredient-row { border-bottom: 1px dashed var(--line); }
.ingredient-row label { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0; cursor: pointer; }
.ingredient-row span { flex: 1; }
.ingredient-row.is-checked span { text-decoration: line-through; color: #8a756b; }
.steps { display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; }
.step-no {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cayenne);
    color: white;
    font-weight: 750;
}
.equipment { color: #5c463d; }
.nutrition ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.nutrition li { background: var(--cream); border-radius: 0.9rem; padding: 0.7rem; }
.nutrition span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.2rem; }
.pager-link { font-weight: 750; color: var(--cayenne); }
.search-form, .contact-form { display: grid; gap: 0.8rem; margin-top: 1rem; }
.search-form { grid-template-columns: 1fr auto; }
input, textarea {
    width: 100%;
    border: 2px solid rgba(42, 20, 15, 0.16);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font: inherit;
    background: white;
}
.ingredient-row input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    padding: 0;
    flex: none;
    accent-color: var(--cayenne);
}
.contact-form label { display: grid; gap: 0.35rem; font-weight: 700; }
.contact-form label span { font-weight: 500; color: #6d584e; }
.notice { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 1rem; background: #ddf5e8; }
.notice-warn { background: #ffe1e4; }
.empty { padding: 1rem 0; }

.site-footer { margin-top: 2rem; background: #24130f; color: #fff4e6; padding: 2.4rem 0 1.2rem; }
.footer-grid { display: grid; gap: 1.4rem; }
.footer-grid h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.footer-grid a { display: block; color: #fff4e6; text-decoration: none; margin: 0.25rem 0; }
.brand-footer { margin-bottom: 0.6rem; }
.footer-base { margin-top: 1.4rem; color: #e7cbbd; font-size: 0.92rem; }

@media (min-width: 860px) {
    .nav-toggle { display: none; }
    .site-nav {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        margin-left: auto;
    }
    .menu-panel {
        position: absolute;
        top: calc(100% + 0.4rem);
        left: 0;
        min-width: 220px;
        padding: 0.8rem;
        background: white;
        border-radius: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }
    .menu[open] .menu-panel, .menu:hover .menu-panel, .menu:focus-within .menu-panel { display: grid; }
    .header-search { display: flex; gap: 0.35rem; }
    .header-search input { width: 10rem; border-radius: 999px; padding: 0.55rem 0.8rem; }
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
    .hero-stage { grid-template-columns: 1fr 0.92fr; align-items: stretch; }
    .card-grid { grid-template-columns: repeat(4, 1fr); }
    .recipe-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
    .recipe-board { display: grid; gap: 1rem; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (max-width: 859px) {
    h1 { font-size: 3.1rem; }
    .header-search { display: none; }
}
