:root {
  --bg: #140714;
  --bg-soft: #3a1c3f;
  --bg-soft-2: #53245a;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.1);
  --white: #fbf7fb;
  --text-soft: rgba(251,247,251,0.82);
  --text-muted: rgba(251,247,251,0.68);
  --pink: #d95ea7;
  --pink-soft: #ef9ed1;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 28px 60px rgba(0,0,0,0.28);
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(217,94,167,0.16), transparent 24%),
    linear-gradient(90deg, #3a1c3f 0%, #140714 78%);
  color: var(--white);
  line-height: 1.5;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(20,7,20,0.76);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 86px;
  height: 64px;
  object-fit: contain;
}

.brand-title {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav a {
  color: var(--text-soft);
  font-weight: 650;
}

.nav a:hover {
  color: var(--white);
}

.nav a[aria-current="page"] {
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #100610;
  color: var(--text-soft);
}

.footer-inner {
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(220px, 0.8fr);
  align-items: start;
  gap: 28px;
}

.footer-inner-simple {
  display: block;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-title {
  margin-bottom: 8px !important;
  color: var(--white);
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-soft);
  font-weight: 700;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--white);
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.hero {
  padding: 52px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-soft);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 16px 34px rgba(217,94,167,0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.hero-logo-wrap {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 26px;
  margin-bottom: 30px;
}

.members-head {
  margin-bottom: 24px;
}

.section-note {
  max-width: 470px;
  margin: 0;
  color: var(--text-muted);
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

.next-event,
.event-card,
.actor-card,
.contact-box,
.intro-grid {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.next-event {
  padding: 28px;
}

.next-event-label {
  margin: 0 0 10px;
  color: var(--pink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 900;
}

.next-event ul {
  padding-left: 18px;
  color: var(--text-soft);
}

.next-event p {
  color: var(--text-soft);
}

.event-empty {
  margin: 18px 0;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-card {
  padding: 22px;
}

.event-date {
  margin: 0 0 12px;
  color: var(--pink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-card p:last-child {
  color: var(--text-muted);
  margin-bottom: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px 48px;
  padding: 28px;
}

.intro-grid p:last-child {
  color: var(--text-soft);
  font-size: 1.08rem;
  margin: 0;
}

.actors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.actor-card {
  overflow: hidden;
}

.actor-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
}

.actor-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.actor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
}

.actor-card-wide .actor-photo img {
  height: 100%;
  aspect-ratio: auto;
}

.actor-text {
  padding: 18px 18px 20px;
}

.actor-label {
  margin: 0 0 10px;
  color: var(--pink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
  font-weight: 900;
}

.actor-text p:last-child {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.contact-box {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.contact-box p:last-child {
  color: var(--text-soft);
}


.contact-email {
  margin: 12px 0 0;
  color: var(--white);
  font-weight: 800;
}

.contact-email a {
  text-decoration: underline;
  text-decoration-color: rgba(239,158,209,0.72);
  text-underline-offset: 4px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  font-weight: 800;
}

.social-links a:hover {
  background: rgba(217,94,167,0.18);
  border-color: rgba(239,158,209,0.5);
}


.gallery-hero {
  padding-top: 76px;
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 42px;
  align-items: center;
}

.gallery-logo-card {
  width: min(100%, 420px);
  justify-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-logo-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.gallery-empty {
  max-width: 760px;
  margin-bottom: 28px;
}

.gallery-empty h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.gallery-empty p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(217,94,167,0.22), transparent 28%),
    rgba(255,255,255,0.06);
  color: rgba(251,247,251,0.42);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.gallery-placeholder.tall {
  grid-row: span 2;
}

.gallery-placeholder.wide {
  grid-column: span 2;
}

@media (max-width: 840px) {
  .gallery-hero-grid {
    grid-template-columns: 1fr;
  }

  .gallery-logo-card {
    max-width: 420px;
  }

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

  .gallery-placeholder.wide {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
  }

  .gallery-placeholder.tall {
    grid-row: span 1;
  }
}

@media (max-width: 1080px) {
  .actors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .events-list {
    grid-template-columns: 1fr;
  }
  .actor-card-wide {
    grid-column: auto;
    display: block;
  }
}

@media (max-width: 840px) {
  .hero-grid,
  .events-layout,
  .intro-grid,
  .contact-box,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

  .hero-logo-wrap {
    max-width: 520px;
  }

  .actors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 28px 0 42px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-logo-wrap {
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .hero-logo {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }

  .gallery-hero {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .gallery-hero-grid {
    gap: 24px;
  }

  .gallery-logo-card {
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .gallery-logo-card img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }

  .nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .brand-logo {
    width: 82px;
    height: 58px;
  }

  .actors-grid {
    grid-template-columns: 1fr;
  }

  .actor-card,
  .actor-card-wide {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .actor-photo img,
  .actor-card-wide .actor-photo img {
    height: 100%;
    aspect-ratio: auto;
  }

  .contact-box {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}


.gallery-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.gallery-intro p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.gallery-grid-real {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.26);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239,158,209,0.52);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 840px) {
  .gallery-grid-real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gallery-grid-real {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-card {
    aspect-ratio: 1 / 1;
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    background: rgba(0,0,0,0.26);
  }
}


.gallery-back {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}


.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 4, 8, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 80px);
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}


.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  z-index: 2;
  cursor: pointer;
}

.lightbox-hit-left {
  left: 0;
}

.lightbox-hit-right {
  right: 0;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 14px;
  }

  .lightbox-stage,
  .lightbox-stage img {
    max-height: calc(100vh - 96px);
  }

  .lightbox-stage img {
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-hit {
    width: 28%;
  }
}
