/* ==========================================================================
   Avanti Restaurant v2 - "Under the Awning"
   --------------------------------------------------------------------------
   PALETTE CONTRACT. The ten keys in content.theme drive every colour.
   js/render.js applyTheme() writes them (and the measured tokens derived from
   them) as CSS variables. The :root block below is ONLY the pre-JS fallback
   (the Awning preset). No colour literal may appear outside :root.

   The four accents are FLAT FILLS, never text. A class .a0..a3 sets --fill and
   --onfill; --onfill is the MEASURED text colour for that fill (--on-a0..3),
   so every preset stays legible. Paper cards = ivory + ink + 2px ink outline.

   Fixed, never themed: the logo (--brand-*) and the over-image palette
   (--scrim-rgb, --onimg*), because a photo does not get lighter with the page.

   PERFORMANCE CONTRACT. Animate transform and opacity only. No backdrop
   filter, no blend modes, no blur, no grain, no will-change, no animated
   gradients. One marquee (.ribbon__track) and one spinning stamp; both pause
   off-screen and in a hidden tab. Motion rules are gated on html.mo (set by
   the head script when reduced motion is off) and switched off by html.lite.
   ========================================================================== */

@font-face { font-family: "Lilita One"; src: url(../assets/fonts/lilita-one-latin.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../assets/fonts/figtree-latin.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks (measured in Chrome against the real files), so the
   swap to the web font moves nothing. */
@font-face { font-family: "Lilita fb"; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 88.9%; ascent-override: 103.5%; descent-override: 24.7%; line-gap-override: 0%; }
@font-face { font-family: "Figtree fb"; src: local("Arial"), local("ArialMT"); size-adjust: 99.4%; ascent-override: 95.6%; descent-override: 25.2%; line-gap-override: 0%; }

:root {
  /* ---- the ten theme keys (fallback = Awning) --------------------------- */
  --bg: #FFF7E8; --bg2: #FDEBC8; --bg3: #F7D9A3; --text: #1B1A2E;
  --flame: #D7263D; --flame2: #F2A50C; --petal: #1D3FBF; --petal2: #0E9F8E;
  --ivory: #FFF7E8; --ink: #14163B;
  --bg-rgb: 255 247 232; --bg2-rgb: 253 235 200; --bg3-rgb: 247 217 163; --text-rgb: 27 26 46;
  --flame-rgb: 215 38 61; --flame2-rgb: 242 165 12; --petal-rgb: 29 63 191; --petal2-rgb: 14 159 142;
  --ivory-rgb: 255 247 232; --ink-rgb: 20 22 59;

  /* ---- derived by applyTheme (fallback values for Awning) --------------- */
  --on-a0: #FFF7E8; --on-a1: #14163B; --on-a2: #FFF7E8; --on-a3: #14163B;
  --text-safe: #1B1A2E; --muted: #4E4A55; --ink-safe: #14163B; --ink-muted: #4C4D6C;

  /* ---- fixed: the logo and the over-image palette ----------------------- */
  --brand-red: #B11116; --brand-white: #FFFFFF; --brand-key: #000000;
  --scrim-rgb: 12 14 46; --scrim-a: .72;
  --onimg: #FFFFFF; --onimg-2: rgba(255, 255, 255, .88); --accent-onimg: #FFC94A;

  /* ---- aliases and layout tokens (no literals) --------------------------- */
  --a0: var(--flame); --a1: var(--flame2); --a2: var(--petal); --a3: var(--petal2);
  --paper: var(--ivory);
  --line: rgb(var(--text-rgb) / .14);
  --hdr: 60px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --f-d: "Lilita One", "Lilita fb", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-b: "Figtree", "Figtree fb", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --clear: rgb(var(--bg-rgb) / 0);
}
@media (min-width: 761px) { :root { --hdr: 72px; } }

.a0 { --fill: var(--a0); --onfill: var(--on-a0); }
.a1 { --fill: var(--a1); --onfill: var(--on-a1); }
.a2 { --fill: var(--a2); --onfill: var(--on-a2); }
.a3 { --fill: var(--a3); --onfill: var(--on-a3); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nb, 0px) + var(--hdr) + 12px); }
body {
  margin: 0; padding-top: var(--nb, 0px); background: var(--bg); color: var(--text-safe);
  font: 400 1.0625rem/1.55 var(--f-b); font-synthesis: none;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 .8em; }
h1, h2, h3 { font-weight: 400; margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.visit :focus-visible, .course :focus-visible { outline-color: var(--onfill); }
.dock :focus-visible { outline-color: var(--paper); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 16px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Logo: fixed brand identity, three stacked paths (keyline, outline, red). */
.av-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.av-k { fill: var(--brand-key); stroke: var(--brand-key); stroke-width: var(--sw-k, 0); stroke-linejoin: round; }
.av-w { fill: var(--brand-white); stroke: var(--brand-white); stroke-width: var(--sw-w, 0); stroke-linejoin: round; }
.av-r { fill: var(--brand-red); stroke: var(--brand-red); stroke-width: var(--sw-r, 0); stroke-linejoin: round; }
.mark { display: block; width: 100%; height: auto; aspect-ratio: 1324 / 731; overflow: visible; }

/* ==========================================================================
   Shared pieces: headings, chips, buttons, the awning valance
   ========================================================================== */
.h2 { font: 400 clamp(2.25rem, 1.4rem + 4.2vw, 4.5rem)/.98 var(--f-d); margin: .15em 0 .3em; color: var(--text-safe); }
.h3 { font: 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem)/1.05 var(--f-d); margin: 0 0 .35em; }
.kick { display: inline-block; margin: 0; padding: .5em .8em .45em; border-radius: 8px; background: var(--fill); color: var(--onfill); font: 700 .8125rem/1 var(--f-b); letter-spacing: .07em; text-transform: uppercase; }
.kick--paper { background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.5; max-width: 34ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border: 2px solid var(--ink); border-radius: 999px;
  font: 700 1rem/1.1 var(--f-b); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--fill); color: var(--onfill); }
.btn--paper { background: var(--paper); color: var(--ink-safe); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 7px 13px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 999px; font: 700 .9375rem/1.2 var(--f-b); }
.chips--sm li { padding: 4px 10px; font-size: .8125rem; background: var(--fill); color: var(--onfill); border-width: 1.5px; }

/* The awning valance: stripes of the section's fill and paper, a scalloped
   hem, an ink rail. Static gradients (never animated). Unrolls once. */
.valance {
  height: 34px; border-top: 5px solid var(--ink);
  background:
    radial-gradient(circle at 12px 0, var(--fill) 11.5px, var(--clear) 12.5px) 0 20px / 48px 13px repeat-x,
    radial-gradient(circle at 36px 0, var(--paper) 11.5px, var(--clear) 12.5px) 0 20px / 48px 13px repeat-x,
    repeating-linear-gradient(90deg, var(--fill) 0 24px, var(--paper) 24px 48px) 0 0 / 100% 20px no-repeat;
  transform-origin: 50% 0;
}
.sec { padding: 0 0 72px; }
.sec__head { padding-top: 40px; }
@media (min-width: 900px) { .sec { padding-bottom: 110px; } .sec__head { padding-top: 64px; } }

/* ==========================================================================
   Header, live pill, mobile dock
   ========================================================================== */
.hdr { position: sticky; top: var(--nb, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.hdr__logo { display: flex; align-items: center; width: 64px; min-height: 44px; flex: none; }
.hdr__nav { display: none; margin-left: auto; }
.hdr__call { margin-left: auto; min-height: 44px; padding: .5em 1em; white-space: nowrap; flex: none; }
.hdr__tel { margin-left: auto; min-height: 44px; padding: .5em .9em; white-space: nowrap; flex: none; }
.hdr__tel + .hdr__call { margin-left: 0; }
@media (max-width: 540px) { .hdr .live { padding: 5px 9px; } .hdr .live__t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 379px) { .hdr__tel { padding: .5em .8em; } .hdr__tel span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 400px) { .hdr__call .ic { display: none; } .hdr__in { gap: 8px; } .hdr__logo { width: 56px; } }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.hdr .nav a { color: var(--text-safe); }
.nav a.is-on { background: var(--a1); color: var(--on-a1); }
@media (min-width: 761px) { .hdr__nav { display: block; } .hdr__call { margin-left: 0; } .hdr__logo { width: 84px; } .hdr__tel { display: none; } }

.live { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px 5px 9px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 999px; font: 700 .875rem/1.2 var(--f-b); white-space: nowrap; }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--a1); border: 1.5px solid var(--ink); flex: none; }
html[data-open="yes"] .live__dot { background: var(--a3); }
html[data-open="no"] .live__dot { background: var(--a0); }
.live--lg { font-size: 1rem; padding: 8px 16px 8px 12px; white-space: normal; }
.live--lg .live__dot { width: 12px; height: 12px; }

.dock { display: flex; align-items: center; gap: 4px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 45; padding: 6px; background: var(--ink); border: 2px solid var(--paper); border-radius: 18px; }
.dock .nav { flex: 1; justify-content: space-around; }
.dock__call { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--a0); color: var(--on-a0); font-weight: 700; text-decoration: none; white-space: nowrap; }
.dock .nav a { color: var(--paper); padding: 0 18px; }
.dock .nav a.is-on { background: var(--a1); color: var(--on-a1); }
@media (max-width: 400px) { .dock .nav a { padding: 0 9px; } .dock__call { padding: 0 12px; } }
@media (max-width: 359px) { .dock { padding: 5px; gap: 2px; } .dock .nav { gap: 0; } .dock .nav a { padding: 0 6px; font-size: .9375rem; } .dock__call { padding: 0 10px; gap: 4px; font-size: .9375rem; } }
@media (min-width: 761px) { .dock { display: none; } }
@media (max-width: 760px) { html:not(.js) .hdr .live { display: none; } }


/* ==========================================================================
   Opening animation (kept from v1): the logo draws itself, the line rises,
   the panel lifts away. Exists only while html.intro-on.
   ========================================================================== */
.intro { display: none; }
.intro-on .intro { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; align-content: center; gap: 22px; padding: 24px; background: var(--bg); transition: transform .5s var(--ease); }
.intro-lift .intro { transform: translateY(-101%); }
.intro__mark { width: min(78vw, 560px); }
.intro__mark use { stroke-dasharray: 1; stroke-dashoffset: 1.002; fill-opacity: 0; transition: stroke-dashoffset .78s var(--ease), fill-opacity .26s linear; }
.intro__mark .d-r { --sw-r: 6; transition-delay: .12s, 0s; }
.intro__mark .d-k { --sw-k: 9; transition-delay: .18s, 0s; }
.intro__mark .d-w { --sw-w: 7; transition-delay: .24s, 0s; }
.intro-run .intro__mark use { stroke-dashoffset: 0; }
.intro-fill .intro__mark use { fill-opacity: 1; stroke-width: 0; transition: fill-opacity .26s linear, stroke-width .26s linear; }
.intro__line { overflow: hidden; margin: 0; padding: .1em .2em .25em; font: 700 .85rem/1.2 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.intro__line span { display: block; transform: translateY(120%); transition: transform .5s var(--ease); }
.intro-fill .intro__line span { transform: none; }
.intro-on .dock { visibility: hidden; }

/* ==========================================================================
   Hero: three painted words, three arch windows, the turning stamp
   ========================================================================== */
.hero { padding: 14px 0 36px; }
.hero__grid { display: grid; gap: 22px; }
.hero__eye { margin: 0 0 8px; font: 700 .8125rem/1.3 var(--f-b); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__h { font: 400 clamp(3rem, 1.6rem + 8.5vw, 7.5rem)/.9 var(--f-d); letter-spacing: -.01em; margin: 12px 0 14px; }
.hl { display: block; }
.hl__in { display: inline-block; padding: .03em .16em .09em; }
.hl__in:not(.is-fill) { padding-left: 0; }
.hl__in.is-fill { background: var(--fill); color: var(--onfill); border: 3px solid var(--ink); border-radius: .16em; }
.hl:nth-child(2) .hl__in { transform: rotate(-2deg); margin: .06em 0 .02em; }
.hl:nth-child(3) .hl__in { transform: rotate(1.5deg); margin-left: .28em; }
.hero .btns { margin-top: 18px; }
@media (max-width: 599px) { .hero .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .hero .btns .btn--paper { grid-column: 1 / -1; } }
@media (max-width: 379px) { .hero .btns .btn { padding: .6em .7em; } .hero .btns .btn--solid .ic { display: none; } }
@media (max-height: 640px) and (max-width: 599px) { .hero { padding-top: 8px; } .hero__eye { margin-bottom: 6px; } .hero__h { margin: 8px 0 10px; } .live--lg { padding: 5px 12px 5px 9px; font-size: .9375rem; } .lead { font-size: 1rem; line-height: 1.4; } .hero .btns { margin-top: 12px; gap: 8px; } .hero .btn { min-height: 44px; } }
.hero .lead { margin: 0; }

.cluster { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 1 / 1.1; }
.arches { position: absolute; inset: 0; }
.arch { position: absolute; margin: 0; }
.arch--1 { width: 50%; left: 24%; top: 5%; z-index: 2; }
.arch--2 { width: 40%; right: 1%; top: 27%; z-index: 1; }
.arch--3 { width: 38%; left: 1%; top: 52%; z-index: 3; }
.arch__tilt { position: relative; transform: rotate(var(--tilt, 0deg)); }
.arch__back { position: absolute; inset: 0; background: var(--fill); border: 2px solid var(--ink); border-radius: 999px 999px 16px 16px; transform: translate(10px, 10px); }
.arch__win { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg2); border: 3px solid var(--ink); border-radius: 999px 999px 16px 16px; }
.arch--2 .arch__win { aspect-ratio: 4 / 5; }
.arch--3 .arch__win { aspect-ratio: 1 / 1; }
.arch__win img { width: 100%; height: 100%; object-fit: cover; }

.stamp { position: absolute; top: 0; right: 3%; z-index: 4; width: clamp(96px, 24vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--fill); color: var(--onfill); border: 2px solid var(--ink); }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stamp__ring text { font: 400 9.4px var(--f-d); letter-spacing: .6px; fill: currentColor; }
.stamp__c { position: absolute; left: 32%; top: 32%; width: 36%; height: 36%; padding: 8%; border-radius: 50%; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.stamp__c svg { width: 100%; height: 100%; fill: currentColor; }

@media (min-width: 1024px) {
  .hero { padding: 40px 0 64px; }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .hero__words { grid-column: 1 / 7; padding-top: 24px; }
  .cluster { grid-column: 7 / 13; margin-top: 70px; max-width: none; }
}
/* laptops (about 720-820 px tall): headline, lead and the three buttons all above the fold */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero { padding: 16px 0 48px; }
  .hero__words { padding-top: 4px; }
  .hero__h { font-size: clamp(3.25rem, 13vh, 7.5rem); margin: 12px 0 14px; }
  .hero .lead { max-width: 46ch; }
  .hero .btns { margin-top: 16px; }
  .cluster { margin-top: 12px; }
}

/* ==========================================================================
   Ribbon: the one marquee - cuisine flags under a striped awning
   ========================================================================== */
.ribbon { overflow: hidden; padding: 0 0 22px; }
.ribbon .valance { background-size: 48px 13px, 48px 13px, 100% 20px; }
.ribbon__track { display: flex; width: max-content; padding-top: 16px; }
.flags { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.flg { padding: .42em 1.35em .42em .75em; background: var(--fill); color: var(--onfill); font: 400 clamp(1.3rem, 1rem + 1.3vw, 2rem)/1 var(--f-d); white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - .6em) 50%, 100% 100%, 0 100%); }
html:not(.mo) .ribbon__track, .lite .ribbon__track { width: auto; }
html:not(.mo) .flags, .lite .flags { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
html:not(.mo) .flags + .flags, .lite .flags + .flags { display: none; }

/* ==========================================================================
   The name + four sign tiles
   ========================================================================== */
.name__grid { display: grid; gap: 34px; }
.name__h { font: 400 clamp(4.5rem, 2rem + 15vw, 11rem)/.85 var(--f-d); margin: .12em 0 .1em; letter-spacing: -.01em; color: var(--text-safe); }
.flag { display: inline-flex; flex-direction: column; gap: 4px; margin: 0 0 22px; padding: 12px 46px 14px 18px; background: var(--fill); color: var(--onfill); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%); }
.flag__lang { font: 700 .8125rem/1 var(--f-b); letter-spacing: .08em; text-transform: uppercase; }
.flag__m { font: 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem)/1 var(--f-d); }
.since { font-weight: 700; }
.name__body { max-width: 46ch; font-size: 1.125rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; list-style: none; margin: 34px 0 0; padding: 0; }
.tile { position: relative; contain: layout; padding: 22px 12px 16px; text-align: center; background: var(--fill); color: var(--onfill); border: 2px solid var(--ink); border-radius: 18px; }
.tile::before { content: ""; position: absolute; left: 50%; top: -26px; width: 52px; height: 28px; margin-left: -26px; background: var(--fill); border: 2px solid var(--ink); border-bottom: 0; border-radius: 52px 52px 0 0; }
.tile__v { display: inline-block; font: 400 clamp(2.4rem, 1.5rem + 3.2vw, 4rem)/1 var(--f-d); font-variant-numeric: tabular-nums; }
.tile__v small { font-size: .42em; }
.tile__l { display: block; margin-top: 6px; font: 700 1rem/1.25 var(--f-b); }
.tile__n { display: block; margin-top: 4px; font: 600 .8125rem/1.3 var(--f-b); }
.tile:nth-child(2), .tile:nth-child(4) { margin-top: 12px; }
@media (min-width: 900px) {
  .name__word { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .name__word > p:first-child { grid-column: 1 / -1; }
  .name__h, .name__word .flag { grid-column: 1; }
  .name__body { grid-column: 2; grid-row: 2 / span 2; align-self: end; margin-bottom: 26px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
  .tile:nth-child(2) { margin-top: 10px; }
  .tile:nth-child(3) { margin-top: 20px; }
  .tile:nth-child(4) { margin-top: 30px; }
}

/* ==========================================================================
   THE MENU DECK - nine full-width colour bands. Pure CSS position:sticky:
   each band pins under the header and the next slides up over it. NO
   ancestor of .deck may have overflow hidden/auto (breaks sticky on iOS) and
   the menu section is never content-visibility:auto (containment breaks it).
   Static (no sticky) without JS, under reduced motion and in lite mode.
   ========================================================================== */
.menu__hint { font-weight: 700; margin: 0 0 .3em; }
.menu__note { color: var(--muted); font-size: .9375rem; max-width: 60ch; }
.deck { margin-top: 30px; }
.course { position: relative; background: var(--fill); color: var(--onfill); border-top: 3px solid var(--ink); border-radius: 26px 26px 0 0; scroll-margin-top: 0; }
.mo .course { position: sticky; top: calc(var(--nb, 0px) + var(--hdr) + min(var(--i, 0), 4) * 10px); }
.lite .course, .mo .course.is-open { position: relative; top: auto; }
.course__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n a" "t a" "c a" "b b"; column-gap: 16px; padding: 18px 0 20px; }
.course__n { grid-area: n; margin: 0; font: 400 clamp(4rem, 2rem + 12vw, 9rem)/.85 var(--f-d); }
.course__t { grid-area: t; margin: .18em 0 .3em; font: 400 clamp(1.75rem, 1.2rem + 2.6vw, 3rem)/1.02 var(--f-d); }
.course__c { grid-area: c; align-self: start; justify-self: start; margin: 0; padding: 4px 12px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 999px; font: 700 .875rem/1.25 var(--f-b); }
.course__b { grid-column: 1 / -1; margin: 10px 0 0; }
.course__arch { grid-area: a; align-self: end; width: clamp(112px, 31vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); border: 3px solid var(--ink); border-radius: 999px 999px 14px 14px; }
.course__arch img { width: 100%; height: 100%; object-fit: cover; }
.course__arch--pat { background: radial-gradient(circle, var(--paper) 2.6px, var(--clear) 3.2px) 0 0 / 16px 16px, var(--fill); }
.course__btn { grid-area: b; margin-top: 16px; width: 100%; justify-content: space-between; }
.plus { position: relative; width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2.5px; background: currentColor; border-radius: 2px; }
.plus::after { transform: rotate(90deg); }
.is-open .plus { transform: rotate(45deg); }
.course__panel { display: grid; grid-template-rows: 1fr; }
.js .course__panel { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .course.is-open .course__panel { grid-template-rows: 1fr; }
.course__in { min-height: 0; overflow: hidden; }
.js .course:not(.is-open) .course__in { visibility: hidden; transition: visibility 0s .45s; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 0; margin-bottom: 0; padding: 2px 0 30px; }
.pills li { padding: 6px 12px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 999px; font: 600 .875rem/1.2 var(--f-b); }
@media (min-width: 900px) { .pills li { padding: 8px 14px; font-size: .9375rem; } }
html:not(.js) .course__btn { display: none; }
@media (min-width: 900px) {
  .course__head { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n t a" "n c a" "n b a"; column-gap: 28px; padding: 26px 0; }
  .course__n { align-self: center; min-width: 1.15em; }
  .course__t { align-self: end; }
  .course__btn { width: auto; justify-self: start; align-self: start; min-width: 240px; }
  .course__arch { width: 200px; }
}

/* ==========================================================================
   The room
   ========================================================================== */
.room__grid { display: grid; gap: 24px; margin-top: 36px; }
.room__photo { position: relative; margin: 0; }
.room__win { overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg2); border: 3px solid var(--ink); border-radius: 50% 50% 20px 20px / 36% 36% 20px 20px; }
.room__win img { width: 100%; height: 100%; object-fit: cover; }
.onimg { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 6px 10px; background: rgb(var(--scrim-rgb) / var(--scrim-a)); color: var(--onimg); border-radius: 8px; font: 600 .8125rem/1.3 var(--f-b); }
.room__tile { padding: 26px 22px; background: var(--fill); color: var(--onfill); border: 2px solid var(--ink); border-radius: 24px; }
.room__tile .h2 { color: var(--onfill); }
.room__tile .chips { margin-top: 18px; }
@media (min-width: 900px) { .room__grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 36px; } .room__tile { padding: 34px 30px; } }

/* ==========================================================================
   Hours card
   ========================================================================== */
.hcard { max-width: 780px; margin: 36px auto 0; padding: 22px 16px 16px; background: var(--paper); color: var(--ink-safe); border: 3px solid var(--ink); border-radius: 26px; }
.hcard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 12px; }
.hcard .h2 { color: var(--ink-safe); margin: 0; }
.hrows { list-style: none; margin: 0; padding: 0; }
.hrow { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-top: 1px solid rgb(var(--ink-rgb) / .16); border-radius: 14px; font-weight: 600; }
.hrow__d { font: 400 1.25rem/1 var(--f-d); }
.hrow__d b { font-weight: 400; }
.hrow__d .hrow__long { display: none; }
.hrow__t { margin-left: auto; font-size: .96rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hrow__today { display: none; padding: 3px 9px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 999px; font: 700 .72rem/1.2 var(--f-b); letter-spacing: .05em; text-transform: uppercase; }
.hrow.is-today { background: var(--a1); color: var(--on-a1); border-top-color: var(--clear); }
.hrow.is-today .hrow__today { display: inline-block; }
@media (min-width: 600px) {
  .hcard { padding: 28px 26px 22px; }
  .hrow { padding: 10px 16px; }
  .hrow__d .hrow__short { display: none; }
  .hrow__d .hrow__long { display: inline; }
  .hrow__t { font-size: 1.0625rem; }
}

/* ==========================================================================
   Reviews: rating tile, snap carousel, the guest form
   ========================================================================== */
.rvhead { display: grid; gap: 24px; margin-top: 36px; }
.rating { display: grid; justify-items: start; gap: 6px; padding: 20px 22px 22px; background: var(--fill); color: var(--onfill); border: 3px solid var(--ink); border-radius: 26px; }
.rating__v { margin: 0; font: 400 clamp(4.5rem, 3rem + 6vw, 7rem)/.85 var(--f-d); }
.rating__n { margin: 4px 0 0; font-weight: 700; }
.rating__a { margin: 0 0 10px; font-size: .9375rem; }
.rvintro .h2 { margin-top: .25em; }
@media (min-width: 900px) { .rvhead { grid-template-columns: minmax(280px, 4fr) 8fr; align-items: end; gap: 40px; } }

.stars { display: inline-flex; gap: 3px; }
.st { width: 20px; height: 20px; fill: rgb(var(--ink-rgb) / .12); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.st.on { fill: var(--a1); }
.stars--lg .st { width: 26px; height: 26px; }

.car { margin-top: 30px; }
.car__track {
  display: flex; gap: 16px; margin: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: thin; align-items: flex-start;
  padding: 6px max(16px, calc((100% - 1180px) / 2)) 22px;
  scroll-padding-inline: max(16px, calc((100% - 1180px) / 2));
}
.rvc { display: flex; flex-direction: column; gap: 10px; flex: 0 0 82%; max-width: 360px; padding: 20px 20px 12px; scroll-snap-align: start; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 22px; }
.rvc__name { margin: 0; font: 400 1.5rem/1.05 var(--f-d); }
.rvc__q { margin: 0; flex: 1; }
.rvc__q p { margin: 0; white-space: pre-line; }
.rvc__src { display: inline-flex; align-items: center; min-height: 44px; margin: 0; color: var(--ink-muted); font: 600 .8125rem/1.3 var(--f-b); }
a.rvc__src { text-decoration: underline; text-underline-offset: 3px; }
.car__nav { display: flex; gap: 10px; }
.car__nav .btn { min-width: 120px; }
.car__nav .ic { transform: rotate(180deg); }
.car__nav [data-dir="1"] .ic { transform: none; }
html:not(.js) .car__nav { display: none; }

.gcard { max-width: 780px; margin: 44px auto 0; padding: 26px 20px; background: var(--paper); color: var(--ink-safe); border: 3px solid var(--ink); border-radius: 26px; }
.gstack { display: grid; }
.gstack > * { grid-area: 1 / 1; }
.gform { transition: opacity .3s linear; }
.gform.is-gone { opacity: 0; visibility: hidden; }
.fld { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.fld label, .fld legend { display: block; margin: 0 0 6px; padding: 0; font-weight: 700; }
.fld small { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--ink-muted); font-size: .875rem; }
.fld input:not([type="radio"]), .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--paper); color: var(--ink-safe); border: 2px solid var(--ink); border-radius: 14px; font-size: 1rem; }
.fld textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.gstars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.gstars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gstars label { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; cursor: pointer; }
.gstars .st { width: 34px; height: 34px; transition: transform .15s var(--ease); }
.gstars input:checked ~ label .st { fill: var(--a1); }
.gstars input:checked + label .st { transform: scale(1.12); }
.gstars input:focus-visible + label { outline: 3px solid var(--ink); border-radius: 10px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#g-count { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gconsent { font-size: .875rem; color: var(--ink-muted); }
.gform .btn[disabled] { cursor: progress; }
.spin { display: none; width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: var(--clear); border-radius: 50%; }
.is-busy .spin { display: inline-block; }
.mo .is-busy .spin { animation: spin 0.8s linear infinite; }
.gmsg { margin: 0; font-weight: 700; }
.gmsg:not(:empty) { margin-top: 12px; }
.gmsg.is-bad { padding-left: 12px; border-left: 4px solid var(--a0); }
.gthanks { align-self: center; text-align: center; padding: 20px 0; }
.gthanks:focus { outline: none; }

/* ==========================================================================
   Visit - the last thing on the page: the royal-blue night sign
   ========================================================================== */
.visit { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); background: var(--fill); color: var(--onfill); }
.visit .h2 { color: var(--onfill); }
.visit__tag { font-weight: 700; font-size: 1.125rem; }
.visit__grid { display: grid; gap: 16px; margin-top: 26px; }
.loc { padding: 22px; background: var(--paper); color: var(--ink-safe); border: 3px solid var(--ink); border-radius: 24px; }
.loc__addr { margin: 0 0 10px; font: 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem)/1.1 var(--f-d); font-style: normal; }
.loc__plus { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.map { position: relative; display: grid; place-items: center; align-content: center; gap: 12px; min-height: 250px; overflow: hidden; border: 3px solid var(--ink); border-radius: 24px;
  background:
    linear-gradient(32deg, var(--clear) 46%, var(--paper) 46% 54%, var(--clear) 54%),
    repeating-linear-gradient(0deg, rgb(var(--ivory-rgb) / .3) 0 3px, var(--clear) 3px 40px),
    repeating-linear-gradient(90deg, rgb(var(--ivory-rgb) / .3) 0 3px, var(--clear) 3px 48px),
    var(--fill); }
.map__pin { width: 54px; height: 54px; color: var(--a0); fill: currentColor; stroke: var(--ink); stroke-width: 1.2; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--paper); }
html:not(.js) .map__btn { display: none; }
.call { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; padding: 16px 20px; min-height: 64px; background: var(--fill); color: var(--onfill); border: 3px solid var(--ink); border-radius: 24px; text-decoration: none; font-weight: 700; }
.call .ic { width: 28px; height: 28px; }
.call__n { margin-left: auto; font: 400 clamp(1.7rem, 1.3rem + 2vw, 2.6rem)/1 var(--f-d); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.visit__meta { margin-top: 28px; max-width: 60ch; }
.visit__meta p { margin: 0 0 .45em; }
.visit__hours { font-weight: 700; font-size: 1.125rem; }
.visit__foot { margin: 36px 0 18px; font: 400 clamp(1.8rem, 1.2rem + 3vw, 3.4rem)/1 var(--f-d); }
.visit__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 2px dashed currentColor; font-size: .9375rem; }
.visit__base p { margin: 0; }
.lite-btn { min-height: 44px; padding: 0 16px; background: none; border: 2px solid currentColor; border-radius: 999px; font: 700 .875rem/1 var(--f-b); cursor: pointer; }
.lite-btn[aria-pressed="true"] { background: var(--paper); color: var(--ink-safe); border-color: var(--ink); }
html:not(.js) .lite-btn { display: none; }
@media (min-width: 761px) { .visit { padding-bottom: 56px; } }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1fr; } }

/* The holiday notice (js/notice.js), a fixed bar that pushes the page down. */
.nw-notice { position: fixed; top: 0; left: 0; right: 0; z-index: 90; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 52px 8px 16px; background: var(--a0); color: var(--on-a0); border-bottom: 2px solid var(--ink); font: 700 .9375rem/1.35 var(--f-b); text-align: center; }
.nw-notice p { margin: 0; }
.nw-notice button { position: absolute; right: 2px; top: 50%; width: 44px; height: 44px; margin-top: -22px; background: none; border: 0; color: inherit; font: 700 1.3rem/1 var(--f-b); cursor: pointer; }

noscript p { margin: 0; padding: 12px 16px; background: var(--paper); color: var(--ink-safe); border-bottom: 2px solid var(--ink); text-align: center; font-weight: 700; }

/* Below the fold: skip rendering until near. NOT on the hero, ribbon, name or
   the menu (sticky needs no containment around it).
   Placeholder heights are the MEASURED real heights (phone / desktop), so a
   section rendering for the first time shifts nothing below it (a wrong
   guess cost a 30 ms relayout plus a full-page repaint at 6x CPU). */
.room { content-visibility: auto; contain-intrinsic-size: auto 950px; }
.hours { content-visibility: auto; contain-intrinsic-size: auto 651px; }
/* Reviews: split in two (carousel, form) so neither renders all at once;
   each card off to the side of the carousel also skips rendering. */
.car { content-visibility: auto; contain-intrinsic-size: auto 650px; }
.gcard { content-visibility: auto; contain-intrinsic-size: auto 860px; }
.rvc { content-visibility: auto; contain-intrinsic-size: auto 540px; }
.visit { content-visibility: auto; contain-intrinsic-size: auto 1370px; }
@media (min-width: 900px) {
  .room { contain-intrinsic-size: auto 714px; }
  .hours { contain-intrinsic-size: auto 734px; }
  .car { contain-intrinsic-size: auto 583px; }
  .gcard { contain-intrinsic-size: auto 758px; }
  .visit { contain-intrinsic-size: auto 1047px; }
}

/* ==========================================================================
   MOTION - everything below needs html.mo, and html.lite switches it down.
   Elements always sit in their FINAL layout; .rv only holds a start state
   until main.js adds .in (once, via IntersectionObserver).
   ========================================================================== */
.mo .rv { opacity: 0; transform: translateY(24px); }
.mo .hl.rv { transform: translateY(.35em); }
.mo .arch.rv { transform: translateY(28px); }
.mo .rv--l { transform: translateX(-24px); }
.mo .rv--r { transform: translateX(24px); }
.mo .rv--pop { transform: scale(.92); }
.mo .rv.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.mo .valance { transform: scaleY(0); }
.mo .valance.in { transform: none; transition: transform .42s var(--ease); }
.mo .ribbon.run .ribbon__track { animation: mq 45s linear infinite; }
.mo .stamp.run .stamp__ring { animation: spin 28s linear infinite; }
/* Paused off-screen and in a hidden tab. Must out-rank the rules above:
   the animation shorthand there resets play-state to running. */
.mo .ribbon.run.is-off .ribbon__track, .mo .stamp.run.is-off .stamp__ring,
.mo.tab-hidden .ribbon.run .ribbon__track, .mo.tab-hidden .stamp.run .stamp__ring { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Lite: no marquee, no spinning, no sticky deck, no unroll; reveals are a
   200 ms fade. Content, the intro, the menu and the form all stay. */
.lite .rv, .lite .hl.rv, .lite .arch.rv, .lite .valance { transform: none; }
.lite .rv.in { transition: opacity .2s linear; transition-delay: 0s; }
.lite .ribbon__track, .lite .stamp__ring { animation: none !important; }
.lite .course__panel, .lite .plus { transition: none; }

/* No scroll-timeline progress bar and no numeral drift: measured, a
   scroll-driven animation re-runs style on every scroll frame (perf probe,
   2026-09-30). The deck itself is the scroll effect. */

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .btn, .plus, .course__panel, .gstars .st { transition: none !important; }
}
@media print {
  .intro, .dock, .ribbon, .car__nav, .gcard, .map { display: none !important; }
  .hdr, .mo .course { position: static; }
}
