@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f4ef;
  --surface: #ece8df;
  --surface-card: #fcfbf8;
  --text: #141619;
  --muted: #525864;
  --accent: #13294b;
  --accent-hover: #1c3a69;
  --accent-ink: #f6f4ef;
  --brass: #8c6b32;
  --hairline: rgba(20, 22, 25, 0.14);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

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

  --container: 1240px;
  --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(246, 244, 239, 0.94);
  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.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--accent);
}

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

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  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: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

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

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  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: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--accent);
}

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

/* Centered Monumental Hero + Wide Editorial Stage */
.hero {
  padding: 120px 0 64px;
  background: linear-gradient(180deg, #efece4 0%, #f6f4ef 45%);
}

.hero-top {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 44px;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8.2vw, 7.4rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.hero-lead {
  margin: 0 auto 28px;
  max-width: 52ch;
  color: var(--muted);
}

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

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

.hero-triptych {
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-frame {
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
  height: clamp(300px, 42vh, 430px);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

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

.section--stone {
  background: var(--surface);
}

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

/* Bio & Credentials */
.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}

.bio-columns p {
  margin: 0 0 18px;
  max-width: 62ch;
}

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

.credentials-table {
  border-top: 1px solid var(--hairline);
}

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

.cred-key {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--brass);
}

.cred-val {
  color: var(--text);
}

/* 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: 4px;
}

.segmented-btn {
  padding: 10px 22px;
  border-radius: 3px;
  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, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}

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

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

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

.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: 15px 0;
  border-bottom: 1px solid var(--hairline);
  max-width: 58ch;
}

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

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

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

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #141619;
  border-radius: 4px;
  overflow: hidden;
}

.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(19, 41, 75, 0.88) 0%, rgba(19, 41, 75, 0.14) 62%);
}

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

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

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

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

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

.video-poster-sub {
  font-size: var(--text-sm);
  color: rgba(246, 244, 239, 0.78);
  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);
}

.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: 2px;
}

.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;
}

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

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 0;
}

.gallery-card--wide { grid-column: span 6; }
.gallery-card--tall { grid-column: span 3; }

.gallery-thumb-box {
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
}

.gallery-card--wide .gallery-thumb-box { aspect-ratio: 3 / 2; }
.gallery-card--tall .gallery-thumb-box { aspect-ratio: 3 / 4; }

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

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

.gallery-caption {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* 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 var(--hairline);
  border-radius: 4px;
}

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

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

.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-card);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.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: 160px 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.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1.1;
}

.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 */
.site-footer {
  padding: 88px 0 56px;
  background: var(--accent);
  color: var(--accent-ink);
}

.site-footer .section-heading {
  color: var(--accent-ink);
}

.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(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  margin-bottom: 12px;
}

.contact-email-link {
  display: inline-block;
  color: rgba(246, 244, 239, 0.8);
  border-bottom: 1px solid rgba(246, 244, 239, 0.35);
  padding-bottom: 3px;
}

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

.social-link {
  padding: 11px 18px;
  border: 1px solid rgba(246, 244, 239, 0.28);
  border-radius: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

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

.site-footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 244, 239, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-sm);
  color: rgba(246, 244, 239, 0.72);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 22, 25, 0.9);
  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;
  color: #f6f4ef;
}

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

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

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

.icon-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(246, 244, 239, 0.25);
  display: grid;
  place-items: center;
  color: #f6f4ef;
  background: rgba(20, 22, 25, 0.65);
}

.booking-card {
  width: min(520px, 100%);
  background: var(--bg);
  color: var(--text);
  border-radius: 6px;
  padding: 32px;
  position: relative;
}

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

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

.booking-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--text);
  background: var(--surface);
  border-color: var(--hairline);
}

.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: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface-card);
  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: 4px;
  border: 1px solid rgba(246, 244, 239, 0.25);
  color: rgba(246, 244, 239, 0.82);
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}

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

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

@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .hero-triptych { grid-template-columns: 1fr 1fr; }
  .hero-frame:last-child { display: none; }
  .bio-layout,
  .role-stage,
  .theater-layout,
  .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 { padding: 108px 0 48px; }
  .hero-triptych { grid-template-columns: 1fr; }
  .hero-frame:first-child,
  .hero-frame:last-child { display: none; }
  .hero-frame { height: 260px; }
  .section { padding: 64px 0; }
  .cred-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;
  }
}
