:root {
  --ink: #111312;
  --muted: #747875;
  --paper: #f4f4ef;
  --paper-deep: #ecece7;
  --card: #fbfbf9;
  --line: rgba(17, 19, 18, .12);
  --acid: #d8ff1f;
  --mint: #2ac58b;
  --radius: 30px;
  --page-pad: clamp(20px, 4vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "frutiger", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.is-dialog-open { overflow: hidden; }

body::selection { background: var(--acid); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: height .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  height: 76px;
  border-color: var(--line);
  background: rgba(244, 244, 239, .9);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--ink);
  font-size: clamp(23px, 2.25vw, 38px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1;
  text-decoration: none;
}
.brand-dot { color: var(--acid); }

.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
  padding: 13px 20px;
  border-radius: 999px;
  color: #575a58;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.header-nav a:hover, .header-nav a:focus-visible { color: var(--ink); transform: translateY(-1px); }
.header-nav .is-active { background: var(--acid); color: var(--ink); }
.header-nav .telegram-link { margin-left: 10px; background: var(--ink); color: #fff; }
.header-nav .telegram-link:hover, .header-nav .telegram-link:focus-visible { background: #2c2f2d; color: #fff; }

.hero {
  position: relative;
  padding: 174px var(--page-pad) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 27%, rgba(216, 255, 31, .14), transparent 24%),
    var(--paper);
}

.hero-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 1450px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow, .section-kicker {
  margin: 0 0 28px;
  color: #858986;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .27em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 16px; }
.eyebrow span { width: 38px; height: 1px; background: #afb2af; }

.hero h1 {
  max-width: 1420px;
  margin: 0;
  font-size: clamp(61px, 7.2vw, 116px);
  font-weight: 700;
  letter-spacing: -.064em;
  line-height: .89;
}
.hero h1 em { font-style: normal; font-weight: inherit; }

.hero-lead {
  max-width: 820px;
  margin: 34px auto 0;
  color: #777d85;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.primary-action { gap: 28px; border-color: var(--ink); background: var(--ink); color: #fff; }
.primary-action svg { width: 20px; fill: none; stroke: var(--acid); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .25s ease; }
.primary-action:hover, .primary-action:focus-visible { transform: translateY(-3px); }
.primary-action:hover svg, .primary-action:focus-visible svg { transform: translateX(4px); }
.secondary-action { gap: 8px; background: transparent; color: var(--ink); }
.secondary-action span { color: #94b20d; }
.secondary-action:hover, .secondary-action:focus-visible { background: #fff; transform: translateY(-3px); }

.hero-media {
  position: relative;
  max-width: 1450px;
  height: clamp(460px, 50vw, 720px);
  margin: 78px auto 0;
  overflow: hidden;
  border-radius: clamp(24px, 2.5vw, 42px);
  background: #0f1110;
  box-shadow: 0 28px 80px rgba(17, 19, 18, .15);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,8,.12) 40%, rgba(8,9,8,.8) 100%);
}
.hero-media__status {
  position: absolute;
  top: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.hero-media__status span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.hero-media__caption { position: absolute; left: 38px; bottom: 34px; display: flex; align-items: flex-start; flex-direction: column; color: #fff; }
.hero-media__caption small { margin-bottom: 12px; color: #c5c7c5; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero-media__caption strong { font-size: clamp(43px, 5vw, 76px); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.hero-media__action {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 22px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}
.hero-media__action:hover, .hero-media__action:focus-visible { background: #fff; transform: translateY(-3px); }

.reveal { animation: reveal-up .8s cubic-bezier(.16,1,.3,1) both; }
.reveal--2 { animation-delay: .1s; }
.reveal--3 { animation-delay: .2s; }
.reveal--4 { animation-delay: .3s; }

.archive {
  position: relative;
  padding: clamp(100px, 10vw, 160px) var(--page-pad) clamp(110px, 12vw, 180px);
  background: var(--paper-deep);
}
.archive-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 470px);
  gap: 60px;
  align-items: end;
  max-width: 1450px;
  margin: 0 auto 62px;
}
.archive-heading h2 {
  margin: 0;
  font-size: clamp(58px, 6vw, 98px);
  font-weight: 700;
  letter-spacing: -.062em;
  line-height: .92;
}
.section-kicker { margin-bottom: 22px; }
.archive-intro { margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.55; }

.zone-panel {
  max-width: 1450px;
  margin: 0 auto 24px;
  padding: 24px;
  border: 1px solid rgba(17,19,18,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.6);
}
.zone-panel__top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.zone-panel__top p { margin: 0; color: #5f6360; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.zone-panel__top .zone-status { color: #8b8e8c; font-weight: 500; }
.zone-status span { color: #789008; }

.zone-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; scrollbar-width: thin; scrollbar-color: #b7b9b7 transparent; }
.zone-tab {
  flex: 0 0 auto;
  padding: 11px 17px 10px;
  border: 1px solid #d3d5d2;
  border-radius: 999px;
  background: transparent;
  color: #555956;
  cursor: pointer;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.zone-tab:hover { border-color: #8c908d; color: var(--ink); transform: translateY(-1px); }
.zone-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.zone-tab:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

.season-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1450px;
  margin: 0 auto;
}
.season-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(17,19,18,.09);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  isolation: isolate;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.season-card:first-child { border-color: var(--acid); background: var(--acid); }
.season-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  transform: translateY(102%);
  transition: transform .38s cubic-bezier(.16,1,.3,1);
}
.season-card:hover, .season-card:focus-visible { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(17,19,18,.12); }
.season-card:hover::before, .season-card:focus-visible::before { transform: translateY(0); }
.season-card:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.season-number { color: #696d6a; font-size: 12px; font-weight: 700; letter-spacing: .12em; transition: color .25s ease; }
.season-card:first-child .season-number { color: #53600e; }
.season-main { align-self: end; grid-column: 1 / -1; }
.season-label { display: block; font-size: clamp(34px, 3.2vw, 52px); font-weight: 700; letter-spacing: -.058em; line-height: .95; transition: color .25s ease; }
.season-meta { display: block; margin-top: 14px; color: #858986; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .25s ease; }
.season-card:first-child .season-meta { color: #60700e; }
.season-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 20px;
  border: 1px solid #d5d7d4;
  border-radius: 50%;
  transition: border-color .25s ease, background .25s ease, color .25s ease, transform .3s ease;
}
.season-card:first-child .season-arrow { border-color: rgba(17,19,18,.24); }
.season-arrow svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; transform: rotate(-45deg); }
.season-card:hover .season-number, .season-card:focus-visible .season-number,
.season-card:hover .season-meta, .season-card:focus-visible .season-meta { color: #a8aaa8; }
.season-card:hover .season-label, .season-card:focus-visible .season-label { color: #fff; }
.season-card:hover .season-arrow, .season-card:focus-visible .season-arrow { border-color: var(--acid); background: var(--acid); color: var(--ink); transform: rotate(8deg); }
.season-card.is-entering { animation: card-in .45s cubic-bezier(.16,1,.3,1) both; }

.stage-dialog {
  width: min(1180px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 120px rgba(0, 0, 0, .36);
}
.stage-dialog::backdrop { background: rgba(10, 12, 11, .72); backdrop-filter: blur(9px); }
.stage-dialog[open] { animation: dialog-in .38s cubic-bezier(.16,1,.3,1) both; }
.stage-dialog__shell { position: relative; max-height: calc(100dvh - 40px); padding: clamp(30px, 5vw, 68px); overflow-y: auto; }
.stage-dialog__close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.stage-dialog__close:hover, .stage-dialog__close:focus-visible { background: var(--acid); transform: rotate(5deg); }
.stage-dialog__close span { position: absolute; top: 23px; left: 14px; width: 19px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.stage-dialog__close span + span { transform: rotate(-45deg); }
.stage-dialog__heading { padding-right: 72px; }
.stage-dialog__heading .section-kicker { margin-bottom: 16px; }
.stage-dialog__heading h2 { margin: 0; font-size: clamp(48px, 6vw, 82px); letter-spacing: -.06em; line-height: .94; }
.stage-dialog__heading > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.stage-dialog__overall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  margin: 36px 0 42px;
  padding: 0 26px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.stage-dialog__overall span:last-child { color: var(--acid); font-size: 22px; }
.stage-dialog__overall:hover, .stage-dialog__overall:focus-visible { background: #2b2e2c; transform: translateY(-2px); }
.stage-dialog__group + .stage-dialog__group { margin-top: 38px; }
.stage-dialog__group > p { margin: 0 0 14px; color: #777b78; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stage-dialog__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stage-dialog__grid--finals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.stage-link:hover, .stage-link:focus-visible { border-color: var(--ink); background: #fff; transform: translateY(-3px); }
.stage-link__number { color: #9a9d9a; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.stage-link strong { align-self: end; grid-column: 1 / -1; font-size: 18px; letter-spacing: -.025em; }
.stage-link__arrow { position: absolute; top: 16px; right: 17px; color: #88a20b; }
.stage-link--final { min-height: 104px; background: var(--acid); }
.stage-link--final:hover, .stage-link--final:focus-visible { border-color: var(--acid); background: #e4ff64; }

.archive-empty { max-width: 1450px; margin: 0 auto; padding: 80px 20px; text-align: center; border-radius: var(--radius); background: var(--card); }
.archive-empty span { color: #96b113; font-size: 60px; }
.archive-empty h3 { margin: 10px 0 24px; font-size: 26px; font-weight: 700; }
.archive-empty button { padding: 12px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 60px;
  align-items: end;
  min-height: 340px;
  padding: 86px var(--page-pad) 48px;
  background: var(--ink);
  color: #fff;
}
.brand--footer { display: inline-block; color: #fff; font-size: clamp(34px, 4vw, 64px); }
.footer-copy p { max-width: 500px; margin: 30px 0 0; color: #8d918e; font-size: 16px; line-height: 1.55; }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.footer-links small { margin-bottom: 8px; color: #686c69; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-links a { color: #d1d3d1; font-size: 14px; text-underline-offset: 5px; }
.footer-year { margin: 0; color: var(--acid); font-size: 12px; letter-spacing: .12em; }

.noscript { position: fixed; z-index: 99; right: 20px; bottom: 20px; left: 20px; padding: 16px; border-radius: 16px; background: var(--ink); color: #fff; text-align: center; }

@keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1050px) {
  .header-nav a { padding: 11px 13px; }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-heading { grid-template-columns: 1fr .65fr; }
}

@media (max-width: 820px) {
  .site-header { height: 76px; }
  .header-nav a:not(.is-active):not(.telegram-link) { display: none; }
  .header-nav .telegram-link { margin-left: 0; }
  .hero { padding-top: 132px; }
  .hero h1 { font-size: clamp(48px, 12vw, 78px); }
  .hero-media { height: min(650px, 78vw); margin-top: 58px; }
  .archive-heading { grid-template-columns: 1fr; gap: 30px; }
  .archive-intro { max-width: 520px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .footer-links { grid-row: 2; }
  .stage-dialog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .brand { font-size: 23px; }
  .header-nav .is-active { display: none; }
  .header-nav .telegram-link { padding: 10px 14px; font-size: 12px; }
  .hero { padding-top: 118px; padding-bottom: 60px; }
  .eyebrow { gap: 10px; font-size: 9px; letter-spacing: .19em; }
  .eyebrow span { width: 18px; }
  .hero h1 { font-size: clamp(43px, 13.6vw, 64px); line-height: .91; }
  .hero-lead { margin-top: 25px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .primary-action, .secondary-action { min-height: 54px; width: 100%; }
  .hero-media { height: 560px; margin-top: 44px; border-radius: 24px; }
  .hero-media img { object-position: 43% center; }
  .hero-media__status { top: 18px; left: 18px; padding: 10px 14px; font-size: 12px; }
  .hero-media__caption { right: 20px; bottom: 88px; left: 20px; }
  .hero-media__caption strong { font-size: 45px; }
  .hero-media__action { right: 18px; bottom: 18px; left: 18px; justify-content: space-between; }
  .archive { padding-top: 84px; }
  .archive-heading { margin-bottom: 42px; }
  .archive-heading h2 { font-size: 52px; }
  .zone-panel { margin-right: -20px; margin-left: -20px; padding: 20px; border-right: 0; border-left: 0; border-radius: 0; }
  .zone-panel__top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .season-grid { grid-template-columns: 1fr; }
  .season-card { min-height: 240px; padding: 24px; }
  .season-label { font-size: 43px; }
  .stage-dialog { width: 100%; max-height: calc(100dvh - 18px); margin: 18px 0 0; border-radius: 28px 28px 0 0; }
  .stage-dialog__shell { max-height: calc(100dvh - 18px); padding: 34px 20px 40px; }
  .stage-dialog__close { top: 22px; right: 20px; }
  .stage-dialog__heading { padding-right: 54px; }
  .stage-dialog__heading h2 { font-size: 45px; }
  .stage-dialog__heading > p:last-child { font-size: 15px; }
  .stage-dialog__overall { margin: 28px 0 34px; }
  .stage-dialog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-dialog__grid--finals { grid-template-columns: 1fr; }
  .stage-link { min-height: 105px; }
  .stage-link--final { min-height: 82px; }
  .site-footer { grid-template-columns: 1fr; min-height: 430px; }
  .footer-links { grid-row: auto; }
  .footer-year { position: absolute; right: var(--page-pad); margin-top: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
