/* Menu page template · concept "Marea" (see docs/DESIGN-NOTES.md)
   Colors/fonts are tokens: a restaurant can override any of them via SITE.theme in data/site.js. */

/* Fonts are subset to the characters this site uses (all 10 languages). Re-run tools/subset-fonts.mjs after big text changes. */
@font-face { font-family: "Bricolage"; src: url(../fonts/bricolage-grotesque-subset.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(../fonts/atkinson-hyperlegible-next-subset.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
/* Metric-matched fallbacks so the swap doesn't shift the layout */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 26%; }
@font-face { font-family: "Atkinson Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 95%; descent-override: 24%; }

:root {
  color-scheme: light dark;
  --paper: #FAFBFC;
  --foam: #E8F4F6;
  --ink: #00477A;
  --ink-deep: #062B4A;
  --text: #0B2238;
  --muted: #3D5670;
  --line: rgba(0, 71, 122, .12);
  --tide: #2EC4D0;
  --tide-ink: #00737F;
  --sun: #FF6B3D;
  --sun-ink: #B93A12;
  --on-sun: #062B4A;
  --open: #1F7A45;
  --scrim: 6, 43, 74;
  --shadow: 0 8px 24px rgba(6, 43, 74, .12);
  --shadow-lg: 0 24px 60px rgba(6, 43, 74, .22);

  --display: "Bricolage", "Bricolage Fallback", sans-serif;
  --body: "Atkinson", "Atkinson Fallback", sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);

  --gutter: 20px;
  --max: 1200px;
  --radius: 14px;
  --bar-h: 56px;
  --rail-h: 56px;
  --dock-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #061A2C; --foam: #0B2740; --ink: #7CC4F0; --ink-deep: #EEF4F8; --text: #EEF4F8; --muted: #A9BDCD;
    --line: rgba(238, 244, 248, .12); --tide: #3FD0DB; --tide-ink: #3FD0DB; --sun: #FF8A5C; --sun-ink: #FF8A5C;
    --on-sun: #062B4A; --open: #5BD08A; --shadow: 0 8px 24px rgba(0, 0, 0, .35); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  }
  body { line-height: 1.55; letter-spacing: .01em; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--safe-t) + var(--bar-h) + var(--rail-h) + 8px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
button, a, .chip { touch-action: manipulation; -webkit-touch-callout: none; }
button, .chip, .dock a { user-select: none; -webkit-user-select: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; color: var(--ink-deep); }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--tide); color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--tide-ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: calc(var(--safe-t) + 8px); z-index: 100; padding: 10px 16px; background: var(--ink-deep); color: var(--paper); border-radius: 999px; transform: translateY(-200%); transition: transform .2s var(--ease-out); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.logo { display: block; aspect-ratio: 269.83 / 106.22; background: currentColor; -webkit-mask: url(../brand/logo.svg) center / contain no-repeat; mask: url(../brand/logo.svg) center / contain no-repeat; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flag { width: 24px; height: 16px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(6, 43, 74, .12); overflow: hidden; }

/* wave edge (the "tide line"), drawn from the logo's A-curl */
.wave { position: absolute; left: 0; right: 0; height: clamp(28px, 6vw, 72px); width: 100%; color: var(--paper); pointer-events: none; }
.wave path { fill: currentColor; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: scaleY(-1); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 .9375rem/1 var(--body); letter-spacing: .01em; text-decoration: none; transition: transform .16s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--sun { background: var(--sun); color: var(--on-sun); }
.btn--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ink { background: var(--ink-deep); color: var(--paper); }
.btn--soft { background: var(--foam); color: var(--ink-deep); }
@media (hover: hover) and (pointer: fine) {
  .btn--sun:hover { background: color-mix(in srgb, var(--sun) 88%, white); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
  .btn--ink:hover { background: color-mix(in srgb, var(--ink-deep) 85%, var(--ink)); }
  .btn--soft:hover { background: color-mix(in srgb, var(--foam) 80%, var(--tide)); }
}

/* ---------- intro (once per session) ---------- */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.intro__inner { display: grid; justify-items: center; gap: 22px; }
.intro .logo { width: min(64vw, 300px); }
.intro__line { width: min(70vw, 340px); height: 22px; overflow: visible; }
.intro__line path { fill: none; stroke: var(--tide); stroke-width: 3; stroke-linecap: round; }
.intro .wave { color: var(--paper); bottom: auto; top: calc(100% - 1px); transform: none; }
html:not(.intro-on) .intro { display: none; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: var(--safe-t); color: var(--paper); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.bar__in { height: var(--bar-h); display: flex; align-items: center; gap: 8px; width: min(100% - 24px, var(--max)); margin-inline: auto; }
.bar .logo { width: 92px; margin-right: auto; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.bar__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; border-radius: 999px; font: 600 .875rem/1 var(--body); transition: background-color .2s var(--ease-out), transform .16s var(--ease-out); }
.bar__btn:active { transform: scale(.94); }
html:not(.is-solid) .bar__btn { background: rgba(6, 43, 74, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.is-solid .bar { background: color-mix(in srgb, var(--paper) 95%, transparent); color: var(--ink-deep); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.is-solid .bar .logo { opacity: 1; transform: none; color: var(--ink); }
@media (prefers-reduced-transparency: reduce) { html:not(.is-solid) .bar__btn { background: rgba(6, 43, 74, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.is-solid .bar { background: var(--paper); backdrop-filter: none; } }
@media (hover: hover) and (pointer: fine) { .bar__btn:hover { background: rgba(127, 127, 127, .14); } }

/* search field (expands inside the bar) */
.search { position: absolute; inset: var(--safe-t) 0 auto; height: var(--bar-h); display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--paper); color: var(--text); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s; }
.searching .search { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); }
.search__box { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--foam); max-width: 720px; margin-inline: auto; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 16px/1 var(--body); color: var(--text); outline: none; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 82svh; display: grid; align-items: end; color: #fff; overflow: clip; isolation: isolate; background: var(--ink-deep); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: contents; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 40%; }
.js .hero__media img { animation: heroIn 1.6s var(--ease-expo) both; }
@keyframes heroIn { from { transform: scale(1.08); } to { transform: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--scrim), .5) 0%, rgba(var(--scrim), .18) 18%, rgba(var(--scrim), .42) 40%, rgba(var(--scrim), .72) 62%, rgba(var(--scrim), .94) 100%); }
.hero__content { padding: calc(var(--safe-t) + 96px) 0 clamp(64px, 12vw, 120px); display: grid; gap: 18px; justify-items: start; }
.hero__brand { position: relative; padding: clamp(16px, 4.5vw, 24px) clamp(18px, 5vw, 28px) clamp(18px, 5vw, 26px); border-radius: 20px; background: #FAFBFC; box-shadow: 0 18px 50px rgba(6, 43, 74, .35); }
.hero__brand::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9px; height: 3px; border-radius: 3px; background: var(--tide); }
.hero .logo { width: min(62vw, 300px); color: #00477A; }
.hero__line { font: 700 clamp(1.75rem, 7.4vw, 3.25rem)/1.02 var(--display); font-stretch: 88%; letter-spacing: -.028em; color: #fff; max-width: 15ch; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 600 .9375rem/1.3 var(--body); color: rgba(255, 255, 255, .92); }
.hero__meta a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.stars { --v: 4; position: relative; display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1; color: rgba(255, 255, 255, .35); }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--v) / 5 * 100%); overflow: hidden; color: #FFC24B; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.js .hero [data-rise] { opacity: 0; transform: translateY(16px); }
.hero.is-in [data-rise] { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.table .hero { min-height: 46svh; }
.table .hero__ctas, .table .hero__line { display: none; }
.table .hero__content { padding-bottom: 56px; }

/* ---------- menu: category rail ---------- */
.menu { position: relative; padding-bottom: 32px; }
.rail { position: sticky; top: calc(var(--safe-t) + var(--bar-h)); z-index: 30; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out); }
.is-solid .rail { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .rail { background: var(--paper); backdrop-filter: none; } }
.rail__in { display: flex; align-items: center; gap: 6px; width: min(100%, var(--max)); margin-inline: auto; padding-left: 12px; height: var(--rail-h); }
.rail__all { flex: none; display: grid; place-items: center; width: 44px; height: 40px; border-radius: 999px; background: var(--foam); color: var(--ink-deep); transition: transform .16s var(--ease-out); }
.rail__all:active { transform: scale(.94); }
.rail__scroll { position: relative; flex: 1; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 28px), transparent); }
.rail__scroll::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 2px; padding: 0 28px 0 10px; width: max-content; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font: 600 .9375rem/1 var(--body); letter-spacing: .01em; color: var(--muted); white-space: nowrap; scroll-snap-align: center; text-decoration: none; transition: color .2s var(--ease-out); }
/* The highlighted copy sits on top and is clipped to the active chip (moves like a sliding pill) */
.chips--hi { position: absolute; top: 0; left: 0; pointer-events: none; clip-path: inset(0 100% 0 0 round 999px); transition: clip-path .24s var(--ease-in-out); }
.chips--hi .chip { background: var(--tide); color: var(--ink-deep); }
.chip.is-dim { opacity: .35; }
@media (hover: hover) and (pointer: fine) { .chip:hover { color: var(--ink-deep); } }

/* filter summary under the rail while searching */
.results { display: none; padding: 14px 0 0; color: var(--muted); font-size: .9375rem; }
.searching-active .results { display: block; }

/* ---------- menu: categories ---------- */
.cat { position: relative; padding: 48px 0 8px; }
.cat[hidden] { display: none; }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cat__title { font-size: clamp(2.125rem, 9vw, 4rem); font-stretch: 85%; line-height: 1.05; letter-spacing: -.025em; color: var(--ink); }
.cat__count { flex: none; font: 600 .875rem/1 var(--body); color: var(--muted); }
.js .cat__title span { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(.3em); }
.cat.is-seen .cat__title span { clip-path: inset(-.2em -.1em -.25em); transform: none; transition: clip-path .6s var(--ease-out), transform .6s var(--ease-out); }
.cat__photo { position: relative; margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--foam) center / cover no-repeat; }
.cat__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transform-origin: 50% 60%; }
.no-gsap .cat__photo img { transform: none; }
.cat__note { margin: -6px 0 14px; color: var(--muted); font-size: .9375rem; }
.group__title { display: flex; align-items: center; gap: 12px; margin: 26px 0 4px; font: 700 1.125rem/1.2 var(--display); color: var(--tide-ink); letter-spacing: -.01em; }
.group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dishes { list-style: none; margin: 0; padding: 0; }
.dish { display: grid; grid-template-columns: 1fr auto 44px; column-gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.dish:first-child { border-top: 0; }
.dish[hidden] { display: none; }
.dish__main { min-width: 0; }
.dish__name { font: 600 1.1875rem/1.25 var(--display); letter-spacing: -.01em; color: var(--text); hyphens: auto; overflow-wrap: anywhere; }
.dish__n { font: 600 .75rem/1 var(--body); color: var(--muted); letter-spacing: .02em; margin-right: 6px; font-variant-numeric: tabular-nums; vertical-align: .18em; }
.dish__desc { margin-top: 4px; color: var(--muted); font-size: 1rem; line-height: 1.45; hyphens: auto; }
.dish__detail { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--foam); color: var(--ink-deep); font: 600 .8125rem/1.3 var(--body); letter-spacing: .01em; }
.dish__price { padding-top: 1px; font: 700 1.125rem/1.25 var(--display); color: var(--ink-deep); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.heart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -8px 0 0; border-radius: 999px; color: var(--muted); transition: transform .1s var(--ease-out), color .2s var(--ease-out); }
.heart:active { transform: scale(.88); }
.heart svg { width: 22px; height: 22px; }
.heart .h-line { fill: none; stroke: currentColor; stroke-width: 1.8; }
.heart .h-fill { fill: var(--sun); clip-path: circle(0 at 50% 55%); transition: clip-path .24s var(--ease-out); }
.heart[aria-pressed="true"] { color: var(--sun-ink); }
.heart[aria-pressed="true"] .h-fill { clip-path: circle(75% at 50% 55%); }
mark { background: color-mix(in srgb, var(--tide) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

.options { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.options li { padding: 9px 14px; border-radius: 999px; background: var(--foam); color: var(--ink-deep); font: 600 .9375rem/1.2 var(--body); }
.options-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; color: var(--muted); font-weight: 600; }
.options-head strong { font: 700 1.125rem/1 var(--display); color: var(--ink-deep); }

.menu__foot { display: grid; gap: 18px; justify-items: start; padding: 36px 0 8px; color: var(--muted); font-size: .9375rem; }
.empty { display: none; padding: 48px 0; text-align: center; color: var(--muted); }
.empty strong { display: block; margin-bottom: 14px; font: 700 1.375rem/1.2 var(--display); color: var(--ink-deep); }
.no-results .empty { display: block; }

/* ---------- story ---------- */
.story { position: relative; margin-top: 56px; padding: clamp(96px, 16vw, 180px) 0 clamp(80px, 12vw, 140px); color: #fff; background: var(--ink-deep); overflow: clip; isolation: isolate; }
.story__bg { position: absolute; inset: 0; z-index: -2; }
.story__bg img { width: 100%; height: 120%; object-fit: cover; }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim), .25), rgba(var(--scrim), .82) 70%); }
.story__grid { display: grid; gap: 28px; }
.story__year { font: 800 clamp(5.5rem, 30vw, 13rem)/.86 var(--display); font-stretch: 80%; letter-spacing: -.02em; color: #fff; }
.story__year small { display: block; font: 600 1rem/1.4 var(--body); letter-spacing: .02em; margin-bottom: 10px; color: rgba(255, 255, 255, .85); }
.story__text { font: 500 clamp(1.1875rem, 4.6vw, 1.5rem)/1.45 var(--body); max-width: 36ch; color: rgba(255, 255, 255, .95); }
.story__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 8px; }
.story__photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .08) center / cover; }
.story__photos figure:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.story__photos figure:not(:first-child) { aspect-ratio: 4 / 3; }
.story__photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- guests gallery ---------- */
.guests { padding: 72px 0 24px; }
.sec-title { font-size: clamp(2rem, 8vw, 3.5rem); font-stretch: 86%; line-height: 1.05; letter-spacing: -.025em; color: var(--ink); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 340px); gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 22px var(--gutter) 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip button { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--foam) center / cover; transition: transform .16s var(--ease-out); }
.strip button:nth-child(3n+2) { aspect-ratio: 1; align-self: end; }
.strip button:active { transform: scale(.98); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reviews ---------- */
.reviews { padding: 56px 0 24px; }
.rating { display: grid; gap: 22px; padding: 28px; border-radius: 22px; background: var(--foam); }
.rating__top { display: flex; align-items: center; gap: 18px; }
.rating__num { font: 800 clamp(4rem, 18vw, 6rem)/.9 var(--display); letter-spacing: -.04em; color: var(--ink-deep); }
.rating .stars { color: color-mix(in srgb, var(--ink) 25%, transparent); font-size: 1.375rem; }
.rating .stars::after { color: #F2A100; }
.rating__count { margin-top: 6px; color: var(--muted); font-weight: 600; }
.quote { margin: 0; font: 600 clamp(1.25rem, 5vw, 1.625rem)/1.35 var(--display); letter-spacing: -.01em; color: var(--ink-deep); max-width: 30ch; }
.quote__src { display: block; margin-top: 10px; font: 600 .875rem/1 var(--body); color: var(--muted); }
.rating__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- find us ---------- */
.findus { padding: 56px 0 40px; }
.findus__card { display: grid; border-radius: 22px; overflow: hidden; background: var(--foam); }
.findus__map { position: relative; aspect-ratio: 16 / 10; background: var(--ink-deep) center / cover; }
.findus__map img { width: 100%; height: 100%; object-fit: cover; }
.findus__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.findus__pin { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(var(--scrim), .25); color: #fff; }
.findus__pin > span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(var(--scrim), .8); font-weight: 600; }
.findus__body { display: grid; gap: 16px; padding: 24px; }
.findus__addr { font-size: 1.0625rem; color: var(--text); }
.findus__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { display: grid; gap: 4px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.hours .is-today { font-weight: 700; color: var(--ink-deep); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status.is-open { color: var(--open); }
.status.is-closed { color: var(--sun-ink); }
.hero .status.is-open { color: #7BE3A5; }
.hero .status.is-closed { color: #FFB59C; }

/* ---------- footer ---------- */
.foot { position: relative; margin-top: 48px; padding: clamp(72px, 12vw, 120px) 0 calc(var(--dock-h) + var(--safe-b) + 48px); background: var(--ink-deep); color: rgba(255, 255, 255, .86); }
.foot .wave { color: var(--paper); }
.foot__grid { display: grid; gap: 28px; }
.foot .logo { width: 180px; color: #fff; }
.foot a { text-decoration: none; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); font-weight: 600; }
.foot__small { display: grid; gap: 6px; font-size: .875rem; color: rgba(255, 255, 255, .62); }
@media (prefers-color-scheme: dark) { .foot { background: #030F1A; } }

/* ---------- bottom dock ---------- */
.dock { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 12px); z-index: 45; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--ink-deep); color: #fff; box-shadow: var(--shadow-lg); transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); }
@media (prefers-color-scheme: dark) { .dock { background: #0E3352; } }
.dock a, .dock button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; min-width: 50px; padding: 0 16px; border-radius: 999px; font: 600 .9375rem/1 var(--body); text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease-out), transform .12s var(--ease-out); }
.dock a:active, .dock button:active { transform: scale(.95); }
.dock .is-main { background: var(--sun); color: var(--on-sun); }
.dock__picks { position: relative; }
.dock__picks[hidden] { display: none; }
.dock__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--sun); color: var(--on-sun); font-size: .8125rem; font-weight: 800; overflow: hidden; }
.dock__count span { display: block; }
.dock .lbl-sm { display: none; }
@media (max-width: 380px) { .dock a, .dock button { padding: 0 12px; } .dock .lbl-lg { display: none; } .dock .lbl-sm { display: inline; } }
@media (hover: hover) and (pointer: fine) { .dock a:hover, .dock button:hover { background: rgba(255, 255, 255, .1); } .dock .is-main:hover { background: color-mix(in srgb, var(--sun) 88%, white); } }
.dock.is-new { animation: dockIn .3s var(--ease-drawer); }
@keyframes dockIn { from { transform: translateX(-50%) scaleX(.94); } }
.fly { position: fixed; z-index: 80; width: 22px; height: 22px; pointer-events: none; color: var(--sun); }

/* ---------- sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s .24s; }
.sheet.is-open { visibility: visible; transition: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(3, 15, 26, .5); opacity: 0; transition: opacity .24s var(--ease-out); }
.sheet.is-open .sheet__scrim { opacity: 1; transition-duration: .42s; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: min(88dvh, 820px); display: flex; flex-direction: column; background: var(--paper); color: var(--text); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); transform: translateY(100%); transition: transform .24s var(--ease-out); padding-bottom: var(--safe-b); overscroll-behavior: contain; }
.sheet.is-open .sheet__panel { transform: translateY(var(--drag, 0px)); transition: transform .42s var(--ease-drawer); }
.sheet.is-dragging .sheet__panel { transition: none; }
.sheet__grab { flex: none; display: grid; place-items: center; height: 26px; touch-action: none; cursor: grab; }
.sheet__grab::before { content: ""; width: 40px; height: 5px; border-radius: 99px; background: var(--line); background: color-mix(in srgb, var(--muted) 40%, transparent); }
.sheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px 12px; }
.sheet__head h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--foam); color: var(--ink-deep); }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 24px; }
@media (min-width: 720px) {
  .sheet__panel { left: 50%; right: auto; bottom: 50%; width: min(560px, calc(100% - 48px)); border-radius: 22px; transform: translate(-50%, calc(50% + 40px)); opacity: 0; transition: transform .24s var(--ease-out), opacity .2s var(--ease-out); }
  .sheet.is-open .sheet__panel { transform: translate(-50%, 50%); opacity: 1; transition: transform .42s var(--ease-drawer), opacity .3s var(--ease-out); }
  .sheet__grab { display: none; }
  .sheet__head { padding-top: 20px; }
}

.langs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.langs button { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 14px; border-radius: 14px; font-size: 1.0625rem; text-align: left; transition: background-color .15s var(--ease-out); }
.langs button[aria-current="true"] { background: var(--foam); font-weight: 700; color: var(--ink-deep); }
.langs button[aria-current="true"]::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--tide); }
@media (hover: hover) and (pointer: fine) { .langs button:hover { background: var(--foam); } }

.catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.catgrid button { position: relative; display: grid; align-content: end; min-height: 104px; padding: 12px; border-radius: var(--radius); overflow: hidden; text-align: left; color: #fff; background: var(--ink-deep) center / cover; isolation: isolate; transition: transform .16s var(--ease-out); }
.catgrid button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim), .05), rgba(var(--scrim), .8)); }
.catgrid button:active { transform: scale(.97); }
.catgrid strong { font: 700 1.0625rem/1.15 var(--display); }
.catgrid small { font-size: .8125rem; opacity: .85; }
.catgrid .no-photo { background: var(--foam); color: var(--ink-deep); }
.catgrid .no-photo::before { display: none; }

.picks { list-style: none; margin: 0; padding: 0; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.pick:first-child { border-top: 0; }
.pick__name { font: 700 1.375rem/1.2 var(--display); color: var(--ink-deep); letter-spacing: -.01em; }
.pick__alt { color: var(--muted); font-size: .9375rem; }
.pick__n { font: 700 .875rem/1 var(--body); color: var(--tide-ink); margin-right: 6px; }
.pick__price { font: 700 1.125rem/1.2 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: var(--foam); justify-self: end; grid-column: 2; }
.stepper button { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; font-size: 1.25rem; color: var(--ink-deep); }
.stepper button:active { background: rgba(127, 127, 127, .18); }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.picks__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; border-top: 2px solid var(--ink-deep); font: 700 1.25rem/1 var(--display); color: var(--ink-deep); }
.picks__hint { margin: 2px 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--foam); color: var(--ink-deep); font-weight: 600; }
.picks__empty { padding: 32px 0; color: var(--muted); text-align: center; font-size: 1.0625rem; }
.picks__tax { margin-top: 8px; font-size: .8125rem; color: var(--muted); }

/* ---------- lightbox / printed menu ---------- */
.lb { position: fixed; inset: 0; z-index: 75; background: rgba(3, 15, 26, .94); opacity: 0; visibility: hidden; transition: opacity .24s var(--ease-out), visibility 0s .24s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
.lb__track { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; padding: calc(var(--safe-t) + 64px) 12px calc(var(--safe-b) + 64px); scroll-snap-align: center; }
.lb__slide img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; transform: scale(.96); transition: transform .35s var(--ease-out); }
.lb.is-open .lb__slide img { transform: none; }
.lb--pages .lb__track { flex-direction: column; overflow-x: hidden; overflow-y: auto; scroll-snap-type: none; padding: calc(var(--safe-t) + 64px) 12px calc(var(--safe-b) + 24px); gap: 12px; align-items: center; }
.lb--pages .lb__slide { flex: none; height: auto; padding: 0; width: min(100%, 900px); }
.lb--pages .lb__slide img { width: 100%; max-height: none; }
.lb__x { position: absolute; top: calc(var(--safe-t) + 12px); right: 12px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
.lb__count { position: absolute; top: calc(var(--safe-t) + 26px); left: 20px; color: rgba(255, 255, 255, .8); font-weight: 600; font-variant-numeric: tabular-nums; }

/* language swap: brief blur so text changes don't jump */
.swap-out main, .swap-out .dock { opacity: 0; filter: blur(2px); transition: opacity .12s var(--ease-out), filter .12s var(--ease-out); }
.swap-in main, .swap-in .dock { transition: opacity .18s var(--ease-out), filter .18s var(--ease-out); }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .dish { padding: 18px 0; }
  .dish__name { font-size: 1.25rem; }
  .catgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --bar-h: 64px; }
  .hero { min-height: 92svh; }
  .hero__content { padding-bottom: 140px; }
  .hero .logo { width: 340px; }
  .hero__line { font-size: clamp(3.5rem, 5.4vw, 5.5rem); max-width: 14ch; }
  #cats, .menu .results, .menu .empty, .menu__foot { max-width: 920px; margin-inline: auto; }
  .story__grid { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
  .story__photos { grid-column: 1 / -1; grid-template-columns: 2fr 1fr 1fr; }
  .story__photos figure:first-child { grid-row: auto; aspect-ratio: 16 / 9; }
  .story__photos figure:not(:first-child) { aspect-ratio: auto; }
  .reviews .wrap, .findus .wrap { max-width: 1000px; }
  .rating { grid-template-columns: auto 1fr; align-items: center; column-gap: 48px; padding: 40px 48px; }
  .rating__ctas { grid-column: 1 / -1; }
  .findus__card { grid-template-columns: 1.3fr 1fr; }
  .findus__map { aspect-ratio: auto; min-height: 360px; }
  .findus__body { padding: 36px; align-content: center; }
  .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .strip { grid-auto-columns: 300px; padding-inline: max(var(--gutter), (100% - var(--max)) / 2); }
}

/* ---------- motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__media img { animation: none; }
  .js .hero [data-rise] { opacity: 1; transform: none; }
  .js .cat__title span { clip-path: none; transform: none; }
  .cat__photo img { transform: none; }
  .chips--hi { transition: none; }
  .sheet__panel, .sheet.is-open .sheet__panel { transform: none !important; opacity: 0; transition: opacity .2s ease; }
  .sheet.is-open .sheet__panel { opacity: 1; }
  .lb__slide img { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(6, 43, 74, .4); --muted: #24394F; }
  .rail, html:not(.is-solid) .bar__btn { background: rgba(6, 43, 74, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.is-solid .bar { background: var(--paper); backdrop-filter: none; }
  .chip, .btn--ghost { box-shadow: inset 0 0 0 2px currentColor; }
}


@media (max-width: 360px) { .bar .logo { width: 78px; } .bar__btn { padding: 0 6px; gap: 6px; } .bar__in { width: calc(100% - 16px); gap: 2px; } }

/* ---------- phones: compact sticky header ---------- */
.rail__tools { display: none; }
.rail__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink-deep); transition: transform .12s var(--ease-out); }
.rail__btn:active { transform: scale(.92); }
@media (max-width: 1023px) {
  html { scroll-padding-top: calc(var(--safe-t) + var(--rail-h) + 8px); }
  .bar { transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out); }
  .is-solid .bar { transform: translateY(-100%); pointer-events: none; }
  .searching .bar { transform: none; pointer-events: auto; }
  .rail { top: 0; padding-top: var(--safe-t); }
  .searching .rail { top: var(--bar-h); }
  .is-solid .rail__tools { display: flex; flex: none; padding-right: 6px; }
  .searching .rail__tools { display: none; }
  /* solid surfaces instead of blur: smoother scrolling on cheaper phones */
  .rail, .is-solid .bar { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .is-solid .rail { box-shadow: 0 6px 18px rgba(6, 43, 74, .06); }
}
/* touch screens: no scroll-linked photo zoom */
@media (hover: none) { .cat__photo img { transform: none; } }

/* ---------- menu as photo cards (one category open at a time) ---------- */
#cats { display: grid; gap: 10px; padding-top: 16px; }
.cat { padding: 0; scroll-margin-top: calc(var(--rail-h) + 8px); }
.cat__h { margin: 0; font: inherit; }
.cat__bar { position: relative; isolation: isolate; width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: end; column-gap: 12px;
  height: clamp(96px, 26vw, 160px); padding: 14px 16px 14px 20px; border-radius: var(--radius); overflow: hidden; text-align: left; color: #fff;
  background: var(--ink-deep) center / cover no-repeat; transition: transform .16s var(--ease-out), border-radius .3s var(--ease-out); }
.cat__bar:active { transform: scale(.985); }
.cat__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .55) 45%, rgba(var(--scrim), .08) 100%); }
.cat__name { grid-column: 1; grid-row: 1; align-self: end; font: 700 clamp(1.5rem, 6.4vw, 2.25rem)/1.05 var(--display); font-stretch: 88%; letter-spacing: -.02em; hyphens: auto; overflow-wrap: anywhere; }
.cat__meta { grid-column: 1; grid-row: 2; margin-top: 4px; font: 600 .875rem/1.2 var(--body); color: rgba(255, 255, 255, .86); }
.cat__chev { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.cat__chev svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.cat--nophoto .cat__bar { background: var(--foam); color: var(--ink-deep); }
.cat--nophoto .cat__bar::before { display: none; }
.cat--nophoto .cat__meta { color: var(--muted); }
.cat--nophoto .cat__chev { background: rgba(6, 43, 74, .08); }
.cat.is-open .cat__chev svg { transform: rotate(180deg); }
.cat.is-open .cat__bar { border-radius: var(--radius) var(--radius) 0 0; }
@media (hover: hover) and (pointer: fine) { .cat__bar:hover .cat__bg { transform: scale(1.04); } }

.cat__panel { display: none; padding: 6px 4px 18px; }
.cat.is-open .cat__panel { display: block; animation: panelIn .32s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
.cat__panel .cat__note { margin: 12px 0 10px; }
.cat__panel .options { padding-top: 14px; }
.cat__next { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 14px; padding: 0 18px; border-radius: 999px; background: var(--foam); color: var(--ink-deep); font: 600 .9375rem/1.2 var(--body); text-align: left; transition: transform .16s var(--ease-out); }
.cat__next span { color: var(--muted); }
.cat__next strong { font-family: var(--display); font-size: 1.0625rem; }
.cat__next svg { margin-left: auto; }
.cat__next:active { transform: scale(.98); }

/* searching: every matching dish shows, cards shrink to plain headings */
.searching-active #cats { gap: 0; }
.searching-active .cat__panel { display: block; animation: none; padding-bottom: 8px; }
.searching-active .cat__bar { height: auto; padding: 22px 0 6px; background: none !important; color: var(--ink); pointer-events: none; border-radius: 0; }
.searching-active .cat__bar::before, .searching-active .cat__bg, .searching-active .cat__chev, .searching-active .cat__meta, .searching-active .cat__next, .searching-active .cat__note { display: none; }
.searching-active .cat__name { font-size: 1.375rem; }
@media (prefers-reduced-motion: reduce) { .cat.is-open .cat__panel { animation: none; } .cat__chev svg, .cat__bg { transition: none; } }
@media (min-width: 1024px) { .cat__bar { padding: 22px 24px 22px 32px; } #cats { padding-top: 28px; } }
