/* ===== Colors ===== */
:root {
  --black: #000;
  --white: #fff;
  --pink: #FC347A;        /* ticket strips, manifesto text */
  --pink-hover: #EA3675;  /* hover on all ticket buttons */
  --violet: #E950D7;      /* hero text, Drugstore background */
  --orange: #F8643C;      /* Instagram block */
  --header-h: 75px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  font-variation-settings: "opsz" 32; /* Inter Display look */
  padding-top: var(--header-h);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
section, [id] { scroll-margin-top: var(--header-h); }

/* ===== Type ===== */
/* --d = size on 1440 desktop, --m = size on 390 mobile (px, unitless) */
.t {
  display: block;
  font-size: min(calc(var(--d) * var(--k, 1) * 1px), calc(var(--d) * var(--k, 1) * 100vw / 1440));
  letter-spacing: -0.04em;
  line-height: 0.91;
}
.a  { font-family: "Anton", sans-serif; font-weight: 400; }
.rs { font-family: "Rock Salt", cursive; font-weight: 400; }
.up { text-transform: uppercase; }
.lh98 { line-height: 0.98; }
.lh92 { line-height: 0.92; }
.lh88 { line-height: 0.88; }
.ls2 { letter-spacing: -0.02em; }

.body { font-size: 20px; line-height: 1.3; max-width: 700px; }
.body p + p { margin-top: 12px; }
.body b { font-weight: 700; }

.stack { display: flex; flex-direction: column; gap: 4px; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 100px;
  font-family: "Anton", sans-serif; font-size: 30px;
  line-height: 0.91; letter-spacing: -0.04em; text-transform: uppercase;
}
.header__nav { display: flex; gap: 32px; }
.header__right { display: flex; align-items: center; gap: 48px; }
.header__buy { text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.header__buy:hover { color: var(--pink-hover); }
.header__nav a:hover { opacity: .7; }
.langs { display: flex; gap: 10px; }
.langs button { opacity: .45; text-transform: uppercase; letter-spacing: -0.04em; }
.langs button.is-active, .langs button:hover { opacity: 1; }
.burger { display: none; }
.logo { display: none; }

/* ===== Mobile menu ===== */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--black); color: var(--white);
  display: none; flex-direction: column;
  font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: -0.04em;
}
.menu.is-open { display: flex; }
.menu__top { height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: flex-end; }
.menu__langs { padding: 0 16px 24px; gap: 24px; font-size: 48px; line-height: .91; }
.menu__nav { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 40px 16px; font-size: 48px; line-height: .91; }

/* ===== Ticket bars ===== */
.cta-bar {
  display: flex; align-items: center; justify-content: center;
  height: 64px; background: var(--pink); color: var(--black);
  font-family: "Anton", sans-serif; font-size: 30px; letter-spacing: -0.04em;
  transition: background .15s;
}
.cta-bar:hover { background: var(--pink-hover); }
.cta-bar--fixed { display: none; }

/* ===== Hero ===== */
.hero {
  background: var(--black); color: var(--violet); text-align: center;
  padding: 50px 100px; display: flex; flex-direction: column; gap: 24px;
}

/* ===== Pink strip ===== */
.strip {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--pink); color: var(--black); text-align: center;
  padding: 40px 100px; transition: background .15s;
}
.strip:hover { background: var(--pink-hover); }

/* ===== Text + photo rows ===== */
.row {
  display: grid; grid-template-columns: 848fr 592fr;
  min-height: min(588px, calc(588 * 100vw / 1440));
}
.row--rev { grid-template-columns: 592fr 848fr; }
.row--rev .row__img { order: -1; }
.row__text {
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 60px 48px 60px clamp(24px, 6.94vw, 100px);
}
.row--rev .row__text { padding: 70px clamp(24px, 6.94vw, 100px) 70px 48px; }
.row__img { background: #1a1a1a; overflow: hidden; }
.row__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Manifesto ===== */
.manifesto {
  background: var(--black); color: var(--pink); text-align: center;
  padding: 70px 100px; display: flex; flex-direction: column; gap: 36px;
}

/* ===== Drugstore ===== */
.drugstore {
  background: var(--violet); color: var(--black); text-align: center;
  padding: 70px 100px; display: flex; flex-direction: column; gap: 28px;
}

/* ===== Tickets ===== */
.tickets {
  background: var(--white); text-align: center;
  padding: 70px 100px; display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.tickets__widget { width: 100%; max-width: 736px; min-height: 200px; text-align: left; }

/* ===== Instagram ===== */
.insta {
  display: flex; flex-direction: column; gap: 24px;
  background: var(--black); color: var(--orange); text-align: center;
  padding: 70px 100px;
}
.insta__link { align-self: center; transition: color .15s; }
.insta__link:hover { color: #D84F2B; }

/* ===== Footer ===== */
.footer {
  background: var(--black); color: var(--white);
  display: flex; justify-content: space-between; gap: 24px;
  padding: 70px 60px;
  font-size: 14px; line-height: 1.3;
}
.footer__cols { display: flex; gap: 24px; }
.footer__cols p { width: 260px; }
.footer a:hover { color: var(--pink); }
.footer .u { text-decoration: underline; }
.footer__year { width: 260px; text-align: right; }

/* ===== Russian: Roboto Flex (Anton has no Cyrillic), axes from Figma ===== */
:root {
  /* pink ticket buttons */
  --rf-btn: "wght" 700, "wdth" 45, "slnt" 0, "GRAD" 0, "XOPQ" 96, "XTRA" 468,
            "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 760;
  /* menu */
  --rf-menu: "wght" 700, "wdth" 25, "slnt" 0, "GRAD" 0, "XOPQ" 96, "XTRA" 428,
             "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 760;
  /* headings */
  --rf-head: "wght" 700, "wdth" 37, "slnt" 0, "GRAD" 0, "XOPQ" 96, "XTRA" 468,
             "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 726;
}
html[lang="ru"] .a[data-i18n],
html[lang="ru"] .header__nav a,
html[lang="ru"] .header__buy,
html[lang="ru"] .menu__nav a,
html[lang="ru"] .cta-bar {
  font-family: "Roboto Flex", "Anton", sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
}

/* headings: 100 instead of 90, -3% */
html[lang="ru"] .a[data-i18n] {
  --k: calc(100 / 90);
  font-variation-settings: var(--rf-head);
  letter-spacing: -0.03em;
}

/* menu: 33 instead of 30, -4%, letter Ж 35 */
html[lang="ru"] .header__nav a,
html[lang="ru"] .header__buy,
html[lang="ru"] .menu__nav a {
  font-variation-settings: var(--rf-menu);
  letter-spacing: -0.04em;
}
html[lang="ru"] .header__nav, html[lang="ru"] .header__buy { font-size: calc(33em / 30); }
html[lang="ru"] .menu__nav { font-size: calc(48px * 33 / 30); }
.zh { font-size: calc(35em / 33); }

/* pink ticket buttons: КУПИТЬ БИЛЕТ 92, ОТ/ДИН 32, 2000 34, -3% */
html[lang="ru"] .strip .t,
html[lang="ru"] .cta-bar {
  font-variation-settings: var(--rf-btn);
  letter-spacing: -0.03em;
}
html[lang="ru"] .strip [data-i18n="strip_buy"] { --k: calc(92 / 90); }
html[lang="ru"] .strip [data-i18n="strip_from"] { --k: 1; }
.strip .num { font-size: calc(34em / 32); }

/* ===== Tablet: tighten paddings ===== */
@media (max-width: 1200px) {
  .header { padding: 0 40px; font-size: 24px; }
  .hero, .strip, .manifesto, .drugstore, .tickets, .insta { padding-left: 40px; padding-right: 40px; }
  .body { font-size: 18px; }
}

/* ===== Mobile ===== */
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .t { font-size: min(calc(var(--m) * var(--k, 1) * 100vw / 390), calc(var(--m) * var(--k, 1) * 1.6px)); }
  br.d { display: none; }

  .header { padding: 0 16px; justify-content: space-between; }
  .header__nav, .header__right { display: none; }
  .burger { display: block; height: 28px; }
  .logo { display: block; font-size: 30px; line-height: .91; letter-spacing: -0.04em; }
  .lhm141 { line-height: 1.41; }
  .lhm131 { line-height: 1.31; }

  .cta-bar--fixed { display: flex; position: fixed; inset: auto 0 0 0; z-index: 40; }
  body.menu-open .cta-bar--fixed { display: none; }
  body.menu-open { overflow: hidden; }

  .hero { padding: 40px 16px; gap: 12px; }
  .strip { display: none; }

  .row, .row--rev { grid-template-columns: 1fr; min-height: 0; }
  .row__img { order: -1; height: calc(360 * 100vw / 390); max-height: 560px; }
  .row__text, .row--rev .row__text { padding: 32px 16px 40px; gap: 16px; }
  .body { font-size: 16px; }

  .manifesto { padding: 40px 16px; gap: 12px; }
  .drugstore { padding: 40px 16px; gap: 12px; }
  .tickets { padding: 40px 16px; gap: 12px; }
  .insta { padding: 40px 16px; gap: 12px; }

  .footer { flex-direction: column; padding: 40px 16px 104px; }
  .footer__cols { flex-direction: column; gap: 16px; }
  .footer__cols p, .footer__year { width: auto; text-align: left; }
}
