/* ==========================================================================
   Codiax Gastro Template – public website
   Mobile first. Themes change typography, colour, spacing and image treatment
   together via [data-theme] on <html>.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hanken Grotesk";
    src: url("../fonts/hanken-grotesk-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Design tokens (theme: Editorial = default) ---------- */
:root {
    --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display-weight: 500;
    --display-tracking: -0.015em;
    --display-leading: 0.95;
    --dish-name-size: 1.5rem;
    --dish-name-weight: 500;

    --color-bg: #f5f2eb;
    --color-surface: #ebe6dc;
    --color-text: #171714;
    --color-muted: #66625a;
    --color-accent: #8a5a3c;
    --color-on-accent: #fbf8f2;
    --color-border: rgba(23, 23, 20, 0.14);
    --color-strong-border: rgba(23, 23, 20, 0.85);
    --color-open: #3d6a44;
    --color-on-image: #fbf8f2;
    --hero-scrim: linear-gradient(to top, rgba(12, 10, 8, 0.74) 0%, rgba(12, 10, 8, 0.2) 50%, rgba(12, 10, 8, 0.38) 100%);

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-feature: 0;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: clamp(4.5rem, 11vw, 10rem);
    --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
    --content-max: 1320px;
    --text-max: 40rem;
    --header-h: 4.25rem;

    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur-micro: 200ms;
    --dur-ui: 320ms;
    --dur-content: 700ms;
}

[data-theme="cinematic"] {
    --color-bg: #121110;
    --color-surface: #1c1a17;
    --color-text: #ece6dc;
    --color-muted: #a59e92;
    --color-accent: #c9a27a;
    --color-on-accent: #121110;
    --color-border: rgba(236, 230, 220, 0.14);
    --color-strong-border: rgba(236, 230, 220, 0.7);
    --color-open: #8fbf8a;
    --display-weight: 500;
    --hero-scrim: linear-gradient(to top, rgba(8, 7, 6, 0.9) 0%, rgba(8, 7, 6, 0.35) 55%, rgba(8, 7, 6, 0.5) 100%);
    color-scheme: dark;
}

[data-theme="minimal"] {
    --font-display: var(--font-body);
    --display-weight: 640;
    --display-tracking: -0.045em;
    --display-leading: 0.92;
    --dish-name-size: 1.12rem;
    --dish-name-weight: 600;
    --color-bg: #fafaf8;
    --color-surface: #efefeb;
    --color-text: #111110;
    --color-muted: #5e5d58;
    --color-accent: #2f4a3a;
    --color-on-accent: #fafaf8;
    --color-border: rgba(17, 17, 16, 0.12);
    --space-xl: clamp(5rem, 13vw, 12rem);
}

[data-theme="mediterranean"] {
    --color-bg: #f3ece0;
    --color-surface: #e7dbc6;
    --color-text: #2a2118;
    --color-muted: #6a5b49;
    --color-accent: #9c4f2c;
    --color-on-accent: #fbf6ee;
    --color-border: rgba(42, 33, 24, 0.16);
    --color-strong-border: rgba(42, 33, 24, 0.8);
    --color-open: #56602c;
    --radius-feature: 999px 999px 0 0;
    --display-weight: 600;
}

/* ---------- Base ---------- */
*,
*::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) + 4rem);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: inherit;
}

button {
    font: inherit;
    color: inherit;
}

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

/* Sections focused by anchor navigation (site.js) need no ring. */
[tabindex="-1"]:focus {
    outline: none;
}

::selection {
    background: var(--color-accent);
    color: var(--color-on-accent);
}

.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: -5rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--content-max));
    margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.display {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    line-height: var(--display-leading);
    text-wrap: balance;
}

.label,
.eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.eyebrow {
    margin-bottom: 1.25rem;
}

.section {
    padding-block: var(--space-xl);
}

.section-title {
    font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    max-width: var(--text-max);
}

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

.prose {
    max-width: var(--text-max);
}

.prose p + p,
.prose p + ul,
.prose ul + p {
    margin-top: 1em;
}

.prose h2 {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.1;
    margin: 2.75rem 0 0.9rem;
}

.prose h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 2rem 0 0.5rem;
}

.prose ul {
    padding-left: 1.2rem;
    margin: 0;
}

.prose li + li {
    margin-top: 0.35rem;
}

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 3.1rem;
    padding: 0.85rem 1.5rem;
    border: 1px solid currentColor;
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.btn--primary {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg);
}

.btn--primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-on-accent);
}

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

.btn__arrow {
    display: inline-block;
    transition: transform var(--dur-ui) var(--ease-out);
}

.btn:hover .btn__arrow,
.link-arrow:hover .btn__arrow {
    transform: translateX(4px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

.link-arrow span:first-child {
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* ---------- Preview bar ---------- */
.preview-bar {
    position: relative;
    z-index: 70;
    padding: 0.6rem var(--gutter);
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-size: 0.85rem;
    text-align: center;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-bg);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    min-height: var(--header-h);
    width: min(100% - 2 * var(--gutter), var(--content-max));
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    font-size: 1.45rem;
    line-height: 1;
}

.brand img {
    height: 2.4rem;
    width: auto;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 clamp(1.1rem, 2.6vw, 2.4rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.7rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-ui) var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 0.25rem;
    border: 0;
    background: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}

@media (max-width: 767px) {
    .js .site-nav {
        display: none;
    }

    .js .menu-toggle {
        display: inline-flex;
    }
}

/* Header over a full-bleed hero photo */
.js .has-hero-overlay .site-header {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    color: var(--color-on-image);
}

html:not(.js) .has-hero-overlay .site-header {
    position: absolute;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    color: var(--color-on-image);
}

.js .has-hero-overlay .site-header.is-scrolled {
    background: var(--color-bg);
    border-bottom-color: var(--color-border);
    color: var(--color-text);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    padding: 0 var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--color-bg);
    color: var(--color-text);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-ui) var(--ease-out);
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.mobile-menu__links {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
}

.mobile-menu__links a {
    display: block;
    padding-block: 0.3rem;
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    line-height: 1.1;
    text-decoration: none;
}

.mobile-menu.is-open .mobile-menu__links li {
    animation: rise var(--dur-content) var(--ease-out) both;
}

.mobile-menu.is-open .mobile-menu__links li:nth-child(2) { animation-delay: 40ms; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) { animation-delay: 80ms; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(4) { animation-delay: 120ms; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(5) { animation-delay: 160ms; }

.mobile-menu__meta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-muted);
}

.mobile-menu__meta a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--color-text);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
}

.hero__eyebrow {
    margin-bottom: 1.5rem;
    color: inherit;
    opacity: 0.85;
}

.hero__title {
    font-size: clamp(3.1rem, 12vw, 9rem);
    max-width: 13ch;
}

.hero__lead {
    margin-top: 1.5rem;
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
}

.hero__content > * {
    animation: rise 900ms var(--ease-out) both;
}

.hero__content > :nth-child(2) { animation-delay: 90ms; }
.hero__content > :nth-child(3) { animation-delay: 180ms; }
.hero__content > :nth-child(4) { animation-delay: 270ms; }

/* Variant A: full-bleed photograph */
.hero--full {
    display: grid;
    align-items: end;
    min-height: 100vh;
    min-height: 100svh;
    background: #1b1915;
    color: var(--color-on-image);
}

.hero--full .hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero--full .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: settle 1600ms var(--ease-out) both;
}

.hero--full .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-scrim);
}

.hero--full .hero__content {
    position: relative;
    width: min(100% - 2 * var(--gutter), var(--content-max));
    margin-inline: auto;
    padding-block: calc(var(--header-h) + 3rem) clamp(3.5rem, 9vw, 7rem);
}

.hero--full .btn--primary {
    background: var(--color-on-image);
    border-color: var(--color-on-image);
    color: #171714;
}

.hero--full .btn--primary:hover {
    background: transparent;
    color: var(--color-on-image);
}

.hero__scroll {
    display: none;
}

/* Variant C: editorial split, image first */
.hero--split {
    display: grid;
}

.hero--split .hero__media img {
    width: 100%;
    height: 62svh;
    object-fit: cover;
}

.hero--split .hero__content {
    width: min(100% - 2 * var(--gutter), var(--content-max));
    margin-inline: auto;
    padding-block: 2.75rem 4rem;
}

/* Variant B: typography only (no image available) */
.hero--type .hero__content {
    width: min(100% - 2 * var(--gutter), var(--content-max));
    margin-inline: auto;
    padding-block: clamp(4rem, 14vw, 10rem) clamp(3.5rem, 9vw, 7rem);
    border-bottom: 1px solid var(--color-border);
}

.hero--type .hero__title {
    max-width: 15ch;
}

/* ---------- At a glance ---------- */
.glance {
    border-bottom: 1px solid var(--color-border);
}

.glance__grid {
    display: grid;
    gap: 2.25rem;
    padding-block: 3rem;
}

.glance__item .label {
    margin-bottom: 0.8rem;
}

.glance__value {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: var(--display-tracking);
}

.glance__value a {
    text-decoration: none;
}

.glance__item .link-arrow {
    margin-top: 0.35rem;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.status::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}

.status--open {
    color: var(--color-open);
}

/* ---------- Section heads ---------- */
.section-head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head .lead {
    color: var(--color-muted);
}

/* ---------- Menu index on the start page ---------- */
.menu-index {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-strong-border);
}

.menu-index a {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    transition: padding-left var(--dur-ui) var(--ease-out), color var(--dur-micro) var(--ease-out);
}

.menu-index a:hover {
    padding-left: 0.6rem;
    color: var(--color-accent);
}

.menu-index__num {
    font-size: 0.78rem;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

.menu-index__name {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    line-height: 1.05;
}

.menu-index__count {
    font-size: 0.8rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.menu-index + .menu-cta,
.menu-files-teaser + .menu-cta {
    margin-top: 2.5rem;
}

.menu-files-teaser {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- Featured dishes ---------- */
.features {
    display: grid;
    gap: clamp(4rem, 9vw, 8rem);
}

.feature {
    display: grid;
    gap: 1.75rem;
}

.feature__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.feature__name {
    font-size: clamp(2.2rem, 5.5vw, 4.25rem);
}

.feature__desc {
    margin-top: 1rem;
    color: var(--color-muted);
    max-width: 30rem;
}

.feature__price {
    display: block;
    margin-top: 1.25rem;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}

.feature-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.feature-list__name {
    font-family: var(--font-display);
    font-size: var(--dish-name-size);
    font-weight: var(--dish-name-weight);
}

/* ---------- About ---------- */
.about__grid {
    display: grid;
    gap: 3rem;
}

.about__media {
    position: relative;
}

.about__media img {
    width: 100%;
    object-fit: cover;
}

.about__media img:first-child {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-feature);
}

.about__media img + img {
    width: 52%;
    aspect-ratio: 1;
    margin: -22% 0 0 auto;
    position: relative;
    border: 0.6rem solid var(--color-bg);
}

.about__title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    margin-bottom: 1.75rem;
}

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(9rem, 30vw, 16rem);
    grid-auto-flow: dense;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery li:nth-child(3n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--color-surface);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.035);
}

/* ---------- Lightbox ---------- */
.lightbox {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(13, 12, 11, 0.95);
    color: #f5f2eb;
}

.lightbox::backdrop {
    background: rgba(13, 12, 11, 0.95);
}

.lightbox[open] {
    display: grid;
    grid-template-rows: auto 1fr auto;
    animation: fade var(--dur-ui) var(--ease-out);
}

.lightbox__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem var(--gutter);
}

.lightbox__figure {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 0 var(--gutter);
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100dvh - 10rem);
    object-fit: contain;
}

.lightbox__caption {
    min-height: 3rem;
    padding: 0.75rem var(--gutter) 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.85;
}

.lightbox__btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.5rem;
    border: 0;
    background: none;
    color: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}

.lightbox__nav {
    display: flex;
    gap: 1rem;
}

/* ---------- External embeds (map, video) ---------- */
.embed {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 1.5rem;
    background: var(--color-surface);
    text-align: center;
}

.embed--map {
    aspect-ratio: 4 / 3;
}

.embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed__title {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.embed__note {
    max-width: 28rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.video-grid {
    display: grid;
    gap: 2rem;
}

/* ---------- Contact ---------- */
.contact__grid {
    display: grid;
    gap: 3.5rem;
}

.contact__title {
    font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.contact__text {
    margin-top: 1.5rem;
    color: var(--color-muted);
}

.contact__block {
    margin-top: 2.25rem;
}

.contact__block .label {
    margin-bottom: 0.6rem;
}

.contact__big {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: var(--display-tracking);
    text-decoration: none;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

.hours {
    margin-top: 0.4rem;
    border-top: 1px solid var(--color-border);
}

.hours__row {
    display: grid;
    grid-template-columns: minmax(6.5rem, 9rem) 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--color-border);
    font-variant-numeric: tabular-nums;
}

.hours__row dt {
    color: var(--color-muted);
}

.hours__row--today {
    font-weight: 600;
}

.hours__row--today dt {
    color: var(--color-text);
}

.hours__note {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ---------- Page head (sub pages) ---------- */
.page-head {
    padding-block: clamp(3.5rem, 10vw, 7rem) clamp(2rem, 5vw, 3.5rem);
}

.page-title {
    font-size: clamp(3.1rem, 11vw, 8rem);
}

.page-head .lead {
    margin-top: 1.5rem;
    color: var(--color-muted);
}

.legal {
    padding-bottom: var(--space-xl);
}

.legal__facts {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.legal__facts strong {
    font-weight: 600;
}

/* ---------- Menu page ---------- */
.menu-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    background: var(--color-bg);
    border-block: 1px solid var(--color-border);
}

.menu-nav ul {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    list-style: none;
    width: min(100% - 2 * var(--gutter), var(--content-max));
    margin: 0 auto;
    padding: 0;
}

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

.menu-nav a {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-muted);
    border-bottom: 1px solid transparent;
    transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.menu-nav a:hover,
.menu-nav a.is-active {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

.menu-filter {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 2rem;
}

.js .menu-filter {
    display: flex;
}

.menu-filter .label {
    margin-right: 0.5rem;
}

.chip {
    min-height: 44px;
    padding: 0.45rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: none;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.chip:hover {
    border-color: var(--color-text);
}

.chip[aria-pressed="true"] {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg);
}

.menu-empty-filter {
    padding-top: 2rem;
    color: var(--color-muted);
}

.menu-category {
    padding-top: clamp(3.5rem, 8vw, 6rem);
}

.menu-category[hidden] {
    display: none;
}

.menu-category__head {
    display: grid;
    gap: 0.4rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-strong-border);
}

.menu-category__num {
    font-size: 0.78rem;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

.menu-category__title {
    font-size: clamp(2.2rem, 6vw, 3.75rem);
}

.menu-category__desc {
    margin-top: 0.4rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dish {
    display: flex;
    gap: 1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.dish[hidden] {
    display: none;
}

.dish__image {
    flex: none;
    width: 4.75rem;
    height: 4.75rem;
    overflow: hidden;
    background: var(--color-surface);
}

.dish__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish__body {
    flex: 1;
    min-width: 0;
}

.dish__line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.dish__name {
    font-family: var(--font-display);
    font-size: var(--dish-name-size);
    font-weight: var(--dish-name-weight);
    letter-spacing: var(--display-tracking);
    line-height: 1.2;
}

.dish__codes {
    margin-left: 0.3rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    vertical-align: super;
    white-space: nowrap;
}

.dish__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
}

.dish__prices small {
    margin-right: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.dish__desc {
    margin-top: 0.3rem;
    max-width: 36rem;
    color: var(--color-muted);
}

.dish__sub {
    margin-top: 0.2rem;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-muted);
}

.dish__diet {
    margin-top: 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.legend {
    display: grid;
    gap: 2.5rem;
    margin-top: clamp(4rem, 9vw, 6rem);
    padding-top: 2rem;
    border-top: 1px solid var(--color-strong-border);
}

.legend__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.legend dl {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0.35rem 0.75rem;
    margin-top: 1rem;
    font-size: 0.92rem;
}

.legend dt {
    font-weight: 600;
}

.legend dd {
    color: var(--color-muted);
}

.menu-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.menu-files {
    padding-top: clamp(3.5rem, 8vw, 6rem);
}

.menu-file {
    padding-block: 2rem;
    border-top: 1px solid var(--color-border);
}

.menu-file__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.menu-file__title {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: 1.75rem;
    line-height: 1.15;
}

.menu-file__frame {
    display: none;
    width: 100%;
    height: 88vh;
    margin-top: 1.5rem;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.menu-file__image {
    display: block;
    margin-top: 1.5rem;
}

.menu-file__image img {
    width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
    padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem;
    background: var(--color-surface);
}

.footer__name {
    font-size: clamp(2.2rem, 6vw, 4rem);
}

.footer__grid {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
    font-size: 0.95rem;
}

.footer__grid a {
    text-decoration: none;
}

.footer__grid a:hover {
    text-decoration: underline;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__list a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
}

.footer__text {
    margin-top: 2.5rem;
    max-width: var(--text-max);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.75rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.82rem;
    color: var(--color-muted);
}

.footer__legal a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.footer__credit {
    margin-left: auto;
}

/* ---------- Mobile action bar ---------- */
.action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--color-text);
    color: var(--color-bg);
    transition: transform var(--dur-ui) var(--ease-out);
}

.action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

.action-bar a + a {
    border-left: 1px solid color-mix(in srgb, var(--color-bg) 20%, transparent);
}

.js .action-bar.is-hidden {
    transform: translateY(110%);
}

.has-action-bar {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom));
}

/* ---------- Maintenance / error ---------- */
.notice {
    display: grid;
    align-content: center;
    min-height: 70vh;
    padding-block: var(--space-xl);
}

.notice__title {
    font-size: clamp(2.6rem, 8vw, 5.5rem);
    max-width: 14ch;
}

.notice p {
    margin-top: 1.5rem;
    max-width: var(--text-max);
    color: var(--color-muted);
}

.notice .btn {
    margin-top: 2.5rem;
    justify-self: start;
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--dur-content) var(--ease-out), transform var(--dur-content) var(--ease-out);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes settle {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---------- Tablet (640px+) ---------- */
@media (min-width: 640px) {
    .glance__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        gap: 0.75rem;
    }

    .video-grid--multi {
        grid-template-columns: repeat(2, 1fr);
    }

    .dish__image {
        width: 5.5rem;
        height: 5.5rem;
    }

    .legend {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Up to tablet: action bar visible ---------- */
@media (min-width: 768px) {
    .action-bar {
        display: none;
    }

    .has-action-bar {
        padding-bottom: 0;
    }

    .embed--map {
        aspect-ratio: 16 / 11;
    }
}

/* ---------- Laptop (1024px+) ---------- */
@media (min-width: 1024px) {
    :root {
        --header-h: 5rem;
    }

    .brand {
        font-size: 1.6rem;
    }

    .hero__scroll {
        position: absolute;
        right: var(--gutter);
        bottom: 2.5rem;
        display: block;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        text-decoration: none;
        writing-mode: vertical-rl;
        opacity: 0.75;
    }

    .hero--split {
        grid-template-columns: repeat(12, 1fr);
        align-items: end;
        min-height: calc(100svh - var(--header-h));
    }

    .hero--split .hero__media {
        grid-column: 1 / span 7;
        grid-row: 1;
        align-self: stretch;
    }

    .hero--split .hero__media img {
        height: 100%;
        min-height: 36rem;
    }

    .hero--split .hero__content {
        grid-column: 7 / span 6;
        grid-row: 1;
        width: auto;
        margin: 0;
        padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem) 0;
        position: relative;
    }

    .hero--split .hero__title {
        margin-left: -0.08em;
    }

    .glance__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        padding-block: 3.75rem;
    }

    .section-head--split {
        grid-template-columns: 7fr 5fr;
        align-items: end;
        gap: 3rem;
    }

    .feature {
        grid-template-columns: repeat(12, 1fr);
        align-items: end;
        gap: 2rem;
    }

    .feature__media {
        grid-column: 1 / span 7;
    }

    .feature__text {
        grid-column: 9 / span 4;
        padding-bottom: 2rem;
    }

    .feature:nth-child(even) .feature__media {
        grid-column: 6 / span 7;
        grid-row: 1;
    }

    .feature:nth-child(even) .feature__text {
        grid-column: 1 / span 4;
        grid-row: 1;
    }

    .feature__media img {
        aspect-ratio: 5 / 4;
    }

    .about__grid {
        grid-template-columns: repeat(12, 1fr);
        align-items: center;
    }

    .about__media {
        grid-column: 1 / span 6;
    }

    .about__text {
        grid-column: 8 / span 5;
    }

    .about__grid--text-only .about__text {
        grid-column: 3 / span 8;
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: clamp(10rem, 15vw, 16rem);
    }

    .gallery li:nth-child(3n + 1) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery li:nth-child(6n + 1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery li:nth-child(6n + 4) {
        grid-row: span 2;
    }

    .contact__grid {
        grid-template-columns: 5fr 7fr;
        gap: 5rem;
        align-items: start;
    }

    .contact__grid--single {
        grid-template-columns: minmax(0, 46rem);
    }

    .menu-category {
        display: grid;
        grid-template-columns: 4fr 8fr;
        gap: 4rem;
    }

    .menu-category__head {
        position: sticky;
        top: calc(var(--header-h) + 5rem);
        align-self: start;
        border-bottom: 0;
        border-top: 1px solid var(--color-strong-border);
        padding-top: 1.25rem;
    }

    .menu-list {
        border-top: 1px solid var(--color-border);
    }

    .menu-file__frame {
        display: block;
    }

    .legend {
        grid-template-columns: 4fr 4fr 4fr;
        gap: 4rem;
    }

    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Large screens (1440px+) ---------- */
@media (min-width: 1440px) {
    body {
        font-size: 1.125rem;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Print (menu) ---------- */
@media print {
    .site-header,
    .menu-nav,
    .menu-filter,
    .action-bar,
    .site-footer,
    .menu-file__frame {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        padding: 0;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Small additions ---------- */
.glance__value span {
    display: block;
}

.section--flush-top {
    padding-top: 0;
}

.hours__row dd span {
    display: block;
}

.dish__prices span {
    display: block;
}

address {
    font-style: normal;
}
