@font-face {
    font-family: "Fraunces Local";
    src: url("../fonts/fraunces-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fraunces Local";
    src: url("../fonts/fraunces-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Outfit Local";
    src: url("../fonts/outfit-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Outfit Local";
    src: url("../fonts/outfit-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #241433;
    --paper: #fff6ee;
    --white: #fffaf6;
    --hot: #ff4d6d;
    --mango: #ffb703;
    --lime: #7bd389;
    --teal: #14a3a3;
    --violet: #6c4dff;
    --sky: #3d8bfd;
    --plum: #3a2158;
    --line: rgba(36, 20, 51, 0.12);
    --shadow: 0 18px 40px rgba(36, 20, 51, 0.12);
    --serif: "Fraunces Local", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Outfit Local", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 6% 8%, rgba(255, 183, 3, 0.45), transparent 18%),
        radial-gradient(circle at 96% 0%, rgba(255, 77, 109, 0.35), transparent 16%),
        radial-gradient(circle at 100% 78%, rgba(20, 163, 163, 0.28), transparent 18%),
        var(--paper);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); margin: 0.15em 0 0.25em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
a { color: inherit; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--mango);
    color: var(--ink);
    padding: 0.5rem 0.8rem;
    z-index: 20;
}
.skip:focus { top: 0.5rem; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }

.rainbow { height: 8px; background: linear-gradient(90deg, var(--hot), var(--mango), var(--lime), var(--teal), var(--sky), var(--violet)); }
.mast {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--ink);
    color: var(--white);
}
.mast-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 78px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: conic-gradient(from 20deg, var(--hot), var(--mango), var(--lime), var(--teal), var(--violet), var(--hot));
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 700;
}
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words em { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--mango); }
.brand-words strong { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav-link, .menu summary {
    color: var(--white);
    text-decoration: none;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
}
.nav-link.is-active, .menu summary:hover, .nav-link:hover { background: rgba(255, 255, 255, 0.12); }
.menu { position: relative; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 220px;
    padding: 0.6rem;
    background: var(--white);
    color: var(--ink);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 5;
}
.menu[open] .menu-panel, .menu:focus-within .menu-panel { display: grid; }
.menu-link {
    text-decoration: none;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
}
.menu-link:hover { background: #ffe8c2; }
.nav-toggle {
    display: none;
    margin-left: auto;
    background: var(--mango);
    color: var(--ink);
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
}
.mast-search { display: flex; gap: 0.35rem; }
.mast-search input, .search-form input {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: var(--white);
    color: var(--ink);
    width: 160px;
}
.mast-search button, .search-form button, .btn {
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.mast-search button, .search-form button, .btn-hot { background: var(--hot); color: white; }
.btn-ink { background: var(--ink); color: var(--white); }
.hero-actions, .band-head { display: flex; gap: 0.7rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero { padding: 2.4rem 0 1rem; }
.hero-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.eyebrow {
    display: inline-block;
    margin: 0;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--teal);
    color: white;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.hero h1 span {
    display: inline-block;
    background: var(--mango);
    padding: 0 0.18em 0.05em;
    border-radius: 0.2em;
}
.lede { font-size: 1.15rem; max-width: 42rem; }
.hero-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
    border: 6px solid var(--hot);
}
.hero-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-caption { display: block; padding: 1rem 1.1rem 1.2rem; }
.hero-caption small { display: block; color: var(--hot); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.swatch-band, .band { padding: 1.2rem 0 2rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; margin-top: 1rem; }
.swatch {
    min-height: 120px;
    border-radius: 22px;
    padding: 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--serif);
    font-size: 1.35rem;
    box-shadow: var(--shadow);
}
.swatch small { font-family: var(--sans); font-size: 0.85rem; font-weight: 700; }
.swatch-0 { background: var(--hot); color: white; }
.swatch-1 { background: var(--mango); color: var(--ink); }
.swatch-2 { background: var(--teal); color: white; }
.swatch-3 { background: var(--violet); color: white; }
.swatch-4 { background: var(--lime); color: var(--ink); }
.swatch-5 { background: var(--sky); color: white; }
.swatch:hover { transform: translateY(-3px); }
.promise { background: var(--plum); color: white; }
.promise-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 700; }
.promise-row p { margin: 0; }
.band-alt { background: rgba(255, 255, 255, 0.45); }
.text-link { font-weight: 700; color: var(--violet); }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.tile {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 8px solid var(--hot);
}
.tone-1 { border-top-color: var(--mango); }
.tone-2 { border-top-color: var(--teal); }
.tone-3 { border-top-color: var(--violet); }
.tone-4 { border-top-color: var(--lime); }
.tone-5 { border-top-color: var(--sky); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.tile-media { position: relative; display: block; background: #ffe8c2; }
.tile-media img, .tile-fallback { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.tile-fallback { display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; }
.stamp {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
}
.tile-body { padding: 0.9rem 0.95rem 1.1rem; display: grid; gap: 0.35rem; }
.tile-title { font-family: var(--serif); font-size: 1.25rem; }
.tile-meta { color: #6d587c; font-weight: 700; font-size: 0.9rem; }
.tile:hover { transform: translateY(-4px); }
.page-hero { padding: 2.2rem 0 0.4rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem auto; }
.chip {
    text-decoration: none;
    background: white;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}
.pager { display: flex; gap: 0.8rem; align-items: center; justify-content: center; margin: 1.5rem 0; }
.pager-link {
    text-decoration: none;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; color: #6d587c; font-size: 0.92rem; }
.crumb { color: var(--violet); font-weight: 700; }
.recipe-hero { padding: 1.6rem 0 0.4rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 1rem 0; list-style: none; }
.stat-row li {
    background: white;
    border-radius: 16px;
    padding: 0.55rem 0.8rem;
    min-width: 90px;
    box-shadow: var(--shadow);
}
.stat-row li:nth-child(1) { background: #ffe08a; }
.stat-row li:nth-child(2) { background: #ffd0da; }
.stat-row li:nth-child(3) { background: #c8f6f1; }
.stat-row li:nth-child(4) { background: #ddd6ff; }
.stat-row span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.jump {
    display: inline-flex;
    margin-top: 0.4rem;
    background: var(--teal);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
}
.recipe-photo { margin: 1rem 0 0; border-radius: 28px; overflow: hidden; border: 8px solid var(--mango); background: white; }
.recipe-photo img { width: 100%; max-height: 640px; object-fit: cover; }
.recipe-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; align-items: start; margin: 1.4rem auto 2rem; }
.recipe-story, .board {
    background: white;
    border-radius: 24px;
    padding: 1.2rem 1.2rem 1.4rem;
    box-shadow: var(--shadow);
}
.recipe-board { display: grid; gap: 1rem; }
.board h2 { margin-bottom: 0.7rem; }
.ingredient-list, .steps { margin: 0; padding: 0; list-style: none; }
.ingredient-row { border-bottom: 1px dashed var(--line); }
.ingredient-row label { display: flex; gap: 0.6rem; padding: 0.55rem 0; cursor: pointer; }
.ingredient-row.is-checked span { text-decoration: line-through; opacity: 0.55; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; margin: 0 0 1rem; }
.step-no {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--hot);
    color: white;
    font-weight: 700;
}
.steps li:nth-child(3n) .step-no { background: var(--teal); }
.steps li:nth-child(3n+2) .step-no { background: var(--violet); }
.nutrition ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.nutrition li { background: #fff1d0; border-radius: 12px; padding: 0.55rem 0.7rem; display: flex; justify-content: space-between; gap: 0.5rem; }
.fine, .equipment { color: #6d587c; }
.prose img { border-radius: 18px; margin: 1rem 0; }
.prose a { color: var(--violet); font-weight: 700; }
.prose h2, .prose h3 { margin-top: 1.3rem; }
.empty { padding: 1rem; background: white; border-radius: 16px; }
.contact-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
    background: white;
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    border-top: 8px solid var(--hot);
}
.contact-form label { display: grid; gap: 0.35rem; font-weight: 700; }
.contact-form label span { font-weight: 500; color: #6d587c; }
.contact-form input, .contact-form textarea {
    border: 2px solid #f3d7c4;
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    background: #fffaf6;
    color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 3px solid rgba(255, 183, 3, 0.55);
    border-color: var(--mango);
}
.contact-form button {
    justify-self: start;
    background: var(--hot);
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
}
.honey { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { background: #c8f6f1; border-radius: 16px; padding: 0.85rem 1rem; font-weight: 700; }
.notice-warn { background: #ffe08a; }
.g-recaptcha { min-height: 78px; }
.search-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.search-form input { width: min(420px, 100%); }
.site-footer { background: var(--ink); color: #f6efe8; margin-top: 1rem; padding: 2rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-grid h2 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.footer-link { display: block; color: var(--mango); text-decoration: none; margin: 0.25rem 0; font-weight: 700; }
.brand-footer { margin-bottom: 0.6rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 1.2rem; padding-top: 0.8rem; color: #d9cfe3; }

@media (max-width: 980px) {
    .hero-layout, .recipe-layout, .footer-grid, .swatch-grid, .tile-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: inline-flex; }
    .mast { position: sticky; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--plum);
        padding: 0.8rem 1rem 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav.is-open { display: flex; }
    .menu-panel { position: static; box-shadow: none; background: transparent; color: white; }
    .menu-link { color: white; }
    .mast-bar { flex-wrap: wrap; }
    .mast-search { display: flex; width: 100%; order: 5; padding: 0 0 0.8rem; }
    .mast-search input { flex: 1; width: auto; }
    .hero-card { transform: none; }
}
@media (max-width: 680px) {
    .hero-layout, .recipe-layout, .footer-grid, .swatch-grid, .tile-grid, .nutrition ul, .promise-row { grid-template-columns: 1fr; display: grid; }
    .promise-row { display: grid; }
    h1 { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; transition: none !important; }
    .hero-card, .tile:hover, .swatch:hover { transform: none; }
}
