/* Throne Studios — общие стили сайта.
   Тёплая ночь у огня: фон — чёрный с коричневым подтоном, акценты — янтарь и медь.
   Шрифты как в питч-деке: заголовки и подписи капсом — Exo 2, текст — DM Sans.
   Внутри телефона-демо свои цвета: это интерфейс самой игры (app/lib/core/theme.dart). */
:root {
  color-scheme: dark;
  --void: #0f0b0a;      /* фон: тёплый чёрный */
  --hull: #19130f;      /* приподнятые поверхности */
  --hull-hi: #231a15;
  --line: #31261f;      /* волосяные линии */
  --frost: #f4ebdf;     /* основной текст: пергамент */
  --haze: #b2a191;      /* второстепенный текст */
  --amber: #f0a75b;     /* акцент: свет лампы */
  --ember: #e2704e;     /* второй акцент: угли */
  --gold: #f3cf8e;
  --warm: linear-gradient(100deg, var(--gold) 0%, var(--amber) 45%, var(--ember) 100%);
  --veil: linear-gradient(100deg, #62e6bd 0%, #8fd0e6 45%, #a78bff 100%); /* цвета логотипа StoryVeil */

  --display: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --label: "Exo 2", system-ui, sans-serif;

  /* Интерфейс игры */
  --g-surface: rgba(34, 26, 46, .94);
  --g-surface-hi: #2e2440;
  --g-premium: #2b1e3f;
  --g-accent: #e0457b;
  --g-gem: #4fd1e8;
  --g-text: #f4eef8;
  --g-narr: rgba(0, 0, 0, .72);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 132px);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--void);
  color: var(--frost);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--void); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--frost); color: var(--void); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font: 600 13px/1.2 var(--label);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; }
h2 { font: 600 clamp(1.95rem, 3.7vw, 3.1rem)/1.08 var(--display); letter-spacing: -.01em; max-width: 20ch; }
.lead { margin: 22px 0 0; max-width: 62ch; color: var(--haze); font-size: clamp(1rem, 1.25vw, 1.125rem); }
.lead strong { color: var(--frost); font-weight: 500; }
.veil-text { background: var(--veil); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding-block: var(--section); border-top: 1px solid var(--line); }

.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.head-row .lead { margin: 0; }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin: 88px 0 24px; }
.sub-head h3 { font: 600 1.5rem/1.2 var(--display); }
.sub-head p { margin: 0; font-size: 14px; color: var(--haze); max-width: 56ch; }

/* ── Кнопки ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--frost); color: var(--void); }
.btn.primary:hover { background: #fff; }
.btn.ghost { border-color: var(--line); background: rgba(255,255,255,.02); }
.btn.ghost:hover { border-color: var(--haze); }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--frost); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--amber); }
.link-arrow::after { content: "→"; transition: translate .2s; }
.link-arrow:hover::after { translate: 3px 0; }

.pill {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px; padding: 9px 16px 9px 14px;
  border: 1px solid rgba(240,167,91,.35); border-radius: 99px;
  background: rgba(240,167,91,.07);
  font: 600 12.5px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--amber);
}
.live {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber);
  animation: live 2.4s ease-out infinite;
}
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(240,167,91,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(240,167,91,0); } }

/* ── Шапка ─────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,11,10,.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-head.scrolled { border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 8px 12px; border-radius: 8px;
  font: 500 14.5px/1 var(--body); color: var(--haze); text-decoration: none; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--frost); background: rgba(255,255,255,.04); }
.nav a[aria-current="page"] { color: var(--frost); }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: 14px; margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; margin-inline: auto; background: var(--frost); transition: transform .25s, background-color .25s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ── Первый экран ─────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-top: 0; padding-block: 0 var(--section); }
#motes {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 65% 85% at 72% 55%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 65% 85% at 72% 55%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center; gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(28px, 5vw, 64px);
}
.hero h1 { font: 600 clamp(2.1rem, 4vw, 3.45rem)/1.05 var(--display); letter-spacing: -.015em; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 50ch; }
.hero-logo { width: min(78%, 360px); height: auto; margin-bottom: 30px; }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 44px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line); max-width: 560px;
}
.facts li { padding: 18px 18px 0 0; min-width: 0; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 600 clamp(1.5rem, 2.3vw, 2rem)/1.1 var(--display); }
.facts span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--haze); }

.device-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
[data-player] { position: relative; isolation: isolate; display: flex; justify-content: center; width: 100%; }
/* Свет текущей сцены игры за телефоном: размытый фон, меняется вместе со сценой. */
.ambient {
  position: absolute; inset: -10% -62%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}
.ambient img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(56px) saturate(1.5) brightness(1.25); transform: scale(1.1);
  opacity: 0; transition: opacity 1.4s ease;
}
.ambient img.on { opacity: .55; }
/* Страница StoryVeil: свет под демо и акценты первого экрана — в цвет кнопки внутри игры,
   чтобы с первого взгляда было видно, что это не главная. */
.hero-veil .ambient img.on { opacity: .3; }
.hero-veil .ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(224,69,123,.5), rgba(224,69,123,.12) 60%, transparent); }
.hero-veil .phone { box-shadow: 0 0 0 1px #40312a, inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 70px -30px rgba(0,0,0,.7), 0 0 140px -30px rgba(224,69,123,.55); }
.hero-veil .pill { border-color: rgba(224,69,123,.4); background: rgba(224,69,123,.08); color: #f27aa5; }
.hero-veil .live { background: var(--g-accent); animation-name: live-veil; }
@keyframes live-veil { 0% { box-shadow: 0 0 0 0 rgba(224,69,123,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(224,69,123,0); } }
.hero-veil .eyebrow { color: #f27aa5; }
.hero-veil .eyebrow::before { background: var(--g-accent); box-shadow: 0 0 12px var(--g-accent); }
.hero-veil .btn.primary { background: var(--g-accent); color: #fff; box-shadow: 0 10px 28px -10px rgba(224,69,123,.75); }
.hero-veil .btn.primary:hover { background: #e9578b; }
.device-note { max-width: 330px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--haze); text-align: center; }
.device-note i { font-style: normal; color: var(--g-gem); }

/* ── Телефон и игра ───────────────────────────────── */
.phone {
  position: relative; width: min(100%, 350px); aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 54px;
  background: linear-gradient(150deg, #3b2d25 0%, #150f0c 38%, #0d0907 70%, #2f231c 100%);
  box-shadow: 0 0 0 1px #40312a, inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 70px -30px rgba(0,0,0,.7), 0 0 120px -40px rgba(226,112,78,.3);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 44px; overflow: hidden; isolation: isolate;
  background: #000; cursor: pointer; container-type: size;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.screen:focus-visible { outline-offset: 6px; }
.bg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; z-index: 0; }
.bg.show { opacity: 1; }
.bg.top { z-index: 1; }
.bg img, .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg video { opacity: 0; transition: opacity .5s; }
.bg video.on { opacity: 1; }
.stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fig {
  position: absolute; bottom: 0; height: 78cqh; width: 39cqh;
  left: calc(var(--x, .5) * 100cqw - 19.5cqh);
  transform-origin: 50% 100%;
  transition: left .35s ease-out, transform .2s, opacity .2s;
}
.fig img { width: 100%; height: 100%; object-fit: contain; }
.fig.dim { transform: scale(.95); opacity: .7; }
.fig.in-fade { animation: figFade .4s ease-out backwards; }
.fig.in-right { animation: figRight .45s cubic-bezier(.2,.8,.2,1) backwards; }
.fig.out-fade { animation: figFade .35s ease-in reverse forwards; }
.fig.out-right { animation: figRight .4s ease-in reverse forwards; }
@keyframes figFade { from { opacity: 0; } }
@keyframes figRight { from { opacity: 0; translate: 45cqw 0; } }
.hero-portrait {
  position: absolute; bottom: 0; z-index: 3; height: 80cqh; width: 40cqh; left: -3.2cqh;
  translate: -110% 0; opacity: 0; transition: translate .26s cubic-bezier(.2,.8,.2,1), opacity .2s; pointer-events: none;
}
.hero-portrait.on { translate: 0 0; opacity: 1; }
.hero-portrait img { width: 100%; height: 100%; object-fit: contain; }
.status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 9;
  display: flex; justify-content: space-between; align-items: center;
  padding: 3.6cqw 8cqw 0 9cqw; height: 11cqw;
  font: 600 3.7cqw/1 var(--body); color: #fff; pointer-events: none;
}
.status .icons { display: flex; gap: 1.4cqw; align-items: center; }
.status .icons i { display: block; background: #fff; border-radius: 1px; }
.island { position: absolute; top: 2.6cqw; left: 50%; translate: -50% 0; z-index: 10; width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000; }
.hud { position: absolute; top: 13cqw; left: 4.5cqw; right: 4.5cqw; z-index: 8; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.chip {
  padding: 1.6cqw 3.2cqw; border-radius: 99px;
  background: rgba(10,14,22,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1); font: 600 3.3cqw/1 var(--body); color: var(--g-text);
}
.gems { display: flex; align-items: center; gap: 1.4cqw; }
.gems svg { width: 3.6cqw; height: 3.6cqw; color: var(--g-gem); }
.gems.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.18); border-color: var(--g-gem); } }
.ui { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; z-index: 5; display: flex; flex-direction: column; gap: 3cqw; }
.dlg {
  position: relative; min-height: 30cqw; padding: 6.6cqw 5.2cqw 5.2cqw; border-radius: 18px;
  background: var(--g-surface); border: 1.5px solid color-mix(in srgb, var(--spk, #fff) 70%, transparent);
  color: var(--g-text); font: 400 4.3cqw/1.45 var(--body); animation: dlgIn .18s ease-out;
}
@keyframes dlgIn { from { opacity: .4; } }
.dlg.narr { background: var(--g-narr); border-color: rgba(255,255,255,.12); text-align: center; font-style: italic; }
.dlg.thought { border-radius: 28px; font-style: italic; }
.plate { position: absolute; left: 4cqw; top: -4.4cqw; padding: 1.5cqw 3.8cqw; border-radius: 12px; background: var(--spk, #555); font: 700 3.8cqw/1.2 var(--body); font-style: normal; color: #fff; }
.dlg.narr .plate { display: none; }
.dlg.thought .plate { background: var(--g-surface-hi); }
.txt { margin: 0; }
.txt .rest { color: transparent; }
.dlg.done::after {
  content: ""; position: absolute; right: 4cqw; bottom: 3.2cqw;
  border: 1.4cqw solid transparent; border-top-color: rgba(244,238,248,.7); border-bottom: 0;
  animation: nudge 1.1s ease-in-out infinite;
}
@keyframes nudge { 50% { translate: 0 .9cqw; } }
.choices { display: flex; flex-direction: column; gap: 2.6cqw; }
.choice {
  display: flex; align-items: center; gap: 3cqw; width: 100%; text-align: left; cursor: pointer;
  padding: 4cqw 4.8cqw; border-radius: 16px; background: rgba(34,26,46,.95); border: 1px solid rgba(255,255,255,.24);
  color: var(--g-text); font: 600 4.05cqw/1.3 var(--body);
  animation: choiceIn .25s ease-out backwards; animation-delay: calc(var(--i, 0) * 80ms);
  transition: background .15s, border-color .15s;
}
.choice:hover { background: rgba(46,36,64,.98); }
.choice span:first-child { flex: 1; min-width: 0; }
.choice.premium { background: var(--g-premium); border: 1.8px solid var(--g-gem); }
.price { display: flex; align-items: center; gap: 1cqw; color: var(--g-gem); font-weight: 800; }
.price svg { width: 3.8cqw; height: 3.8cqw; }
@keyframes choiceIn { from { opacity: 0; translate: 0 4cqw; } }
.blackout { position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; transition: opacity .38s; pointer-events: none; }
.blackout.on { opacity: 1; }
.titlecard {
  position: absolute; inset: 0; z-index: 7; display: grid; place-items: center;
  font: 600 5.6cqw/1 var(--display); letter-spacing: .3em; text-indent: .3em;
  color: #e3ecf7; text-shadow: 0 0 18px rgba(143,184,216,.55);
  opacity: 0; transition: opacity .6s; pointer-events: none;
}
.titlecard.on { opacity: 1; animation: titleIn 2.4s ease-out; }
@keyframes titleIn {
  0% { letter-spacing: .7em; filter: blur(6px); }
  8% { translate: 1.2cqw 0; } 10% { translate: -1cqw 0; } 12% { translate: 0 0; }
  45% { letter-spacing: .34em; filter: blur(0); }
}
.overlay { position: absolute; inset: 0; z-index: 11; display: flex; flex-direction: column; justify-content: flex-end; padding: 8cqw 7cqw 9cqw; cursor: default; }
.start { background: linear-gradient(to top, rgba(6,12,24,.97) 0%, rgba(6,12,24,.82) 40%, rgba(6,12,24,0) 72%); }
.start .meta { display: flex; gap: 2cqw; margin-bottom: 3.6cqw; }
.start .meta span { padding: 1.3cqw 2.8cqw; border-radius: 99px; font: 600 3.1cqw/1 var(--body); color: var(--g-text); background: rgba(255,255,255,.1); }
.start h3 { font: 600 8.8cqw/1.05 var(--display); letter-spacing: -.01em; color: #fff; }
.start p { margin: 3.4cqw 0 6cqw; font: 400 3.8cqw/1.5 var(--body); color: rgba(244,238,248,.82); }
.btn-game {
  display: flex; align-items: center; justify-content: center; gap: 2cqw;
  width: 100%; height: 13.6cqw; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--g-accent); color: #fff; font: 700 4.3cqw/1 var(--body);
  box-shadow: 0 8px 24px -8px rgba(224,69,123,.7);
}
.btn-game:hover { filter: brightness(1.08); }
.btn-game.ghost { background: transparent; border: 1.5px solid rgba(244,238,248,.4); box-shadow: none; }
.start small { display: block; margin-top: 3cqw; text-align: center; font: 500 3.1cqw/1.3 var(--body); color: rgba(244,238,248,.6); }
.end { justify-content: center; gap: 4cqw; background: rgba(5,10,19,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.end h3 { font: 600 7.2cqw/1.1 var(--display); color: #fff; }
.end p { margin: 0; font: 400 3.8cqw/1.5 var(--body); color: rgba(244,238,248,.78); }
.memory { display: flex; flex-wrap: wrap; gap: 2cqw; margin: 0; padding: 0; list-style: none; }
.memory li { padding: 1.8cqw 3cqw; border-radius: 10px; background: rgba(143,184,216,.12); border: 1px solid rgba(143,184,216,.28); font: 600 3.4cqw/1.2 var(--body); color: var(--g-text); }
.memory li.paid { background: rgba(79,209,232,.12); border-color: var(--g-gem); color: var(--g-gem); }

/* ── Игра: карточка StoryVeil ─────────────────────── */
.game-card {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  margin-top: 64px; padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(240,167,91,.09), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(226,112,78,.1), transparent 55%), var(--hull);
}
.app-icon { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; object-fit: cover; justify-self: center; border-radius: 22.5%; box-shadow: 0 30px 70px -24px rgba(0,0,0,.95), 0 0 90px -20px rgba(226,112,78,.45); }
.game-card h3 { font: 600 clamp(2rem, 3.4vw, 2.7rem)/1.05 var(--display); letter-spacing: -.01em; }
.game-card > div > p { margin: 16px 0 0; color: var(--haze); max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--frost); background: rgba(255,255,255,.02); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.store {
  display: flex; align-items: center; gap: 10px; min-width: 168px; padding: 10px 16px 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #000; text-decoration: none;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.2; color: var(--haze); }
.store b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.store.soon { opacity: .85; }

/* ── Списки возможностей ──────────────────────────── */
.grid-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; margin: 64px 0 0; padding: 0; list-style: none; }
.grid-list li { padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.grid-list .ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: var(--hull-hi); border: 1px solid var(--line); color: var(--amber); }
.grid-list .ico svg { width: 20px; height: 20px; }
.grid-list h3 { font: 600 1.25rem/1.25 var(--display); }
.grid-list p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--haze); }

/* Цифры об игре, как карточки на слайде «What Storyveil is» в питч-деке. */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 36px; margin: 56px 0 0; padding: 0; list-style: none; }
.numbers li { padding-top: 20px; border-top: 1px solid var(--line); min-width: 0; }
.numbers b { display: block; font: 700 clamp(2.2rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -.01em; color: var(--amber); }
.numbers strong { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--frost); }
.numbers span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--haze); }

/* ── «Как это устроено»: мини-сцены в стиле интерфейса игры ── */
.features > li { display: flex; flex-direction: column; }
.viz {
  position: relative; isolation: isolate; overflow: hidden;
  height: 210px; margin: 0 0 22px; padding: 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--hull-hi);
  font-family: var(--body); list-style: none;
  transition: border-color .3s, transform .3s cubic-bezier(.2,.8,.2,1);
}
.features > li:hover .viz { border-color: rgba(240,167,91,.35); transform: translateY(-3px); }
.viz .vz-note { position: relative; margin: 0; font: 500 13px/1.35 var(--body); color: var(--haze); transition: color .3s; }
.vz-choice {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 10px 14px; border-radius: 12px; cursor: pointer; text-align: left;
  background: rgba(34,26,46,.92); border: 1px solid rgba(255,255,255,.22);
  color: var(--g-text); font: 600 14px/1.25 var(--body);
  transition: opacity .3s, transform .3s, background-color .2s, border-color .2s;
}
.vz-choice:hover { background: rgba(46,36,64,.98); }
.vz-choice.premium { background: var(--g-premium); border: 1.6px solid var(--g-gem); }
.vz-choice .price { display: flex; align-items: center; gap: 4px; color: var(--g-gem); font-weight: 800; }
.vz-choice svg { width: 14px; height: 14px; }

/* 1. Решения: сцена в зале управления и два ответа */
.viz-choices { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.vz-bgimg { position: absolute; inset: 0; z-index: -2; background: center 35% / cover; }
.viz-choices::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,11,10,.92) 30%, rgba(15,11,10,.3)); }
.viz .vz-line { margin: 0 0 auto; font: italic 400 14px/1.4 var(--body); color: rgba(244,238,248,.85); }
.viz-choices.chosen .vz-choice:not(.picked) { opacity: .25; transform: scale(.97); }
.viz-choices .vz-choice.picked { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(240,167,91,.18); }
.viz-choices.chosen .vz-note { color: var(--amber); }

/* 2. Отношения: портреты и шкалы */
.viz-rel { display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 90% at 50% 0%, rgba(226,112,78,.16), transparent 60%), var(--hull-hi); }
.vz-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vz-person { display: grid; justify-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; cursor: pointer; color: var(--frost); }
.vz-face { position: relative; width: 74px; height: 74px; border-radius: 50%; overflow: hidden; background: #2a201b; border: 2px solid var(--line); transition: border-color .3s, transform .3s; }
.vz-face img { position: absolute; width: 250%; max-width: none; left: -76%; top: -34%; }
.vz-person:hover .vz-face, .vz-person.up .vz-face { border-color: var(--amber); transform: translateY(-3px); }
.vz-name { font: 600 .95rem/1 var(--display); }
.vz-bar { width: 100%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.vz-bar i { display: block; height: 100%; width: calc(var(--lvl) * 100%); border-radius: inherit; background: var(--warm); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.vz-person.up .vz-bar i { width: calc(min(1, var(--lvl) + .25) * 100%); }

/* 3. Особый выбор: кристаллы списываются, сцена открывается */
.viz-premium { display: flex; flex-direction: column; justify-content: center; gap: 14px; background: radial-gradient(90% 80% at 50% 45%, rgba(79,209,232,.14), transparent 70%), #17121f; }
.vz-gems { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: rgba(10,14,22,.6); border: 1px solid rgba(255,255,255,.12); font: 700 13px/1 var(--body); color: var(--g-text); }
.vz-gems svg { width: 13px; height: 13px; color: var(--g-gem); }
.vz-gems.bump { animation: bump .5s; }
.viz-premium .vz-choice.premium { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 22px -4px rgba(79,209,232,.55); } }
.viz-premium.done .vz-choice.premium { animation: none; background: rgba(79,209,232,.16); }
.viz-premium.done .vz-note { color: var(--g-gem); }

/* 4. Живая сцена: видео-фон, героиня и печатающийся текст */
.viz-live { padding: 0; }
.viz-live .vz-bg, .viz-live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.viz-live video { opacity: 0; transition: opacity .6s; }
.viz-live video.on { opacity: 1; }
.vz-fig { position: absolute; right: -4%; bottom: -52%; width: 46%; z-index: -1; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.features > li:hover .vz-fig { transform: translateX(-6%); }
.viz .vz-dlg { position: absolute; left: 10px; right: 10px; bottom: 10px; margin: 0; min-height: 64px; padding: 16px 12px 10px; border-radius: 12px; background: var(--g-surface); border: 1.5px solid rgba(217,138,92,.7); color: var(--g-text); font: 400 13px/1.4 var(--body); }
.vz-dlg b { position: absolute; left: 10px; top: -10px; padding: 3px 9px; border-radius: 8px; background: #d98a5c; color: #fff; font: 700 11px/1.2 var(--body); }

/* 5. Главы: список, новая подсвечена */
.viz-chapters { display: grid; align-content: center; gap: 8px; margin-top: 0; }
.viz-chapters li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.features > li:hover .viz-chapters li { transform: translateX(6px); }
.features > li:hover .viz-chapters li:nth-child(2) { transition-delay: .05s; }
.features > li:hover .viz-chapters li:nth-child(3) { transition-delay: .1s; }
.vz-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--hull); font: 700 1.05rem/1 var(--display); color: var(--amber); }
.vz-title { flex: 1; min-width: 0; }
.vz-title b { display: block; font: 600 14px/1.2 var(--body); }
.vz-title small { display: block; font-size: 12px; color: var(--haze); }
.viz-chapters em { font: 600 11px/1 var(--label); text-transform: uppercase; letter-spacing: .1em; font-style: normal; color: var(--haze); }
.viz-chapters em svg { width: 15px; height: 15px; }
.viz-chapters .new { border-color: rgba(240,167,91,.45); background: rgba(240,167,91,.07); }
.viz-chapters .new em { padding: 5px 9px; border-radius: 99px; background: var(--warm); color: var(--void); font-weight: 700; animation: live 2.4s ease-out infinite; }
.viz-chapters .lock { opacity: .55; }

/* 6. Прогресс: два устройства и точка синхронизации между ними */
.viz-sync { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 18px 20px 40px; }
.vz-device { display: grid; justify-items: center; gap: 8px; }
.vz-device small { font: 600 11px/1 var(--label); text-transform: uppercase; letter-spacing: .1em; color: var(--haze); }
.vz-device .vz-shot { display: block; border: 3px solid #3b2d25; background: center / cover; box-shadow: 0 12px 30px -14px #000; position: relative; overflow: hidden; }
.vz-device .vz-shot::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 8%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) 64%, rgba(255,255,255,.25) 64%); }
.vz-phone .vz-shot { width: 58px; height: 112px; border-radius: 12px; }
.vz-tablet .vz-shot { width: 104px; height: 128px; border-radius: 12px; }
.vz-link { position: relative; height: 40px; }
.vz-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed rgba(240,167,91,.45); }
.vz-link i { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: sync 2.6s ease-in-out infinite; }
@keyframes sync { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
.vz-cloud { position: absolute; left: 50%; top: -18px; translate: -50% 0; color: var(--amber); }
.vz-cloud svg { width: 24px; height: 24px; }
.viz-sync .vz-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; }

/* ── Локации и персонажи ──────────────────────────── */
.reel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.reel > * { scroll-snap-align: start; flex: none; }
.loc { margin: 0; width: 172px; }
.loc .frame { position: relative; aspect-ratio: 9 / 19.5; border-radius: 20px; overflow: hidden; background: var(--hull); border: 1px solid var(--line); }
.loc img, .loc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc video { opacity: 0; transition: opacity .6s; }
.loc video.on { opacity: 1; }
.loc figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--haze); }
.loc figcaption b { display: block; color: var(--frost); font-weight: 600; }
.cast { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cast::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 70%;
  background: radial-gradient(closest-side, rgba(226,112,78,.2), transparent); pointer-events: none;
}
.cast li { position: relative; min-width: 0; cursor: pointer; }
.cast .fig-wrap {
  aspect-ratio: 1 / 2;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 98%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.cast img { width: 100%; height: 100%; object-fit: contain; }
.cast:hover li:not(:hover) .fig-wrap { opacity: .55; }
.cast li:hover .fig-wrap, .cast li.alt .fig-wrap { transform: translateY(-8px); }
.cast .who { margin-top: -28px; position: relative; padding-inline: 4px; }
.cast .who b { display: block; font: 600 1.15rem/1.2 var(--display); }
.cast .who span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--haze); }

.story-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: start; margin-top: 56px; }
.story-intro p { margin: 0; color: var(--haze); font-size: clamp(1rem, 1.25vw, 1.1rem); }
.story-intro p + p { margin-top: 16px; }
.story-meta { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.story-meta li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.story-meta span { color: var(--haze); }
.story-meta b { font-weight: 500; text-align: right; }

/* ── Студия ───────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 64px 0 0; padding: 0; list-style: none; }
.pillar {
  position: relative; overflow: hidden; min-width: 0;
  padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(240,167,91,.1), transparent 60%), var(--hull);
}
.pillar + .pillar { background: radial-gradient(90% 120% at 100% 0%, rgba(226,112,78,.11), transparent 60%), var(--hull); }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.pillar-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--warm); color: var(--void); box-shadow: 0 12px 30px -12px rgba(240,167,91,.6); }
.pillar-ico svg { width: 26px; height: 26px; }
.pillar-num { font: 700 clamp(3rem, 5.2vw, 4.2rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(240,167,91,.45); }
.pillar h3 { font: 600 clamp(1.5rem, 2.4vw, 1.95rem)/1.12 var(--display); }
.pillar > p { margin: 14px 0 0; color: var(--haze); max-width: 52ch; }
.pillar .tags { margin-top: 24px; }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 64px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.timeline li { padding: 28px 28px 32px; border-right: 1px solid var(--line); min-width: 0; }
.timeline li:last-child { border-right: 0; }
.timeline li.now { background: var(--hull); }
.timeline .when { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.timeline .now .when { color: var(--amber); }
.timeline h3 { margin-top: 16px; font: 600 1.3rem/1.25 var(--display); }
.timeline p { margin: 10px 0 0; font-size: 15px; color: var(--haze); }

/* ── Шапка внутренних страниц ─────────────────────── */
.page-hero { position: relative; overflow: hidden; border-top: 0; padding-block: clamp(48px, 8vw, 112px) clamp(56px, 8vw, 96px); }
.page-hero h1 { font: 600 clamp(2.3rem, 5.2vw, 4.3rem)/1.04 var(--display); letter-spacing: -.015em; max-width: 15ch; }
.page-hero .glow {
  position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(226,112,78,.16), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(240,167,91,.1), transparent 70%);
  pointer-events: none;
}
.mail { display: inline-block; margin-top: 30px; font: 600 clamp(1.5rem, 3vw, 2.3rem)/1.2 var(--display); text-decoration: none; overflow-wrap: anywhere; }
a.mail { border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
a.mail:hover { border-color: var(--amber); color: var(--gold); }
.mail-big { margin-top: 4px; font-size: clamp(2rem, 5vw, 3.6rem); }

/* ── About us ─────────────────────────────────────── */
.about-hero .lead + .lead { margin-top: 16px; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.founder {
  min-width: 0; padding: clamp(24px, 3.2vw, 40px); border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(90% 60% at 100% 0%, rgba(240,167,91,.09), transparent 60%), var(--hull);
  scroll-margin-top: 96px; display: flex; flex-direction: column;
}
.founder + .founder { background: radial-gradient(90% 60% at 100% 0%, rgba(226,112,78,.1), transparent 60%), var(--hull); }
.founder-head { display: flex; align-items: center; gap: 20px; }
.founder-photo { flex: none; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--warm); }
.founder h3 { font: 600 clamp(1.4rem, 2.2vw, 1.75rem)/1.15 var(--display); }
.founder-role { margin: 8px 0 0; font: 600 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.founder-intro { margin: 24px 0 0; font-size: 1.05rem; color: var(--frost); }
.founder-facts { margin: 22px 0 0; }
.founder-facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.founder-facts dt { font: 600 12px/1.3 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--haze); }
.founder-facts dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--frost); opacity: .88; }
.founder em, .grid-list em { font-style: normal; color: var(--gold); }
.founder-links { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 8px; padding: 0; list-style: none; }
.founder-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s;
}
.founder-links a:hover { border-color: var(--amber); color: var(--gold); }
.founder-links svg { width: 16px; height: 16px; }

.callout {
  position: relative; margin-top: 56px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(240,167,91,.3); background: linear-gradient(100deg, rgba(240,167,91,.1), rgba(226,112,78,.04) 60%, transparent), var(--hull);
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--warm); }
.callout p { margin: 0; max-width: 78ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; }
.callout strong { color: var(--gold); font-weight: 600; }

.stages h3 { font-size: 1.2rem; }
.stages h3 + p { margin-bottom: 18px; }
.stages p:last-child { margin-bottom: 0; }
.stages li:first-child { background: var(--hull); }
.stages li:first-child .when { color: var(--amber); }
.stage-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid currentColor; font: 700 13px/1 var(--display); letter-spacing: 0; }

.ask { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.ask > div { min-width: 0; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: var(--hull); }
.ask .ask-main {
  border-color: rgba(240,167,91,.45);
  background: radial-gradient(120% 90% at 0% 0%, rgba(240,167,91,.16), transparent 60%), var(--hull-hi);
  box-shadow: 0 30px 80px -40px rgba(226,112,78,.55);
}
.ask-k { margin: 0; font: 600 12.5px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.ask-sum {
  margin: 14px 0 0; font: 700 clamp(2.6rem, 5vw, 3.8rem)/1 var(--display); letter-spacing: -.02em;
  background: var(--warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ask > div > p:not(.ask-k):not(.ask-sum) { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--haze); }
.ask-main > p:not(.ask-k):not(.ask-sum) { color: var(--frost) !important; }
.ask .tags { margin-top: 20px; }

/* ── Финал страницы ───────────────────────────────── */
.finale { position: relative; overflow: hidden; padding-block: clamp(96px, 13vw, 170px); }
.finale-bg {
  position: absolute; inset: 0; z-index: 0;
  background: center 58% / cover no-repeat; opacity: .4;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.finale::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--void) 0%, transparent 25%, transparent 75%, var(--void) 100%); }
.finale .wrap { position: relative; z-index: 1; }
.finale h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 16ch; }
.finale p { margin: 26px 0 0; max-width: 48ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--frost); opacity: .85; }

/* ── Подвал ───────────────────────────────────────── */
.site-foot { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.foot-grid img { height: 30px; width: auto; }
.foot-grid > div > p { margin: 16px 0 0; max-width: 40ch; font-size: 14px; color: var(--haze); }
.foot-grid h2 { margin: 0 0 14px; font: 600 13px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot-grid ul a { color: var(--frost); text-decoration: none; font-size: 15px; }
.foot-grid ul a:hover { color: var(--amber); }
.foot-grid ul .muted { color: var(--haze); font-size: 15px; }
.foot-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--haze); }

/* ── Узкие экраны ─────────────────────────────────── */
@media (max-width: 1000px) {
  .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline li:last-child { border-bottom: 0; }
  .ask { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask .ask-main { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  #motes { -webkit-mask-image: radial-gradient(ellipse 100% 50% at 50% 70%, #000 25%, transparent 85%); mask-image: radial-gradient(ellipse 100% 50% at 50% 70%, #000 25%, transparent 85%); }
  .ambient { inset: -8% -18%; }
  .head-row, .story-intro, .pillars, .founders { grid-template-columns: minmax(0, 1fr); }
  .game-card { grid-template-columns: minmax(0, 1fr); }
  .app-icon { max-width: 180px; }
  .cast { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .cast li { flex: none; width: 44vw; max-width: 220px; scroll-snap-align: start; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 20px; background: var(--void); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .2s, translate .2s, visibility 0s .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .2s, translate .2s; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 14px 0 0; min-height: 48px; }
  .brand img { height: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .br-wide { display: none; }
  .hero .lead { font-size: 1rem; }
  .hero-logo { margin-bottom: 26px; }
  .facts { margin-top: 32px; }
  .facts li { padding: 14px 10px 0 0; }
  .facts li + li { padding-left: 10px; }
  .facts b { font-size: 1rem; }
  .facts span { font-size: 12px; }
  .grid-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ask { grid-template-columns: minmax(0, 1fr); }
  .founder-head { gap: 16px; }
  .founder-photo { width: 76px; height: 76px; }
  .actions .btn { flex: 1 1 100%; }
  .loc { width: 148px; }
  .store { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
