/* LSO Soyuz - 2026. Design tokens: paper, ink, green, yellow. */
@font-face {
  font-family: "Soyuz Grotesk";
  src: url("../fonts/soyuz.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ST-Warmovie";
  src: url("../fonts/warmovie.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #ece7db;
  --ink: #16241c;
  --green: #006e36;
  --green-dark: #004d25;
  --night: #0b1a12;
  --yellow: #ffe600;
  --line: #d6d0c2;
  --muted: #6b7068;
  --red: #d8412f;

  --soyuz: "Soyuz Grotesk", "Arial Narrow", Impact, sans-serif;
  --warm: "ST-Warmovie", "Segoe Script", cursive;
  --body: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --header: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("../img/grain.png");
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

.preview-bar {
  padding: 8px 16px;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  font-family: var(--soyuz);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.preview-bar a { text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

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

h1, h2, h3, p, dl, dd, figure { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}



.section {
  border-top: 2px solid var(--ink);
  padding: clamp(56px, 8vw, 112px) var(--pad);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100vw - var(--max)) / 2));
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--soyuz);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}

.label::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  flex: none;
}

.label--light { color: var(--yellow); }
.label--light::before { background: var(--yellow); border-color: var(--yellow); }

.section__note,
.section__note--light {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.section__note--light { color: rgba(244, 241, 234, 0.55); }

h2 {
  font-family: var(--soyuz);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.015em;
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--green);
  color: var(--paper);
  font-family: var(--soyuz);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover { background: var(--yellow); color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}
.btn--yellow:hover { background: var(--paper); }

.btn--small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}



.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
  padding: 0 var(--pad);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100vw - var(--max)) / 2));
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header.is-scrolled { box-shadow: 0 6px 0 rgba(22, 36, 28, 0.06); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--soyuz);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__sub {
  margin-top: 4px;
  font-family: var(--soyuz);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  margin-left: auto;
}

.nav a {
  font-family: var(--soyuz);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:not(.btn) {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--green); }

.header__cta { flex: none; }



.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: calc(100svh - var(--header));
  border-bottom: 2px solid var(--ink);
}

@media (min-width: 1101px) {
  body.has-preview-bar .hero { min-height: calc(100svh - var(--header) - 34px); }
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px) var(--pad);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100vw - var(--max)) / 2));
}

.kicker {
  font-family: var(--soyuz);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--soyuz);
  font-size: clamp(96px, 15.5vw, 210px);
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}

.hero__poem {
  margin-top: clamp(18px, 2.2vw, 30px);
  font-family: var(--soyuz);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green);
}

.hero__desc {
  max-width: 44ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero__link {
  margin-left: 6px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--green);
  font-family: var(--soyuz);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__link:hover { border-bottom-color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stat dt {
  font-family: var(--soyuz);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat dd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--soyuz);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1;
  white-space: nowrap;
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20a35b;
  box-shadow: 0 0 0 0 rgba(32, 163, 91, 0.55);
  animation: pulse 2.2s infinite;
  flex: none;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(32, 163, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 163, 91, 0); }
}

.hero__media {
  position: relative;
  min-height: 560px;
  border-left: 2px solid var(--ink);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

.hero__tag {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 12px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-family: var(--soyuz);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.hero__place {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 6px 10px;
  background: var(--paper);
  font-family: var(--soyuz);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}



.ticker {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  padding: 10px 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.ticker__track span {
  font-family: var(--soyuz);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}



.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.about__main h2 { max-width: 14ch; }

.about__main p {
  max-width: 56ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 18px);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.facts strong {
  display: block;
  font-family: var(--soyuz);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.facts span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__media {
  position: relative;
  border: 2px solid var(--ink);
}

.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.about__media figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 2px 8px;
  background: var(--paper);
  font-family: var(--warm);
  font-size: 26px;
  line-height: 1.1;
  transform: rotate(-2deg);
}



.team__title { max-width: 15ch; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(32px, 4vw, 56px);
}

.person__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 16px;
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: filter 0.35s ease, transform 0.5s ease;
}

.person:hover .person__photo img { filter: none; transform: scale(1.015); }

.person__role {
  font-family: var(--soyuz);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.person__name {
  margin-top: 6px;
  font-family: var(--soyuz);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.person__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #33443a;
}

.team__note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}

.team__note a { text-underline-offset: 3px; }



.story { padding-right: 0; }

.story .section__head { padding-right: var(--pad); }

.story__title { max-width: 12ch; }

.story__hint {
  font-family: var(--warm);
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--green);
  transform: rotate(-3deg);
  padding-right: 4px;
}

.rail {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(28px, 4vw, 48px);
  padding: 6px var(--pad) 22px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--ink); }

.frame {
  flex: 0 0 clamp(230px, 27vw, 360px);
  scroll-snap-align: start;
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
}

.frame figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.frame__num {
  font-family: var(--soyuz);
  font-size: 11px;
  color: var(--green);
  flex: none;
}

.frame__cap {
  font-family: var(--warm);
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.08;
  max-width: 24ch;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}



.tiktok {
  background: var(--green);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: clamp(56px, 8vw, 104px) 0;
}

.tiktok__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.tiktok h2 { color: var(--paper); max-width: 12ch; }

.tiktok__copy p {
  max-width: 48ch;
  margin-top: 24px;
  color: rgba(244, 241, 234, 0.82);
}

.tiktok__copy .btn { margin-top: 32px; }

.tiktok__stats {
  border-top: 1px solid rgba(244, 241, 234, 0.35);
}

.tiktok__stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.35);
}

.tiktok__stats dt {
  font-family: var(--soyuz);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.62);
}

.tiktok__stats dd {
  font-family: var(--soyuz);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 0.9;
  color: var(--yellow);
  white-space: nowrap;
}



.join__title { max-width: 14ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 2px solid var(--ink);
}

.step {
  min-height: 230px;
  padding: 22px 20px 28px 0;
  border-right: 1px solid var(--line);
}

.step:last-child { border-right: 0; padding-right: 0; }

.step__num {
  display: block;
  margin-bottom: 48px;
  font-family: var(--soyuz);
  font-size: 12px;
  color: var(--green);
}

.step h3 {
  font-family: var(--soyuz);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.step p {
  max-width: 26ch;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #33443a;
}

.join__cta { margin-top: 32px; }



.ticket {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--paper);
}

.ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--green);
  color: var(--paper);
  border-right: 3px dashed rgba(244, 241, 234, 0.55);
}

.stub__label {
  font-family: var(--soyuz);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.stub__brand {
  margin-top: 18px;
  font-family: var(--soyuz);
  font-size: clamp(56px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.stub__list { margin-top: auto; padding-top: 40px; }

.stub__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid rgba(244, 241, 234, 0.3);
}

.stub__list dt {
  font-family: var(--soyuz);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
}

.stub__list dd {
  font-family: var(--soyuz);
  font-size: 16px;
  text-align: right;
}

.stub__note {
  margin-top: 28px;
  font-family: var(--soyuz);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}

.ticket__body {
  padding: clamp(28px, 4vw, 56px);
}

.ticket__body h2 { font-size: clamp(38px, 4.6vw, 64px); }

.ticket__lead {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.ticket__demo {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 9px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.ticket__demo a { text-underline-offset: 3px; }

.form {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.field { display: grid; gap: 6px; }

.field label {
  font-family: var(--soyuz);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.3;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input::placeholder { color: #9b9f96; }

.field input:focus,
.field select:focus { border-bottom-color: var(--green); }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2316241c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
  cursor: pointer;
}

.field.is-error input,
.field.is-error select { border-bottom-color: var(--red); }

.field__error {
  min-height: 0;
  font-size: 12px;
  color: var(--red);
}
.field__error:empty { display: none; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #33443a;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--green);
  cursor: pointer;
}

.check a { text-underline-offset: 3px; }

.is-error.check { color: var(--red); }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__submit { width: 100%; margin-top: 4px; }

.form__fallback {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.form__fallback a { text-underline-offset: 3px; }

.form__note {
  min-height: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--red);
}

.form__note a { text-underline-offset: 3px; }

.form__submit[disabled] { opacity: 0.65; cursor: wait; }

.success {
  position: relative;
  margin-top: 32px;
  padding: 28px;
  border: 2px solid var(--green);
  background: rgba(0, 110, 54, 0.04);
}

.success__stamp {
  display: inline-block;
  padding: 0 14px;
  margin-bottom: 14px;
  border: 3px solid var(--green);
  font-family: var(--warm);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.1;
  color: var(--green);
  transform: rotate(-7deg);
}

.success h3 {
  font-family: var(--soyuz);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.success p {
  margin-top: 10px;
  font-size: 14px;
  color: #33443a;
}

.success .btn { margin-top: 20px; }



.game {
  position: relative;
  overflow: hidden;
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--paper);
  border-top: 2px solid var(--ink);
  padding: clamp(56px, 8vw, 104px) 0;
}

.game__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.game h2 { color: var(--paper); max-width: 9ch; }

.game__lead {
  max-width: 38ch;
  margin-top: 20px;
  color: rgba(244, 241, 234, 0.72);
}

.game__scores {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, 0.25);
}

.score span {
  display: block;
  font-family: var(--soyuz);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}

.score strong {
  display: block;
  margin-top: 4px;
  font-family: var(--soyuz);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.score--best strong { color: var(--paper); }

.dpad {
  display: none;
  grid-template-columns: repeat(3, 54px);
  grid-template-rows: repeat(2, 54px);
  gap: 6px;
  margin-top: 28px;
  grid-template-areas:
    ". up ."
    "left down right";
}

.dpad__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(244, 241, 234, 0.5);
  background: transparent;
  color: var(--paper);
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.dpad__btn:active { background: var(--yellow); color: var(--ink); }

.dpad__up { grid-area: up; }
.dpad__left { grid-area: left; }
.dpad__down { grid-area: down; }
.dpad__right { grid-area: right; }

.game__hint {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.45);
}

.game__stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: 2px solid var(--yellow);
  background: #07120c;
  box-shadow: 12px 12px 0 rgba(255, 230, 0, 0.14);
}

#game-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  touch-action: none;
}

.game__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: rgba(7, 18, 12, 0.88);
}

.game__overlay[hidden] { display: none; }

.overlay__title {
  font-family: var(--soyuz);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 0.9;
  color: var(--yellow);
}

.overlay__text {
  max-width: 30ch;
  font-size: 14px;
  color: rgba(244, 241, 234, 0.75);
}

.game__overlay .btn { margin-top: 12px; }

.overlay__share {
  border-color: rgba(244, 241, 234, 0.6);
  color: var(--paper);
}
.overlay__share:hover { background: var(--paper); color: var(--ink); }



.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 72px) var(--pad) 28px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.22);
}

.brand--footer .brand__name { color: var(--paper); }
.brand--footer .brand__sub { color: rgba(244, 241, 234, 0.5); }

.footer__love {
  font-family: var(--warm);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  color: var(--yellow);
  transform: rotate(-2deg);
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-family: var(--soyuz);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer__nav a:hover { color: var(--yellow); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  max-width: var(--max);
  margin: 24px auto 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.5);
}

.footer__credits { max-width: 68ch; }

.footer__bottom a { color: rgba(244, 241, 234, 0.72); text-underline-offset: 3px; }



.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}



.page {
  padding: clamp(40px, 7vw, 88px) var(--pad) clamp(64px, 9vw, 112px);
}

.page__inner { max-width: 760px; margin: 0 auto; }

.backlink {
  display: inline-block;
  margin-bottom: 32px;
  font-family: var(--soyuz);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
}

.page h1 {
  font-family: var(--soyuz);
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.page__date {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page h2 {
  margin-top: 40px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
}

.page p,
.page li {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.page ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.page li { margin-top: 4px; }
.page a { text-underline-offset: 3px; }
.page__back { margin-top: 48px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { min-height: 64vh; border-left: 0; border-top: 2px solid var(--ink); }
  .hero__text { padding-top: clamp(36px, 7vw, 64px); padding-bottom: clamp(36px, 7vw, 64px); }
  .hero__title { font-size: clamp(96px, 20vw, 190px); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .person__name { font-size: 24px; }
  .tiktok__grid { grid-template-columns: 1fr; align-items: start; }
  .game__grid { grid-template-columns: 1fr; }
  .game__copy { max-width: 560px; }
}

@media (max-width: 900px) {
  :root { --header: 64px; }
  .nav { display: none; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 20px; }
  .header__cta { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 16px 26px 0; }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step__num { margin-bottom: 24px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-right: 0; border-bottom: 3px dashed rgba(244, 241, 234, 0.55); }
  .stub__list { margin-top: 0; padding-top: 24px; }
  .stub__note { margin-top: 18px; }
  .footer__top { flex-wrap: wrap; }
  .footer__love { order: 3; flex-basis: 100%; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding-left: var(--pad); padding-right: var(--pad); }
  .section__head { align-items: flex-start; }
  .section__note { text-align: right; max-width: 18ch; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { gap: 12px; }
  .stat dd { font-size: 28px; }
  .stat dt { font-size: 9px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .about__media { max-width: 100%; }
  .person__text { font-size: 13px; }
  .story { padding-right: 0; }
  .frame { flex-basis: 78%; }
  .frame__cap { font-size: 23px; }
  .tiktok__stats dd { font-size: 40px; }
  .tiktok__stats > div { padding: 14px 0; }
  .ticket { box-shadow: 6px 6px 0 var(--ink); }
  .success { padding: 20px; }
  .success__stamp { font-size: 40px; }
  .game__scores { gap: 32px; }
  .game__stage { box-shadow: 7px 7px 0 rgba(255, 230, 0, 0.14); }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .header { padding: 0 16px; gap: 12px; }
  .header__cta { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .brand { gap: 9px; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 8px; }
  .hero__text { padding-left: 16px; padding-right: 16px; }
  .hero__title { font-size: clamp(84px, 26vw, 120px); }
  .hero__poem { font-size: 25px; }
  .hero__media { min-height: 54vh; }
  .hero__tag { top: 16px; right: 16px; font-size: 10px; }
  .hero__place { left: 16px; bottom: 16px; font-size: 10px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat dd { font-size: 23px; }
  .stat dt { font-size: 8px; letter-spacing: 0.06em; }
  .section { padding: 48px 16px; }
  .section__head { padding-right: 0; }
  .label { font-size: 10px; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .person__photo { aspect-ratio: 4 / 5; margin-bottom: 10px; }
  .person__role { font-size: 9px; }
  .person__name { font-size: clamp(18px, 5.2vw, 22px); }
  .person__text { font-size: 12.5px; line-height: 1.4; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; padding-right: 0; }
  .ticket__body { padding: 24px 18px; }
  .ticket__stub { padding: 24px 18px; }
  .tiktok { padding-left: 0; padding-right: 0; }
  .tiktok__stats dd { font-size: 34px; }
  .game { padding-left: 0; padding-right: 0; }
  .game__scores { gap: 24px; }
  .footer { padding-left: 16px; padding-right: 16px; }
  .footer__nav { gap: 16px; }
}


@media (hover: none) and (pointer: coarse) {
  .dpad { display: grid; }
  .game__hint { display: none; }
  .person:hover .person__photo img { filter: grayscale(1) contrast(1.06); transform: none; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .live { animation: none; }
}


