/* ============================================================
   NAISSUS RESTAURANT
   Byzantine blue + Byzantine gold. Single geometric sans (Jost),
   matched to the printed KARTA. Display type carries a black-to-blue
   gradient, as on the menu card.
   ============================================================ */

:root {
  /* ── Colours sampled from the printed KARTA ──
     The card's ink is NOT a vivid Byzantine blue. Measured across the
     word, the darkest letter cores run #1E1D26–#23232A and the bluest
     reach #2E3042, with the bluest 2% averaging #3C3E5A. So the printed
     gradient is near-black lifting into a muted slate-indigo — a shift
     you notice rather than see. These tokens are those measurements.
     Byzantine gold #CFA023 is 7.3:1 on the dark ground but only 2.2:1
     on bone, so gold never carries small text on a light surface;
     --gold-ink is the hue-preserved darkening for that case (4.66:1). */
  --blue:       #3C3E5A;   /* sampled bluest ink — 9.2:1 on bone */
  --blue-mid:   #26283A;   /* gradient waypoint */
  --gold:       #CFA023;
  --gold-ink:   #876917;
  --gold-soft:  rgba(207, 160, 35, .38);

  /* ── Ink + paper ── */
  --ink:        #1A1D33;   /* 14.9:1 on bone */
  --ink-soft:   #2B3050;   /* body copy — 11.6:1 */
  --muted:      #4A4F6B;   /* secondary copy — 7.2:1 */
  --ink-deep:   #141726;   /* dark surfaces — deep blue-black */
  --grad-start: #1A1A24;   /* sampled near-black letter core */
  --bone:       #F6F3EC;
  --paper:      #FDFCF9;
  --line:       #DCD8CD;

  /* ── Type: one family, Futura-lineage geometric sans ── */
  --display: "Jost", "Century Gothic", "Futura", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Space — generous, low-density */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
  --s-7: 140px;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);

  /* Fixed on purpose: the header is in flow, so the hero must subtract it to
     land on exactly one screen. 48px mark + 12px padding top and bottom. */
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 320ms;

  --z-header: 100;
  --z-overlay: 200;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

.sr-only {
  position: absolute; 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: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
/* Byzantine blue is only 2.9:1 on the dark ground — gold reads there. */
.praise :focus-visible,
.band :focus-visible { outline-color: var(--gold); }

/* ── Layout primitives ────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(52px, 8vw, 116px); }

/* ── Display type + gradient ──────────────────────────────────
   The printed menu sets KARTA with a slight left-to-right shift from
   near-black into Byzantine blue. Reproduced here with a clipped
   gradient, weighted so most of the line stays dark and the blue only
   arrives at the end — a lift, not a rainbow.

   Both endpoints clear WCAG on bone (17.2:1 and 5.46:1), so the
   gradient is safe across its whole run. `color` is set first as the
   fallback: if background-clip:text is unsupported the text simply
   renders solid ink instead of going invisible. */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.1rem, 1.15rem + 3.6vw, 4.1rem);
  line-height: 1.14;
  letter-spacing: -0.006em;
  color: var(--ink);
  width: fit-content;
}
.section-head--center .display { margin-inline: auto; }

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .display {
    background-image: linear-gradient(115deg,
      var(--grad-start) 0%,
      var(--blue-mid) 52%,
      var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* On the dark ground the same idea runs cream into Byzantine gold
     (17.1:1 → 7.3:1) — the mosaic pairing, and legible end to end. */
  .display--light {
    background-image: linear-gradient(115deg,
      var(--paper) 0%,
      var(--paper) 26%,
      var(--gold) 100%);
  }
}
.display--light { color: var(--paper); }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-3);
}
.eyebrow--light { color: var(--gold); }

.prose p {
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 62ch;
}
.prose p + p { margin-top: 1.25em; }
.prose em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

.signature {
  margin-top: var(--s-4);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head { margin-bottom: clamp(32px, 4.5vw, 72px); }
.section-head--center { text-align: center; }
.section-head__sub {
  margin-top: var(--s-3);
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
}
.section-head--center .section-head__sub { margin-inline: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn--sm { min-height: 42px; padding: 12px 22px; font-size: 11px; }

/* Hover lifts to the slate-indigo — cream on #3C3E5A is 9.9:1. */
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--blue); border-color: var(--blue); }

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

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  /* Opaque on purpose: the wordmark is blended with multiply, and a
     backdrop-filter would isolate it into its own stacking context. */
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.brand { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand__mark {
  /* The wordmark ships on a white field — multiply drops that field onto
     the bone paper without altering a single pixel of the artwork. */
  height: 48px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-desktop {
  display: none;
  margin-inline: auto;
  gap: clamp(24px, 3.2vw, 46px);
}
.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* touch-safe on iPad landscape */
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color var(--dur) var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.header-actions .btn--sm { display: none; }

.nav-toggle {
  width: 48px; height: 48px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle__bar {
  width: 26px; height: 1px; background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Mobile overlay ───────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--bone);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 260ms var(--ease);
}
.nav-overlay[hidden] { display: none; }
.nav-overlay.is-open { opacity: 1; }

.nav-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
}
.nav-overlay__inner a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink);
}
.nav-overlay__rule { width: 46px; height: 1px; background: var(--gold); margin-block: var(--s-2); }
.nav-overlay__meta {
  font-size: 13px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
}
.nav-overlay__meta--quiet { color: var(--muted) !important; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bone);
}
.hero__panel {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(40px, 9vw, 96px) var(--gutter) clamp(48px, 9vw, 104px);
  order: 2;
}
.hero__content { max-width: 520px; text-align: center; }

.hero__title { margin: 0; font-weight: 400; }

.hero__logo {
  width: min(88%, 360px);
  margin: 0 auto var(--s-4);
  mix-blend-mode: multiply;
}

.hero__line {
  font-size: clamp(1.12rem, 1.02rem + .42vw, 1.34rem);
  font-weight: 300;
  letter-spacing: 0.015em;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--s-4);
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Bright gold is only 2.18:1 on bone — the darkened variant actually reads. */
.stars { display: inline-flex; gap: 2px; color: var(--gold-ink); }

.scroll-cue { display: none; }

.hero__figure {
  order: 1;
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  aspect-ratio: 4 / 5;
  max-height: 62svh;
}
/* Absolute so the photo's intrinsic ratio can never inflate the grid row —
   the hero's height is set by the viewport, not by the image. */
.hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

/* ── Story ────────────────────────────────────────────────── */
.story { background: var(--paper); }
.story__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.story__figure { margin: 0; overflow: hidden; }
.story__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ── Full-bleed band ──────────────────────────────────────── */
.band {
  position: relative;
  min-height: clamp(300px, 48vh, 520px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink-deep);
}
.band__media { position: absolute; inset: -8% 0; }
.band__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  will-change: transform;
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,23,38,.74), rgba(20,23,38,.60) 45%, rgba(20,23,38,.80));
}
.band__overlay {
  position: relative;
  z-index: 1;
  padding: var(--s-4) var(--gutter);
  text-align: center;
}
.band__quote {
  color: var(--paper);
  font-weight: 300;
  font-size: clamp(1.24rem, .95rem + 1.3vw, 2rem);
  letter-spacing: 0.06em;
  line-height: 1.62;
  max-width: 30ch;
  margin-inline: auto;
  text-wrap: balance;
}

/* ── Menu (KARTA) ─────────────────────────────────────────── */
.menu { background: var(--bone); }
.menu__grid {
  display: grid;
  gap: clamp(34px, 4vw, 60px) clamp(40px, 6vw, 96px);
}

.menu-group + .menu-group { margin-top: clamp(30px, 3.4vw, 52px); }

.menu-group__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.menu-group__title span {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}
.menu-group__title em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-left: auto;
  white-space: nowrap;
}

.menu-list li { padding-block: 13px; }
.menu-list li + li { border-top: 1px solid rgba(220, 216, 205, .62); }

/* Dish name and price on one baseline, joined by a hairline leader —
   the printed card's "PLJESKAVICA ____ $28". */
.dish-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.dish {
  font-size: .995rem;
  font-weight: 500;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink);
}
.leader {
  flex: 1 1 auto;
  min-width: 18px;
  height: 1px;
  transform: translateY(-4px);
  background: var(--gold-soft);
}
.price {
  flex: 0 0 auto;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price--poa { font-size: .82rem; letter-spacing: 0.14em; color: var(--muted); }

.desc {
  display: block;
  margin-top: 5px;
  font-size: .935rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 52ch;
}

/* Drinks are name-and-price only, so they sit tighter than the food.
   Producer names are long enough to wrap, and a leader stranded in the
   middle of a wrapped name looks like a mistake — so the wine list drops
   the leader and simply pushes the price to the right, as wine lists do. */
.menu-list--tight li { padding-block: 9px; }
.menu-list--tight .dish-row { gap: 16px; }
.menu-list--tight .leader { display: none; }
.menu-list--tight .dish { flex: 1 1 auto; font-size: .875rem; letter-spacing: 0.05em; }
.menu-list--tight .price { font-size: .875rem; text-align: right; }

.menu-note {
  margin-top: var(--s-2);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.menu__foot {
  margin-top: clamp(40px, 5vw, var(--s-5));
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
  max-width: 62ch;
}
.menu__foot strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.menu__prijatno {
  margin-top: var(--s-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* ── Drinks sub-block ─────────────────────────────────────── */
.drinks { margin-top: clamp(48px, 6vw, 92px); }

.menu__subhead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: var(--s-2);
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--gold-soft);
}
.menu__subhead span {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
}
.menu__subhead em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-left: auto;
  white-space: nowrap;
}

/* Mobile-only disclosure for the drinks list. Hidden by default so that
   with JS off — or before the script runs — the list is simply open. */
.drinks__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 52px;
  margin-bottom: var(--s-2);
  padding: 12px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
}
.drinks__toggle[hidden] { display: none; }
.drinks__toggle-icon {
  position: relative;
  flex: 0 0 auto;
  width: 13px; height: 13px;
}
.drinks__toggle-icon::before,
.drinks__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 13px; height: 1px;
  background: var(--gold-ink);
  transition: transform var(--dur) var(--ease);
}
.drinks__toggle-icon::after { transform: rotate(90deg); }
.drinks__toggle[aria-expanded="true"] .drinks__toggle-icon::after { transform: rotate(0deg); }

.drinks__body[hidden] { display: none; }

.drinks__grid {
  display: grid;
  gap: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 80px);
}
/* Region sits under the wine, so it must stay smaller than the name. */
.menu-list--tight .desc {
  margin-top: 2px;
  font-size: .8rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* ── Gallery ──────────────────────────────────────────────── */
/* Mobile: one full-width lead image, two side by side beneath it.
   Roughly half the scroll of a stacked column, and it reads as a spread. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: var(--bone);
}
.gallery__item { margin: 0; overflow: hidden; background: var(--ink-deep); }
.gallery__item--tall { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.gallery__item--tall img { aspect-ratio: 16 / 11; }
.gallery__item:hover img { transform: scale(1.035); }

/* ── The Room ─────────────────────────────────────────────── */
.room { background: var(--paper); }
.room__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.room__figure { margin: 0; overflow: hidden; }
.room__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.room__facts { margin-top: var(--s-4); }
.room__facts li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.room__facts li span {
  flex: 0 0 116px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 2.1;
}

/* ── Praise ───────────────────────────────────────────────── */
.praise { background: var(--ink-deep); color: var(--paper); }
.praise__grid { display: grid; gap: clamp(36px, 5vw, 56px); }
.praise__item { margin: 0; text-align: center; }
.praise__item blockquote { margin: 0; }
.praise__item blockquote p {
  font-size: clamp(1.02rem, .95rem + .35vw, 1.16rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.78;
  color: rgba(253, 252, 249, .93);
}
.praise__item blockquote p::before { content: "\201C"; }
.praise__item blockquote p::after  { content: "\201D"; }
.praise__item figcaption {
  margin-top: var(--s-3);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Visit ────────────────────────────────────────────────── */
.visit { background: var(--bone); }
.visit__grid { display: grid; gap: clamp(48px, 6vw, 96px); }

.hours th, .hours td {
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
  font-size: .96rem;
  vertical-align: baseline;
}
.hours th {
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: 44%;
}
.hours td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours .sep { color: var(--gold-ink); padding-inline: 10px; }
.hours .is-closed td { color: var(--muted); }

.visit__address {
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.28rem, 1.05rem + .9vw, 1.7rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--ink);
}
.visit__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: var(--s-3);
}
.visit__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: inset 0 -1px 0 var(--gold);
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.visit__links a:hover {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}
.visit__note {
  margin-block: var(--s-4);
  color: var(--muted);
  font-size: .96rem;
  max-width: 46ch;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 88px);
  text-align: center;
}
.site-footer__mark {
  width: min(70%, 232px);
  margin: 0 auto var(--s-4);
  mix-blend-mode: multiply;
}
.site-footer__meta {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.site-footer__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-shadow: inset 0 -1px 0 var(--gold);
}
.site-footer__fine {
  margin-top: var(--s-2);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Reveal animation ─────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Breakpoints
   ============================================================ */

/* Phones: same content, tighter rhythm. Keeps the whole menu open and
   readable rather than hiding it behind accordions. */
@media (max-width: 639px) {
  /* Sized so "Reserve a Table" clears the fold on a 375×812 phone. */
  .hero__figure { aspect-ratio: 3 / 2; }
  .hero__panel { padding-block: 32px 40px; }
  .hero__content .eyebrow { margin-bottom: var(--s-2); }
  .hero__line { font-size: 1.04rem; line-height: 1.55; margin-bottom: var(--s-2); }
  .hero__logo { margin-bottom: var(--s-3); }
  .hero__actions { margin-bottom: var(--s-2); }

  .menu-group__title { padding-bottom: 10px; margin-bottom: 12px; }
  .menu-group__title span { font-size: .96rem; letter-spacing: 0.16em; }
  .menu-list li { padding-block: 11px; }
  .menu-list--tight li { padding-block: 8px; }
  .dish { font-size: .93rem; letter-spacing: 0.06em; }
  .desc { font-size: .875rem; line-height: 1.5; }
  .menu__foot { margin-top: var(--s-4); }

  .hours th, .hours td { padding-block: 11px; font-size: .92rem; }
  .visit__note { margin-block: var(--s-3); }

  .story__figure img, .room__figure img { aspect-ratio: 16 / 11; }
  .room__facts { margin-top: var(--s-3); }
  .room__facts li { padding-block: 10px; }

  .prose p + p { margin-top: 1em; }
  .signature { margin-top: var(--s-3); }
  .praise__grid { gap: var(--s-4); }

  .drinks__toggle:not([hidden]) { display: flex; }
}

@media (min-width: 640px) {
  /* Tablet still stacks, so the photo becomes a cinematic band — this keeps
     the wordmark and both buttons above the fold on a portrait iPad. */
  .hero__figure { aspect-ratio: 16 / 9; max-height: 38svh; }
  .hero__panel { padding-block: 44px; }

  .gallery__item--tall { grid-column: span 1; grid-row: span 2; }
  .gallery__item--tall img { aspect-ratio: 3 / 4; }
  .praise__grid { grid-template-columns: 1fr; max-width: 60ch; margin-inline: auto; }
}

@media (min-width: 768px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .drinks__grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .story__grid, .room__grid { grid-template-columns: 1fr 1fr; }
  .room__figure { order: 2; }
  .room__text { order: 1; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-actions .btn--sm { display: inline-flex; }
  .nav-toggle { display: none; }

  .hero {
    grid-template-columns: 47fr 53fr;
    min-height: calc(100svh - var(--header-h));
  }
  .hero__panel { order: 1; padding-block: clamp(72px, 7vw, 108px); }
  .hero__logo { width: min(100%, 400px); }
  .hero__figure { order: 2; aspect-ratio: auto; max-height: none; height: 100%; min-height: calc(100svh - var(--header-h)); }

  .scroll-cue {
    display: block;
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 60px;
  }
  .scroll-cue__line {
    position: absolute;
    top: 0; left: 50%;
    width: 1px; height: 56px;
    background: linear-gradient(180deg, transparent, var(--gold));
    transform-origin: top;
    animation: cue 2.6s var(--ease) infinite;
  }
  @keyframes cue {
    0%   { transform: scaleY(0); opacity: 0; }
    35%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1) translateY(56px); opacity: 0; }
  }

  .praise__grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .story__figure img, .room__figure img { aspect-ratio: 5 / 6; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item img, .gallery__item--tall img { aspect-ratio: 4 / 5; }
}

@media (min-width: 1024px) {
  .drinks__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); column-gap: 120px; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .scroll-cue__line { opacity: .6; }
}

/* ── Forced colours ───────────────────────────────────────────
   Windows high-contrast replaces the palette wholesale; clipped
   gradient text would vanish, so hand the headings back to the OS. */
@media (forced-colors: active) {
  .display, .display--light {
    background-image: none;
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
  }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .nav-overlay, .scroll-cue, .band, .gallery { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
  /* Gradient fills print unreliably — force solid ink. */
  .display, .display--light {
    background-image: none;
    -webkit-text-fill-color: #000;
    color: #000;
  }
  .leader { background: #bbb; }
}
