/* Mr Souvlaki · sample site, version 2
   A Greek street-food poster: Aegean blue and whitewash, heavy condensed
   type, the real logo, the cartoon owner and painted illustrations (research/site-art). */

:root {
  --blue: #0069B3;
  --blue-deep: #00579A;
  --blue-pale: #E3EEF8;
  --wall: #1F6491;      /* the painted wall in the hero art, sampled */
  --paper: #F8F3EA;     /* the tabletop in the dish paintings */
  --whitewash: #F6F4EE;
  --white: #FFFFFF;
  --navy: #132544;
  --magenta: #B4176A;
  --ember: #FFC94A;
  --char: #1A1F2B;
  --soft-on-white: #4A5869;
  --soft-on-blue: #E4EEF8;
  --soft-on-navy: #B7C4D6;

  --display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --text: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 76px;
  --gutter: clamp(1rem, 4.4vw, 4.5rem);
  --sec: clamp(4.5rem, 9vw, 9rem);
  --r: 14px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 1px 2px rgb(19 37 68 / 0.1), 0 14px 34px -12px rgb(19 37 68 / 0.28);
  --sticker: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(0 12px 14px rgb(19 37 68 / 0.28));
  --key-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13'%3E%3Cpath d='M0 11.6H13.6V1.4H3.4V8.2H10.2V4.6H6.8M13.6 11.6H16' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E");
  --key-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13'%3E%3Cpath d='M0 11.6H13.6V1.4H3.4V8.2H10.2V4.6H6.8M13.6 11.6H16' fill='none' stroke='%23132544' stroke-width='1.5'/%3E%3C/svg%3E");
  --key-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13'%3E%3Cpath d='M0 11.6H13.6V1.4H3.4V8.2H10.2V4.6H6.8M13.6 11.6H16' fill='none' stroke='%230069B3' stroke-width='1.5'/%3E%3C/svg%3E");
}
@media (max-width: 859.98px) { :root { --nav-h: 62px; } }

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--whitewash); color: var(--navy); font: 500 clamp(1rem, 0.96rem + 0.22vw, 1.15rem)/1.55 var(--text); overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* the rule above would otherwise un-hide hidden loops */
main { overflow-x: clip; } /* the tilted ribbon and stickers never widen the page */
a { color: inherit; text-underline-offset: 0.2em; }
p, h1, h2, h3, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: var(--white); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-nowrap { white-space: nowrap; }
.fine { font-size: 0.875rem; color: var(--soft, var(--soft-on-white)); }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 14px; background: var(--navy); color: var(--white); border-radius: 8px; }
.skip:focus { top: 12px; }

.g-white { background: var(--whitewash); color: var(--navy); --soft: var(--soft-on-white); --focus: var(--magenta); }
.g-blue  { background: var(--blue); color: var(--white); --soft: var(--soft-on-blue); --focus: var(--ember); }
.g-navy  { background: var(--navy); color: var(--whitewash); --soft: var(--soft-on-navy); --focus: var(--ember); }
:focus-visible { outline: 3px solid var(--focus, var(--magenta)); outline-offset: 3px; border-radius: 6px; }

.h2 { font: 900 clamp(2.9rem, 1.6rem + 5.2vw, 6.4rem)/0.88 var(--display); text-transform: uppercase; letter-spacing: 0.002em; }
.h3 { font: 800 clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.sec { position: relative; padding: var(--sec) var(--gutter); }
.sec__head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.2rem, 4.5vw, 4rem); }
.sec__lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: var(--soft); max-width: 40rem; }
.sticker { filter: var(--sticker); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 50px; padding: 0 1.4rem;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 800 1.0625rem/1 var(--text); letter-spacing: 0.01em;
  transition: transform 140ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 60px; padding: 0 2rem; font-size: 1.2rem; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 rgb(19 37 68 / 0.25); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2.5px rgb(255 255 255 / 0.85); }
@media (hover: hover) and (pointer: fine) {
  .btn--blue:hover { background: var(--blue-deep); }
  .btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgb(19 37 68 / 0.25); }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.12); }
}
.btn__carry { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; font-weight: 600; opacity: 0.92; }
.btn__carry::before { content: "· "; }

/* =================================================================== NAV == */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 2rem); padding: 0 var(--gutter);
  background: var(--whitewash); color: var(--navy); --focus: var(--magenta);
  transition: box-shadow 200ms var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgb(19 37 68 / 0.1), 0 10px 24px -14px rgb(19 37 68 / 0.35); }
.nav__logo img { width: calc(var(--nav-h) - 18px); height: auto; border-radius: 9px; }
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); margin-right: auto; margin-left: clamp(0.5rem, 2vw, 1.6rem); }
.nav__links a { font-weight: 700; text-decoration: none; padding: 10px 0; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { text-decoration: underline; text-decoration-thickness: 2px; } }
.nav__open { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); }
@media (max-width: 1099.98px) { .nav__open { display: none; } }
@media (max-width: 859.98px) {
  .nav { gap: 0.6rem; padding: 0 0.75rem 0 0.9rem; }
  .nav__links { margin-left: 0.4rem; gap: 1rem; }
  .nav__links a:not(.nav__menu) { display: none; }
  .nav__order { min-height: 44px; padding: 0 1.1rem; }
  /* No room for the dish name: a dot says "your pick is saved"; screen readers still hear the name. */
  .nav__order .btn__carry { width: 10px; height: 10px; max-width: none; flex: none; font-size: 0; border-radius: 50%; background: var(--ember); }
  .nav__order .btn__carry::before { content: none; }
}

/* ================================================================== HERO == */
.hero { position: relative; background: var(--wall); color: var(--white); --focus: var(--ember); padding-top: var(--nav-h); overflow: hidden; }
.hero__awning {
  height: clamp(48px, 6vw, 76px);
  background: repeating-linear-gradient(90deg, var(--white) 0 46px, var(--blue-deep) 46px 92px);
  -webkit-mask: radial-gradient(30px 24px at 23px 100%, transparent 98%, #000) 0 0 / 46px 100% repeat-x;
          mask: radial-gradient(30px 24px at 23px 100%, transparent 98%, #000) 0 0 / 46px 100% repeat-x;
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.18));
}
/* The painted lane (H1, 16:9) fills the hero from its left edge, so the calm blue wall stays
   behind the words; the hero is never wider than the painting, so its awning always shows.
   .hero__front is the same painting with only the counter kept: he stands behind it. */
.hero__bg, .hero__front { position: absolute; inset: var(--nav-h) 0 0; pointer-events: none; background: no-repeat 0% 100% / cover; }
.hero__bg { z-index: 0; background-image: url("assets/art/hero-1600.webp"); }
.hero__front { z-index: 2; background-image: url("assets/art/hero-front-1600.webp"); }
@media (min-width: 1400px), (min-width: 860px) and (min-resolution: 1.5dppx) {
  .hero__bg { background-image: url("assets/art/hero-2560.webp"); }
  .hero__front { background-image: url("assets/art/hero-front-2560.webp"); }
}
@media (min-width: 860px) { .hero__awning { display: none; } }
/* Rows follow the painting: awning (13%), wall (63%), counter (24%). The words stay on the wall. */
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 13fr 63fr 24fr; column-gap: 1rem;
  min-height: max(calc(100svh - var(--nav-h)), 55.8vw); padding: 0 var(--gutter);
}
.hero__copy {
  grid-row: 2; align-self: center; display: grid; gap: 1.3rem; padding: 1rem 0; position: relative; z-index: 3;
  max-width: calc(max(100vw, (100svh - var(--nav-h)) * 1.792) * 0.41 - var(--gutter));
  text-shadow: 0 1px 14px rgb(10 40 70 / 0.45);
}
.hero__title { font: 900 clamp(3rem, min(1rem + 4.6vw, 9.4svh), 6.8rem)/0.86 var(--display); text-transform: uppercase; letter-spacing: 0.004em; }
.hero__lede { max-width: 32rem; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); color: var(--white); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; text-shadow: none; }
.hero__scene { position: relative; grid-column: 2; grid-row: 1 / -1; align-self: end; height: 80%; min-height: 420px; }
.hero__clip { position: absolute; inset: 0; clip-path: inset(-40% -30% 16% -30%); }
.hero__char { position: absolute; left: 50%; bottom: 10%; height: 92%; aspect-ratio: 878 / 1070; translate: -48% 0; }
.hero__char > img, .hero__char > video, .hero__char > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.badge {
  position: absolute; z-index: 5; display: grid; place-content: center; text-align: center; width: 138px; aspect-ratio: 1;
  border-radius: 50%; background: var(--magenta); color: var(--white); rotate: 10deg;
  font: 800 0.95rem/1.05 var(--text); text-transform: uppercase; letter-spacing: 0.03em; box-shadow: 0 10px 20px -8px rgb(0 0 0 / 0.4);
}
.badge strong { display: inline-flex; align-items: baseline; justify-content: center; gap: 0.14em; font: 900 2.6rem/0.9 var(--display); letter-spacing: 0; }
.badge strong small { font: 800 0.36em/1 var(--text); letter-spacing: 0.08em; }
/* On the plain white wall beside his head, clear of the magenta bougainvillea it used to disappear into. */
.hero__badge { left: 3%; top: 20%; width: 150px; rotate: -8deg; box-shadow: 0 0 0 5px var(--white), 0 16px 28px -10px rgb(19 37 68 / 0.5); }
@media (min-width: 860px) and (max-width: 1199.98px) { .hero__badge { left: 0; top: 6%; width: 128px; } .hero__badge strong { font-size: 2.2rem; } }

/* ribbon --------------------------------------------------------------------- */
.ribbon { position: relative; z-index: 4; margin: -1.6rem -2% -1.2rem; padding: 0.9rem 0; background: var(--magenta); color: var(--white); rotate: -1.6deg; overflow: hidden; box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.45); }
.ribbon__track { display: flex; gap: 2.4rem; width: max-content; white-space: nowrap; font: 800 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; transform: translate3d(var(--mq, 0px), 0, 0); }
.ribbon__track span { display: inline-flex; gap: 0.6rem; align-items: baseline; color: #FFE3F0; }
.ribbon__track b { color: var(--white); font-weight: 900; text-transform: none; }

/* =========================================================== GREEK WAY == */
.greekway {
  padding-top: calc(var(--sec) + 1.4rem);
  background-color: var(--whitewash);
  background-image: radial-gradient(ellipse 10px 7px at 50% 50%, rgb(19 37 68 / 0.045) 98%, transparent), radial-gradient(ellipse 8px 6px at 50% 50%, rgb(0 105 179 / 0.05) 98%, transparent);
  background-size: 30px 24px, 38px 30px; background-position: 0 0, 15px 12px;
}
.dishes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: clamp(1rem, 2.4vw, 2rem); }
.dish { display: grid; gap: 1rem; align-content: start; padding: clamp(1.2rem, 2.4vw, 2rem); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.dish--gyros { grid-row: span 2; }
.dish__text { display: grid; gap: 0.75rem; }
.dish__text > p { color: var(--soft-on-white); }
.prices { display: grid; gap: 0.3rem; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.45rem 0; border-bottom: 2px dotted rgb(19 37 68 / 0.18); font-weight: 700; }
.prices b { font: 900 1.45rem/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.sticker-note { justify-self: start; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--ember); color: var(--navy); font-weight: 800; font-size: 0.9rem; rotate: -2deg; }
.greekway__fine { margin-top: 1.4rem; }
/* One painting per dish (research/site-art D1-D3), on the same paper colour as the painting. */
.art { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--r-lg) - 8px); background: var(--paper); overflow: hidden; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art--gyros { aspect-ratio: 3 / 4; }

/* ========================================================== LITTLE SKEWER == */
.word { overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 1rem; padding-block: clamp(4rem, 8vw, 7rem); }
.word__el { font: 900 clamp(5rem, 1rem + 17vw, 16rem)/0.8 var(--display); letter-spacing: -0.005em; }
.word__en { font: 900 clamp(2rem, 1.4rem + 2.4vw, 3.6rem)/0.95 var(--display); text-transform: uppercase; }
.word__en em { font-style: normal; color: var(--ember); }
.word__more { max-width: 36rem; color: var(--soft); }
.word__skewer { position: absolute; width: clamp(220px, 34vw, 520px); right: -4%; top: 12%; rotate: -24deg; opacity: 0.95; pointer-events: none; }

/* ======================================================== SKEWER OR SPIT == */
.choose__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
.stage { position: sticky; top: calc(var(--nav-h) + 16px); }
.stage__board {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); container-type: inline-size;
  background: #EEF2F8 url("assets/art/stage-wall-800.webp") 50% 100% / cover no-repeat; /* the kitchen wall, painted whole: S1a here, S1b on phones */
}
@media (min-width: 1300px), (min-resolution: 1.5dppx) { .stage__board { background-image: url("assets/art/stage-wall-1536.webp"); } }
.stage__bed { /* the grill's warmth on the wall while he cooks: light only, nothing drawn */
  position: absolute; inset: auto 0 0; height: 70%; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(55% 65% at 50% 100%, rgb(255 150 60 / 0.42), rgb(255 150 60 / 0) 70%);
  transition: opacity 400ms var(--ease);
}
.stage.is-hot .stage__bed { opacity: 1; animation: embers 1100ms ease-in-out infinite alternate; }
@keyframes embers { from { opacity: 0.55; } }
.stage__pose { position: absolute; z-index: 2; left: 50%; bottom: 4%; height: 92%; aspect-ratio: 478 / 739; translate: -50% 0; transition: opacity 220ms var(--ease); }
/* The grill and the spit are cut by the bottom of their clips, so that cut sits on the board's edge. */
.stage__pose[data-kind="grill"] { aspect-ratio: 1586 / 1080; height: 80%; bottom: -0.5%; }
.stage__pose[data-kind="spit"] { aspect-ratio: 1328 / 1052; height: 86%; bottom: -0.5%; }
/* Handing it over: every dish's picture and clip (research/site-art/build_handover.py) shares one canvas, lined up by
   the apron patch, which sits where P4's did (centre 37.9% up the board, same size). The canvas is as wide and tall as
   the furthest any clip reaches, so he can lean toward you without being cut off. Numbers come from assets/character/handover.json. */
.stage__pose[data-kind="present"] { aspect-ratio: 568 / 952; height: 118.5%; bottom: -19.3%; translate: -50.0% 0; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.stage__food { position: absolute; inset: 0; pointer-events: none; }
.stage__food img { position: absolute; height: auto; filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.3)); }
/* What he says: a speech bubble in the top-right corner of the picture, its pointed corner toward him. That corner is the one
   place clear of him, the grill and the spit in every pose (measured over every clip, at desktop and phone size). The text
   scales with the board. At the spit on a phone there is no room beside him, so the line runs along the top instead. */
.stage__caption {
  position: absolute; z-index: 4; top: 3%; right: 3%; max-width: 33%; pointer-events: none;
  padding: 0.5em 0.85em; border-radius: 1.1em 1.1em 1.1em 0.25em; background: rgb(19 37 68 / 0.96); color: var(--white);
  box-shadow: 0 8px 16px -8px rgb(0 0 0 / 0.55); font: 800 clamp(0.78rem, 2.3cqw, 1.02rem)/1.2 var(--text); text-wrap: balance;
}
.choose__controls { display: grid; gap: 1.4rem; }
.chooser { display: grid; gap: 1.3rem; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.7rem; }
.step legend { display: flex; align-items: center; gap: 0.6rem; padding: 0; margin-bottom: 0.7rem; font: 900 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.step__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); font: 900 1.05rem/1 var(--display); }
.step[disabled] legend { opacity: 0.55; }
.step__note { color: var(--soft-on-white); font-size: 0.95rem; }
.step__opts { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt__pill {
  display: flex; align-items: center; gap: 0.55rem; min-height: 54px; padding: 0.35rem 1rem 0.35rem 0.5rem; border-radius: 999px;
  background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px rgb(19 37 68 / 0.16); font-weight: 750; cursor: pointer;
  transition: background-color 140ms var(--ease), box-shadow 140ms var(--ease), transform 120ms var(--ease);
}
.opt img { width: 40px; height: 40px; object-fit: contain; }
.opt__t { display: grid; }
.opt small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--soft-on-white); line-height: 1.1; }
.opt input:checked + .opt__pill { background: var(--navy); color: var(--white); box-shadow: inset 0 0 0 2px var(--navy); }
.opt input:checked + .opt__pill small { color: #DCE4EE; }
.opt input:focus-visible + .opt__pill { outline: 3px solid var(--magenta); outline-offset: 3px; }
.opt input:active + .opt__pill { transform: scale(0.97); }
.opt.is-closed .opt__pill { background: transparent; box-shadow: inset 0 0 0 2px rgb(19 37 68 / 0.12); color: rgb(19 37 68 / 0.55); cursor: not-allowed; }
.opt.is-closed img { opacity: 0.4; filter: grayscale(1); }
@media (hover: hover) and (pointer: fine) { .opt:not(.is-closed) input:not(:checked):hover + .opt__pill { box-shadow: inset 0 0 0 2.5px var(--blue); transform: translateY(-1px); } }
.ticket {
  position: relative; display: grid; gap: 0.7rem; padding: 1.5rem 1.5rem 2rem; background: var(--white); border-radius: var(--r) var(--r) 0 0;
  box-shadow: var(--shadow); min-height: 9rem; align-content: start;
  -webkit-mask: radial-gradient(10px 10px at 50% 100%, transparent 98%, #000) 0 0 / 20px 100% repeat-x;
          mask: radial-gradient(10px 10px at 50% 100%, transparent 98%, #000) 0 0 / 20px 100% repeat-x;
}
.ticket__label { font: 800 0.8rem/1 var(--text); text-transform: uppercase; letter-spacing: 0.14em; color: var(--soft-on-white); padding-bottom: 0.6rem; border-bottom: 2px dashed rgb(19 37 68 / 0.18); }
.ticket__empty, .ticket__fine { color: var(--soft-on-white); }
.ticket__fine { font-size: 0.85rem; }
.ticket__name { font: 900 clamp(2rem, 1.6rem + 1.4vw, 2.8rem)/0.92 var(--display); text-transform: uppercase; }
.ticket__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ticket__price { font: 900 2.4rem/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.ticket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 0.3rem; }
.ticket__reset { background: none; border: 0; padding: 0.5rem 0; font: 700 1rem var(--text); color: var(--navy); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.ticket__unavailable { font-weight: 800; font-size: 1.15rem; }
.nojs-explain { display: grid; gap: 0.6rem; max-width: 60ch; margin-top: 2rem; }
.js .nojs-explain { display: none; }
.no-js .choose__grid { display: none; }

/* ================================================================== ROOM == */
.room .isles { color: var(--ember); font-weight: 800; }
.postcards { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.7fr) minmax(0, 4fr); align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
.postcard img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--blue-pale); }
.postcard--tall img { aspect-ratio: 3 / 4; }
.postcard {
  position: relative; display: grid; gap: 0.7rem; padding: 0.9rem 0.9rem 1.1rem; background: var(--whitewash); color: var(--navy);
  border-radius: 6px; rotate: var(--r, 0deg); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.6);
}
.postcard figcaption { font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.postcard__stamp {
  position: absolute; top: -14px; right: 16px; display: grid; place-items: center; width: 62px; height: 70px; rotate: 6deg;
  background: var(--blue); color: var(--white); font: 900 1.4rem/1 var(--display);
  outline: 4px dotted var(--blue); outline-offset: 3px; box-shadow: 0 0 0 4px var(--white);
}

/* =============================================================== WELCOME == */
.welcome__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
.quote { display: grid; gap: 0.8rem; grid-column: span 5; padding: clamp(1.2rem, 2.4vw, 1.8rem); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.quote p { font: 700 clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem)/1.3 var(--text); }
.quote footer { font-weight: 700; color: var(--soft-on-white); font-size: 0.95rem; }
.quote--big { grid-column: 1 / span 7; background: none; box-shadow: none; padding: 0; }
.quote--big p { font: 900 clamp(2.6rem, 1.6rem + 3.6vw, 5.4rem)/0.9 var(--display); text-transform: uppercase; color: var(--blue); }
.scores { grid-column: 9 / span 4; display: grid; gap: 0.9rem; }
.score { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 0.9rem; padding: 1rem 1.2rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; }
.score strong { grid-row: span 2; font: 900 3.4rem/0.9 var(--display); color: var(--blue); }
.score span { font-weight: 700; }
.stars { display: flex; gap: 2px; color: #E0A400; }
.stars svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .score:hover { box-shadow: inset 0 0 0 2px var(--blue), var(--shadow); } }
.welcome__grid .quote:nth-child(3) { grid-column: 2 / span 5; }
.welcome__grid .quote:nth-child(4) { grid-column: 7 / span 5; margin-top: 2.4rem; }
.family { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem) 0; background: var(--blue-pale); border-radius: var(--r-lg); overflow: hidden; }
.family__toon { position: relative; width: clamp(240px, 30vw, 420px); aspect-ratio: 1328 / 1052; margin: 0; }
.family__toon > img, .family__toon > video, .family__toon > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.family__text { display: grid; gap: 0.6rem; padding-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.family__quote { font: 900 clamp(2rem, 1.4rem + 2.4vw, 3.6rem)/0.92 var(--display); text-transform: uppercase; color: var(--navy); }
.family__note { display: block; }

/* ================================================================= BOARD == */
.board__frame {
  position: relative; padding: clamp(1.6rem, 4vw, 3.4rem); border-radius: var(--r-lg); background: var(--navy); color: var(--whitewash); --soft: var(--soft-on-navy); --focus: var(--ember);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6), inset 0 0 0 10px var(--navy), inset 0 0 0 12px rgb(246 244 238 / 0.25);
}
.board__frame::before { content: ""; position: absolute; inset: 24px 24px auto; height: 16px; background: var(--key-white) repeat-x 0 0 / 20px 16px; opacity: 0.35; }
.board__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin: 1.4rem 0 2rem; }
.index__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
.index__row { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.85rem 0; text-decoration: none; }
.index__name { font: 800 clamp(1.4rem, 1.15rem + 0.9vw, 2rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.index__count { font-size: 0.85rem; color: var(--soft-on-navy); }
.index__dots { flex: 1; border-bottom: 2px dotted rgb(246 244 238 / 0.3); translate: 0 -0.3em; min-width: 1rem; }
.index__range { font: 800 1.2rem/1 var(--display); color: var(--ember); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .index__row:hover .index__name { text-decoration: underline; text-decoration-thickness: 2px; } }
.index__foot { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.4rem; }

/* ================================================================= VISIT == */
.visit__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.branch { display: inline-flex; border: 0; margin: 0; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px rgb(19 37 68 / 0.14); }
.branch label { position: relative; }
.branch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.branch span { display: block; padding: 0.65rem 1.2rem; border-radius: 999px; font-weight: 800; cursor: pointer; transition: background-color 140ms var(--ease); }
.branch input:checked + span { background: var(--navy); color: var(--white); }
.branch input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.way { display: grid; gap: 0.7rem; align-content: start; }
.way__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: var(--white); }
.way__icon svg { width: 28px; height: 28px; }
.way p { color: var(--soft-on-white); }
.way__link { justify-self: start; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 0.22em; text-decoration-color: var(--blue); }
.way__apps { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.visit__note { margin-top: 2rem; max-width: 60ch; padding: 1rem 1.2rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }

/* ================================================================= CLOSE == */
.close { padding-bottom: 2rem; overflow: hidden; }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.close__main { display: grid; gap: 1.4rem; }
.close__title { font: 900 clamp(5rem, 2rem + 11vw, 13rem)/0.8 var(--display); text-transform: uppercase; }
.close__carry { font-weight: 800; font-size: 1.15rem; }
.routes { display: grid; gap: 0.7rem; max-width: 34rem; }
.route {
  display: flex; align-items: center; gap: 1rem; min-height: 62px; padding: 0.6rem 1.3rem; border-radius: 999px; text-decoration: none;
  background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.4);
  transition: background-color 140ms var(--ease), transform 120ms var(--ease);
}
.route svg { width: 24px; height: 24px; flex: none; }
.route span { display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; align-items: baseline; }
.route strong { font-weight: 800; }
.route:active { transform: scale(0.98); }
.route--main { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 rgb(19 37 68 / 0.25); font-size: 1.15rem; }
@media (hover: hover) and (pointer: fine) { .route:not(.route--main):hover { background: rgb(255 255 255 / 0.18); } }
.close__stand { position: relative; justify-self: center; width: min(100%, 400px); }
.close__toon { position: relative; width: 100%; aspect-ratio: 436 / 513; margin: 0; }
.close__toon::before { content: ""; position: absolute; left: 50%; top: 46%; width: 112%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--whitewash); box-shadow: inset 0 0 0 12px rgb(255 255 255 / 0.6); }
.close__toon > img, .close__toon > video, .close__toon > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
/* What he points down at. In the clip he points at his own waist with both hands, so a sign stands there with the phone number
   on it. It also covers the flat cut at the bottom of his picture, the way the counter does in the hero. Style as the main route. */
.close__sign {
  position: absolute; z-index: 3; left: 50%; bottom: -4%; translate: -50% 0; width: max-content; max-width: 104%;
  display: grid; justify-items: center; gap: 0.15rem; padding: 0.75rem 1.7rem 1.55rem; border-radius: 20px; text-decoration: none;
  background: var(--white); color: var(--navy); box-shadow: 0 7px 0 rgb(19 37 68 / 0.3), 0 22px 30px -14px rgb(0 0 0 / 0.55);
  transition: translate 140ms var(--ease), box-shadow 140ms var(--ease);
}
.close__sign::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 16px; background: var(--key-blue) repeat-x 50% 50% / 20px 16px; opacity: 0.85; }
.close__sign-label { display: inline-flex; align-items: center; gap: 0.45rem; font: 800 0.8rem/1 var(--text); text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
.close__sign-label svg { width: 16px; height: 16px; }
.close__sign-num { font: 900 clamp(2.1rem, 1.3rem + 2vw, 2.8rem)/0.95 var(--display); letter-spacing: 0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.close__sign:active { translate: -50% 3px; box-shadow: 0 4px 0 rgb(19 37 68 / 0.3), 0 14px 24px -14px rgb(0 0 0 / 0.55); }
@media (hover: hover) and (pointer: fine) { .close__sign:hover { translate: -50% -2px; box-shadow: 0 9px 0 rgb(19 37 68 / 0.3), 0 26px 34px -14px rgb(0 0 0 / 0.55); } }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.6rem; border-top: 2px solid rgb(255 255 255 / 0.25); font-size: 0.95rem; }
.foot__logo { width: 56px; height: auto; border-radius: 8px; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.6); }
.foot__name { font-weight: 800; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.3rem 0; }
.foot__links a { padding: 6px 0; }

/* Alpha video slots (filled by app.js; the still is the poster and fallback). */
[data-alpha-video] { display: none; }

/* ========================================================== ORDER SHEET == */
.sheet { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 24px; background: var(--blue); color: var(--white); --focus: var(--ember); --soft: var(--soft-on-blue); box-shadow: 0 30px 80px -20px rgb(19 37 68 / 0.6); }
.sheet::backdrop { background: rgb(19 37 68 / 0.6); }
.sheet[open] { animation: sheet-in 260ms var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.sheet__inner { display: grid; gap: 1.1rem; padding: 1.6rem; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__title { font: 900 3rem/0.9 var(--display); text-transform: uppercase; }
.sheet__close { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.15); color: var(--white); cursor: pointer; }
.sheet__close svg { width: 22px; height: 22px; }
.sheet__carry { font-weight: 800; }
.sheet .routes { max-width: none; }
@media (max-width: 599.98px) {
  .sheet { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 24px 24px 0 0; }
}

/* ========================================================== SUBPAGES == */
.sub-head { padding: calc(var(--nav-h) + clamp(2.6rem, 6vw, 5rem)) var(--gutter) clamp(2.4rem, 5vw, 4rem); background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.sub-head__title { font: 900 clamp(4rem, 2rem + 8vw, 10rem)/0.8 var(--display); text-transform: uppercase; }
.sub-head .sticker { position: absolute; right: 4%; top: calc(var(--nav-h) + 1rem); height: calc(100% - var(--nav-h) + 0.6rem); width: auto; max-width: 40%; object-fit: contain; rotate: -12deg; }
.prose { display: grid; gap: 1.1rem; max-width: 62ch; padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 6vw, 6rem); }
.prose__lede { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.4; font-weight: 600; }
.prose a { font-weight: 800; }
.foot--sub { margin: 0; padding: 2rem var(--gutter) 2.6rem; background: var(--blue); color: var(--white); border-top: 0; }
.menu-page { display: grid; gap: clamp(2.6rem, 5vw, 4rem); padding: 0 var(--gutter) clamp(3rem, 6vw, 6rem); }
.menu-page__note { max-width: 70ch; margin-top: 2rem; padding: 1rem 1.2rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.menu-nav { position: sticky; top: var(--nav-h); z-index: 10; margin: 0 calc(var(--gutter) * -1); padding: 0.75rem var(--gutter); background: var(--whitewash); box-shadow: 0 1px 0 rgb(19 37 68 / 0.1); overflow-x: auto; scrollbar-width: thin; }
.menu-nav ul { display: flex; gap: 0.5rem; width: max-content; }
.menu-nav a { display: block; padding: 0.55rem 1rem; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px rgb(19 37 68 / 0.14); font-weight: 800; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .menu-nav a:hover { box-shadow: inset 0 0 0 2.5px var(--blue); } }
.m-cat { display: grid; gap: 0.8rem; scroll-margin-top: calc(var(--nav-h) + 70px); max-width: 54rem; }
.m-cat__title { font: 900 clamp(2.4rem, 1.6rem + 2.8vw, 4rem)/0.9 var(--display); text-transform: uppercase; color: var(--blue); }
.m-cat__blurb { color: var(--soft-on-white); }
.m-list { display: grid; }
.m-item { padding: 0.8rem 0; border-bottom: 2px dotted rgb(19 37 68 / 0.15); scroll-margin-top: calc(var(--nav-h) + 80px); }
.m-item__line { display: flex; align-items: baseline; gap: 0.6rem; font-weight: 800; }
.m-item__dots { flex: 1; }
.m-item__line b, .m-item__sizes { font: 900 1.35rem/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-item__sizes { display: flex; gap: 1rem; font-size: 1.15rem; }
.m-item__sizes span span { font-family: var(--text); font-size: 0.85rem; color: var(--soft-on-white); margin-right: 0.25rem; }
.m-item__desc { color: var(--soft-on-white); font-size: 0.95rem; margin-top: 0.15rem; max-width: 56ch; }
.m-allergens { display: grid; gap: 0.6rem; max-width: 54rem; padding-top: 1.2rem; border-top: 3px solid var(--navy); }
/* Wide screens: the section name rides down the left while its dishes list on the right. */
@media (min-width: 1100px) {
  .m-cat, .m-allergens { max-width: 76rem; }
  .m-cat { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; padding-top: 2rem; border-top: 3px solid var(--navy); }
  .m-cat__head { position: sticky; top: calc(var(--nav-h) + 90px); display: grid; gap: 0.8rem; }
}

/* =================================================== REVEAL (app.js) == */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================ REVIEW: owner-pending tags ==
   Hidden by default; add ?review to see what waits on the owner (brief §17). */
.is-review [data-pending] { position: relative; }
.is-review [data-pending]::after {
  content: attr(data-pending); position: absolute; z-index: 9; top: -12px; right: -6px; padding: 1px 8px; border-radius: 999px;
  background: var(--magenta); color: var(--white); font: 800 0.7rem/1.6 var(--text); white-space: nowrap; pointer-events: none;
}
.is-review .hero__char[data-pending], .is-review .close__toon[data-pending] { position: absolute; }
.is-review .close__toon[data-pending] { position: relative; }
.review-only { display: none; }
.is-review .review-only { display: inline; }

/* ================================================================ PHONES == */
@media (max-width: 859.98px) {
  /* Phones: the words on the plain wall colour, then the tall painting (H1m) behind him, its top fading into the wall. */
  .hero__inner { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .hero__copy { grid-row: auto; max-width: none; padding: 1.4rem 0 0; gap: 1rem; }
  .hero__title { font-size: clamp(3rem, 1.6rem + 7vw, 4.6rem); }
  .hero__scene { grid-column: auto; grid-row: auto; height: 64svh; min-height: 380px; margin: 0 calc(var(--gutter) * -1); }
  .hero__bg, .hero__front { top: auto; height: max(64svh, 380px); background-position: 50% 100%; }
  .hero__bg { background-image: url("assets/art/hero-phone-720.webp"); -webkit-mask: linear-gradient(transparent, #000 22%); mask: linear-gradient(transparent, #000 22%); }
  .hero__front { background-image: url("assets/art/hero-phone-front-720.webp"); }
  .hero__badge { width: 104px; left: auto; right: 4%; top: 2%; rotate: 10deg; }
  .badge strong { font-size: 2rem; }
  .dishes { grid-template-columns: 1fr; }
  .dish--gyros { grid-row: auto; }
  .dish--skewer, .dish--grill { grid-template-columns: 1fr; }
  .choose__grid { grid-template-columns: 1fr; }
  .stage { top: calc(var(--nav-h) + 8px); z-index: 5; margin: 0 calc(var(--gutter) * -0.5); background: var(--whitewash); box-shadow: 0 -8px 0 var(--whitewash); }
  .stage__board { aspect-ratio: 16 / 9; background-image: url("assets/art/stage-wall-wide-800.webp"); }
  .stage__caption { top: 4%; max-width: 36%; }
  .stage[data-kind="spit"] .stage__caption { top: 3%; max-width: 94%; white-space: nowrap; }
  .postcards { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }
  .postcard--tall { width: 78%; justify-self: center; }
  .welcome__grid > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .family { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 0; }
  .family__text { order: -1; padding-bottom: 0; }
  .family__toon { width: min(100%, 360px); }
  .index__list, .ways { grid-template-columns: 1fr; }
  .ways { gap: 2rem; }
  .close__grid { grid-template-columns: 1fr; }
  .close__stand { width: min(70%, 300px); }
  .close__sign { padding: 0.6rem 1.2rem 1.4rem; }
  .close__sign-num { font-size: 1.9rem; }
  .word__skewer { right: -20%; top: 4%; }
}
@media (max-width: 859.98px) and (min-resolution: 1.5dppx) {
  .hero__bg { background-image: url("assets/art/hero-phone-1080.webp"); }
  .hero__front { background-image: url("assets/art/hero-phone-front-1080.webp"); }
  .stage__board { background-image: url("assets/art/stage-wall-wide-1536.webp"); }
}
@media (min-width: 860px) and (max-width: 1199.98px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ========================================================= REDUCED MOTION == */
.rm .reveal { opacity: 1; transform: none; transition: none; }
.rm .ribbon__track { transform: none; }
.rm .stage.is-hot .stage__bed { animation: none; }

/* ================================================================== NO JS == */
.no-js .js-only { display: none !important; }
