/* «Огниво» — кухня на открытом огне. One stylesheet for all 24 pages (ru, /en/, /de/).
   Two tones of one world: NIGHT (soot, ember, bone) for the fire, the menu read at a dim table, the chef and the
   photos; ASH (pale wood ash, charcoal ink, deep ember) for planning: booking, events, about, contacts.
   Display: Piazzolla (sharp, forged serifs). Text: Ysabeau Office (humanist sans with tabular figures). */

:root {
  --f-display: "Piazzolla", "Iowan Old Style", Georgia, serif;
  --f-text: "Ysabeau Office", "Segoe UI", system-ui, sans-serif;

  --soot: #120d0a; --soot-2: #1b1410; --soot-3: #271d17; --soot-line: #3b2d24;
  --bone: #f1e9dd; --smoke: #b9a999;
  --ember: #ff7a33; --ember-hot: #ffb15e;
  --ash: #e9e3d9; --ash-2: #ddd5c8; --ash-3: #cfc5b6; --ash-line: #bfb3a2;
  --ink: #1b1411; --ink-2: #5b4e45; --ember-deep: #a5381a; --cream: #fbf6ee;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --gutter: 20px;
  --maxw: 1240px;
  --hdr: 64px;
  --bar-space: 104px; /* the studio strip sits at the bottom of every page */
}
@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --hdr: 76px; } }

.tone-night {
  --bg: var(--soot); --bg-2: var(--soot-2); --bg-3: var(--soot-3); --line: var(--soot-line);
  --fg: var(--bone); --fg-2: var(--smoke); --accent: var(--ember); --accent-fg: var(--soot);
  --hot: var(--ember-hot); --link: var(--ember-hot); --shadow: rgba(0, 0, 0, .55);
  color-scheme: dark;
}
.tone-ash {
  --bg: var(--ash); --bg-2: var(--ash-2); --bg-3: var(--ash-3); --line: var(--ash-line);
  --fg: var(--ink); --fg-2: var(--ink-2); --accent: var(--ember-deep); --accent-fg: var(--cream);
  --hot: var(--ember-deep); --link: var(--ember-deep); --shadow: rgba(60, 40, 25, .22);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 64px); scroll-padding-bottom: calc(var(--bar-space) + 8px); } /* a focused field stops above the studio strip, not under it */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg);
  font: 450 1.0625rem/1.55 var(--f-text); font-feature-settings: "kern", "liga";
  padding-bottom: var(--bar-space);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  scrollbar-color: var(--line) var(--bg);
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
.js [data-split] { visibility: hidden; animation: unhide 0s 2.2s forwards; }
@keyframes unhide { to { visibility: visible; } }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-fg); }
input, textarea { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 3px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; border: 2px solid var(--bg); }
.tone-night, .tone-ash { background: var(--bg); color: var(--fg); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; line-height: 1.02; letter-spacing: -.012em; word-spacing: .06em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.75rem, 12vw, 5.75rem); letter-spacing: -.022em; word-spacing: .08em; line-height: .95; }
h2 { font-size: clamp(2rem, 7.4vw, 3.6rem); letter-spacing: -.018em; word-spacing: .08em; }
h3 { font-size: clamp(1.3rem, 4.6vw, 1.75rem); font-weight: 600; letter-spacing: -.012em; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 16px; background: var(--accent); color: var(--accent-fg); border-radius: 4px; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--fg-2); max-width: 36ch; }
@media (min-width: 1024px) { .lead { font-size: 1.375rem; } }
.prose p { max-width: 65ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--fg-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--s { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 4px; font: 600 1rem/1.1 var(--f-text); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease-out), transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--fire { background: var(--accent); color: var(--accent-fg); }
.tone-night .btn--fire { box-shadow: 0 12px 28px -14px rgba(255, 122, 51, .7); }
.btn--line { border-color: var(--line); color: var(--fg); background: transparent; }
.btn .ic { transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .btn--fire:hover { background: var(--hot); text-decoration: none; }
  .tone-ash .btn--fire:hover { background: #8b2c12; }
  .btn--line:hover { border-color: var(--fg); text-decoration: none; }
  .btn:hover .ic--go { transform: translateX(4px); }
}
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--link); }
.link-go:hover .ic { transform: translateX(4px); }
.link-go .ic { transition: transform .35s var(--ease-out); }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--hdr); color: var(--fg); background: transparent; transition: background-color .35s, box-shadow .35s, color .35s; }
.hdr.is-solid { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: inherit; text-decoration: none; font: italic 700 1.625rem/1 var(--f-display); letter-spacing: -.03em; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; color: var(--accent); }
.brand svg .spark { stroke: var(--hot); }
.hdr__nav { display: none; }
.hdr__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hdr__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: inherit; text-decoration: none; font-weight: 550; font-size: .9375rem; border-radius: 4px; position: relative; }
.hdr__nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav a[aria-current="page"] { color: var(--hot); }
.hdr__cta { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
@media (min-width: 1180px) { .hdr__nav { display: block; margin-right: 8px; } .burger { display: none !important; } }
/* narrow phones: the German «Reservieren» needs the room, the logo and the burger must not get squeezed */
@media (max-width: 389px) { .hdr__in { gap: 4px; } .hdr__cta { padding: 0 10px; } .lang summary { padding: 0 4px; } }
/* 320 px (iPhone SE 1st gen): the language row stays in the menu sheet and the footer */
@media (max-width: 359px) { .hdr .lang { display: none; } }

.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 0 8px; justify-content: center; border-radius: 4px; cursor: pointer; font: 650 .875rem/1 var(--f-text); letter-spacing: .06em; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.lang[open] summary .ic { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 168px; margin: 0; padding: 6px; list-style: none; background: var(--bg-2); border-radius: 6px; box-shadow: 0 18px 40px -18px var(--shadow), 0 0 0 1px var(--line); }
.lang li a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 4px; color: var(--fg); text-decoration: none; }
.lang li a:hover { background: var(--bg-3); }
.lang li a[aria-current="true"] { color: var(--hot); }
.lang li a small { color: var(--fg-2); font-size: .75rem; letter-spacing: .08em; }

.burger { flex: none; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 4px; }
.burger i { display: block; width: 22px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease-out); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.sheet { position: fixed; z-index: 45; inset: 0; padding: calc(var(--hdr) + 16px) var(--gutter) calc(var(--bar-space) + 8px); overflow-y: auto; background: var(--soot); color: var(--bone); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s; }
.sheet.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet__nav a { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; color: var(--bone); text-decoration: none; font: 600 clamp(1.75rem, 8.5vw, 2.6rem)/1.08 var(--f-display); letter-spacing: -.025em; }
.sheet__nav a[aria-current="page"] { color: var(--ember-hot); font-style: italic; }
.sheet__foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--soot-line); display: grid; gap: 16px; color: var(--smoke); font-size: .9375rem; }
.lang-row { display: flex; gap: 6px; }
.lang-row a { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--fg); text-decoration: none; font-weight: 650; font-size: .875rem; letter-spacing: .06em; }
.lang-row a[aria-current="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sheet .lang-row a { border-color: var(--soot-line); color: var(--bone); }
.sheet .lang-row a[aria-current="true"] { background: var(--bone); color: var(--soot); }
html.sheet-open { overflow: hidden; }
.hdr.sheet-on { --bg: var(--soot); --bg-2: var(--soot-2); --bg-3: var(--soot-3); --line: var(--soot-line); --fg: var(--bone); --fg-2: var(--smoke); --accent: var(--ember); --accent-fg: var(--soot); --hot: var(--ember-hot); background: var(--soot); color: var(--bone); box-shadow: none; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: calc(var(--hdr) + 44px) 0 40px; }
.page-head h1 { max-width: 14ch; }
.page-head .lead { margin-top: 20px; }
@media (min-width: 1024px) { .page-head { padding: calc(var(--hdr) + 88px) 0 64px; } .page-head .lead { margin-top: 28px; } }
.split-line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.section-head { display: grid; gap: 16px; margin-bottom: 36px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

figure { margin: 0; }
.ph { position: relative; overflow: hidden; background: var(--bg-3); border-radius: 3px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
figcaption { margin-top: 10px; font-size: .875rem; color: var(--fg-2); }

/* ---------- HOME: the evening at the fire (signature scene) ---------- */
.story { position: relative; background: var(--soot); color: var(--bone); }
.stage { position: relative; }
.stage > .stage__photo { position: absolute; inset: 0 0 auto; width: 100%; height: 100svh; object-fit: cover; filter: brightness(.62) saturate(1.05); }
.stage__ash { position: absolute; inset: 0; z-index: 1; background: var(--ash); opacity: 0; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock { display: none; }

.hero { position: relative; z-index: 1; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr) + 24px) 0 calc(var(--bar-space) + 8px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 13, 10, .92) 8%, rgba(18, 13, 10, .25) 55%, rgba(18, 13, 10, .55)); }
.hero__name { font: italic 700 clamp(4.5rem, 24vw, 6rem)/.86 var(--f-display); letter-spacing: -.045em; margin-left: -.04em; color: var(--bone); }
.hero__tag { margin-top: 14px; font: 600 clamp(1.25rem, 5.4vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -.01em; color: var(--ember-hot); }
.hero__line { margin-top: 14px; max-width: 34ch; color: var(--smoke); font-size: 1.0625rem; }
.hero .btn-row { margin-top: 24px; }
.hero__cue { display: none; }

.beat { padding: 72px 0; }
.beat__time { font: italic 400 clamp(3rem, 15vw, 5.5rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ember-hot); font-variant-numeric: tabular-nums lining-nums; }
.beat__title { margin-top: 10px; font-size: clamp(2.1rem, 9vw, 4.4rem); letter-spacing: -.02em; word-spacing: .08em; }
.beat__text { margin-top: 14px; max-width: 36ch; color: var(--smoke); font-size: 1.125rem; }
@media (min-width: 1024px) { .beat__text { font-size: 1.3125rem; } }

.plating { display: grid; gap: 28px; }
.plate { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.plate::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 177, 94, .05); }
.plate__l { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: lighten; }
.plate.is-cut .plate__l { mix-blend-mode: normal; }
.plate__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
.plate__steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; color: var(--smoke); font-size: 1.0625rem; line-height: 1.35; }
.plate__steps li::before { counter-increment: st; content: counter(st); font: italic 600 1.125rem/1 var(--f-display); color: var(--ember-hot); }
.plate__dish { margin-top: 6px; font: 600 1.25rem/1.2 var(--f-display); }
.plate__dish a { color: var(--bone); text-decoration-color: rgba(241, 233, 221, .35); }
.plate__dish .num { color: var(--ember-hot); white-space: nowrap; }

.final { padding: 88px 0 72px; }
.final__title { font-size: clamp(2.2rem, 9.4vw, 4.6rem); letter-spacing: -.02em; word-spacing: .08em; max-width: 15ch; }
.final .btn-row { margin-top: 28px; }
.final__text { margin-top: 16px; max-width: 40ch; color: var(--fg-2); font-size: 1.125rem; }

/* live mode: one sticky stage, everything layered and driven by the scroll timeline */
.story-live .story { height: 660svh; }
.story-live .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story-live .stage > .stage__photo { height: 100%; filter: brightness(.7); }
.story-live .stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(18, 13, 10, .9), rgba(18, 13, 10, .62) 26%, rgba(18, 13, 10, 0) 54%), linear-gradient(to bottom, rgba(18, 13, 10, .55), rgba(18, 13, 10, 0) 26%); opacity: var(--veil, 1); }
.story-live .hero::before { display: block; background: linear-gradient(to top, rgba(18, 13, 10, .94), rgba(18, 13, 10, .8) 34%, rgba(18, 13, 10, .25) 62%, rgba(18, 13, 10, 0) 78%); }
@media (min-width: 1024px) {
  .story-live .stage::after { background: linear-gradient(to top, rgba(18, 13, 10, .85), rgba(18, 13, 10, 0) 46%), linear-gradient(to bottom, rgba(18, 13, 10, .5), rgba(18, 13, 10, 0) 26%); }
  .story-live .hero::before { background: linear-gradient(100deg, rgba(18, 13, 10, .9), rgba(18, 13, 10, .6) 30%, rgba(18, 13, 10, 0) 55%), linear-gradient(to top, rgba(18, 13, 10, .6), rgba(18, 13, 10, 0) 40%); }
}
.story-live .hero, .story-live .beat, .story-live .final { position: absolute; inset: 0; z-index: 3; min-height: 0; padding: 0; }
.story-live .hero { display: flex; padding: calc(var(--hdr) + 24px) 0 calc(var(--bar-space) + 8px); }
.story-live .hero__cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--smoke); font-size: .9375rem; }
.hero__cue i { display: block; width: 1px; height: 30px; background: linear-gradient(var(--ember-hot), transparent); animation: cue 2.2s var(--ease-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.story-live .beat { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(var(--bar-space) + 8px); visibility: hidden; }
.story-live .beat__time { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.story-live .clock { display: block; position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--hdr) + 6px); pointer-events: none; visibility: hidden; }
.story-live .clock span { font: italic 400 clamp(3.25rem, 17vw, 6rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ember-hot); font-variant-numeric: tabular-nums lining-nums; }
.story-live .clock small { display: block; margin-top: 4px; color: var(--smoke); font-size: .8125rem; letter-spacing: .02em; }

.story-live .beat--plate { justify-content: center; padding-top: calc(var(--hdr) + 84px); }
.story-live .beat--plate .beat__title { display: none; }
.story-live .plating { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.story-live .plate { width: min(80vw, 44svh); flex: none; }
.story-live .plate__steps { position: relative; width: 100%; height: 3.2em; display: block; text-align: center; }
.story-live .plate__steps li { position: absolute; inset: 0 0 auto; display: block; color: var(--bone); font-size: 1.0625rem; opacity: 0; visibility: hidden; }
.story-live .plate__steps li::before { display: none; }
.story-live .plate-side { width: 100%; }
.story-live .plate__dish { position: absolute; left: var(--gutter); right: var(--gutter); bottom: -4px; text-align: center; visibility: hidden; }
.story-live .final { display: flex; flex-direction: column; justify-content: center; visibility: hidden; padding-bottom: calc(var(--bar-space) - 24px); background: transparent; color: var(--ink); }

@media (min-width: 1024px) {
  .story-live .story { height: 720vh; }
  .story-live .clock { top: calc(var(--hdr) + 20px); }
  .story-live .beat { padding-bottom: calc(var(--bar-space) + 24px); }
  .story-live .beat--plate { padding: calc(var(--hdr) + 24px) 0 calc(var(--bar-space) - 16px); }
  .story-live .plating { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(300px, 26rem); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". plate ." "title plate steps" "title plate dish" ". plate ."; align-items: center; column-gap: 56px; }
  .story-live .plate-side { display: contents; }
  .story-live .plate { grid-area: plate; width: min(40vw, 62vh); }
  .story-live .beat--plate .beat__title { display: block; grid-area: title; align-self: end; margin: 0; font-size: clamp(2.4rem, 3.6vw, 3.4rem); max-width: 7ch; }
  .story-live .plate__steps { grid-area: steps; align-self: end; height: auto; display: grid; gap: 18px; text-align: left; counter-reset: st; }
  .story-live .plate__steps li { position: relative; inset: auto; display: grid; grid-template-columns: 34px 1fr; opacity: .28; visibility: inherit; font-size: 1.1875rem; color: var(--bone); }
  .story-live .plate__steps li::before { display: block; }
  .story-live .plate__dish { grid-area: dish; align-self: start; position: static; text-align: left; margin-top: 22px; font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .hero__name { font-size: 6rem; }
  .hero__line { font-size: 1.25rem; }
  .plating { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
}

/* ---------- HOME: after the fire (ash) ---------- */
.nostove { display: grid; gap: 36px; }
.nostove__title { font-size: clamp(2.4rem, 10vw, 5.5rem); letter-spacing: -.024em; word-spacing: .08em; line-height: .95; max-width: 12ch; }
.nostove__text { display: grid; gap: 20px; }
.nostove__photo { aspect-ratio: 3 / 4; }
.woods { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.woods li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.woods b { font: 600 1.1875rem/1.2 var(--f-display); }
.woods span { color: var(--fg-2); }
@media (min-width: 900px) {
  .nostove { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
  .nostove__title { grid-column: 1 / -1; }
  .nostove__photo { grid-row: 2; grid-column: 2; margin-top: -40px; }
}

.today { display: grid; gap: 40px; }
.today__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.today__item a { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.today__item .ph { aspect-ratio: 1; }
.today__item .ph img { transition: transform 1.2s var(--ease-out); }
.today__item a:hover .ph img { transform: scale(1.04); }
.today__item h3 { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.today__item h3 .num { font: 600 1.0625rem/1 var(--f-text); color: var(--hot); white-space: nowrap; }
.today__item p { color: var(--fg-2); }
@media (max-width: 899px) {
  .today__item:not(:first-child) a { grid-template-columns: 112px 1fr; align-items: center; gap: 16px; }
  .today__item:not(:first-child) h3 { flex-direction: column; gap: 6px; }
  .today__item:not(:first-child) p { margin-top: 6px; font-size: .9375rem; }
}
@media (min-width: 900px) {
  .today__list { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto 1fr; gap: 40px 48px; }
  .today__item:first-child { grid-row: span 2; }
  .today__item:first-child .ph { aspect-ratio: 4 / 5; }
  .today__item:not(:first-child) .ph { aspect-ratio: 3 / 2; }
}

.tonight { display: grid; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tonight h2 { font-size: clamp(2rem, 8vw, 3.4rem); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.slots a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 4px; color: var(--fg); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .25s, background-color .25s, color .25s; }
.slots a:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
@media (min-width: 900px) { .tonight { grid-template-columns: 1fr auto; align-items: end; padding: 48px 0; } }

.next-event { display: grid; gap: 28px; }
.next-event .ph { aspect-ratio: 16 / 10; }
.next-event__when { font: italic 500 1.25rem/1.2 var(--f-display); color: var(--hot); }
@media (min-width: 900px) { .next-event { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: thin; }
.strip a { flex: none; width: 72vw; max-width: 380px; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.strip .ph { aspect-ratio: 4 / 5; }
@media (min-width: 1024px) { .strip { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .strip a { width: auto; max-width: none; } .strip a:nth-child(even) { margin-top: 56px; } }

.facts { display: grid; gap: 28px; }
.facts dl { margin: 0; display: grid; gap: 20px; }
.facts dt { font-size: .875rem; color: var(--fg-2); }
.facts dd { margin: 4px 0 0; font: 600 1.375rem/1.25 var(--f-display); }
@media (min-width: 900px) { .facts dl { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- MENU (module 1) ---------- */
.menu-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .menu-layout { grid-template-columns: 300px 1fr; gap: 72px; align-items: start; } .menu-aside { position: sticky; top: calc(var(--hdr) + 32px); } }
.cat-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cat-nav--bar { position: sticky; top: var(--hdr); z-index: 20; padding: 10px 0; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.cat-nav--bar ul { overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; }
.cat-nav--bar ul::-webkit-scrollbar { display: none; }
.cat-nav--bar a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 4px; color: var(--fg-2); text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .9375rem; }
.cat-nav--bar a[aria-current="true"] { background: var(--bone); color: var(--soot); }
.cat-nav--side { display: none; }
.cat-nav--side ul { flex-direction: column; gap: 2px; }
.cat-nav--side a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font: 600 1.375rem/1.1 var(--f-display); color: var(--fg-2); text-decoration: none; letter-spacing: -.01em; }
.cat-nav--side a:hover { color: var(--fg); }
.cat-nav--side a[aria-current="true"] { color: var(--ember-hot); font-style: italic; }
@media (min-width: 1024px) { .cat-nav--bar { display: none; } .cat-nav--side { display: block; } }
.filters { margin-top: 28px; }
.filters p { font-size: .875rem; color: var(--fg-2); margin-bottom: 10px; }
.filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--fg); font-weight: 550; font-size: .9375rem; transition: background-color .25s, color .25s, border-color .25s; }
.chip[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--soot); }
.tone-ash .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
@media (hover: hover) { .chip:hover { border-color: var(--fg-2); } }
.filters__count { margin-top: 12px; font-size: .875rem; color: var(--fg-2); min-height: 1.4em; }

.menu-cat { padding-top: 56px; }
.menu-cat:first-child { padding-top: 8px; }
.menu-cat__head { display: grid; gap: 14px; margin-bottom: 8px; }
.menu-cat__head h2 { font-size: clamp(2.2rem, 9vw, 3.6rem); }
.menu-cat__head p { color: var(--fg-2); max-width: 52ch; }
.menu-cat__ph { aspect-ratio: 16 / 7; margin: 12px 0 8px; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.dish[hidden] { display: none; }
.dish__head { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font: 600 1.3125rem/1.15 var(--f-display); letter-spacing: -.01em; }
.dish__lead { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line); transform: translateY(-.3em); }
.dish__price { font-weight: 650; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--hot); }
.dish__desc { margin-top: 4px; color: var(--fg-2); max-width: 52ch; }
.dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: .875rem; color: var(--fg-2); }
.dish__w { font-variant-numeric: tabular-nums; }
.marks { display: inline-flex; gap: 6px; }
.mk { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border-radius: 3px; background: var(--bg-3); color: var(--fg); font-size: .8125rem; line-height: 1.2; }
.mk .ic { width: 15px; height: 15px; color: var(--hot); }
.menu-empty { padding: 20px 0; color: var(--fg-2); font-style: italic; }
.menu-note { margin-top: 40px; font-size: .9375rem; color: var(--fg-2); max-width: 60ch; }

.qr-card { margin-top: 36px; display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 6px; background: var(--ash); color: var(--ink); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9); }
.qr-card__code { width: 116px; height: 116px; padding: 8px; background: var(--cream); border-radius: 3px; }
.qr-card__code svg { width: 100%; height: 100%; }
.qr-card__code rect.m { fill: var(--ink); }
.qr-card b { display: block; font: 650 1.1875rem/1.15 var(--f-display); }
.qr-card p { margin-top: 6px; font-size: .875rem; color: var(--ink-2); }
.qr-card__wait { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--ash-2) 0 6px, var(--cream) 6px 12px); }

/* ---------- BOOKING (module 2) ---------- */
.book-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .book-layout { grid-template-columns: 1fr 360px; gap: 72px; align-items: start; } .book-aside { position: sticky; top: calc(var(--hdr) + 32px); } }
.book-form { display: grid; gap: 36px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.field > legend, .field > label, .field__label { padding: 0; font: 650 1.3125rem/1.2 var(--f-display); letter-spacing: -.01em; }
.field__hint { font-size: .875rem; color: var(--fg-2); }
.field__err { font-size: .9375rem; color: var(--ember-deep); font-weight: 600; display: none; }
.field.has-err .field__err { display: block; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: -4px calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: thin; }
@media (min-width: 1024px) { .days { margin: -4px 0 0; padding-inline: 2px; scroll-padding-inline: 2px; } }
.opt { position: relative; flex: none; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: grid; place-items: center; min-height: 48px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); text-align: center; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s; }
.opt small { display: block; font-size: .75rem; font-weight: 500; color: var(--fg-2); }
.day span { width: 68px; min-height: 68px; scroll-snap-align: start; }
.day b { font: 650 1.375rem/1 var(--f-display); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.opt input:checked + span small { color: #d8cdbd; }
.opt input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.opt input:disabled + span { background: transparent; color: #8a7c70; border-style: dashed; cursor: not-allowed; }
.opt input:disabled { cursor: not-allowed; }
@media (hover: hover) { .opt input:not(:disabled):not(:checked):hover + span { border-color: var(--ink); } }
.times, .places { display: flex; flex-wrap: wrap; gap: 8px; }
.time span { min-width: 76px; }
.place span { min-height: 56px; padding: 8px 16px; text-align: left; place-items: start; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); width: max-content; }
.stepper button { width: 52px; height: 52px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 4px; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 3ch; text-align: center; font: 650 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #7b6e63; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(165, 56, 26, .22); }
textarea.input { min-height: 112px; resize: vertical; line-height: 1.45; }
.field.has-err .input { border-color: var(--ember-deep); }
.two { display: grid; gap: 20px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.consent { font-size: .875rem; color: var(--fg-2); }
.textbtn { padding: 0; border: 0; background: none; color: var(--link); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; font: inherit; cursor: pointer; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.summary { padding: 22px; border-radius: 6px; background: var(--soot); color: var(--bone); box-shadow: 0 28px 50px -30px rgba(40, 20, 10, .7); }
.summary h2 { font-size: 1.5rem; }
.summary dl { margin: 16px 0 0; display: grid; gap: 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--soot-line); }
.summary dt { color: var(--smoke); }
.summary dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.summary dd.is-empty { color: #8f8072; font-weight: 450; }
.summary p { margin-top: 14px; font-size: .875rem; color: var(--smoke); }
.summary .ph { aspect-ratio: 16 / 10; margin: -22px -22px 18px; border-radius: 6px 6px 0 0; }

.done { display: grid; gap: 20px; padding: 28px 22px; border-radius: 6px; background: var(--soot); color: var(--bone); }
.done[hidden] { display: none; }
.done h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
.done dl { margin: 0; display: grid; gap: 0; }
.done dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--soot-line); }
.done dt { color: var(--smoke); }
.done dd { margin: 0; font-weight: 650; text-align: right; }
.done .btn--line { color: var(--bone); border-color: var(--soot-line); }
.done__mark { width: 56px; height: 56px; color: var(--ember-hot); }

/* ---------- toasts & viewer ---------- */
.toasts { position: fixed; z-index: 120; left: 12px; right: 12px; top: calc(var(--hdr) + 10px); display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; max-width: 460px; width: 100%; padding: 14px 14px 14px 16px; border-radius: 6px; background: var(--soot-2); color: var(--bone); font-size: .9375rem; line-height: 1.4; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .7), 0 0 0 1px var(--soot-line); animation: toast-in .6s var(--ease-out) both; }
.toast.is-out { animation: toast-out .35s var(--ease-in) both; }
.toast > .ic { color: var(--ember-hot); margin-top: 1px; }
.toast p { flex: 1; }
.toast b { display: block; font-weight: 700; margin-bottom: 2px; }
.toast button { flex: none; width: 32px; height: 32px; margin: -6px -6px 0 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: transparent; color: var(--smoke); }
.toast button:hover { color: var(--bone); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.98); filter: blur(4px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }

.viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 8, 6, .96); color: var(--bone); }
.viewer::backdrop { background: rgba(12, 8, 6, .8); }
:root:has(.viewer[open]) { overflow: hidden; } /* phones have no Lenis to stop: the page must not scroll under the photo */
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.viewer__top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px var(--gutter); }
.viewer__img { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.viewer__img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 3px; }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gutter) calc(var(--bar-space) - 8px); color: var(--smoke); }
.iconbtn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--soot-line); border-radius: 4px; background: transparent; color: var(--bone); }
.iconbtn:hover { border-color: var(--smoke); }

/* ---------- inner pages ---------- */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } .split--top { align-items: start; } }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1; }

.quote { margin: 0; padding: 0; }
.quote p { font: italic 500 clamp(1.6rem, 6.4vw, 2.6rem)/1.18 var(--f-display); letter-spacing: -.02em; max-width: 24ch; hanging-punctuation: first; }
.quote footer { margin-top: 16px; color: var(--fg-2); font-size: .9375rem; }

.zones { display: grid; gap: 28px; }
.zones svg { width: 100%; height: auto; }
.zones svg text { font-family: var(--f-text); }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.zone-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.zone-list b { font: 600 1.25rem/1.2 var(--f-display); color: var(--hot); }
.zone-list span { color: var(--fg-2); }
.zone-list em { display: block; font-style: normal; color: var(--fg); font-weight: 600; margin-bottom: 2px; }
@media (min-width: 900px) { .zones { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }

.day-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.day-list li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.day-list time { font: italic 500 1.375rem/1.1 var(--f-display); color: var(--hot); font-variant-numeric: tabular-nums lining-nums; }
.day-list span { color: var(--fg-2); }
.day-list b { color: var(--fg); display: block; font-weight: 650; }

.offer { display: grid; gap: 32px; }
.offer__body { display: grid; gap: 18px; align-content: start; }
.offer__price { font: 600 1.375rem/1.2 var(--f-display); color: var(--hot); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--fg-2); }
.ticks .ic { color: var(--hot); margin-top: 3px; width: 18px; height: 18px; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } .offer--flip > :first-child { order: 2; } }

.sets { display: grid; gap: 0; border-top: 1px solid var(--line); }
.set { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.set h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.set h3 .num { font: 650 1.125rem/1 var(--f-text); color: var(--hot); }
.set ol { margin: 0; padding-left: 1.3em; color: var(--fg-2); display: grid; gap: 4px; }
.set ol li::marker { color: var(--hot); font-family: var(--f-display); font-style: italic; }
@media (min-width: 900px) { .sets { grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 0; } .set { border-top: 1px solid var(--line); } }

.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event { display: grid; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.event__when { font: italic 500 1.125rem/1.2 var(--f-display); color: var(--hot); }
.event__when b { font-weight: 600; font-style: normal; color: var(--fg); font-family: var(--f-text); font-size: .875rem; display: block; margin-top: 4px; }
.event p { color: var(--fg-2); max-width: 58ch; }
.event__foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 4px; }
.event__price { font-weight: 650; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .event { grid-template-columns: 14rem 1fr auto; gap: 32px; align-items: start; } .event__foot { margin-top: 0; flex-direction: column; align-items: flex-end; } }

.gallery { columns: 2; column-gap: 8px; }
.gallery button { display: block; width: 100%; margin: 0 0 8px; padding: 0; border: 0; background: var(--bg-3); border-radius: 3px; overflow: hidden; break-inside: avoid; position: relative; }
.gallery button img { width: 100%; transition: transform 1.1s var(--ease-out), filter .6s; }
.gallery button:hover img { transform: scale(1.035); }
.gallery button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; text-align: left; font-size: .8125rem; line-height: 1.3; color: var(--bone); background: linear-gradient(transparent, rgba(12, 8, 6, .85)); opacity: 0; transition: opacity .4s; }
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 16px; } .gallery button { margin-bottom: 16px; } }
@media (hover: none) { .gallery button span { display: none; } }

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.principles h3 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
.principles p { color: var(--fg-2); max-width: 56ch; }
@media (min-width: 900px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; } .principles li { border-top: 1px solid var(--line); border-bottom: 0; } }

.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.contact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.contact-list dt { font-size: .875rem; color: var(--fg-2); }
.contact-list dd { margin: 0; font: 600 1.375rem/1.25 var(--f-display); }
.contact-list dd small { display: block; font: 450 1rem/1.45 var(--f-text); color: var(--fg-2); margin-top: 4px; }
.map { position: relative; border-radius: 6px; overflow: hidden; background: #d8cfc1; box-shadow: 0 28px 50px -34px rgba(60, 40, 25, .7); }
.map > svg { width: 100%; height: auto; }
.map .btn { position: absolute; left: 14px; bottom: 14px; }

/* ---------- footer ---------- */
/* the footer runs down under the studio strip, so no stripe of the page colour shows below it */
.ftr { padding: 64px 0 calc(28px + var(--bar-space)); margin-bottom: calc(-1 * var(--bar-space)); background: var(--soot); color: var(--bone); }
.ftr__grid { display: grid; gap: 32px; }
.ftr__brand { font: italic 700 2.6rem/1 var(--f-display); letter-spacing: -.035em; }
.ftr__brand + p { margin-top: 8px; color: var(--smoke); }
.ftr h2 { font: 600 .8125rem/1.2 var(--f-text); letter-spacing: .06em; color: var(--smoke); margin-bottom: 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr ul a { display: inline-flex; min-height: 36px; align-items: center; color: var(--bone); text-decoration: none; }
.ftr ul a:hover { color: var(--ember-hot); }
.ftr address { font-style: normal; color: var(--bone); display: grid; gap: 4px; }
.ftr .contact-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ftr .btn--line { color: var(--bone); border-color: var(--soot-line); min-height: 44px; padding: 0 14px; font-size: .9375rem; }
.ftr .lang-row a { color: var(--bone); border-color: var(--soot-line); }
.ftr .lang-row a[aria-current="true"] { background: var(--bone); color: var(--soot); border-color: var(--bone); }
.ftr__demo { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--soot-line); color: var(--smoke); font-size: .875rem; }
.ftr__demo a { color: var(--bone); }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }

/* ---------- motion: cross-document view transitions ---------- */
@view-transition { navigation: auto; }
.hdr { view-transition-name: hdr; }
::view-transition-group(hdr) { animation-duration: 0s; }
::view-transition-old(root) { animation: vt-out .32s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); transform: translateY(40px); } to { clip-path: inset(0 0 0 0); transform: none; } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
