@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Unbounded:wght@500;600;700&display=swap');

:root {
  --bg: #080a0f;
  --surface: #10141e;
  --surface-elevated: #171d2b;
  --text: #fafafa;
  --muted: #a2acc0;
  --accent: #d4a359;
  --accent-hover: #e5b76e;
  --accent-ink: #0c0a07;
  --cobalt: #2b5fc7;
  --hairline: rgba(250, 250, 250, 0.12);

  --font-display: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-heading: clamp(1.75rem, 3vw, 2.55rem);
  --text-body: 1.0625rem;
  --text-sm: 0.875rem;

  --container: 1260px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), padding 200ms var(--ease);
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(250, 250, 250, 0.78);
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.header-phone {
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 8px;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 10, 15, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}

.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.25;
}

.mobile-drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-size: 1.25rem;
}

/* Full-Bleed Concert Stage Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  overflow: hidden;
  background: #080a0f;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.06);
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 24%, rgba(43, 95, 199, 0.22) 0%, rgba(8, 10, 15, 0) 56%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.55) 0%, rgba(8, 10, 15, 0.12) 28%, rgba(8, 10, 15, 0.72) 72%, #080a0f 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.hero-copy {
  max-width: 780px;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 6.4vw, 5.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-lead {
  margin: 0;
  max-width: 48ch;
  color: rgba(250, 250, 250, 0.86);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 92px 0;
  border-top: 1px solid var(--hairline);
}

.section--cobalt {
  background: radial-gradient(circle at 12% 10%, rgba(43, 95, 199, 0.16) 0%, transparent 48%), var(--surface);
}

.section-heading {
  margin: 0 0 38px;
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

/* Video Theater */
.theater-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: start;
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.video-player-el {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #050608;
}

.video-poster-btn {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  text-align: left;
  padding: 0;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.video-poster-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 15, 0.88) 0%, rgba(8, 10, 15, 0.12) 60%);
}

.video-poster-meta {
  position: absolute;
  inset: auto 24px 24px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.video-play-circle {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.video-poster-btn:hover .video-play-circle {
  transform: scale(1.06);
  background: var(--accent-hover);
}

.video-poster-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-poster-title {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text);
}

.video-poster-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.video-playlist {
  border-top: 1px solid var(--hairline);
}

.video-track-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 180ms var(--ease);
}

.video-track-btn:hover,
.video-track-btn.is-active {
  background: var(--surface-elevated);
}

.video-track-btn.is-active .video-track-title { color: var(--accent); }

.video-track-thumb {
  width: 92px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
}

.video-track-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-track-title {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
}

.video-track-meta {
  font-size: var(--text-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Segmented Role Switcher */
.formats-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.formats-head .section-heading { margin-bottom: 0; }

.segmented-control {
  display: inline-flex;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 8px;
}

.segmented-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

.segmented-btn.is-active,
.segmented-btn[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.role-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: center;
}

.role-panel-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 600;
  line-height: 1.12;
}

.role-panel-lead {
  margin: 0 0 24px;
  max-width: 56ch;
  color: var(--muted);
}

.role-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.role-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  max-width: 58ch;
}

.role-photo-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg);
}

.role-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.text-link-action {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid rgba(212, 163, 89, 0.45);
  padding-bottom: 3px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link-action:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Bio */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
}

.bio-prose p {
  margin: 0 0 18px;
  max-width: 60ch;
}

.bio-prose p:last-child { margin-bottom: 0; }

.venues-list { border-top: 1px solid var(--hairline); }

.venue-row {
  padding: 17px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
}

.venue-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
  padding: 0;
  text-align: left;
}

.gallery-card--wide {
  grid-column: span 6;
  aspect-ratio: 3 / 2;
}

.gallery-card--tall {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 6%;
  transition: transform 240ms var(--ease);
}

.gallery-card:hover img { transform: scale(1.03); }

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  background: linear-gradient(0deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.55) 55%, rgba(8, 10, 15, 0) 100%);
  font-size: var(--text-sm);
  color: var(--text);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}

.gallery-card:hover .gallery-caption,
.gallery-card:focus-visible .gallery-caption { opacity: 1; }

/* Afisha */
.afisha-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 24px 28px;
  margin-bottom: 32px;
  background: var(--bg);
  border: 1px solid rgba(212, 163, 89, 0.35);
  border-radius: 8px;
}

.afisha-offer-copy { max-width: 58ch; }

.afisha-offer-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text);
}

.afisha-offer-text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.afisha-offer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.btn-primary.is-claimed {
  background: var(--surface-elevated);
  color: var(--accent);
  border: 1px solid rgba(212, 163, 89, 0.45);
}

.discount-status {
  font-size: var(--text-sm);
  color: var(--accent);
  max-width: 44ch;
}

.afisha-list { border-top: 1px solid var(--hairline); }

.afisha-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.afisha-date {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1.25;
}

.afisha-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.afisha-title { font-weight: 600; }

.afisha-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.55;
}

.booking-discount-note {
  margin: 0 0 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

/* Footer / Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.contact-phone-big {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 14px;
  transition: color 180ms var(--ease);
}

.contact-phone-big:hover { color: var(--accent); }

.contact-email-link {
  display: inline-block;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 3px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-link {
  padding: 11px 18px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 8, 12, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}

.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.lightbox-shell {
  max-width: min(960px, 100%);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-img {
  max-height: 76dvh;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--text-sm);
  color: var(--muted);
}

.lightbox-controls { display: flex; gap: 10px; }

.icon-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--surface);
}

.booking-card {
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 32px;
  position: relative;
}

.booking-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.booking-card p {
  margin: 0 0 22px;
  font-size: var(--text-sm);
  color: var(--muted);
}

.booking-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.form-grid { display: grid; gap: 14px; }

.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--muted);
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
}

.field-input:focus { outline: none; border-color: var(--accent); }
.booking-status { margin-top: 12px; font-size: var(--text-sm); color: var(--accent); }

/* Concept Switcher in Footer */
.concept-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
}

.concept-switcher a {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  color: var(--muted);
  white-space: nowrap;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.concept-switcher a.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.concept-switcher a:hover:not(.is-current) {
  color: var(--text);
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .nav-links { gap: 16px; }
  .theater-layout,
  .role-stage,
  .bio-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gallery-card--tall { grid-column: span 4; }
}

@media (max-width: 780px) {
  .nav-links,
  .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: 92dvh; padding: 108px 0 56px; }
  .section { padding: 64px 0; }
  .venue-row,
  .afisha-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gallery-card--wide,
  .gallery-card--tall { grid-column: span 6; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .gallery-card--wide { grid-column: span 12; }
  .gallery-card--tall { grid-column: span 6; }
}

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