/* =====================================================================
   TIÇÃO · fictional dinner restaurant, Lisbon
   Direction "Brasa" · concept design by Formschwung
   ---------------------------------------------------------------------
   0  Fonts            6  Hero (opening + idea)    12 Find us + map
   1  Tokens           7  Idea block               13 FAQ
   2  Base             8  Menu (six courses)       14 Footer
   3  Utilities        9  Plate                    15 Mobile bar
   4  Buttons, links   10 The evening (strip)      16 Menu page
   5  Header, nav      11 Reserve + form           17 Motion pre-states
                                                   18 Reduced motion
   Default CSS = complete static page (no-JS, reduced motion).
   JS adds .motion on <html> and .is-staged / .is-parallax on sections.
   ===================================================================== */

/* ---------- 0 · Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-roman-opsz24-72-wght200-400.woff2") format("woff2-variations"),
       url("../fonts/newsreader-roman-opsz24-72-wght200-400.woff2") format("woff2");
  font-weight: 200 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-wdth100-wght400-600.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-wdth100-wght400-600.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks (local system fonts, nothing is fetched): the swap to the real faces barely moves text.
   Widths measured against the real faces: Arial-class sans 0.6% narrower, Roboto 12% narrower, Times-class serif 0.7% wider. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("LiberationSans"), local("Arimo"), local("FreeSans");
  size-adjust: 100.6%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Sans Fallback R";
  src: local("Roboto"), local("Roboto-Regular");
  size-adjust: 113.6%; ascent-override: 85%; descent-override: 22%; line-gap-override: 0%;
}
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("LiberationSerif"), local("Tinos"), local("FreeSerif");
  size-adjust: 99.3%;
}

/* ---------- 1 · Tokens (Brasa spec) ---------- */
:root {
  --bg: #16100C;          /* ember night */
  --fg: #EFE5D8;          /* bone */
  --primary: #F0A457;     /* ember: CTA fill, text on it uses --bg */
  --accent: #D0643A;      /* charred: small accents, light edge */
  --muted: #A99A89;       /* ash */
  --border: #3B2D24;      /* dividers only */
  --line: #7D6857;        /* form lines (3:1+) */
  --surface: #1D1511;

  --f-head: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --f-body: "Instrument Sans", "Instrument Sans Fallback", "Instrument Sans Fallback R", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 72px;
  --studio-h: 28px;       /* studio layer above the header ("← Formschwung"); 44 px on touch screens and below 900 px */
  --top-h: calc(var(--header-h) + var(--studio-h));  /* everything that must clear the header uses this */
  --mbar-h: 0px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-micro: 180ms;

  --step-0: 17px;
  --step-lede: clamp(17px, 1.25vw, 19px);
  --h2: clamp(40px, 5.4vw, 88px);

  color-scheme: dark;
}

/* ---------- 2 · Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.55;
  font-variant-numeric: proportional-nums; /* Ida (v2c): running text ("€95 per guest", the phone number) gets even spacing; columns below keep tabular */
  font-synthesis: none; /* no faux italic before the real italic face arrives */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--mbar-h);
}
main { display: block; overflow-x: clip; }
.hours, .price, .chip--hour, .m-bar__price, .field input { font-variant-numeric: tabular-nums; } /* Ida (v2c): aligned columns for hours, prices, times and form fields */
.menu-open body { overflow: hidden; }
[id][tabindex="-1"]:focus, main:focus { outline: none; } /* sections and main take focus only to place the reading position after an in-page link */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
::selection { background: var(--primary); color: var(--bg); }
[id] { scroll-margin-top: var(--top-h); }

/* ---------- 3 · Utilities ---------- */
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 200; left: 12px; top: 12px; padding: 12px 18px;
  background: var(--primary); color: var(--bg); border-radius: 999px; font-weight: 500; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-micro) var(--ease-out);
}
.skip:focus { transform: none; }
.sample { color: var(--muted); font-size: 13px; line-height: 1.4; }
.wordmark { font-family: var(--f-head); text-transform: uppercase; font-variation-settings: "opsz" 72; }
.grain { position: absolute; inset: 0; pointer-events: none; background: url("../img/grain.webp") 0 0 / 128px 128px repeat; }

/* ---------- 4 · Buttons, links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--primary); background: transparent; color: var(--fg);
  font-family: var(--f-body); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--t-micro) var(--ease-out), color var(--t-micro);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary);
  opacity: 0; transition: opacity var(--t-micro);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.98); }
.btn--solid { color: var(--bg); }
.btn--solid::before { opacity: 1; }
.btn--solid:hover::before { opacity: .86; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn:disabled { cursor: not-allowed; opacity: .5; }
.btn:disabled:hover { color: var(--bg); }
.btn:disabled:active { transform: none; }

.link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--fg); text-decoration: none; font-weight: 500;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(.28); transform-origin: left; transition: transform var(--t-micro) var(--ease-out);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link--ember { color: var(--primary); }

/* every clickable answers within 180 ms: hover colour/underline, press nudge */
.nav__logo, .nav__links a, .mobile-menu__links a, .footer__cols a, .find__contact a, .credit, .m-bar__menu, .link {
  transition: color var(--t-micro), opacity var(--t-micro), transform var(--t-micro) var(--ease-out);
}
.nav__logo:hover { opacity: .78; }
.nav__links a:active, .mobile-menu__links a:active, .footer__cols a:active, .find__contact a:active,
.credit:active, .m-bar__menu:active, .link:active, .nav__logo:active { transform: translateY(1px); opacity: .72; }
.footer__cols a:hover, .find__contact a:hover, .mobile-menu__links a:hover { color: var(--primary); }
.nav__toggle { transition: transform var(--t-micro) var(--ease-out); }
.nav__toggle:active { transform: scale(.92); }
.faq__item summary { transition: color var(--t-micro); }
.faq__item summary:hover { color: #FFF4E6; }
.faq__item summary:active .faq__icon { transform: scale(.92); }

/* ---------- 5 · Header, nav, concept flag ---------- */
.site-header {
  position: fixed; z-index: 60; inset: var(--studio-h) 0 auto 0; height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
/* solid by default (no-JS, reduced motion, inner pages); transparent over the light only while motion runs */
.site-header {
  background: var(--bg);
  border-bottom-color: var(--border);
}
.motion .site-header:not(.is-solid):not(.site-header--page) { background: transparent; border-bottom-color: transparent; }
.nav { height: 100%; display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); }
.nav__logo {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--f-head); font-weight: 400; font-size: 19px; letter-spacing: .3em;
  text-transform: uppercase; text-decoration: none; color: var(--fg); margin-right: auto;
}
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; color: var(--fg); text-decoration: none;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-micro) var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle {
  display: none; appearance: none; border: 0; background: transparent; cursor: pointer;
  width: 48px; height: 48px; margin-right: -12px; padding: 0; place-items: center;
}
.nav__toggle-icon, .nav__toggle-icon::before {
  display: block; width: 22px; height: 1px; background: var(--fg);
  transition: transform var(--t-micro) var(--ease-out);
}
.nav__toggle-icon { position: relative; transform: translateY(-4px); }
.nav__toggle-icon::before { content: ""; position: absolute; left: 0; top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon { transform: translateY(0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before { transform: translateY(-8px) rotate(-90deg); }

.mobile-menu {
  position: fixed; z-index: 55; inset: 0; background: var(--bg);
  padding: calc(var(--top-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.mobile-menu__links { list-style: none; display: grid; gap: 4px; }
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 14px; min-height: 56px; padding: 6px 0;
  font-family: var(--f-head); font-weight: 300; font-size: 38px; line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu__links span { font-family: var(--f-body); font-size: 13px; color: var(--muted); min-width: 1.4em; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__flag { margin: 0; font-size: 12px; color: var(--muted); }

.concept-flag {
  position: fixed; z-index: 90; top: 50%; right: max(4px, calc(var(--gutter) / 2 - 12px));
  margin: 0; padding: 9px 5px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .02em; white-space: nowrap;
  color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  pointer-events: none;
}

@media (pointer: coarse) { :root { --studio-h: 44px; } }  /* touch target = the strip itself */
/* Studio layer: a fixed strip above the site header. "← Formschwung" returns to the studio's own site.
   Neutral, same type as the concept flag; sits in its own row, so it never covers the header, the flag or the bottom bar. */
.studio-bar {
  position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: var(--studio-h);
  display: flex; align-items: flex-start; padding: 0 var(--gutter);
  background: #0F0B08; border-bottom: 1px solid var(--border);
}
.studio-bar__link {
  display: inline-flex; align-items: center; box-sizing: border-box;
  height: var(--studio-h); padding: 0 12px; margin-left: -12px;
  color: var(--fg); text-decoration: none; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .02em; white-space: nowrap;
  transition: color var(--t-micro);
}
.studio-bar__t { display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; }
.studio-bar__arrow { display: inline-block; font-size: 14px; transition: transform var(--t-micro) var(--ease-out); }
.studio-bar__link:hover { color: var(--primary); }
.studio-bar__link:hover .studio-bar__arrow { transform: translateX(-2px); }
.studio-bar__link:active { opacity: .72; }
.studio-bar__link:focus-visible { outline: none; }
.studio-bar__link:focus-visible .studio-bar__t { outline: 2px solid var(--primary); outline-offset: 1px; }

/* ---------- 6 · Hero: opening scene ---------- */
.hero {
  --s: .22; --w0: min(241svh, 150vw); /* the light: 22 % of this, i.e. 53 % of the screen height or 33 % of its width, whichever is smaller */
  position: relative; height: max(620px, 100svh); overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: var(--header-h) 1fr auto; background: var(--bg);
}
.hero__portal, .hero__halo {
  position: absolute; left: 50%; top: 50%; width: var(--w0); height: var(--w0); margin: calc(var(--w0) / -2) 0 0 calc(var(--w0) / -2);
  border-radius: 50%; transform: scale(var(--s)); pointer-events: none;
}
.motion .hero__portal, .motion .hero__halo { will-change: transform; }
.hero__portal { z-index: 0; overflow: hidden; }
.hero__halo {
  z-index: 1;
  /* v2: a warm rim just inside the edge of the light (over the fire the old mid-ring read as a grey lens) */
  background: radial-gradient(circle closest-side, rgba(255,170,96,0) 84%, rgba(255,170,96,.10) 94%, rgba(255,196,130,.26) 99%, rgba(255,196,130,0) 100%);
}
.hero__scene {
  position: absolute; left: 50%; top: 50%; width: 100vw; height: max(620px, 100svh);
  margin: calc(max(620px, 100svh) / -2) 0 0 -50vw; transform: scale(calc(1 / var(--s)));
  background:
    radial-gradient(circle at 50% 24%, rgba(255,214,158,.92) 0, rgba(246,168,92,.55) 5%, rgba(214,112,52,0) 16%),
    radial-gradient(ellipse 85% 75% at 50% 52%, #B0501F 0%, #9A4219 24%, #7A3313 48%, #3A180B 76%, #1A0F0A 100%);
}
.motion .hero__scene { will-change: transform; }
/* v2: real fire inside the light. Poster on first paint; the loop starts after load (main.js). */
.hero__poster img, .hero__fire { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* a loop shows only once it is really playing; until then (and with reduced motion or no JS) the poster image is the picture */
.hero__fire, .shot .loop { opacity: 0; transition: opacity .6s ease; background: transparent; }
.hero__fire.is-playing, .shot .loop.is-playing { opacity: 1; }
.shot__frame { position: relative; }
.shot .loop { position: absolute; inset: 0; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(28,10,4,.42), rgba(28,10,4,0) 48%), /* the tallest flames sit at the top: keep them amber under the wordmark */
    radial-gradient(ellipse 44% 40% at 50% 46%, rgba(28,10,4,.52), rgba(28,10,4,.22) 60%, rgba(28,10,4,0) 100%),
    linear-gradient(rgba(70,22,6,.16), rgba(28,10,4,.28)); /* warm dark: bright flame stays amber, not olive */
}
.scrub { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; visibility: hidden; }
.hero__burn {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  background:
    radial-gradient(ellipse 70% 42% at 50% 100%, rgba(208,100,58,.30) 0%, rgba(120,48,18,.18) 40%, rgba(22,16,12,0) 75%),
    linear-gradient(#16100C, #1A120D 70%, #21140D);
}
.hero__sparks i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #FFD29A; box-shadow: 0 0 6px 1px rgba(255,190,110,.8); opacity: 0;
}
.hero__scene .grain { opacity: .6; }
.hero__stage { grid-row: 2; position: relative; z-index: 2; display: grid; place-items: center; padding-inline: var(--gutter); min-height: 0; }
.hero__word {
  font-family: var(--f-head); font-weight: 200; font-variation-settings: "opsz" 72;
  font-size: clamp(76px, 20.5vw, 330px); line-height: 1.02; letter-spacing: .06em; text-indent: .06em;
  text-transform: uppercase; white-space: nowrap; color: var(--fg);
  font-kerning: none; /* stable glyph positions when SplitText splits the letters */
  padding-block: .08em; /* room for the tilde and the cedilla */
  text-shadow: 0 0 .1em rgba(22,16,12,.55); /* v2: keeps the thin strokes at 3:1 or more over the brightest fire frames */
}
.hero__foot {
  grid-row: 3; position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end; gap: 24px; padding: 0 var(--gutter) 30px;
}
.hero__sub {
  font-family: var(--f-head); font-weight: 300; font-variation-settings: "opsz" 36; font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.25; max-width: 24ch;
}
.mask-line { display: block; overflow: hidden; padding-bottom: .06em; }
.mask-line > span { display: block; }
.hero__hint { display: grid; justify-items: center; gap: 10px; font-size: 12px; color: var(--muted); visibility: hidden; } /* shown only while the scroll motion runs (.motion): no hint without JS or with reduced motion */
.motion .hero__hint { visibility: visible; }
.hero__hint span { display: block; width: 1px; height: 40px; background: linear-gradient(var(--primary), transparent); }
.hero__meta { display: grid; justify-items: start; gap: 8px; }
.hero__facts { display: flex; gap: 32px; font-size: 14px; line-height: 1.4; }
.hero__facts dt { color: var(--muted); }
.hero__facts dd { margin: 0; }
.hero__meta .sample { font-size: 12px; }

/* v2b · the hour: one plate, three times. The chips change the fire (flames, coals, embers) and the plate that is served (main.js 3b).
   The plate is the first real food on screen; its size keeps clear of the wordmark and below the wordmark's LCP area. */
.hero { --plate: clamp(190px, min(calc(50svh - 56px - 3.9vw), 26vw), 400px); } /* 26vw: at 900-1000 px the dish must not touch the hour chips */
.hero__table { display: contents; }  /* phones turn it into a grid; on desktop plate and info are placed by the foot */
.hero__plate {
  position: relative; flex: none; width: var(--plate); height: var(--plate); border-radius: 50%;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(239,229,216,.08);
}
.hero__plate-glow {
  position: absolute; inset: -20%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(240,164,87,.34), rgba(208,100,58,.12) 42%, transparent 66%);
}
.motion .hero__plate-glow { will-change: transform, opacity; }
.hero__plate-spin { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--surface); }
.hero__plate::after { /* the highlight stays put while the plate turns */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 26%, rgba(255,214,160,.14), rgba(240,164,87,.04) 34%, transparent 55%),
              radial-gradient(circle at 50% 50%, transparent 58%, rgba(22,16,12,.42) 100%);
}
.motion .hero__plate-spin { will-change: transform; }
.hero__dish { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero__dish.is-on { opacity: 1; }
.hero__info { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__hours { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; align-items: center; gap: 14px; }
.hero__hours legend { float: left; padding: 0; margin-right: 14px; font-size: 13px; line-height: 44px; color: var(--muted); }
.hero__hours-row { display: flex; gap: 8px; }
.chip--hour span { min-width: 76px; height: 44px; font-size: 15px; background: rgba(22,16,12,.6); }
.chip--hour input:checked + span { background: var(--primary); }
.hero__cap { display: grid; gap: 2px; text-align: center; }
.hero__cap-dish { font-family: var(--f-head); font-weight: 300; font-variation-settings: "opsz" 36; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.2; white-space: nowrap; }
.hero__cap-state { font-size: 14px; line-height: 1.4; color: var(--muted); }
.no-js .hero__hours { display: none; }  /* the chips need JS; without it the first plate stays */
/* colour scene of the hour: embers sink deeper (opacity only) */
.hero__tint {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 62% at 50% 56%, rgba(104,26,8,.52), rgba(26,10,6,.78) 100%);
}
/* no canvas (reduced motion, Save-Data): the embers still fades over the poster instead */
.hero__still { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hero__still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.motion .hero__still { transition: opacity .6s ease; }
.hero[data-hour="1"] .hero__still { opacity: .55; }
.hero[data-hour="2"] .hero__still { opacity: 1; }

@media (min-width: 900px) {
  /* the foot floats at the bottom; the stage keeps its own centre (wordmark and light stay concentric whatever the foot holds) */
  .hero { grid-template-rows: var(--header-h) 1fr; }
  .hero__stage { padding-bottom: 98px; }
  .hero__foot { position: absolute; left: 0; right: 0; bottom: 0; grid-row: auto;
    grid-template-areas: "sub info ." "meta info ."; row-gap: 16px; }
  .hero__sub { grid-area: sub; }
  .hero__info { grid-area: info; align-self: end; }
  .hero__hint { position: absolute; left: 0; right: 0; bottom: 30px; width: max-content; margin-inline: auto; }
  .hero__hint span { display: none; }  /* text only: the stroke would meet the light on short screens */
  .hero__meta { grid-area: meta; }
  .hero__plate { position: absolute; right: var(--gutter); bottom: 30px; }
}
@media (min-width: 900px) and (max-height: 859px) { .hero__hint { display: none; } }
@media (min-width: 900px) and (min-height: 860px) { .hero__info { padding-bottom: 28px; } }
@media (min-width: 900px) and (max-width: 1199px) {
  .chip--hour span { min-width: 64px; }
  /* v2c (T2-3): the visible label goes, the group keeps its name ("The fire at") for assistive tech */
  .hero__hours legend { position: absolute; float: none; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}

/* Desktop staging: the first sentence lives inside the light */
.hero.is-staged .idea__text {
  position: absolute; z-index: 2; left: 12vw; right: 12vw; top: 56%; margin: 0 auto; max-width: 22ch; text-align: center;
}

/* ---------- 7 · Idea block (static home of the sentence) ---------- */
.idea {
  position: relative; display: grid; place-items: center; text-align: center;
  padding: clamp(88px, 13vw, 180px) var(--gutter);
  background: radial-gradient(ellipse 62% 72% at 50% 50%, #4A1F0D 0%, rgba(22,16,12,0) 72%), var(--bg);
}
.idea.is-empty { display: none; }
.idea { overflow: hidden; isolation: isolate; }
.idea__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .8; }
.idea__scrub { z-index: -1; }
.idea__still, .idea__scrub { -webkit-mask-image: linear-gradient(transparent, #000 26%, #000 74%, transparent); mask-image: linear-gradient(transparent, #000 26%, #000 74%, transparent); }
.idea__scrub.is-live { opacity: .8; visibility: visible; }
@media (max-width: 899px) {
  /* the fixed bottom bar covers the first --mbar-h px of this block on the first screen: start the picture below it */
  .idea__still, .idea__scrub { top: var(--mbar-h); height: calc(100% - var(--mbar-h)); }
}
.idea::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(22,16,12,.25), rgba(22,16,12,.75) 100%), linear-gradient(var(--bg), rgba(22,16,12,0) 22%, rgba(22,16,12,0) 78%, var(--bg)); }
.idea__text { position: relative; }
.idea__text {
  font-family: var(--f-head); font-weight: 300; font-variation-settings: "opsz" 60;
  font-size: clamp(30px, 3.9vw, 60px); line-height: 1.14; max-width: 22ch; color: var(--fg);
}

/* ---------- 8 · Menu: six courses, one fire ---------- */
.menu { position: relative; padding: clamp(72px, 9vw, 128px) var(--gutter); background: var(--bg); }
.menu__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 4vw, 72px); align-items: end; }
.menu__head h2, .section-title {
  font-family: var(--f-head); font-weight: 200; font-variation-settings: "opsz" 72;
  font-size: var(--h2); line-height: 1; letter-spacing: -.012em;
}
.menu__intro { display: grid; gap: 6px; justify-items: start; max-width: 46ch; }
.menu__intro p { color: var(--fg); font-size: var(--step-lede); line-height: 1.5; }
.menu__intro .sample { margin-top: 2px; color: var(--muted); font-size: 14px; }
.menu__body {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 72px); align-items: center; margin-top: clamp(32px, 4.5vw, 64px);
}
.courses { position: relative; z-index: 1; list-style: none; margin: 0; }
.course {
  position: relative; display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; column-gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--border);
}
.course__img { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(239,229,216,.06); }
.menu.is-staged .course__img { display: none; }
.menu:not(.is-staged) .menu__body { grid-template-columns: minmax(0, 1fr); }
.menu:not(.is-staged) .menu__platecol { display: none; }
.course:last-child { border-bottom: 1px solid var(--border); }
.course__n { font-size: 13px; color: var(--muted); padding-top: 1.05em; }
.course__t { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(28px, 3vw, 46px); line-height: 1.12; }
.course__d { grid-column: 2; max-width: 44ch; padding-top: 4px; }
.course__d p + p { margin-top: 2px; }
.course__note { color: var(--muted); font-size: 15px; }
.course__glow {
  position: absolute; left: -12%; top: -30%; width: 70%; height: 160%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(240,164,87,.16), rgba(208,100,58,.05) 50%, transparent 70%);
}
.menu__pool {
  display: none; position: absolute; left: -8%; top: 0; width: 72%; height: 190px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 40% 50%, rgba(240,164,87,.30), rgba(208,100,58,.10) 45%, transparent 70%);
}
.menu__platecol { position: relative; display: grid; justify-items: center; gap: 28px; }
.plate-details { display: none; }
@media (min-width: 900px) {
  .menu:not(.is-staged) .menu__platecol { position: sticky; top: calc(var(--top-h) + 48px); align-self: start; }
}

/* desktop staged (pinned) layout */
.menu.is-staged {
  scroll-margin-top: 0;
  height: 100vh; min-height: 640px; display: grid; grid-template-rows: auto 1fr;
  padding-top: calc(var(--top-h) + clamp(16px, 3vh, 40px)); padding-bottom: clamp(20px, 4vh, 48px);
}
.menu.is-staged .menu__head h2 { font-size: clamp(40px, min(5.4vw, 8.4vh), 88px); }
.menu.is-staged .menu__body { margin-top: clamp(12px, 3vh, 40px); align-items: stretch; }
.menu.is-staged .courses { align-self: center; }
.menu.is-staged .course { padding: clamp(6px, 1.25vh, 14px) 0; align-items: center; }
.menu.is-staged .course__t { font-size: clamp(26px, min(3vw, 5vh), 46px); }
.menu.is-staged .course__n { padding-top: 0; }
.menu.is-staged .course__glow { display: none; }
.menu.is-staged .course__d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.menu.is-staged .menu__pool { display: block; }
.menu.is-staged .menu__platecol { align-self: center; align-content: center; }
.menu.is-staged .plate-details { display: grid; position: relative; width: 100%; min-height: 4.6em; text-align: center; }
.plate-details > .plate-detail { grid-area: 1 / 1; display: grid; gap: 2px; align-content: start; }
.plate-details p:first-child { font-size: 17px; }
.plate-details .course__note { font-size: 15px; }

/* ---------- 9 · Plate (real stoneware photo, light is CSS) ---------- */
.plate { position: relative; width: min(100%, 52vh, 520px); aspect-ratio: 1; }
.plate::before {
  content: ""; position: absolute; inset: -22%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(240,164,87,.20), rgba(208,100,58,.06) 45%, transparent 68%);
}
.plate__spin { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(239,229,216,.08); }
.plate__dish { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate__heat { position: absolute; inset: -16%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,164,87,.34), rgba(208,100,58,.12) 42%, transparent 66%); }
.plate__light {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 26%, rgba(255,214,160,.14), rgba(240,164,87,.04) 34%, transparent 55%),
              radial-gradient(circle at 50% 50%, transparent 58%, rgba(22,16,12,.42) 100%);
}

.menu__note { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.menu.is-staged .menu__note { display: none; }

/* ---------- 10 · The evening: three-layer strip ---------- */
.evening { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 72px); border-top: 1px solid var(--border); overflow: hidden; }
.evening__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 72px);
  align-items: end; padding: 0 var(--gutter);
}
.evening__head p { max-width: 44ch; font-size: var(--step-lede); }
.strip { position: relative; margin-top: clamp(36px, 5vw, 72px); display: grid; gap: 18px; }
.strip__track {
  display: flex; gap: 18px; padding: 0 var(--gutter); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track:focus-visible { outline-offset: -2px; }
.shot { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.shot figcaption { margin-top: 10px; font-family: var(--f-head); font-style: italic; font-size: 17px; color: var(--muted); }
.strip__track--back .shot { width: clamp(280px, 42vw, 620px); aspect-ratio: 3 / 2; }
.strip__track--mid .shot { width: clamp(190px, 22vw, 330px); aspect-ratio: 4 / 5; }
.strip__track--front .shot { width: clamp(140px, 14vw, 220px); aspect-ratio: 1; }
.shot__frame { height: 100%; overflow: hidden; border-radius: 2px; }
.strip__track--back .shot__frame, .strip__track--mid .shot__frame, .strip__track--front .shot__frame { height: auto; aspect-ratio: inherit; }
.strip__hint { padding: 18px var(--gutter) 0; font-size: 13px; color: var(--muted); }

/* desktop parallax: tracks overlap as depth layers */
.strip.is-parallax { display: block; height: clamp(500px, 78vh, 760px); margin-top: clamp(28px, 4vw, 56px); }
.strip.is-parallax .strip__track { position: absolute; left: 0; overflow: visible; scroll-snap-type: none; padding: 0; width: max-content; will-change: transform; }
.strip.is-parallax .strip__track--back { top: 0; gap: clamp(48px, 6vw, 96px); padding-left: 4vw; }
.strip.is-parallax .strip__track--back .shot { width: auto; height: clamp(280px, 46vh, 440px); }
.strip.is-parallax .strip__track--back .shot__frame { height: 100%; aspect-ratio: 3 / 2; }
.strip.is-parallax .strip__track--back .shot__frame { opacity: .62; }
.strip.is-parallax .strip__track--mid { top: 25%; gap: clamp(150px, 18vw, 320px); padding-left: 26vw; z-index: 2; }
.strip.is-parallax .strip__track--mid .shot { width: auto; height: clamp(240px, 40vh, 380px); }
.strip.is-parallax .strip__track--mid .shot__frame { height: 100%; aspect-ratio: 4 / 5; box-shadow: 0 30px 70px -20px rgba(0,0,0,.85); }
.strip.is-parallax .strip__track--front { top: 66%; gap: clamp(260px, 31vw, 540px); padding-left: 56vw; z-index: 3; }
.strip.is-parallax .strip__track--front .shot { width: auto; height: clamp(140px, 22vh, 210px); }
.strip.is-parallax .strip__track--front .shot__frame { height: 100%; aspect-ratio: 1; box-shadow: 0 24px 60px -18px rgba(0,0,0,.9); }
.strip.is-parallax .shot { display: flex; flex-direction: column; }
.strip.is-parallax .shot figcaption { flex: none; }
.strip.is-parallax ~ .strip__hint { display: none; }

/* ---------- 11 · Reserve + form ---------- */
.reserve {
  position: relative; overflow: hidden; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(28px, 5vw, 96px);
  padding: clamp(72px, 8vw, 120px) var(--gutter) clamp(72px, 8vw, 120px);
}
.reserve__ring {
  position: absolute; left: calc(var(--gutter) - 14vw); top: clamp(-40px, -2vw, 0px); width: min(64vw, 820px); aspect-ratio: 1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,164,87,.15), rgba(208,100,58,.05) 46%, transparent 68%);
}
.reserve__ring::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid rgba(240,164,87,.22); box-shadow: 0 0 60px rgba(240,164,87,.08), inset 0 0 60px rgba(240,164,87,.06);
}
.reserve__intro { position: relative; display: grid; gap: 22px; align-content: start; }
.reserve__intro .section-title { font-size: clamp(48px, 7vw, 116px); line-height: .96; }
.reserve__intro .lede { font-size: var(--step-lede); max-width: 40ch; }
.terms { list-style: none; display: grid; gap: 0; margin-top: 6px; max-width: 44ch; }
.terms li { padding: 14px 0; border-top: 1px solid var(--border); font-size: 16px; color: var(--muted); }
.terms li:last-child { border-bottom: 1px solid var(--border); }
.terms strong { color: var(--fg); font-weight: 500; }

.booking {
  position: relative; align-self: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 28px; padding: clamp(24px, 3vw, 44px); background: rgba(29, 21, 17, .72);
  border: 1px solid var(--border); border-radius: 4px;
}
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; font-size: 14px; color: var(--muted); }
.field label span { color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 8px 2px; background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; color-scheme: dark;
  transition: border-color var(--t-micro);
}
.field textarea { resize: vertical; min-height: 72px; line-height: 1.45; padding-top: 12px; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--muted); }
.field input::-webkit-calendar-picker-indicator:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }
/* :focus-within as well: on a date input Chromium moves focus through inner parts (day, month, year, picker) */
.field:focus-within input, .field:focus-within textarea, .field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--primary); box-shadow: 0 1px 0 0 var(--primary); }
.field input[aria-invalid="true"] { border-bottom-color: var(--accent); }
.field input::-webkit-calendar-picker-indicator { filter: invert(.85) sepia(.3); cursor: pointer; opacity: .8; }
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { font-size: 14px; color: #F2B184; }
.field__error::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 15px; transition: border-color var(--t-micro), background-color var(--t-micro), color var(--t-micro), transform var(--t-micro) var(--ease-out);
}
.chip:hover span { border-color: var(--fg); }
.chip:active span { transform: scale(.96); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--bg); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 3px; }
.chips--guests span { width: 48px; padding: 0; }
.booking__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 4px; }
.demo-note { font-size: 13px; color: var(--muted); }
.booking__status { grid-column: 1 / -1; min-height: 1.5em; font-size: 15px; }
.booking__status:not(:empty) { padding: 14px 16px; border-left: 2px solid var(--primary); background: rgba(240,164,87,.07); }

/* ---------- 12 · Find us + map ---------- */
.find {
  position: relative; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(28px, 5vw, 96px);
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(56px, 7vw, 96px);
}
.find__map { margin: 0; align-self: start; }
.map { width: 100%; height: auto; color: var(--fg); overflow: visible; }
.map__water { fill: rgba(169,154,137,.05); stroke: none; }
.map__shore { fill: none; stroke: var(--line); stroke-width: 1.2; }
.map__hatch { stroke: rgba(169,154,137,.14); stroke-width: 1; }
.map__street { fill: none; stroke: #6A5849; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.map__street--main { stroke: #8C7764; stroke-width: 2.2; }
.map__street--steps { stroke-dasharray: 1 5; stroke-width: 2.2; }
.map__tram { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 6 5; opacity: .7; }
.map__route { fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map__square { fill: rgba(169,154,137,.06); stroke: #6A5849; stroke-width: 1.2; }
.map__label { fill: var(--muted); font-family: var(--f-body); font-size: 12px; letter-spacing: .01em; paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.map__label--water { font-family: var(--f-head); font-style: italic; font-size: 18px; fill: #8B7D6E; stroke: none; }
.map__label--place { fill: var(--fg); font-family: var(--f-head); font-size: 22px; font-weight: 400; paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.map__stop { fill: var(--bg); stroke: var(--fg); stroke-width: 1.4; }
.map__pin-core { fill: var(--primary); }
.map__pin-ring { fill: none; stroke: var(--primary); stroke-width: 1.2; opacity: .55; }
.map__compass line, .map__scale line { stroke: var(--muted); stroke-width: 1; }
.find__caption { margin-top: 14px; }
.map.is-pending .map-draw, .map.is-pending .map-route, .map.is-pending .map-fade, .map.is-pending .map-draw-fade, .map.is-pending .map-pin { visibility: hidden; }
.find__info { display: grid; gap: 26px; align-content: start; }
.find__info address { font-style: normal; font-size: var(--step-lede); line-height: 1.5; }
.find__walk { color: var(--muted); max-width: 40ch; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 14px 0; border-top: 1px solid var(--border); text-align: left; font-weight: 400; vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--border); }
.hours th { color: var(--muted); padding-right: 16px; }
.hours td { text-align: right; white-space: nowrap; }
.find__contact { display: grid; gap: 0; justify-items: start; }
.find__contact a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.find__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.find__tel { display: inline-flex; align-items: center; min-height: 44px; }  /* the sample number is plain text now (no tel: link) */

/* ---------- 13 · FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(28px, 5vw, 96px);
  padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(88px, 10vw, 150px);
}
.faq .section-title { font-size: clamp(40px, 4.6vw, 72px); }
.faq__intro { display: grid; gap: 16px; align-content: start; }
.faq__intro p { color: var(--muted); max-width: 34ch; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 16px 0; font-family: var(--f-head); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__icon { border-color: var(--fg); }
.faq__icon {
  flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  transition: border-color var(--t-micro), transform .3s var(--ease-out);
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; margin: 0 0 0 -6px; background: var(--fg); }
.faq__icon::after { transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.faq__item[open] .faq__icon { border-color: var(--primary); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__note { margin-top: 18px; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 64px 24px 0; color: var(--muted); max-width: 60ch; }
.faq__a p strong { color: var(--fg); font-weight: 500; }

/* ---------- 14 · Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--border); padding: clamp(64px, 8vw, 112px) var(--gutter) 40px; overflow: hidden; }
.footer__word {
  font-family: var(--f-head); font-weight: 200; font-variation-settings: "opsz" 72; text-transform: uppercase;
  font-size: clamp(64px, 15vw, 240px); line-height: 1.04; letter-spacing: .06em; color: #2E231C;
  white-space: nowrap; margin: 0 0 clamp(32px, 4vw, 56px) -.02em; user-select: none; padding-top: .06em;
}
.footer__word::before { content: attr(data-word); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__h { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.footer__cols p, .footer__cols li { font-size: 16px; line-height: 1.6; }
.footer__cols ul { list-style: none; display: grid; gap: 0; }
.footer__cols a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.footer__legal strong { color: var(--fg); font-weight: 500; }
.footer__legal p { max-width: 96ch; }
.credit { display: inline-block; padding: 13px 0; color: var(--fg); text-decoration: none; font-size: 14px; line-height: 18px; transition: color var(--t-micro); }
.credit:hover { color: var(--primary); }
.credit span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--primary); }
/* studio links in the footer: back to the studio site, legal notice, privacy (all on formschwung.com) */
.studio-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.studio-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: none; font-size: 14px; line-height: 18px; transition: color var(--t-micro); }
.studio-links a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--primary); }
.studio-links a:active { opacity: .72; }
.studio-links__sep { color: var(--muted); }

/* ---------- 15 · Mobile bar ---------- */
.m-bar { display: none; }

/* ---------- 16 · Full menu page ---------- */
.page-head { padding: calc(var(--top-h) + clamp(56px, 8vw, 120px)) var(--gutter) clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.page-head__glow { position: absolute; right: -12vw; top: -20vw; width: 60vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,164,87,.16), rgba(208,100,58,.05) 45%, transparent 68%); }
.page-head h1 { font-family: var(--f-head); font-weight: 200; font-variation-settings: "opsz" 72; font-size: clamp(56px, 9vw, 150px); line-height: .96; position: relative; }
.page-head p { position: relative; margin-top: 24px; max-width: 52ch; font-size: var(--step-lede); }
.page-head .sample { margin-top: 10px; font-size: 13px; }
.fullmenu { padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.fullmenu__list { list-style: none; border-top: 1px solid var(--border); }
.fm {
  display: grid; grid-template-columns: 3em minmax(0, 5fr) minmax(0, 6fr) auto; gap: 8px clamp(20px, 3vw, 48px);
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--border);
}
.fm__n { font-size: 13px; color: var(--muted); padding-top: .9em; }
.fm__t { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.fm__fire { margin-top: 10px; font-size: 14px; color: var(--muted); }
.fm__body { display: grid; gap: 12px; padding-top: .5em; max-width: 56ch; }
.fm__veg { color: var(--muted); }
.fm__veg b { color: var(--fg); font-weight: 500; }
.fm__aller { font-size: 14px; color: var(--muted); }
.fullmenu__extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); padding-top: clamp(40px, 5vw, 72px); }
.fullmenu__extra h2 { font-family: var(--f-head); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin-bottom: 12px; }
.fullmenu__extra p { color: var(--muted); max-width: 40ch; }
.fullmenu__extra p strong { color: var(--fg); font-weight: 500; }
.price { font-size: 18px; color: var(--fg); white-space: nowrap; }
.fullmenu__note { margin-top: 32px; }
.fullmenu__cta { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* 404 */
.lost { position: relative; overflow: hidden; min-height: calc(100svh - 150px); display: grid; align-content: center; justify-items: start; gap: 22px;
  padding: calc(var(--top-h) + 48px) var(--gutter) 64px; }
.lost__ember { position: absolute; right: 8vw; top: 50%; width: min(40vw, 460px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(240,164,87,.16), rgba(208,100,58,.06) 40%, transparent 66%); pointer-events: none; }
.lost__ember::after { content: ""; position: absolute; inset: 42%; border-radius: 50%;
  background: radial-gradient(circle, rgba(169,154,137,.55), rgba(169,154,137,.12) 55%, rgba(169,154,137,0) 72%); }
.lost h1 { position: relative; font-family: var(--f-head); font-weight: 200; font-variation-settings: "opsz" 72; font-size: clamp(52px, 7.4vw, 124px); line-height: 1; max-width: 11ch; }
.lost p { position: relative; max-width: 44ch; font-size: var(--step-lede); color: var(--muted); }
.lost__links { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.site-footer--slim { padding-top: 0; border-top: 0; }
.site-footer--slim .footer__legal { margin-top: 0; }

/* ---------- Responsive (<900px: mobile column of the spec) ---------- */
@media (max-width: 899px) {
  :root { --header-h: 64px; --mbar-h: 85px; --studio-h: 44px; } /* --mbar-h = the real bottom bar (85 px; 97 px at <=350 px) */
  .nav { gap: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .concept-flag { display: none; }

  .hero { --hero-h: max(560px, calc(100svh - var(--mbar-h))); height: var(--hero-h); }
  .hero__scene { height: var(--hero-h); margin-top: calc(var(--hero-h) / -2); }
  .hero__word { font-size: clamp(64px, 21.5vw, 200px); }
  /* v2: the light sits behind the name, clear of the line below it (small text never crosses the fire) */
  .hero__portal, .hero__halo { top: calc(var(--header-h) + (100% - var(--header-h) - var(--foot-h)) / 2); }
  .hero { --s: .2; --w0: 150vmax; --plate: clamp(124px, min(41.5vw, 21svh), 160px);
    --foot-h: calc(53px + 16px + max(var(--plate), 152px) + 16px + 58px + 22px); } /* what the foot holds: the light is centred in what is left above it */
  .hero__foot { grid-template-columns: 1fr; gap: 16px; padding-bottom: 22px; min-height: var(--foot-h); align-content: end; }
  /* as the light grows on scroll it passes behind this text: the fire fades to dark under it, so the text keeps its contrast */
  .hero__foot::before { content: ""; position: absolute; z-index: -1; inset: -56px 0 0; pointer-events: none;
    background: linear-gradient(rgba(22,16,12,0), rgba(22,16,12,.9) 56px, rgba(22,16,12,.94)); }
  .hero__hint { display: none; }
  .hero__meta { order: 3; gap: 6px; }
  .hero__table { order: 2; display: grid; grid-template-columns: var(--plate) minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .hero__plate { position: relative; right: auto; bottom: auto; }
  .hero__plate-glow { inset: -14%; }
  .hero__info { align-items: flex-start; flex-direction: column-reverse; gap: 10px; }
  .hero__hours { display: grid; gap: 6px; }
  .hero__hours legend { float: none; margin: 0; line-height: 1.3; }
  /* v2c (T2-1): the three chips split the column next to the plate (44 px each at the narrowest) instead of a fixed 52 px + padding */
  .hero__hours-row { display: grid; grid-template-columns: repeat(3, minmax(44px, 54px)); gap: 4px; }
  .chip--hour span { min-width: 0; width: 100%; padding: 0 2px; font-size: 14px; }
  /* v2c (T2-2): room for two name lines and one state line, pressed against the chips: the chips never move when the name wraps */
  .hero__cap { text-align: left; align-content: end; min-height: 66px; }
  .hero__cap-dish { font-size: 19px; white-space: normal; }
  .hero__cap-state { font-size: 13px; }
  .hero__facts { gap: 24px; } /* one layout in every font: no reflow when the face swaps in */
  .hero__facts dt, .hero__facts dd { white-space: nowrap; }

  .menu__head, .evening__head, .reserve, .find, .faq { grid-template-columns: 1fr; }
  .menu__body { grid-template-columns: 1fr; }
  .course__img { width: 84px; height: 84px; }
  .course { padding: 20px 0; }
  .course__t { font-size: clamp(28px, 7.6vw, 40px); }

  .reserve__ring { left: -40vw; top: -10vw; width: 130vw; }
  .booking { grid-template-columns: 1fr; padding: 22px 18px; }
  .faq__a p { padding-right: 0; }
  .faq__item summary { font-size: 22px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }

  .fm { grid-template-columns: 2.2em minmax(0, 1fr); }
  .fm__body, .fm .price { grid-column: 2; }
  .fullmenu__extra { grid-template-columns: 1fr; }

  .m-bar {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 6px 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-top: 1px solid var(--border);
  }
  .m-bar__flag { flex: 1 0 100%; margin: 0; font-size: 12px; line-height: 1.2; letter-spacing: .02em; color: var(--fg); }
  .m-bar__menu { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline; min-height: 44px; align-content: center; text-decoration: none; }
  .m-bar__price { font-size: 14px; line-height: 1.25; }
  .m-bar__link { font-size: 14px; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
  .m-bar__note { font-size: 14px; color: var(--muted); }
  .m-bar__menu .sample { grid-column: 1 / -1; font-size: 12px; }
  .m-bar .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
  .site-footer { padding-bottom: 32px; }
}
@media (max-width: 899px) {
  .map--near .map__label { font-size: 14px; }
  .map--near .map__label--place { font-size: 24px; }
  .map--near .map__compass, .map--near .map__scale { display: none; }
}
@media (max-width: 400px) {
  /* keep the bottom bar to two rows at 375 px: price + link and the button share one line */
  .m-bar { column-gap: 8px; }
  .m-bar__menu { column-gap: 8px; }
  .m-bar .btn { padding: 0 14px; }
}
@media (max-width: 380px) {
  /* v2c: the bottom bar keeps its two rows with room to spare (the new font files measure a few px wider or narrower than the old ones
     depending on the platform's hinting; at 360 px the old layout had 3 px left, now it has about 20) */
  .m-bar__price, .m-bar__link { font-size: 13px; }
  .m-bar .btn { padding: 0 12px; }
}
@media (max-width: 350px) {
  /* v2c (T2-1): at 320 px a smaller plate leaves the chips 170 px, the name fits one line at 17 px (no wrap, no sideways push) */
  .hero { --plate: 96px; --foot-h: calc(53px + 16px + 122px + 16px + 58px + 22px); }
  .hero__table { column-gap: 12px; }
  .hero__cap-dish { font-size: 17px; }
  .hero__cap { min-height: 42px; }
  /* 320 px: price, link and sample line stack in the left cell so the button stays on the same row (bar 94 px, not 135) */
  :root { --mbar-h: 97px; }
  .m-bar__menu { grid-template-columns: auto; row-gap: 0; }
  .m-bar .btn { padding: 0 12px; }
}
@media (max-width: 899px) and (max-height: 600px) {
  /* v2c: 320x568 and the like: the hero is the area above the bottom bar (no 560 px floor), the foot is compact, the facts line stays visible */
  .hero { --hero-h: max(440px, calc(100svh - var(--mbar-h))); --foot-h: 226px; }
  .hero__foot { gap: 8px; padding-bottom: 12px; }
  /* the visible "The fire at" label makes room (the group keeps its name for assistive tech, as at 900-1199 px); the caption and the times carry the meaning */
  .hero__hours legend { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .hero__hours { gap: 0; }
  .hero__sub { font-size: 18px; }
  .hero__stage { padding-top: 8px; } /* the tilde of the A stays below the solid header (reduced motion, scrolled) */
  .hero__word { font-size: clamp(58px, 19.5vw, 200px); }
}
@media (max-width: 520px) {
  .chips--times .chip span { padding: 0 12px; }
  .hours { font-size: 15px; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .hero__facts { gap: 24px; }
}

/* ---------- 17 · Motion pre-states (only while JS motion runs) ---------- */
.motion .hero__sub { visibility: hidden; }
.motion .nav > *, .motion .hero__meta, .motion .hero__hint, .motion .hero__plate, .motion .hero__info { opacity: 0; }
.motion .hero__portal, .motion .hero__halo { --s: .02; }
.motion .hero__halo { opacity: 0; }

/* ---------- 18 · Reduced motion: final, static, complete ---------- */
@media (prefers-reduced-motion: reduce) {
  /* v2: the static first screen is the opening's resting state (the light behind the name); the embers still follows below */
  .hero__hint { visibility: hidden; }
  .hero__meta dt, .hero__meta .sample { color: #E3D6C6; } /* sits on the light: keep 4.5:1 */
  .btn, .btn::before, .link::after, .nav__links a::after, .chip span, .faq__icon, .faq__icon::after, .skip, .studio-bar__link, .studio-bar__arrow, .studio-links a { transition: none; }
}
