/* ============================================================
   Foxy Bar — Riera Alta 59, Barcelona
   Plain CSS. No build step, no framework.
   Sections follow the order of index.html.
   ============================================================ */

/* ── Fonts ───────────────────────────────────────────────
   Two faces, self-hosted from assets/fonts/. No Google Fonts request.

   Futura Std — body, labels, prices, buttons. The face used on the
   printed menu, so the site and the boards on the wall share a voice.
   Converted from the .otf files in /fonts (source only, not deployed).

   LICENSING: Futura Std is a commercial Adobe typeface, and so are the
   other faces in /fonts. A desktop licence does not cover @font-face on
   a public site — that needs a separate webfont licence. These files are
   gitignored for that reason. See README → Typography before launch.

   Libre Caslon Display — section titles and the header nav. SIL Open
   Font License, so it ships with the repo. Declared further down.
   ──────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Futura Std';
  src: url('../assets/fonts/futura-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Std';
  src: url('../assets/fonts/futura-book.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Std';
  src: url('../assets/fonts/futura-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Std';
  src: url('../assets/fonts/futura-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Std Condensed';
  src: url('../assets/fonts/futura-cond-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Std Condensed';
  src: url('../assets/fonts/futura-cond.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* Libre Caslon Display — SIL Open Font License, so unlike Futura this one
   ships with the repo (see assets/fonts/LICENSE-LibreCaslonDisplay.txt).
   It stands in for Imprint MT Shadow from the brand folder: Imprint is a
   Caslon revival with the shadow drawn into each glyph, so a Caslon plus a
   CSS text-shadow gets to the same place, and lets the shadow take a brand
   colour and scale with the type. Two subsets — latin-ext carries the
   accents Spanish and Catalan need. */
@font-face {
  font-family: 'Caslon Display';
  src: url('../assets/fonts/caslon-display.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caslon Display';
  src: url('../assets/fonts/caslon-display-ext.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand — sampled from the wordmark and the printed menu */
  --ink:        #0b0b0c;   /* page background */
  --ink-soft:   #141416;   /* raised surfaces */
  --ink-line:   #2a2a2e;   /* hairlines on dark */
  --cream:      #f3e7d0;   /* the menu paper */
  --cream-deep: #e6d5b6;
  --bone:       #f4f0e8;   /* body text on dark */
  --bone-dim:   #a8a29a;
  --orange:     #e8920c;
  --red:        #c6172b;

  /* Caslon Display is scoped deliberately narrowly: section titles and the
     header nav, nothing else. Everything that reads as a label — event
     titles, menu categories, the promos block, the footer motto — stays
     Futura, so the serif marks the page's main landmarks rather than becoming
     a second body face. Swap --font-display to --font-title below if you
     want the serif to spread further. */
  --font-title:   'Caslon Display', 'Hoefler Text', Georgia, serif;
  --font-display: 'Futura Std', 'Century Gothic', 'Avenir Next', sans-serif;
  --font-body:    'Futura Std', 'Century Gothic', 'Avenir Next', sans-serif;
  --font-ui:      'Futura Std', 'Century Gothic', 'Avenir Next', sans-serif;
  --font-cond:    'Futura Std Condensed', 'Futura Std', sans-serif;

  /* The engraved shadow, as one reusable recipe. Offset scales with the
     type: big on a section title, a hairline on the nav. */
  --shadow-ink:   #000;
  --shadow-warm:  rgba(198, 23, 43, .55);  /* brand red, for the big titles */

  --measure: 62ch;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --rule: 1px solid var(--ink-line);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.0625rem);
  line-height: 1.72;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--orange); color: var(--ink); }

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

.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 {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -110%);
  z-index: 200; background: var(--orange); color: var(--ink);
  font-family: var(--font-ui); font-size: .875rem; padding: .6rem 1.2rem;
  text-decoration: none; transition: transform .18s;
}
.skip:focus { transform: translate(-50%, 0); }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(46rem, 100% - var(--gutter) * 2); }

/* ── Type scale ──────────────────────────────────────── */

.section__kicker {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 .9rem;
}

/* Caslon with a hard offset shadow — the Imprint MT Shadow effect, built
   rather than baked in. Two layers: a warm red ghost sitting furthest
   back, and a black one tight to the letter for the engraved edge. */
.section__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-shadow:
    2px 2px 0 var(--shadow-ink),
    4px 4px 0 var(--shadow-warm);
}

/* Small screens: the offset would swamp the letterform, so halve it. */
@media (max-width: 620px) {
  .section__title {
    text-shadow:
      1px 1px 0 var(--shadow-ink),
      2px 2px 0 var(--shadow-warm);
  }
}

.section__intro {
  max-width: var(--measure);
  margin: 0;
  color: var(--bone-dim);
  font-size: 1.15em;
}

.section__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.section__foot { margin-top: clamp(2rem, 5vw, 3rem); }

.link-ext {
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  padding-bottom: .2em;
  transition: border-color .2s;
}
.link-ext:hover { border-bottom-color: currentColor; }

/* ── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95em 1.9em;
  border: 1px solid var(--bone);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s;
}
.btn:hover { background: var(--bone); color: var(--ink); }

.btn--ghost { border-color: rgba(244, 240, 232, .35); color: var(--bone-dim); }
.btn--ghost:hover { border-color: var(--bone); background: transparent; color: var(--bone); }

.btn--solid { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 700; }
.btn--solid:hover { background: transparent; color: var(--orange); }

/* ── Header ──────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(11, 11, 12, .94);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--ink-line);
}

.site-header__inner {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header__logo { flex: none; line-height: 0; }
.site-header__logo img { width: 92px; height: auto; }

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
}
.nav a {
  font-family: var(--font-title);
  font-size: .875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-dim);
  padding: .4em 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s, text-shadow .2s;
  white-space: nowrap;
  /* A single-pixel ghost: enough to echo the titles, not enough to muddy
     14px serif caps. It only warms up on hover, where the link is lit. */
  text-shadow: 1px 1px 0 var(--shadow-ink);
}
.nav a:hover, .nav a.is-current {
  text-shadow: 1px 1px 0 var(--shadow-ink), 2px 2px 0 var(--shadow-warm);
}
.nav a:hover, .nav a.is-current { color: var(--bone); border-bottom-color: var(--orange); }

.site-header__tools { flex: none; display: flex; align-items: center; gap: 1rem; }

.lang { font-family: var(--font-ui); font-size: .75rem; letter-spacing: .12em; color: var(--ink-line); }
.lang button {
  background: none; border: 0; padding: .3em .1em; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: var(--bone-dim);
  transition: color .2s;
}
.lang button:hover { color: var(--bone); }
.lang button.is-active { color: var(--orange); }

.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span:not(.sr-only) {
  display: block; width: 22px; height: 1px; background: var(--bone);
  transition: transform .25s, opacity .25s;
}
.burger span + span:not(.sr-only) { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 950px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 4.5rem 0 auto 0;
    flex-direction: column; align-items: center; gap: 0;
    background: rgba(11, 11, 12, .98);
    border-bottom: var(--rule);
    padding: 1rem 0 2rem;
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: .9em 0; font-size: .875rem; }
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  /* The source frame is a dusk shot and reads almost black behind an
     overlay. Lift it here rather than re-editing the JPEG, so the original
     in images/ stays untouched. */
  filter: brightness(1.3) contrast(1.03) saturate(1.08);
}

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(11,11,12,.24) 0%, rgba(11,11,12,.60) 62%, rgba(11,11,12,.88) 100%),
    linear-gradient(to bottom, rgba(11,11,12,.72) 0%, transparent 24%, transparent 68%, var(--ink) 100%);
}

.hero__body { text-align: center; max-width: 44rem; }

.hero__title { margin: 0; }

/* The crest carries the name, the address and both mottos, so the hero
   needs no separate wordmark or tagline underneath it. */
.hero__crest {
  height: min(64svh, 35rem);
  width: auto;
  margin-inline: auto;
  /* The crest is white line art; a soft dark halo keeps its finer strokes
     readable now that the photo behind it is brighter. */
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .75));
}

.hero__sub {
  color: var(--bone);
  font-size: 1.2em;
  max-width: 34rem;
  margin: 1.4rem auto 0;
  /* Type over a lighter photo needs its own backing to stay legible. */
  text-shadow: 0 1px 10px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .7);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 2.6rem 0 0; }

.hero__hours {
  position: absolute;
  bottom: 1.8rem; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.hero__hours .dot { margin: 0 .8em; color: var(--orange); }

@media (max-width: 560px) {
  .hero { padding-bottom: 7rem; }
  .hero__crest { height: min(52svh, 25rem); }
  .hero__hours { display: grid; gap: .35rem; bottom: 2.2rem; font-size: .6875rem; }
  .hero__hours .dot { display: none; }
  .hero__actions .btn { width: 100%; text-align: center; }
}

/* ── Sections ────────────────────────────────────────── */

.section { padding: clamp(4.5rem, 11vw, 9rem) 0; border-top: var(--rule); }
.section--shows { border-top: 0; }

/* ── Shows ───────────────────────────────────────────── */

.events { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.event {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: var(--rule);
}
.events .event:last-child { border-bottom: 0; padding-bottom: 0; }

.event__media { overflow: hidden; background: var(--ink-soft); }
.event__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(.92);
  transition: transform .6s ease;
}
.event:hover .event__media img { transform: scale(1.04); }
/* Posters with their own type ("fit": "contain" in events.json) are shown whole, not cropped. */
.event__media img.is-contain { object-fit: contain; background: #000; }
.event:hover .event__media img.is-contain { transform: none; }

.event__date {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 .7rem;
}
.event__date--soon { color: var(--bone-dim); }

.event__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .7rem;
}

.event__blurb { margin: 0; color: var(--bone-dim); max-width: var(--measure); }

@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; }
}

/* ── Promos ──────────────────────────────────────────── */

.promos { margin-bottom: clamp(3.5rem, 8vw, 6rem); }

.promos__frame {
  background: #000;
  color: var(--bone);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--ink-line);
  outline: 1px solid var(--ink-line);
  outline-offset: 6px;
  text-align: center;
}

/* Same Caslon-with-offset-shadow treatment as the section titles. */
.promos__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-shadow:
    2px 2px 0 var(--shadow-ink),
    4px 4px 0 var(--shadow-warm);
}
@media (max-width: 620px) {
  .promos__title {
    text-shadow:
      1px 1px 0 var(--shadow-ink),
      2px 2px 0 var(--shadow-warm);
  }
}

.promos__conditions {
  font-family: var(--font-ui);
  font-size: .8125rem;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--bone-dim);
  max-width: 34rem;
  margin: 0 auto clamp(1.8rem, 4vw, 2.8rem);
}

.promos__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.promos__item { display: grid; gap: .3rem; align-content: start; }
.promos__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone);
}
.promos__price {
  font-family: var(--font-cond);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}
.promos__note {
  font-family: var(--font-ui);
  font-size: .75rem;
  line-height: 1.5;
  color: var(--bone-dim);
}

/* ── Carta — the photographed menu pages ─────────────── */

.carta__open { margin: 0 0 clamp(1.8rem, 4vw, 2.6rem); }

/* The full text version, collapsed by default — there for search engines,
   screen readers and anyone who'd rather not pinch-zoom a photograph. */
.carta__text { border-top: var(--rule); padding-top: 1.5rem; }

.carta__text summary {
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  cursor: pointer;
  list-style: none;
  padding: .4rem 0;
}
.carta__text summary::-webkit-details-marker { display: none; }
.carta__text summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--bone-dim);
}
.carta__text[open] summary::before { content: "–"; }

.carta__text[open] .menu { margin-top: clamp(2rem, 4vw, 3rem); }

/* ── Menu (text version) ─────────────────────────────── */

.section__head--menu { margin-bottom: clamp(2rem, 5vw, 3rem); }

.menu {
  columns: 2;
  column-gap: clamp(2.5rem, 6vw, 5rem);
}
@media (max-width: 800px) { .menu { columns: 1; } }

.menu__cat { break-inside: avoid; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); }

.menu__catHead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: .6rem;
  margin-bottom: 1.4rem;
}

.menu__catName {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0;
}

.menu__catPrice {
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .14em;
  color: var(--orange);
  white-space: nowrap;
}

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

.menu__item { display: grid; gap: .1rem; }

.menu__line {
  margin: 0;
  display: flex; align-items: baseline; gap: .6rem;
}
.menu__name { font-size: 1.05em; }
.menu__variants { color: var(--bone-dim); font-size: .92em; }
.menu__dots {
  flex: 1;
  border-bottom: 1px dotted var(--ink-line);
  transform: translateY(-.28em);
  min-width: 1.5rem;
}
.menu__price {
  font-family: var(--font-cond);
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
  white-space: nowrap;
}
.menu__shot { color: var(--bone-dim); }

.menu__desc {
  font-size: .95em;
  line-height: 1.5;
  color: var(--bone-dim);
  margin: 0;
  max-width: 34rem;
}

.menu__foot {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--bone-dim);
  margin: 1.2rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--ink-line);
}

/* ── Gallery ─────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13rem;
  grid-auto-flow: row dense;
  gap: .6rem;
}
.grid__cell {
  position: relative;
  padding: 0; border: 0; margin: 0;
  background: var(--ink-soft);
  overflow: hidden;
  cursor: zoom-in;
}
.grid__cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, opacity .3s;
  opacity: .88;
}
.grid__cell:hover img, .grid__cell:focus-visible img { transform: scale(1.05); opacity: 1; }

.grid__cell--wide { grid-column: span 2; }
.grid__cell--tall { grid-row: span 2; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 8.5rem; }
  .grid__cell--tall { grid-row: span 1; }
}

/* ── Lightbox ────────────────────────────────────────── */

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7, 7, 8, .96);
  display: grid;
  grid-template-columns: 4rem 1fr 4rem;
  align-items: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }

.lightbox__figure { grid-column: 2; margin: 0; text-align: center; }
.lightbox__figure img {
  max-width: 100%; max-height: 78svh; width: auto; margin-inline: auto;
}
.lightbox__figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: .8125rem;
  color: var(--bone-dim);
  max-width: 44rem; margin-inline: auto;
  display: flex; justify-content: center; gap: 1.2rem;
}
.lightbox__count { color: #6b6761; font-variant-numeric: tabular-nums; }

/* Menu pages are documents, not photographs: size them to be readable and
   let the viewer scroll a tall page rather than shrinking it to fit. */
.lightbox--doc .lightbox__figure {
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lightbox--doc .lightbox__figure img {
  max-height: none;
  width: min(46rem, 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .7);
  cursor: zoom-in;
}

/* Tapped/clicked: blow the page up and let the viewer pan around it.
   Without this, a photographed menu is unreadable on a phone. */
.lightbox--doc.is-zoomed .lightbox__figure { overflow: auto; }
.lightbox--doc.is-zoomed .lightbox__figure img {
  width: 200%;
  max-width: none;
  height: auto;
  cursor: zoom-out;
}
.lightbox--doc .lightbox__figure figcaption {
  position: sticky; bottom: 0;
  background: rgba(7, 7, 8, .92);
  padding: .8rem 0 .4rem;
  margin-top: 0;
}

.lightbox__close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: 0; cursor: pointer;
  color: var(--bone); font-size: 2.2rem; line-height: 1;
}
.lightbox__nav {
  background: none; border: 0; cursor: pointer;
  color: var(--bone-dim); font-size: 3rem; line-height: 1;
  transition: color .2s;
}
.lightbox__nav:hover { color: var(--bone); }
.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--next { grid-column: 3; }
.lightbox__nav[hidden] { display: none; }

@media (max-width: 620px) {
  .lightbox { grid-template-columns: 2.4rem 1fr 2.4rem; padding: .5rem; }
  .lightbox__nav { font-size: 2rem; }
  .lightbox--doc .lightbox__figure img { width: 100%; }
}

/* ── Reviews ─────────────────────────────────────────── */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.review {
  background: var(--ink-soft);
  border: var(--rule);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  align-content: start;
  gap: .9rem;
}

.review__stars { color: var(--orange); letter-spacing: .18em; font-size: .9rem; }

.review__text { margin: 0; font-size: 1.05em; font-weight: 300; line-height: 1.6; }
.review__text::before { content: "\201C"; }
.review__text::after  { content: "\201D"; }

.review__meta {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0;
}

/* ── Visit ───────────────────────────────────────────── */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 24rem) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.visit__address {
  font-style: normal;
  font-size: 1.2em;
  line-height: 1.8;
  margin: 0 0 2rem;
}

.hours { border-collapse: collapse; width: 100%; margin: 0 0 2rem; }
.hours th, .hours td {
  text-align: left; padding: .75rem 0;
  border-bottom: 1px solid var(--ink-line);
  font-weight: 400;
}
.hours th { color: var(--bone-dim); }
.hours td { text-align: right; font-family: var(--font-ui); font-size: .9rem; font-variant-numeric: tabular-nums; }

.visit__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.visit__contact a {
  font-family: var(--font-ui); font-size: .9rem;
  text-decoration: none; border-bottom: 1px solid var(--ink-line);
  padding-bottom: .15em; transition: border-color .2s, color .2s;
}
.visit__contact a:hover { color: var(--orange); border-bottom-color: var(--orange); }

.visit__map { border: var(--rule); background: var(--ink-soft); }
.visit__map iframe {
  display: block; width: 100%; height: clamp(20rem, 42vh, 30rem);
  border: 0; filter: grayscale(1) invert(.92) contrast(.86);
}

/* ── Form ────────────────────────────────────────────── */

.form { display: grid; gap: 1.5rem; }

.field { display: grid; gap: .5rem; }

.field label {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.field input, .field select, .field textarea {
  font: inherit;
  color: var(--bone);
  background: var(--ink-soft);
  border: var(--rule);
  padding: .8em 1em;
  border-radius: 0;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); }
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: none; }

.field [aria-invalid="true"] { border-color: var(--red); }

.form__note, .form__status {
  font-family: var(--font-ui);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--bone-dim);
  margin: 0;
}
.form__status:empty { display: none; }
.form__status.is-error { color: var(--red); }
.form__status.is-ok { color: var(--orange); }

.form .btn { justify-self: start; }

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  border-top: var(--rule);
  padding: clamp(3.5rem, 8vw, 6rem) 0 3rem;
  text-align: center;
}

.site-footer__inner { display: grid; justify-items: center; gap: 1.1rem; }

.site-footer__crest { width: 7.5rem; opacity: .5; margin-bottom: .5rem; }

.site-footer__motto {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: .9rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}

.site-footer__meta, .site-footer__social, .site-footer__legal {
  font-family: var(--font-ui);
  font-size: .8125rem;
  color: var(--bone-dim);
  margin: 0;
}
.site-footer__meta a, .site-footer__social a { text-decoration: none; border-bottom: 1px solid var(--ink-line); }
.site-footer__meta a:hover, .site-footer__social a:hover { color: var(--orange); border-bottom-color: currentColor; }

.site-footer__legal { color: #5a5751; margin-top: 1rem; }

/* ── Reveal on scroll ────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── Standalone menu page (carta.html — the QR code target) ───── */

.site-header--static {
  position: sticky;
  background: var(--ink);
  border-bottom-color: var(--ink-line);
}
/* No nav on this page, so push the language switch to the right. */
.site-header--static .site-header__tools { margin-left: auto; }

.carta-page { padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(3rem, 8vw, 5rem); }
.carta-page__head { margin-bottom: clamp(1.8rem, 5vw, 2.8rem); }
.page-carta .promos { margin-bottom: clamp(2rem, 6vw, 3rem); }

.carta-page__hint {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 1.2rem;
}

.carta-page__pages {
  display: grid;
  gap: clamp(1.6rem, 5vw, 2.4rem);
  max-width: 45rem;
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
}
.carta-page__page { margin: 0; display: grid; gap: .7rem; }
.carta-page__page a { display: block; line-height: 0; }
.carta-page__page img {
  width: 100%;
  height: auto;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}
.carta-page__page figcaption {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-align: center;
}

.page-carta .menu { columns: 1; }
@media (min-width: 760px) { .page-carta .menu { columns: 2; } }

.carta-page__back { margin: clamp(2.5rem, 6vw, 3.5rem) 0 0; text-align: center; }
