@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-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: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-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: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-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: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-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: "Manrope"; font-weight: 700; font-display: swap; src: url("../fonts/manrope-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: "Manrope"; font-weight: 700; font-display: swap; src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #0c0d10;
  --bg-2: #131419;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3efe8;
  --muted: #a3a3ab;
  --accent: #ff8a3d;
  --accent-ink: #1a0d04;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  /* тени согласованы со светом сцены: солнце сверху-справа, тень вниз-влево, тёплый подсвет */
  --shadow: -14px 28px 60px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-accent: -8px 18px 40px -14px rgba(255, 138, 61, 0.55);
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; }

/* ——— сцена и фон ——— */
.stage-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42vmax 34vmax at 68% 52%, rgba(255, 138, 61, 0.22), transparent 70%),
    radial-gradient(60vmax 40vmax at 20% 110%, rgba(90, 120, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #101116 0%, var(--bg) 70%);
  transition: opacity 0.6s ease;
}
.stage-glow::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40vmax 30vmax at 68% 52%, rgba(70, 100, 255, 0.28), transparent 70%);
  opacity: 0; transition: opacity 1.2s ease;
}
.stage {
  position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
}
.scene-ready .stage { opacity: 1; }
.scene-ready .stage.is-dim { opacity: 0.16; }
/* затемнение слева и снизу — чтобы текст читался поверх города */
.stage-shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0.82) 0%, rgba(10, 11, 14, 0.45) 34%, rgba(10, 11, 14, 0) 60%),
    linear-gradient(0deg, rgba(10, 11, 14, 0.7) 0%, rgba(10, 11, 14, 0) 38%),
    linear-gradient(180deg, rgba(10, 11, 14, 0.55) 0%, rgba(10, 11, 14, 0) 18%);
}
.poster {
  display: none; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover;
}
.no-webgl .poster { display: block; }
.no-webgl .stage { display: none; }

main, .topbar { position: relative; z-index: 2; }

/* ——— шапка ——— */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(12, 13, 16, 0.85), rgba(12, 13, 16, 0));
}
.brand { font-family: var(--display); font-size: 17px; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 700; }
.topnav { display: flex; align-items: center; gap: 8px; }
.topnav a.link { text-decoration: none; color: var(--muted); padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.topnav a.link:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; }
.lang a, .lang span { padding: 6px 10px; border-radius: 999px; text-decoration: none; }
.lang span { background: rgba(255, 255, 255, 0.1); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--text); }

/* ——— кнопки ——— */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px; border-radius: 999px;
  font: 700 17px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-play { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-accent); }
.btn-play:hover { transform: translateY(-2px); box-shadow: -10px 24px 48px -14px rgba(255, 138, 61, 0.7); }
.btn-play svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--text); border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ——— hero ——— */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) 9vh;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(48px, 8.4vw, 124px); text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45); }
.hero h1 span { display: block; color: var(--accent); }
.hook { margin-top: 26px; font-size: clamp(18px, 1.6vw, 22px); color: #d8d4cc; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 44px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.14s; }
.hero-copy > :nth-child(4) { animation-delay: 0.22s; }
.hero-copy > :nth-child(5) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.scroll-cue { margin-top: 40px; color: var(--muted); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); display: block; }

/* ——— сюжет со сценой ——— */
.story { padding: 0 var(--pad); }
.section-head { max-width: 560px; padding-top: 12vh; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 14px; display: block; }
.section-head h2, .block h2 { font-size: clamp(32px, 4.4vw, 60px); }
.step {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 480px; padding: 8vh 0;
  opacity: 0.35; transition: opacity 0.5s ease;
}
.step.is-active { opacity: 1; }
.step-body {
  background: rgba(14, 15, 19, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 32px; box-shadow: var(--shadow);
}
.step .num { font-family: var(--display); color: var(--accent); font-size: 15px; margin-bottom: 18px; }
.step h3 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 18px; }
.step p { color: #cfcac2; font-size: 18px; }
.step .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.step .tags li { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #e6e1d8; }

/* ——— обычные блоки поверх затемнённой сцены ——— */
.block { padding: 16vh var(--pad) 0; }
.block .lead { color: var(--muted); max-width: 52ch; margin-top: 18px; font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.card {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1a1b21, #121318); box-shadow: var(--shadow); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 61, 0.18), transparent);
}
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 138, 61, 0.12); color: var(--accent); margin-bottom: 26px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.15; }
.card p { color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 48px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.shot:nth-child(1) { grid-column: span 7; }
.shot:nth-child(2) { grid-column: span 5; }
.shot:nth-child(3) { grid-column: span 5; }
.shot:nth-child(4) { grid-column: span 7; }
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot:hover img { transform: scale(1.03); }
.shot { position: relative; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  font-size: 14px; font-weight: 700; color: #f1ede6;
  background: linear-gradient(transparent, rgba(8, 9, 12, 0.85));
}

.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.live-grid a { display: block; border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); aspect-ratio: 16 / 10; position: relative; }
.live-grid img, .live-grid video { width: 100%; height: 100%; object-fit: cover; }
.live-grid .is-video::after {
  content: ""; position: absolute; left: 12px; top: 12px; width: 0; height: 0;
  border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
.live-more { margin-top: 22px; display: inline-block; color: var(--accent); font-weight: 700; text-decoration: none; }
.live-more:hover { text-decoration: underline; }

/* ——— финал ——— */
.final {
  min-height: 100vh; min-height: 100svh; margin-top: 12vh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: 0 var(--pad) 14vh;
}
.final h2 { font-size: clamp(40px, 7vw, 104px); max-width: 12ch; }
.final p { color: #d8d4cc; margin-top: 20px; font-size: 19px; max-width: 40ch; }
.final .cta-row { justify-content: center; }

/* ——— адаптив ——— */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .topnav a.link { display: none; }
  .topbar { padding-top: 12px; padding-bottom: 12px; background: rgba(12, 13, 16, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .hero { padding-top: 46vh; padding-bottom: 40px; }
  .stage-shade { background: linear-gradient(0deg, rgba(10, 11, 14, 0.92) 0%, rgba(10, 11, 14, 0.5) 45%, rgba(10, 11, 14, 0) 70%), linear-gradient(180deg, rgba(10, 11, 14, 0.6) 0%, rgba(10, 11, 14, 0) 16%); }
  .scroll-cue { display: none; }
  .step { min-height: 88vh; justify-content: flex-end; max-width: none; opacity: 1; }
  .step-body { padding: 24px 22px; }
  .shots { grid-template-columns: 1fr; }
  .shot:nth-child(n) { grid-column: auto; }
  .final { justify-content: flex-end; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .topbar .btn-sm { padding: 0 14px; }
  .brand { font-size: 15px; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
