/* Fallen Souls landing. Палитра: уголь, пепел, кость, кроваво-янтарный, призрачная бирюза. */

@font-face { font-family: "Cormorant Unicase"; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/cormorant-unicase-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Unicase"; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/cormorant-unicase-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Unicase"; font-weight: 700; font-display: swap;
  src: url(../assets/fonts/cormorant-unicase-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Unicase"; font-weight: 700; font-display: swap;
  src: url(../assets/fonts/cormorant-unicase-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: italic; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-cyrillic-400-italic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: italic; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap;
  src: url(../assets/fonts/alegreya-sans-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fs-coal: #16131a;      /* уголь, фон */
  --fs-coal-2: #1f1a22;    /* приподнятая поверхность */
  --fs-soot: #2c2530;      /* линии, рамки */
  --fs-ash: #a59d94;       /* пепел, второстепенный текст (7:1 на угле) */
  --fs-bone: #ece4d6;      /* кость, основной текст */
  --fs-ember: #e7a44a;     /* янтарь, действие */
  --fs-blood: #b8432c;     /* кровь, глубина акцента */
  --fs-soul: #8ff0df;      /* призрачная бирюза, души и руны */
  --fs-display: "Cormorant Unicase", "Palatino Linotype", Georgia, serif;
  --fs-text: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --fs-wrap: 1180px;
  --fs-pad: clamp(20px, 5vw, 56px);
  --fs-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--fs-coal); color: var(--fs-bone);
  font: 400 1.125rem/1.6 var(--fs-text);
  font-kerning: normal; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--fs-ember); text-underline-offset: .2em; }
a:hover { color: #f3c27a; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font: 700 clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem)/1 var(--fs-display); letter-spacing: .01em; }
h3 { font: 700 1.5rem/1.15 var(--fs-display); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fs-soul); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; 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; background: var(--fs-bone); color: var(--fs-coal); border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--fs-wrap); margin: 0 auto; padding: 0 var(--fs-pad); }

/* ---------- Атмосфера: туман и души ---------- */
.atmo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.souls { position: absolute; inset: 0; width: 100%; height: 100%; }
.fog {
  position: absolute; left: -50%; width: 200%; height: 60%;
  background-repeat: repeat-x; background-size: 50% 100%;
  will-change: transform;
}
.fog--far {
  top: 4%; opacity: .5;
  background-image:
    radial-gradient(22% 30% at 25% 60%, rgba(143, 240, 223, .07), rgba(143, 240, 223, 0) 70%),
    radial-gradient(20% 25% at 72% 40%, rgba(165, 157, 148, .08), rgba(165, 157, 148, 0) 70%);
  animation: fog-drift 90s linear infinite;
}
.fog--near {
  bottom: -6%; opacity: .7;
  background-image:
    radial-gradient(24% 28% at 28% 80%, rgba(236, 228, 214, .06), rgba(236, 228, 214, 0) 70%),
    radial-gradient(22% 30% at 74% 70%, rgba(231, 164, 74, .05), rgba(231, 164, 74, 0) 70%);
  animation: fog-drift 60s linear infinite reverse;
}
@keyframes fog-drift { to { transform: translate3d(-50%, 0, 0); } }

main, .foot, .nav { position: relative; z-index: 1; }

/* ---------- Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--fs-pad);
  background: linear-gradient(rgba(22, 19, 26, .96), rgba(22, 19, 26, .88));
  border-bottom: 1px solid rgba(165, 157, 148, .12);
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--fs-bone); text-decoration: none; font: 700 1.25rem/1 var(--fs-display); }
.nav__brand:hover { color: var(--fs-bone); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--fs-ash); text-decoration: none; font-size: 1rem; padding: 6px 0; }
.nav__links a:hover { color: var(--fs-bone); }
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn--small { margin-left: auto; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 700 1.0625rem/1 var(--fs-text); letter-spacing: .01em;
  color: #1c120b; background: var(--fs-ember);
  border: 1px solid #f0bb6c; border-radius: 3px 14px 3px 14px;
  box-shadow: 0 0 0 0 rgba(231, 164, 74, 0), inset 0 -3px 0 rgba(120, 50, 20, .35);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, box-shadow .25s var(--fs-ease), transform .2s var(--fs-ease);
}
.btn:hover { color: #1c120b; background: #f0b45f; box-shadow: 0 0 28px 2px rgba(231, 164, 74, .35), inset 0 -3px 0 rgba(120, 50, 20, .35); }
.btn:active { transform: translateY(1px); }
.btn--ghost { color: var(--fs-bone); background: rgba(143, 240, 223, .04); border-color: rgba(143, 240, 223, .45); box-shadow: none; }
.btn--ghost:hover { color: var(--fs-bone); background: rgba(143, 240, 223, .1); box-shadow: 0 0 24px rgba(143, 240, 223, .2); }
.btn--ghost svg { color: var(--fs-soul); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px);
  display: grid; place-items: center;
  padding: 48px var(--fs-pad) 160px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(143, 240, 223, .07), transparent 70%),
    radial-gradient(80% 50% at 50% 100%, rgba(184, 67, 44, .22), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 22px; max-width: 760px; will-change: transform; }
.hero__mark { position: relative; width: min(680px, 88vw); }
.hero__logo { margin: 0; }
.logo { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .6)); }
.logo-o { filter: drop-shadow(0 0 40px rgba(143, 240, 223, .7)); }
/* Падающая душа вынесена в отдельный слой, чтобы не перерисовывать логотип с фильтрами. */
.logo-fx { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.logo-drop { animation: soul-fall 4.8s cubic-bezier(.55, 0, .75, .4) infinite; }
@keyframes soul-fall {
  0% { transform: translateY(-160px); opacity: 0; }
  15% { opacity: 1; }
  70% { transform: translateY(470px); opacity: 1; }
  80%, 100% { transform: translateY(540px); opacity: 0; }
}
/* Кольцо рун вращается и «дышит» целиком: transform и opacity на элементе, без перерисовки SVG. */
.runes { max-width: none; position: absolute; left: -9%; top: 50%; width: 118%; height: auto; aspect-ratio: 1; margin-top: -59%; pointer-events: none; will-change: transform, opacity; animation: rune-breath 7s ease-in-out infinite; }
.runes__ring { fill: none; stroke: var(--fs-soul); stroke-width: 2; stroke-linecap: round; }
.runes__ring circle { stroke-width: 1; opacity: .5; }
@keyframes rune-breath { 0%, 100% { opacity: .16; } 50% { opacity: .42; } }

.hero__slogan { font: 400 italic clamp(1.25rem, 1rem + 1vw, 1.6rem)/1.4 var(--fs-text); color: var(--fs-bone); max-width: 36ch; }
.hero__slogan span { display: inline-block; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
.hero__note { color: var(--fs-ash); font-size: 1rem; }

/* Generated key art, with the existing live atmosphere above it. */
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(22,19,26,.18), rgba(22,19,26,.08)), linear-gradient(0deg, #16131a 0%, rgba(22,19,26,0) 28%, rgba(22,19,26,.12) 80%); }
.hero .atmo { z-index: 2; }
.hero__inner { z-index: 3; text-shadow: 0 2px 12px #16131a; }
.hero__slogan, .hero__note { background: rgba(22,19,26,.48); border-radius: 4px; padding: 4px 10px; }
@media (max-width: 719px) {
  .hero { padding-bottom: 120px; }
  .hero__art img { object-position: center bottom; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 68ch; }
.lead { color: var(--fs-ash); font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.6; max-width: 62ch; }

/* Мир */
.places { display: grid; gap: 20px; grid-template-columns: 1fr; }
.place { display: grid; background: var(--fs-coal-2); border: 1px solid var(--fs-soot); border-radius: 2px 22px 2px 22px; overflow: hidden; }
.place__art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.place__art img { width: 100%; height: 100%; object-fit: cover; }
.place--wide .place__art { aspect-ratio: 16 / 10; }
.place__body { display: grid; gap: 10px; padding: 22px 22px 26px; align-content: start; }
.place__body p { color: #cfc6b8; }
.place__meta { color: var(--fs-soul) !important; font-size: 1rem; }
@media (min-width: 720px) {
  .places { grid-template-columns: 1fr 1fr; }
  .place--wide { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; }
  .place--wide .place__art { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .place--wide .place__body { padding: 36px; align-content: center; }
}

/* Классы: экран выбора */
.picker { display: grid; gap: 20px; }
.picker__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.picker__tabs [role="tab"] {
  display: grid; justify-items: center; gap: 8px; padding: 14px 6px;
  font: 700 1.125rem/1.1 var(--fs-display); color: var(--fs-ash);
  background: transparent; border: 1px solid var(--fs-soot); border-radius: 2px 14px 2px 14px; cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.picker__tabs [role="tab"]:hover { color: var(--fs-bone); border-color: #4a3f4e; }
.picker__tabs [role="tab"][aria-selected="true"] { color: var(--fs-bone); border-color: rgba(143, 240, 223, .6); background: rgba(143, 240, 223, .06); }
.picker__tabs .ico { width: 34px; height: 34px; }
.ico { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
[aria-selected="true"] .ico { stroke: var(--fs-soul); }

.cls {
  display: grid; gap: 24px; padding: 26px 22px;
  background: linear-gradient(160deg, rgba(143, 240, 223, .06), transparent 40%), var(--fs-coal-2);
  border: 1px solid var(--fs-soot); border-radius: 2px 28px 2px 28px;
}
.cls[hidden] { display: none; }
.cls.is-entering { animation: cls-in .35s var(--fs-ease); }
@keyframes cls-in { from { opacity: 0; transform: translateY(6px); } }
.cls__portrait { display: block; width: min(300px, 100%); aspect-ratio: 3 / 4; justify-self: center; border-radius: 2px 18px 2px 18px; overflow: hidden; }
.cls__portrait img { width: 100%; height: 100%; object-fit: cover; }
.cls__text { display: grid; gap: 12px; max-width: 60ch; }
.cls__text h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); }
.cls__role { color: var(--fs-ember); font-weight: 500; }
.cls__res { color: var(--fs-ash); }
.cls__res b { color: var(--fs-bone); font-weight: 500; }
.stats { display: grid; gap: 12px; margin: 0; align-content: center; }
.stats div { display: grid; grid-template-columns: 7.5em 1fr; align-items: center; gap: 12px; }
.stats dt { color: var(--fs-ash); font-size: 1rem; }
.stats dd { margin: 0; }
.stats meter { width: 100%; height: 10px; -webkit-appearance: none; appearance: none; background: #2c2530; border: 0; border-radius: 5px; }
.stats meter::-webkit-meter-bar { background: #2c2530; border: 0; border-radius: 5px; height: 10px; }
.stats meter::-webkit-meter-optimum-value, .stats meter::-webkit-meter-suboptimum-value, .stats meter::-webkit-meter-even-less-good-value { background: linear-gradient(90deg, var(--fs-blood), var(--fs-ember)); border-radius: 5px; }
.stats meter::-moz-meter-bar { background: linear-gradient(90deg, var(--fs-blood), var(--fs-ember)); border-radius: 5px; }
@media (max-width: 560px) {
  .picker__tabs { grid-template-columns: 1fr 1fr; }
  .picker__tabs [role="tab"] { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 10px 12px; font-size: 1.0625rem; }
  .picker__tabs .ico { width: 28px; height: 28px; flex: none; }
}
@media (min-width: 860px) {
  .cls { grid-template-columns: 260px 1fr; align-items: center; padding: 28px; gap: 28px; }
  .cls__portrait { grid-row: span 2; width: 260px; }
  .cls .stats { grid-column: 2; }
}

/* Особенности */
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 56px; }
.feats li { display: grid; grid-template-columns: 48px 1fr; gap: 6px 20px; align-items: start; }
.feats .ico { width: 48px; height: 48px; color: var(--fs-soul); grid-row: span 2; stroke-width: 2.4; }
.feats p { color: #cfc6b8; max-width: 52ch; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } }

/* Скриншоты */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.shot { margin: 0; display: grid; gap: 10px; }
.shot__visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px 18px 2px 18px; border: 1px solid var(--fs-soot); background: #0f0d12; container-type: inline-size; }
.shot__picture, .shot__picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-hud { position: absolute; inset: 0; pointer-events: none; font-size: clamp(7px, 1.65cqw, 17px); line-height: 1.2; text-shadow: 0 1px 3px #000; }
.game-hud__player { position: absolute; top: 4%; left: 3%; width: 24%; padding: 1% 1.5%; background: rgba(16,13,19,.8); border: 1px solid #635346; }
.game-hud__player b { color: var(--fs-bone); font-weight: 500; }
.game-hud__bar { display: block; height: .45em; margin-top: .4em; background: #231c24; box-shadow: 0 0 0 1px #44353c; }
.game-hud__bar::before { content: ""; display: block; height: 100%; width: var(--value, 70%); background: linear-gradient(90deg,#7a1f17,#b8432c); }
.game-hud__bar--soul::before { width: 80%; background: linear-gradient(90deg,#29685e,#8ff0df); }
.game-hud__zone { position: absolute; top: 4%; right: 3%; max-width: 43%; padding: .45em .65em; color: var(--fs-bone); background: rgba(16,13,19,.8); border: 1px solid #635346; }
.game-hud__target { position: absolute; top: 5%; left: 32%; width: 28%; text-align: center; }
.game-hud__chat { position: absolute; bottom: 4%; left: 2%; width: 31%; padding: .4em; color: #cfc6b8; background: rgba(16,13,19,.75); font-size: .7em; line-height: 1.5; }
.game-hud__skills { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); display: flex; gap: .3em; padding: .35em; background: rgba(16,13,19,.85); border: 1px solid #635346; }
.game-hud__skills span { display: grid; place-items: center; width: 2.2em; height: 2.2em; border: 1px solid #897454; color: var(--fs-soul); font-size: 1.1em; }
.shot figcaption { color: var(--fs-ash); font-size: 1rem; }
@media (max-width: 719px) {
  .gallery { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--fs-pad) * -1); padding-left: var(--fs-pad); padding-right: var(--fs-pad); scroll-padding: 0 var(--fs-pad); }
  .shot { scroll-snap-align: start; }
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .shot--main { grid-column: 1 / -1; }
}

/* Дорожная карта */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; counter-reset: step; }
.road__step { position: relative; padding: 0 0 40px 44px; display: grid; gap: 6px; align-content: start; max-width: 60ch; }
.road__step::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: -10px; width: 2px; background: linear-gradient(var(--fs-soot), var(--fs-soot)); }
.road__step:last-child::before { display: none; }
.road__step::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #5a4f5c; background: var(--fs-coal); }
.road__step.is-done::after { background: var(--fs-ash); border-color: var(--fs-ash); }
.road__step.is-done::before { background: var(--fs-ash); }
.road__step.is-now::after { background: var(--fs-soul); border-color: var(--fs-soul); box-shadow: 0 0 0 6px rgba(143, 240, 223, .15), 0 0 24px rgba(143, 240, 223, .7); }
.road__when { color: var(--fs-ash); font-size: 1rem; }
.is-now .road__when { color: var(--fs-soul); }
.road__step p:last-child { color: #cfc6b8; }
@media (min-width: 960px) {
  .road { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .road__step { padding: 44px 0 0; }
  .road__step::before { left: 16px; right: -24px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .road__step::after { top: 4px; }
}

/* Ранний доступ */
.play { position: relative; }
.play::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 50%, rgba(184, 67, 44, .2), transparent 70%), radial-gradient(30% 40% at 50% 50%, rgba(231, 164, 74, .1), transparent 70%);
}
.play__inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.play__inner .lead { color: var(--fs-bone); }
.play__fine { color: var(--fs-ash); font-size: .9375rem; max-width: 46ch; }

.form { display: grid; grid-template-columns: 1fr; gap: 12px; width: min(520px, 100%); margin-top: 10px; }
.form input {
  min-height: 52px; padding: 0 18px; width: 100%;
  font: 400 1.125rem/1 var(--fs-text); color: var(--fs-bone);
  background: rgba(22, 19, 26, .8); border: 1px solid #4a3f4e; border-radius: 3px;
}
.form input::placeholder { color: #7f766e; }
.form input:focus { outline: none; border-color: var(--fs-soul); box-shadow: 0 0 0 3px rgba(143, 240, 223, .2); }
.form input[aria-invalid="true"] { border-color: #e0705c; }
.form__msg { grid-column: 1 / -1; min-height: 1.6em; font-size: 1rem; color: var(--fs-ash); }
.form__msg.is-error { color: #f0907c; }
.form__msg.is-ok { color: var(--fs-soul); font: 700 1.5rem/1.3 var(--fs-display); }
.form.is-sent input, .form.is-sent button { display: none; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr auto; } }

/* FAQ */
.faq__grid { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 2fr; gap: 56px; } }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--fs-soot); }
.faq details:first-child { border-top: 1px solid var(--fs-soot); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font: 700 1.375rem/1.25 var(--fs-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--fs-soul); border-bottom: 2px solid var(--fs-soul); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--fs-ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; color: #cfc6b8; max-width: 64ch; }

/* Рассылка */
.news { padding-top: 0; }
.news__inner { display: grid; gap: 18px; align-items: center; padding-top: 48px; border-top: 1px solid var(--fs-soot); }
.news__inner p { color: var(--fs-ash); }
.h-small { font-size: 2rem; margin-bottom: 8px; }
.form--inline { margin-top: 0; }
@media (min-width: 900px) { .news__inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* Футер */
.foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); background: #120f15; border-top: 1px solid var(--fs-soot); }
.foot__inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; color: var(--fs-ash); }
.foot__small { font-size: .875rem; max-width: 52ch; }

/* ---------- Трейлер ---------- */
.trailer { padding: 0; border: 0; background: transparent; max-width: min(1280px, 96vw); width: 100%; color: var(--fs-bone); }
.trailer::backdrop { background: rgba(8, 6, 10, .88); backdrop-filter: blur(4px); }
.trailer[open] { animation: dlg-in .35s var(--fs-ease); }
@keyframes dlg-in { from { opacity: 0; transform: scale(.97); } }
.trailer__frame { position: relative; border-radius: 2px 22px 2px 22px; overflow: hidden; border: 1px solid #3a313e; background: #0d0b10; }
.trailer__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0b10; }
.trailer__slides, .trailer__slide { position: absolute; inset: 0; }
.trailer__slide { opacity: 0; transition: opacity .8s; }
.trailer__slide.is-active { opacity: 1; }
.trailer__slide img { width: 100%; height: 100%; object-fit: cover; }
.trailer__slide.is-active img { animation: ken-burns var(--duration, 5s) linear both; }
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.1) translate(-1%, -.5%); } }
.trailer__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse, transparent 30%, rgba(0,0,0,.6)); }
.trailer__logo { position: absolute; width: 55%; height: auto; left: 22.5%; top: 23%; z-index: 1; filter: drop-shadow(0 0 30px #16131a); }
.trailer__logo[hidden] { display: none; }
.trailer__sub { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; padding: 0 6%; font: 700 clamp(1.1rem, .6rem + 2.4vw, 2.4rem)/1.2 var(--fs-display); text-shadow: 0 2px 18px #000; transition: opacity .6s; }
.trailer__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--fs-bone); background: rgba(22, 19, 26, .7); border: 1px solid #4a3f4e; border-radius: 50%; cursor: pointer; }
.trailer__close:hover { border-color: var(--fs-soul); }

/* ---------- Сниженная анимация ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .logo-drop { animation: none; transform: translateY(470px); opacity: 0; }
  .runes { animation: none; opacity: .3; }
  .fog { animation: none; }
}

@media (max-width: 400px) {
  .hero__cta { flex-direction: column; align-self: stretch; }
}
