/* ==========================================================================
   Smiles 4 Miles Grill — Hereford Street, Christchurch

   Type: Archivo (display) + Instrument Sans (text).
   Archivo is run narrow and heavy — wdth 78 / wght 800 — to sit with the
   condensed sign-painter lettering in the logo. Sentence case throughout;
   the logo already shouts, the page does not need to.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
    /* warm charcoal, not black */
    --ink:        #15100D;
    --ink-deep:   #0C0908;
    --ink-soft:   #221A15;
    --ink-line:   rgba(240, 232, 220, 0.13);

    /* paper */
    --paper:      #FBF7F0;
    --bone:       #F1EADE;
    --sand:       #E4D6BE;
    --line:       rgba(21, 16, 13, 0.13);

    /* text */
    --text:       #1B1512;
    --smoke:      #6F675F;
    --smoke-dim:  #9A9187;
    --on-ink:     #EFE7DA;
    --on-ink-dim: #A79C8E;

    /* one accent, used sparingly */
    --ember:      #BC2318;
    --ember-lift: #DC3A2C;
    --olive:      #5C6650;

    --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --sans:    'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* The narrow width is cut into the font file itself (see fonts.css), so
       there is no wdth axis left to set here — only weight is variable. */
    --display-set: normal;
    --display-weight: 800;

    --gutter: clamp(1.25rem, 5vw, 4.5rem);
    --measure: 62ch;
    --strip-h: 0px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--strip-h, 0px) + var(--nav-h, 68px) + 56px);
}

/* Charcoal sits under everything so the first paint matches the masthead —
   no white flash while the fonts and hero image come down the wire. */
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* height:auto lets the CSS aspect-ratios win over the width/height attributes */
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: var(--display-weight);
    font-variation-settings: var(--display-set);
    letter-spacing: -0.015em;
    line-height: 1.06;
    margin: 0;
    text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ember); color: #fff; }

:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --------------------------------------------------------------- layout */
.wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 880px; }

/* body is charcoal for the first paint; the paper starts here */
main { background: var(--paper); }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--ink {
    background: var(--ink);
    color: var(--on-ink);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

.section--bone { background: var(--bone); }
.section--sand { background: var(--sand); }

.rule {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

/* --------------------------------------------------------------- type */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--smoke);
    margin: 0 0 1.1rem;
}
.section--ink .eyebrow { color: var(--on-ink-dim); }
.eyebrow--ember { color: var(--ember); }

.display {
    font-size: clamp(2.6rem, 6.4vw, 5rem);
    line-height: 0.94;
    letter-spacing: -0.028em;
}

.h2 {
    font-size: clamp(1.8rem, 3.3vw, 2.7rem);
    letter-spacing: -0.022em;
}
.h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }

.lede {
    font-size: clamp(1.06rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--smoke);
    max-width: 54ch;
}
.section--ink .lede { color: var(--on-ink-dim); }

.muted { color: var(--smoke); }

/* --------------------------------------------------------------- links */
.link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link:hover { color: var(--ember); gap: 0.8rem; }
.section--ink .link:hover { color: var(--ember-lift); }
.link::after { content: '\2192'; font-size: 0.9em; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    background: var(--ink);
    color: var(--paper);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid var(--ink);
    border-radius: 2px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--ember); border-color: var(--ember); color: #fff; }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}
.btn--ghost:hover { background: transparent; color: var(--ember); border-color: var(--ember); }

.section--ink .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--ink .btn:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.section--ink .btn--ghost { background: transparent; color: var(--on-ink); border-color: var(--ink-line); }
.section--ink .btn--ghost:hover { border-color: var(--paper); color: var(--paper); background: transparent; }

/* --------------------------------------------------------------- status strip */
/* Pinned above the masthead — live hours stay readable the whole way down. */
.status-strip {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--ink-deep);
    color: var(--on-ink);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.status-strip__inner {
    max-width: 1240px;
    margin-inline: auto;
    padding: 0.55rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    text-align: center;
}

.status-strip__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--smoke-dim);
    flex: none;
}
.status-strip.is-open .status-strip__dot { background: #63A55B; }
.status-strip.is-closed .status-strip__dot { background: var(--ember-lift); }
.status-strip.is-loading .status-strip__dot { animation: pulse 1.4s ease-in-out infinite; }

@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.status-strip__text { color: var(--on-ink); }
.status-strip.is-loading .status-strip__text { color: var(--on-ink-dim); }

.status-strip__note {
    color: var(--sand);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0.65rem;
}


/* --------------------------------------------------------------- masthead */
.masthead {
    position: sticky;
    top: var(--strip-h, 0px);
    z-index: 50;
    background: var(--ink);
    color: var(--on-ink);
    border-bottom: 1px solid var(--ink-line);
}

.masthead__inner {
    max-width: 1240px;
    margin-inline: auto;
    padding: 0.7rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    flex: none;
}

/* The emblem is wider than it is tall, so scale by height and let the width
   follow — a fixed square box squashed it. No blend mode: the art is a real
   transparent cut, which also keeps the sticky masthead on one layer. */
.brand__mark {
    height: 40px;
    width: auto;
    flex: none;
}

.brand__name {
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: 1.08rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--paper);
}
.brand__sub {
    display: block;
    font-family: var(--sans);
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--on-ink-dim);
    margin-top: 0.32rem;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.6vw, 2.2rem);
}

.nav__link {
    font-size: 0.88rem;
    text-decoration: none;
    color: var(--on-ink-dim);
    padding-block: 0.3rem;
    position: relative;
    transition: color 0.22s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--paper); }
.nav__link.is-current::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--ember-lift);
}

.nav__order {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--paper);
    text-decoration: none;
    border: 1px solid var(--ink-line);
    padding: 0.5rem 1.05rem;
    border-radius: 2px;
    transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.nav__order:hover { background: var(--ember); border-color: var(--ember); color: #fff; }

/* Three lines that fold into an X. The middle bar is the element itself,
   the outer two are its pseudo-elements. */
.nav__toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid var(--ink-line);
    border-radius: 2px;
    padding: 0;
    width: 44px;
    height: 40px;
    cursor: pointer;
    place-items: center;
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--paper);
    border-radius: 2px;
    transition: transform 0.28s var(--ease), opacity 0.18s var(--ease);
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before,
.nav__toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
}
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after  { top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero {
    background: var(--ink);
    color: var(--on-ink);
    position: relative;
    overflow: hidden;
}

.hero__grid {
    max-width: 1240px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: stretch;
    min-height: min(78vh, 760px);
}

.hero__copy {
    padding: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 4vw, 4rem) clamp(3.5rem, 7vw, 6rem) var(--gutter);
    align-self: center;
}

.hero__title {
    color: var(--paper);
    margin-bottom: 1.6rem;
}
.hero__title em {
    font-style: italic;
    color: var(--ember-lift);
}

.hero__text {
    color: var(--on-ink-dim);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    max-width: 44ch;
    margin-bottom: 2.2rem;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.hero__status {
    margin-top: 2.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--on-ink-dim);
    border-top: 1px solid var(--ink-line);
    padding-top: 1.2rem;
    max-width: 30rem;
}
.hero__status [data-live="status"] { color: var(--sand); }
.hero__status .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--smoke-dim);
    flex: none;
}
.hero__status [data-live="status"].is-open ~ .dot,
.hero__status .dot { background: #63A55B; }

.hero__media {
    position: relative;
    overflow: hidden;
    min-height: 340px;
}
.hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 52% 46%;
    filter: saturate(1.02) contrast(1.03);
}
.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, var(--ink) 0%, rgba(21, 16, 13, 0.45) 22%, transparent 55%);
}

.hero__caption {
    position: absolute;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 2;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------- facts row */
.facts {
    background: var(--ink-deep);
    color: var(--on-ink-dim);
    border-top: 1px solid var(--ink-line);
}
.facts__grid {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.fact {
    padding: 1.6rem 1.5rem 1.6rem 0;
    font-size: 0.86rem;
    border-left: 1px solid var(--ink-line);
    padding-left: 1.5rem;
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong {
    display: block;
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-weight: 400;
    font-size: 1.02rem;
    color: var(--paper);
    margin-bottom: 0.18rem;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------- story */
.story {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}
.story__body { max-width: 58ch; }
.story__body p { font-size: 1.06rem; }

.story__aside {
    padding-top: 0.4rem;
    border-top: 2px solid var(--ink);
}
.story__aside dt {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-top: 1.5rem;
}
.story__aside dd {
    margin: 0.28rem 0 0;
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: 1.24rem;
    letter-spacing: -0.015em;
}
.story__aside dd small {
    display: block;
    font-family: var(--sans);
    font-size: 0.83rem;
    color: var(--smoke);
    letter-spacing: 0;
    margin-top: 0.2rem;
}

.pull {
    margin: clamp(2.5rem, 5vw, 4rem) 0 0;
    padding-left: clamp(1.2rem, 3vw, 2.2rem);
    border-left: 2px solid var(--ember);
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: clamp(1.3rem, 2.3vw, 1.85rem);
    line-height: 1.32;
    letter-spacing: -0.018em;
    max-width: 30ch;
}

/* --------------------------------------------------------------- signature */
.signature-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.signature-lead {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.signature-lead__media { margin: 0; overflow: hidden; }
.signature-lead__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.signature-lead__media:hover img { transform: scale(1.03); }

.signature-lead__name {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    margin-bottom: 1rem;
}
.signature-lead__desc {
    color: var(--smoke);
    font-size: 1.05rem;
    max-width: 42ch;
}
.signature-lead__price {
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: 1.5rem;
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.plate-list {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    font-size: 0.86rem;
    color: var(--smoke);
}
.plate-list li { position: relative; padding-left: 0.95rem; }
.plate-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.62em;
    width: 4px; height: 4px;
    background: var(--ember);
    border-radius: 50%;
}

.signature-rest {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
}
.signature-row { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; }
.signature-row__name {
    font-size: 1.14rem;
    letter-spacing: -0.012em;
}
.signature-row__price {
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: 1.05rem;
    color: var(--smoke);
}
.signature-row__desc {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: var(--smoke);
    margin: 0.1rem 0 0;
    max-width: 34ch;
}
/* keep the button hugging its label instead of filling the grid cell */
.signature-row .dish__order { grid-column: 1 / -1; justify-self: start; }

/* --------------------------------------------------------------- gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(0.75rem, 1.6vw, 1.4rem);
    align-items: end;
}
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; object-fit: cover; }
.gallery figcaption {
    font-size: 0.75rem;
    color: var(--on-ink-dim);
    margin-top: 0.7rem;
    letter-spacing: 0.01em;
}

.gallery__a { grid-column: 1 / span 5; }
.gallery__a img { aspect-ratio: 4 / 5; }
.gallery__b { grid-column: 6 / span 4; }
.gallery__b img { aspect-ratio: 3 / 4; }
.gallery__c { grid-column: 10 / span 3; }
.gallery__c img { aspect-ratio: 3 / 4; }

.gallery-intro {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* --------------------------------------------------------------- plate anatomy */
.anatomy {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
}
.anatomy__list {
    counter-reset: bite;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(21, 16, 13, 0.16);
}
.anatomy__item {
    counter-increment: bite;
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0 1.2rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(21, 16, 13, 0.16);
}
.anatomy__item::before {
    content: counter(bite, decimal-leading-zero);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(21, 16, 13, 0.45);
    padding-top: 0.45rem;
}
.anatomy__item h3 {
    font-size: 1.32rem;
    margin-bottom: 0.3rem;
}
.anatomy__item p {
    font-size: 0.93rem;
    color: rgba(21, 16, 13, 0.66);
    max-width: 52ch;
    margin: 0;
}

/* --------------------------------------------------------------- menu page */
.page-head {
    background: var(--ink);
    color: var(--on-ink);
    padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}
.page-head__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: end;
}
.page-head h1 { color: var(--paper); }

.menu-nav-bar {
    position: sticky;
    top: calc(var(--strip-h, 0px) + var(--nav-h, 68px));
    z-index: 20;
    background: var(--ink);
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
}

.menu-nav {
    display: flex;
    gap: 1.6rem;
    overflow-x: auto;
    padding: 0.85rem var(--gutter);
    scrollbar-width: none;
    max-width: 1240px;
    margin-inline: auto;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav__link {
    flex: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--on-ink-dim);
    transition: color 0.2s var(--ease);
}
.menu-nav__link:hover, .menu-nav__link.is-current { color: var(--paper); }

.menu-status {
    padding: 4rem var(--gutter);
    text-align: center;
    color: var(--smoke);
    font-size: 0.95rem;
}
.menu-status--error { color: var(--ember); }

.menu-block { padding-block: clamp(3rem, 6vw, 5.5rem); }
.menu-block + .menu-block { border-top: 1px solid var(--line); }

.menu-block__head {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 0 clamp(2rem, 5vw, 5rem);
    align-items: baseline;
    margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.menu-block__head .eyebrow { grid-column: 1; margin-bottom: 0.5rem; }
.menu-block__title { grid-column: 1; font-size: clamp(2rem, 4vw, 3.1rem); }
.menu-block__note {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--smoke);
    font-size: 0.95rem;
    max-width: 44ch;
    align-self: end;
    margin: 0;
}

.menu-showcase {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.8rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: var(--bone);
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.menu-showcase__media { margin: 0; overflow: hidden; }
.menu-showcase__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.menu-showcase__name { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.7rem; }
.menu-showcase__desc { color: var(--smoke); max-width: 44ch; }
.menu-showcase__price {
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: 1.35rem;
    margin: 1.3rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dish-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.6rem, 3vw, 2.6rem) clamp(2.5rem, 6vw, 5rem);
}

.dish__head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}
.dish__name {
    font-size: 1.2rem;
    letter-spacing: -0.012em;
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.dish__rule {
    flex: 1;
    border-bottom: 1px dotted rgba(21, 16, 13, 0.28);
    transform: translateY(-0.28em);
    min-width: 1.5rem;
}
.dish__price {
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-size: 1.1rem;
    flex: none;
}
.dish__desc {
    font-size: 0.9rem;
    color: var(--smoke);
    margin: 0.45rem 0 0;
    max-width: 46ch;
}

.tag-set { display: inline-flex; gap: 0.3rem; }
.tag {
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive);
    border: 1px solid rgba(92, 102, 80, 0.42);
    border-radius: 2px;
    padding: 0.14rem 0.34rem;
    transform: translateY(-0.15em);
}

/* --------------------------------------------------------------- hours + find */
.visit {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.94rem;
}
.hours-row:first-child { border-top: 1px solid var(--line); }
.hours-row__day { color: var(--text); }
.hours-row__time { color: var(--smoke); text-align: right; }
.hours-row.is-today .hours-row__day { font-weight: 600; }
.hours-row.is-today .hours-row__time { color: var(--text); }
.hours-row.is-today {
    box-shadow: inset 3px 0 0 var(--ember);
    padding-left: 0.85rem;
}
.hours-row.is-shut .hours-row__time { color: var(--smoke-dim); }

.hours-note {
    font-size: 0.83rem;
    color: var(--smoke);
    margin-top: 1.1rem;
}

.detail-list { margin: 0; }
.detail-list dt {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-top: 1.9rem;
}
.detail-list dt:first-child { margin-top: 0; }
.detail-list dd {
    margin: 0.4rem 0 0;
    font-size: 1.06rem;
}
.detail-list dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.detail-list dd a:hover { border-color: var(--ember); color: var(--ember); }

.addr-line { display: block; }
.addr-line--muted { color: var(--smoke); font-size: 0.94rem; }

.map-frame {
    margin-top: 2.4rem;
    border: 1px solid var(--line);
    filter: grayscale(1) contrast(0.94);
    transition: filter 0.5s var(--ease);
}
.map-frame:hover { filter: grayscale(0.35) contrast(1); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* --------------------------------------------------------------- order band */
.band {
    background: var(--ink);
    color: var(--on-ink);
}
.band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-block: clamp(2.8rem, 5vw, 4.2rem);
}
.band__title {
    color: var(--paper);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    max-width: 20ch;
}
.band__meta { font-size: 0.88rem; color: var(--on-ink-dim); margin-top: 0.7rem; }

/* --------------------------------------------------------------- footer */
.footer {
    background: var(--ink-deep);
    color: var(--on-ink-dim);
    font-size: 0.88rem;
    padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--ink-line);
}

.footer__wordmark {
    font-family: var(--display);
    font-variation-settings: var(--display-set);
    font-weight: var(--display-weight);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin: 0 0 1.1rem;
}
.footer__wordmark span {
    display: block;
    font-family: var(--sans);
    font-variation-settings: normal;
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--on-ink-dim);
    margin-top: 0.5rem;
}

.footer__blurb { max-width: 30ch; line-height: 1.6; }

.footer__social {
    list-style: none;
    display: flex;
    gap: 0.6rem;
    margin: 1.3rem 0 0;
    padding: 0;
}
.footer__social a {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border: 1px solid var(--ink-line);
    border-radius: 2px;
    color: var(--on-ink-dim);
    transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.footer__social a:hover { color: var(--paper); border-color: var(--paper); }

.footer h4 {
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-ink-dim);
    margin-bottom: 1rem;
}

.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a { color: var(--on-ink); }

.hours-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.28rem 0;
    font-size: 0.83rem;
}
.hours-line span:first-child { color: var(--on-ink-dim); }
.hours-line span:last-child { color: var(--on-ink); text-align: right; }
.hours-line.is-today span { color: var(--sand); }
.hours-line.is-shut span:last-child { color: var(--smoke-dim); }
ul[data-live="hours-list"] { list-style: none; margin: 0; padding: 0; }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-top: 1.5rem;
    font-size: 0.76rem;
    color: var(--smoke-dim);
}

/* --------------------------------------------------------------- floating dock */
.dock {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.dock__order {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.35rem;
    background: var(--ember);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(21, 16, 13, 0.28);
    transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.dock__order:hover { background: var(--ink); transform: translateY(-2px); }
.dock__order svg { flex: none; }

/* collapses to zero height so it leaves no gap above the order pill */
.to-top {
    width: 36px; height: 0;
    display: grid;
    place-items: center;
    padding: 0;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: height 0.3s var(--ease), opacity 0.3s var(--ease), background 0.25s var(--ease);
}
.to-top.is-visible {
    height: 36px;
    opacity: 1;
    pointer-events: auto;
    border-color: var(--ink-line);
}
.to-top:hover { background: var(--ember); border-color: var(--ember); }

/* --------------------------------------------------------------- dish order button */
.dish__order,
.showcase__order {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.42rem 0.9rem;
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: var(--text);
    border: 1px solid rgba(21, 16, 13, 0.22);
    border-radius: 999px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dish__order:hover,
.showcase__order:hover {
    background: var(--ember);
    border-color: var(--ember);
    color: #fff;
}
.showcase__order { margin-top: 1.3rem; padding: 0.6rem 1.2rem; font-size: 0.82rem; }

/* --------------------------------------------------------------- reveal */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
    .hero__grid { grid-template-columns: 1fr; min-height: 0; }
    .hero__copy { padding-inline: var(--gutter); order: 2; }
    .hero__media { order: 1; height: clamp(300px, 52vh, 460px); }
    .hero__media::after {
        background: linear-gradient(180deg, rgba(21, 16, 13, 0.55) 0%, transparent 35%, var(--ink) 100%);
    }

    .story, .signature-lead, .gallery-intro, .anatomy, .visit,
    .menu-showcase, .page-head__grid { grid-template-columns: 1fr; }

    .story__aside { border-top-width: 1px; }
    .menu-block__head { grid-template-columns: 1fr; }
    .menu-block__note { grid-column: 1; grid-row: auto; margin-top: 1rem; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ink);
        border-bottom: 1px solid var(--ink-line);
        padding: 0.5rem var(--gutter) 1.4rem;
    }
    .nav.is-open { display: flex; }
    .nav__link { padding-block: 0.75rem; border-bottom: 1px solid var(--ink-line); font-size: 1rem; }
    .nav__order { margin-top: 1rem; text-align: center; }
    .nav__toggle { display: grid; }
    .masthead__inner { position: relative; }

    .facts__grid { grid-template-columns: 1fr; }
    .fact { border-left: 0; padding-left: 0; padding-block: 1.1rem; border-top: 1px solid var(--ink-line); }
    .fact:first-child { border-top: 0; }

    .signature-rest { grid-template-columns: 1fr; gap: 1.6rem; }
    .dish-list { grid-template-columns: 1fr; }

    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery__a { grid-column: 1 / span 2; }
    .gallery__b { grid-column: 1 / span 1; }
    .gallery__c { grid-column: 2 / span 1; }

    .footer__grid { grid-template-columns: 1fr; }
    .status-strip__note { border-left: 0; padding-left: 0; flex-basis: 100%; }
}

@media (max-width: 620px) {
    .status-strip__inner { padding-block: 0.5rem; }
    .status-strip { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .masthead, .status-strip, .to-top, .band, .hero__media { display: none; }
    body { background: #fff; color: #000; }
}
