/* ==========================================================================
   Indian Taj Carterton — 2026 site
   Dark, spice-warm: charred black, saffron, paprika, cream.
   The wordmark is white-on-transparent, so the chrome is dark by design.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-latin-var.woff2') format('woff2-variations');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/jost-latin-var.woff2') format('woff2-variations');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
    --ink: #14100c;
    --char: #1e1813;
    --surface: #272018;
    --saffron: #e2a33c;
    --saffron-dim: #b8811f;
    --paprika: #b4402f;
    --paprika-dim: #903023;
    --cream: #f7f1e6;
    --paper: #fdfaf4;
    --sand: #cdbba0;
    --muted: #6c6055;

    --display: 'Cormorant', Georgia, 'Times New Roman', serif;
    --body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    --measure: 62ch;
    --gutter: clamp(1.25rem, 5vw, 4rem);
    --page: 1240px;
    --radius: 3px;
    --arch: 48% 48% 4px 4px / 34% 34% 4px 4px;   /* Mughal-ish arch */

    --step-6: clamp(2.9rem, 1.1rem + 7vw, 6.5rem);
    --step-5: clamp(2.2rem, 1.2rem + 4.2vw, 4.2rem);
    --step-4: clamp(1.75rem, 1.2rem + 2.4vw, 2.8rem);
    --step-3: clamp(1.3rem, 1.1rem + 1.1vw, 1.75rem);
    --step-2: 1.1rem;
    --step-1: 1rem;
    --step-0: 0.9375rem;
    --micro: 0.75rem;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: var(--step-1);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.005em;
    margin: 0;
}

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

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

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.section-label {
    font-family: var(--body);
    font-size: var(--micro);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--paprika);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 1.2rem;
}

.section-label::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.28; }

.lede {
    font-size: var(--step-3);
    line-height: 1.35;
    max-width: 30ch;
    font-family: var(--display);
    font-weight: 500;
}

.prose { max-width: var(--measure); }
.prose a { color: var(--paprika); text-underline-offset: 3px; }

.stack > * + * { margin-top: 1.15rem; }
.stack-lg > * + * { margin-top: 2rem; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--char); color: var(--cream); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
    --btn-bg: var(--paprika);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    background: var(--btn-bg);
    color: var(--btn-fg) !important;
    border: 1px solid var(--btn-bg);
    border-radius: 999px;
    padding: 0.85em 1.75em;
    font-family: var(--body);
    font-size: var(--step-0);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .18s ease;
}

.btn:hover { background: var(--paprika-dim); border-color: var(--paprika-dim); transform: translateY(-1px); }

.btn--saffron { --btn-bg: var(--saffron); --btn-fg: var(--ink); }
.btn--saffron:hover { background: var(--saffron-dim); border-color: var(--saffron-dim); color: var(--ink) !important; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(20,16,12,.35); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper) !important; }

.btn--onDark { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.5); }
.btn--onDark:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* --- Status strip --------------------------------------------------------- */
.status-strip {
    position: relative;
    z-index: 60;
    background: var(--ink);
    color: var(--sand);
    font-family: var(--body);
    font-size: var(--micro);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.7rem var(--gutter);
}

.status-strip.open { background: #1f4d33; color: #d8f3e2; }
.status-strip.closed { background: #6d2418; color: #ffe0d9; }
.status-strip.error { background: #3a3128; }

.status-strip-inner { display: flex; align-items: center; justify-content: center; gap: 0.65rem; }
.status-strip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); flex: none; }
.status-strip.open .status-strip-dot { background: #6fe3a0; }
.status-strip.closed .status-strip-dot { background: #ff9a86; }

/* --- Header --------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ink);
    color: var(--cream);
    transition: box-shadow .3s ease;
}

.site-header.is-stuck { box-shadow: 0 8px 30px rgba(0,0,0,.35); }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: clamp(132px, 15vw, 176px); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); }

.nav a {
    font-size: var(--step-0);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--cream);
    padding-block: 0.35rem;
    position: relative;
    white-space: nowrap;
}

.nav a::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1.5px; background: var(--saffron);
    transform: scaleX(0); transform-origin: left;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}

.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--saffron); }
.nav-tel { font-variant-numeric: tabular-nums; }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; flex: none; }

/* One Order button at a time: the .nav copy is for the mobile drawer only. */
@media (min-width: 941px) { .nav > .btn { display: none; } }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer; padding: 0;
    color: var(--cream);
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ''; display: block; width: 22px; height: 2px; background: currentColor;
    transition: transform .3s ease, opacity .2s ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
    .nav-toggle { display: flex; }
    .masthead { min-height: 66px; }

    .nav {
        position: fixed; inset: 0 0 0 auto;
        width: min(88vw, 340px);
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 0;
        background: var(--char);
        padding: 5.5rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform .38s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
        z-index: 55;
    }

    .nav.is-open { transform: translateX(0); }
    .nav a { font-size: 1.15rem; padding-block: 0.95rem; border-bottom: 1px solid rgba(255,255,255,.12); }
    .nav a::after { display: none; }
    .nav .btn { margin-top: 1.5rem; }

    .nav-backdrop {
        position: fixed; inset: 0; background: rgba(0,0,0,.6);
        opacity: 0; visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease; z-index: 54;
    }
    .nav-backdrop.is-visible { opacity: 1; visibility: visible; }
    .nav-cta .btn { display: none; }
}

/* --- Hero: split panel + arched photo ------------------------------------
   Deliberately not a full-bleed photo with an overlay — the copy sits on its
   own dark panel and the food is framed in a Mughal-style arch beside it. */
.hero {
    position: relative;
    background:
        radial-gradient(120% 90% at 12% 12%, #2a211a 0%, var(--ink) 62%),
        var(--ink);
    color: #fff;
    overflow: hidden;
}

/* faint spice-toned wash bleeding in from the right */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(70% 90% at 92% 40%, rgba(226,163,60,.16), transparent 62%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-copy { display: grid; gap: 1.35rem; justify-items: start; }

.hero .kicker {
    font-family: var(--body);
    font-size: var(--micro);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--saffron);
    margin: 0;
}

.hero h1 { font-size: var(--step-6); max-width: 12ch; color: #fff; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--saffron); }
.hero p { max-width: 44ch; font-size: var(--step-2); color: rgba(255,255,255,.82); font-weight: 300; }

.hero-sep { width: 132px; opacity: .7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-meta {
    display: flex; flex-wrap: wrap; gap: 0.55rem;
    font-size: var(--micro); letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,.7); font-weight: 500;
}

.hero-meta span {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: .35em .95em;
}

/* the arch */
.hero-figure { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }

.hero-figure img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--arch);
    border: 1px solid rgba(226,163,60,.35);
}

/* thin arch outline offset behind the photo */
.hero-figure::before {
    content: '';
    position: absolute;
    inset: -14px -14px 14px -14px;
    border: 1px solid rgba(226,163,60,.28);
    border-radius: var(--arch);
    pointer-events: none;
}

@media (max-width: 899px) {
    .hero-figure { width: min(100%, 340px); }
    .hero-copy { justify-items: start; }
}

/* --- Split ---------------------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }

@media (min-width: 880px) {
    .split { grid-template-columns: 1.02fr 0.98fr; }
    .split--flip > :first-child { order: 2; }
}

.split-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* --- Feature trio --------------------------------------------------------- */
.trio { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.trio figure { margin: 0; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.trio figure:hover img { transform: scale(1.03); }
.trio figcaption { margin-top: 0.75rem; font-family: var(--display); font-size: var(--step-3); }

/* --- Panels / hours ------------------------------------------------------- */
.panel { background: var(--char); color: var(--cream); padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); }
.panel h2, .panel h3 { color: #fff; }

.sipo-hours-table { margin: 0; }

.sipo-hours-table .hours-row {
    display: flex; align-items: baseline; gap: 0.7rem;
    padding: 0.62rem 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
    font-size: var(--step-0);
}

.sipo-hours-table .hours-row:last-child { border-bottom: 0; }
.sipo-hours-table .day { flex: none; font-weight: 500; min-width: 5.5rem; letter-spacing: 0.03em; }

.sipo-hours-table .hours-row::after {
    content: ''; order: 1; flex: 1; height: 0;
    border-bottom: 1px dotted rgba(255,255,255,.22);
    transform: translateY(-0.28em);
}

.sipo-hours-table .time { order: 2; flex: none; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sipo-hours-table .closed-day { opacity: 0.55; }

/* Today: readable on light by default; only the dark panel goes white. */
.sipo-hours-table .hours-row.today { font-weight: 600; }
.sipo-hours-table .hours-row.today .day { color: var(--paprika); }
.panel .sipo-hours-table .hours-row.today { color: #fff; }
.panel .sipo-hours-table .hours-row.today .day { color: var(--saffron); }

.hours-light .sipo-hours-table .hours-row { border-bottom-color: rgba(20,16,12,.12); }
.hours-light .sipo-hours-table .hours-row::after { border-bottom-color: rgba(20,16,12,.25); }

/* --- Contact list --------------------------------------------------------- */
.contact-list { margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.contact-list dt, .contact-list .label {
    font-size: var(--micro); letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 600; color: var(--muted); margin-bottom: 0.2rem;
}
.contact-list a, .contact-list .value {
    font-family: var(--display); font-size: var(--step-3); font-weight: 500;
    text-decoration: none; line-height: 1.25; display: inline-block;
}
.contact-list a:hover { color: var(--paprika); }
.panel .contact-list dt, .panel .contact-list .label { color: var(--sand); }

/* --- Page head ------------------------------------------------------------ */
.page-head { background: var(--char); color: #fff; padding-block: clamp(3rem, 8vw, 5.5rem); }
.page-head h1 { font-size: var(--step-5); max-width: 18ch; }
.page-head p { color: rgba(255,255,255,.8); max-width: 54ch; margin-top: 1rem; font-weight: 300; }
.page-head .section-label { color: var(--saffron); }

/* --- Menu ----------------------------------------------------------------- */
.menu-nav {
    position: sticky;
    top: 78px;                       /* under the sticky header */
    z-index: 40;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.85rem var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    background: var(--paper);
    border-bottom: 1px solid rgba(20,16,12,.1);
    scrollbar-width: none;
}

.menu-nav::-webkit-scrollbar { display: none; }

@media (max-width: 940px) { .menu-nav { top: 66px; } }

.m-navlink {
    flex: none;
    padding: 0.45em 1em;
    border: 1px solid rgba(20,16,12,.18);
    border-radius: 999px;
    font-size: var(--step-0);
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.m-navlink:hover { border-color: var(--ink); }
.m-navlink.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.m-cat { padding-top: clamp(2.5rem, 6vw, 4rem); }
.m-cat-head { margin-bottom: 1.6rem; }
.m-cat-head h2 { font-size: var(--step-4); }
.m-cat-head p { color: var(--muted); font-size: var(--step-0); margin: 0.4rem 0 0; }

.m-count {
    display: inline-block; margin-top: 0.5rem;
    font-size: var(--micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron-dim);
}

.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }

.m-item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 1.1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(20,16,12,.09);
}

.m-item:last-child { border-bottom: 0; }

.m-thumb {
    width: 76px; height: 76px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--cream);
    grid-column: 1;
}

/* Items without a thumbnail keep the text column aligned with the rest. */
.m-item > .m-body { grid-column: 2; }
.m-item > .m-price { grid-column: 3; }

.m-name { font-family: var(--display); font-size: var(--step-3); font-weight: 600; line-height: 1.2; }
.m-desc { margin: 0.3rem 0 0; font-size: var(--step-0); color: var(--muted); line-height: 1.5; max-width: 58ch; }

.m-price {
    font-family: var(--body);
    font-size: var(--step-2);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
    padding-left: 0.5rem;
}

.m-size { display: block; font-size: var(--step-0); font-weight: 500; }
.m-size span { color: var(--muted); font-weight: 400; margin-right: 0.5em; }

#menu-status {
    padding: 2.5rem 0;
    font-size: var(--step-2);
    color: var(--muted);
}

@media (max-width: 620px) {
    .m-item { grid-template-columns: 60px 1fr; gap: 0.9rem; }
    .m-thumb { width: 60px; height: 60px; }
    .m-item > .m-price { grid-column: 2; text-align: left; padding-left: 0; margin-top: 0.4rem; }
}

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--sand); padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: var(--step-3); margin-bottom: 0.9rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--saffron); text-decoration: underline; text-underline-offset: 3px; }

.footer-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-grid p, .footer-grid li { font-size: var(--step-0); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-logo { width: 150px; margin-bottom: 1.1rem; }

.footer-bottom {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
    justify-content: space-between; align-items: center;
    font-size: var(--micro); letter-spacing: 0.05em;
}

.footer-bottom a { color: var(--saffron); }

/* --- Floating order ------------------------------------------------------- */
.floating-order {
    position: fixed;
    right: clamp(0.9rem, 2.5vw, 1.75rem);
    bottom: clamp(0.9rem, 2.5vw, 1.75rem);
    z-index: 45;
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: var(--paprika); color: #fff !important;
    border-radius: 999px; padding: 0.9rem 1.5rem;
    font-weight: 600; font-size: var(--step-0); letter-spacing: 0.03em;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transform: translateY(140%);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), background .25s ease;
}

.floating-order.is-visible { transform: translateY(0); }
.floating-order:hover { background: var(--paprika-dim); }
.floating-order svg { width: 1.15em; height: 1.15em; flex: none; }

@media (max-width: 900px) { .floating-order { padding: 0.85rem 1.25rem; } }

/* --- Reveal ---------------------------------------------------------------
   Visible by default; only hidden once `js` confirms scripting is alive, with
   a timed failsafe in site.js. Content must never depend on a frame landing. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .trio img, .btn { transition: none; }
}

/* --- Utilities ------------------------------------------------------------ */
.skip-link { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Gallery: arched tiles, staggered -------------------------------------
   Not a masonry column stack — fixed arch tiles with the centre one lifted, so
   the row reads as a deliberate arrangement rather than an auto-flow grid. */
.gallery-3 { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); align-items: start; }
.gallery-3 figure { margin: 0; overflow: hidden; border-radius: var(--arch); border: 1px solid rgba(20,16,12,.12); }
.gallery-3 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery-3 figure:hover img { transform: scale(1.05); }

@media (min-width: 760px) {
    .gallery-3 figure:nth-child(2) { transform: translateY(-2.25rem); }
}

.gallery-grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--arch); border: 1px solid rgba(20,16,12,.12); background: var(--cream); }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* every fourth tile spans two columns and goes landscape, breaking the grid up */
@media (min-width: 760px) {
    .gallery-grid figure:nth-child(4n+1) { grid-column: span 2; }
    .gallery-grid figure:nth-child(4n+1) img { aspect-ratio: 16 / 11; }
}

/* --- Reviews: one featured quote, the rest smaller ------------------------ */
.reviews { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }

.review {
    display: flex; flex-direction: column; gap: 1rem;
    background: transparent;
    border: 0;
    border-top: 2px solid rgba(20,16,12,.14);
    border-radius: 0;
    padding: 1.4rem 0 0;
}

.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.62; }
.review blockquote::before { content: none; }

/* The first review is the feature: bigger, spanning, with the quote mark. */
.review--feature {
    grid-column: 1 / -1;
    border-top: 0;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--radius);
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.review--feature blockquote {
    font-family: var(--display);
    font-size: var(--step-3);
    font-weight: 500;
    line-height: 1.4;
    max-width: 46ch;
}

.review--feature blockquote::before {
    content: '\201C';
    font-family: var(--display); font-size: 3em; line-height: 0;
    color: var(--saffron); vertical-align: -.38em; margin-right: .08em;
}

.review--feature .review-name { color: #fff; }
.review--feature .review-when { color: var(--sand); }
.review--feature .review-tag { border-color: rgba(255,255,255,.25); color: var(--sand); }

.review-meta { margin-top: auto; display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.review-name { font-size: var(--micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.review-when { font-size: var(--micro); color: var(--muted); }

.review-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.review-tag {
    font-size: var(--micro); letter-spacing: .04em;
    border: 1px solid rgba(20,16,12,.16); border-radius: 999px;
    padding: .12em .7em; color: var(--muted);
}

.reviews-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.reviews-source { font-size: var(--micro); color: var(--muted); letter-spacing: .04em; }

/* --- Feature pair: arched, offset ----------------------------------------- */
.trio { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: start; }
.trio figure { margin: 0; text-align: center; }
.trio img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: var(--arch);
    border: 1px solid rgba(226,163,60,.3);
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.trio figure:hover img { transform: scale(1.03); }
.trio figcaption { margin-top: 1rem; font-family: var(--display); font-size: var(--step-3); }

@media (min-width: 760px) { .trio figure:nth-child(even) { transform: translateY(2rem); } }

/* --- Split figure now arched too ------------------------------------------ */
.split-figure img { border-radius: var(--arch); border: 1px solid rgba(20,16,12,.12); }

/* Page headers use a plain letter-spaced eyebrow — the label-plus-rule device
   is retired site-wide so the layout language stays its own. */
.page-head .section-label::after { display: none; }
.page-head .section-label { letter-spacing: .3em; color: var(--saffron); }

/* --- Status strip: compact on narrow screens ------------------------------
   The full sentence wrapped onto three lines on a phone and ate the top of the
   viewport, so small screens get the short version instead. */
.ss-short { display: none; }

@media (max-width: 720px) {
    .status-strip { padding: .55rem var(--gutter); letter-spacing: .1em; }
    .ss-short { display: inline; }
    .ss-full { display: none; }
}

/* --- Embedded map --------------------------------------------------------- */
.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(20,16,12,.14);
    background: var(--cream);
    line-height: 0;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: clamp(300px, 44vw, 430px);
    border: 0;
}

/* ==========================================================================
   Section heads
   These were referenced by the markup but never defined — an earlier insert
   anchored on a comment that had already been rewritten, so it silently did
   nothing and the heads rendered unstyled.
   ========================================================================== */
.head-c {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.head-c .ornament { width: 118px; margin: 0 auto 1rem; opacity: .5; }
.head-c .eyebrow,
.head-l .eyebrow {
    font-size: var(--micro);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--saffron-dim);
    font-weight: 600;
    margin: 0 0 .5rem;
}
.head-c h2, .head-l h2 { font-size: var(--step-4); }
.head-c p { margin-top: .9rem; color: var(--muted); }

.head-l {
    border-left: 2px solid var(--saffron);
    padding-left: 1.05rem;
    margin-bottom: 1.5rem;
}

.panel .head-l .eyebrow, .bg-dark .head-c .eyebrow { color: var(--saffron); }
.bg-dark .head-c p { color: var(--sand); }

/* ==========================================================================
   Shape discipline
   The arch is reserved for the hero, the about photo and the contact photo.
   Using it on every image made the whole site read as one repeated motif.
   ========================================================================== */
.gallery-3 figure,
.gallery-grid figure,
.trio img {
    border-radius: var(--radius);
}

.gallery-3 figure:nth-child(2),
.trio figure:nth-child(even) {
    transform: none;                 /* aligned rows, no stagger */
}

/* Feature pair: was 537x716 per image — far too large. Constrained, landscape
   and equal-height so the row reads as a tidy pair. */
.trio {
    max-width: 760px;
    margin-inline: auto;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: start;
}

.trio img {
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(20,16,12,.12);
}

.trio figcaption { margin-top: .8rem; font-size: var(--step-2); }

/* ==========================================================================
   Sticky status strip
   The strip pins to the top and the header sits directly beneath it, so the
   open/closed state stays visible the whole way down the page.
   statusManager.js measures the strip and publishes --strip-height, so the
   offsets below follow its real height rather than a guessed constant.
   ========================================================================== */
.status-strip {
    position: sticky;
    top: 0;
    z-index: 60;
}

.site-header {
    top: var(--strip-height, 38px);
}

/* The menu page's category bar stacks under both of them. */
.menu-nav { top: calc(var(--strip-height, 38px) + 78px); }

@media (max-width: 940px) {
    .menu-nav { top: calc(var(--strip-height, 34px) + 66px); }
}

/* Anchor jumps must clear the whole sticky stack. */
html { scroll-padding-top: calc(var(--strip-height, 38px) + 96px); }

/* ==========================================================================
   Featured dishes (home page, rendered from get_menu)
   ========================================================================== */
.feature-cards {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.6rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.fcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(20,16,12,.1);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.fcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,16,12,.12); border-color: rgba(20,16,12,.18); }

.fcard-media { display: block; overflow: hidden; background: var(--cream); }
.fcard-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fcard:hover .fcard-media img { transform: scale(1.04); }

.fcard-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }

.fcard-cat {
    font-size: var(--micro); letter-spacing: .18em; text-transform: uppercase;
    color: var(--saffron-dim); font-weight: 600;
}

.fcard-name { font-family: var(--display); font-size: var(--step-3); font-weight: 600; line-height: 1.2; }

.fcard-desc {
    font-size: var(--step-0); color: var(--muted); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.fcard-price {
    margin-top: auto; padding-top: .7rem;
    font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--step-2);
}

.fcard-price .m-size { display: inline-block; margin-right: .8rem; font-size: var(--step-0); }

/* Section actions sitting under a block of content. */
.section-actions { display: flex; justify-content: center; margin-top: clamp(1.75rem, 4vw, 2.5rem); }
