/* Mandarinier — colours and type taken from their own printed matter.
   red  #771111  sampled from the wordmark PNG
   yellow #FEF49D sampled from poster p039 / the food menu ground            */

:root {
  --red:        #771111;
  --red-deep:   #5d0d0d;
  --yellow:     #fef49d;
  --pale:       #fbf6e4;
  --cream:      #fffdf2;
  --ink:        #3a1410;
  --wrap:       1120px;
  --pad:        24px;
  --mark:       url("img/wordmark-mask.png");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: var(--yellow);
  padding: 12px 18px; z-index: 100; text-decoration: none;
}
.skip:focus { left: 0; }

:where(a, button):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* ── the wordmark, as a tintable mask ──────────────────────────────────
   One file, painted with the current text colour, so it works red-on-yellow
   and yellow-on-red without a second asset.                              */
.wordmark {
  display: block;
  background-color: currentColor;
  -webkit-mask-image: var(--mark);
          mask-image: var(--mark);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  aspect-ratio: 2560 / 874;
}

.wordmark--hero { width: min(560px, 78vw); }
.wordmark--sm   { width: 132px; }
.wordmark--foot { width: 180px; margin-inline: auto; }

/* A slow band of lighter tint crossing the mark, like light moving over a
   painted sign. Purely decorative: if the gradient never resolves the mark
   is simply solid and correct. */
@media (prefers-reduced-motion: no-preference) {
  .wordmark--hero {
    background-image: linear-gradient(
      100deg,
      transparent 0 38%,
      rgba(255,255,255,.55) 46%,
      transparent 54% 100%);
    background-repeat: no-repeat;
    background-size: 260% 100%;
    background-position: 130% 0;
    animation: sheen 7s cubic-bezier(.5,0,.5,1) 1.4s infinite;
  }
}
@keyframes sheen {
  0%   { background-position: 130% 0; }
  55%  { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

/* ── sticky bar ───────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 10px var(--pad);
  background: var(--red);
  color: var(--yellow);
}
.bar__mark { display: block; flex: none; }
.bar__nav {
  display: flex; gap: 22px; margin-inline: auto;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 500;
}
.bar__nav a { text-decoration: none; opacity: .82; }
.bar__nav a:hover, .bar__nav a:focus-visible { opacity: 1; }

@media (max-width: 860px) {
  .bar__nav { display: none; }
  .bar__mark { margin-inline: auto 0; }
  .bar__cta { margin-inline-start: auto; }
}

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--red); color: var(--yellow);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}
.btn:hover, .btn:focus-visible { background: var(--red-deep); transform: translateY(-2px); }
.btn--sm {
  padding: 9px 18px; font-size: 13px;
  background: var(--yellow); color: var(--red);
}
.btn--sm:hover, .btn--sm:focus-visible { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:focus-visible { transform: none; }
}

/* ── hero: their poster, as a page ────────────────────────────────────── */
.hero {
  background: var(--yellow);
  color: var(--red);
  text-align: center;
  padding: clamp(48px, 9vw, 104px) var(--pad) clamp(26px, 4vw, 40px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(22px, 3.4vw, 38px);
  min-height: min(88svh, 780px);
  justify-content: center;
}
.hero__place {
  margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 12px;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
}
/* Below the width where both halves fit on one line, drop the separator and
   let each half own its own line rather than orphaning "RS". */
@media (max-width: 460px) {
  .hero__place { flex-direction: column; gap: 5px; letter-spacing: .16em; }
  .hero__dot { display: none; }
}
.hero__mark { margin: 0; display: flex; justify-content: center; }
.hero__line {
  margin: 0;
  font-size: clamp(19px, 3.1vw, 29px);
  font-weight: 500; line-height: 1.25;
  max-width: 17ch;
}
.hero__act { margin: 0; }
.hero__hours {
  margin: 0;
  display: flex; gap: 14px; align-items: center;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
}

/* ── sections ─────────────────────────────────────────────────────────── */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec--pale   { background: var(--pale);   color: var(--ink); }
.sec--yellow { background: var(--yellow); color: var(--red); }
.sec--red    { background: var(--red);    color: var(--yellow); }

/* every anchor clears the sticky bar */
[id] { scroll-margin-top: 84px; }

.h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: .98;
  font-weight: 800;
  font-variation-settings: "wdth" 88;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.3; font-weight: 600;
  margin: 0 0 20px;
  max-width: 24ch;
}

.quote {
  margin: 0 0 clamp(30px, 5vw, 48px);
  font-size: clamp(20px, 2.9vw, 30px);
  line-height: 1.28; font-weight: 600;
  max-width: 22ch;
}

.split {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--rev .split__text { order: 2; }
}
.split__text p { margin: 0 0 16px; max-width: 46ch; }
.split__text p:last-child { margin-bottom: 0; }

.split__fig { margin: 0; }
.split__fig img { width: 100%; }
.split__fig figcaption {
  margin-top: 12px;
  font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 600;
  opacity: .72;
}

.split--tight { margin-bottom: clamp(30px, 5vw, 54px); align-items: start; }
.split--tight .quote { margin-bottom: 0; }

/* ── the menu ─────────────────────────────────────────────────────────── */
.menu__h {
  margin: clamp(34px, 4.4vw, 52px) 0 0;
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 900;
  font-variation-settings: "wdth" 82;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
}
.menu__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 4px 44px;
}
@media (min-width: 760px) {
  .menu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.menu__list li { padding: 20px 0 0; }
.menu__list h4 {
  margin: 0 0 6px;
  font-size: 17px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
.menu__list p { margin: 0; font-size: 15.5px; line-height: 1.45; font-weight: 500; }

.menu__note {
  margin: 34px 0 0;
  font-style: italic; font-size: 14px; opacity: .78;
  text-align: center;
}
.menu__file { margin: 18px 0 0; text-align: center; font-size: 14px; }
.menu__file a {
  letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
  text-underline-offset: 4px;
}

/* ── drinks ───────────────────────────────────────────────────────────── */
.drinks {
  list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0;
  display: grid; gap: 30px 44px;
}
@media (min-width: 700px)  { .drinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .drinks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.drinks h3 {
  margin: 0 0 4px;
  font-size: 21px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.drinks__p { font-style: italic; opacity: .8; margin: 0 0 6px; font-size: 14.5px; }
.drinks p:last-child { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.menu__file--inv { text-align: left; margin-top: 22px; }

/* ── gallery: column masonry, nothing cropped ─────────────────────────── */
.grid {
  columns: 2;
  column-gap: 16px;
}
@media (min-width: 700px)  { .grid { columns: 3; } }
@media (min-width: 1120px) { .grid { columns: 4; } }
.grid figure { margin: 0 0 16px; break-inside: avoid; }
.grid img { width: 100%; border-radius: 2px; }
.grid__more {
  margin: 22px 0 0; text-align: center;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}

/* ── facts ────────────────────────────────────────────────────────────── */
.facts { margin: 0 0 30px; }
.facts dt {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; opacity: .68; margin-top: 22px;
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 5px 0 0; max-width: 42ch; }
.facts__soft { display: inline-block; margin-top: 6px; font-size: 14.5px; opacity: .78; }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot {
  background: var(--red); color: var(--yellow);
  padding: clamp(44px, 6vw, 68px) 0;
  text-align: center;
}
.foot__line { margin: 16px 0 0; font-size: 15px; font-weight: 500; }
.foot__links { margin: 20px 0 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.foot__links a {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  text-underline-offset: 4px;
}
.foot__addr { margin: 20px 0 0; font-size: 13.5px; opacity: .74; }

/* ── reveal ───────────────────────────────────────────────────────────
   Deliberately NOT scroll-driven. `animation-timeline: view()` resolves to
   its start state whenever the element's scrollport cannot advance — a very
   tall viewport, a short document, a full-page capture — which leaves whole
   sections blank with no error anywhere. An observer that only ever moves
   toward visible, plus a timer backstop in app.js, cannot fail that way.

   The start state is gated behind .js, so a visitor whose JavaScript never
   runs is never shown a hidden element. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    translate: 0 18px;
    transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .3, 1);
  }
  .js .reveal.is-in { opacity: 1; translate: none; }
}
