/* ==========================================================================
   Fuego Lento — asador contemporáneo (demo by umalatov.org)
   ========================================================================== */

:root {
  --bg: #0d0a08;
  --bg-2: #120d0a;
  --surface: #18120e;
  --surface-2: #211913;
  --cream: #f3e7d3;
  --cream-2: #e3d3ba;
  --muted: #b4a28c;
  --dim: #978571;
  --ember: #ff6b1a;
  --ember-2: #ffa047;
  --flame: #ffd08a;
  --red: #c2321d;
  --ok: #8fd694;
  --err: #ff8a6b;
  --line: rgba(243, 231, 211, .12);
  --line-2: rgba(243, 231, 211, .22);

  --serif: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1680px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* Russian: Fraunces and DM Mono have no Cyrillic. Latin (brand names, digits) keeps them;
   Cyrillic glyphs fall through to Noto Serif Display / Roboto Mono, never to Times. */
html:lang(ru) {
  --serif: "Fraunces", "Noto Serif Display", "Noto Serif", Georgia, serif;
  --mono: "DM Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
/* While a non-Spanish page is being translated (a few ms), hide the Spanish source */
html.i18n-wait body { visibility: hidden; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
/* Lenis (inlined from lenis@1.1.13/dist/lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--cream);
  font: 400 1rem/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.preloading body { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--ember); color: #1a0c05; }

:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}

.visually-hidden {
  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-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: .8rem 1.1rem; border-radius: 10px;
  background: var(--cream); color: #1a0c05; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nw { white-space: nowrap; }
.show-sm { display: none; }
@media (max-width: 520px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 .74rem/1.2 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow__num { color: var(--ember-2); }
.eyebrow__num::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: currentColor; vertical-align: middle; margin-left: .7em; opacity: .7;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, .18), 0 0 18px var(--ember);
}

.h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.4rem, 5.4vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.h2 em, .final__title em { font-style: italic; color: var(--ember-2); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: var(--h);
  padding: 0 1.5em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .95rem/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.btn__label { position: relative; }
.btn__icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease);
}
.btn:hover .btn__icon:not(.btn__icon--l) { transform: translateX(4px); }
.btn--ember { background: var(--ember); color: #1a0c05; box-shadow: 0 10px 40px -12px rgba(255, 107, 26, .65); }
.btn--ember::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--flame), var(--ember-2));
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn--ember:hover::before, .btn--ember:focus-visible::before { transform: none; }
.btn--ghost { border-color: var(--line-2); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(243, 231, 211, .06); }
.btn--text { color: var(--muted); padding: 0 .9em; }
.btn--text:hover { color: var(--cream); }
.btn--sm { --h: 44px; padding: 0 1.15em; font-size: .86rem; }
.btn--lg { --h: 58px; padding: 0 1.8em; font-size: 1rem; }
.btn--xl { --h: 76px; padding: 0 2.5em; font-size: 1.15rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .38; cursor: not-allowed; box-shadow: none; }
.btn[disabled]::before { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__icon { display: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader ---------- */
.preloader {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 107, 26, .18), transparent 70%), var(--bg);
  text-align: center;
}
html.preloading .preloader { display: flex; }
.preloader__flame {
  margin: 0 auto;
  fill: var(--ember);
  filter: drop-shadow(0 0 16px rgba(255, 107, 26, .9));
  animation: flick 1.1s ease-in-out infinite alternate;
  transform-origin: 50% 90%;
}
@keyframes flick {
  0% { transform: scale(1, 1) rotate(-2deg); opacity: .9; }
  50% { transform: scale(.94, 1.06) rotate(2deg); opacity: 1; }
  100% { transform: scale(1.03, .97) rotate(-1deg); opacity: .85; }
}
.preloader__name {
  font: 380 clamp(2.2rem, 5vw, 3.4rem)/1 var(--serif);
  letter-spacing: -.02em;
  margin: 1rem 0 .9rem;
}
.preloader__label {
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.preloader__count { display: inline-block; min-width: 3ch; text-align: right; color: var(--ember-2); }
.preloader__line {
  display: block; width: 180px; height: 1px; margin: 1.2rem auto 0;
  background: var(--line-2); overflow: hidden;
}
.preloader__line span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--flame));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform .55s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(13, 10, 8, .74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px;
  text-decoration: none; color: var(--cream);
}
.brand__mark { fill: var(--ember); filter: drop-shadow(0 0 10px rgba(255, 107, 26, .55)); flex: none; }
.brand__name {
  font: 400 1.4rem/1 var(--serif);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand__name em { font-style: italic; color: var(--ember-2); }
.brand--lg .brand__name { font-size: 2rem; }

.nav__list { display: flex; gap: clamp(1.1rem, 2.4vw, 2.6rem); list-style: none; }
.nav a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .92rem; text-decoration: none; color: var(--cream-2);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--ember-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(13, 10, 8, .4);
  cursor: pointer;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  :root { --header-h: 66px; }
  .nav { display: none; }
  .burger { display: inline-block; }
}

/* ---------- Language switcher (ES · EN · RU) ---------- */
.lang {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: none;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(13, 10, 8, .45);
}
html:not(.i18n) .lang { display: none; }
.lang__ind {
  position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 6px 18px -6px rgba(255, 107, 26, .8);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .5s var(--ease);
}
.lang__btn {
  min-width: 38px; min-height: 34px;
  padding: 0 .5rem;
  border: 0; border-radius: 999px;
  background: none;
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .1em;
  color: var(--cream-2);
  cursor: pointer;
  transition: color .3s;
}
.lang__btn:hover { color: var(--cream); }
.lang__btn[aria-pressed="true"] { color: #1a0c05; }
.lang__btn:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; }
.lang--lg { margin-bottom: 1.1rem; }
.lang--lg .lang__btn { min-width: 64px; min-height: 44px; font-size: .85rem; }
@media (pointer: coarse) {
  .lang__btn { min-width: 44px; min-height: 40px; }
}
/* Not enough room next to the logo, CTA and burger: on phones the switcher lives in the menu */
@media (max-width: 599px) {
  .site-header .lang { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  background: radial-gradient(ellipse 90% 50% at 50% 110%, rgba(255, 107, 26, .22), transparent 70%), var(--bg);
  opacity: 0;
  transition: opacity .4s var(--ease);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a {
  display: block;
  padding: .3rem 0;
  font: 380 clamp(2.4rem, 11vw, 3.6rem)/1.1 var(--serif);
  letter-spacing: -.02em;
  text-decoration: none;
}
.mobile-menu li a, .mobile-menu__foot {
  transform: translateY(105%);
  transition: transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + 80ms);
}
.mobile-menu__foot { color: var(--muted); font-size: .95rem; }
.mobile-menu__foot a { display: inline-flex; align-items: center; min-height: 44px; font: 500 1rem var(--mono); color: var(--ember-2); padding: 0; }
.mobile-menu.is-open li a, .mobile-menu.is-open .mobile-menu__foot { transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 45% at 50% 108%, rgba(255, 98, 24, .42), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 100%, rgba(194, 50, 29, .3), transparent 70%),
    linear-gradient(180deg, #0d0a08 0%, #140c08 60%, #1d0f08 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, .62) 0%, rgba(13, 10, 8, .2) 55%, transparent 100%),
    linear-gradient(180deg, rgba(13, 10, 8, .7) 0%, transparent 28%);
}
.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 80px));
  padding-bottom: clamp(112px, 15vh, 170px);
}
.hero__eyebrow { margin-bottom: 1.2rem; color: var(--cream-2); }
.hero__title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(3.3rem, min(9.6vw, 16.5svh), 11.5rem);
  line-height: .9;
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 144;
  margin-bottom: clamp(28px, 4.5vh, 56px);
  width: fit-content;
  max-width: 100%;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ember-2);
  text-shadow: 0 0 42px rgba(255, 107, 26, .45);
}
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2.5rem;
}
.hero__lead {
  max-width: 36ch;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.55;
  color: var(--cream-2);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__meta { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.25rem, 2.5vw, 2.75rem); }
.hero__meta > div { border-left: 1px solid var(--line-2); padding-left: 1rem; }
.hero__meta dt { font-size: .95rem; color: var(--cream); font-weight: 500; }
.hero__meta dd { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  min-width: 44px; padding: 6px 0;
  font: 500 .68rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  writing-mode: vertical-rl;
}
.hero__scroll i {
  position: relative; width: 1px; height: 64px; background: var(--line-2); overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--ember-2);
  animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

html.intro-pending [data-hero], html.intro-pending .hero__title { opacity: 0; }
.hl-mask { padding: .08em .12em .2em; margin: -.08em -.12em -.2em; }
.sl-mask { padding: .06em .06em .2em; margin: -.06em -.06em -.2em; }

@media (max-width: 1180px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__meta { margin-top: .5rem; }
}
@media (max-width: 699px) {
  .hero__title { font-size: clamp(3rem, 16vw, 5.6rem); line-height: .92; }
  /* «на медленном» (kept together by a no-break space) must fit a 360px screen */
  :lang(ru) .hero__title { font-size: clamp(2.6rem, 14vw, 5.6rem); }
  .hero__meta, .hero__scroll { display: none; }
  .hero__content { padding-bottom: 120px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(96px, 12vw, 200px); }
.section-head { max-width: 920px; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head__lead {
  margin-top: 1.4rem;
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: var(--muted);
}

/* Reveal (only hidden when JS is running) */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Story ---------- */
.story__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2vw, 2rem);
}
.story__side { grid-column: 1 / span 4; }
.story__main { grid-column: 6 / span 7; }
.story__statement {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.55rem, 2.7vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -.012em;
  font-variation-settings: "opsz" 72;
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.story__text { max-width: 48ch; color: var(--muted); font-size: 1.05rem; }
.story__media {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2vw, 2rem);
  margin-top: clamp(64px, 9vw, 150px);
  align-items: start;
}
.story__img--a { grid-column: 1 / span 7; }
.story__img--b { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 240px); }
.story__img--a .media { aspect-ratio: 4 / 3; }
.story__img--b .media { aspect-ratio: 4 / 5; }
.media {
  position: relative; overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
figcaption {
  font: 500 .72rem/1.4 var(--mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}
.story__img figcaption { margin-top: .9rem; display: flex; align-items: center; gap: .7rem; }
.story__img figcaption::before { content: ""; width: 22px; height: 1px; background: var(--ember-2); }

.stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  list-style: none;
  margin-top: clamp(48px, 7vw, 110px);
}
.stats li { border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.stats__n {
  display: flex; align-items: flex-start; gap: .1em;
  font: 330 clamp(3.4rem, 7vw, 7rem)/.9 var(--serif);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stats__n small { font-size: .38em; color: var(--ember-2); margin-top: .2em; letter-spacing: 0; }
.stats__l { display: block; margin-top: .8rem; max-width: 24ch; color: var(--muted); }

@media (max-width: 899px) {
  .story__side, .story__main { grid-column: 1 / -1; }
  .story__img--a { grid-column: 1 / span 12; }
  .story__img--b { grid-column: 4 / span 9; margin-top: .5rem; }
}
@media (max-width: 599px) {
  .stats { grid-template-columns: 1fr; }
  .stats li { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr); align-items: end; gap: 1rem; }
  .stats__l { margin-top: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 2.6vw, 36px);
  background: linear-gradient(90deg, rgba(255, 107, 26, .05), transparent 30%, transparent 70%, rgba(255, 107, 26, .05));
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee.is-gsap .marquee__track { animation: none; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); flex: none; }
.marquee span {
  font: 340 clamp(2rem, 5.2vw, 5rem)/1 var(--serif);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee span.o { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(243, 231, 211, .55); }
.marquee i { font-style: normal; color: var(--ember); font-size: clamp(1rem, 2vw, 1.6rem); text-shadow: 0 0 16px var(--ember); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Menu ---------- */
.menu { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.menu__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: start;
}
.tabs {
  position: relative;
  display: none;
  gap: .25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
html.js .tabs { display: flex; }
.tabs__btn {
  position: relative;
  flex: 0 0 auto;
  min-height: 52px;
  padding: .9rem 1.15rem;
  border: 0; background: none;
  font: 500 1rem/1 var(--sans);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .3s;
}
.tabs__btn:hover { color: var(--cream); }
.tabs__btn[aria-selected="true"] { color: var(--cream); }
.tabs__btn:focus-visible { outline-offset: -4px; border-radius: 8px; }
.tabs__ink {
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: var(--w, 90px);
  transform: translateX(var(--x, 0));
  background: linear-gradient(90deg, var(--ember), var(--flame));
  box-shadow: 0 0 14px rgba(255, 107, 26, .9);
  transition: transform .65s var(--ease), width .65s var(--ease);
  pointer-events: none;
}
html.js .menu__panel[hidden] { display: none; }
.menu__panel { outline: none; }
.menu__panel:focus-visible { outline: 2px solid var(--flame); outline-offset: 6px; border-radius: 6px; }
.menu__panel + .menu__panel { margin-top: 3rem; }
html.js .menu__panel + .menu__panel { margin-top: 0; }
.menu__panel-title { font: 380 2rem/1.1 var(--serif); margin-bottom: .5rem; color: var(--ember-2); }
html.js .menu__panel-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.dishes { list-style: none; }
.dish {
  position: relative;
  padding: 1.35rem .25rem;
  border-bottom: 1px solid var(--line);
}
.dish::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 107, 26, .13), rgba(255, 107, 26, 0) 85%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.dishes { position: relative; z-index: 0; }
.dish:hover::before { transform: scaleX(1); }
.dish__head { display: flex; align-items: baseline; gap: .75rem; }
.dish__name {
  flex: 0 1 auto;
  font: 400 clamp(1.25rem, 1.8vw, 1.65rem)/1.2 var(--serif);
  letter-spacing: -.01em;
  transition: transform .55s var(--ease), color .3s;
}
.dish__dots { flex: 1 1 12px; min-width: 12px; border-bottom: 1px dotted var(--line-2); transform: translateY(-.3em); }
.dish__price {
  flex: none;
  font: 500 1rem/1.2 var(--mono);
  white-space: nowrap;
  transition: color .3s;
}
.dish__price small { font-size: .78em; color: var(--muted); }
.dish__desc { margin-top: .4rem; max-width: 54ch; color: var(--muted); font-size: .97rem; transition: transform .55s var(--ease) .04s; }
.dish__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin-top: .7rem; }
.dish__tags li {
  font: 500 .68rem/1 var(--mono); letter-spacing: .08em;
  padding: .42em .65em;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted);
}
.dish__tags abbr { text-decoration: none; cursor: help; }
.dish__tags .is-hot { border-color: rgba(255, 107, 26, .5); color: var(--ember-2); background: rgba(255, 107, 26, .08); }
.dish:hover .dish__name { transform: translateX(10px); color: var(--flame); }
.dish:hover .dish__desc { transform: translateX(10px); }
.dish:hover .dish__price { color: var(--ember-2); }
.dish--star .dish__name::after {
  content: "✦"; font-size: .55em; color: var(--ember); margin-left: .45em; vertical-align: .45em;
  text-shadow: 0 0 10px var(--ember);
}
.menu__panel.is-entering .dish { animation: dishIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 65ms); }
@keyframes dishIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.menu__note { margin-top: 2rem; color: var(--muted); font-size: .9rem; max-width: 60ch; }
.legend { white-space: nowrap; margin-left: .6rem; }
.legend b { font: 500 .66rem/1 var(--mono); padding: .35em .55em; border: 1px solid var(--line-2); border-radius: 999px; margin-right: .3em; color: var(--cream-2); }

.menu__visual { position: sticky; top: calc(var(--header-h) + 28px); }
.menu__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.menu__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.18);
  transition: clip-path 1.1s var(--ease-io), transform 1.6s var(--ease);
}
.menu__img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.menu__img.is-leaving { clip-path: inset(0 0 0 0); z-index: 0; }
.menu__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(13, 10, 8, .5) 66%, rgba(13, 10, 8, .94) 100%);
}
.menu__caption {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 3;
  display: flex; flex-direction: column; gap: .35rem;
}
.menu__caption-k { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ember-2); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.menu__caption-v { font: 380 1.45rem/1.15 var(--serif); text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }

@media (max-width: 999px) {
  .menu__layout { grid-template-columns: 1fr; }
  .menu__visual { position: relative; top: 0; order: -1; }
  .menu__frame { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .tabs { gap: 0; }
  .tabs__btn { flex: 1 0 auto; padding: .9rem .55rem; font-size: .95rem; }
  .dish__head { flex-wrap: wrap; row-gap: .2rem; }
  .dish__name { flex-basis: 100%; }
  .dish__dots { display: none; }
  .dish:hover .dish__name, .dish:hover .dish__desc { transform: none; }
}

/* ---------- Experience ---------- */
.exp {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(194, 50, 29, .14), transparent 70%),
    var(--bg-2);
  padding-block: clamp(80px, 10vw, 150px);
  border-block: 1px solid var(--line);
}
.exp__pin { position: relative; }
.exp__track {
  display: flex; align-items: flex-start;
  gap: clamp(16px, 2.6vw, 44px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 1.25rem;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--ember) transparent;
  outline: none;
}
.exp__track:focus-visible { outline: 2px solid var(--flame); outline-offset: -2px; }
.exp__intro { flex: 0 0 min(84vw, 440px); scroll-snap-align: start; align-self: center; }
.exp__lead { margin-top: 1.4rem; color: var(--muted); font-size: 1.1rem; max-width: 34ch; }
.exp__hint-mob { display: none; }
.exp__hint { display: none; align-items: center; gap: .8rem; margin-top: 2.2rem; font: 500 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.exp__hint-line { width: 56px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.exp__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--ember-2); animation: hint 2s var(--ease-io) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.exp__panel { flex: 0 0 auto; scroll-snap-align: center; display: flex; flex-direction: column; }
.exp__panel--land { --ar: 4 / 3; width: min(84vw, 640px); }
.exp__panel--port { --ar: 4 / 5; width: min(70vw, 420px); }
.exp__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: var(--ar); background: var(--surface); }
.exp__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.exp__panel figcaption {
  width: 0; min-width: 100%;
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .35rem;
  margin-top: 1.1rem;
  text-transform: none; letter-spacing: 0; font: inherit; color: inherit;
}
.exp__num { grid-row: span 2; font: 500 .74rem/1.9 var(--mono); color: var(--ember-2); letter-spacing: .1em; }
.exp__title { font: 380 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--serif); letter-spacing: -.01em; }
.exp__text { color: var(--muted); font-size: .97rem; max-width: 40ch; }
.exp__outro {
  flex: 0 0 min(84vw, 460px);
  align-self: center;
  scroll-snap-align: end;
  padding: clamp(24px, 4vw, 48px) 0;
}
.exp__outro-k { font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ember-2); }
.exp__outro-t { font: 360 clamp(2rem, 3.6vw, 3.4rem)/1.04 var(--serif); letter-spacing: -.02em; margin: 1rem 0 2rem; }
.exp__progress { display: none; }

/* Desktop without pinning: tidy editorial grid */
@media (min-width: 900px) {
  .exp:not(.is-pinned) .exp__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 64px);
    overflow: visible;
    max-width: var(--maxw);
    margin-inline: auto;
    scroll-snap-type: none;
  }
  .exp:not(.is-pinned) .exp__intro { grid-column: 1 / -1; }
  .exp:not(.is-pinned) .exp__panel { width: auto; }
  .exp:not(.is-pinned) .exp__panel--port .exp__media { aspect-ratio: 4 / 3; }
}

/* Pinned horizontal scroll (enabled by JS on wide screens) */
.exp.is-pinned { padding: 0; }
.exp.is-pinned .exp__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.exp.is-pinned .exp__track {
  overflow: visible;
  width: max-content;
  align-items: center;
  scroll-snap-type: none;
  padding: 0 14vw 0 var(--gutter);
  gap: clamp(40px, 5vw, 96px);
  will-change: transform;
}
.exp.is-pinned .exp__intro { flex-basis: clamp(360px, 32vw, 560px); }
.exp.is-pinned .exp__hint { display: inline-flex; }
.exp.is-pinned .exp__panel { width: auto; }
.exp.is-pinned .exp__media { height: min(60vh, 640px); width: auto; }
.exp.is-pinned .exp__panel:nth-of-type(even) { margin-top: 10vh; }
.exp.is-pinned .exp__panel:nth-of-type(odd) { margin-bottom: 8vh; }
.exp.is-pinned .exp__outro { flex-basis: clamp(360px, 30vw, 520px); }
.exp.is-pinned .exp__progress {
  display: block;
  position: absolute; right: var(--gutter); bottom: clamp(28px, 5vh, 48px);
  width: clamp(180px, 26vw, 420px);
  height: 1px; background: var(--line-2);
}
.exp.is-pinned .exp__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--flame));
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 10px var(--ember);
}

/* ---------- Reservation ---------- */
.reserve { overflow: hidden; }
.reserve__glow {
  position: absolute; right: -10%; top: 8%;
  width: min(1100px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 107, 26, .16), transparent 62%);
  pointer-events: none;
}
.reserve__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 120px);
  align-items: start;
}
.reserve__copy { position: sticky; top: calc(var(--header-h) + 40px); }
.perks { list-style: none; margin-top: 2.4rem; display: grid; gap: 1.2rem; }
.perks li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; color: var(--muted); }
.perks strong { display: block; color: var(--cream); font-weight: 600; margin-bottom: .1rem; }
.perks__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 107, 26, .35);
  background: rgba(255, 107, 26, .08);
}
.perks__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ember-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reserve__phone { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); }
.reserve__phone a { color: var(--ember-2); font-family: var(--mono); text-underline-offset: 3px; white-space: nowrap; }

@media (max-width: 999px) {
  /* minmax(0, …): a long button label (e.g. Russian) must never widen the section past the screen */
  .reserve__grid { grid-template-columns: minmax(0, 1fr); }
  .reserve__copy { position: static; }
}

/* Booking card */
.booking {
  position: relative;
  border-radius: 22px;
  padding: clamp(18px, 2.6vw, 34px);
  background: linear-gradient(180deg, #1c1511 0%, #150f0c 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px rgba(255, 107, 26, .35), 0 30px 60px -30px rgba(0, 0, 0, .85);
}
.booking::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember-2), transparent);
}
.booking__nojs p { color: var(--cream-2); font-size: 1.05rem; }
.booking__nojs a { color: var(--ember-2); }
.booking__app { display: none; }
html.js .booking__app { display: block; }
html.js .booking__nojs { display: none; }

.bk-kicker {
  display: flex; align-items: center; gap: .6rem;
  font: 500 .7rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.bk-kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(143, 214, 148, .6); animation: live 2s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(143, 214, 148, .55); } 70% { box-shadow: 0 0 0 9px rgba(143, 214, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 214, 148, 0); } }

.bk-progress { display: flex; justify-content: space-between; gap: .5rem; list-style: none; margin-top: 1.3rem; counter-reset: s; }
.bk-progress li { display: flex; align-items: center; gap: .5rem; color: var(--dim); font-size: .88rem; transition: color .3s; }
.bk-progress__n {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  font: 500 .74rem/1 var(--mono);
  transition: background-color .35s, border-color .35s, color .35s;
}
.bk-progress li.is-current { color: var(--cream); }
.bk-progress li.is-current .bk-progress__n { border-color: var(--ember); color: var(--ember-2); box-shadow: 0 0 0 4px rgba(255, 107, 26, .14); }
.bk-progress li.is-done { color: var(--muted); }
.bk-progress li.is-done .bk-progress__n { background: var(--ember); border-color: var(--ember); color: #1a0c05; }
.bk-bar { height: 2px; background: var(--line); margin-top: 1rem; border-radius: 2px; overflow: hidden; }
.bk-bar span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--ember), var(--flame));
  transform-origin: left; transform: scaleX(var(--p, .25));
  transition: transform .7s var(--ease);
}
.bk-summary { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 30px; margin-top: 1rem; }
.bk-summary span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .75rem;
  border-radius: 999px;
  background: rgba(243, 231, 211, .06);
  border: 1px solid var(--line);
  font-size: .82rem; color: var(--cream-2);
  animation: chipIn .45s var(--ease) both;
}
.bk-summary span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }

.bk-viewport { position: relative; margin-top: 1.4rem; transition: height .5s var(--ease); }
.bk-viewport.is-animating { overflow: hidden; }
.bk-step[hidden] { display: none !important; }
.bk-title {
  font: 380 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--serif);
  letter-spacing: -.015em;
  margin-bottom: 1.3rem;
  outline: none;
}
.bk-title:focus-visible { outline: 2px solid var(--flame); outline-offset: 4px; border-radius: 4px; }
.bk-sub { color: var(--muted); margin: -.7rem 0 1.2rem; font-size: .95rem; }
.bk-help { color: var(--muted); font-size: .88rem; margin-top: 1.2rem; }

/* Stepper */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(243, 231, 211, .025); }
.stepper__btn {
  width: 60px; height: 60px; flex: none;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(243, 231, 211, .04);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, transform .2s;
}
.stepper__btn svg { width: 22px; height: 22px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; }
.stepper__btn:hover:not(:disabled) { border-color: var(--ember); background: rgba(255, 107, 26, .12); }
.stepper__btn:active:not(:disabled) { transform: scale(.94); }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; }
.stepper__value { display: flex; align-items: baseline; justify-content: center; gap: .6rem; overflow: hidden; }
.stepper__num { display: inline-block; min-width: 1.2ch; text-align: center; font: 330 clamp(3.6rem, 7vw, 4.8rem)/1 var(--serif); letter-spacing: -.04em; color: var(--cream); font-variant-numeric: tabular-nums; }
.stepper__unit { color: var(--muted); font-size: 1rem; }
.quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  min-height: 44px; padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: .9rem; color: var(--cream-2);
  cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.chip:hover { border-color: var(--cream-2); }
.chip[aria-pressed="true"] { border-color: var(--ember); background: rgba(255, 107, 26, .12); color: var(--cream); }

/* Calendar */
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.cal__month { font: 400 1.35rem/1 var(--serif); }
.cal__nav {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.cal__nav svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__nav:hover:not(:disabled) { border-color: var(--ember); background: rgba(255, 107, 26, .1); }
.cal__nav:disabled { opacity: .25; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { text-align: center; font: 500 .7rem/2 var(--mono); color: var(--dim); letter-spacing: .1em; }
.cal__grid { margin-top: .3rem; }
.cal__grid.is-swap { animation: calIn .45s var(--ease) both; }
@keyframes calIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18px)); } to { opacity: 1; transform: none; } }
.day {
  position: relative;
  height: 52px; min-width: 0;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(243, 231, 211, .035);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: 500 1rem/1 var(--sans);
  color: var(--cream);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.day:hover:not(:disabled) { border-color: var(--line-2); background: rgba(255, 107, 26, .1); }
.day:active:not(:disabled) { transform: scale(.95); }
.day__s { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.day.is-few .day__s { background: var(--ember); box-shadow: 0 0 6px var(--ember); }
.day.is-today { box-shadow: inset 0 0 0 1px rgba(255, 160, 71, .55); }
.day.is-today:not(:disabled):not([aria-pressed="true"]) .day__n { color: var(--ember-2); }
.day:disabled { cursor: not-allowed; color: #6f6153; background: transparent; }
.day.is-full .day__n, .day.is-gone .day__n { text-decoration: line-through; text-decoration-color: rgba(243, 231, 211, .35); }
.day.is-closed { background: repeating-linear-gradient(135deg, rgba(243, 231, 211, .045) 0 2px, transparent 2px 7px); }
.day.is-past, .day.is-out { opacity: .45; }
.day[aria-pressed="true"] {
  background: var(--ember); color: #1a0c05; border-color: var(--ember);
  box-shadow: 0 10px 26px -10px rgba(255, 107, 26, .9);
}
.day[aria-pressed="true"] .day__s { background: #1a0c05; box-shadow: none; }
.day-blank { height: 52px; }
.cal__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; list-style: none; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.cal__legend li { display: inline-flex; align-items: center; gap: .45rem; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg--today { box-shadow: inset 0 0 0 1px rgba(255, 160, 71, .75); background: rgba(243, 231, 211, .035); }
.lg--few { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 6px var(--ember); margin-inline: 3px; }
.lg--full { background: rgba(243, 231, 211, .06); position: relative; }
.lg--full::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1px; background: var(--muted); }
.lg--closed { background: repeating-linear-gradient(135deg, rgba(243, 231, 211, .25) 0 2px, transparent 2px 5px); }

/* Slots */
.slots { display: grid; gap: 1.4rem; }
.slots__label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slots__label b { font-weight: 500; color: var(--dim); letter-spacing: .06em; text-transform: none; font-family: var(--sans); font-size: .8rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(243, 231, 211, .025);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font: 500 1rem/1 var(--mono);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.slot small { font: 500 .6rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.slot:hover:not(:disabled) { border-color: var(--ember); background: rgba(255, 107, 26, .1); }
.slot:active:not(:disabled) { transform: scale(.95); }
.slot:disabled { cursor: not-allowed; color: #6f6153; border-style: dashed; border-color: rgba(243, 231, 211, .12); background: transparent; }
.slot:disabled .slot__t { text-decoration: line-through; }
.slot[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #1a0c05; box-shadow: 0 10px 26px -10px rgba(255, 107, 26, .9); }
.slots__closed { padding: 1rem 1.1rem; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: .92rem; }

/* Form */
.field { position: relative; margin-bottom: .9rem; }
.field__input {
  width: 100%;
  min-height: 60px;
  padding: 1.55rem 1rem .55rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(243, 231, 211, .035);
  color: var(--cream);
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
textarea.field__input { min-height: 112px; resize: vertical; padding-top: 1.8rem; line-height: 1.45; }
.field__input:hover { border-color: rgba(243, 231, 211, .38); }
.field__input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 107, 26, .25); background: rgba(255, 107, 26, .04); }
.field__input[aria-invalid="true"] { border-color: #ff6b4f; }
.field__label {
  position: absolute; left: 1rem; top: 1.15rem;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease), color .25s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 2rem);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-.68rem) scale(.76); color: var(--ember-2); }
.field__err { color: var(--err); font-size: .85rem; margin-top: .35rem; }
.field__err:empty { display: none; }
.field__count { position: absolute; right: .9rem; bottom: .55rem; font: 500 .7rem/1 var(--mono); color: var(--dim); }

.seg { border: 0; padding: 0; margin: 0 0 .9rem; min-width: 0; }
.seg__legend { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; padding: 0; }
.seg__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .9rem; color: var(--cream-2);
  transition: border-color .25s, background-color .25s, color .25s;
}
.seg__opt input:hover + span { border-color: var(--cream-2); }
.seg__opt input:checked + span { border-color: var(--ember); background: rgba(255, 107, 26, .12); color: var(--cream); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: .2rem .8rem; align-items: start; margin-top: .4rem; }
.check input {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin: 10px 0 0;
  border-radius: 7px; border: 1px solid var(--line-2);
  background: rgba(243, 231, 211, .04);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input::after { content: ""; width: 11px; height: 6px; border: 2px solid #1a0c05; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.check input:checked { background: var(--ember); border-color: var(--ember); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[aria-invalid="true"] { border-color: #ff6b4f; }
.check label { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; cursor: pointer; }
.check .field__err { grid-column: 2; margin-top: 0; }

.bk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.bk-nav [data-bk-next] { margin-left: auto; }
.bk-nav [hidden] { display: none; }
.booking.is-done .bk-nav, .booking.is-done .bk-progress, .booking.is-done .bk-bar, .booking.is-done .bk-summary { display: none; }

/* Ticket */
.bk-done { text-align: left; }
.ticket-wrap { position: relative; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(255, 107, 26, .18)); }
.ticket {
  --stub: 168px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 160, 71, .18), transparent 60%),
    #f4ead9;
  color: #22170f;
  border-radius: 16px;
  -webkit-mask:
    radial-gradient(circle 12px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 12px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 12px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 12px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.ticket__main { padding: 1.5rem 1.5rem 1.4rem; min-width: 0; }
.ticket__brand { display: flex; align-items: center; gap: .45rem; font: 400 1.15rem/1 var(--serif); }
.ticket__brand svg { fill: var(--ember); }
.ticket__status { margin-top: .9rem; font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #2f7a3a; }
.ticket__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; margin-top: 1.1rem; }
.ticket__wide { grid-column: 1 / -1; }
.ticket__dl dt { font: 500 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6d5a49; }
.ticket__dl dd { margin-top: .3rem; font: 400 1.12rem/1.2 var(--serif); overflow-wrap: anywhere; }
.ticket__wide dd { font-size: 1.3rem; }
.ticket__stub {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.3rem 1.2rem;
  border-left: 2px dashed rgba(34, 23, 15, .22);
  text-align: center;
}
.ticket__code-k { font: 500 .62rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #6d5a49; }
.ticket__code { margin-top: .4rem; font: 500 1.35rem/1 var(--mono); letter-spacing: .06em; color: #b8401a; }
.ticket__barcode { width: 100%; height: 44px; margin-top: .9rem; }
.ticket__barcode rect { fill: #22170f; }
.ticket__addr { margin-top: .7rem; font-size: .7rem; color: #6d5a49; }
.ticket__stamp {
  position: absolute; right: calc(var(--stub) + 18px); top: 18px;
  padding: .35rem .7rem;
  border: 3px double #c2321d; border-radius: 8px;
  font: 500 .8rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: #c2321d;
  transform: rotate(-12deg);
  opacity: .88;
  pointer-events: none;
}
.burst { position: absolute; left: 50%; top: 45%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.burst i {
  position: absolute; left: 0; top: 0;
  width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%;
  background: radial-gradient(circle, #fff3c4 0%, #ffa047 45%, rgba(255, 107, 26, 0) 72%);
  opacity: 0;
}
.bk-done.is-active .ticket-wrap { animation: ticketIn 1s var(--ease) both; }
.bk-done.is-active .ticket__stamp { animation: stampIn .55s cubic-bezier(.3, 1.6, .5, 1) .75s both; }
.bk-done.is-active .burst i { animation: burst 1.2s cubic-bezier(.15, .7, .3, 1) .55s both; }
@keyframes ticketIn {
  0% { opacity: 0; transform: translateY(46px) rotate(-2deg) scale(.95); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes stampIn { from { opacity: 0; transform: scale(2.4) rotate(-20deg); } to { opacity: .88; transform: scale(1) rotate(-12deg); } }
/* «ПОДТВЕРЖДЕНО» is longer than «CONFIRMADA»: tighter tracking keeps it clear of the brand on phones */
:lang(ru) .ticket__stamp { letter-spacing: .07em; }
@media (max-width: 380px) {
  .ticket__stamp { font-size: .66rem; padding: .3rem .55rem; right: 12px; }
}
@keyframes burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.2); }
}
.bk-done__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.bk-demo-note { margin-top: 1rem; font-size: .8rem; color: var(--dim); }

@media (max-width: 560px) {
  .ticket {
    --stub: 0px;
    grid-template-columns: 1fr;
    -webkit-mask:
      radial-gradient(circle 12px at 0 calc(100% - 132px), #0000 97%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 12px at 100% calc(100% - 132px), #0000 97%, #000) right / 51% 100% no-repeat;
    mask:
      radial-gradient(circle 12px at 0 calc(100% - 132px), #0000 97%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 12px at 100% calc(100% - 132px), #0000 97%, #000) right / 51% 100% no-repeat;
  }
  .ticket__stub { height: 132px; border-left: 0; border-top: 2px dashed rgba(34, 23, 15, .22); padding: .9rem 1.2rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 1rem; text-align: left; align-content: center; }
  .ticket__code-k { grid-column: 1; }
  .ticket__code { grid-column: 1; }
  .ticket__barcode { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; height: 46px; }
  .ticket__addr { grid-column: 1 / -1; }
  .ticket__stamp { right: 16px; top: 16px; }
  .bk-done__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .booking { padding: 14px; border-radius: 18px; }
  .bk-progress li:not(.is-current) .bk-progress__l { display: none; }
  .cal__dow, .cal__grid { gap: 2px; }
  .day, .day-blank { height: 46px; border-radius: 10px; }
  .stepper__btn { width: 52px; height: 52px; }
  /* «Назад» + «Забронировать» / «Atrás» + «Confirmar reserva» side by side on a 360px screen */
  .bk-nav { gap: .4rem; }
  .bk-nav .btn--text { padding: 0 .45em; }
  .bk-nav .btn--ember { padding: 0 1.15em; }
  .slots__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .slot { font-size: .92rem; }
}

/* ---------- Visit ---------- */
.visit { background: var(--bg); border-top: 1px solid var(--line); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
}
.open-now {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.8rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .9rem; color: var(--cream-2);
}
.open-now__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.open-now.is-open .open-now__dot { background: var(--ok); animation: live 2s infinite; }
.open-now.is-closed .open-now__dot { background: var(--ember); }
.hours { width: 100%; margin-top: 1.8rem; border-collapse: collapse; }
.hours th, .hours td { padding: 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { text-align: left; font-weight: 500; color: var(--cream); padding-right: 1rem; white-space: nowrap; }
.hours td { text-align: right; font: 400 .92rem/1.5 var(--mono); color: var(--muted); }
.hours .r { display: inline-block; white-space: nowrap; margin-left: 1rem; }
.hours .r--off { color: var(--dim); }
.hours tr.is-today th { color: var(--ember-2); }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin-right: .6rem; vertical-align: middle; box-shadow: 0 0 8px var(--ember); }
.hours tr.is-today td { color: var(--cream); }
.addr { margin-top: 2rem; }
.addr__street { font: 380 clamp(1.5rem, 2.2vw, 2rem)/1.2 var(--serif); }
.addr__list { list-style: none; margin-top: 1.1rem; display: grid; gap: .45rem; color: var(--muted); }
.addr__k { display: inline-block; min-width: 6.5rem; font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.addr__list a { color: var(--ember-2); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }

.map {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #1a1410;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9);
}
.map__svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.map__streets path { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .map:not(.is-in) .map__streets path, html.js .map:not(.is-in) .map__hl { stroke-dashoffset: 1; }
html.js .map:not(.is-in) .map__pin { opacity: 0; transform: translateY(-70px); }
html.js .map:not(.is-in) .map__route, html.js .map:not(.is-in) .map__metro, html.js .map:not(.is-in) .map__labels { opacity: 0; }
.map__hl { stroke-dasharray: 1; }
.map__streets path, .map__hl { transition: stroke-dashoffset 1.8s var(--ease-io); }
.map__streets path:nth-child(2) { transition-delay: .1s; }
.map__streets path:nth-child(3) { transition-delay: .2s; }
.map__streets path:nth-child(4) { transition-delay: .3s; }
.map__streets path:nth-child(5) { transition-delay: .4s; }
.map__streets path:nth-child(6) { transition-delay: .5s; }
.map__hl { transition-delay: .6s; }
.map__labels, .map__metro, .map__route { transition: opacity .8s ease .9s; }
.map__pin { transition: transform 1s cubic-bezier(.34, 1.56, .64, 1) 1.2s, opacity .3s ease 1.2s; }
.map__pulse { transform-box: fill-box; transform-origin: center; opacity: 0; }
.map__glow { transform-box: fill-box; transform-origin: center; }
.map.is-in .map__pulse { animation: pulse 2.6s ease-out 2s infinite; }
.map.is-in .map__pulse--2 { animation-delay: 3.3s; }
.map.is-in .map__glow { animation: glowFlick 3s ease-in-out infinite alternate; }
.map.is-in .map__route { animation: route 1.2s linear infinite; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
@keyframes glowFlick { 0% { opacity: .7; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } 100% { opacity: .8; transform: scale(1); } }
@keyframes route { to { stroke-dashoffset: -22; } }
.map__card {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: .3rem;
  padding: .85rem 1.1rem;
  border-radius: 14px;
  background: rgba(13, 10, 8, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  text-transform: none; letter-spacing: 0; font: inherit; color: inherit;
}
.map__card-k { font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ember-2); }
.map__card-v { font: 400 1.1rem/1.2 var(--serif); color: var(--cream); }

@media (max-width: 999px) {
  .visit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hours th { white-space: normal; }
  .hours .r { display: block; margin-left: 0; }
  .addr__k { min-width: 5.2rem; }
}

/* ---------- Final CTA ---------- */
.final { text-align: center; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; bottom: -40%;
  width: min(1200px, 120vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 107, 26, .28), rgba(194, 50, 29, .12) 35%, transparent 62%);
  pointer-events: none;
  animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .7; transform: translateX(-50%) scale(.96); } to { opacity: 1; transform: translateX(-50%) scale(1.04); } }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__title {
  font: 330 clamp(3rem, 9vw, 9.5rem)/.95 var(--serif);
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 144;
  margin-bottom: clamp(32px, 4vw, 56px);
  text-wrap: balance;
}

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; color: var(--muted); }
.footer__h { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.footer__col p { color: var(--cream-2); line-height: 1.8; }
.footer__col a { text-decoration: none; display: inline-block; padding-block: 10px; margin-block: -10px; }
.footer__col a:hover { color: var(--ember-2); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.footer__demo a { color: var(--cream); text-underline-offset: 3px; }
.footer__top { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; text-decoration: none; color: var(--cream-2); }
.footer__top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.footer__top:hover svg { transform: translateY(-3px); }
.footer__giant {
  margin: 0;
  font: 330 15.5vw/.78 var(--serif);
  letter-spacing: -.05em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 231, 211, .16);
  background: linear-gradient(180deg, rgba(255, 140, 60, .2) 0%, rgba(255, 107, 26, .06) 45%, rgba(255, 107, 26, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(12%);
  user-select: none;
  pointer-events: none;
}
@media (max-width: 899px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer { padding-bottom: 84px; }
}

/* ---------- Custom cursor (fine pointers only, created by JS) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor__ring, .cursor__dot { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 160, 71, .6);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ember-2); box-shadow: 0 0 10px var(--ember); }
.cursor.is-hover .cursor__ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(255, 107, 26, .12); border-color: rgba(255, 160, 71, .25); }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor__label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 0 12px;
  text-align: center;
  font: 500 .56rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--flame);
  opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .45s var(--ease);
}
.cursor.is-fire .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(255, 107, 26, .07); border-color: rgba(255, 160, 71, .45); }
.cursor.is-fire .cursor__label { opacity: 1; transform: none; }
.cursor__dot { transition: opacity .25s; }
.cursor.is-fire .cursor__dot { opacity: 0; }
.cursor.is-fire.is-down .cursor__ring { width: 80px; height: 80px; margin: -40px 0 0 -40px; }

/* ---------- Demo badge (neutral, design-agnostic) ---------- */
.demo-badge {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 2px;
  max-width: calc(100vw - 40px);
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 22, .8);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  color: #fff;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s;
}
.demo-badge a, .demo-badge button {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 12px;
  border-radius: 999px;
  color: #fff; text-decoration: none;
  background: transparent; border: 0; cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s;
}
.demo-badge a:hover, .demo-badge button:hover { background: rgba(255, 255, 255, .1); }
.demo-badge a:focus-visible, .demo-badge button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.demo-badge__back { gap: 6px; color: rgba(255, 255, 255, .78) !important; }
.demo-badge__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .2); }
.demo-badge strong { font-weight: 700; }
.demo-badge__cta { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); margin-left: .25em; }
.demo-badge__short { display: none; }
.demo-badge__close { width: 36px; justify-content: center; padding: 0 !important; color: rgba(255, 255, 255, .7) !important; }
.demo-badge__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.demo-badge.is-tucked { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }
.demo-badge.is-dismissed { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }
.demo-badge[hidden] { display: none; }
@media (max-width: 640px) {
  .demo-badge { left: 10px; bottom: max(10px, env(safe-area-inset-bottom)); max-width: calc(100vw - 20px); font-size: 12.5px; }
  .demo-badge__full, .demo-badge__back-t { display: none; }
  .demo-badge__short { display: inline; }
  .demo-badge a { padding: 0 10px; }
}
@media (pointer: coarse) {
  .demo-badge a, .demo-badge button { min-height: 44px; }
  .demo-badge__close { width: 44px; }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 899px) {
  .exp__track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: auto auto;
    grid-auto-columns: max-content;
    align-items: start;
    row-gap: clamp(28px, 6vw, 44px);
  }
  .exp__intro {
    grid-row: 1; grid-column: 1 / span 6;
    position: sticky; left: 0;
    width: calc(100vw - 2 * var(--gutter)); max-width: 560px;
    scroll-snap-align: none;
  }
  .exp__panel, .exp__outro { grid-row: 2; }
  .exp__panel--land, .exp__panel--port { width: min(80vw, 520px); }
  .exp__panel .exp__media { aspect-ratio: 4 / 3; }
  .exp__outro { width: min(78vw, 380px); align-self: center; }
  .exp__hint { display: inline-flex; margin-top: 1.6rem; }
  .exp__hint-desk { display: none; }
  .exp__hint-mob { display: inline; }
}
@media (max-width: 699px) {
  .final__title { font-size: clamp(3rem, 14vw, 5rem); }
}
@media (max-width: 560px) {
  .map__svg { aspect-ratio: 1 / 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
  .media img, .exp__media img { transform: none; }
  .burst { display: none; }
}
