/* Yummy's Sandwich Bar — one-page site. Mobile first; brand taken from the 2026 print menu. */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Pacifico"; font-weight: 400; font-display: swap; src: url("/fonts/pacifico-400.woff2") format("woff2"); }
@font-face { font-family: "Caveat Brush"; font-weight: 400; font-display: swap; src: url("/fonts/caveat-brush-400.woff2") format("woff2"); }

:root {
    --forest: #173f2e;
    --forest-deep: #0f2c20;
    --lime: #b9d23f;
    --lime-soft: #dfeaa8;
    --tomato: #e3603e;
    --tomato-ink: #b8401f; /* tomato dark enough for text on light backgrounds */
    --paper: #f9f7f0;
    --wash: #eef3e1;
    --ink: #1d2b24;
    --muted: #55655c;
    --line: #cfd8c4;

    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-logo: "Pacifico", "Brush Script MT", cursive;
    --font-hand: "Caveat Brush", "Comic Sans MS", cursive;

    --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
    --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    --step-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
    --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.9rem);
    --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.6rem);

    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 4rem;
    --chips-h: 3.8rem; /* sticky menu category bar under the header */
    --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; }

:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--lime); color: var(--forest-deep); padding: 0.75rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }

.wordmark { font-family: var(--font-logo); font-weight: 400; line-height: 1; text-decoration: none; }
.hand { font-family: var(--font-hand); }

/* ---------- Buttons ---------- */

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 48px; padding: 0.7rem 1.3rem;
    border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: var(--step-0); line-height: 1.2; text-decoration: none; text-align: center;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.button--lime { background: var(--lime); color: var(--forest-deep); }
.button--lime:hover { background: #cfe25f; }
.button--ghost { border-color: rgb(255 255 255 / 0.6); color: #fff; }
.button--ghost:hover { border-color: var(--lime); color: var(--lime); }
.button--outline { border-color: var(--forest); color: var(--forest); }
.button--outline:hover { background: var(--forest); color: #fff; }
.button--forest { background: var(--forest); color: #fff; }
.button--forest:hover { background: var(--forest-deep); }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--forest-deep); color: #fff;
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}
.site-header__inner {
    display: flex; align-items: center; gap: 0.75rem;
    min-height: var(--header-h);
    max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter);
}
.site-header .wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.65rem; color: #fff; margin-right: auto; }

.site-nav__toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 44px; padding: 0.4rem 0.8rem;
    background: none; color: #fff; border: 1.5px solid rgb(255 255 255 / 0.4); border-radius: 999px;
    font-weight: 500; cursor: pointer;
}
.site-nav__bars, .site-nav__bars::before, .site-nav__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.site-nav__bars::before, .site-nav__bars::after { content: ""; position: absolute; left: 0; }
.site-nav__bars::before { top: -6px; }
.site-nav__bars::after { top: 6px; }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
    display: block; padding: 0.75rem 1rem; text-decoration: none; font-weight: 500; border-radius: 8px;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="true"] { color: var(--lime); }

/* Without JS the links simply wrap under the logo; with JS they collapse behind the toggle. */
.js .site-nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--forest-deep); padding: 0.5rem var(--gutter) 1rem;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    display: none;
}
.js .site-nav__list.is-open { display: block; }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav__list { display: flex; flex-wrap: wrap; }

.site-header__call { min-height: 44px; padding: 0.45rem 0.9rem; font-size: var(--step--1); }
.site-header__call-number { display: none; }

@media (min-width: 900px) {
    .site-nav__toggle { display: none !important; }
    .js .site-nav__list, .site-nav__list {
        position: static; display: flex; gap: 0.25rem; padding: 0; background: none; border: 0;
    }
    .site-nav__list a { padding: 0.5rem 0.75rem; }
    .site-header .wordmark { margin-right: 1rem; }
    .site-nav { margin-right: auto; }
    .site-header__call-label { display: none; }
    .site-header__call-number { display: inline; }
}

/* ---------- Bands ---------- */

.band { padding-block: clamp(3rem, 8vw, 5.5rem); }
.band--paper { background: var(--paper); }
.band--wash { background: var(--wash); }
.band--forest { background: var(--forest); color: #fff; }
.band--forest a { color: var(--lime); }

/* The wavy top edge from the print menu's dark panels. */
.band--wave { position: relative; margin-top: 2.5rem; }
.band--wave::before {
    content: ""; position: absolute; left: 0; right: 0; top: -2.4rem; height: 2.5rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cpath fill='%23173f2e' d='M0 40C220 12 430 2 700 16s520 26 900-12v36z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

.section-title { font-size: var(--step-3); font-weight: 600; color: var(--forest); max-width: 22ch; }
.band--forest .section-title { color: #fff; }
.lead { font-size: var(--step-1); }

/* ---------- Hero ---------- */

/* A full-width photo, darkened so the headline and badges read clearly on top of it. */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--forest-deep); }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 50% 40%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgb(10 30 22 / 0.92) 0%, rgb(10 30 22 / 0.78) 45%, rgb(10 30 22 / 0.45) 100%),
        linear-gradient(0deg, rgb(10 30 22 / 0.55), transparent 40%);
}
.hero__inner { display: grid; gap: 2rem; padding-block: 2.25rem 2.5rem; }
.hero__text { max-width: 40rem; }
.hero__logo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; margin: 0 0 0.9rem; }
.hero__logo .wordmark { font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.3rem); line-height: 1.35; padding-bottom: 0.1em; color: var(--lime); text-shadow: 0 2px 12px rgb(0 0 0 / 0.35); }
.hero__logo-tag { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); }
.hero__proof {
    display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin: 0 0 0.9rem;
    font-size: var(--step--1); font-weight: 500; color: rgb(255 255 255 / 0.88);
}
.hero__proof > span + span::before { content: "·"; margin-right: 0.9rem; color: var(--lime); }
.hero__stars { color: #f5c542; }
.hero__title {
    margin: 0 0 0.9rem; max-width: 18ch;
    font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em;
    text-wrap: balance;
}
.hero__sub { margin: 0 0 1.5rem; max-width: 46ch; font-size: var(--step-1); color: rgb(255 255 255 / 0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-badge {
    display: grid; justify-items: center; align-content: center; gap: 0.1rem;
    width: 7.4rem; min-height: 6.4rem; padding: 0.6rem 0.5rem; text-align: center;
    background: #fff; color: var(--ink); border-radius: 12px; text-decoration: none;
    box-shadow: 0 12px 30px -14px rgb(0 0 0 / 0.6);
    transition: transform 0.15s;
}
a.hero-badge:hover { transform: translateY(-3px); }
.hero-badge--fsa { width: 9.6rem; padding: 0.55rem; }
.hero-badge--fsa img { width: 100%; height: auto; }
.hero-badge__score { font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--forest); }
.hero-badge__stars { color: #e8a317; font-size: 0.8rem; letter-spacing: 0.06em; }
.hero-badge__source { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; }
.hero-badge__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--src, var(--lime)); }
.hero-badge__count { font-size: 0.72rem; color: var(--muted); }
.hero-badge--award { width: 9rem; }
.award-laurel { width: 1.9rem; height: 1.9rem; color: #c99a2e; }
.award-title { font-size: 0.8rem; font-weight: 700; line-height: 1.2; color: var(--forest); }
.award-detail { font-size: 0.72rem; color: var(--muted); line-height: 1.2; }

/* Phones: the badges right below say the same as the proof line, and sit in a tidy two-column grid. */
@media (max-width: 599px) {
    .hero__proof { display: none; }
    .hero__badges { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-badge, .hero-badge--fsa, .hero-badge--award { width: auto; height: 100%; }
    .hero__actions .button { flex: 1 1 100%; }
}
@media (min-width: 900px) {
    .hero__inner { min-height: min(78vh, 46rem); align-content: center; padding-block: 3.5rem; gap: 2.5rem; }
}
/* Wide screens: badges sit beside the headline (2 × 2) so they're on the first screen. */
@media (min-width: 1000px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
    .hero__badges { display: grid; grid-template-columns: repeat(2, auto); justify-content: end; align-content: end; }
    .hero-badge, .hero-badge--fsa, .hero-badge--award { width: 9.6rem; min-height: 7rem; height: 100%; }
    .hero__title { font-size: clamp(2.6rem, 1.2rem + 3.2vw, 4.2rem); }
}
@media (prefers-reduced-motion: reduce) { .hero-badge { transition: none; } a.hero-badge:hover { transform: none; } }

.status {
    display: inline-flex; align-items: center; gap: 0.55rem;
    margin-bottom: 1rem; padding: 0.35rem 0.9rem;
    border-radius: 999px; background: rgb(255 255 255 / 0.12); font-size: var(--step--1); font-weight: 500;
    backdrop-filter: blur(4px);
}
.status__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--tomato); flex: none; }
.status--open .status__dot { background: var(--lime); box-shadow: 0 0 0 4px rgb(185 210 63 / 0.25); }

/* Numbers strip right under the photo. */
.proof-strip { background: var(--lime); color: var(--forest-deep); }
.proof-strip__list {
    list-style: none; margin: 0 auto; padding-block: 1rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.75rem 1rem; text-align: center;
}
.proof-strip strong { display: block; font-size: var(--step-2); font-weight: 700; line-height: 1.1; }
.proof-strip span { font-size: var(--step--1); font-weight: 500; }

/* ---------- About ---------- */

.about { display: grid; gap: 2rem; }
.about__text p { max-width: 62ch; }
.about__side { align-self: start; display: grid; gap: 1.75rem; }
.about__photo { position: relative; margin: 0; max-width: 420px; }
.about__photo img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
    border-radius: var(--radius); border: 6px solid #fff;
    transform: rotate(1.2deg); box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.45);
}
.about__photo figcaption {
    position: absolute; left: 0.75rem; bottom: -0.9rem;
    background: var(--tomato-ink); color: #fff; font-size: 1.3rem; line-height: 1;
    padding: 0.45rem 0.9rem 0.55rem; border-radius: 999px; transform: rotate(-3deg);
}
.about__delivery {
    padding: 1.5rem; border-radius: var(--radius);
    background: var(--forest); color: #fff;
}
.about__delivery h3 { font-size: var(--step-1); color: var(--lime); }
.delivery-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.delivery-chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem;
    background: #fff; color: var(--forest-deep); border-radius: 8px; font-weight: 600; text-decoration: none;
}
a.delivery-chip:hover { background: var(--lime); }

@media (min-width: 900px) {
    .about { grid-template-columns: 1.6fr 1fr; gap: 4rem; }
}

/* ---------- Menu ---------- */

.menu-head { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.menu-head__intro { color: var(--muted); max-width: 60ch; margin: 0; }

.veg-toggle {
    display: inline-flex; align-items: center; gap: 0.75rem; justify-self: start;
    min-height: 44px; cursor: pointer; font-weight: 600; color: var(--forest);
}
.veg-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.veg-toggle__track {
    width: 3rem; height: 1.7rem; border-radius: 999px; background: var(--line); position: relative; flex: none;
    transition: background-color 0.2s;
}
.veg-toggle__track::after {
    content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.3rem; height: 1.3rem;
    border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25); transition: transform 0.2s;
}
.veg-toggle input:checked + .veg-toggle__track { background: var(--forest); }
.veg-toggle input:checked + .veg-toggle__track::after { transform: translateX(1.3rem); }
.veg-toggle input:focus-visible + .veg-toggle__track { outline: 3px solid var(--tomato); outline-offset: 3px; }

.menu-chips {
    position: sticky; top: var(--header-h); z-index: 10;
    display: flex; align-items: center; height: var(--chips-h);
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter);
    background: var(--wash);
    border-bottom: 1px solid var(--line);
}
.menu-chips ul {
    list-style: none; margin: 0; padding: 0; width: 100%;
    display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.menu-chips ul::-webkit-scrollbar { display: none; }
.menu-chips a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0.35rem 0.9rem;
    border-radius: 999px; background: #fff; border: 1px solid var(--line);
    font-size: var(--step--1); font-weight: 500; text-decoration: none; white-space: nowrap; scroll-snap-align: start;
}
.menu-chips a:hover, .menu-chips a[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

.menu-grid { margin-top: 1.5rem; }

.menu-cat {
    background: #fff; border-radius: var(--radius);
    margin-bottom: 1rem; padding: 0 1.1rem;
    border: 1px solid var(--line);
    break-inside: avoid;
    /* html's scroll-padding-top already clears the header; this adds the sticky category bar. */
    scroll-margin-top: calc(var(--chips-h) + 0.75rem);
}
.menu-cat > summary {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem;
    padding-right: 1.5rem; position: relative; /* room for the chevron on narrow phones */
    min-height: 3.5rem; padding-block: 0.6rem;
    cursor: pointer; list-style: none;
}
.menu-cat > summary::-webkit-details-marker { display: none; }
.menu-cat > summary::after {
    content: ""; position: absolute; right: 0.3rem; top: 50%; margin-top: -0.4rem; width: 0.6rem; height: 0.6rem;
    border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest);
    transform: rotate(45deg) translateY(-3px); transition: transform 0.2s;
}
.menu-cat[open] > summary::after { transform: rotate(-135deg) translate(-2px, 0); }
.menu-cat__title { margin: 0; min-width: 0; font-size: var(--step-2); font-weight: 600; color: var(--forest); }
.menu-cat__count {
    font-size: 0.8rem; font-weight: 600; color: var(--muted);
    background: var(--wash); border-radius: 999px; padding: 0.1rem 0.55rem;
}
.menu-cat__veg {
    font-size: 0.75rem; font-weight: 600; color: var(--forest-deep);
    background: var(--lime-soft); border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap;
}
.menu-cat__note { color: var(--tomato-ink); font-size: 1.35rem; line-height: 1.2; margin: 0 0 0.5rem; }
.menu-cat__empty { color: var(--muted); font-style: italic; }

.menu-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.menu-item { padding-block: 0.65rem; border-top: 1px solid #edf0e7; }
.menu-item:first-child { border-top: 0; }
.menu-item__name { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.menu-item__desc { margin: 0.15rem 0 0; font-size: var(--step--1); color: var(--muted); max-width: 52ch; }

.badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem; margin-left: 0.25rem;
    border-radius: 999px; font-size: 0.68rem; font-weight: 700; line-height: 1; vertical-align: 0.15em;
}
.badge--veg { background: var(--lime); color: var(--forest-deep); }
.badge--new { background: var(--tomato); color: #fff; }

.menu-foot { margin-top: 1.5rem; color: var(--muted); font-size: var(--step--1); max-width: 60ch; }

[data-menu].veg-only .menu-item[data-veg="false"] { display: none; }

@media (min-width: 900px) {
    .menu-head { grid-template-columns: 1fr auto; align-items: end; }
    .menu-head .section-title, .menu-head__intro { grid-column: 1; }
    .veg-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
    /* Categories stay in one column, in the same order as the category bar, so jumping and
       highlighting always match what's on screen. Items within a category use two columns. */
    .menu-cat { padding: 0 1.75rem; }
    .menu-list { columns: 2; column-gap: 3rem; }
    .menu-item { break-inside: avoid; }
    .menu-item:first-child { border-top: 1px solid #edf0e7; }
    .menu-list > .menu-item:first-child { border-top: 0; }
}

/* ---------- Line icons and leaf sprigs (wwwroot/img/icons.svg) ---------- */

.icon, .sprig {
    fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.cat-icon {
    display: inline-grid; place-items: center; flex: none;
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--forest); color: var(--lime);
}
.cat-icon .icon { width: 1.65rem; height: 1.65rem; }

.sprig { position: absolute; width: 3.5rem; height: 9.5rem; color: var(--lime); opacity: 0.35; pointer-events: none; }
.sprig--corner { right: 3%; top: 1.5rem; transform: rotate(18deg); }
@media (max-width: 899px) { .sprig--corner { display: none; } }

/* ---------- Gallery: slideshow ---------- */

.gallery-band__inner { display: grid; gap: 2rem; align-items: center; }
.gallery-band__note { color: var(--tomato-ink); font-size: 1.9rem; margin: 0; }

.slideshow { position: relative; min-width: 0; }
.slideshow__track {
    list-style: none; margin: 0; padding: 0;
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    border-radius: calc(var(--radius) + 4px); scrollbar-width: none;
    box-shadow: 0 18px 40px -18px rgb(15 44 32 / 0.45);
}
.slideshow__track::-webkit-scrollbar { display: none; }
.slideshow__track:focus-visible { outline: 3px solid var(--tomato); outline-offset: 4px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slide figure { position: relative; margin: 0; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.5rem 1.1rem 0.9rem;
    background: linear-gradient(transparent, rgb(15 44 32 / 0.85));
    color: #fff; font-weight: 500; font-size: var(--step--1);
}
.slideshow__controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.9rem; }
.slideshow__arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
    display: grid; place-items: center; background: #fff; color: var(--forest); cursor: pointer;
}
.slideshow__arrow:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.slideshow__dots { display: flex; gap: 0.15rem; }
.slideshow__dots button {
    width: 28px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0;
    display: grid; place-items: center;
}
.slideshow__dots button::before {
    content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background-color 0.2s, transform 0.2s;
}
.slideshow__dots button[aria-current="true"]::before { background: var(--forest); transform: scale(1.35); }
.no-js .slideshow__controls { display: none; }

@media (min-width: 900px) {
    .gallery-band__inner { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
}

/* ---------- Slogan band ---------- */

.slogan {
    position: relative; overflow: hidden;
    background: var(--lime); color: var(--forest-deep);
    text-align: center; padding: clamp(2.5rem, 7vw, 4rem) var(--gutter);
}
.slogan__text { font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.05; margin: 0 0 0.75rem; }
.slogan__text span { color: var(--tomato-ink); }
.slogan__call { margin: 0; font-weight: 600; }
.slogan__call a { color: var(--forest-deep); white-space: nowrap; }
.slogan .sprig { color: var(--forest); opacity: 0.25; top: 50%; margin-top: -4.75rem; }
.slogan .sprig--left { left: 4%; transform: rotate(-15deg); }
.slogan .sprig--right { right: 4%; transform: scaleX(-1) rotate(-15deg); }
@media (max-width: 599px) { .slogan .sprig { display: none; } }

/* ---------- Catering ---------- */

.catering-band { overflow: hidden; }
.catering { display: grid; gap: 2.5rem; position: relative; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tick-list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.5rem; }
.tick-list li::before {
    content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.5rem; height: 0.9rem;
    border-right: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(45deg);
}
.catering__photo { position: relative; margin: 0 0 1.75rem; }
.catering__photo img {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
    border-radius: var(--radius); border: 6px solid var(--paper);
    transform: rotate(-1.2deg); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6);
}
.catering__photo--tall { max-width: 22rem; }
.catering__photo--tall img { aspect-ratio: 4 / 5; }
.catering__photo figcaption {
    position: absolute; right: 0.75rem; bottom: -0.9rem;
    background: var(--tomato); color: #fff; font-size: 1.35rem; line-height: 1;
    padding: 0.45rem 0.9rem 0.55rem; border-radius: 999px; transform: rotate(3deg);
}
.catering__how { font-size: var(--step-1); color: var(--lime); margin: 0 0 0.75rem; }
.steps { list-style: none; counter-reset: step; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.85rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; min-height: 2.2rem; }
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: -0.1rem;
    width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--lime); color: var(--forest-deep); font-weight: 700;
}
.steps strong { color: #fff; }

@media (min-width: 900px) {
    .catering { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    .slideshow__track { scroll-behavior: auto; }
}

/* ---------- Forms ---------- */

.form-card {
    background: #fff; color: var(--ink);
    border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem);
    box-shadow: 0 10px 30px rgb(15 44 32 / 0.18);
}
.form-card h3 { font-size: var(--step-2); color: var(--forest); }
.form-card a { color: var(--forest); }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 0.65rem 0.85rem;
    font-size: 1rem; /* 16px stops iOS zooming into fields */
    color: var(--ink); background: var(--paper);
    border: 1.5px solid var(--line); border-radius: 10px;
}
.field textarea { min-height: 8rem; resize: vertical; }
/* iOS Safari gives date inputs their own min-width, height and centred text; make them match the other fields */
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; height: 48px; line-height: 1.2; }
.field input[type="date"]::-webkit-date-and-time-value { margin: 0; text-align: left; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgb(23 63 46 / 0.2); }
.field [aria-invalid="true"] { border-color: var(--tomato-ink); }
.field-error { color: var(--tomato-ink); font-size: var(--step--1); font-weight: 500; }
.form-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 0.9rem 1rem; border-radius: 10px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status--ok { background: var(--wash); color: var(--forest); border-left: 4px solid var(--lime); }
.form-status--error { background: #fdeee9; color: var(--tomato-ink); border-left: 4px solid var(--tomato); }
.form-card .button { width: 100%; }
/* Google's floating badge would cover the back-to-top button; Google allows hiding it when this note is shown. */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin: 0; font-size: 0.75rem; color: var(--muted); }
.form-privacy { font-size: var(--step--1); color: var(--muted); }
.form-privacy a { color: var(--forest); }
.recaptcha-note a { color: inherit; }

@media (min-width: 560px) {
    .form-grid--two { grid-template-columns: 1fr 1fr; }
    .form-card .button { width: auto; }
}

/* ---------- Reviews ---------- */

.reviews-head { text-align: center; display: grid; justify-items: center; margin-bottom: 2rem; }
.reviews-head .section-title { max-width: none; margin-bottom: 1.25rem; }
.eyebrow {
    margin: 0 0 0.35rem; font-size: var(--step--1); font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--tomato-ink);
}
.rating-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.rating-chip {
    display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 1.1rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px -10px rgb(0 0 0 / 0.35);
}
a.rating-chip:hover { border-color: var(--forest); }
.rating-chip__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--src, var(--lime)); }
.rating-chip__star { color: #e8a317; }
.rating-chip__source { color: var(--muted); font-size: var(--step--1); }

[data-source="google"] { --src: #4285f4; }
[data-source="deliveroo"] { --src: #00ccbc; }
[data-source="trustpilot"] { --src: #00b67a; }
[data-source="facebook"] { --src: #1877f2; }
[data-source="tripadvisor"] { --src: #34e0a1; }
[data-source="uber-eats"] { --src: #06c167; }
[data-source="just-eat"] { --src: #ff8000; }

.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.25rem; }
.badge-card {
    display: grid; justify-items: center; gap: 0.15rem; width: min(100%, 15rem);
    padding: 1.25rem 1.25rem 1rem; background: #fff; border-radius: var(--radius);
    text-decoration: none; color: var(--ink); text-align: center;
    box-shadow: 0 10px 30px -22px rgb(0 0 0 / 0.5);
}
.badge-card img { width: 100%; max-width: 12rem; margin-bottom: 0.65rem; }
.badge-card--award { justify-content: center; }
.badge-card--award .award-laurel { width: 3.2rem; height: 3.2rem; margin-bottom: 0.4rem; }
.badge-card--award .award-title { font-size: var(--step-0); }
.badge-card--award .award-detail { font-size: var(--step--1); }
.reviews-head__summary { margin: -0.5rem 0 1rem; color: var(--muted); }
.badge-card__title { font-weight: 600; }
.badge-card__sub { font-size: var(--step--1); color: var(--muted); }
a.badge-card:hover .badge-card__title { text-decoration: underline; }

.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.review-list > li { display: flex; }
.review {
    flex: 1; display: flex; flex-direction: column; margin: 0; padding: 1.5rem;
    background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px -22px rgb(0 0 0 / 0.5);
}
.review__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.review__mark { font: 700 4rem/0.8 Georgia, "Times New Roman", serif; color: var(--lime); height: 2.4rem; }
.review__source { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); color: var(--muted); }
.review__source::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--src, var(--lime)); }
.review blockquote { margin: 0.75rem 0 1.25rem; flex: 1; }
.review blockquote p { margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding-top: 1rem; border-top: 1px solid var(--line);
}
.review__author { font-weight: 600; }
.review__when { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.stars { color: #e8a317; letter-spacing: 0.08em; font-size: 1.05rem; line-height: 1; }

.trustbox { margin-top: 1.5rem; min-height: 24px; }

.review-cta {
    margin-top: 2.5rem; padding: 2rem 1.25rem; text-align: center;
    background: var(--wash); border-radius: var(--radius);
}
.review-cta h3 { font-size: var(--step-2); color: var(--forest); margin-bottom: 0.4rem; }
.review-cta p { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.review-links { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

@media (min-width: 700px) {
    .review-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .review-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Contact ---------- */

.contact-head { margin-bottom: 1.5rem; }
.contact-head .section-title { margin-bottom: 0.2rem; }
.contact-head__note { color: var(--tomato-ink); font-size: 1.6rem; margin: 0; }

/* Three big tap targets: call, message, directions. */
.contact-actions { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.75rem; }
.contact-action {
    display: flex; align-items: center; gap: 0.9rem; height: 100%;
    padding: 0.9rem 1.1rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.contact-action:hover { border-color: var(--forest); box-shadow: 0 10px 24px -14px rgb(15 44 32 / 0.5); transform: translateY(-2px); }
.contact-action__icon {
    flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%;
    display: grid; place-items: center; background: var(--forest); color: var(--lime);
}
.contact-actions li:first-child .contact-action__icon { background: var(--lime); color: var(--forest-deep); }
.contact-action__text { display: grid; min-width: 0; }
.contact-action__label { font-weight: 700; color: var(--forest); }
.contact-action__detail { font-size: var(--step--1); color: var(--muted); overflow-wrap: anywhere; }

.contact { display: grid; gap: 1.5rem; align-items: start; }
.contact__visit { display: grid; gap: 1.5rem; min-width: 0; }

.hours-card {
    background: var(--forest); color: #fff; border-radius: var(--radius);
    padding: clamp(1.1rem, 4vw, 1.6rem);
}
.hours-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.75rem; }
.hours-card__head h3 { margin: 0; font-size: var(--step-1); color: var(--lime); }
.hours-card .status { margin: 0; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { padding: 0.55rem 0.6rem; text-align: left; font-weight: 400; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; }
.hours td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours tr[aria-current="date"] th, .hours tr[aria-current="date"] td { background: rgb(185 210 63 / 0.18); font-weight: 700; }
.hours tr[aria-current="date"] th { border-radius: 8px 0 0 8px; }
.hours tr[aria-current="date"] td { border-radius: 0 8px 8px 0; }
.hours__today {
    display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px;
    background: var(--lime); color: var(--forest-deep); font-size: 0.72rem; font-weight: 700; vertical-align: 0.1em;
}

.map-card {
    position: relative; overflow: hidden; border-radius: var(--radius);
    border: 6px solid #fff; box-shadow: 0 18px 40px -22px rgb(15 44 32 / 0.55); background: var(--line);
}
.map-card iframe { display: block; width: 100%; height: 17rem; border: 0; }
.map-card__placeholder {
    height: 17rem; display: grid; place-content: center; justify-items: center; gap: 0.6rem;
    padding: 1.25rem; text-align: center; color: var(--forest);
    background:
        radial-gradient(circle at 30% 30%, rgb(185 210 63 / 0.25), transparent 45%),
        repeating-linear-gradient(35deg, var(--wash) 0 22px, #e4ead2 22px 24px);
}
.map-card__placeholder p { margin: 0; max-width: 28ch; font-weight: 500; }
.map-card__placeholder .button { min-height: 44px; }
.map-card__link { font-size: var(--step--1); font-weight: 600; color: var(--forest); }
.map-card__small { font-size: 0.75rem; color: var(--muted); font-weight: 400 !important; }
.map-card__address {
    padding: 0.8rem 1rem; background: #fff; font-size: var(--step--1); line-height: 1.45;
}
.map-card__address strong { color: var(--forest); }

/* Smallest phones: tighten the hours card so today's bold row still fits. */
@media (max-width: 379px) {
    .hours-card { padding: 1rem 0.8rem; }
    .hours th, .hours td { padding-inline: 0.35rem; }
    .hours__today { margin-left: 0; }
}
.hours-card, .map-card { min-width: 0; }

@media (min-width: 700px) {
    .contact-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .contact { grid-template-columns: 1fr 1.15fr; gap: 2.5rem; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--forest-deep); color: rgb(255 255 255 / 0.85); padding-block: 3rem 1.5rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 1.75rem; }
.wordmark--footer { font-size: 2.2rem; color: #fff; margin-bottom: 0.4rem; }
.site-footer__tag { max-width: 26ch; }
.site-footer__heading { font-size: var(--step-0); color: var(--lime); font-weight: 600; margin-bottom: 0.4rem; }
.site-footer__legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--step--1); }
.site-footer__legal p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer__sitelock { display: inline-flex; flex: none; }
.site-footer__sitelock img { display: block; height: 2.6rem; width: auto; }

@media (min-width: 760px) {
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Privacy notice (footer) ---------- */

.privacy { margin-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.12); padding-top: 1rem; }
.privacy > summary {
    cursor: pointer; display: inline-flex; align-items: center; min-height: 44px;
    font-weight: 600; color: var(--lime);
}
.privacy__body { max-width: 70ch; font-size: var(--step--1); }
.privacy__body strong { color: #fff; }
.privacy__updated { color: rgb(255 255 255 / 0.6); }

/* ---------- Back to top ---------- */

.to-top {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--forest); color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
}
.to-top[hidden] { display: none; }

/* ---------- Error pages ---------- */

.error-page {
    min-height: 100vh; display: grid; place-content: center; gap: 0.25rem;
    padding: 2rem var(--gutter); text-align: center; background: var(--forest); color: #fff;
}
.error-page h1 { font-size: var(--step-3); }
.error-page p { max-width: 40ch; margin-inline: auto; }
.error-page a:not(.button) { color: var(--lime); }
.error-page__logo { font-size: 3rem; color: #fff; margin-bottom: 1rem; }
.error-page__kicker { font-family: var(--font-hand); font-size: 1.6rem; color: var(--lime); margin: 0; }

/* The sandwich that never quite finishes: runs, trips short of the line, and its tomato rolls over instead. */
.run-scene { width: min(52rem, calc(100vw - 2 * var(--gutter))); margin: 0 auto 1.5rem; }
.run-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.run-scene figcaption { font-family: var(--font-hand); font-size: 1.35rem; color: var(--lime-soft); margin-top: 0.25rem; }
.run-scene__ground { fill: var(--forest-deep); }
.run-scene__lane { stroke: rgb(255 255 255 / 0.25); stroke-width: 2; stroke-dasharray: 18 14; }
.run-scene__chequer { fill: #fff; }
.run-scene__squares { stroke: var(--ink); stroke-width: 8; stroke-dasharray: 8 8; }
.run-scene__post { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.run-scene__banner { fill: var(--tomato); }
.run-scene__banner-text { fill: #fff; font: 700 11px var(--font); text-anchor: middle; letter-spacing: 0.08em; }
.run-scene__limb { stroke: #f3e3c3; stroke-width: 5; stroke-linecap: round; fill: none; }
.run-scene__bread { fill: #e9b15c; stroke: #8a5a2b; stroke-width: 3; }
.run-scene__lettuce { fill: none; stroke: #7cb342; stroke-width: 7; stroke-linecap: round; }
.run-scene__cheese { fill: #f6c945; }
.run-scene__band { fill: none; stroke: var(--tomato); stroke-width: 5; stroke-linecap: round; }
.run-scene__bib { fill: #fff; stroke: #8a5a2b; stroke-width: 1.5; }
.run-scene__bib-text { fill: var(--ink); font: 700 10px var(--font); text-anchor: middle; }
.run-scene__eye { fill: var(--ink); }
.run-scene__mouth { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.run-scene__sweat { fill: #8fd3ff; }
.run-scene__tomato { fill: var(--tomato); stroke: #fbd0c2; stroke-width: 2; }
.run-scene__dust { fill: rgb(255 255 255 / 0.55); }

.run-scene__runner { transform: translate(60px, 139px); animation: run-dash 3.2s linear both; }
.run-scene__tumble { transform-box: fill-box; transform-origin: 50% 50%; animation: run-trip 0.6s 2.6s ease-in both; }
.run-scene__bob { animation: run-bob 0.32s 8 ease-in-out; }
.run-scene__leg-a, .run-scene__leg-b, .run-scene__arms { transform-box: fill-box; transform-origin: 50% 0; }
.run-scene__leg-a { animation: run-legs 0.32s 8 ease-in-out, run-twitch 1.4s 3.6s ease-in-out infinite; }
.run-scene__leg-b { animation: run-legs 0.32s 0.16s 8 ease-in-out; }
.run-scene__arms { animation: run-arms 0.32s 8 ease-in-out; }
.run-scene__sweat { animation: run-sweat 0.64s 4 ease-out both; }
.run-scene__tomato { transform: translate(500px, 120px); animation: run-tomato 1.3s 2.75s cubic-bezier(0.3, 0.6, 0.5, 1) both; }
.run-scene__dust { transform: translate(540px, 208px); transform-box: fill-box; transform-origin: 50% 50%; animation: run-dust 0.7s 3.05s ease-out both; }

@keyframes run-dash {
    0% { transform: translate(60px, 139px); }
    81% { transform: translate(430px, 139px); }
    100% { transform: translate(455px, 139px); }
}
@keyframes run-trip {
    0% { transform: rotate(0); }
    50% { transform: translate(20px, -30px) rotate(100deg); }
    100% { transform: translate(36px, 11px) rotate(180deg); }
}
@keyframes run-bob { 50% { transform: translateY(-7px); } }
@keyframes run-legs { 50% { transform: rotate(-38deg); } }
@keyframes run-arms { 50% { transform: rotate(18deg); } }
@keyframes run-twitch { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-22deg); } 90% { transform: rotate(8deg); } }
@keyframes run-sweat { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-10px, -12px); } }
@keyframes run-tomato {
    0% { opacity: 0; transform: translate(500px, 120px) rotate(0); }
    1% { opacity: 1; }
    35% { transform: translate(600px, 60px) rotate(300deg); }
    65% { transform: translate(690px, 200px) rotate(600deg); }
    100% { opacity: 1; transform: translate(765px, 200px) rotate(900deg); }
}
@keyframes run-dust {
    0% { opacity: 0; transform: translate(540px, 208px) scale(0.2); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(540px, 198px) scale(1.8); }
}

@media (prefers-reduced-motion: reduce) {
    /* Skip straight to the ending: sandwich down, tomato over the line. */
    .run-scene * { animation-delay: 0s !important; }
    .run-scene__bob, .run-scene__leg-a, .run-scene__leg-b, .run-scene__arms, .run-scene__sweat, .run-scene__dust { animation: none !important; }
    .run-scene__sweat, .run-scene__dust { opacity: 0; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
