/* ==========================================================================
   LAWSON'S BAR AND BISTRO  ·  design system  ·  September 2026
   Fluid artboard: 1440px desktop canvas, 375px mobile canvas.
   Every dimension is in rem (1rem = 16px on the canvas). One breakpoint: 991px.
   Root size is capped so wide monitors never balloon the type.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --viewport: 1440;
  --rem-cap: 18px;

  /* palette: linen paper, ink type, one teal accent. Photography brings the colour. */
  --linen: #f2ede3;
  --linen-2: #e8e1d3;
  --paper: #faf7f1;
  --ink: #151412;
  --ink-2: #26231f;
  --stone: #8b8478;
  --white: #fbf8f2;
  --accent: #2a6b7a;
  --accent-2: #21545f;
  --accent-light: #8ecbd6;
  --accent-wash: #e4edee;
  --line: rgba(21, 20, 18, 0.16);
  --line-strong: rgba(21, 20, 18, 0.34);
  --line-light: rgba(251, 248, 242, 0.18);

  /* chrome theme indirection: ink over linen by default, flips to white over dark zones */
  --t-text: var(--ink);
  --t-muted: rgba(21, 20, 18, 0.62);
  --t-line: var(--line-strong);
  --t-fill: var(--ink);
  --t-fill-text: var(--linen);
  --t-logo: 0;                     /* 0 = ink logo shown, 1 = white logo shown */

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.83, 0, 0.17, 1);

  --z-grain: 96;
  --z-preloader: 90;
  --z-rotate: 88;
  --z-modal: 86;
  --z-chrome: 84;
  --z-bar: 82;
  --z-menu: 80;

  --gutter: 3.5rem;
  --window-height: 100vh;
  --header-h: 5.5rem;

  /* type scale, desktop canvas */
  --fs-hero: 5.6rem;
  --fs-h2: 3.4rem;
  --fs-h3: 2rem;
  --fs-lead: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.7rem;
  --fs-nav: 0.72rem;
}

html { font-size: min(calc(16 / var(--viewport) * 100vw), var(--rem-cap)); }
@media (max-width: 991px) {
  :root {
    --viewport: 375;
    --rem-cap: 19px;
    --gutter: 1.25rem;
    --header-h: 4rem;
    /* editorial-small mobile scale */
    --fs-hero: 1.7rem;
    --fs-h2: 1.55rem;
    --fs-h3: 1.15rem;
    --fs-lead: 0.95rem;
    --fs-body: 0.84rem;
    --fs-small: 0.78rem;
    --fs-label: 0.6rem;
    --fs-nav: 0.6rem;
  }
}
@media (max-width: 599px) { :root { --rem-cap: 16px; } }

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
[hidden] { display: none !important; }

html {
  overflow-x: clip;
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
  background: var(--linen);
}
html::-webkit-scrollbar { display: none; }

body {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 350;
  font-size: var(--fs-body);
  line-height: 1.55;
  background: var(--linen);
  color: var(--ink);
  overflow-x: clip;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--linen); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- 3. Type utilities ---------- */
.label {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.94;
}
.serif { font-family: var(--font-serif); }
.ital { font-style: italic; font-weight: 300; }
.lead { font-size: var(--fs-lead); line-height: 1.45; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 34em; }
.muted { color: var(--stone); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.line { display: block; overflow: clip; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.line-inner { display: block; }

.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.8; }

.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

/* ---------- 4. Stage grammar (sticky scenes) ---------- */
.stage { position: relative; }
.stage-view {
  position: sticky; top: 0;
  height: var(--window-height);
  overflow: clip;
}

/* ---------- 5. Degradation tiers ---------- */
html.js [data-prevent-flicker="true"] { visibility: hidden; }
html.js.loader-timeout [data-prevent-flicker="true"],
html.reduced-motion [data-prevent-flicker="true"],
html:not(.js) [data-prevent-flicker="true"] { visibility: visible !important; }

html:not(.js) .stage, html.reduced-motion .stage, html.loader-timeout .stage { height: auto !important; }
html:not(.js) .stage-view, html.reduced-motion .stage-view, html.loader-timeout .stage-view {
  position: relative; height: auto; min-height: 0;
}
html:not(.js) .preloader, html.reduced-motion .preloader, html.loader-timeout .preloader { display: none !important; }
html.reduced-motion *, html.reduced-motion *::before, html.reduced-motion *::after {
  animation-duration: 0.01s !important;
  transition-duration: 0.01s !important;
}
html:not(.js) .hero__media img, html.reduced-motion .hero__media img, html.loader-timeout .hero__media img,
html:not(.js) .ph img, html.reduced-motion .ph img, html.loader-timeout .ph img { transform: none !important; }
html:not(.js) .ph, html.reduced-motion .ph, html.loader-timeout .ph { clip-path: none !important; }
html:not(.js) .chrome, html.loader-timeout .chrome, html.reduced-motion .chrome { opacity: 1 !important; transform: none !important; visibility: visible !important; }
html:not(.js) .bar-mobile, html.reduced-motion .bar-mobile, html.loader-timeout .bar-mobile { transform: none !important; }
html:not(.js) .gallery, html.reduced-motion .gallery, html.loader-timeout .gallery { height: auto; padding: 3rem 0; }
html:not(.js) .gallery__view, html.reduced-motion .gallery__view, html.loader-timeout .gallery__view { position: relative; height: auto; }
html:not(.js) .booking__fallback[hidden] { display: grid !important; }
html:not(.js) .booking__widget { min-height: 0; }
html:not(.js) .modal { display: none; }
html:not(.js) .gallery__col, html.reduced-motion .gallery__col, html.loader-timeout .gallery__col { transform: none !important; }

/* ---------- 6. Grain and rotate cover ---------- */
.grain {
  position: fixed; inset: -5%;
  display: block;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.74' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 18rem;
}
.rotate-cover {
  position: fixed; inset: 0;
  z-index: var(--z-rotate);
  display: none;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--linen); color: var(--ink);
}
@media (max-height: 450px) and (orientation: landscape) and (pointer: coarse) { .rotate-cover { display: flex; } }

/* ---------- 7. Preloader: the pass ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: var(--z-preloader);
  background: var(--linen);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader__logo {
  width: 24rem; max-width: 70vw; height: auto;
  object-fit: contain;
  opacity: 0;
}
.preloader__rule {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 3.2rem;
  height: 1px; background: var(--line);
}
.preloader__rule span {
  position: absolute; left: 0; top: 0; height: 100%; width: 100%;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left center;
}
.preloader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4rem;
  display: flex; justify-content: space-between;
  color: var(--stone);
}
.preloader__meta span { display: block; overflow: clip; }
.preloader__meta i { display: block; font-style: normal; }
.preloader__count { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- 8. Fixed chrome ---------- */
.chrome {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-chrome);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter-wide);
  color: var(--t-text);
  pointer-events: none;
  transition: color 0.4s var(--ease-out);
}
.chrome > * { pointer-events: auto; }
.chrome__brand { position: relative; display: block; width: 11.5rem; height: 3.4rem; }
.chrome__brand img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: left center;
  transition: opacity 0.4s var(--ease-out);
}
.chrome__brand .logo-ink { opacity: calc(1 - var(--t-logo)); }
.chrome__brand .logo-white { opacity: var(--t-logo); }

.chrome__nav { display: flex; gap: 2.2rem; font-size: var(--fs-nav); }
.chrome__nav a {
  position: relative; padding: 0.4rem 0;
  color: var(--t-muted);
  transition: color 0.3s var(--ease-out);
}
.chrome__nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0.1rem;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.chrome__nav a:hover, .chrome__nav a.is-active { color: var(--t-text); }
.chrome__nav a.is-active::after { background: var(--accent); }
.chrome__nav a:hover::after, .chrome__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.chrome__actions { display: flex; align-items: center; gap: 1rem; }
.chrome__tel { color: var(--t-muted); font-size: var(--fs-nav); transition: color 0.3s var(--ease-out); }
.chrome__tel:hover { color: var(--t-text); }

.burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  position: relative;
  margin-right: -0.6rem;
}
.burger span {
  position: absolute; left: 22%; width: 56%; height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.burger span:nth-child(1) { top: 42%; }
.burger span:nth-child(2) { top: 58%; }
.burger.is-open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 50%; transform: rotate(-45deg); }

/* theme flip over dark zones */
body.on-dark {
  --t-text: var(--white);
  --t-muted: rgba(251, 248, 242, 0.68);
  --t-line: rgba(251, 248, 242, 0.4);
  --t-fill: var(--white);
  --t-fill-text: var(--ink);
  --t-logo: 1;
}

/* ---------- 9. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  border: 1px solid var(--t-line);
  border-radius: 10rem;
  padding: 0.95rem 1.7rem;
  color: var(--t-text);
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  overflow: clip;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background-color 0.45s var(--ease-out);
  white-space: nowrap;
}
.btn__labels { position: relative; display: block; height: 1em; overflow: clip; }
.btn__labels span { display: block; height: 1em; line-height: 1; transition: transform 0.6s var(--ease-out); }
.btn:hover .btn__labels span { transform: translateY(-100%); }
.btn--solid { background: var(--accent); color: var(--linen); border-color: var(--accent); }
.btn--solid:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--linen); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--linen); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ink { --t-text: var(--ink); --t-line: var(--line-strong); --t-fill: var(--ink); --t-fill-text: var(--linen); }
.btn--white { --t-text: var(--white); --t-line: rgba(251,248,242,0.5); --t-fill: var(--white); --t-fill-text: var(--ink); }
.btn--lg { padding: 1.2rem 2.2rem; font-size: 0.78rem; }
.btn__dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; }

/* ---------- 10. Overlay menu (mobile and small screens) ---------- */
.overlay-menu {
  position: fixed; inset: 0;
  z-index: var(--z-menu);
  background: var(--ink); color: var(--linen);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; pointer-events: none;
  transform: translateY(-100%);
}
.overlay-menu.is-open { visibility: visible; pointer-events: auto; }
.overlay-menu__links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display); font-weight: 600; font-stretch: 108%;
  font-size: 2.4rem; line-height: 1; text-transform: uppercase; letter-spacing: -0.02em;
  overflow: clip;
}
.overlay-menu__links a em { font: inherit; font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: rgba(251,248,242,0.55); min-width: 1.6rem; }
.overlay-menu__meta { display: grid; gap: 1.2rem; color: rgba(251,248,242,0.7); }
.overlay-menu__meta a { color: var(--linen); }
body.menu-open .burger { color: var(--linen); }
body.menu-open .chrome { --t-logo: 1; }

/* ---------- 11. Mobile booking bar ---------- */
.bar-mobile {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-bar);
  display: none;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(242, 237, 227, 0.97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out);
}
.bar-mobile.is-visible { transform: translateY(0); }
.bar-mobile .btn { flex: 1; --t-text: var(--ink); --t-line: var(--line-strong); --t-fill: var(--ink); --t-fill-text: var(--linen); }

/* ---------- 12. Section scaffolding ---------- */
.section { position: relative; padding: 8rem var(--gutter-wide); }
:root { --gutter-wide: max(var(--gutter), calc((100vw - 88rem) / 2)); }
.section--tight { padding: 5rem var(--gutter-wide); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section__head .prose { justify-self: end; }
.rule { height: 1px; background: var(--line); border: 0; }

/* photo frame with parallax and clip reveal */
.ph { position: relative; overflow: clip; background: var(--linen-2); min-width: 0; min-height: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--parallax img { height: 124%; will-change: transform; }
.ph--reveal { clip-path: inset(100% 0 0 0); }
.ph--zoom img { transition: transform 1.4s var(--ease-out); }
.ph--zoom:hover img { transform: scale(1.04); }
.ph__cap { position: absolute; left: 1rem; bottom: 1rem; color: var(--white); text-shadow: 0 1px 12px rgba(0,0,0,0.3); }

/* ---------- 13. Hero ---------- */
.hero {
  position: relative;
  min-height: max(var(--window-height), 44rem);
  display: flex; flex-direction: column;
  background: var(--ink);
  color: var(--white);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transform-origin: 50% 40%; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,20,18,0.5) 0%, rgba(21,20,18,0.08) 30%, rgba(21,20,18,0.1) 50%, rgba(21,20,18,0.74) 100%);
}
.hero__scrim--out { position: absolute; inset: 0; background: var(--ink); opacity: 0; }
.hero__inner {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--gutter-wide) 2rem;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) max(21rem, 292px); gap: 3rem; align-items: end; }
.hero__copy { padding-bottom: 0.4rem; }
.hero__eyebrow { color: rgba(251,248,242,0.8); margin-bottom: 1.4rem; }
.hero__eyebrow::before { background: var(--accent-light); opacity: 1; }
.hero__title { font-size: var(--fs-hero); }
.hero__title .line { white-space: nowrap; }
.hero__title i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.82em; font-stretch: 100%; color: var(--accent-light); }
.hero__sub { color: rgba(251,248,242,0.82); max-width: 26rem; font-size: var(--fs-lead); line-height: 1.4; margin-top: 1.8rem; }
.hero__sub strong { font-weight: 500; color: var(--white); }
.hero__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.2rem; margin-top: 2rem;
  border-top: 1px solid rgba(251,248,242,0.22);
  color: rgba(251,248,242,0.7);
}
.hero__foot a { color: var(--white); }
.hero__hint { display: flex; align-items: center; gap: 0.7rem; }
.hero__hint::after { content: ''; width: 1px; height: 2.2rem; background: currentColor; opacity: 0.6; animation: hint 2.2s var(--ease-inout) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* booking card: the reservation widget lives on the hero, on every visit */
.booking {
  position: relative;
  width: max(21rem, 292px); justify-self: end;
  background: rgba(250, 247, 241, 0.97);
  color: var(--ink);
  border-radius: 0.4rem;
  border-top: 3px solid var(--accent);
  box-shadow: 0 2rem 4rem rgba(0,0,0,0.28);
  padding: 1.5rem 1.5rem 1.2rem;
  display: grid; gap: 1rem;
}
.booking__intro h2 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 600; }
.booking__intro p { color: var(--stone); font-size: var(--fs-small); font-style: italic; margin-top: 0.25rem; }
.booking__widget { position: relative; display: flex; align-items: center; justify-content: center; min-height: 301px; }
.booking__widget iframe { border: 0; display: block; }
.booking__fallback { display: grid; gap: 0.8rem; justify-items: center; text-align: center; color: var(--stone); }
.booking__fallback .btn { --t-text: var(--ink); --t-line: var(--line-strong); --t-fill: var(--ink); --t-fill-text: var(--linen); }
.booking__foot { display: grid; gap: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--stone); }
.booking__foot a { color: var(--ink); white-space: nowrap; }
.booking__status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--stone); white-space: nowrap; }
.booking__status::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--stone); flex: 0 0 auto; }
.booking__status.is-open { color: var(--accent); }
.booking__status.is-open::before { background: var(--accent); box-shadow: 0 0 0 0.25rem rgba(47,95,107,0.16); }

/* ---------- 14. Ticker ---------- */
.ticker {
  position: relative;
  overflow: clip;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--linen);
}
.ticker__inner { display: flex; width: max-content; will-change: transform; }
.ticker__chunk { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; white-space: nowrap; }
.ticker__chunk span { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 1.15rem; }
.ticker__chunk i { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--accent); }

/* ---------- 15. Welcome ---------- */
.welcome { padding-top: 9rem; }
.welcome__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 5rem; align-items: start; }
.welcome__title { font-size: var(--fs-h2); margin: 1.6rem 0 2.2rem; max-width: 15ch; }
.welcome__title i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.8em; font-stretch: 100%; color: var(--accent); }
.welcome__media { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-top: 3rem; min-width: 0; }
.welcome__media .ph:first-child { aspect-ratio: 4 / 5; grid-row: span 2; }
.welcome__media .ph:first-child img { object-position: 12% 50%; }
.welcome__media .ph:nth-child(2) { aspect-ratio: 1 / 1; align-self: end; margin-top: 6rem; }
.welcome__media .ph:nth-child(3) { aspect-ratio: 4 / 3; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.fact__num { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.fact__num small { font-size: 0.45em; font-weight: 500; letter-spacing: 0; margin-left: 0.15em; }
.fact__label { color: var(--stone); margin-top: 0.6rem; }

/* ---------- 16. Menus ---------- */
.menus { background: var(--paper); border-top: 1px solid var(--line); }
.menus__grid { display: grid; grid-template-columns: 17rem 1fr; gap: 5rem; align-items: start; }
.menus__index { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 0; }
.menus__index .menus__link {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--stone);
  transition: color 0.35s var(--ease-out), padding-left 0.5s var(--ease-out);
}
.menus__index .menus__link:last-of-type { border-bottom: 1px solid var(--line); }
.menus__index .menus__link em { font-family: var(--font-serif); font-style: italic; font-weight: 300; letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.menus__index .menus__link:hover, .menus__index .menus__link.is-active { color: var(--accent); padding-left: 0.6rem; }
.menus__index-note { margin-top: 1.6rem; color: var(--stone); font-family: var(--font-serif); font-size: var(--fs-small); font-style: italic; text-transform: none; letter-spacing: 0; line-height: 1.5; }
.menus__index .btn { margin-top: 1.6rem; justify-self: start; }

.menu { padding-bottom: 5rem; margin-bottom: 5rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.menu:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.menu__title { font-size: var(--fs-h2); }
.menu__meta { color: var(--stone); text-align: right; }
.menu__meta strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; }
.menu__intro { color: var(--stone); font-style: italic; max-width: 40em; margin-bottom: 1.5rem; }
.course { margin-top: 2.6rem; }
.course__title { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: var(--fs-h3); letter-spacing: -0.01em; margin-bottom: 0.4rem; color: var(--accent); }
.course__note { color: var(--stone); font-size: var(--fs-small); margin-bottom: 0.8rem; }
.dish {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1.6rem; row-gap: 0.2rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.dish:last-child { border-bottom: 1px solid var(--line); }
.dish__name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-body); letter-spacing: 0.005em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.dish__price { font-family: var(--font-display); font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--fs-body); text-align: right; white-space: nowrap; }
.dish__price small { font-weight: 400; color: var(--stone); font-size: 0.8em; margin-right: 0.35em; }
.dish__price span + span { margin-left: 0.9em; }
.dish__desc { grid-column: 1; color: var(--stone); font-style: italic; font-size: var(--fs-small); max-width: 42em; }
.diet { font-family: var(--font-display); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.12em; color: var(--accent); border: 1px solid rgba(47,95,107,0.35); border-radius: 10rem; padding: 0.15rem 0.45rem; line-height: 1.2; }
.menu__foot { margin-top: 1.4rem; color: var(--stone); font-size: var(--fs-small); font-style: italic; }
.set-price { display: flex; gap: 2rem; margin: 1.2rem 0 0.4rem; }
.set-price div { display: grid; }
.set-price b { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; }
.set-price span { color: var(--stone); }

/* ---------- 17. Gallery: dual-direction scroll ---------- */
.gallery { position: relative; height: 340vh; background: var(--ink); color: var(--white); }
.gallery__view {
  position: sticky; top: 0; height: var(--window-height); overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem;
  padding: 0 var(--gutter-wide);
}
.gallery__col { display: flex; flex-direction: column; gap: 1rem; will-change: transform; min-width: 0; }
.gallery__col .ph { flex: 0 0 auto; }
.gallery__col .ph--land { aspect-ratio: 3 / 2; }
.gallery__col .ph--port { aspect-ratio: 4 / 5; }
.gallery__col--b { align-self: start; }
.gallery__cap {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; pointer-events: none;
  mix-blend-mode: difference; color: #fff;
}
.gallery__cap .display { font-size: 4.6rem; }
.gallery__cap .label { margin-top: 0.8rem; opacity: 0.85; }
.gallery__cap i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.8em; font-stretch: 100%; }
.h2.display i, .visit__title i, .menus .h2 i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.8em; font-stretch: 100%; color: var(--accent); }

/* ---------- 18. Reviews ---------- */
.reviews { background: var(--ink); color: var(--linen); padding: 10rem var(--gutter-wide); }
.reviews .eyebrow { color: var(--accent-light); }
.reviews__title { font-size: var(--fs-h2); margin-top: 1.4rem; max-width: 14ch; }
.reviews__title i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.8em; font-stretch: 100%; color: var(--accent-light); }
.reviews__quote { font-size: 1.9rem; line-height: 1.18; font-weight: 300; letter-spacing: -0.015em; max-width: 24em; margin-top: 2rem; }
.reviews__quote .word { opacity: 0.16; }
.reviews__cite { margin-top: 1.6rem; color: rgba(251,248,242,0.6); }
.reviews__cite strong { color: var(--linen); font-weight: 500; }
.reviews__body { display: grid; grid-template-columns: 20rem minmax(0, 1fr); gap: 4rem; margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line-light); align-items: start; }
.reviews__grid { display: grid; gap: 2rem; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: 3.6rem; letter-spacing: -0.035em; line-height: 1; color: var(--accent-light); }
.stat__num small { font-size: 0.4em; font-weight: 500; letter-spacing: 0; }
.stat__label { color: rgba(251,248,242,0.62); margin-top: 0.6rem; }
.ta-badge { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line-light); display: grid; gap: 0.8rem; justify-items: start; }
.ta-badge ul { list-style: none; margin: 0; padding: 0; }
.ta-badge img, .ta-badge .widCOEImg { width: 7.5rem; height: auto; display: block; }
.ta-badge .label { color: rgba(251,248,242,0.62); }
.reviews__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.card { padding: 1.8rem; border: 1px solid var(--line-light); border-radius: 0.3rem; display: grid; align-content: space-between; gap: 1.6rem; }
.card p { font-size: var(--fs-body); line-height: 1.5; }
.card p::before { content: '\201C'; font-family: var(--font-serif); font-size: 2.4rem; line-height: 0; vertical-align: -0.5em; margin-right: 0.1em; color: var(--accent-light); }
.card footer { color: rgba(251,248,242,0.6); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.card footer a { color: var(--accent-light); border-bottom: 1px solid rgba(142,203,214,0.4); white-space: nowrap; }
.card footer a:hover { color: var(--white); border-color: var(--white); }
.reviews__all { margin-top: 2.4rem; }
.reviews__all a { color: var(--linen); border-bottom: 1px solid var(--line-light); }
.reviews__all a:hover { color: var(--accent-light); }

/* ---------- 19. Private dining and occasions ---------- */
.private { background: var(--accent-wash); }
.private__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: center; }
.private__media { aspect-ratio: 4 / 5; }
.private__title { font-size: var(--fs-h2); margin: 1.4rem 0 1.8rem; max-width: 12ch; }
.private__title i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.8em; font-stretch: 100%; color: var(--accent); }
.private__list { display: grid; gap: 0; margin: 2rem 0 2.4rem; }
.private__list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.private__list li:last-child { border-bottom: 1px solid var(--line); }
.private__list li em { font-family: var(--font-display); font-style: normal; font-weight: 500; color: var(--stone); font-size: var(--fs-label); letter-spacing: 0.12em; }
.private__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- 20. Visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.visit__title { font-size: var(--fs-h2); margin: 1.4rem 0 2rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.85rem 0; border-top: 1px solid var(--line); font-weight: 350; vertical-align: baseline; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours th { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-small); letter-spacing: 0.02em; width: 9rem; }
.hours td { font-variant-numeric: tabular-nums; }
.hours td span { display: inline-block; }
.hours td span + span::before { content: '\00b7'; margin: 0 0.5em; color: var(--stone); }
.hours td.closed { color: var(--stone); font-style: italic; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 500; }
.hours tr.is-today th::after { content: 'Today'; font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; margin-left: 0.7rem; vertical-align: 0.1em; border: 1px solid currentColor; border-radius: 10rem; padding: 0.1rem 0.45rem; }
.visit__status { display: inline-flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 0; color: var(--stone); }
.visit__status::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--stone); }
.visit__status.is-open { color: var(--accent); }
.visit__status.is-open::before { background: var(--accent); box-shadow: 0 0 0 0.3rem rgba(47,95,107,0.14); }
.address { display: grid; gap: 1.6rem; }
.address h3 { font-size: var(--fs-h3); font-weight: 300; font-style: italic; letter-spacing: -0.01em; }
.address dl { display: grid; grid-template-columns: 7rem 1fr; row-gap: 0.7rem; }
.address dt { color: var(--stone); }
.address dd a { border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s; }
.address dd a:hover { border-color: var(--ink); }
.map { aspect-ratio: 16 / 10; margin-top: 2rem; background: var(--linen-2); position: relative; overflow: clip; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) sepia(0.12); }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.socials a { border-bottom: 1px solid var(--line-strong); padding-bottom: 0.15rem; }

/* ---------- 21. Footer ---------- */
.footer { background: var(--ink); color: var(--linen); padding: 7rem var(--gutter-wide) 2rem; overflow: clip; }
.footer__cta { display: block; text-align: center; padding: 2rem 0 3rem; border-bottom: 1px solid var(--line-light); }
.footer__cta .display { font-size: 7.4rem; line-height: 0.9; }
.footer__cta .display i { font-family: var(--font-serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.72em; font-stretch: 100%; color: var(--accent-light); }
.footer__cta .label { margin-top: 1.4rem; color: rgba(251,248,242,0.6); }
.footer__cta:hover .display { color: var(--accent-light); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1.3fr 1fr; gap: 3rem; padding: 3rem 0; }
.footer__grid h4 { color: rgba(251,248,242,0.55); margin-bottom: 1rem; }
.footer__grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
.footer__grid li, .footer__grid p, .address dd a[href^="mailto"] { overflow-wrap: anywhere; }
.footer__grid ul { display: grid; gap: 0.5rem; }
.footer__logo { width: 13rem; height: auto; object-fit: contain; margin-bottom: 1.2rem; }
.footer__grid p { color: rgba(251,248,242,0.7); max-width: 26em; }
.footer__meta { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--line-light); color: rgba(251,248,242,0.5); }
.footer__meta a:hover { color: var(--linen); }

/* ---------- 22. Booking modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: grid; place-items: center;
  padding: 1rem;
  visibility: hidden; pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(21,20,18,0.62); backdrop-filter: blur(0.3rem); opacity: 0; }
.modal__panel {
  position: relative;
  width: min(34rem, 100%);
  max-height: calc(var(--window-height) - 2rem);
  overflow: auto;
  background: var(--paper); color: var(--ink);
  border-radius: 0.4rem;
  padding: 2.2rem;
  transform: translateY(2rem); opacity: 0;
}
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.modal__close:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.modal__title { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0.4rem 0 0.4rem; }
.modal__intro { color: var(--stone); font-style: italic; margin-bottom: 1.4rem; }
.modal__widget { min-height: 19rem; display: flex; justify-content: center; }
.modal__widget iframe { border: 0; display: block; }
.modal__alt { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; color: var(--stone); font-size: var(--fs-small); }
.modal__alt a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

/* ---------- 23. Mobile canvas (375) ---------- */
@media (max-width: 991px) {
  .chrome__nav, .chrome__tel { display: none; }
  .chrome__actions .btn { display: none; }
  .burger { display: block; }
  .chrome__brand { width: 8.4rem; height: 2.6rem; }
  .bar-mobile { display: flex; }
  body { padding-bottom: 0; }

  .section { padding: 4rem var(--gutter); }
  .section__head { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2rem; }
  .section__head .prose { justify-self: start; }

  .hero { min-height: max(var(--window-height), 40rem); }
  .hero__inner { padding: calc(var(--header-h) + 1.5rem) var(--gutter) 1.2rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__eyebrow { margin-bottom: 0.8rem; }
  .hero__sub { display: none; }
  .hero__foot { display: none; }
  .booking { width: min(100%, 21rem); justify-self: start; padding: 1.1rem 1.1rem 0.9rem; gap: 0.7rem; }
  .booking__intro h2 { font-size: 1rem; }
  .booking__intro p { display: none; }
  .booking__foot { padding-top: 0.6rem; }

  .ticker__chunk span { font-size: 0.82rem; }

  .welcome { padding-top: 4rem; }
  .welcome__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .welcome__title { margin: 0.9rem 0 1.2rem; }
  .welcome__media { margin-top: 0; gap: 0.6rem; }
  .welcome__media .ph:nth-child(2) { margin-top: 3rem; }
  .facts { gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; }
  .fact__num { font-size: 1.4rem; }

  .menus__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .dish--multi { grid-template-columns: minmax(0, 1fr); }
  .dish--multi .dish__price { text-align: left; white-space: normal; display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; order: 3; padding-top: 0.2rem; }
  .dish--multi .dish__desc { order: 2; }
  .menus__index { position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); display: flex; gap: 0.2rem; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0.6rem var(--gutter); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .menus__index::-webkit-scrollbar { display: none; }
  .menus__index .menus__link { border: 1px solid var(--line) !important; border-radius: 10rem; padding: 0.5rem 0.8rem; white-space: nowrap; gap: 0.5rem; }
  .menus__index .menus__link:hover, .menus__index .menus__link.is-active { padding-left: 0.8rem; background: var(--ink); color: var(--linen); border-color: var(--ink) !important; }
  .menus__index .menus__link em { display: none; }
  .menus__index-note, .menus__index .btn { display: none; }
  .menu { padding-bottom: 2.6rem; margin-bottom: 2.6rem; scroll-margin-top: calc(var(--header-h) + 3.4rem); }
  .menu__meta { text-align: left; }
  .course { margin-top: 1.6rem; }
  .dish { padding: 0.7rem 0; }

  .gallery { height: auto; padding: 3.2rem 0 2.4rem; display: flex; flex-direction: column; }
  .gallery__view {
    position: relative; height: auto; order: 2;
    display: flex; gap: 0.6rem; align-items: stretch;
    overflow-x: auto; overflow-y: clip;
    padding: 0 var(--gutter);
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery__view::-webkit-scrollbar { display: none; }
  .gallery__col { display: contents; }
  .gallery__col .ph { flex: 0 0 82vw; max-width: 24rem; height: calc(var(--window-height) * 0.58); max-height: 26rem; aspect-ratio: auto; scroll-snap-align: start; border-radius: 0.25rem; }
  .gallery__col .ph--port { flex-basis: 82vw; }
  .gallery__view::after { content: ''; flex: 0 0 calc(var(--gutter) - 0.6rem); }
  .gallery__cap--d { display: none; }
  .gallery__cap--m { position: static; transform: none; mix-blend-mode: normal; text-align: left; padding: 0 var(--gutter) 1.4rem; order: 1; }
  .gallery__cap .display { font-size: var(--fs-h2); }
  .btn { padding: 0.85rem 1.4rem; }
  .btn--lg { padding: 1rem 1.7rem; }
  .card p { font-size: var(--fs-small); }
  .menu__meta, .course__note { font-size: var(--fs-small); }
  .gallery__ui { display: flex; }

  .reviews { padding: 4.5rem var(--gutter); }
  .reviews__title { margin-top: 0.9rem; }
  .reviews__quote { font-size: 1rem; margin-top: 1rem; }
  .reviews__body { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.4rem; padding-top: 1.8rem; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .stat__num { font-size: 1.6rem; }
  .ta-badge { margin-top: 1.6rem; padding-top: 1.4rem; grid-template-columns: auto 1fr; align-items: center; }
  .ta-badge img, .ta-badge .widCOEImg { width: 5.5rem; }
  .reviews__cards { grid-template-columns: 1fr; gap: 0.8rem; }
  .card { padding: 1.2rem; gap: 1rem; }

  .private__grid { grid-template-columns: 1fr; gap: 2rem; }
  .private__media { aspect-ratio: 4 / 3; }

  .visit__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hours th { width: 6.5rem; }
  .address dl { grid-template-columns: 5.5rem 1fr; }

  .footer { padding: 4rem var(--gutter) calc(5.5rem + env(safe-area-inset-bottom)); }
  .footer__cta .display { font-size: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem 0; }
  .footer__grid > div:first-child { grid-column: span 2; }
  .footer__logo { width: 9rem; }
  .footer__meta { flex-direction: column; gap: 0.5rem; }

  .modal__panel { padding: 1.4rem; }
  .overlay-menu__links a { font-size: 1.7rem; }
}

/* ---------- 24. Preloader flying logo layer and frosted header ---------- */
.preloader-logo {
  position: fixed; left: 50%; top: 50%;
  z-index: calc(var(--z-preloader) + 1);
  width: 24rem; max-width: 70vw; aspect-ratio: 2305 / 686;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}
.preloader-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.preloader-logo .pl-logo--white { opacity: 0; }
html:not(.js) .preloader-logo, html.reduced-motion .preloader-logo, html.loader-timeout .preloader-logo { display: none !important; }
.preloader { clip-path: inset(0 0 0 0); }
.preloader__logo { display: none; }

.chrome::before {
  content: ''; position: absolute; inset: 0 0 -1.5rem 0;
  background: linear-gradient(to bottom, rgba(242,237,227,0.85), rgba(242,237,227,0));
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
body.scrolled:not(.on-dark) .chrome::before { opacity: 1; }
.chrome > * { position: relative; }

/* ---------- 25. Flat render mode (debug) and small fixes ---------- */
html.flat .hero { min-height: 56rem; }
html.flat .gallery { height: auto; }
html.flat .gallery__view { position: relative; height: auto; }
html.flat .reviews__quote .word { opacity: 1 !important; }
html.flat .modal { display: none; }

/* ---------- 26. Floating dish photograph on menu rows (desktop) ---------- */
.dish-float {
  position: fixed; left: 0; top: 0;
  width: 15rem; aspect-ratio: 3 / 2;
  z-index: 70; pointer-events: none;
  opacity: 0; visibility: hidden;
  border-radius: 0.3rem; overflow: clip;
  box-shadow: 0 1.6rem 3rem rgba(21,20,18,0.28);
  background: var(--linen-2);
}
.dish-float img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) {
  .dish[data-photo] .dish__name::after { content: ''; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--accent); opacity: 0.8; }
  .dish[data-photo]:hover .dish__name { color: var(--accent); }
}
html.reduced-motion .dish-float { display: none; }

/* no-script chrome: sits over the hero only, in the hero's white theme */
html:not(.js) .chrome { position: absolute; --t-text: var(--white); --t-muted: rgba(251,248,242,0.68); --t-line: rgba(251,248,242,0.4); --t-fill: var(--white); --t-fill-text: var(--ink); --t-logo: 1; }
html:not(.js) .chrome::before { display: none; }

/* ---------- 27. Tablet band (600 to 991): keep the header pill, centre the hero card ---------- */
@media (max-width: 991px) and (min-width: 600px) {
  .chrome__actions .btn { display: inline-flex; }
  .booking { justify-self: start; }
  .hero__sub { display: block; }
}
/* overlay menu actions */
.overlay-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.6rem; }
.overlay-menu__cta .btn { --t-text: var(--linen); --t-line: rgba(251,248,242,0.4); justify-content: center; }

/* ---------- 28. Gallery carousel chrome (mobile) ---------- */
.gallery__ui { display: flex; order: 3; justify-content: space-between; align-items: center; padding: 1rem var(--gutter) 0; color: rgba(251,248,242,0.7); }
@media (min-width: 992px) { .gallery__ui, .gallery__cap--m { display: none; } }
.gallery__count { font-variant-numeric: tabular-nums; color: var(--white); }
.gallery__arrows { display: flex; gap: 0.5rem; }
.gallery__arrow { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(251,248,242,0.35); display: grid; place-items: center; color: var(--white); pointer-events: auto; }
.gallery__arrow:active { background: var(--accent); border-color: var(--accent); }
html:not(.js) .gallery__ui { display: none !important; }
.hero__social { display: inline-flex; gap: 1.4rem; }
@media (max-width: 599px) { .hide-m { display: none; } }

/* ---------- 29. Menu accordions: four large panels, closed by default ---------- */
.menus__acc { border-top: 1px solid var(--line-strong); }
.menu.acc { padding: 0; margin: 0; border-bottom: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 1rem); }
.acc__head { margin: 0; font: inherit; }
.acc__btn {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem;
  padding: 2.6rem 0;
  text-align: left; color: inherit;
}
.acc__text { display: grid; gap: 0.7rem; min-width: 0; }
.acc__title { font-size: var(--fs-h2); transition: color 0.4s var(--ease-out); }
.acc__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.6rem; color: var(--stone); }
.acc__meta em { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 1.05rem; color: var(--accent); }
.acc__icon {
  position: relative; flex: 0 0 auto;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), color 0.45s var(--ease-out), transform 0.7s var(--ease-inout);
}
.acc__icon span { position: absolute; left: 50%; top: 50%; width: 1.2rem; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.7s var(--ease-inout); }
.acc__icon span:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn:hover .acc__title { color: var(--accent); }
.acc__btn:hover .acc__icon { border-color: var(--accent); color: var(--accent); }
.acc.is-open .acc__title { color: var(--accent); }
.acc.is-open .acc__icon { background: var(--accent); border-color: var(--accent); color: var(--linen); transform: rotate(180deg); }
.acc.is-open .acc__icon span:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.75s var(--ease-inout); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; min-height: 0; }
.acc__body { padding: 0.2rem 0 3.4rem; }
.menu__lead { max-width: 44rem; margin-bottom: 1.4rem; }
.menu__lead .menu__intro { margin-bottom: 0.8rem; }
.menu__courses .course:first-child { margin-top: 0.6rem; }
@media (min-width: 992px) {
  .menu__courses { columns: 2; column-gap: 5rem; }
  .menu__courses .course { break-inside: auto; }
  .menu__courses .course__title { break-after: avoid; }
  .menu__courses .dish { break-inside: avoid; }
}
.menus__foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2.6rem; }
.menus__note { color: var(--stone); font-style: italic; font-size: var(--fs-small); max-width: 46em; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; }
html:not(.js) .acc__icon { display: none; }
html.open-all .acc__panel { grid-template-rows: 1fr; }
@media (max-width: 991px) {
  .acc__btn { padding: 1.4rem 0; gap: 1rem; }
  .acc__title { font-size: 1.45rem; }
  .acc__text { gap: 0.4rem; }
  .acc__meta { gap: 0.2rem 0.9rem; }
  .acc__meta em { font-size: 0.85rem; }
  .acc__icon { width: 2.5rem; height: 2.5rem; }
  .acc__icon span { width: 0.9rem; }
  .acc__body { padding: 0 0 1.8rem; }
  .acc__panel { transition-duration: 0.55s; }
  .menu__lead { margin-bottom: 1rem; }
  .menus__foot { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.8rem; }
}

@media (max-width: 991px), (hover: none) { .grain { display: none; } }
