/* Ported from standup-vibe-hub src/styles.css + index.tsx layout utilities */

:root {
  --radius: 0.875rem;
  --background: oklch(0.96 0.05 90);
  --foreground: oklch(0.18 0.02 30);
  --card: oklch(0.99 0.02 95);
  --card-foreground: oklch(0.18 0.02 30);
  --popover: oklch(0.99 0.02 95);
  --popover-foreground: oklch(0.18 0.02 30);
  --primary: oklch(0.62 0.22 27);
  --primary-foreground: oklch(0.99 0.02 95);
  --secondary: oklch(0.86 0.17 85);
  --secondary-foreground: oklch(0.18 0.02 30);
  --muted: oklch(0.92 0.04 85);
  --muted-foreground: oklch(0.35 0.03 40);
  --accent: oklch(0.86 0.17 85);
  --accent-foreground: oklch(0.18 0.02 30);
  --destructive: oklch(0.55 0.24 27);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(0.18 0.02 30 / 90%);
  --input: oklch(0.18 0.02 30);
  --ring: oklch(0.62 0.22 27);

  --pop-red: oklch(0.62 0.22 27);
  --pop-yellow: oklch(0.86 0.17 85);
  --pop-cream: oklch(0.96 0.05 90);
  --pop-ink: oklch(0.18 0.02 30);
  --pop-blue: oklch(0.72 0.12 240);

  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --max-3xl: 48rem;
  --max-6xl: 72rem;
  --max-7xl: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle, oklch(0.18 0.02 30 / 0.08) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.font-display {
  font-family: var(--font-display);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-black {
  font-weight: 900;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--foreground);
}

.header-inner {
  max-width: var(--max-7xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 3px solid var(--foreground);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1;
  padding-top: 3px;
  padding-bottom: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
}

.nav-desktop {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-header-cta {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 700;
  border: 3px solid var(--foreground);
  box-shadow: 3px 3px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-header-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* Мобильное меню-бургер (до 768px) */
.nav-mobile {
  position: static;
}

.nav-mobile-toggle {
  list-style: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid var(--foreground);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 3px 3px 0 0 var(--pop-ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-mobile-toggle::-webkit-details-marker {
  display: none;
}

.nav-mobile-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.nav-mobile[open] .nav-mobile-toggle {
  transform: translate(2px, 2px);
  box-shadow: none;
  background: var(--secondary);
}

.nav-mobile-bars {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 0.875rem;
}

.nav-mobile-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--foreground);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-mobile-bars span:nth-child(1) { top: 0; }
.nav-mobile-bars span:nth-child(2) { top: calc(50% - 1.5px); }
.nav-mobile-bars span:nth-child(3) { top: calc(100% - 3px); }

.nav-mobile[open] .nav-mobile-bars span:nth-child(1) {
  top: calc(50% - 1.5px);
  transform: rotate(45deg);
}

.nav-mobile[open] .nav-mobile-bars span:nth-child(2) {
  opacity: 0;
}

.nav-mobile[open] .nav-mobile-bars span:nth-child(3) {
  top: calc(50% - 1.5px);
  transform: rotate(-45deg);
}

.nav-mobile-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--card);
  border: 3px solid var(--foreground);
  border-radius: 1rem;
  box-shadow: 6px 6px 0 0 var(--pop-ink);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--foreground);
  text-decoration: none;
}

.nav-mobile-link:hover,
.nav-mobile-link:focus-visible {
  background: color-mix(in oklch, var(--secondary) 55%, var(--card));
}

.nav-mobile-link--cta {
  justify-content: center;
  margin-top: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 3px solid var(--foreground);
}

.nav-mobile-link--cta:hover,
.nav-mobile-link--cta:focus-visible {
  background: var(--primary);
  filter: brightness(1.05);
}

.site-header .btn-header-cta {
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }

  .site-header .btn-header-cta {
    margin-left: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 1.5rem 3rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-bottom: 5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: url("images/hero-popart.webp");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.hero-halftone {
  position: absolute;
  inset: 0;
  z-index: -10;
  opacity: 0.2;
  pointer-events: none;
}

.halftone {
  background-image: radial-gradient(circle, var(--pop-ink) 1.2px, transparent 1.4px);
  background-size: 8px 8px;
}

.halftone-light {
  opacity: 1;
}

.halftone-subtle {
  opacity: 0.1;
  pointer-events: none;
}

.halftone-on-primary {
  opacity: 0.15;
  pointer-events: none;
}

.hero-mobile-spacer {
  height: 14rem;
}

@media (min-width: 768px) {
  .hero-mobile-spacer.md-hidden {
    display: none;
  }
}

.md-hidden {
  display: block;
}

@media (min-width: 768px) {
  .md-hidden {
    display: none;
  }
}

.hero-inner {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-inner {
    padding-top: 12rem;
    padding-bottom: 2.5rem;
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 6rem;
  }
}

.hero-copy {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-copy {
    width: 62%;
    text-align: right;
  }
}

.hero-title {
  margin: 0;
  font-weight: 900;
  line-height: 0.88;
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--background);
  -webkit-text-stroke: 5px var(--pop-ink);
  paint-order: stroke fill;
}

@media (min-width: 768px) {
  .hero-title {
    -webkit-text-stroke: 8px var(--pop-ink);
  }
}

.hero-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 1rem;
  background: var(--primary);
  color: var(--foreground);
  border: 5px solid var(--foreground);
  box-shadow: 10px 10px 0 0 var(--pop-ink);
  transform: rotate(-2deg);
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

/* Hub-страницы: плашка города облегает текст */
.hub-hero .hero-copy {
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.hub-hero .hero-title {
  font-size: clamp(2.7rem, 9vw, 7.2rem);
}

.hub-hero .hero-title .hero-badge {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.45em;
  text-align: left;
  vertical-align: top;
  line-height: 1.05;
}

.hub-hero .hero-title .hero-badge--split {
  white-space: normal;
}

/* MSK: однострочный бейдж — block убирает лишний line-box под плашкой */
.hub-hero--msk .hero-title .hero-badge {
  display: block;
  width: max-content;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hub-hero--msk .hero-title .hero-badge {
    margin-left: auto;
  }
}

@media (min-width: 768px) {
  .hub-hero {
    min-height: 49.25rem;
  }

  .hub-hero .hero-tagline {
    width: max-content;
    max-width: 100%;
  }
}

.hero-tagline {
  margin: 2rem 0 0;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--background);
  background: var(--foreground);
  padding: 0.75rem 1.25rem;
  display: inline-block;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--primary);
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.5rem;
    margin-right: 0;
    text-align: left;
  }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-actions {
    justify-content: flex-end;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  border: none;
}

.btn-hero-primary {
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero-primary:hover .icon {
  transform: translateX(4px);
}

.btn-hero-primary .icon {
  transition: transform 0.15s ease;
}

.btn-hero-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.btn-hero-secondary {
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--foreground);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero-secondary:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.icon {
  flex-shrink: 0;
}

.text-gradient {
  color: var(--pop-red);
  -webkit-text-stroke: 2px var(--pop-ink);
  text-shadow: 4px 4px 0 var(--pop-ink);
}

/* Section heading accents stay straight — no skew/rotation */
.section-heading .text-gradient,
.section-heading-gallery .text-gradient,
.booking-title .text-gradient {
  display: inline;
  transform: none;
}

/* Sections */
.section {
  position: relative;
  padding: 6rem 1.5rem;
}

.section-inner-wide {
  max-width: var(--max-7xl);
  margin-left: auto;
  margin-right: auto;
}

.relative-z {
  position: relative;
  z-index: 1;
}

.bg-page {
  background: var(--background);
}

.section-schedule {
  background: var(--secondary);
  border-top: 4px solid var(--foreground);
  border-bottom: 4px solid var(--foreground);
}

.section-schedule-dots {
  position: absolute;
  inset: 0;
}

.pill-label {
  display: inline-block;
  background: var(--foreground);
  color: var(--background);
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hub-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hub-heading-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.region-badge {
  display: inline-block;
  vertical-align: middle;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.region-badge--spb {
  background: #1e3a5f;
  color: #fff;
}

.region-badge--msk {
  background: #8b1a1a;
  color: #fff;
}

.schedule-head {
  margin-bottom: 1.5rem;
}

.schedule-region-note {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.region-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
  padding: 0.35rem;
  border: 3px solid var(--foreground);
  border-radius: 9999px;
  background: var(--background);
  box-shadow: 4px 4px 0 0 var(--pop-ink);
}

.region-switcher__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--foreground);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

@media (min-width: 768px) {
  .region-switcher__tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

.region-switcher__tab:hover {
  background: color-mix(in oklch, var(--accent) 35%, transparent);
}

.region-switcher__tab.is-active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--foreground);
  box-shadow: 3px 3px 0 0 var(--pop-ink);
}

.region-switcher__tab.is-active:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 var(--pop-ink);
}

.section-heading {
  margin: 0;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 0.9;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 4.5rem;
  }
}

.section-head-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.gallery-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
}

.section-heading-gallery {
  margin: 0;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .section-heading-gallery {
    font-size: 3.75rem;
  }
}

/* Social subscribe */
.section-social-subscribe {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: var(--background);
  border-top: 4px solid var(--foreground);
  border-bottom: 4px solid var(--foreground);
}

.section-social-subscribe-dots {
  position: absolute;
  inset: 0;
}

.section-social-subscribe-inner {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 64rem;
  text-align: center;
}

.section-social-subscribe-title {
  margin: 0 0 2.5rem;
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .section-social-subscribe-title {
    font-size: 3rem;
  }
}

.section-social-subscribe-title .text-gradient {
  display: inline;
  transform: none;
}

.section-social-subscribe-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .section-social-subscribe-actions {
    flex-direction: row;
  }
}

.btn-social-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-size: 1.125rem;
  line-height: 1.25;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 640px) {
  .btn-social-channel {
    width: auto;
  }
}

.btn-social-channel:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.btn-social-channel--telegram {
  background-color: #229ed9;
}

.btn-social-channel--vk {
  background-color: #0077ff;
}

.btn-social-channel--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
}

.btn-social-channel-vk-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
}

/* For comics */
.section-for-comics {
  position: relative;
  padding: 6rem 1.5rem;
  background-color: var(--secondary);
  border-top: 4px solid var(--foreground);
}

.section-for-comics-dots {
  position: absolute;
  inset: 0;
}

.section-for-comics-shell {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-3xl);
}

.for-comics-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 4px solid var(--foreground);
  background-color: var(--background);
  box-shadow: 10px 10px 0 0 var(--pop-ink);
}

@media (min-width: 768px) {
  .for-comics-card {
    padding: 3rem;
  }
}

.for-comics-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--foreground);
  color: var(--background);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
}

.for-comics-title {
  margin: 0;
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .for-comics-title {
    font-size: 3rem;
  }
}

.for-comics-lead {
  margin: 1.25rem 0 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .for-comics-lead {
    font-size: 1.125rem;
  }
}

.for-comics-lead + .for-comics-lead {
  margin-top: 0.75rem;
}

.btn-for-comics-cta {
  margin-top: 2rem;
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-for-comics-cta:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

/* Events grid */
.grid-events {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-events {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.event-card {
  position: relative;
  border-radius: 1rem;
  background: var(--card);
  border: 4px solid var(--foreground);
  overflow: hidden;
  box-shadow: 8px 8px 0 0 var(--pop-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Fallback when JS is off; dynamic cards also get inline transform from main.js */
.event-card:nth-child(1) {
  transform: rotate(-2deg);
}

.event-card:nth-child(2) {
  transform: rotate(1deg);
}

.event-card:nth-child(3) {
  transform: rotate(-1.5deg);
}

.event-card:nth-child(4) {
  transform: rotate(0.8deg);
}

.event-card:nth-child(5) {
  transform: rotate(-1deg);
}

.event-card:nth-child(6) {
  transform: rotate(1.5deg);
}

.event-card:hover {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: none;
}

.event-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.event-body--linked {
  padding-bottom: 0.75rem;
}

.event-ticket-area {
  padding: 0 1.5rem 1.5rem;
}

.venue-directions {
  margin-top: 1.5rem;
}

.venue-directions h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.venue-directions p {
  margin: 0;
  line-height: 1.6;
  white-space: pre-line;
}

.event-description {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--foreground) 85%, transparent);
}

.event-poster-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary);
  border-bottom: 4px solid var(--foreground);
}

.event-card-region-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  pointer-events: none;
}

.event-card-region-badge .region-badge {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.event-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.event-card:hover .event-poster {
  transform: scale(1.05);
}

/* Videos grid */
.grid-videos {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-videos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.video-card {
  transition: transform 0.25s ease;
}

.video-card:nth-child(1) {
  transform: rotate(-1.5deg);
}

.video-card:nth-child(2) {
  transform: rotate(1deg);
}

.video-card:nth-child(3) {
  transform: rotate(-0.8deg);
}

.video-card:hover {
  transform: rotate(0deg) scale(1.02) !important;
}

.video-wrap {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--secondary);
  border-bottom: 4px solid var(--foreground);
}

.site-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-body {
  padding: 1.25rem 1.5rem;
}

.video-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.event-body {
  padding: 1.5rem;
}

.event-date-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-cal-wrap {
  display: flex;
  color: var(--foreground);
  flex-shrink: 0;
}

.event-cal-wrap .cal-icon {
  display: block;
}

.event-date-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.875rem;
  color: var(--primary);
}

.event-meta {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
}

.event-meta .icon-inline {
  display: inline;
  vertical-align: middle;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: -2px;
}

.event-divider {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 3px dashed color-mix(in oklch, var(--foreground) 40%, transparent);
}

.event-venue {
  margin: 0;
  font-weight: 900;
  font-size: 1.125rem;
}

.event-address {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in oklch, var(--foreground) 70%, transparent);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.icon-map {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.btn-ticket {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

a.btn-ticket {
  cursor: pointer;
}

.btn-ticket-buy {
  background: var(--foreground);
  color: var(--background);
}

.btn-ticket-buy:hover {
  transform: scale(0.97);
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-ticket-soon {
  background: color-mix(in oklch, var(--foreground) 25%, var(--secondary));
  color: color-mix(in oklch, var(--foreground) 65%, transparent);
  cursor: default;
  pointer-events: none;
}

.btn-ticket-free-link {
  background: #16a34a;
  color: #fff;
}

.btn-ticket-free-link:hover {
  transform: scale(0.97);
  background: color-mix(in oklch, oklch(0.55 0.18 145) 85%, var(--foreground));
  color: #fff;
}

.btn-ticket-free-disabled {
  background: color-mix(in oklch, var(--foreground) 28%, var(--secondary));
  color: color-mix(in oklch, var(--foreground) 55%, transparent);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-ticket-soldout {
  background: color-mix(in oklch, var(--destructive) 38%, var(--secondary));
  color: color-mix(in oklch, var(--destructive) 72%, var(--foreground));
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

.btn-ticket-main.btn-ticket-soldout {
  background: color-mix(in oklch, var(--destructive) 42%, var(--secondary));
  color: color-mix(in oklch, var(--destructive) 78%, #000);
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

.btn-ticket-main.btn-ticket-soldout:hover {
  transform: none;
  box-shadow: 4px 4px 0 0 #000;
}

/* Residents */
.section-residents {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.grid-residents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 640px) {
  .grid-residents {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-residents {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.resident-item {
  text-align: center;
}

.resident-photo-frame {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid var(--foreground);
  background: var(--secondary);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resident-item:nth-child(even) .resident-photo-frame {
  transform: rotate(2deg);
}

.resident-item:nth-child(odd) .resident-photo-frame {
  transform: rotate(-2deg);
}

.resident-item:has(.resident-photo-link):hover .resident-photo-frame {
  transform: translate(3px, 3px) rotate(0deg);
  box-shadow: none;
}

.resident-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resident-name {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
}

.resident-role {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.resident-photo-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.resident-photo-link:focus-visible .resident-photo-frame {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.resident-page-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.resident-page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.resident-page-hero__photo {
  width: min(100%, 18rem);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .resident-page-hero__photo {
    max-width: 180px;
    max-height: 180px;
    width: 180px;
  }
}

.resident-page-hero__title {
  margin-bottom: 0.5rem;
}

.resident-page-hero__role {
  margin-top: 0;
}

.resident-page-bio {
  margin: 1.5rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: color-mix(in oklch, var(--foreground) 88%, transparent);
}

.resident-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.resident-social-link {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 3px solid var(--foreground);
  text-decoration: none;
  color: #fff;
  box-shadow: 3px 3px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.resident-social-link:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--pop-ink);
  color: #fff;
}

.resident-social-link--telegram {
  background-color: #229ed9;
}

.resident-social-link--vk {
  background-color: #0077ff;
}

.resident-social-link--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.resident-social-link--youtube {
  background-color: #ff0000;
}

.resident-social-link--link {
  background: var(--foreground);
  color: var(--background);
}

.resident-page-cta {
  padding: 2rem 0 3rem;
  border-top: 2px dashed color-mix(in oklch, var(--foreground) 20%, transparent);
}

.resident-page-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.resident-page-cta__text {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.resident-photos-section {
  padding: 0 0 3rem;
}

.resident-videos-section {
  padding: 0 0 3rem;
}

.resident-videos-heading {
  margin: 0 0 2rem;
  text-align: center;
}

.resident-videos-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .resident-videos-grid--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.resident-videos-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.resident-videos-grid--single .resident-video-card {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.resident-videos-grid .resident-video-card {
  min-width: 0;
}

.resident-videos-grid .video-wrap {
  border-bottom: none;
  aspect-ratio: 16 / 9;
  height: auto;
}

.resident-videos-grid .site-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  height: auto;
}

.resident-photos-grid .event-poster-wrap {
  border-bottom: none;
}

button.event-card-link {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
  color: inherit;
}

.resident-video-section {
  padding: 0 0 3rem;
}

.resident-video-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.resident-video-wrap {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  background: #000;
}

.resident-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.resident-empty-events {
  padding: 2rem 0 3rem;
}

/* Gallery */
.section-gallery {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .gallery-grid > .gallery-cell:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-cell {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--secondary);
  aspect-ratio: 1;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.gallery-cell:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  cursor: pointer;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--background) 0%, transparent);
  transition: background 0.2s ease;
  pointer-events: none;
}

.gallery-cell:hover .gallery-thumb {
  transform: scale(1.1);
}

.gallery-cell:hover .gallery-overlay {
  background: color-mix(in oklch, var(--background) 30%, transparent);
}

/* Venue photo grid — reuses .gallery-cell hover; layout adapts to any N photos */
.venue-gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

@media (min-width: 768px) {
  .venue-gallery-grid > .gallery-cell:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.venue-gallery-grid > .gallery-cell {
  aspect-ratio: 4 / 3;
  border: 2px solid var(--foreground);
  border-radius: var(--radius);
}

/* Booking */
.section-booking {
  position: relative;
  padding: 6rem 1.5rem;
  border-top: 4px solid var(--foreground);
  border-bottom: 4px solid var(--foreground);
  background: var(--primary);
}

.section-booking-dots {
  position: absolute;
  inset: 0;
}

.booking-inner {
  max-width: var(--max-3xl);
  margin-left: auto;
  margin-right: auto;
}

.booking-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 4px solid var(--foreground);
  background: var(--background);
  box-shadow: 10px 10px 0 0 var(--pop-ink);
}

@media (min-width: 768px) {
  .booking-card {
    padding: 3.5rem;
  }
}

.booking-title {
  margin: 0;
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .booking-title {
    font-size: 3rem;
  }
}

.booking-lead {
  margin: 0.75rem 0 0;
}

.form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 3px solid var(--destructive);
  background: color-mix(in oklch, var(--destructive) 15%, transparent);
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.875rem;
}

.form-success-banner {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 3px solid var(--foreground);
  background: var(--secondary);
  font-weight: 700;
}

.form-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid .btn-submit {
    grid-column: span 2;
  }
}

.field-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--background);
  border: 3px solid var(--foreground);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-submit {
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: 3px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

/* Contacts */
.section-contacts {
  padding: 6rem 1.5rem;
}

.border-top-heavy {
  border-top: 4px solid var(--foreground);
}

.contacts-grid {
  max-width: var(--max-6xl);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contacts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 4px solid var(--foreground);
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.25s ease;
}

.contact-card:nth-child(1) {
  transform: rotate(-1.5deg);
}

.contact-card:nth-child(2) {
  transform: rotate(1deg);
}

.contact-card:nth-child(3) {
  transform: rotate(-0.8deg);
}

.contact-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.contact-icon-wrap {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 3px solid var(--foreground);
}

.contact-card-title {
  margin: 1rem 0 0;
  font-weight: 900;
  font-size: 1.25rem;
}

.contact-card-body {
  margin-top: 0.5rem;
}

.contact-email-row {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.contact-link {
  display: inline-block;
  margin-top: 0.5rem;
  transition: color 0.15s ease;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-contact-tg,
.btn-contact-vk,
.btn-contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 0 #000;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-contact-tg:hover,
.btn-contact-vk:hover,
.btn-contact-instagram:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 0 #000;
  color: #ffffff;
}

.btn-contact-tg {
  background: #229ed9;
  color: #ffffff;
}

.btn-contact-vk {
  background: #0077ff;
  color: #ffffff;
}

.btn-contact-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
}

.bg-primary-section {
  background: var(--primary);
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  text-align: center;
}

.footer-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Lightbox */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  z-index: 10;
  transition: background 0.2s;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  z-index: 11;
  border-radius: 9999px;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: inherit;
  transition: color 0.15s ease;
}

.lightbox-close:hover {
  color: var(--primary);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Event & venue subpages */
.subpage {
  min-height: 100vh;
  padding-top: 4rem;
}

.subpage .reveal:not(.event-card):not(.video-card):not(.comics-feature-card) {
  opacity: 1 !important;
  transform: none !important;
}

.subpage-header-inner,
.subpage-footer-inner {
  max-width: var(--max-7xl);
  margin-inline: auto;
}

.hub-city-nav {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  margin-right: 0.75rem;
  padding: 0.25rem 0.65rem;
  border: 2px solid var(--foreground);
  border-radius: 9999px;
  background: var(--background);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hub-city-nav__link {
  display: inline-flex;
  align-items: center;
  color: var(--foreground);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.15s ease;
  line-height: 1;
}

.hub-city-nav__link:hover,
.hub-city-nav__link.is-active {
  opacity: 1;
}

.hub-city-nav__link.is-active {
  color: var(--primary);
}

.hub-city-nav__sep {
  opacity: 0.35;
  user-select: none;
}

.subpage-footer {
  width: 100%;
}

.subpage-not-found {
  text-align: center;
  padding: 4rem 2rem;
}

.event-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: min(42vw, 480px);
  min-height: 220px;
  overflow: hidden;
  background: var(--banner-color, #e8251a);
}

.event-hero__blur {
  position: absolute;
  inset: -25%;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  filter: blur(32px) saturate(1.15);
  transform: scale(1.12);
}

.event-hero__blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.event-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.event-info-section,
.event-about-section,
.venue-info-section,
.venue-empty-events {
  padding: 2.5rem 1rem;
}

.venue-info-section {
  padding-top: 3.5rem;
}

.event-info-container,
.event-about-container {
  max-width: var(--max-6xl);
  margin: 0 auto;
}

.event-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  overflow: visible;
}

.event-region-row {
  margin: -0.75rem 0 1.25rem;
}

.event-details-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .event-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.event-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border: 2px solid var(--foreground);
  border-radius: var(--radius);
  background: var(--card);
}

.event-detail-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.event-detail strong {
  display: block;
  white-space: nowrap;
}

.event-weekday,
.metro,
.event-detail span:not(.event-detail-icon) {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.venue-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.venue-link:hover {
  color: var(--foreground);
}

.btn-ticket-main {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.5rem;
  background: var(--primary, #f5c842);
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 0.75rem;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-ticket-main:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
  text-decoration: none;
}

.event-ticket-checkout {
  margin: 1.5rem auto 0;
  text-align: center;
}

/* Style the provider's original trigger; its attributes and click handler stay intact. */
.event-ticket-checkout > :is(button, a) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 26rem);
  min-height: 4.5rem;
  margin: 0 auto;
  padding: 1.15rem 2rem;
  background: var(--primary) !important;
  color: var(--foreground) !important;
  border: 3px solid var(--foreground) !important;
  border-radius: var(--radius) !important;
  box-shadow: 5px 5px 0 var(--foreground) !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  font-weight: 800 !important;
  line-height: 1.3;
  text-align: center;
  text-transform: none !important;
  text-shadow: none !important;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.event-ticket-checkout > :is(button, a):hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--foreground) !important;
  text-decoration: none;
}

.event-ticket-checkout > :is(button, a):focus-visible {
  outline: 3px solid var(--foreground);
  outline-offset: 6px;
}

.ticket-pay-hint {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  border: 2px solid var(--foreground);
  border-radius: 0.625rem;
  background: color-mix(in oklch, var(--secondary) 45%, var(--card));
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}

.ticket-fallback-caption {
  margin: 1rem 0 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-align: center;
}

.btn-ticket-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--foreground);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  text-decoration: none;
  border: 2px solid var(--foreground);
  box-shadow: 3px 3px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-ticket-fallback:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
  text-decoration: none;
}

.event-performers {
  margin-top: 2rem;
}

.event-performers h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.performers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.performer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  border: 2px solid var(--foreground);
  border-radius: 9999px;
  background: var(--card);
  font-weight: 600;
}

.performer-chip img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.event-about-section {
  background: var(--card);
  border-block: 3px solid var(--foreground);
}

.event-about-section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.event-about-section p {
  margin: 0;
  max-width: 52rem;
  line-height: 1.65;
}

.event-afisha-section .events-grid,
.events-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .event-afisha-section .events-grid,
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .event-afisha-section .events-grid,
  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.venue-description {
  margin: 1.5rem 0;
  max-width: 48rem;
  line-height: 1.65;
}

.venue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 16px;
  margin-bottom: 1.5rem;
}

.btn-venue-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 2px solid var(--foreground);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--foreground);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-venue-link:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
  text-decoration: none;
}

.venue-empty-events .muted {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
}

.venue-hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 420px);
  overflow: hidden;
  background: var(--cover-color, #1a1a1a);
}

.venue-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.venue-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1rem clamp(1.25rem, 4vw, 2.75rem);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  color: #fff;
}

.venue-hero__inner {
  width: 100%;
  max-width: var(--max-6xl);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.venue-hero__title {
  margin: 0;
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.venue-hero__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  opacity: 0.95;
}

.venue-hero__meta strong {
  font-weight: 600;
}

.venue-hero__metro {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.875em;
}

.venue-hero__city {
  opacity: 0.85;
  font-size: 0.925em;
}

.venue-info-section--with-hero {
  padding-top: 2.5rem;
}

.venue-hero-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.event-videos-section,
.event-gallery-section,
.event-social-section {
  padding-block: 2rem;
}

/* About SEO block (homepage) */
.section-about-seo {
  position: relative;
  padding: 6rem 1.5rem;
}

.section-about-seo-dots {
  position: absolute;
  inset: 0;
}

.section-about-seo-shell {
  max-width: var(--max-3xl);
  margin-left: auto;
  margin-right: auto;
}

.about-seo-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 4px solid var(--foreground);
  background-color: var(--background);
  box-shadow: 10px 10px 0 0 var(--pop-ink);
}

@media (min-width: 768px) {
  .about-seo-card {
    padding: 3rem;
  }
}

.about-seo-title {
  margin: 0;
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .about-seo-title {
    font-size: 3rem;
  }
}

.about-seo-body {
  margin-top: 1.25rem;
}

.about-seo-body p {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--foreground) 85%, transparent);
}

@media (min-width: 768px) {
  .about-seo-body p {
    font-size: 1.125rem;
    line-height: 1.65;
  }
}

.about-seo-body p:last-child {
  margin-bottom: 0;
}

/* Venue reviews & FAQ */
.venue-reviews-section,
.venue-faq-section {
  padding: 4rem 1.5rem;
  background: var(--background);
  border-top: 4px solid var(--foreground);
}

.venue-reviews-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .venue-reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.venue-review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.25rem;
  border: 2px solid var(--foreground);
  border-radius: var(--radius);
  background: var(--card);
}

.venue-review-quote {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--foreground);
}

.venue-review-quote::before {
  content: "«";
}

.venue-review-quote::after {
  content: "»";
}

.venue-review-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.venue-review-meta strong {
  color: var(--foreground);
  font-weight: 700;
}

.venue-faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.venue-faq-item {
  border: 2px solid var(--foreground);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.venue-faq-item[open] {
  box-shadow: 4px 4px 0 0 var(--foreground);
}

.venue-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.venue-faq-question::-webkit-details-marker {
  display: none;
}

.venue-faq-question::marker {
  content: "";
}

.venue-faq-chevron {
  flex-shrink: 0;
  font-size: 0.875rem;
  transition: transform 0.25s ease;
}

.venue-faq-item[open] .venue-faq-chevron {
  transform: rotate(180deg);
}

.venue-faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.venue-faq-item[open] .venue-faq-answer-wrap {
  grid-template-rows: 1fr;
}

.venue-faq-answer-inner {
  overflow: hidden;
}

.venue-faq-answer {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.55;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.875rem;
}

/* === Comics page === */

.comics-page .comics-hero,
.comics-page .comics-openmics,
.comics-page .comics-features,
.comics-page .comics-why,
.comics-page .comics-cta {
  position: relative;
  padding: 5rem 1.5rem;
}

.comics-hero {
  background: var(--secondary);
  border-bottom: 4px solid var(--foreground);
  overflow: hidden;
  padding-top: 8rem !important;
}

.comics-hero-dots,
.comics-why-dots,
.comics-cta-dots {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

.comics-why-dots {
  opacity: 0.1;
}

.comics-hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.comics-hero-title {
  margin: 0 auto 1.75rem;
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.comics-hero-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.45;
}

.comics-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 1rem;
  border: 3px solid var(--foreground);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.comics-cta-btn:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.comics-cta-btn--yellow {
  background: var(--secondary);
  color: var(--foreground);
}

.comics-cta-btn--sm {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  box-shadow: 5px 5px 0 0 var(--pop-ink);
}

.comics-openmics-inner,
.comics-features-inner,
.comics-why-inner {
  max-width: var(--max-7xl);
  margin: 0 auto;
}

.comics-openmics-inner {
  max-width: 56rem;
}

.comics-openmics-card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 4px solid var(--foreground);
  background: var(--card);
  box-shadow: 10px 10px 0 0 var(--pop-ink);
  transform: none;
}

@media (min-width: 768px) {
  .comics-openmics-card {
    padding: 3rem;
  }
}

.comics-openmics-title,
.comics-section-title {
  margin: 0 0 1.5rem;
  font-weight: 900;
  font-size: clamp(1.875rem, 4.5vw, 3.75rem);
  line-height: 1.05;
}

.comics-body {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
}

.comics-openmics-card .comics-cta-btn {
  margin-top: 1.5rem;
}

.comics-section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.comics-features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .comics-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.comics-feature-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  padding: 1.75rem;
  background: var(--card);
  border: 4px solid var(--foreground);
  box-shadow: 8px 8px 0 0 var(--pop-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comics-features .comics-feature-card:nth-child(1) {
  transform: rotate(-1.5deg);
}

.comics-features .comics-feature-card:nth-child(2) {
  transform: rotate(0.5deg);
}

.comics-features .comics-feature-card:nth-child(3) {
  transform: rotate(-0.8deg);
}

.comics-features .comics-feature-card:hover {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.comics-feature-emoji {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--secondary);
  border: 3px solid var(--foreground);
  font-size: 1.5rem;
}

.comics-feature-title {
  margin: 1.25rem 0 0;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.2;
}

.comics-feature-text {
  margin: 0.75rem 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
}

.comics-why {
  background: var(--secondary);
  border-top: 4px solid var(--foreground);
  border-bottom: 4px solid var(--foreground);
  overflow: hidden;
}

.comics-why-inner {
  max-width: 64rem;
}

.comics-why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .comics-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.comics-why-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--background);
  border: 4px solid var(--foreground);
  box-shadow: 8px 8px 0 0 var(--pop-ink);
}

.comics-why-card--tilt-neg {
  transform: rotate(-1deg);
}

.comics-why-card--tilt-pos {
  transform: rotate(1deg);
}

.comics-why-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 3px solid var(--foreground);
}

.comics-why-text {
  font-weight: 900;
  font-size: clamp(1.125rem, 2.2vw, 1.25rem);
  line-height: 1.2;
}

.comics-cta {
  background: var(--primary);
  overflow: hidden;
}

.comics-cta-inner {
  max-width: var(--max-3xl);
  margin: 0 auto;
}

.comics-cta-card {
  text-align: center;
}

.comics-cta-card .booking-lead {
  margin-left: auto;
  margin-right: auto;
}

.comics-cta-card .form-grid {
  text-align: left;
}

@media (max-width: 767px) {
  .comics-page .comics-hero,
  .comics-page .comics-openmics,
  .comics-page .comics-features,
  .comics-page .comics-why,
  .comics-page .comics-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .comics-hero {
    padding-top: 7rem !important;
  }
}

/* Реквизиты в разделе «Контакты» и страница соглашения */
.contact-requisites {
  max-width: var(--max-6xl);
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 3px dashed color-mix(in oklch, var(--foreground) 45%, transparent);
  text-align: center;
}

.contact-requisites-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.contact-requisites-body {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 600;
}

.contact-requisites-link,
.footer-legal a {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-requisites-link:hover,
.footer-legal a:hover {
  color: var(--primary);
}

.footer-legal {
  margin-top: 0.5rem;
}

.legal-main {
  padding: 7rem 1.5rem 4rem;
}

.legal-doc {
  max-width: var(--max-3xl);
  margin-inline: auto;
  padding: 2rem 2rem 2.5rem;
  background: var(--card);
  border: 4px solid var(--foreground);
  border-radius: 1rem;
  box-shadow: 6px 6px 0 0 var(--pop-ink);
  line-height: 1.65;
}

.legal-head {
  margin-bottom: 1.5rem;
}

.legal-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.legal-meta {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.legal-doc h2 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
}

.legal-doc p {
  margin: 0 0 0.6rem;
}

.legal-doc ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.legal-doc a {
  color: var(--primary);
}

.legal-requisites {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 0.5rem 0 0;
}

.legal-requisites dt {
  font-weight: 700;
  color: var(--muted-foreground);
}

.legal-requisites dd {
  margin: 0;
  word-break: break-word;
}

@media (max-width: 639px) {
  .legal-main {
    padding: 6rem 1rem 3rem;
  }

  .legal-doc {
    padding: 1.25rem 1.1rem 1.75rem;
  }

  .legal-requisites {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .legal-requisites dd {
    margin-bottom: 0.5rem;
  }
}
