:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-soft: #0d1119;
  --text: #f4f6ff;
  --text-muted: #b2b8ca;
  --card-border: rgba(255, 255, 255, 0.14);
  --card-bg: rgba(255, 255, 255, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.45);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Yandex Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 10%, #131e37 0, transparent 35%),
    radial-gradient(circle at 85% 20%, #25203f 0, transparent 33%), var(--bg);
  color: var(--text);
}

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

.section {
  margin-bottom: 28px;
}

.hero {
  position: relative;
  padding-top: 72px;
  margin-bottom: 40px;
}

.nameplate {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8f9ff;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #c5cce0;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  max-width: 980px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 840px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.62;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 0;
  position: absolute;
  top: 72px;
  right: 0;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6ff;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.card {
  background: linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--card-bg);
  backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.media-card {
  margin-top: 28px;
  padding: 22px;
}

.card-head {
  margin-bottom: 18px;
}

.embedded-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
  background: #000;
  display: block;
}

.cascade-layout {
  padding-bottom: 56px;
}

.cascade {
  padding: 30px;
}

.block-intro h2 {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  letter-spacing: -0.02em;
}

.block-intro p {
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

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

.media-tile,
.photo-tile {
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-tile:hover,
.photo-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.media-tile img,
.photo-tile img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.media-inline-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: 0;
  background: #000;
  object-fit: cover;
}

.photo-tile img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.media-work-title,
.media-work-role {
  display: block;
  color: #e4e8f5;
  font-size: 0.95rem;
}

.media-work-title {
  padding: 12px 12px 4px;
  font-weight: 600;
}

.media-work-role {
  padding: 0 12px 14px;
  color: #cdd4e9;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 60;
}

.lightbox.is-open {
  display: grid;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox__dialog {
  position: relative;
  width: min(980px, calc(100% - 24px));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #020307;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #f7f9ff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.lightbox__video,
.lightbox__image {
  width: 100%;
  max-height: 82vh;
  display: none;
}

.lightbox__video.active,
.lightbox__image.active {
  display: block;
}

.bg-glow {
  position: fixed;
  width: 42vw;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.2;
  z-index: -1;
}

.bg-glow--one {
  top: -14vw;
  right: -10vw;
  background: #6f73ff;
}

.bg-glow--two {
  bottom: -15vw;
  left: -10vw;
  background: #1eb4ff;
}

@media (max-width: 840px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .hero {
    padding-top: 46px;
  }

  .cascade,
  .media-card {
    padding: 18px;
  }

  .social-links {
    position: static;
    margin-top: 18px;
  }
}

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