/* ========== TOKENS ========== */
:root {
  --bg: #FAF7F2;
  --bg-2: #F0EBE0;
  --bg-3: #E8DFCC;
  --ink: #1A1715;
  --ink-2: #4A4441;
  --ink-3: #8A8580;
  --line: #E0D9CB;
  --line-2: #CFC6B3;
  --accent: #C2410C;       /* terracotta */
  --accent-ink: #FFFFFF;
  --accent-soft: #FCEEE3;
  --gold: #C29A3F;
  --forest: #2F4A3A;
  --plum: #5A2A4A;
  --night: #1A2238;
  --gov-bar: #1A2E5C;       /* official top strip */
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1320px;
  --pad: 32px;

  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --font-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: white; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 4px solid var(--accent);
  outline-offset: 3px;
}

:where(a, button, [role="button"], [role="link"], input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* BVI mode (high contrast for visually impaired) */
body.bvi {
  --bg: #000;
  --bg-2: #121212;
  --bg-3: #242424;
  --ink: #fff;
  --ink-2: #f4f4f4;
  --ink-3: #e0e0e0;
  --line: #fff;
  --line-2: #d8d8d8;
  --accent: #ffd400;
  --accent-ink: #000;
  --accent-soft: #fff3a3;
  --gold: #ffd400;
  --forest: #000;
  --plum: #000;
  --night: #000;
  --gov-bar: #000;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}
body.bvi-font-base {
  --bvi-text-size: 18px;
  --bvi-small-size: 16px;
  font-size: 18px;
}
body.bvi-font-large {
  --bvi-text-size: 20px;
  --bvi-small-size: 18px;
  font-size: 20px;
}
body.bvi-font-xlarge {
  --bvi-text-size: 22px;
  --bvi-small-size: 20px;
  font-size: 22px;
}
body.bvi img { filter: grayscale(100%) contrast(1.2); }
body.bvi .gov-crest img { filter: none !important; }

/* ========== LAYOUT ========== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-kicker::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.section-link svg { transition: transform .2s; }
.section-link:hover svg { transform: translateX(4px); }

/* ========== GOV TOP BAR ========== */
.gov-bar {
  background: var(--gov-bar);
  color: white;
  font-size: 12px;
  padding: 8px 0;
}
.gov-bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.gov-left { display: flex; align-items: center; gap: 14px; }
.gov-crests {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gov-crest {
  width: 34px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.96;
  transition: opacity .2s, transform .2s;
}
.gov-crest:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.gov-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
}
.gov-crest--kk {
  width: 38px;
  height: 42px;
}
.gov-text { line-height: 1.3; opacity: 0.95; }
.gov-text strong { display: block; font-weight: 600; }
.gov-right { display: flex; align-items: center; gap: 20px; }
.gov-link { display: inline-flex; align-items: center; gap: 6px; opacity: 0.9; }
.gov-link:hover { opacity: 1; }
.gov-bvi { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; transition: all .2s; }
.gov-bvi:hover { background: white; color: var(--gov-bar); }
.bvi-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.bvi-size-btn {
  min-width: 38px;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}
.bvi-size-btn.active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ========== HEADER ========== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 52px; height: 52px;
  background: #7b1f2d;
  color: #fff;
  display: grid; place-items: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.logo-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}
.logo-text { line-height: 1.05; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.logo-text small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
  position: relative;
  padding: 10px 14px;
  font-weight: 500; font-size: 14px;
  border-radius: 10px;
  transition: background .15s;
}
.nav-item:hover { background: var(--bg-2); }
.nav-item.active { background: var(--ink); color: var(--bg); }
.nav-item--has-sub::after {
  content: ""; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-left: 6px; margin-bottom: 2px;
}
.nav-sub {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: white; border: 1px solid var(--line);
  border-radius: 14px; padding: 8px;
  min-width: 240px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all .15s;
}
.nav-item:hover .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:focus-visible { background: var(--bg-2); }
.nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2);
}
.nav-sub a:hover { background: var(--bg-2); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  transition: all .15s;
}
.icon-btn:hover { background: var(--ink); color: var(--bg); }

/* Site search reads the shared public API snapshot used by all static pages. */
.site-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: 96px 20px 24px;
  background: rgba(10, 20, 40, 0.38);
  backdrop-filter: blur(8px);
  animation: modalOverlayEnter .18s cubic-bezier(.2, 0, .2, 1) both;
}
.site-search-modal {
  width: min(720px, 100%);
  max-height: min(720px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  transform-origin: top center;
  animation: modalPanelEnter .24s cubic-bezier(.16, 1, .3, 1) both;
  will-change: opacity, transform;
}
.site-search-overlay.is-closing {
  animation: modalOverlayExit .17s cubic-bezier(.4, 0, 1, 1) both;
  pointer-events: none;
}
.site-search-overlay.is-closing .site-search-modal {
  animation: modalPanelExit .17s cubic-bezier(.4, 0, 1, 1) both;
}
.site-search-head {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.site-search-head input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.site-search-head input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.site-search-results {
  max-height: min(560px, calc(100vh - 220px));
  overflow: auto;
  padding: 8px;
}
.site-search-result {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 10px;
  color: inherit;
}
.site-search-result:hover {
  background: var(--bg-2);
}
.site-search-result span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-search-result strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.site-search-result small {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.45;
}
.site-search-empty {
  display: grid;
  gap: 6px;
  padding: 28px 20px;
  color: var(--ink-3);
}
.site-search-empty strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 100px;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em;
  transition: all .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-weight: 600; font-size: 14px;
  background: transparent;
  transition: all .15s;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ========== HERO ========== */
.hero { padding: 32px 0 64px; }

/* Hero — Slider variant */
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}
.hero-slider-track {
  display: flex;
  transform: translate3d(var(--offset, 0%), 0, 0);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  min-height: 580px;
  flex: 0 0 100%;
  backface-visibility: hidden;
}
.hero-slide-content {
  padding: 56px 56px 48px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}
.hero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.tag--age { background: var(--ink); color: var(--bg); border-color: var(--ink); font-family: var(--font-mono); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 84px);
  letter-spacing: -0.025em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-slider .hero-title em { display: block; }
.hero-desc {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 520px;
}
.hero-foot { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-dates { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.hero-date {
  display: flex; flex-direction: column;
  padding: 4px 18px;
  border-right: 1px solid var(--line-2);
  text-align: left;
}
.hero-date:first-child { padding-left: 0; }
.hero-date:last-child { border-right: none; }
.hero-date strong {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-date small {
  display: block;
  margin-top: 6px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.hero-cta { display: flex; gap: 10px; }

.hero-slide-visual { position: relative; overflow: hidden; }
.hero-pagination {
  position: absolute;
  bottom: 24px; left: 56px;
  display: flex; align-items: center; gap: 12px;
  z-index: 5;
}
.hero-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.hero-counter b { color: var(--ink); font-weight: 500; }
.hero-progress {
  width: 80px; height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero-progress::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--pct, 25%);
  background: var(--ink);
  transition: width .65s cubic-bezier(.22, .61, .36, 1);
}
.hero-arrows {
  position: absolute;
  bottom: 24px; right: 24px;
  display: flex; gap: 8px;
  z-index: 5;
}
.hero-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all .15s;
}
.hero-arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Hero — Poster variant (single big poster) */
.hero-poster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  min-height: 640px;
}
.hero-poster-art {
  position: relative;
  overflow: hidden;
}
.hero-poster-content {
  padding: 56px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.hero-poster-content .hero-title { color: var(--bg); }
.hero-poster-content .hero-desc { color: rgba(250, 247, 242, 0.75); }
.hero-poster-content .hero-date strong { color: var(--bg); }
.hero-poster-content .tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--bg); }
.hero-poster-content .hero-date { border-color: rgba(255,255,255,0.15); }

/* Hero — Collage variant */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
  min-height: 580px;
}
.hero-collage-main {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.hero-collage-main .hero-slide-content {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
  color: white;
  justify-content: end;
  padding: 40px;
}
.hero-collage-main .hero-title { color: white; font-size: clamp(32px, 4vw, 56px); }
.hero-collage-main .tag { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); color: white; backdrop-filter: blur(8px); }
.hero-collage-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column; justify-content: end;
  padding: 20px;
  color: white;
}
.hero-collage-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}
.hero-collage-card > * { position: relative; z-index: 1; }
.hero-collage-card .hcc-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.85;
}
.hero-collage-card .hcc-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.hero-collage-c1 { grid-column: 8 / span 5; grid-row: 1; }
.hero-collage-c2 { grid-column: 8 / span 3; grid-row: 2; }
.hero-collage-c3 { grid-column: 11 / span 2; grid-row: 2; }

/* ========== POSTER (placeholder art) ========== */
.poster {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
  display: grid; place-items: center;
  background: var(--bg-3);
}
.poster-bg { position: absolute; inset: 0; }
.poster-content {
  position: relative; z-index: 2;
  text-align: center; padding: 32px;
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.poster-noise {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.poster-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 12px;
  text-wrap: balance;
}
.poster-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.85;
}
.poster-deco { position: absolute; }

/* ========== TICKER (categories) ========== */
.ticker {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: tick 38s linear infinite;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.ticker-item { display: inline-flex; align-items: center; gap: 56px; }
.ticker-item::after {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== AFISHA ========== */
.afisha-controls {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg-2);
  border-radius: 100px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.afisha-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.pill {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .15s;
  white-space: nowrap;
}
.pill:hover { background: rgba(0,0,0,0.04); color: var(--ink); }
.pill.active { background: var(--ink); color: var(--bg); }
.afisha-dates {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
  font-size: 13px;
}
.date-chip {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  min-width: 44px;
  transition: all .15s;
}
.date-chip:hover { background: rgba(0,0,0,0.04); }
.date-chip.active { background: var(--accent); color: white; }
.date-chip strong { font-family: var(--font-display); font-size: 15px; line-height: 1; }
.date-chip small { font-size: 9px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

.afisha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card variant 1: Classic */
.card-classic {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .2s;
}
.card-classic:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.card-classic .card-art { aspect-ratio: 4/5; position: relative; }
.card-classic .card-art .poster-content { padding: 24px; }
.card-classic .card-art .poster-title { font-size: 34px; overflow-wrap: anywhere; }
.card-classic .card-art .poster-sub { font-size: 10px; letter-spacing: 0.12em; overflow-wrap: anywhere; }
.card-classic .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.card-classic .card-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; line-height: 1.25; }
.card-classic .card-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: 0; line-height: 1.1; margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-classic .card-body > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-classic .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.card-classic .card-when { font-size: 12px; color: var(--ink-2); min-width: 0; }
.card-classic .card-when b { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.card-classic .card-buy { font-size: 12px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }

/* Card variant 2: Editorial (poster + overlay) */
.card-editorial {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  color: white;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px;
  transition: all .2s;
}
.card-editorial:hover { transform: translateY(-4px); }
.card-editorial::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
}
.card-editorial > * { position: relative; z-index: 2; }
.card-editorial .ce-top { display: flex; justify-content: space-between; align-items: start; }
.card-editorial .ce-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.card-editorial .ce-age {
  background: white; color: var(--ink);
  padding: 4px 8px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
}
.card-editorial .ce-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 28px; line-height: 0.98; letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.card-editorial .ce-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; opacity: 0.9; }

/* Card variant 3: List (horizontal, dense) */
.afisha-grid--list { grid-template-columns: 1fr; gap: 0; }
.card-list {
  display: grid;
  grid-template-columns: 100px 200px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  transition: all .15s;
}
.card-list:hover { background: var(--bg-2); padding: 20px 16px; }
.card-list .cl-date {
  display: flex; flex-direction: column;
  text-align: center;
  padding: 12px;
  background: var(--bg-2);
  border-radius: 12px;
}
.card-list:hover .cl-date { background: white; }
.card-list .cl-date strong { font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -0.02em; }
.card-list .cl-date small { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.card-list .cl-art {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.card-list .cl-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-list .cl-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; line-height: 1.25; }
.card-list .cl-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: 0; line-height: 1.12; margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-list .cl-where { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.card-list .cl-where svg { display: inline; vertical-align: middle; margin-right: 4px; }
.card-list .cl-price { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.card-list .cl-price small { font-size: 12px; color: var(--ink-3); font-family: var(--font-body); display: block; font-weight: 400; }

/* ========== NEWS ========== */
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  transition: all .2s;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.news-card .news-art { aspect-ratio: 16/10; position: relative; }
.news-card .news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .news-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.news-card .news-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
.news-card .news-excerpt { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.news-card .news-tag { display: inline-flex; padding: 4px 10px; background: var(--bg-2); border-radius: 100px; font-size: 11px; font-weight: 600; align-self: start; }

.news-card.news-hero { grid-row: span 2; }
.news-card.news-hero .news-art { aspect-ratio: 4/3; }
.news-card.news-hero .news-title { font-size: 28px; }

/* ========== ABOUT ========== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat strong sup { font-size: 0.5em; vertical-align: super; color: var(--accent); }
.stat span { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

.about-text h2 { margin-bottom: 24px; }
.about-text p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }
.about-text p:first-of-type { font-size: 19px; color: var(--ink); }

.troupe-strip {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
}
.troupe-avatars { display: flex; }
.troupe-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -12px;
  background: var(--bg-3);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  color: white;
}
.troupe-avatar:first-child { margin-left: 0; }
.troupe-text { font-size: 14px; color: var(--ink-2); }
.troupe-text b { color: var(--ink); }

/* ========== GROUPS / KRUZHKI ========== */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.group-card {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: all .2s;
  cursor: pointer;
}
.group-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0; transition: all .3s;
}
.group-card:hover { background: var(--ink); color: var(--bg); }
.group-card:hover::after { opacity: 0.1; transform: scale(2); }
.group-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: white;
  display: grid; place-items: center;
  color: var(--accent);
}
.group-card:hover .group-icon { background: var(--accent); color: white; }
.group-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
.group-card p { font-size: 13px; line-height: 1.45; opacity: 0.7; margin: 0; }
.group-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.05em; }
.group-meta .age { color: var(--ink-3); }
.group-card:hover .group-meta .age { color: rgba(255,255,255,0.6); }
.group-meta .arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.05); transition: all .2s; }
.group-card:hover .group-meta .arrow { background: var(--accent); transform: rotate(-45deg); }

/* ========== PUSHKIN BANNER ========== */
.pushkin {
  background: linear-gradient(135deg, #1a2238 0%, #2a3458 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pushkin::before {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.pushkin-text { position: relative; z-index: 1; max-width: 640px; }
.pushkin-text h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.02em; line-height: 1; margin: 0 0 16px; }
.pushkin-text p { font-size: 16px; line-height: 1.5; opacity: 0.85; margin: 0 0 24px; }
.pushkin-text .btn-primary { background: white; color: var(--ink); }
.pushkin-text .btn-primary:hover { background: var(--accent); color: white; }
.pushkin-card-art {
  position: relative; z-index: 1;
  width: 280px; height: 176px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: rotate(-6deg);
  transition: transform .3s;
  overflow: hidden;
}
.pushkin:hover .pushkin-card-art { transform: rotate(-3deg) translateY(-4px); }
.pushkin-card-art-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pushkin-card-art .pca-top { display: flex; justify-content: space-between; align-items: start; font-size: 11px; opacity: 0.8; }
.pushkin-card-art .pca-name { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.pushkin-card-art .pca-num { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.15em; }

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 360px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo .logo-mark { background: #7b1f2d; color: #fff; }
.footer-logo .logo-text strong { color: var(--bg); }
.footer-logo .logo-text small { color: rgba(250, 247, 242, 0.5); }
.footer-brand p { font-size: 14px; opacity: 0.7; line-height: 1.5; }
.footer h4 { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 20px; opacity: 0.6; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; opacity: 0.85; transition: opacity .15s; }
.footer ul a:hover { opacity: 1; color: var(--accent); }
.footer-muted { font-size: 14px; opacity: 0.45; }
.footer-contacts { font-size: 14px; line-height: 1.6; }
.footer-contacts strong { display: block; margin-top: 14px; opacity: 0.6; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 4px; }
.footer-contacts a { display: block; opacity: 0.9; }
.footer-contacts a:first-of-type { font-family: var(--font-display); font-size: 18px; font-weight: 500; }

.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: all .15s;
}
.footer-social:hover { background: var(--accent); }
.footer-social.is-disabled { cursor: default; opacity: 0.55; }
.footer-social.is-disabled:hover { background: rgba(255,255,255,0.08); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 12px;
  opacity: 0.5;
}
.footer-bottom a { text-decoration: underline; }
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links button {
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
  opacity: .9;
}
.footer-legal-links button:hover { opacity: 1; color: var(--accent); }

/* ========== TICKET MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(26, 23, 21, 0.6);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: modalOverlayEnter .18s cubic-bezier(.2, 0, .2, 1) both;
}
.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 1040px;
  max-height: 90vh;
  overflow: auto;
  transform-origin: center;
  animation: modalPanelEnter .24s cubic-bezier(.16, 1, .3, 1) both;
  will-change: opacity, transform;
}
.modal-overlay.is-closing {
  animation: modalOverlayExit .17s cubic-bezier(.4, 0, 1, 1) both;
  pointer-events: none;
}
.modal-overlay.is-closing .modal {
  animation: modalPanelExit .17s cubic-bezier(.4, 0, 1, 1) both;
}
@keyframes modalOverlayEnter { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPanelEnter { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes modalOverlayExit { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalPanelExit { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.modal-header h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background .15s; }
.modal-close:hover { background: var(--ink); color: var(--bg); }
.modal-body { padding: 24px; }
.modal-event { display: flex; gap: 16px; margin-bottom: 24px; }
.modal-event-art { width: 100px; height: 130px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.modal-event-info h4 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 6px; }
.modal-event-info .me-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.modal-event-info .me-when { font-size: 14px; color: var(--ink-2); }
.modal-section { margin-bottom: 24px; }
.modal-section h5 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin: 0 0 12px; }

.hall-picker {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.hall-stage {
  height: 42px;
  border-radius: 12px 12px 28px 28px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hall-price-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hall-map {
  overflow-x: auto;
  padding-top: 32px;
  padding-bottom: 4px;
}
.hall-grid {
  min-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hall-row {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 12px;
  align-items: center;
}
.hall-row-label {
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
}
.hall-row-seats {
  display: grid;
  grid-template-columns: repeat(19, 1fr);
  gap: 6px;
}
.hall-seat {
  height: 30px;
  min-width: 28px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  transition: all .15s;
  position: relative;
}
.hall-seat:hover:not(.occupied) {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.hall-seat.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.hall-seat.occupied {
  background: repeating-linear-gradient(135deg, var(--bg-3) 0 4px, var(--bg-2) 4px 8px);
  color: var(--ink-3);
  border-color: var(--line-2);
  cursor: not-allowed;
}
.seat-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 5;
}
.seat-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.hall-seat.occupied:hover .seat-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.operator-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.operator-row-seats {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 14px;
  align-items: center;
}
.operator-seat-group {
  display: grid;
  gap: 6px;
}
.operator-seat-group:first-child {
  justify-self: end;
  width: max-content;
}
.operator-seat-group:last-child {
  justify-self: start;
  width: max-content;
}
.operator-booth {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 280px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 1;
}
.hall-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
}
.hall-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hall-legend i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: inline-block;
}
.legend-free { background: var(--bg-2); }
.legend-selected { background: var(--accent); border-color: var(--accent) !important; }
.legend-occupied { background: repeating-linear-gradient(135deg, var(--bg-3) 0 3px, var(--bg-2) 3px 6px); opacity: .65; }
.hall-selection {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-2);
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 13px;
}
.hall-selection b { font-weight: 800; }
.hall-selection span { color: var(--ink-2); }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option {
  padding: 14px; border: 1px solid var(--line); border-radius: 12px;
  background: white;
  display: flex; align-items: center; gap: 12px;
  transition: all .15s;
}
.payment-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.payment-option-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; }
.payment-option strong { font-size: 13px; display: block; }
.payment-option small { font-size: 11px; color: var(--ink-3); }

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; bottom: 0; background: var(--bg);
}
.modal-total { display: flex; flex-direction: column; }
.modal-total small { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.modal-total strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }

.legal-modal {
  max-width: 900px;
}
.legal-modal .modal-header {
  align-items: flex-start;
}
.legal-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.legal-updated {
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
}
.legal-intro {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 760px;
}
.legal-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-section h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}
.legal-section ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section li {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}
.legal-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

/* ========== UTILITIES ========== */
.row { display: flex; align-items: center; gap: 12px; }
.spacer { flex: 1; }

@media (max-width: 1100px) {
  .hero-slide { grid-template-columns: 1fr; }
  .hero-slide-visual { min-height: 360px; }
  .afisha-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.news-hero { grid-column: span 2; grid-row: auto; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .groups-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .hero { padding: 16px 0 32px; }
  .hero-slide-content { padding: 32px 24px; }
  .afisha-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.news-hero { grid-column: auto; }
  .pushkin { grid-template-columns: 1fr; padding: 32px 24px; }
  .pushkin-card-art { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-primary span { display: none; }
  .modal-overlay { padding: 10px; }
  .modal-body { padding: 18px; }
  .modal-event { align-items: flex-start; }
  .modal-event-art { width: 74px; height: 96px; }
  .modal-event-info h4 { font-size: 18px; }
  .hall-picker { padding: 14px; }
  .payment-options { grid-template-columns: 1fr; }
  .modal-footer { align-items: flex-start; flex-direction: column; }
  .footer-legal-links { gap: 12px; }
  .site-search-overlay { padding: 72px 12px 16px; }
  .site-search-modal { max-height: calc(100vh - 88px); }
  .site-search-head {
    grid-template-columns: 1fr 40px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ========== ACCESSIBLE HIGH-CONTRAST MODE ========== */
body.bvi *,
body.bvi *::before,
body.bvi *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

body.bvi :focus-visible {
  outline: 4px solid var(--accent) !important;
  outline-offset: 4px;
}

body.bvi :where(
  p, a, button, input, select, textarea, label, small, li, td, th,
  .tag, .section-link, .lede, .gov-text, .gov-text span, .gov-text strong,
  .nav-item, .logo-text strong, .hero-desc, .hero-counter,
  .hero-date small, .hero-date strong,
  .footer-legal-links button, .legal-kicker, .legal-updated,
  .legal-intro, .legal-section li, .legal-note,
  .card-meta, .card-when, .card-buy, .ce-num, .ce-meta,
  .cl-meta, .cl-where, .cl-price small,
  .news-date, .news-excerpt, .news-tag,
  .stat span, .troupe-text, .group-card p, .group-meta,
  .footer, .breadcrumbs, .modal-event-info .me-meta,
  .modal-event-info .me-when, .modal-section h5,
  .hall-price-note, .hall-row-label, .hall-seat, .hall-legend,
  .payment-option small, .doc-main span, .doc-size,
  .documents-section p, .contact-card .row small,
  .group-card-lg p, .article-lede, .vacancy-card p,
  .pushkin-step p, .pushkin-panel p, .faq-row p
) {
  font-size: max(var(--bvi-text-size, 20px), 1em) !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
}

body.bvi :where(
  h1, h2, h3, h4, h5,
  .hero-title, .section-title, .card-title, .ce-title, .cl-title,
  .news-title, .modal-header h3, .modal-event-info h4
) {
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
  text-wrap: wrap;
}

body.bvi :where(
  .gov-bar, .header, .hero-slider, .nav-sub,
  .card-classic, .news-card, .stat, .group-card, .group-icon,
  .modal, .hall-picker, .payment-option, .hall-selection,
  .legal-note,
  .date-chip, .pill, .card-list .cl-date,
  .event-quick, .event-quick-cell, .cast-card, .afisha-toolbar,
  .afisha-search, .month-strip, .vacancies-note, .vacancy-step,
  .contact-card, .documents-note, .doc-cards, .doc-card,
  .group-card-lg, .month-cell, .club-row, .show-row,
  .vacancy-card, .anti-doc-card, .procurement-doc,
  .pushkin-step, .pushkin-panel, .pushkin-faq, .faq-row,
  .documents-aside > a, .filter-check, .view-toggle,
  .article blockquote, .pk-note
) {
  background: var(--bg-2) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

body.bvi :where(.hero-slide-content, .modal-footer, .footer, .footer-bottom) {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

body.bvi :where(.legal-intro, .legal-section li, .legal-note, .legal-updated) {
  color: var(--ink) !important;
  opacity: 1 !important;
}

body.bvi .footer-bottom,
body.bvi .footer-legal-links button {
  opacity: 1 !important;
}

body.bvi :where(.gov-bar, .header, .footer, .modal, .hero-slider, .card-classic, .news-card, .hall-picker, .payment-option) {
  border-width: 2px !important;
  border-style: solid !important;
}

body.bvi :where(.site-search-modal, .site-search-result, .site-search-head input) {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 2px solid var(--line) !important;
}

body.bvi :where(.btn-primary, .bvi-size-btn.active, .nav-item.active, .pill.active, .date-chip.active, .month-cell.active, .payment-option.selected, .hall-seat.selected, .view-toggle button.active, .vacancies-aside button.active) {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border-color: var(--accent) !important;
}

body.bvi :where(.btn-ghost, .icon-btn, .hero-arrow, .gov-bvi, .bvi-size-btn, .doc-download, .footer-social) {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 2px solid var(--line) !important;
}

body.bvi :where(.btn-ghost:hover, .icon-btn:hover, .hero-arrow:hover, .gov-bvi:hover, .bvi-size-btn:hover, .doc-download:hover, .footer-social:hover) {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border-color: var(--accent) !important;
}

body.bvi :where(.tag--accent, .section-kicker, .card-buy, .section-link:hover, .footer ul a:hover) {
  color: var(--accent) !important;
}

body.bvi .tag--accent {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
}

body.bvi .tag--age {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}

body.bvi .hero-progress,
body.bvi .section-kicker::before {
  background: var(--line) !important;
}

body.bvi .hero-progress::after {
  background: var(--accent) !important;
}

body.bvi :where(.poster, .card-art, .news-art, .cl-art, .modal-event-art, .hero-slide-visual) {
  border: 2px solid var(--line) !important;
}

body.bvi .poster-noise,
body.bvi .pushkin::before,
body.bvi .group-card::after,
body.bvi .card-editorial::after,
body.bvi .hero-collage-card::after {
  display: none !important;
}

body.bvi :where(.card-editorial, .pushkin, .pushkin-card-art, .hero-poster, .hero-collage-main, .hero-collage-card, .pushkin-panel.dark) {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 2px solid var(--line) !important;
}

body.bvi :where(.hero-poster-content .hero-title, .hero-poster-content .hero-desc, .hero-poster-content .hero-date strong, .hero-collage-main .hero-title, .hero-collage-main .hero-date strong, .hero-collage-main .hero-date small, .pushkin-text p, .footer-logo .logo-text strong, .footer-logo .logo-text small) {
  color: var(--ink) !important;
  opacity: 1 !important;
}

body.bvi :where(.card-editorial .ce-age) {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border: 2px solid var(--line) !important;
}

body.bvi :where(input, select, textarea) {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 2px solid var(--line) !important;
}

body.bvi :where(.hero-slider-track, .card-classic, .news-card, .group-card, .pushkin-card-art),
body.bvi .hero-progress::after {
  transition: none !important;
}

body.bvi .gov-bar-inner,
body.bvi .gov-right {
  align-items: center;
  flex-wrap: wrap;
}

body.bvi .gov-left {
  min-width: 0;
  flex: 1 1 420px;
}

body.bvi .gov-text {
  overflow-wrap: anywhere;
}

body.bvi .gov-link,
body.bvi .gov-bvi,
body.bvi .bvi-controls {
  flex: 0 0 auto;
}

body.bvi .header-inner {
  height: auto;
  min-height: 96px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
}

body.bvi .nav {
  order: 3;
  width: 100%;
  flex-wrap: wrap;
  align-items: stretch;
}

body.bvi .nav-item {
  border: 2px solid var(--line);
  border-radius: 10px;
}

body.bvi .header-actions {
  margin-left: auto;
}

body.bvi .tag-mini {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border: 2px solid var(--accent) !important;
}

@media (max-width: 720px) {
  .bvi-controls {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

  body.bvi .gov-bar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.bvi .gov-right {
    width: 100%;
    flex-wrap: wrap;
  }
}
