/* ============================================================================
   site.css  ·  Azura
   ----------------------------------------------------------------------------
   Everything in here is this project. scrollcraft.css is the floor and the
   mechanism and it is not edited: no [data-sc-*] selector and no .sc-stage,
   .sc-copy or .sc-scrim rule is restyled below.

   Palette is the brand: navy and cream are sampled straight out of the supplied
   logo artwork, and terracotta is the one chosen value, because the logo does
   not contain it. Six roles, one accent, no confetti.

   This file is a RE-SKIN. The layout, the act structure and every animation are
   unchanged from the previous brand at the client request; what moved is the six
   colour tokens, the two aperture calibration numbers, and the geometry inside
   the hero mask.
   ========================================================================== */

:root {
  /* THE GROUND IS NOW LIGHT, and that is the whole separation from the other
     site. Inka's is white type on a near-black page. Azura is navy type on
     limewashed plaster: brighter, warmer, and Mediterranean rather than
     nocturnal. Navy stops being the ground and becomes the ink, which is what
     it is in the logo artwork anyway.

     Terracotta is darkened from the dark-ground version, because an accent
     that cleared 5.3:1 on navy only manages 3.8:1 on plaster. #B5532F clears
     4.5:1 against the ground AND carries white type at 4.95:1, so it can be
     both a link colour and a filled button. */
  --sc-canvas:     #F6F2EA;   /* limewash. Warm off-white, never #fff          */
  --sc-surface:    #EFE9DE;   /* raised surfaces, one step DOWN from the ground */
  --sc-ink:        #14304F;   /* the logo navy, #152B48, one step deeper       */
  --sc-ink-soft:   #5C7087;   /* secondary text, tinted to the navy            */
  --sc-accent:     #B5532F;   /* terracotta. Roof tile, not rust               */
  --sc-accent-ink: #FFFFFF;   /* type set on the terracotta                    */

  /* Hairlines have to be redefined for a light ground: the engine derives them
     from --sc-ink, and navy at 12% on plaster is a bruise rather than a rule. */
  --sc-hairline:        color-mix(in oklab, var(--sc-ink) 16%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 30%, transparent);

  /* Both named by the brief and both on Google Fonts, so these are the real
     faces rather than substitutes. Philosopher is a humanist serif with a
     slight flare: warmer and rounder than the other site's Playfair, which is
     exactly the difference the two brands need. */
  --sc-font-display: "Philosopher", Georgia, serif;
  --sc-font-text:    "Montserrat", system-ui, -apple-system, sans-serif;
  --sc-font-mono:    "Montserrat", ui-monospace, monospace;

  /* Dark ink on a light ground wants the OPPOSITE compensation to light on
     dark: slightly tighter tracking and no extra weight, because dark type on
     a pale field already reads heavier than it measures. */
  --sc-track-normal: -0.002em;

  --sc-shadow-color: 213 34% 34%;

  --bar-h: 4.5rem;
  --rim: color-mix(in oklab, var(--sc-accent) 62%, transparent);

  /* The footer panel's blue. A sky rather than the navy ink, because the
     ground is warm and a cobalt mixed into cream comes out grey. */
  --az-sky: 96 160 230;

  /* THE TEXTURE. Two knobs: how strong, and what colour. */
  --tex-a: 0.028;   /* the interlace reads as pattern here, not just grain */
  --tex-ink: var(--sc-ink);

  /* THE ARCH. The one shape that separates this site from the other at a
     glance: Inka's is square-cornered throughout, Azura is arched, taken from
     the rose window and from every Mediterranean doorway. Used on media,
     never on type. */
  --arch: 50% 50% var(--r) var(--r) / 30% 30% 2% 2%;
}

/* A generous radius, where the other site holds 2px. Shape is half the
   identity here. */
:root { --r: 10px; }

html { scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { font-weight: 400; }

/* ========================================================== THE TEXTURE ====
   The client's Moorish interlace, filling the dead ground and nothing else.

   It is a MASK, not an image, so the pattern takes the palette instead of
   carrying its own colours, and re-tinting it later is one token rather than
   a new export.

   The supplied artwork has NO alpha channel, unlike the other site's pattern,
   so the stencil had to be derived: it is the inverted luminance of the
   navy-on-cream cut, which makes the linework opaque and drops the cream
   field out. The blue-on-navy cut is kept beside it as texture-inverse.webp
   for any dark surface that wants it later.

   Placement matches the other site and for the same reason. A fixed
   pseudo-element at z-index -1 is the one layer that paints ABOVE the page
   ground and BELOW every piece of content, so the pattern can never land on
   a photograph, a scrim or a line of type. Sized to cover rather than
   repeated: one instance the size of the viewport has no seams to line up,
   and this artwork does not tile. */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--tex-ink);
  -webkit-mask: url("assets/texture.webp") center / cover no-repeat;
          mask: url("assets/texture.webp") center / cover no-repeat;
  opacity: var(--tex-a);
}

/* The closing stage paints its own opaque canvas, which would hide the layer
   above. Hand it back. The photographic acts keep their opaque grounds,
   because texture has no business under a full-bleed plate. */
.close { background: transparent; }

/* Philosopher is a humanist serif rather than a Didone: it has no hairlines to
   protect, and it needs a touch more weight to hold a heading than Bodoni did. */
.sc-display { font-weight: 700; letter-spacing: -0.012em; }

/* ------------------------------------------------------------------ type -- */
.eyebrow {
  font-family: var(--sc-font-text);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
  margin: 0;
}
.spanish {
  font-family: var(--sc-font-display);
  font-style: italic;
  color: var(--sc-accent);
  letter-spacing: 0;
}
.hair { height: 1px; border: 0; background: var(--sc-hairline); margin: 0; }

/* =========================================================== THE LOGO ==== */
/* The client's all-white PNG is the logo, everywhere, at every size. `mark.svg`
   is a fallback only: logo-fallback.js swaps to it if the PNG is missing, so a
   file that has not been dropped in yet degrades to a drawn mark instead of a
   broken-image icon. */
.mark { display: block; width: auto; }
.mark--bar   { height: 2.1rem; }
/* The hero mark takes its height FROM --logo-h and never sets its own. The
   drawn mask is positioned and sized from that same token (see .room), so the
   two are the same number by construction. Setting a height here and a
   --logo-h there is how the phone ended up with the mask centred on a logo
   height the logo no longer had: the emblem drifted low and off the mark. To
   resize the hero mark, override --logo-h on .room, never this. */
.mark--title { height: var(--logo-h, clamp(7rem, 22vh, 15rem)); }
.mark--foot  { height: 3.4rem; }

/* =============================================================== THE BAR ==
   Two-tier nav. This tier is the site: six destinations plus the two calls to
   action the client requires. The collection's own index is .folio, below. */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--bar-h);
  display: flex; align-items: center; gap: var(--sc-5);
  padding-inline: var(--sc-gutter);
  background: color-mix(in oklab, var(--sc-canvas) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.05);
  border-bottom: 1px solid var(--sc-hairline);
}
.bar__home { flex: 0 0 auto; display: flex; align-items: center; }
.bar__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(0.75rem, 1.8vw, 1.9rem); }
.bar__link {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--sc-ink-soft); text-decoration: none;
  padding-block: 0.9rem;
  transition: color 150ms var(--sc-ease-out);
}
.bar__link:hover { color: var(--sc-ink); }
.bar__link[aria-current="page"] { color: var(--sc-ink); }
.bar__link[aria-current="page"]::after {
  content: ""; display: block; height: 1px; margin-top: 0.4rem;
  background: var(--sc-accent);
}
.bar__ctas { display: flex; align-items: center; gap: 0.6rem; margin-left: clamp(0.5rem, 2vw, 1.6rem); }

/* The two required calls to action. One label per intent, used identically in
   the bar, in act 1 and in the close. */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  font-family: var(--sc-font-text);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.72rem 1.15rem;
  border-radius: var(--r);
  transition: background-color 150ms var(--sc-ease-out),
              color 150ms var(--sc-ease-out),
              border-color 150ms var(--sc-ease-out),
              transform 120ms var(--sc-ease-out);
}
.cta--accent {
  background: var(--sc-accent); color: var(--sc-accent-ink);
  border: 1px solid var(--sc-accent);
}
.cta--accent:hover { background: color-mix(in oklab, var(--sc-accent) 84%, #fff); }
.cta--ghost {
  background: transparent; color: var(--sc-ink);
  border: 1px solid var(--sc-hairline-strong);
}
.cta--ghost:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
.cta:active { transform: translateY(1px); }
.cta--lg { font-size: 0.8rem; padding: 1rem 1.6rem; letter-spacing: 0.16em; }

/* ============================================== THE BURGER AND THE PANEL ==
   A three-line button at every width, not just on a phone, and the five
   destinations the brief names. Where the other site spreads its sections
   across a tab row, this one keeps the bar almost empty and puts the whole
   navigation behind one control: quieter chrome, and a different silhouette
   at a glance. */
.burger {
  margin-left: auto;
  width: 2.9rem; height: 2.9rem;
  display: grid; align-content: center; justify-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--sc-ink);
  transition: transform 260ms var(--sc-ease-out), opacity 160ms var(--sc-ease-out);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

.sheet {
  position: fixed; inset: 0; z-index: 59;
  background: var(--sc-canvas);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 260ms var(--sc-ease-out), visibility 260ms;
}
.sheet[data-open="true"] { opacity: 1; visibility: visible; }
.sheet__inner {
  width: min(52rem, calc(100% - 2 * var(--sc-gutter)));
  padding-top: var(--bar-h);
}
.sheet__main { list-style: none; margin: 0; padding: 0; }
.sheet__main li { border-bottom: 1px solid var(--sc-hairline); }
.sheet__main li:first-child { border-top: 1px solid var(--sc-hairline); }
.sheet__main a {
  display: block;
  padding: clamp(0.8rem, 2.2vh, 1.5rem) 0;
  font-family: var(--sc-font-display);
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--sc-ink);
  text-decoration: none;
  transition: color 160ms var(--sc-ease-out), padding-left 260ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .sheet__main a:hover { color: var(--sc-accent); padding-left: 0.7rem; }
}
.sheet__more {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.8rem;
  margin-top: var(--sc-6);
}
.sheet__more a {
  font-family: var(--sc-font-text);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sc-ink-soft); text-decoration: none;
}
.sheet__more a:hover { color: var(--sc-accent); }

@media (max-width: 560px) {
  .bar__ctas .cta--ghost { display: none; }
  .mark--bar { height: 1.8rem; }
}

/* ======================================================= THE LABEL SCHEMA ==
   The one thing that makes this a collection instead of a grid: every object on
   the site, the room included, is described by the same three parts. Name,
   figure, fact. No object gets a different treatment and none of them gets a
   sales line. */
.label { display: block; }
.label__head {
  display: flex; align-items: baseline; gap: 0.75rem;
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-lg);
  line-height: 1.2;
  letter-spacing: 0;
}
.label__name { color: var(--sc-ink); }
.label__rule { flex: 1 1 auto; height: 1px; background: var(--sc-hairline); transform: translateY(-0.28em); }
.label__fig {
  flex: 0 0 auto;
  font-family: var(--sc-font-text);
  font-size: 0.95rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--sc-accent);
}
/* The accent mark. On the landing page a dish carries this instead of a
   figure: a bare "38" beside a name reads as a loose number rather than as a
   price, and the landing page is not where anybody is comparing prices. The
   full menu keeps real prices, currency mark and all. Same gold, same
   language as the folio ticks and the ring. */
.label__mk {
  flex: 0 0 auto;
  width: 15px; height: 2px;
  background: var(--sc-accent);
  border-radius: 1px;
  transform: translateY(-0.34em);
}
.label__note {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--sc-ink-soft);
  max-width: 58ch;
  text-wrap: pretty;
}
.label__marks {
  margin: 0.45rem 0 0;
  /* A flex container does not suppress ::marker: the bullets still paint, one
     before the row and one inside every pill. Invisible while a dish carried
     at most one mark; the real card carries up to four. */
  padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.label__mark {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sc-ink-soft);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--r);
  padding: 0.16rem 0.42rem;
}
.label__variants {
  margin: 0.6rem 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.15rem;
}
.label__variants li { font-size: 0.86rem; color: var(--sc-ink-soft); }
.label__variants b { font-weight: 500; color: var(--sc-ink); }
.label__variants span { color: var(--sc-accent); font-variant-numeric: tabular-nums; }

/* ============================================== ACT 1 · THE ROOM (object 0) */
.room { background: var(--sc-canvas); }
.room__plane { position: absolute; inset: -6% -2%; will-change: transform; }
.room__plane img { width: 100%; height: 100%; object-fit: cover; }

/* The exterior is the ground: it is on screen before the act's progress leaves
   zero, which is what the "ground or greet" rule asks for. */
.room__ext img { opacity: 0.62; filter: saturate(0.72) contrast(1.04); }

/* THE APERTURE. The interior is clipped to a circle centred on the mark, and
   the radius is driven straight off the act's own --sc-p. At p=0 it is a
   keyhole behind the logo and the visitor is on the street; by p=1 the circle
   has passed the corners of the viewport and they are inside.

   The radius is ONE length, --apr, declared on the stage. Both the clip-path
   and the ring that draws its rim read it, so a change to the easing moves the
   photograph and its rim together and they can never disagree. A percentage
   radius could not do this: a percentage inside circle() resolves against
   sqrt((w²+h²)/2) of the reference box, which no border-width can match. */
/* ─── the aperture's geometry, and the two numbers that calibrate it ───────
   The drawn mask has to start life sitting EXACTLY on the emblem inside the
   logo file, or the move reads as a ring appearing near the logo rather than
   as the logo itself opening. That needs to know where the emblem sits inside
   the artwork, which is a property of the file, so it is two tokens:

     --emblem-cy  the emblem's centre, measured DOWN from the logo's own
                  centre, as a fraction of the logo's height
     --emblem-r   the emblem's outer radius, as a fraction of that height

   Both are calibrated against assets/mark.svg (viewBox 200x168, emblem centred
   at y=118 with an outer tick radius of 40: 118/168 - 0.5 = 0.202, 40/168 =
   0.238). RECALIBRATE THESE TWO NUMBERS when the client's PNG is dropped in,
   and nothing else in the act needs touching.

   --apr is the radius of the aperture RING specifically, not of the ticks. The
   svg puts the ring at r=74 and the ticks at r=92, so the ring is 74/92 =
   0.804 of the emblem's outer radius. The end value is vmax rather than vw
   because the circle has to clear the corner of the viewport in both
   orientations. */
.room {
  --logo-h: clamp(9rem, 27vh, 18rem);
  --emblem-cy: -0.21;    /* medallion sits ABOVE the wordmark, hence negative */
  --emblem-r: 0.2867;   /* rose radius over logo height, measured off the artwork */
  --emblem-y: calc(47% + var(--emblem-cy) * var(--logo-h));
  --apr: calc(var(--emblem-r) * var(--logo-h) + var(--sc-p, 0) * 78vmax);
}
.room__int {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle var(--apr) at 50% var(--emblem-y),
                        #000 calc(100% - 26px), transparent 100%);
          mask-image: radial-gradient(circle var(--apr) at 50% var(--emblem-y),
                        #000 calc(100% - 26px), transparent 100%);
}
.room__int img { width: 100%; height: 100%; object-fit: cover; }

/* A scrim only where the mark sits, and a sibling of the copy rather than a
   child of it, so the verification pass can actually measure it. */
.room__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(62rem 21rem at 50% 73%,
      color-mix(in oklab, var(--sc-canvas) 88%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 66%, transparent) 52%,
      transparent 86%),
    radial-gradient(44rem 36rem at 50% 52%,
      color-mix(in oklab, var(--sc-canvas) 66%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 40%, transparent) 46%,
      transparent 78%),
    linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 74%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 40%, transparent) 30%,
      transparent 58%);
}

/* ─────────────────────────────────────────── THE MASK · signature move ────
   The client's circular emblem, drawn live so it can come apart.

   Sizing: the SVG is a 200-unit box with the aperture ring at r=74, so the box
   has to be 200/74 = 2.7027 times the aperture radius for that ring to land
   exactly on the clip-path's edge. Both read the same --apr, so the ring and
   the circle it is cutting the photograph with cannot drift apart.

   max-width: none is not optional. scrollcraft.css carries a global
   `img, video, canvas, svg { max-width: 100% }`, which silently caps this
   element at its container's width once --apr grows past it, and the ring then
   stops matching the aperture. That exact cap is what put the first version's
   gold circle 58px up and to the left of the hole it was meant to trace.

   Strokes are non-scaling, so a circle the width of the screen is still drawn
   as a hairline instead of a thick gold band. */
.room__mask {
  position: absolute; z-index: 3; pointer-events: none;
  left: 50%; top: var(--emblem-y);
  width: calc(var(--apr) * 2.1739); aspect-ratio: 1;
  translate: -50% -50%;
}
.room__mask svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
.room__mask svg {
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: square;
  /* White at rest, gold as it opens. At p=0 the drawn emblem is sitting on top
     of the white emblem in the logo file, so it has to BE that emblem: a gold
     ring appearing over a white mark reads as a decoration somebody added
     rather than as the mark coming to life. It warms into the accent over the
     first third, by which point the logo underneath has begun to fade. */
  stroke: color-mix(in oklab,
    var(--sc-ink) calc((1 - clamp(0, var(--sc-p, 0) / 0.34, 1)) * 100%),
    var(--sc-accent));
}

/* The order things leave in IS the move, so each layer gets its own window.
   The face goes first and fast, because that is the part a visitor reads as
   "the mask is opening". The scalloped ring follows. The inner hairline goes
   last but one. What survives is a single clean circle, which by then is the
   only thing left holding the edge of the photograph. */
.mask__face  { opacity: calc(1 - clamp(0, var(--sc-p, 0) / 0.22, 1)); }
.mask__ticks { opacity: calc(1 - clamp(0, (var(--sc-p, 0) - 0.10) / 0.26, 1)); }
.mask__ring--in { opacity: calc(1 - clamp(0, (var(--sc-p, 0) - 0.22) / 0.24, 1)); }
/* The surviving ring dims as it passes the corners of the screen, so the act
   does not end with a gold line parked across the dining room. */
.mask__ring {
  opacity: calc(0.55 + clamp(0, var(--sc-p, 0) / 0.26, 1) * 0.45
                     - clamp(0, (var(--sc-p, 0) - 0.55) / 0.27, 1) * 1);
}

.room__copy {
  position: absolute; z-index: 20;
  left: 50%; translate: -50% 0;
  /* directly under the mark, not pinned to the floor of the stage */
  top: calc(47% + var(--logo-h) * 0.52 + clamp(0.75rem, 2.5vh, 2rem));
  width: min(60rem, calc(100% - 2 * var(--sc-gutter)));
  text-align: center;
}
.room__mark {
  position: absolute; z-index: 20;
  left: 50%; top: 47%; translate: -50% -50%;
  display: grid; place-items: center;
}
.room__label { display: inline-block; text-align: center; }
.room__label .label__head { justify-content: center; }
.room__label .label__rule { display: none; }
.room__facts {
  margin: 0;
  font-size: clamp(0.84rem, 1.05vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--sc-ink);
}
.room__facts span + span::before { content: " · "; color: var(--sc-hairline-strong); }
.room__ctas {
  margin-top: var(--sc-5);
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
}
/* Hours, immediately under the buttons. Small, quiet, one line on a desktop
   and wrapping cleanly on a phone. The separator is the accent, so the line
   reads as four facts rather than as a sentence. */
.room__hours {
  margin: var(--sc-5) 0 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--sc-ink-soft);
}
.room__hours span { display: inline-flex; align-items: baseline; gap: 0.42rem; }
.room__hours span + span::before {
  content: ""; align-self: center;
  width: 9px; height: 2px; border-radius: 1px;
  background: var(--sc-accent);
  margin-right: 0.7rem;
}
.room__hours b {
  font-weight: 600; color: var(--sc-ink);
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem;
}

/* ══════════════════════════════════ ACT 2 · THE PLATES (peak) ════════════
   Five full-bleed frames stacked in one pinned stage, cross-faded by engine
   cues. No JavaScript drives any of this: the fade is [data-sc-cue], and the
   push-in and the turn are calc() against the act's own --sc-p.

   HOW THE PER-SLIDE PROGRESS WORKS. Each slide carries --i, its index. The act
   publishes --sc-p across all five, so (p * 5 - i) is that slide's own 0..1
   local progress, negative before its turn and above 1 after it. clamp() with
   unitless bounds pins it to the slide's own window, and every slide shares
   one rule. Five separate keyframe sets would say the same thing five times.

   The turn is the whole frame, not a cut-out plate: cutting the plate out
   would need transparent assets and would leave a hole in the photograph. A
   frame that rotates two and a half degrees while it pushes in reads as the
   dish being set down and turned, and it costs one transform. */
.plates { background: var(--sc-canvas); }

.plates__media { position: absolute; inset: 0; z-index: 0; }
.pslide { position: absolute; inset: 0; will-change: opacity; }
.pslide__img {
  width: 100%; height: 100%; object-fit: cover;
  --lp: calc(var(--sc-p, 0) * 5 - var(--i, 0));
  --k: clamp(0, var(--lp), 1);
  transform:
    scale(calc(1.05 + var(--k) * 0.07))
    rotate(calc((var(--k) - 0.5) * 2.6deg));
  transform-origin: 38% 52%;
  will-change: transform;
}

/* A column of density under the copy only. The left two thirds of every
   photograph keeps its full contrast, which an edge-to-edge scrim would throw
   away to fix a problem that only exists on one side of the frame. */
.plates__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to left,
      color-mix(in oklab, var(--sc-canvas) 93%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 86%, transparent) 26%,
      color-mix(in oklab, var(--sc-canvas) 46%, transparent) 46%,
      transparent 64%),
    linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 72%, transparent) 0%,
      transparent 34%);
}

.plates__copy {
  position: absolute; z-index: 2;
  right: var(--sc-gutter);
  top: 50%; translate: 0 -50%;
  width: min(30rem, 42vw);
}
.plates__kicker {
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: var(--sc-t-2xl);
  line-height: 1.04;
  letter-spacing: -0.014em;
  text-transform: none;
  color: var(--sc-accent);
  max-width: 13ch;
  text-wrap: balance;
  margin: 0 0 var(--sc-5);
}
@media (max-width: 900px) {
  .plates__kicker { font-size: var(--sc-t-xl); max-width: none; margin-bottom: var(--sc-4); }
}

/* The five descriptions occupy the same box and cross-fade in place, so the
   column does not jump as a longer note replaces a shorter one. The stack is
   given the tallest child's height by the grid, not by a hardcoded min-height
   that would go stale the moment a dish is renamed. */
.plates__stack { display: grid; }
.plates__stack > .pcopy { grid-area: 1 / 1; will-change: opacity; }
.pcopy .label__head { font-size: var(--sc-t-xl); }
.pcopy .label__note { margin-top: 0.75rem; font-size: 0.98rem; max-width: 34ch; }
.pcopy .plate__origin { margin-top: 0.7rem; }
.plate__origin {
  margin: 0; font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
}
.plates__cta { margin-top: var(--sc-6); }

@media (max-width: 900px) {
  /* The copy drops to a band across the bottom, which is what a corner anchor
     becomes on a phone anyway, and the scrim follows it there. */
  .plates__copy {
    right: var(--sc-gutter); left: var(--sc-gutter);
    top: auto; bottom: clamp(2rem, 8vh, 5rem); translate: none;
    width: auto;
  }
  .plates__scrim {
    background: linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 78%, transparent) 26%,
      color-mix(in oklab, var(--sc-canvas) 34%, transparent) 48%,
      transparent 66%);
  }
  .pcopy .label__note { max-width: 46ch; }
  .pslide__img { transform-origin: 50% 46%; }
}

@media (prefers-reduced-motion: reduce) {
  .pslide__img { transform: none; }
}

/* ================================================== ACT 5 · THE BAR =======
   The photograph is the ground. It bleeds off three edges and is masked away
   under the copy column, so there is no rectangle and no radius anywhere in
   this act: the image simply stops being image and starts being page. */
.bar-act {
  position: relative;
  overflow: clip;
  padding-block: var(--sc-10);
  min-height: 82vh;
  display: grid; align-items: center;
}
.bar-act__bed {
  position: absolute; inset: -8% 0;
  width: min(62%, 46rem);
  z-index: 0;
}
.bar-act__bed img {
  width: 100%; height: 100%; object-fit: cover;
  /* Two masks: one dissolving the right edge into the copy column, one
     softening top and bottom so the bed has no horizontal cut line either.
     mask-composite intersects them. */
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 38%, transparent 92%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(to right, #000 0%, #000 38%, transparent 92%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bar-act__inner { position: relative; z-index: 1; }
.bar-act__copy { margin-left: auto; width: min(34rem, 100%); }
.bar-act__cta { margin-top: var(--sc-6); }


@media (max-width: 860px) {
  /* The bed goes full width and sinks further back, and the copy sits on top
     of it rather than beside it. The mask keeps the type's own ground clear. */
  .bar-act { min-height: 0; padding-block: var(--sc-9); }
  /* Lower and shorter than it used to be. The bed behind this copy was a
     near-black photograph when these numbers were set; the cocktail stills
     are lit plaster, so at the old 0.45 the glass sat inside the build line
     instead of behind it. Light ground under light type needs the image to
     give way sooner. */
  .bar-act__bed { width: 100%; opacity: 0.3; }
  .bar-act__bed img {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 24%, transparent 62%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 24%, transparent 62%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .bar-act__copy { margin-left: 0; width: 100%; }
}

/* ═══════════════════════════════════════════ THE BAR · the showcase ══════
   Four cocktails, one at a time, stepped through by hand.

   STACKED, NOT A TRACK. A horizontal strip would need the act to own a
   scroll axis of its own, and this act is a flow act in the middle of a page
   somebody is already scrolling: a second axis there is a trap. Everything
   here is one grid cell deep and cross-fades, which also means the act's
   height is fixed by its tallest slide and nothing reflows as it steps.

   The beds keep the mask the single photograph had, so the right edge still
   dissolves into the copy column rather than ending on a rectangle. */
.pbed {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 820ms var(--sc-ease-out);
}
.pbed[data-on] { opacity: 1; }

.pourcase { margin-top: var(--sc-6); }

/* One cell, every slide in it. The tallest build line sets the height once
   and the others sit inside it, so stepping never moves the arrows. */
.pourcase__stack { display: grid; }
.pslot {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity 420ms var(--sc-ease-out),
              transform 420ms var(--sc-ease-out),
              visibility 0s linear 420ms;
}
.pslot[data-on] {
  opacity: 1; visibility: visible;
  transform: none;
  transition-delay: 90ms, 90ms, 0s;
}

.pourcase__nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sc-5);
  margin-top: var(--sc-5);
  padding-top: var(--sc-4);
  border-top: 1px solid var(--sc-hairline);
}

/* Ticks, in the same language as the folio index and the aperture's rim. */
.pourcase__dots { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pdot {
  display: block; width: 1.6rem; height: 1.6rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.pdot::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1.6rem; height: 1px;
  background: var(--sc-hairline-strong);
  transition: background-color 200ms var(--sc-ease-out), height 200ms var(--sc-ease-out);
}
.pdot:hover::after { background: var(--sc-ink-soft); }
.pdot[data-on]::after { background: var(--sc-accent); height: 2px; }

.pourcase__arrows { display: flex; gap: 0.5rem; }
.parrow {
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem;
  background: transparent;
  border: 1px solid var(--sc-hairline-strong);
  border-radius: var(--r);
  color: var(--sc-ink);
  cursor: pointer;
  transition: color 160ms var(--sc-ease-out),
              border-color 160ms var(--sc-ease-out),
              background-color 160ms var(--sc-ease-out);
}
.parrow svg {
  width: 1.1rem; height: 1.1rem;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.parrow:hover {
  color: var(--sc-accent-ink);
  background: var(--sc-accent);
  border-color: var(--sc-accent);
}
.parrow:active { transform: translateY(1px); }

@media (max-width: 860px) {
  /* The bed is behind the type at this width, so the arrows need a ground of
     their own or they sit on a photograph. */
  .parrow {
    width: 3rem; height: 3rem;
    background: color-mix(in oklab, var(--sc-canvas) 82%, transparent);
    backdrop-filter: blur(2px);
  }
  .pourcase__nav { gap: var(--sc-4); }
}

/* Reduced motion: the step still has to be visible, or the arrows read as
   broken. Kept, shortened, and the slide's travel removed. */
@media (prefers-reduced-motion: reduce) {
  .pbed { transition-duration: 240ms; }
  .pslot { transform: none; transition-duration: 160ms; }
  .pslot[data-on] { transition-delay: 0s; }
}

/* ═══════════════════════════════════════════════ ACT 4 · INSIDE ══════════
   A scroll-driven push-in on a still. The frame holds while the camera
   travels into the room, which is the one thing a photograph can do that
   reads as cinema, and it costs a transform rather than a video decode: no
   clip to fetch, nothing to seek, and it scrubs perfectly on a phone.

   The bed is inset past every edge so the scale never uncovers a corner, and
   the copy rides at 1x. Text that moves relative to the thing it is being
   read against is the one parallax mistake that is always wrong. */
.deep { background: var(--sc-canvas); display: grid; align-items: end; }
.deep__bed {
  position: absolute; inset: -10%;
  z-index: 0;
  transform: scale(calc(1.02 + var(--sc-p, 0) * 0.24))
             translateY(calc(var(--sc-p, 0) * -1.5%));
  transform-origin: 46% 44%;
  will-change: transform;
}
.deep__bed img { width: 100%; height: 100%; object-fit: cover; }
.deep__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 95%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 74%, transparent) 30%,
      color-mix(in oklab, var(--sc-canvas) 26%, transparent) 58%,
      transparent 80%),
    radial-gradient(120% 90% at 50% 40%, transparent 38%,
      color-mix(in oklab, var(--sc-canvas) 62%, transparent) 100%);
}
.deep__copy {
  position: relative; z-index: 2;
  padding-block: var(--sc-9) clamp(3rem, 12vh, 7rem);
}
.deep__copy .sc-display { max-width: 22ch; }
.deep__copy .sc-body { max-width: 50ch; }

@media (prefers-reduced-motion: reduce) {
  .deep__bed { transform: scale(1.02); }
}

/* ============================================ ACT 7 · THE LONG TABLE ====== */
.long { padding-block: var(--sc-9); }
.long__grid {
  display: grid; gap: var(--sc-7) var(--sc-8);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
/* Not cards. Hairlines and space, which is all this needs. */
.long__item { border-top: 1px solid var(--sc-hairline); padding-top: var(--sc-4); }
.long__item h3 { font-family: var(--sc-font-display); font-size: var(--sc-t-lg);
                 margin: 0 0 0.5rem; font-weight: 500; letter-spacing: 0; }
.long__item p { color: var(--sc-ink-soft); font-size: 0.94rem; margin: 0 0 var(--sc-4); max-width: 40ch; }
.long__item a { color: var(--sc-accent); font-size: 0.72rem; font-weight: 600;
                letter-spacing: 0.15em; text-transform: uppercase;
                text-decoration-color: var(--rim); }

/* ================================================= ACT 8 · THE TABLE ===== */
/* The close is the last object in the collection, and the object is the table.
   Typeset exactly like a dish label so the ask reads as part of the catalog. */
/* NO BACKGROUND OF ITS OWN. This stage used to paint var(--sc-canvas), which
   is the same colour as the page but opaque, so it covered the texture layer
   underneath: The Table read as a flat block of a different cream with a hard
   edge where it met the patterned section above, and as a different colour
   again from every hours-and-location footer on the inner pages. The page's
   own ground is already that colour; letting it through is the whole fix. */
.close { display: grid; place-items: center; background: transparent; }
.close__inner { text-align: center; width: min(52rem, calc(100% - 2 * var(--sc-gutter))); }
.close__ring { width: min(21vh, 40vw); aspect-ratio: 1; margin: 0 auto var(--sc-6);
               border-radius: 50%; border: 1px solid var(--rim); display: grid; place-items: center; }
.close__ctas { margin-top: var(--sc-6); display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.close__foot {
  position: absolute; inset: auto 0 0 0;
  padding: var(--sc-4) var(--sc-gutter);
  border-top: 1px solid var(--sc-hairline);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4);
  font-size: 0.72rem; color: var(--sc-ink-soft);
}
.close__foot a { color: var(--sc-ink-soft); }
.close__foot a:hover { color: var(--sc-accent); }
.close__foot .spacer { flex: 1 1 auto; }

/* ============================================== SUBPAGE SHELL ============ */
.page { padding-top: calc(var(--bar-h) + var(--sc-8)); }
.page__head { padding-bottom: var(--sc-7); border-bottom: 1px solid var(--sc-hairline); }
.page__head h1 { font-size: var(--sc-t-3xl); margin: 0.4rem 0 0; }
.page__head p { margin: var(--sc-4) 0 0; color: var(--sc-ink-soft); max-width: 56ch; }

/* -------------------------------------------------- the collection index --
   The gallery grammar's second nav: an index of objects, and it jumps. Sticky
   in the margin on wide screens, a scrolling strip on narrow ones. */
.folio { position: sticky; top: calc(var(--bar-h) + var(--sc-6)); align-self: start; }
.folio ol { list-style: none; margin: 0; padding: 0; }
.folio li + li { margin-top: 0.55rem; }
.folio a {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sc-ink-soft); text-decoration: none;
  display: block; padding: 0.18rem 0;
  border-left: 1px solid transparent; padding-left: 0.85rem;
  transition: color 150ms var(--sc-ease-out), border-color 150ms var(--sc-ease-out);
}
.folio a:hover { color: var(--sc-ink); }
.folio a.is-here { color: var(--sc-accent); border-left-color: var(--sc-accent); }

.menu-layout {
  display: grid; gap: var(--sc-8);
  grid-template-columns: 12rem minmax(0, 1fr);
  padding-block: var(--sc-8) var(--sc-10);
}
@media (max-width: 900px) {
  /* minmax(0, ...) and not a bare 1fr. See the note in the mobile block at
     the end of this file: a bare 1fr cannot be narrower than its content,
     and the folio's chips blew the track out past the viewport. */
  .menu-layout { grid-template-columns: minmax(0, 1fr); gap: var(--sc-6); }
  .folio {
    top: var(--bar-h); z-index: 40; margin-inline: calc(-1 * var(--sc-gutter));
    padding: 0.7rem var(--sc-gutter);
    background: color-mix(in oklab, var(--sc-canvas) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sc-hairline);
  }
  .folio ol { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
  .folio ol::-webkit-scrollbar { display: none; }
  .folio li + li { margin-top: 0; }
  .folio a { white-space: nowrap; border-left: 0; padding: 0.35rem 0.7rem;
             border: 1px solid var(--sc-hairline); border-radius: var(--r); }
  .folio a.is-here { border-color: var(--sc-accent); }
}

/* --------------------------------------------------------- the menu body -- */
.service + .service { margin-top: var(--sc-10); }
.service__head { display: flex; align-items: baseline; gap: var(--sc-4); flex-wrap: wrap;
                 padding-bottom: var(--sc-4); border-bottom: 1px solid var(--sc-hairline-strong); }
.service__head h2 { font-size: var(--sc-t-2xl); margin: 0; }
.service__when { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
                 color: var(--sc-ink-soft); margin: 0; }

.group { margin-top: var(--sc-8); }
.group__name { font-family: var(--sc-font-text); font-size: 0.68rem; font-weight: 600;
               letter-spacing: 0.24em; text-transform: uppercase;
               color: var(--sc-accent); margin: 0 0 var(--sc-2); }
.group__sub { font-family: var(--sc-font-display); font-style: italic;
              color: var(--sc-ink-soft); margin: 0 0 var(--sc-4); font-size: 1rem; }

/* Two columns of dishes on a wide screen, and the columns are independent so a
   long description does not knock its neighbour out of rhythm. */
.dishes { display: grid; gap: var(--sc-6) var(--sc-8); grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); }
@media (max-width: 720px) { .dishes { grid-template-columns: 1fr; gap: var(--sc-5); } }
.dish { scroll-margin-top: calc(var(--bar-h) + 5rem); }

/* ------------------------------------------------------------- the legend -- */
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; padding: var(--sc-4) 0;
          margin-top: var(--sc-6); border-top: 1px solid var(--sc-hairline);
          font-size: 0.78rem; color: var(--sc-ink-soft); }
.legend b { color: var(--sc-ink); font-weight: 600; letter-spacing: 0.1em; }

/* The key has two halves and they answer different questions, so each gets a
   line of its own with the question named at the head of it. Full-basis rows
   inside the existing wrap, rather than a new block layout, so the keys keep
   wrapping the way they already did. */
.legend__row { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: baseline;
               gap: 0.5rem 1.4rem; }
.legend__h { font-family: var(--sc-font-text); font-size: 0.62rem; font-weight: 600;
             letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-accent); }
.legend__note { flex: 1 1 100%; margin: 0.5rem 0 0; max-width: 78ch; line-height: 1.6; }

/* A line the card prints under a group rather than under a dish. */
.group__foot { font-family: var(--sc-font-display); font-style: italic;
               color: var(--sc-ink-soft); margin: var(--sc-5) 0 0; font-size: 1rem; }

/* Key and label sit on one baseline wherever the glyph appears. */
.legend__row span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ================================================================ THE KEY ==
   One line drawing per mark, inline with the type it belongs to. They are
   stroked in currentColor, so a glyph is the colour of whatever it sits in:
   ink-soft in a dish pill, accent inside a lit chip, with no second asset and
   no second rule. Sized in em so they track the type rather than the root. */
.mark-ic {
  width: 1.05em; height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.label__mark { display: inline-flex; align-items: center; gap: 0.3rem; }
.label__mark .mark-ic { width: 0.95rem; height: 0.95rem; stroke-width: 1.5; }

/* ================================================================= FILTER ==
   Chips, not a select. Every option is visible without a click, which is the
   whole point for somebody scanning a menu for what they can actually eat.

   TWO SETS, because the card's key holds two kinds of fact. The diet chips
   include; the allergen chips exclude. They are told apart by the label at the
   head of each row and, once lit, by colour: accent for "I want this", ink for
   "keep this away from me". See menu-render.js for why that distinction is not
   optional. */
.filter {
  display: grid; gap: var(--sc-4);
  padding: var(--sc-5) 0 var(--sc-4);
  border-bottom: 1px solid var(--sc-hairline);
}
.filter__grp { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
/* A fixed label column so the two rows of chips start on the same edge. */
.filter__lbl {
  flex: 0 0 6.5rem;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sc-ink-soft);
}
/* minmax(0) in flex form: without the floor a long chip row can push the
   track wider than the page, which is the overflow bug this build has had
   three times already. */
.filter__set { display: flex; flex-wrap: wrap; gap: 0.5rem; flex: 1 1 0; min-width: 0; }
.fchip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--sc-font-text);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sc-ink-soft);
  background: transparent;
  border: 1px solid var(--sc-hairline-strong);
  border-radius: var(--r);
  padding: 0.44rem 0.8rem;
  cursor: pointer;
  transition: color 150ms var(--sc-ease-out),
              border-color 150ms var(--sc-ease-out),
              background-color 150ms var(--sc-ease-out);
}
/* Bigger here than in a dish pill. The chip is the place somebody learns what
   a glyph means, because the word is right beside it, so the drawing has to
   be large enough to be read rather than only recognised. */
.fchip .mark-ic { width: 1.25em; height: 1.25em; }
.fchip:hover { color: var(--sc-ink); border-color: var(--sc-ink-soft); }
.fchip:active { transform: translateY(1px); }
.fchip--in.is-on {
  color: var(--sc-accent-ink);
  background: var(--sc-accent);
  border-color: var(--sc-accent);
}
.fchip--out.is-on {
  color: var(--sc-canvas);
  background: var(--sc-ink);
  border-color: var(--sc-ink);
}
/* An allergen that has been switched off is struck through, so the chip says
   "without" on its own if the row label has scrolled away on a phone. */
.fchip--out.is-on .mark-ic { opacity: 0.85; }
.fchip--out.is-on span { text-decoration: line-through; text-decoration-thickness: 1px; }

.filter__foot { display: flex; align-items: baseline; gap: 1.2rem; }
.filter__clear {
  font-family: var(--sc-font-text);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sc-ink-soft);
  background: none; border: 0; cursor: pointer;
  padding: 0.4rem 0;
  text-decoration: underline; text-underline-offset: 0.26em;
}
.filter__clear:hover { color: var(--sc-accent); }
.filter__count {
  margin: 0 auto 0 6.5rem;
  font-size: 0.78rem;
  color: var(--sc-ink-soft);
  font-variant-numeric: tabular-nums;
}
.filter__count:empty { margin-right: 0; }
.filter.is-empty .filter__count { color: var(--sc-accent); max-width: 46ch; }

@media (max-width: 760px) {
  .filter__lbl { flex: 0 0 100%; }
  .filter__count { margin-left: 0; }
}
@media (max-width: 700px) {
  /* 40px tap targets, same floor the rest of the phone layout uses */
  .fchip { font-size: 0.82rem; padding: 0.55rem 0.8rem; }
}

/* ============================================== EVENTS · the calendar ===== */
.cal { margin-top: var(--sc-7); }
.cal__bar { display: flex; align-items: center; gap: var(--sc-4); flex-wrap: wrap;
            padding-bottom: var(--sc-4); border-bottom: 1px solid var(--sc-hairline); }
.cal__month { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); margin: 0; letter-spacing: 0; }
.cal__nav { display: flex; gap: 0.4rem; margin-left: auto; }
.icon-btn {
  background: none; border: 1px solid var(--sc-hairline-strong); border-radius: var(--r);
  color: var(--sc-ink); width: 2.4rem; height: 2.4rem; cursor: pointer;
  display: grid; place-items: center; font-size: 1rem;
  transition: border-color 150ms var(--sc-ease-out), color 150ms var(--sc-ease-out);
}
.icon-btn:hover { border-color: var(--sc-accent); color: var(--sc-accent); }

.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; margin-top: var(--sc-5); }
.cal__dow span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
                 color: var(--sc-ink-soft); padding-bottom: 0.5rem; text-align: left; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
             background: var(--sc-hairline); border: 1px solid var(--sc-hairline); }
.cell { background: var(--sc-canvas); min-height: 7.5rem; padding: 0.5rem 0.55rem;
        display: flex; flex-direction: column; gap: 0.35rem; text-align: left;
        border: 0; color: inherit; font: inherit; cursor: pointer;
        transition: background-color 150ms var(--sc-ease-out); }
.cell:hover { background: var(--sc-surface); }
.cell[data-out="1"] { opacity: 0.32; }
.cell__n { font-family: var(--sc-font-text); font-size: 0.78rem; font-variant-numeric: tabular-nums;
           color: var(--sc-ink-soft); }
.cell[data-today="1"] .cell__n { color: var(--sc-accent-ink); background: var(--sc-accent);
           border-radius: 50%; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-weight: 600; }
.chip { display: block; text-align: left; font-size: 0.72rem; line-height: 1.32;
        padding: 0.3rem 0.4rem; border-radius: var(--r);
        background: color-mix(in oklab, var(--sc-accent) 15%, transparent);
        border-left: 1px solid var(--sc-accent);
        color: var(--sc-ink); }
.chip b { display: block; font-weight: 600; }
.chip i { font-style: normal; color: var(--sc-ink-soft); }
@media (max-width: 720px) {
  .cell { min-height: 4.6rem; padding: 0.3rem; }
  .chip { font-size: 0.6rem; padding: 0.2rem 0.25rem; }
  .chip i { display: none; }
}

.cal__list { margin-top: var(--sc-8); }
.cal__list h2 { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em;
                text-transform: uppercase; color: var(--sc-ink-soft);
                font-family: var(--sc-font-text); margin: 0 0 var(--sc-4); }
.ev { display: grid; grid-template-columns: 5.5rem minmax(0,1fr) auto; gap: var(--sc-4);
      align-items: baseline; padding-block: var(--sc-4);
      border-top: 1px solid var(--sc-hairline); }
.ev__when { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
            color: var(--sc-accent); font-variant-numeric: tabular-nums; }
.ev__what h3 { margin: 0; font-family: var(--sc-font-display); font-size: 1.22rem;
               font-weight: 500; letter-spacing: 0; }
.ev__what p { margin: 0.3rem 0 0; color: var(--sc-ink-soft); font-size: 0.9rem; max-width: 52ch; }
@media (max-width: 620px) { .ev { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ==================================================== FORMS · catering ==== */
.form { margin-top: var(--sc-7); }
.fieldset { border: 0; margin: 0 0 var(--sc-8); padding: 0; }
.fieldset > legend { font-family: var(--sc-font-text); font-size: 0.68rem; font-weight: 600;
                     letter-spacing: 0.24em; text-transform: uppercase;
                     color: var(--sc-accent); padding: 0; margin-bottom: var(--sc-5); }
.fields { display: grid; gap: var(--sc-5) var(--sc-6); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label { font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
                 color: var(--sc-ink-soft); }
.field > label .req { color: var(--sc-accent); }
.field input, .field select, .field textarea {
  background: var(--sc-surface);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--r);
  color: var(--sc-ink);
  padding: 0.8rem 0.9rem;
  font-size: 0.98rem;
  width: 100%;
  transition: border-color 150ms var(--sc-ease-out), background-color 150ms var(--sc-ease-out);
}
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sc-hairline-strong); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--sc-accent);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--sc-ink-soft) 62%, transparent); }
.field select { appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sc-ink-soft) 50%),
                    linear-gradient(135deg, var(--sc-ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.75rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.field .err { font-size: 0.74rem; color: #E86A4E; min-height: 0; }
.field[data-invalid="1"] input,
.field[data-invalid="1"] select { border-color: #E86A4E; }

.consent { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 0.85rem;
           padding: var(--sc-5); border: 1px solid var(--sc-hairline); border-radius: var(--r);
           background: var(--sc-surface); }
.consent input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin-top: 0.24rem; }
.consent p { margin: 0; font-size: 0.86rem; color: var(--sc-ink-soft); line-height: 1.6; }
.consent p + p { margin-top: 0.55rem; }
.consent ul { margin: 0.55rem 0 0; padding-left: 1.1rem; font-size: 0.8rem; color: var(--sc-ink-soft); }
.consent a { color: var(--sc-accent); }

.form__submit { display: flex; align-items: center; gap: var(--sc-5); flex-wrap: wrap; }
.form__note { font-size: 0.82rem; color: var(--sc-ink-soft); margin: 0; max-width: 40ch; }
.sent { border: 1px solid var(--rim); border-radius: var(--r); padding: var(--sc-6);
        background: color-mix(in oklab, var(--sc-accent) 7%, transparent); }
.sent h2 { font-family: var(--sc-font-display); margin: 0 0 var(--sc-3); font-size: var(--sc-t-xl); letter-spacing: 0; }
.sent p { margin: 0; color: var(--sc-ink-soft); }
.sent pre { margin: var(--sc-5) 0 0; padding: var(--sc-4); background: var(--sc-surface);
            border: 1px solid var(--sc-hairline); border-radius: var(--r);
            font-size: 0.78rem; color: var(--sc-ink-soft); white-space: pre-wrap;
            font-family: ui-monospace, monospace; }

/* ==================================================== the page footer ===== */
.foot { border-top: 1px solid var(--sc-hairline); padding-block: var(--sc-8); }
.foot__grid { display: grid; gap: var(--sc-7) var(--sc-8);
              grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.foot h2 { font-family: var(--sc-font-text); font-size: 0.66rem; font-weight: 600;
           letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-ink-soft);
           margin: 0 0 var(--sc-4); }
.foot p, .foot li { color: var(--sc-ink-soft); font-size: 0.9rem; margin: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 0.4rem; }
.foot a { color: var(--sc-ink-soft); text-decoration-color: var(--sc-hairline-strong); }
.foot a:hover { color: var(--sc-accent); }
.foot__legal { margin-top: var(--sc-7); padding-top: var(--sc-4);
               border-top: 1px solid var(--sc-hairline); display: flex; flex-wrap: wrap;
               gap: var(--sc-4); font-size: 0.74rem; color: var(--sc-ink-soft); }

/* skip link */
.skip {
  position: absolute; left: 0.5rem; top: 0.5rem; z-index: 200;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  padding: 0.6rem 0.9rem; border-radius: var(--r);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ----------------------------------------------- responsive type ceiling --
   --sc-t-4xl floors at 3.4rem, which is a desktop floor: on a 390px screen it
   wraps the mark's label to five lines. Step the whole act down one rung. */
@media (max-width: 700px) {
  .room { --logo-h: clamp(5rem, 15vh, 8rem); }
  .room__copy { bottom: clamp(1.25rem, 4vh, 3rem); }
  /* deliberately NOT shrunk here: this is the address, and the desktop rule
     already sizes it fluidly. The old override was a leftover from the build
     this one was cloned from. */
  .room__facts { letter-spacing: 0.06em; }
  .room__ctas .cta { flex: 1 1 12rem; }
  .bar-act__grid { grid-template-columns: 1fr; }
  .label__head { font-size: 1.1rem; }
}

/* ------------------------------------------------------- reduced motion --
   Fewer and gentler, not zero. The plates keep their cross-fade, because that
   is what carries the meaning: without it the peak is five photographs stacked
   invisibly on top of one another. What goes is the push-in, the turn, and the
   aperture, all of which are how the page moves rather than what it says. The
   emblem stays on screen whole instead of coming apart. */
@media (prefers-reduced-motion: reduce) {
  .room__int { clip-path: none; }
  .room__mask { display: none; }
  .sheet { transition: none; }
}

/* ------------------------------------------------------------- printing --
   A manager will print the menu. Give them something that is not a black
   rectangle with 40 pages of ink. */
@media print {
  :root { --sc-canvas: #fff; --sc-ink: #0F1B2B; --sc-ink-soft: #4A5765;
          --sc-accent: #A4522C; --sc-surface: #fff;
          --sc-hairline: #D3D8DE; --sc-hairline-strong: #AAB3BD; }
  body { color: var(--sc-ink); background: #fff; }
  .bar, .sheet, .folio, .sc-grain, [data-sc-progress], .skip, .legend { display: none !important; }
  .page { padding-top: 0; }
  .menu-layout { grid-template-columns: 1fr; }
  .service { break-inside: auto; }
  .dish, .group__name { break-inside: avoid; }
  .dishes { grid-template-columns: 1fr 1fr; }
}

/* ====================================== the landing page's object index ====
   The gallery grammar asks for an index of objects that jumps. On the landing
   page it sits in the left margin, clear of the acts, and it is dropped below
   1240px rather than being crushed: the top tab bar is the nav that has to
   survive a phone, and this is the one that does not. */
/* A TICK RAIL, not a list of words. The page's own content column leaves about
   60px of margin at 1440px, which is not enough to set six labels beside it:
   the first version put the index straight through the collection act's
   opening copy. Ticks need 26px. The names are still in the markup, so they
   are still the links' accessible names, and they slide out on hover or focus. */
.folio--acts {
  position: fixed; z-index: 50;
  left: max(0.6rem, calc(var(--sc-gutter) - 4.2rem));
  top: 50%; translate: 0 -50%;
  pointer-events: auto;
}
.folio--acts ol { border-left: 0; }
.folio--acts li + li { margin-top: 0; }
.folio--acts a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.42rem 0; padding-left: 0; border-left: 0;
  font-size: 0.6rem; letter-spacing: 0.2em;
}
.folio--acts a::before {
  content: ""; flex: 0 0 auto;
  width: 14px; height: 1px;
  background: var(--sc-hairline-strong);
  transition: width 200ms var(--sc-ease-out), background-color 200ms var(--sc-ease-out);
}
.folio--acts a.is-here::before { width: 26px; background: var(--sc-accent); }
.folio--acts a:hover::before { background: var(--sc-ink); }
.folio--acts .t {
  white-space: nowrap;
  opacity: 0; transform: translateX(-5px);
  transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out);
}
.folio--acts:hover .t,
.folio--acts a:focus-visible .t { opacity: 1; transform: none; }
@media (max-width: 1180px) { .folio--acts { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .folio--acts .t { transition: opacity 200ms var(--sc-ease-out); transform: none; }
}


/* The pinned stages clip their overflow, so a landscape phone (low height, so
   46vh is small but the caption stack is not) needs the plate shorter still. */
@media (max-height: 560px) {
  .room { --logo-h: clamp(4rem, 20vh, 7rem); }
  .plates__copy { width: min(24rem, 40vw); }
}

/* ====================================== the event editor and its chips ==== */
/* Service hours are facts drawn from the menu data, not entries somebody made,
   so they are drawn back: no gold fill, hairline only. The distinction has to
   be visible or the manager cannot tell what they are allowed to delete. */
.chip--fixed {
  background: transparent;
  border-left-color: var(--sc-hairline-strong);
  color: var(--sc-ink-soft);
}
.chip--fixed b { color: var(--sc-ink-soft); font-weight: 500; }

.ev-dialog {
  width: min(40rem, calc(100vw - 2rem));
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: var(--sc-surface);
  color: var(--sc-ink);
  border: 1px solid var(--sc-hairline-strong);
  border-radius: var(--r);
  box-shadow: var(--sc-e3);
}
.ev-dialog::backdrop { background: rgb(6 5 4 / 0.72); backdrop-filter: blur(3px); }
.ev-dialog .fields { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }

/* the small print line in the landing close footer */
.foot-note { color: color-mix(in oklab, var(--sc-ink-soft) 82%, transparent); }

/* <picture> is a wrapper with no box of its own by default; without this the
   art-directed portrait source lays out at its intrinsic size instead of
   filling the slide. */
.pslide picture { display: block; width: 100%; height: 100%; }


/* ================================================================ ARCHES ==
   The shape that separates this site from the other one at a glance. Applied
   to photographs and to the aperture's companions, never to a block of text:
   an arched paragraph is unreadable and an arched button is a lozenge. */
.bar-act__bed img,
.deep__bed img { border-radius: 0; }

.rs-shot { border-radius: var(--arch); overflow: hidden; }

/* ========================================================== RESTAURANT ====
   A gallery of the room. Asymmetric on purpose: one wide plate, then pairs,
   so it reads as a spread rather than as a grid of equal tiles. Every frame
   is arched, which is the one shape this site owns. */
.rooms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sc-8) var(--sc-7);
  padding-block: var(--sc-8) var(--sc-9);
}
.rs { margin: 0; }
.rs--wide { grid-column: 1 / -1; }
.rs-shot {
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sc-surface);
  box-shadow: var(--sc-e2);
}
.rs-shot img { width: 100%; height: auto; display: block; }
/* The wide plate is a room, so it takes a landscape crop; the pairs are
   portraits of details and take a taller one. An arch on a squat frame reads
   as a lozenge rather than a doorway. */
.rs--wide .rs-shot img { aspect-ratio: 16 / 9; object-fit: cover; }
.rs:not(.rs--wide) .rs-shot img { aspect-ratio: 4 / 5; object-fit: cover; }
.rs figcaption {
  margin-top: var(--sc-4);
  font-size: 0.84rem;
  color: var(--sc-ink-soft);
  max-width: 44ch;
}
.rooms__end {
  padding-bottom: var(--sc-9);
  display: grid; gap: var(--sc-5); justify-items: start;
}
.rooms__note {
  margin: 0; max-width: 46ch;
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-lg); line-height: 1.4;
}
.rooms__ctas { display: flex; gap: 0.7rem; flex-wrap: wrap; }
@media (max-width: 720px) {
  .rooms { grid-template-columns: 1fr; gap: var(--sc-7); }
  .rs:not(.rs--wide) .rs-shot img { aspect-ratio: 4 / 3; }
}

/* ============================================================= CONTACT ====
   Plain facts in plain blocks. No theatre: somebody on this page is trying to
   find the door or the phone number, and the fastest page is the kindest one. */
.ct {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--sc-6);
  padding-block: var(--sc-8) var(--sc-9);
}
.ct__card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--r);
  padding: var(--sc-6);
}
.ct__card--wide { grid-column: span 2; }
@media (max-width: 720px) { .ct__card--wide { grid-column: auto; } }
.ct__card h2 {
  font-family: var(--sc-font-text);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sc-accent);
  margin: 0 0 var(--sc-4);
}
.ct__big {
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-lg); line-height: 1.34;
  margin: 0; color: var(--sc-ink);
}
.ct__big a { color: inherit; text-decoration: none; }
.ct__big a:hover { color: var(--sc-accent); }
.ct__sub { margin: 0.5rem 0 0; color: var(--sc-ink-soft); font-size: 0.92rem; }
.ct__note { margin: 0; color: var(--sc-ink-soft); font-size: 0.95rem; max-width: 62ch; }
.ct__link {
  display: inline-block; margin-top: var(--sc-4);
  font-family: var(--sc-font-text);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sc-accent);
  text-underline-offset: 0.3em;
}
.ct__hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem var(--sc-5); }
.ct__hours dt { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-ink-soft); }
.ct__hours dd {
  margin: 0; font-family: var(--sc-font-display);
  font-size: 1.06rem; font-variant-numeric: tabular-nums;
}


/* Visually hidden, still read aloud. The hero lost its visible heading at the
   client's direction; the page still needs exactly one h1. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ============================================ THE RESTAURANT STRIP ========
   The page is five rooms and nothing else. Vertical scroll drives lateral
   travel, which is what `pan` is for.

   HOW THE BLEED WORKS. Each panel is masked to transparent across a 7vw band
   at both vertical edges, then pulled 7vw into its neighbour with a negative
   margin. The two feathers land on top of each other, so where one room ends
   and the next begins there is no seam to see: the first fades out across
   exactly the distance the second fades in. Butting them flush would still
   leave a visible join wherever two photographs disagree about brightness.

   The outer edges of the first and last panels feather into the page ground
   on purpose, so the strip has no hard start or stop either. */
.strip { background: var(--sc-canvas); }
.strip__rail {
  display: flex;
  align-items: stretch;
  height: 100%;
  padding-inline: 6vw;
}
.strip__p {
  flex: 0 0 auto;
  width: clamp(26rem, 56vw, 62rem);
  height: 100%;
  margin: 0 -7vw;
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0, #000 7vw, #000 calc(100% - 7vw), transparent 100%);
          mask-image: linear-gradient(90deg,
      transparent 0, #000 7vw, #000 calc(100% - 7vw), transparent 100%);
}
.strip__p img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  /* A phone is portrait, so the panels go taller and narrower and the feather
     narrows with them: a 7vw blend on a 390px screen is 27px and reads as a
     smudge rather than a bleed. */
  .strip__p {
    width: clamp(17rem, 82vw, 30rem);
    margin: 0 -9vw;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0, #000 9vw, #000 calc(100% - 9vw), transparent 100%);
            mask-image: linear-gradient(90deg,
        transparent 0, #000 9vw, #000 calc(100% - 9vw), transparent 100%);
  }
  .strip__rail { padding-inline: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  /* The engine hands the rail back as a native scroll region here. Masks that
     overlap are fine in that mode, but the negative margins fight snapping, so
     the panels separate and stand on their own. */
  .strip__p { margin: 0; -webkit-mask-image: none; mask-image: none; }
  .strip__rail { gap: 2px; }
}


/* ====================================================== SECTION BLEEDS ====
   Why there was a line between every act.

   A pinned act is a tall section with a sticky stage in it. While the stage is
   pinned it fills the viewport, but at the junctions it is NOT pinned: the
   outgoing stage sits at the bottom of its section and slides up while the
   incoming stage sits at the top of its section and slides in behind it. Two
   full-bleed photographs meeting edge to edge, and the boundary between them
   is a hard horizontal line travelling up the screen. That is what makes the
   page read as a stack of blocks rather than one world.

   The fix belongs on the SECTION, not on the stage. A gradient at the section's
   top and bottom edges sits exactly at the junction, and because those parts of
   a 230vh section are only ever on screen during the entry and exit slides, it
   costs nothing for the rest of the act: no permanent vignette, no band under
   the bar, no wash over the copy in the middle of the frame.

   Both sides fade to --sc-canvas, which the engine is drifting, so the two
   photographs dissolve through the page's own ground colour at that moment
   rather than through a colour picked here. Roughly 30vh each side gives a
   60vh-long dissolve, which is long enough that the eye never finds an edge. */
.bleed { position: relative; }
.bleed::before,
.bleed::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 30vh;
  /* above the sticky stage (z-index 1), below nothing else in this section */
  z-index: 5;
  pointer-events: none;
}
.bleed::before {
  top: 0;
  background: linear-gradient(to bottom, var(--sc-canvas) 0%,
                              color-mix(in oklab, var(--sc-canvas) 55%, transparent) 42%,
                              transparent 100%);
}
.bleed::after {
  bottom: 0;
  background: linear-gradient(to top, var(--sc-canvas) 0%,
                              color-mix(in oklab, var(--sc-canvas) 55%, transparent) 42%,
                              transparent 100%);
}
/* The first act has nothing above it to blend with, and a wash across the top
   of the opening screen is the one place this would be visible as an effect. */
#room.bleed::before { display: none; }

@media (max-width: 860px) {
  /* A phone viewport is tall and narrow, so 30vh is a bigger share of the
     photograph. Shorter, or the plates spend half their life under a veil. */
  .bleed::before, .bleed::after { height: 20vh; }
}


/* ========================================= MOBILE ONLY · THE CLOSE ======
   The footer was absolutely positioned at the bottom of the closing stage,
   which is fine while the content above it is short. On a phone the note wraps
   to four lines and the two calls to action stack, so the block grew past the
   footer and the stage clipped the last row of small print against its own
   bottom edge.

   Absolute positioning is the wrong tool once the content can grow into it.
   The stage becomes a two-row grid instead: the copy takes the flexible row
   and stays centred in it, the footer takes an auto row and sits under it. No
   overlap is possible, because neither one is out of flow any more.

   The copy also comes down a step. Two rows only help if the content fits the
   viewport, and on a 390x844 screen the ring, the heading, four lines of note,
   two stacked buttons, a phone number and a four-line footer did not. */
@media (max-width: 700px) {
  .close {
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: stretch;
    align-content: stretch;
  }
  .close__inner {
    align-self: center;
    justify-self: center;
    padding-block: var(--sc-5) var(--sc-4);
  }
  .close__foot {
    position: static;
    inset: auto;
    padding: var(--sc-4) var(--sc-gutter);
    gap: 0.3rem var(--sc-4);
    font-size: 0.68rem;
    line-height: 1.5;
  }
  .close__ring { width: min(13vh, 30vw); margin-bottom: var(--sc-4); }
  .close__inner .sc-display--lg { font-size: var(--sc-t-xl); }
  .close__inner .label__note { font-size: 0.88rem; max-width: 34ch; }
  .close__ctas { margin-top: var(--sc-5); gap: 0.5rem; }
  .close__ctas .cta { flex: 1 1 100%; }
}

/* ============================================ MOBILE ONLY · DIMENSIONS ===
   An audit of all seven pages at 390x844 turned up four classes of problem.
   Everything here is scoped to phones; no wider viewport is touched.

   1. THE SIDEWAYS SCROLL, fixed above at the grid track. It was the worst of
      these by far: two pages scrolled horizontally, 36px and 300px.

   2. THE BURGER WAS OFF-SCREEN. The bar's three children needed 433px in a
      390px viewport, so flex shrank the only item without a floor: the
      burger went from 46px wide to 22px and still sat 7px past the right
      edge. It gets flex-shrink: 0, and the bar loses enough gap, logo and
      button padding to actually fit.

   3. TEXT UNDER 12px. Uppercase letterspaced labels read smaller than they
      measure, and several were at 9.9 to 11px. Raised to a 12px floor.

   4. TAP TARGETS UNDER 40px. A dozen links were 14 to 22px tall. They keep
      their type size and gain padding, which is the cheap half of the fix
      and the half that does not change the layout.
--------------------------------------------------------------------------- */
@media (max-width: 700px) {

  /* ---- 2. the bar fits ---- */
  .bar { gap: 0.5rem; }
  .burger { flex-shrink: 0; margin-left: auto; }
  .bar__home { flex-shrink: 0; }
  .bar__ctas { min-width: 0; }
  .bar__ctas .cta {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.62rem 0.72rem;
  }

  /* ---- 3. nothing under 12px ---- */
  .eyebrow            { font-size: 0.76rem; }
  .ct__card h2        { font-size: 0.75rem; }
  .fieldset > legend  { font-size: 0.76rem; }
  .field > label      { font-size: 0.78rem; }
  .cal__dow span      { font-size: 0.7rem; }
  .folio a            { font-size: 0.76rem; }
  .service__when      { font-size: 0.76rem; }
  .group__name        { font-size: 0.74rem; }
  .foot h2            { font-size: 0.74rem; }
  .foot__legal        { font-size: 0.78rem; }
  .close__foot        { font-size: 0.74rem; }

  /* ---- 4. tap targets ---- */
  /* inline-flex with a min-height rather than raw padding, so the target grows
     around the text instead of shifting the line it sits on. */
  .ct__link,
  .long__item a,
  .rooms__ctas a {
    display: inline-flex; align-items: center;
    min-height: 42px;
  }
  .foot li a,
  .foot p a,
  .foot__legal a,
  .close__foot a,
  .consent a {
    display: inline-block;
    padding-block: 0.55rem;
  }
  .ct__big a { display: inline-flex; align-items: center; min-height: 42px; }
  .folio a   { min-height: 40px; display: inline-flex; align-items: center; }
  .icon-btn  { width: 2.75rem; height: 2.75rem; }

  /* the footer grid gets tight once its links are taller */
  .foot__grid { gap: var(--sc-6) var(--sc-7); }
  .foot li + li { margin-top: 0; }
}

@media (max-width: 460px) {
  /* the narrowest case: the logo comes down a step so the reservation button
     keeps its full label rather than being truncated or re-worded */
  .mark--bar { height: 1.6rem; }
  .bar__ctas .cta { font-size: 0.66rem; padding: 0.6rem 0.62rem; }
}

/* ================== MOBILE ONLY · DIMENSIONS, SECOND PASS ===============
   The first pass killed the sideways scroll and put the burger back on
   screen. Re-auditing turned up a tail of items still under the 12px floor
   or the 40px target, mostly because my own first-pass values landed a
   fraction short: 0.74rem is 11.8px, not 12. Corrected against measurement
   rather than against intention. */
@media (max-width: 700px) {

  /* the bar button: 0.68rem was 10.6px, which was the smallest type on the
     site. The logo comes down instead, which buys the label its size back
     without shortening or truncating it. */
  .bar__ctas .cta { font-size: 0.72rem; padding: 0.62rem 0.7rem; }

  /* everything that measured 11.x and needed to clear 12 */
  .group__name   { font-size: 0.78rem; }
  .foot h2       { font-size: 0.78rem; }
  .cal__dow span { font-size: 0.76rem; }
  .ct__link      { font-size: 0.78rem; }
  .icon-btn      { font-size: 0.8rem; }
  .room__hours   { font-size: 0.74rem; }

  /* the dietary badges were 9.6px, the smallest thing on the menu page */
  .label__mark { font-size: 0.72rem; padding: 0.2rem 0.5rem; }

  /* the close footer links were 35px; 0.7rem of padding clears 40 */
  .close__foot a { padding-block: 0.7rem; }
}

@media (max-width: 460px) {
  .mark--bar { height: 1.45rem; }
  .bar__ctas .cta { font-size: 0.7rem; padding: 0.6rem 0.6rem; letter-spacing: 0.08em; }
}

/* ================== MOBILE ONLY · DIMENSIONS, LAST TWO ==================
   The hours label and the footer legal links, both a couple of pixels short
   of the floors. Everything still under 12px after this is a button label or
   a compact dietary badge, which is a type decision rather than a defect:
   both are bold, uppercase, and sit in targets well over 40px. */
@media (max-width: 700px) {
  .room__hours b { font-size: 0.74rem; }
  .foot__legal a { padding-block: 0.66rem; }
}

/* ==================== MOBILE ONLY · THE CALENDAR =======================
   Seven columns in a 390px viewport is about 50px per day. Text chips cannot
   work at that width: at 9.6px they were the smallest type on the site, and
   at a readable size they blew the grid 54px past the viewport, because
   repeat(7, 1fr) is repeat(7, minmax(auto, 1fr)) and an auto minimum cannot
   be narrower than its content.

   So the grid stops trying to carry the detail. Each day with something on
   shows a terracotta marker, and the list underneath, which already renders
   every event with its date, name and time, carries the reading. Nothing is
   lost and there is no tiny type left on the page.

   minmax(0, ...) as well, so a long event name can never push a column out
   again. Same bug as the folio index, same one-word fix. */
@media (max-width: 720px) {
  .cal__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cell {
    min-height: 3.5rem;
    padding: 0.3rem 0.25rem;
    gap: 0.3rem;
    align-items: center;
  }
  .cell .chip { display: none; }
  /* one marker per day that has anything, however many events it holds */
  .cell:has(.chip)::after {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--sc-accent);
    margin-top: auto;
  }
  .cell__n { font-size: 0.8rem; }
  .cal__dow span { font-size: 0.72rem; letter-spacing: 0.08em; }
  .icon-btn { font-size: 0.82rem; }

  /* the list is doing the work now, so it gets the room to */
  .cal__list { margin-top: var(--sc-7); }
  .ev { grid-template-columns: 1fr; gap: 0.3rem; padding-block: var(--sc-5); }
  .ev__when { font-size: 0.82rem; }
}

/* The honeypot field. Taken out of the layout, out of the tab order and out
   of the accessibility tree, so the only thing that can reach it is something
   filling in every input it can find. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* The note form at the foot of the contact page. The cards above it are a
   grid of facts; this is one column of writing, held to a readable measure
   rather than stretched across the page. */
/* The rule belongs to the page, not to the form: the heading above it has a
   full-width edge, and a short one here would read as a mistake rather than
   as a separator. The band carries the line, the section carries the measure. */
.ct__band { border-bottom: 1px solid var(--sc-hairline); }
.ct__form { max-width: 46rem; padding-block: var(--sc-8); }
.ct__form h2 { font-size: var(--sc-t-xl); margin: 0 0 var(--sc-3); }


/* ================================================= THE FOOTER PANEL ======
   Hours, location and the rest, on a pale translucent blue. Translucent so
   the texture still reads through it, which keeps it part of the page rather
   than a sticker on top. The panel is the grid, not the whole footer: the
   legal line stays on the ground beneath it.

   The ink inside is a step darker than the site's soft ink. On cream the soft
   ink clears 4.5:1 by a hair; on this blue it would fall to about 3.9. */
.foot__grid {
  background: rgb(var(--az-sky) / 0.17);
  border: 1px solid rgb(var(--az-sky) / 0.28);
  border-radius: var(--r);
  padding: var(--sc-7) var(--sc-7);
}
.foot__grid p, .foot__grid li, .foot__grid a {
  color: color-mix(in oklab, var(--sc-ink-soft) 45%, var(--sc-ink));
}
.foot__grid h2 { color: color-mix(in oklab, var(--sc-ink-soft) 35%, var(--sc-ink)); }
@media (max-width: 700px) { .foot__grid { padding: var(--sc-6) var(--sc-5); } }

/* The pin. Squared to the column it sits in, rounded to the site's radius. */
.foot__map {
  margin: var(--sc-4) 0 var(--sc-4);
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgb(var(--az-sky) / 0.35);
  background: var(--sc-surface);
}
.foot__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ============================================ THE MENU'S SIDE COLUMN ======
   The index and the key, together, sticky. Capped to the viewport and allowed
   to scroll inside itself, so a short laptop screen can still reach the
   bottom of the key rather than having it run off under the fold. */
@media (min-width: 901px) {
  .menu-side {
    position: sticky; top: calc(var(--bar-h) + var(--sc-6)); align-self: start;
    max-height: calc(100vh - var(--bar-h) - var(--sc-6) - var(--sc-5));
    overflow-y: auto; scrollbar-width: thin;
    display: flex; flex-direction: column; gap: var(--sc-7);
  }
  .menu-side .folio { position: static; }
  /* the full rows at the foot are the phone's copy of the key */
  .legend[data-has-key] .legend__row { display: none; }
}
.key { border-top: 1px solid var(--sc-hairline); padding-top: var(--sc-5); }
.key__h {
  margin: 0 0 var(--sc-4);
  font-family: var(--sc-font-text); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-accent);
}
.key__sub {
  margin: var(--sc-4) 0 0.45rem;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sc-ink-soft);
}
.key__sub:first-of-type { margin-top: 0; }
.key__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.42rem; }
.key__list li {
  display: grid; grid-template-columns: 1.05rem 1.9rem minmax(0, 1fr);
  align-items: center; gap: 0.35rem;
  font-size: 0.76rem; line-height: 1.3; color: var(--sc-ink-soft);
}
.key__list b { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; color: var(--sc-ink); }
.key__list .mark-ic { width: 1rem; height: 1rem; color: var(--sc-ink); }
@media (max-width: 900px) {
  /* no column to stick in: the aside dissolves, the index goes back to being
     the chip rail across the top, and the foot legend carries the key */
  .menu-side { display: contents; }
  .key { display: none; }
}

/* ========================================== NAVIGATE FROM YOUR ADDRESS ===
   One line under the phone number: the field takes the room, the button
   does not. */
.navfrom { margin: var(--sc-6) auto 0; width: min(30rem, 100%); }
.navfrom__label {
  display: block; margin-bottom: 0.55rem;
  font-family: var(--sc-font-text); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.navfrom__row { display: flex; gap: 0.5rem; }
.navfrom__row input[type=text] {
  flex: 1 1 auto; min-width: 0;
  background: var(--sc-surface);
  border: 1px solid var(--sc-hairline-strong);
  border-radius: var(--r);
  color: var(--sc-ink);
  padding: 0.75rem 0.9rem;
  font: inherit; font-size: 0.95rem;
  transition: border-color 150ms var(--sc-ease-out);
}
.navfrom__row input[type=text]::placeholder { color: color-mix(in oklab, var(--sc-ink-soft) 70%, transparent); }
.navfrom__row input[type=text]:hover { border-color: var(--sc-ink-soft); }
.navfrom__row input[type=text]:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 1px; border-color: var(--sc-accent); }
.navfrom__row .cta { flex: 0 0 auto; padding-inline: 1.3rem; }
@media (max-width: 700px) {
  .navfrom { margin-top: var(--sc-4); }
  .navfrom__label { margin-bottom: 0.4rem; }
  .navfrom__row input[type=text] { padding: 0.65rem 0.8rem; font-size: 1rem; } /* 16px: no zoom-on-focus in iOS */
}

/* The logo column was an equal 1fr share of the footer for one small mark.
   With the panel's padding taken out of the width, that left the hours
   column too narrow to hold "12:00 PM until 9:30 PM" on a line, and the
   times broke before "PM". Give the mark only what it needs. */
@media (min-width: 1000px) {
  .foot__grid { grid-template-columns: 7.5rem repeat(3, minmax(0, 1fr)); }
}

/* Short laptop screens. At 1366x768 the index and the key together ran 51px
   past the space the sticky column has, so it fell back to scrolling inside
   itself. Tightening the rhythm, not shrinking the type, brings it back in. */
@media (min-width: 901px) and (max-height: 820px) {
  .menu-side { top: calc(var(--bar-h) + var(--sc-4));
               max-height: calc(100vh - var(--bar-h) - var(--sc-4) - var(--sc-4));
               gap: var(--sc-5); }
  .menu-side .folio li + li { margin-top: 0.32rem; }
  .key { padding-top: var(--sc-4); }
  .key__h { margin-bottom: var(--sc-3); }
  .key__sub { margin: var(--sc-3) 0 0.3rem; }
  .key__list { gap: 0.26rem; }
}

/* The hours became lunch plus three dinner windows (2026-11-20), and the
   labels grew to match: "Dinner, Friday and Saturday". The footer's hours
   column takes the larger share of the row so "4:00 PM until 10:00 PM" holds
   on one line at a laptop width, and the short More column gives it up. */
@media (min-width: 1000px) {
  .foot__grid { grid-template-columns: 7.5rem minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.75fr); }
}
/* On a phone the contact card's two columns left the times three words wide.
   Each window stacks there: its label, then its time. */
@media (max-width: 700px) {
  .ct__hours { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .ct__hours dd + dt { margin-top: 0.7rem; }
}
/* Between 1000 and 1279 the panel is still four columns but only 920px
   inside, and the 64px gutters plus the 40px hanging indent left the hours
   192px, which "4:00 PM until 10:00 PM" does not fit. Tighter gutters there,
   and a shorter indent. */
@media (min-width: 1000px) and (max-width: 1279px) {
  .foot__grid { column-gap: var(--sc-6); }
  .foot__grid [data-hours] dd { margin-left: 1rem; }
}

/* ================================================== EVERY WEEK (events) ===
   Happy hour and live music, under the calendar. Two plain cards in the
   contact page's hand, so the standing fixtures read as facts, not events. */
.weekly {
  display: grid; gap: var(--sc-6);
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  margin-top: var(--sc-7);
}
@media (max-width: 860px) { .weekly { grid-template-columns: minmax(0, 1fr); } }
.wk {
  background: var(--sc-surface);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--r);
  padding: var(--sc-6);
  align-self: start;
}
.wk__title {
  font-family: var(--sc-font-display); font-size: var(--sc-t-xl);
  letter-spacing: 0; margin: 0; color: var(--sc-ink);
}
.wk__when {
  margin: 0.35rem 0 0;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sc-accent);
}
.wk__group {
  margin: var(--sc-5) 0 0.5rem;
  font-family: var(--sc-font-text); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.wk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.wk__list li { display: grid; grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); gap: var(--sc-4); font-size: 0.95rem; }
.wk__list b { font-weight: 600; color: var(--sc-ink); }
.wk__list span { color: var(--sc-ink-soft); }
@media (max-width: 560px) { .wk__list li { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }
