/* ==========================================================================
   Twapandula
   Palette taken from the place itself: the red of the wordmark, the green of
   the tagline, the maize and orange of the chitenge cloth on the counter,
   and the chalkboard menu behind it.
   ========================================================================== */

:root {
    --chalk: #1f2623;
    --chalk-2: #2a332f;
    --chalk-ink: #f3efe6;
    --red: #d1342b;
    --red-deep: #a8231c;
    --leaf: #1f7a43;
    --leaf-deep: #175f35;
    --maize: #f4b63d;
    --orange: #e8742a;
    --paper: #fcf9f4;
    --paper-2: #f3ede2;
    --ink: #1b201e;
    --ink-soft: #4d5651;
    --wood: #9a6a35;
    --wood-deep: #6f4824;
    --line: #e2d9c8;

    --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-chalk: "Gochi Hand", "Comic Sans MS", cursive;

    --radius: 14px;
    --gutter: 24px;
    --max: 1180px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, address { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

:focus-visible {
    outline: 3px solid var(--leaf);
    outline-offset: 3px;
}

.wrap {
    width: 100%;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--chalk);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.85em 1.5em;
    border: 2px solid transparent;
    border-radius: 10px;
    font: 700 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; }

.btn--dark { background: var(--chalk); color: #fff; }
.btn--dark:hover { background: var(--leaf-deep); }

.btn--light { background: #fff; color: var(--chalk); }
.btn--light:hover { background: var(--maize); }

.btn--chalk {
    background: transparent;
    color: var(--maize);
    border-color: var(--maize);
    font-family: var(--font-chalk);
    font-weight: 400;
    font-size: 1.25rem;
}
.btn--chalk:hover { background: var(--maize); color: var(--chalk); }

/* An order ticket: the stub notches are cut out with a mask. */
.btn--ticket {
    --notch: 0.5em;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    padding-inline: 1.9em;
    -webkit-mask:
        radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
}
.btn--ticket:hover { background: var(--red-deep); }
.btn--ticket:focus-visible { -webkit-mask: none; mask: none; }

.link-arrow {
    display: inline-block;
    font-weight: 700;
    color: var(--leaf-deep);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.link-arrow:hover { color: var(--red); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 249, 244, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.wordmark {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}
.wordmark__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--red);
}
.wordmark__tag {
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--leaf);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav li a {
    position: relative;
    padding: 6px 0;
    font-weight: 600;
    text-decoration: none;
}
.site-nav li a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--maize);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}
.site-nav li a:hover::after,
.site-nav li a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

/* ---------- Photos and steel serving pans ---------- */

.photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.photo--missing {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 14px;
    background:
        radial-gradient(circle at 20% 30%, rgba(244, 182, 61, 0.16) 0 6px, transparent 7px) 0 0 / 38px 38px,
        radial-gradient(circle at 70% 70%, rgba(209, 52, 43, 0.22) 0 5px, transparent 6px) 0 0 / 46px 46px,
        var(--chalk-2);
    text-align: center;
}
.photo__caption {
    max-width: 22ch;
    font-family: var(--font-chalk);
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--chalk-ink);
}

.pan {
    position: relative;
    padding: 9px;
    border-radius: 22px;
    background: linear-gradient(145deg, #f6f8f8 0%, #c3cacb 38%, #eef1f1 62%, #aab2b3 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -2px 0 rgba(0, 0, 0, 0.08) inset,
        0 18px 32px -14px rgba(27, 32, 30, 0.45);
}
/* Pan handles */
.pan::before,
.pan::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 12px;
    height: 34px;
    margin-top: -17px;
    border-radius: 6px;
    background: linear-gradient(180deg, #e8ecec, #9ea7a8);
}
.pan::before { left: -7px; }
.pan::after { right: -7px; }
.pan > .photo { border-radius: 14px; }
.pan--dish::before, .pan--dish::after { display: none; }

/* ---------- Chitenge band ---------- */

.band, .chitenge { display: block; width: 100%; }
.band { height: 40px; }

/* ---------- Hero ---------- */

.hero {
    padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px);
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.hero__title {
    font-size: clamp(2.9rem, 7.2vw, 5.9rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    color: var(--chalk);
}
.hero__title .line { display: block; padding-bottom: 0.04em; }

.hero__lead {
    margin-top: 26px;
    max-width: 46ch;
    font-size: 1.2rem;
    color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 28px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--leaf-deep);
}
.hero__services li { display: flex; align-items: center; gap: 8px; }
.hero__services li::before {
    content: "";
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--maize);
    box-shadow: 0 0 0 3px rgba(244, 182, 61, 0.3);
}

.hero__trays {
    position: relative;
    aspect-ratio: 1 / 1.02;
    width: 100%;
    max-width: 560px;
    justify-self: end;
}
.hero__trays .pan { position: absolute; }
.pan--lg { width: 80%; aspect-ratio: 4 / 3.1; top: 0; left: 2%; transform: rotate(-2.5deg); z-index: 1; }
.pan--md { width: 54%; aspect-ratio: 1; right: 0; top: 36%; transform: rotate(3.5deg); z-index: 2; }
.pan--sm { width: 42%; aspect-ratio: 1; left: 4%; bottom: 0; transform: rotate(-5deg); z-index: 3; }
.pan--lg .photo, .pan--md .photo, .pan--sm .photo { height: 100%; }

.steam {
    position: absolute;
    left: 14%;
    top: -22%;
    width: 52%;
    height: auto;
    display: none;
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 3.5;
    stroke-linecap: round;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section__head { max-width: 56ch; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section__head p { margin-top: 12px; color: var(--ink-soft); }

.story__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 6vw, 88px);
    align-items: center;
}
.pan--wide { aspect-ratio: 4 / 3; }
.pan--wide .photo, .pan--tall .photo, .pan--card .photo { height: 100%; }
.story__copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.story__copy p { margin-top: 18px; max-width: 46ch; color: var(--ink-soft); }
.story__copy .link-arrow { margin-top: 22px; }

/* ---------- Chalkboard ---------- */

.board-section { background: var(--paper-2); }

.chalkboard {
    padding: 16px;
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 40%),
        linear-gradient(180deg, var(--wood), var(--wood-deep));
    box-shadow: 0 30px 50px -28px rgba(27, 32, 30, 0.65);
}
.chalkboard__frame {
    padding: clamp(24px, 4vw, 52px);
    border-radius: 8px;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.07), transparent 55%),
        radial-gradient(ellipse at 85% 90%, rgba(255, 255, 255, 0.05), transparent 50%),
        var(--chalk);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35), inset 0 12px 40px rgba(0, 0, 0, 0.4);
    color: var(--chalk-ink);
}

.chalk { font-family: var(--font-chalk); font-weight: 400; letter-spacing: 0; }
.chalk--title { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; color: #fff; text-shadow: 0 0 1px rgba(255,255,255,0.8); }
.chalk--note { font-size: 1.4rem; color: var(--maize); }

.chalkboard__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 2px dashed rgba(243, 239, 230, 0.35);
}

.chalkboard__list { columns: 2 340px; column-gap: clamp(32px, 6vw, 80px); }
.chalk-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    break-inside: avoid;
    font-family: var(--font-chalk);
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    line-height: 1.15;
    color: var(--chalk-ink);
}
.chalk-row__dots { flex: 1; min-width: 20px; border-bottom: 3px dotted rgba(243, 239, 230, 0.38); transform: translateY(-5px); }
.chalk-row__price { color: var(--maize); white-space: nowrap; }

.chalkboard__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 2px dashed rgba(243, 239, 230, 0.35);
}

/* ---------- Relishes ---------- */

.relishes__rail {
    overflow-x: auto;
    padding: 12px 0 28px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.relishes__track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.relishes__track .relish { width: 250px; scroll-snap-align: start; }
.pan--card { aspect-ratio: 1; }
.relish__name { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }

.relish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }

/* ---------- Place ---------- */

.place__grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}
.place__copy h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.place__copy p { margin: 16px 0 22px; color: var(--ink-soft); }
.pan--tall { aspect-ratio: 3 / 4; }
.pan--offset { transform: translateY(36px); }

/* ---------- Visit band ---------- */

.visit-band { background: var(--leaf-deep); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.visit-band__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px 48px;
}
.visit-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.visit-band p { margin-top: 10px; opacity: 0.9; }
.visit-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner pages ---------- */

.page-head { padding: clamp(40px, 6vw, 80px) 0 8px; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--chalk); }
.page-head__lead { margin-top: 16px; max-width: 56ch; font-size: 1.15rem; color: var(--ink-soft); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
    padding: 0.6em 1.15em;
    border: 2px solid var(--chalk);
    border-radius: 999px;
    background: transparent;
    font: 600 0.95rem/1 var(--font-body);
    color: var(--chalk);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.chip:hover { transform: translateY(-1px); background: var(--paper-2); }
.chip.is-active { background: var(--chalk); color: #fff; }

.menu-list { padding-top: 40px; }
.menu-group { margin-bottom: 56px; }
.menu-group[hidden] { display: none; }
.menu-group__title { margin-bottom: 20px; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--red); }

.dishes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.dish {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.pan--dish { padding: 5px; border-radius: 16px; aspect-ratio: 1; }
.pan--dish .photo { height: 100%; border-radius: 11px; }
.pan--dish .photo--missing { padding: 6px; overflow: hidden; }
.pan--dish .photo__caption { font-size: 0.8rem; line-height: 1.15; }
.dish__name { font-size: 1.3rem; }
.dish__note { margin-top: 4px; font-size: 0.97rem; color: var(--ink-soft); }
.dish__price { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--leaf-deep); white-space: nowrap; }

.relishes--page { background: var(--paper-2); }

/* ---------- Gallery ---------- */

.mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(150px, 20vw, 240px);
    gap: 16px;
}
.mosaic__item:nth-child(5n + 1) { grid-row: span 2; }
.mosaic__item:nth-child(7n + 4) { grid-column: span 2; }
.mosaic__btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: none;
    overflow: hidden;
    cursor: zoom-in;
}
.mosaic__btn .photo { border-radius: var(--radius); transition: transform 0.5s var(--ease); }
.mosaic__btn:hover .photo { transform: scale(1.04); }

.lightbox {
    width: min(92vw, 960px);
    max-height: 92vh;
    padding: 16px;
    border: 0;
    border-radius: 18px;
    background: var(--chalk);
    color: var(--chalk-ink);
}
.lightbox::backdrop { background: rgba(10, 14, 12, 0.82); }
.lightbox[open] { animation: pop 0.3s var(--ease); }
.lightbox__close {
    margin-left: auto;
    display: block;
    padding: 0.5em 1.1em;
    border: 2px solid var(--maize);
    border-radius: 999px;
    background: transparent;
    color: var(--maize);
    font: 600 0.95rem/1 var(--font-body);
    cursor: pointer;
}
.lightbox__close:hover { background: var(--maize); color: var(--chalk); }
.lightbox__stage { margin-top: 12px; }
.lightbox__stage .photo { max-height: 70vh; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox__stage .photo--missing { min-height: 40vh; }
.lightbox__caption { margin-top: 12px; font-family: var(--font-chalk); font-size: 1.4rem; }

/* ---------- Visit page ---------- */

.visit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.visit__info { display: grid; gap: 30px; }
.info-block h2 { margin-bottom: 8px; font-size: 1.5rem; color: var(--red); }
.info-block p, .info-block address { color: var(--ink-soft); }
.info-block a:not(.link-arrow) { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.info-block .link-arrow { margin-top: 8px; }

.tick-list { display: grid; gap: 6px; }
.tick-list li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.tick-list li::before {
    content: "";
    width: 16px; height: 9px;
    border-left: 3px solid var(--leaf);
    border-bottom: 3px solid var(--leaf);
    transform: rotate(-45deg) translateY(-2px);
}

.visit__form {
    padding: clamp(24px, 4vw, 44px);
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(27, 32, 30, 0.5);
}
.visit__form h2 { margin-bottom: 20px; font-size: 1.8rem; }

.form { display: grid; gap: 18px; }
.form__trap { position: absolute; left: -9999px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 0.97rem; }
.field input, .field textarea {
    width: 100%;
    padding: 0.8em 0.95em;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s, background-color 0.2s;
}
.field input:focus, .field textarea:focus { border-color: var(--leaf); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(31, 122, 67, 0.2); }
.form__hint { font-size: 0.92rem; color: var(--ink-soft); }

.notice { margin-bottom: 20px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.notice--ok { background: #e3f3e9; border: 1px solid #a8d7b9; color: var(--leaf-deep); }
.notice--error { background: #fdeceb; border: 1px solid #f0b4b0; color: var(--red-deep); }
.notice--error ul { margin-top: 6px; padding-left: 18px; list-style: disc; font-weight: 400; }

/* ---------- Footer ---------- */

.site-footer { background: var(--chalk); color: var(--chalk-ink); }
.site-footer__band { height: 40px; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: 36px;
    padding-block: 56px 40px;
}
.site-footer__name { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--maize); letter-spacing: -0.03em; }
.site-footer__lead { margin-top: 8px; max-width: 30ch; opacity: 0.8; }
.site-footer__head { margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.site-footer__col p { margin-bottom: 6px; opacity: 0.88; }
.site-footer a { text-underline-offset: 4px; }
.site-footer a:hover { color: var(--maize); }
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 24px;
    padding-block: 20px 28px;
    border-top: 1px solid rgba(243, 239, 230, 0.16);
    font-size: 0.9rem;
    color: rgba(243, 239, 230, 0.78);
}
.site-footer__powered a { color: var(--maize); font-weight: 600; text-underline-offset: 4px; }
.site-footer__powered a:hover { color: #fff; }

/* ==========================================================================
   Motion
   Only runs when the visitor has not asked for reduced motion (see layout).
   ========================================================================== */

@keyframes rise {
    from { opacity: 0; transform: translateY(46px); }
    to { opacity: 1; transform: none; }
}
@keyframes serve {
    from { opacity: 0; transform: translateX(120px) rotate(10deg); }
}
@keyframes steam {
    0% { opacity: 0; stroke-dashoffset: 120; transform: translateY(14px); }
    30% { opacity: 0.9; }
    100% { opacity: 0; stroke-dashoffset: 0; transform: translateY(-14px); }
}
@keyframes pop {
    from { opacity: 0; transform: scale(0.96); }
}

/* Hero: one orchestrated sequence. Lines rise, then the pans are served. */
html.motion .hero__title .line { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--n, 0) * 110ms + 80ms); }
html.motion .hero__title .line:nth-child(1) { --n: 0; }
html.motion .hero__title .line:nth-child(2) { --n: 1; }
html.motion .hero__title .line:nth-child(3) { --n: 2; }
html.motion [data-hero-fade] { animation: rise 0.8s var(--ease) both; animation-delay: 560ms; }
html.motion .hero__services { animation-delay: 700ms; }

html.motion .hero__trays .pan { animation: serve 1s var(--ease) both; }
html.motion .hero__trays .pan:nth-child(1) { animation-delay: 250ms; }
html.motion .hero__trays .pan:nth-child(2) { animation-delay: 450ms; }
html.motion .hero__trays .pan:nth-child(3) { animation-delay: 650ms; }

html.motion .steam { display: block; }
html.motion .steam path { stroke-dasharray: 120; animation: steam 4.2s ease-in-out infinite; }
html.motion .steam path:nth-child(2) { animation-delay: 1.2s; }
html.motion .steam path:nth-child(3) { animation-delay: 2.4s; }

/* Chalkboard: rows are written in left to right when the board scrolls into view. */
html.motion .chalkboard:not(.is-written) .chalk-row { clip-path: inset(0 100% 0 0); }
html.motion .chalkboard .chalk-row {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.9s ease calc(var(--i, 0) * 130ms + 200ms);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
    .hero__grid, .story__grid, .visit__grid { grid-template-columns: 1fr; }
    .hero__trays { justify-self: center; max-width: 520px; }
    .place__grid { grid-template-columns: 1fr 1fr; }
    .place__copy { grid-column: 1 / -1; }
    .pan--offset { transform: none; }
    .dishes { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 0.55em 0.9em;
        border: 2px solid var(--chalk);
        border-radius: 999px;
        background: transparent;
        font: 600 0.95rem/1 var(--font-body);
        color: var(--chalk);
        cursor: pointer;
    }
    .nav-toggle__bars { display: grid; gap: 4px; }
    .nav-toggle__bars i { display: block; width: 16px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px var(--gutter) 26px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav li a { display: block; padding: 10px 0; font-size: 1.2rem; }

    .wordmark__tag { display: none; }
    .dish { grid-template-columns: 84px 1fr; }
    .dish__price { grid-column: 2; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .mosaic__item:nth-child(7n + 4) { grid-column: auto; }
    .field-row { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .relishes__track .relish { width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
