:root {
    --ink: #241018;
    --berry: #e23b6e;
    --coral: #ff6b3d;
    --lemon: #ffc43d;
    --leaf: #1fa97a;
    --grape: #6d4aff;
    --sky: #2f7dff;
    --cream: #fff4e8;
    --paper: #fffdf9;
    --muted: #6d5360;
    --line: #241018;
    --shadow: 6px 6px 0 var(--ink);
    --header: 78px;
    --font: "Figtree", "Avenir Next", sans-serif;
    --display: "Bricolage Grotesque", "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.6;
    background:
        radial-gradient(circle at 8% 12%, rgba(226, 59, 110, 0.16), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(255, 196, 61, 0.28), transparent 24%),
        radial-gradient(circle at 80% 40%, rgba(47, 125, 255, 0.1), transparent 22%),
        radial-gradient(circle at 12% 70%, rgba(31, 169, 122, 0.12), transparent 26%),
        var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 5vw, 5.2rem); margin: 0 0 0.4em; overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
h3 { font-size: 1.25rem; margin: 0; }
p { margin: 0 0 0.8em; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.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: 12px;
    top: -40px;
    background: var(--ink);
    color: white;
    padding: 8px 12px;
    z-index: 20;
}
.skip:focus { top: 8px; }

.rainbow {
    height: 8px;
    background: linear-gradient(90deg, var(--berry), var(--coral), var(--lemon), var(--leaf), var(--sky), var(--grape));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 244, 232, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--ink);
}
.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto;
}
.mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--lemon);
    border: 3px solid var(--ink);
    box-shadow: 3px 3px 0 var(--berry);
    font-family: var(--display);
    font-weight: 700;
}
.word { display: flex; font-family: var(--display); font-size: 1.7rem; font-weight: 700; }
.word span:nth-child(1) { color: var(--berry); }
.word span:nth-child(2) { color: var(--coral); }
.word span:nth-child(3) { color: var(--leaf); }
.word span:nth-child(4) { color: var(--grape); }
.word span:nth-child(5) { color: var(--sky); }
.site-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav-link, .site-nav a {
    text-decoration: none;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}
.nav-link.is-active, .site-nav a.is-active { background: var(--ink); color: white; }
.nav-toggle, .header-search button, .button {
    border: 3px solid var(--ink);
    background: var(--lemon);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--ink);
}
.nav-toggle { display: none; }
.header-search { display: flex; gap: 8px; }
.header-search input, .search-bar input, .contact-form input, .contact-form textarea {
    border: 3px solid var(--ink);
    border-radius: 14px;
    padding: 10px 12px;
    font: inherit;
    background: white;
    color: var(--ink);
}
.header-search input { width: 170px; }

.hero { padding: 28px 0 0; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: center;
}
.hero-grid > *, .recipe-layout > *, .header-bar { min-width: 0; }
.eyebrow, .kicker {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--berry);
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}
.hero h1 em { font-style: italic; color: var(--berry); }
.lede { font-size: 1.2rem; max-width: 42rem; }
.search-bar { display: flex; gap: 10px; margin: 18px 0; max-width: 560px; }
.search-bar input { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .pager-link, .footer-link, .page-link {
    text-decoration: none;
}
.chip {
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 4px 12px;
    background: white;
    font-weight: 700;
}
.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.stage-card {
    display: block;
    min-width: 0;
    background: white;
    border: 3px solid var(--ink);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow);
}
.stage-card img, .stage-card .img-fallback { height: 190px; width: 100%; object-fit: cover; }
.stage-card span:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
    padding: 10px 12px 14px;
    font-weight: 700;
}
.stage-1 { rotate: -3deg; }
.stage-2 { rotate: 3deg; margin-top: 28px; }
.stage-3 { display: none; }
.stage-stat {
    grid-column: 1 / -1;
    justify-self: end;
    margin: 0;
    background: var(--ink);
    color: white;
    border-radius: 16px;
    padding: 10px 14px;
}
.stage-stat strong { display: block; font-family: var(--display); font-size: 1.6rem; }
.marquee { overflow: hidden; border-block: 3px solid var(--ink); background: var(--ink); color: white; margin-top: 18px; }
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 10px 0; animation: drift 36s linear infinite; }
.marquee-track span { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.marquee-track span::before { content: "✦ "; color: var(--lemon); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.band { padding: 42px 0; }
.band-tight { padding-top: 28px; }
.band-stamps { background: rgba(255, 255, 255, 0.45); }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.section-head a { font-weight: 700; }
.section-head p { margin: 0; color: var(--muted); }
.card-grid, .cat-grid { display: grid; gap: 16px; }
.card-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid { grid-template-columns: repeat(4, 1fr); }
.card, .cat-link {
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card-media { display: block; background: var(--lemon); }
.card-media img, .img-fallback { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 12px 14px 16px; }
.card-body h3 { margin: 6px 0; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--muted); font-size: 0.95rem; }
.meta { color: var(--muted); font-size: 0.88rem; }
.cat-link {
    min-height: 110px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    font-weight: 700;
}
.cat-link strong { font-family: var(--display); font-size: 1.8rem; }
.tone-berry { box-shadow: 6px 6px 0 var(--berry); }
.tone-citrus { box-shadow: 6px 6px 0 var(--coral); }
.tone-leaf { box-shadow: 6px 6px 0 var(--leaf); }
.tone-grape { box-shadow: 6px 6px 0 var(--grape); }
.tone-sky { box-shadow: 6px 6px 0 var(--sky); }
.tone-coral { box-shadow: 6px 6px 0 var(--lemon); }
.tone-berry .kicker, .recipe-hero.tone-berry .eyebrow { background: var(--berry); }
.tone-citrus .kicker, .recipe-hero.tone-citrus .eyebrow { background: var(--coral); }
.tone-leaf .kicker, .recipe-hero.tone-leaf .eyebrow { background: var(--leaf); }
.tone-grape .kicker, .recipe-hero.tone-grape .eyebrow { background: var(--grape); }
.tone-sky .kicker, .recipe-hero.tone-sky .eyebrow { background: var(--sky); }
.tone-coral .kicker, .recipe-hero.tone-coral .eyebrow { background: #d88900; }

.img-fallback {
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 3rem;
    background: linear-gradient(145deg, var(--lemon), var(--coral));
    color: var(--ink);
}
.img-fallback-lg { min-height: 280px; font-size: 5rem; }

.recipe-hero { padding: 28px 0 10px; }
.recipe-hero-grid, .recipe-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 28px; align-items: start; }
.recipe-layout-solo { grid-template-columns: 1fr; }
.recipe-photo img, .recipe-photo .img-fallback { border: 3px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); width: 100%; max-height: 520px; object-fit: cover; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0; list-style: none; }
.stat-row li { background: white; border: 3px solid var(--ink); border-radius: 16px; padding: 8px 12px; min-width: 96px; }
.stat-row span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.ticket {
    position: sticky;
    top: calc(var(--header) + 16px);
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--berry);
    padding: 0 18px 18px;
}
.ticket::before {
    content: "";
    display: block;
    height: 16px;
    margin: 0 -18px 14px;
    border-radius: 18px 18px 0 0;
    background: repeating-linear-gradient(90deg, var(--lemon) 0 14px, transparent 14px 22px);
    border-bottom: 3px solid var(--ink);
}
.ticket h2 { margin: 8px 0 10px; }
.ticket h3 { margin: 12px 0 6px; font-size: 1rem; }
.ingredients, .steps { margin: 0 0 12px; padding: 0; }
.ingredients { list-style: none; }
.ingredients li { padding: 7px 0 7px 26px; border-bottom: 1px dashed #e4cfc0; position: relative; }
.ingredients li::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 4px; position: absolute; left: 0; top: 12px; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; margin: 0 0 12px; padding-left: 46px; position: relative; }
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lemon);
    border: 2px solid var(--ink);
    font-weight: 700;
}
.story-photo { margin: 16px 0; }
.story-photo img { border-radius: 18px; border: 3px solid var(--ink); }
.nutrition { background: #fff6c8; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; }
.link-row a { text-decoration: none; background: white; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.prose a { font-weight: 700; }
.narrow { max-width: 760px; }
.pager { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.pager-link, .button { text-decoration: none; display: inline-block; }
.contact-form { display: grid; gap: 8px; }
.notice { background: #e7fff4; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; }
.notice-warn { background: #ffe4ea; }

.site-footer { background: var(--ink); color: white; margin-top: 20px; padding: 36px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.site-footer a { display: block; color: white; text-decoration: none; margin: 6px 0; }
.site-footer h2 { font-size: 1rem; margin-bottom: 8px; }
.brand-footer .word span { color: white; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 18px; padding-top: 12px; color: #f3d7e2; }

@media (max-width: 980px) {
    .hero-grid, .recipe-hero-grid, .recipe-layout, .footer-grid, .card-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
    .hero-stage { min-height: 0; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 3px solid var(--ink);
        padding: 12px 16px 16px;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-nav.is-open { display: flex; }
    .header-search { display: none; }
    .ticket { position: static; }
}
@media (max-width: 680px) {
    h1 { font-size: 2.15rem; }
    .lede { font-size: 1.05rem; }
    .marquee { display: none; }
    .card-grid, .cat-grid, .hero-grid, .recipe-hero-grid, .recipe-layout, .footer-grid, .hero-stage { grid-template-columns: 1fr; }
    .stage-2, .stage-3 { display: none; }
    .stage-1 { rotate: 0deg; }
    .stage-card img, .stage-card .img-fallback { height: 220px; }
    .search-bar { flex-direction: column; }
    .section-head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}
