.r2-video-viewer { z-index: 10000; }
.r2-video-viewer video { max-width: min(92vw, 1280px); max-height: 78vh; background: #000; }
.r2-youtube-viewer .archive-lightbox-content { width: min(92vw, 1280px); }
.r2-youtube-viewer iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

/* Unified lightbox navigation for Red Carpet, BTS and Merch. */
.r2-media-stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
}

.r2-media-stage > img,
.r2-media-stage > video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 118px);
  object-fit: contain;
  background: #000;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.7);
}

.r2-media-stage > video {
  max-width: min(1500px, 94vw);
}

.r2-media-counter {
  color: rgba(244, 241, 237, 0.62);
  letter-spacing: 0.16em;
  font: 8px/1 monospace;
}

.r2-media-nav {
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(48px, 4.5vw, 66px);
  height: clamp(64px, 7vw, 94px);
  padding: 0 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(12, 12, 12, 0.38);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  cursor: pointer;
  font: 300 clamp(42px, 4vw, 62px)/1 Arial, sans-serif;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.1);
}

.r2-media-nav--previous { left: clamp(10px, 2.2vw, 38px); }
.r2-media-nav--next { right: clamp(10px, 2.2vw, 38px); }

.r2-media-nav:hover,
.r2-media-nav:focus-visible {
  color: #070707;
  background: rgba(241, 38, 24, 0.9);
  border-color: var(--acid);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.r2-media-nav[hidden] { display: none; }

/* Prevent long anchor animations from fighting the user's own scroll. */
html { scroll-behavior: auto; }

/* Trailer and Multiverse cast dossiers: a cinematic contact-sheet system
   with project-specific accents and the depth of the Brennt Show cards. */
.cast-section {
  --cast-accent: #f12618;
  --cast-accent-rgb: 241, 38, 24;
  --cast-shadow: rgba(82, 24, 18, 0.72);
  position: relative;
  isolation: isolate;
  margin-top: clamp(54px, 6vw, 92px);
  padding: clamp(28px, 3.2vw, 46px) clamp(14px, 1.8vw, 28px) clamp(34px, 4vw, 58px);
  border: 1px solid rgba(var(--cast-accent-rgb), 0.24);
  background:
    linear-gradient(145deg, rgba(var(--cast-accent-rgb), 0.075), transparent 32%),
    repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(255, 255, 255, 0.022) 20%),
    #080707;
  overflow: hidden;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 28px 80px rgba(0, 0, 0, 0.22);
}

.cast-section::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cast-accent), rgba(var(--cast-accent-rgb), 0.12) 44%, transparent 82%);
}

.cast-section::after {
  content: "CAST";
  position: absolute;
  z-index: -1;
  right: -1.5%;
  bottom: -0.17em;
  color: rgba(var(--cast-accent-rgb), 0.035);
  letter-spacing: -0.09em;
  font-size: clamp(110px, 17vw, 260px);
  font-weight: 900;
  line-height: 0.7;
  pointer-events: none;
}

#trailer-panel-sg25ai09 .cast-section {
  --cast-accent: #67a9c5;
  --cast-accent-rgb: 103, 169, 197;
  --cast-shadow: rgba(26, 58, 75, 0.76);
}

#multiverse-panel-the-eternal .cast-section {
  --cast-accent: #b99a68;
  --cast-accent-rgb: 185, 154, 104;
  --cast-shadow: rgba(74, 54, 29, 0.76);
}

#multiverse-panel-rexar-revival .cast-section {
  --cast-accent: #9a78bd;
  --cast-accent-rgb: 154, 120, 189;
  --cast-shadow: rgba(54, 35, 75, 0.78);
}

#multiverse-panel-hope .cast-section {
  --cast-accent: #5e9eae;
  --cast-accent-rgb: 94, 158, 174;
  --cast-shadow: rgba(24, 59, 68, 0.78);
}

.cast-heading {
  position: relative;
  align-items: flex-end;
  margin-bottom: clamp(28px, 3vw, 42px);
  padding-bottom: 20px;
  border-bottom-color: rgba(var(--cast-accent-rgb), 0.44);
}

.cast-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: clamp(62px, 8vw, 120px);
  height: 1px;
  background: var(--cast-accent);
  box-shadow: 0 0 18px rgba(var(--cast-accent-rgb), 0.42);
}

.cast-heading h3 {
  color: #f1ece7;
  text-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.cast-heading span {
  color: rgba(var(--cast-accent-rgb), 0.86);
  font-weight: 700;
}

.cast-grid {
  gap: clamp(38px, 4vw, 58px) clamp(14px, 1.35vw, 22px);
}

.cast-card {
  position: relative;
  isolation: isolate;
  padding: 0 0 4px;
}

.cast-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8px;
  right: -7px;
  bottom: 49px;
  left: 8px;
  border: 1px solid rgba(var(--cast-accent-rgb), 0.2);
  background: rgba(var(--cast-accent-rgb), 0.055);
  transition: background 0.42s ease, border-color 0.42s ease, transform 0.52s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.cast-portrait {
  z-index: 1;
  border-color: rgba(var(--cast-accent-rgb), 0.58);
  background: #080808;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--cast-shadow), 0 22px 54px rgba(0, 0, 0, 0.32);
  transform: translate3d(0, 0, 0);
  transition: transform 0.52s cubic-bezier(0.18, 0.72, 0.22, 1), border-color 0.38s ease, box-shadow 0.52s cubic-bezier(0.18, 0.72, 0.22, 1);
  will-change: transform;
}

.cast-portrait::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -18% -72%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    108deg,
    transparent 39%,
    rgba(var(--cast-accent-rgb), 0.04) 44%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(var(--cast-accent-rgb), 0.1) 55%,
    transparent 61%
  );
  transform: translate3d(-36%, 0, 0);
  transition: transform 0.82s cubic-bezier(0.2, 0.68, 0.2, 1), opacity 0.22s ease;
}

.cast-portrait::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 26%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(90deg, rgba(var(--cast-accent-rgb), 0.09), transparent 38%);
  box-shadow: inset 0 0 42px rgba(var(--cast-accent-rgb), 0.08), inset 0 -1px rgba(255, 255, 255, 0.06);
}

.cast-portrait img {
  filter: saturate(0.86) contrast(1.035) brightness(0.94);
  transform: scale(1.001);
  transform-origin: 50% 42%;
  transition: transform 0.72s cubic-bezier(0.18, 0.72, 0.22, 1), filter 0.42s ease;
  will-change: transform;
}

.cast-card h4 {
  position: relative;
  z-index: 2;
  min-height: 34px;
  margin: 18px 0 0;
  padding: 12px 32px 0 13px;
  border-top: 1px solid rgba(var(--cast-accent-rgb), 0.34);
  color: #e5dfda;
  letter-spacing: 0.01em;
  font-size: 14px;
  transition: color 0.32s ease, border-color 0.42s ease, transform 0.52s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.cast-card h4::before {
  width: 12px;
  height: 2px;
  margin-right: 8px;
  border-radius: 0;
  background: var(--cast-accent);
  vertical-align: 4px;
  box-shadow: 0 0 10px rgba(var(--cast-accent-rgb), 0.45);
  transform-origin: 0 50%;
  transition: width 0.42s cubic-bezier(0.18, 0.72, 0.22, 1), box-shadow 0.32s ease;
}

.cast-card h4::after {
  content: "↗";
  position: absolute;
  right: 8px;
  bottom: 1px;
  color: rgba(var(--cast-accent-rgb), 0.74);
  font: 12px/1 monospace;
  opacity: 0.48;
  transform: translate(-4px, 4px);
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.cast-card:hover .cast-portrait,
.cast-card:focus-within .cast-portrait {
  border-color: var(--cast-accent);
  transform: translate3d(-3px, -7px, 0);
  box-shadow: 12px 14px 0 var(--cast-shadow), 0 34px 72px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--cast-accent-rgb), 0.16);
}

.cast-card:hover .cast-portrait::before,
.cast-card:focus-within .cast-portrait::before {
  opacity: 1;
  transform: translate3d(36%, 0, 0);
}

.cast-card:hover .cast-portrait img,
.cast-card:focus-within .cast-portrait img {
  filter: saturate(1) contrast(1.03) brightness(1.02);
  transform: scale(1.052) translateY(-0.6%);
}

.cast-card:hover::after,
.cast-card:focus-within::after {
  border-color: rgba(var(--cast-accent-rgb), 0.44);
  background: rgba(var(--cast-accent-rgb), 0.1);
  transform: translate3d(3px, 4px, 0);
}

.cast-card:hover h4,
.cast-card:focus-within h4 {
  color: #fff;
  border-top-color: rgba(var(--cast-accent-rgb), 0.78);
  transform: translateX(3px);
}

.cast-card:hover h4::before,
.cast-card:focus-within h4::before {
  width: 25px;
  box-shadow: 0 0 15px rgba(var(--cast-accent-rgb), 0.72);
}

.cast-card:hover h4::after,
.cast-card:focus-within h4::after {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 760px) {
  .cast-section {
    margin-top: 46px;
    padding: 25px 12px 34px;
  }

  .cast-section::after {
    right: -5%;
    font-size: 34vw;
  }

  .cast-heading {
    margin-bottom: 27px;
    padding-bottom: 16px;
  }

  .cast-grid {
    gap: 34px 13px;
  }

  .cast-card::after {
    right: -4px;
    bottom: 45px;
    left: 5px;
  }

  .cast-portrait {
    box-shadow: 5px 5px 0 var(--cast-shadow), 0 16px 36px rgba(0, 0, 0, 0.3);
  }

  .cast-card h4 {
    margin-top: 14px;
    padding: 10px 26px 0 8px;
    font-size: 13px;
  }
}

/* The desktop header uses real vector flags instead of platform emoji glyphs.
   Some desktop fonts render flag emoji as the letters GB/RU. */
.index-link {
  display: none !important;
}

.language-switcher button > span:first-child {
  display: inline-block !important;
  flex: 0 0 auto;
  width: 18px;
  height: 12px;
  overflow: hidden;
  border-radius: 2px;
  font-size: 0 !important;
  line-height: 0 !important;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.language-switcher button:first-child > span:first-child {
  background-image: url("/flags/gb.svg");
}

.language-switcher button:nth-child(2) > span:first-child {
  background-image: url("/flags/ru.svg");
}

/* Desktop section navigation: a restrained glass rail with a persistent
   scroll-state indicator. It remains available beyond the opening hero. */
@media (min-width: 1101px) {
  .site-header {
    position: fixed;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.34), rgba(3, 3, 3, 0.08));
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  }

  .site-header.is-scrolled {
    border-bottom-color: rgba(241, 38, 24, 0.26);
    background: rgba(4, 4, 4, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  }

  .site-header nav {
    position: relative;
    gap: 2px;
    padding: 5px;
    border: 1px solid rgba(241, 38, 24, 0.3);
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.7);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    backdrop-filter: blur(16px) saturate(1.12);
    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.26),
      inset 0 1px rgba(255, 255, 255, 0.09),
      0 0 26px rgba(241, 38, 24, 0.09);
  }

  .site-header nav a {
    position: relative;
    padding: 9px 13px 10px;
    border-radius: 999px;
    color: rgba(244, 241, 237, 0.9);
    font-size: 11.5px;
    font-weight: 700;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }

  .site-header nav a::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 1px;
    background: var(--acid);
    transform: scaleX(0);
    transform-origin: 50% 50%;
    transition: transform 0.24s ease;
    box-shadow: 0 0 8px rgba(241, 38, 24, 0.72);
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    outline: none;
  }

  .site-header nav a:hover::after,
  .site-header nav a:focus-visible::after,
  .site-header nav a.is-active::after {
    transform: scaleX(1);
  }

  .site-header nav a.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(241, 38, 24, 0.2), rgba(241, 38, 24, 0.08));
    box-shadow: inset 0 0 0 1px rgba(241, 38, 24, 0.2);
  }

  main > section[id] {
    scroll-margin-top: 87px;
  }

  .hero {
    scroll-margin-top: 0;
  }
}

/* Keep GPU-composited cover transitions inside their cards. Chromium can
   otherwise expose a one-pixel, unfiltered strip while filter + scale animate. */
.archive-card {
  isolation: isolate;
  contain: paint;
  clip-path: inset(0);
}

.archive-card:hover {
  /* The image still brightens and scales; keeping the card itself stationary
     avoids a transient compositor seam at its previous top edge. */
  transform: none;
}

.archive-card-media {
  isolation: isolate;
  contain: paint;
  overflow: hidden;
  overflow: clip;
  clip-path: inset(0);
  transform: translateZ(0);
}

.archive-card-media img {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: translateZ(0) scale(1.015);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, filter;
}

.archive-card:hover .archive-card-media img,
.archive-card:focus-within .archive-card-media img {
  transform: translateZ(0) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .archive-card,
  .archive-card-media img,
  .archive-card-media::after {
    transition-duration: 0.01ms !important;
  }
}

/* Archive as a compact horizontal catalogue. */
#archive {
  overflow: hidden;
}

#archive .archive-rail-toolbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

#archive .archive-rail-counter {
  color: var(--acid);
  letter-spacing: 0.16em;
  font: 9px/1 monospace;
}

#archive .archive-rail-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 38, 24, 0.52), rgba(255, 255, 255, 0.08));
}

#archive .archive-rail-actions {
  display: flex;
  gap: 8px;
}

#archive .archive-rail-actions button {
  width: 43px;
  height: 43px;
  color: #d7d2cd;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 17px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#archive .archive-rail-actions button:hover,
#archive .archive-rail-actions button:focus-visible {
  color: #fff;
  background: rgba(241, 38, 24, 0.13);
  border-color: rgba(241, 38, 24, 0.72);
  outline: none;
}

#archive .archive-rail-actions button:disabled {
  color: rgba(255, 255, 255, 0.18);
  cursor: default;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.07);
}

#archive .archive-grid.archive-rail {
  display: flex;
  grid-template-columns: none;
  gap: clamp(18px, 2vw, 30px);
  margin-top: 18px;
  padding: 8px 2px 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 38, 24, 0.58) rgba(255, 255, 255, 0.06);
}

#archive .archive-grid.archive-rail::-webkit-scrollbar {
  height: 5px;
}

#archive .archive-grid.archive-rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

#archive .archive-grid.archive-rail::-webkit-scrollbar-thumb {
  background: rgba(241, 38, 24, 0.58);
}

#archive .archive-grid.archive-rail:focus-visible {
  outline: 1px solid rgba(241, 38, 24, 0.55);
  outline-offset: 8px;
}

#archive .archive-rail .archive-card {
  flex: 0 0 clamp(310px, 31vw, 455px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#archive .archive-rail .archive-card-body {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  min-height: 112px;
  padding: 22px 22px 20px;
}

#archive .archive-rail .archive-card h3 {
  font-size: clamp(28px, 3vw, 42px);
}

#archive .archive-rail .archive-card small {
  margin-bottom: 10px;
}

#archive .archive-rail .archive-card-status {
  grid-column: 2;
  align-self: auto;
  margin-top: 2px;
}

@media (max-width: 760px) {
  #archive .archive-rail-toolbar {
    gap: 12px;
    margin-top: 28px;
  }

  #archive .archive-rail-actions button {
    width: 40px;
    height: 40px;
  }

  #archive .archive-grid.archive-rail {
    gap: 16px;
    margin-inline: -20px;
    padding: 8px 20px 26px;
    scroll-padding-inline: 20px;
  }

  #archive .archive-rail .archive-card {
    flex-basis: min(82vw, 340px);
  }

  #archive .archive-rail .archive-card-body {
    min-height: 110px;
    padding: 20px 18px 18px;
  }
}

/* Trailer modal polish: frameless, lighter to open, actor profiles above it. */
.cinema-trailer-modal {
  background: rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(8px) saturate(0.9);
  backdrop-filter: blur(8px) saturate(0.9);
  transition-duration: 0.16s;
  will-change: opacity;
}

.cinema-trailer-modal-panel {
  border: 0;
  border-top: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 26%),
    rgba(7, 7, 7, 0.96);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.58);
  transform: translateY(10px);
  transition-duration: 0.22s;
  will-change: transform;
}

.cinema-trailer-modal.is-open .cinema-trailer-modal-panel {
  transform: translateY(0);
}

.cinema-trailer-modal .cinema-detail-toolbar {
  border-bottom: 0;
  background: rgba(7, 7, 7, 0.98);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08);
}

.actor-profile-modal {
  z-index: 15000 !important;
}

/* Music section: band portrait first, lyrics expand inline instead of opening
   a second full-screen layer. */
.lyrics-modal {
  display: none !important;
}

.ep-text-list button.is-inline-active {
  color: #fff;
  background: rgba(241, 38, 24, 0.13);
  padding-right: 10px;
  padding-left: 10px;
}

.ep-text-list button.is-inline-active > span {
  color: var(--acid);
}

.ep-text-toggle {
  width: 100%;
  min-height: 92px;
  padding: 0 48px 0 0;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  text-align: left;
}

.ep-text-toggle::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 50%;
  color: var(--acid);
  font: 24px/1 monospace;
  transform: translateY(-50%);
  transition: transform 0.24s ease, color 0.2s ease;
}

.ep-text-toggle[aria-expanded="true"]::after {
  content: "−";
  color: #fff;
}

.ep-text-toggle:hover::after,
.ep-text-toggle:focus-visible::after {
  transform: translateY(-50%) rotate(90deg);
}

.ep-text-toggle:focus-visible {
  outline: 1px solid rgba(241, 38, 24, 0.62);
  outline-offset: 7px;
}

.ep-text-library.is-collapsed {
  padding-bottom: 0;
}

.ep-text-library.is-collapsed .ep-text-heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ep-text-list[hidden] {
  display: none !important;
}

.inline-lyrics-panel {
  position: relative;
  margin-top: 18px;
  border-top: 4px solid var(--acid);
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(241, 38, 24, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(8, 8, 8, 0.72));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  opacity: 0;
  overflow: hidden;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.inline-lyrics-panel[hidden] {
  display: none;
}

.inline-lyrics-panel.is-open,
.inline-lyrics-panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.inline-lyrics-header {
  position: relative;
  padding: 30px 68px 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.inline-lyrics-header > span,
.inline-lyrics-header > p {
  color: var(--acid);
  letter-spacing: 0.15em;
  font: 8px/1.2 monospace;
}

.inline-lyrics-header > p {
  margin: 18px 0 9px;
  color: rgba(244, 241, 237, 0.48);
}

.inline-lyrics-header h2 {
  margin: 0;
  overflow-wrap: anywhere;
  letter-spacing: -0.055em;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.9;
}

.inline-lyrics-close {
  position: absolute;
  top: 25px;
  right: 26px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 237, 0.55);
  color: rgba(244, 241, 237, 0.72);
  background: transparent;
  letter-spacing: 0.14em;
  font: 8px/1 monospace;
  cursor: pointer;
}

.inline-lyrics-close:hover,
.inline-lyrics-close:focus-visible {
  color: #fff;
  border-color: var(--acid);
  outline: none;
}

.inline-lyrics-panel .lyrics-modal-body {
  min-height: 0;
  padding: 25px 28px 36px;
}

.inline-lyrics-panel .lyrics-modal-copy {
  max-width: none;
  margin-top: 32px;
}

@media (max-width: 760px) {
  .ep-text-toggle {
    min-height: 78px;
    padding-right: 42px;
  }

  .inline-lyrics-header {
    padding: 25px 58px 23px 20px;
  }

  .inline-lyrics-header h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .inline-lyrics-close {
    top: 21px;
    right: 18px;
  }

  .inline-lyrics-panel .lyrics-modal-body {
    padding: 22px 20px 30px;
  }
}

/* Keep long Russian film titles inside the metadata column. */
.cinema-trailer-modal .cinema-detail-card .description-heading,
.cinema-trailer-modal .cinema-detail-card .description-heading > div,
.cinema-trailer-modal .cinema-detail-card .description-heading h3 {
  min-width: 0;
  max-width: 100%;
}

.cinema-trailer-modal.is-russian .cinema-detail-card .description-heading h3 {
  overflow-wrap: anywhere;
  font-size: clamp(34px, 4.15vw, 64px);
  line-height: 0.94;
}

.cinema-trailer-modal .cinema-detail-card .trailer-description,
.cinema-trailer-modal .cinema-detail-card .multiverse-description {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

/* Trailer catalogue v2: focused digital carousel and eye-level detail layer. */
.cinema-catalog {
  width: min(100%, 980px);
  margin: 0 auto;
}

.cinema-rail-shell {
  width: min(100%, 780px);
  height: clamp(470px, 53vw, 660px);
  margin: 0 auto;
  border: 1px solid rgba(240, 236, 230, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 26%),
    radial-gradient(circle at 18% 42%, rgba(241, 38, 24, 0.12), transparent 38%),
    rgba(8, 8, 8, 0.86);
  overflow: hidden;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.58), inset 0 1px rgba(255, 255, 255, 0.06);
}

.cinema-rail-shell::before {
  z-index: 6;
  inset: 0;
  width: auto;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.68), transparent 11%, transparent 82%, rgba(5, 5, 5, 0.76)),
    repeating-linear-gradient(180deg, transparent 0 5px, rgba(255, 255, 255, 0.012) 5px 6px);
}

.cinema-rail-shell::after {
  z-index: 7;
  top: 14px;
  right: 14px;
  bottom: auto;
  left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinema-red);
  box-shadow: 0 0 14px rgba(241, 38, 24, 0.9);
}

.cinema-rail {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  scrollbar-width: none;
}

.cinema-poster-card {
  position: absolute;
  top: 50%;
  left: clamp(34px, 7vw, 88px);
  z-index: 1;
  display: block;
  width: clamp(230px, 29vw, 335px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(56px, -50%, 0) scale(0.88);
  transition:
    left 0.72s cubic-bezier(0.18, 0.76, 0.2, 1),
    opacity 0.42s ease,
    filter 0.58s ease,
    transform 0.72s cubic-bezier(0.18, 0.76, 0.2, 1),
    visibility 0s linear 0.72s;
}

.cinema-poster-card.is-current {
  z-index: 4;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(1);
  transition-delay: 0s;
}

.cinema-poster-card.is-next {
  left: calc(clamp(34px, 7vw, 88px) + clamp(310px, 39vw, 455px));
  z-index: 2;
  opacity: 0.48;
  visibility: visible;
  pointer-events: auto;
  filter: blur(5px) saturate(0.62) brightness(0.72);
  transform: translate3d(0, -50%, 0) scale(0.88);
  transition-delay: 0s;
}

.cinema-poster-card.is-previous {
  left: -32%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-40px, -50%, 0) scale(0.84);
}

.cinema-poster-card.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.cinema-poster-card .cinema-poster-frame {
  border-color: rgba(240, 236, 230, 0.22);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.55);
  transform: none;
}

.cinema-poster-card.is-current:hover .cinema-poster-frame,
.cinema-poster-card.is-current:focus-visible .cinema-poster-frame {
  border-color: rgba(241, 38, 24, 0.86);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.68), 0 0 42px rgba(241, 38, 24, 0.14);
  transform: translateY(-5px) scale(1.012);
}

.cinema-poster-card.is-next:hover,
.cinema-poster-card.is-next:focus-visible {
  opacity: 0.7;
  filter: blur(2px) saturate(0.8) brightness(0.82);
}

.cinema-poster-card.is-launching {
  z-index: 8;
  filter: none;
  transform: translate3d(0, calc(-50% - 24px), 0) scale(1.025);
}

.cinema-poster-card.is-launching .cinema-poster-frame {
  border-color: var(--cinema-red);
  box-shadow: 0 54px 120px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(241, 38, 24, 0.5), 0 0 66px rgba(241, 38, 24, 0.22);
  transform: none;
}

.cinema-poster-card.is-active .cinema-poster-frame,
.cinema-poster-card.is-active .cinema-poster-caption,
.cinema-poster-card.is-active .cinema-poster-index {
  transform: none;
}

.cinema-trailers.has-selection .cinema-poster-card:not(.is-launching) .cinema-poster-frame {
  filter: brightness(0.66);
}

.cinema-poster-universe {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 7px 9px 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(3, 3, 3, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  letter-spacing: 0.14em;
  font: 700 9px/1 monospace;
}

.cinema-poster-caption {
  min-height: 60px;
  padding-top: 15px;
}

.cinema-poster-caption strong {
  font-size: 14px;
}

.cinema-poster-caption small {
  line-height: 1.35;
  text-align: right;
}

.cinema-catalog-controls {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  width: min(100%, 780px);
  margin: 18px auto 0;
}

.cinema-catalog-controls > button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(240, 236, 230, 0.26);
  color: rgba(240, 236, 230, 0.66);
  background: transparent;
  letter-spacing: 0.14em;
  font: 700 11px/1 monospace;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cinema-catalog-controls > button:hover,
.cinema-catalog-controls > button:focus-visible {
  color: #fff;
  border-color: var(--cinema-red);
  outline: none;
}

.cinema-catalog-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cinema-catalog-dots button {
  width: 100%;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cinema-catalog-dots button::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(240, 236, 230, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.cinema-catalog-dots button.is-current::before {
  background: var(--cinema-red);
  box-shadow: 0 0 12px rgba(241, 38, 24, 0.64);
}

.cinema-catalog-position {
  color: rgba(240, 236, 230, 0.5);
  letter-spacing: 0.15em;
  font: 700 11px/1 monospace;
  white-space: nowrap;
}

.cinema-detail-stage {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: block;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: clamp(28px, 5vh, 64px) clamp(16px, 4vw, 64px) 54px;
  background: rgba(3, 3, 3, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(0.82);
  backdrop-filter: blur(22px) saturate(0.82);
  overflow: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.2, 0.72, 0.22, 1), visibility 0s linear 0.38s;
}

.cinema-detail-stage:empty { display: block; }

.cinema-detail-stage.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.cinema-detail-toolbar {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto 15px;
  padding: 0 0 13px;
  background: transparent;
  animation: none;
}

.cinema-detail-toolbar button {
  min-height: 36px;
  font-size: 11px;
}

.cinema-detail-card {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0;
  opacity: 1;
  transform: none;
}

.cinema-trailers.is-opening .cinema-detail-card {
  animation: cinemaDetailEyeLevel 0.58s cubic-bezier(0.18, 0.72, 0.22, 1) both;
}

.cinema-detail-card .trailer-player {
  width: 100%;
  margin: 0;
}

.cinema-detail-card .trailer-description,
.cinema-detail-card .multiverse-description {
  padding-top: clamp(34px, 4.5vw, 66px);
}

.cinema-detail-card .cast-grid {
  grid-template-columns: repeat(auto-fill, 112px) !important;
  justify-content: start;
  gap: 24px 16px;
}

.cinema-detail-card .cast-card {
  width: 112px;
  min-width: 0;
}

.cinema-detail-card .cast-portrait {
  width: 112px;
  aspect-ratio: 4 / 5;
}

.cinema-detail-card .cast-card h4 {
  width: 112px;
  font-size: 11px;
  line-height: 1.3;
}

@keyframes cinemaDetailEyeLevel {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .cinema-rail-shell {
    width: 100%;
    height: min(136vw, 565px);
  }
  .cinema-poster-card {
    left: 18px;
    width: min(68vw, 252px);
  }
  .cinema-poster-card.is-next {
    left: calc(18px + min(76vw, 282px));
  }
  .cinema-catalog-controls {
    grid-template-columns: auto 1fr auto;
    gap: 13px;
  }
  .cinema-catalog-position {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
  .cinema-catalog-dots {
    grid-column: 2;
  }
  .cinema-catalog-next { grid-column: 3; }
  .cinema-detail-stage {
    padding: 18px 12px 40px;
  }
  .cinema-detail-toolbar {
    align-items: center;
    margin-bottom: 10px;
  }
  .cinema-detail-toolbar > span {
    max-width: 65%;
    line-height: 1.45;
  }
  .cinema-detail-card .cast-grid {
    grid-template-columns: repeat(3, minmax(0, 92px)) !important;
    gap: 22px 9px;
  }
  .cinema-detail-card .cast-card,
  .cinema-detail-card .cast-portrait,
  .cinema-detail-card .cast-card h4 {
    width: 100%;
  }
}

/* Trailer catalogue v3: five visible posters and a separate blurred modal. */
.cinema-trailers-grid .cinema-rail-shell {
  width: min(100%, 1560px);
  height: auto;
  margin: 0 auto;
  border: 0;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: var(--cinema-red) rgba(255, 255, 255, 0.08);
}

.cinema-trailers-grid .cinema-rail-shell::before,
.cinema-trailers-grid .cinema-rail-shell::after {
  content: none;
}

.cinema-trailers-grid .cinema-rail-shell::-webkit-scrollbar { height: 3px; }
.cinema-trailers-grid .cinema-rail-shell::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.07); }
.cinema-trailers-grid .cinema-rail-shell::-webkit-scrollbar-thumb { background: var(--cinema-red); }

.cinema-trailers-grid .cinema-rail {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 96px) / 5);
  gap: 24px;
  width: 100%;
  min-width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 0 30px;
  overflow: visible;
}

.cinema-trailers-grid .cinema-poster-card,
.cinema-trailers-grid .cinema-poster-card.is-current,
.cinema-trailers-grid .cinema-poster-card.is-next,
.cinema-trailers-grid .cinema-poster-card.is-previous,
.cinema-trailers-grid .cinema-poster-card.is-hidden {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  width: auto;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  filter: none;
  pointer-events: auto;
  transform: none;
  transition: transform 0.42s cubic-bezier(0.18, 0.72, 0.22, 1), opacity 0.3s ease;
}

.cinema-trailers-grid .cinema-poster-card .cinema-poster-frame {
  border-color: rgba(240, 236, 230, 0.2);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
  transform: none;
}

.cinema-trailers-grid .cinema-poster-card:hover,
.cinema-trailers-grid .cinema-poster-card:focus-visible {
  z-index: 3;
  outline: none;
  transform: translateY(-8px);
}

.cinema-trailers-grid .cinema-poster-card:hover .cinema-poster-frame,
.cinema-trailers-grid .cinema-poster-card:focus-visible .cinema-poster-frame {
  border-color: var(--cinema-red);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.58), 0 0 38px rgba(241, 38, 24, 0.13);
  transform: none;
}

.cinema-trailers-grid .cinema-poster-card.is-opening {
  z-index: 4;
  transform: translateY(-16px) scale(1.018);
}

.cinema-trailers-grid .cinema-poster-card.is-opening .cinema-poster-frame {
  border-color: var(--cinema-red);
  box-shadow: 0 42px 96px rgba(0, 0, 0, 0.64), 0 0 0 1px rgba(241, 38, 24, 0.42), 0 0 48px rgba(241, 38, 24, 0.18);
}

.cinema-trailers-grid .cinema-poster-caption {
  grid-template-columns: 1fr auto;
  min-height: 70px;
  padding-top: 15px;
}

.cinema-trailers-grid .cinema-poster-caption strong {
  font-size: clamp(11px, 0.82vw, 14px);
  line-height: 1.45;
}

.cinema-trailers-grid .cinema-poster-caption small {
  font-size: 9px;
}

.cinema-trailer-modal {
  position: fixed;
  z-index: 13000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 46px);
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(18px) saturate(0.86);
  backdrop-filter: blur(18px) saturate(0.86);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.28s;
}

.cinema-trailer-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.cinema-trailer-modal-panel {
  width: min(94vw, 1500px);
  max-height: min(92svh, 1040px);
  border: 1px solid rgba(241, 38, 24, 0.42);
  border-top: 3px solid var(--cinema-red);
  background: rgba(8, 8, 8, 0.93);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 46px 140px rgba(0, 0, 0, 0.7), 0 0 70px rgba(241, 38, 24, 0.08);
  transform: translateY(22px) scale(0.985);
  transition: transform 0.44s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.cinema-trailer-modal.is-open .cinema-trailer-modal-panel {
  transform: translateY(0) scale(1);
}

.cinema-trailer-modal .cinema-detail-toolbar {
  position: sticky;
  z-index: 12;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 16px clamp(18px, 2.5vw, 38px) 14px;
  border-bottom: 1px solid rgba(241, 38, 24, 0.36);
  background: rgba(8, 8, 8, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.cinema-trailer-modal .cinema-detail-toolbar button {
  min-height: 36px;
  font-size: 11px;
}

.cinema-trailer-modal-content {
  min-height: 54vh;
  padding: clamp(18px, 2.4vw, 36px) clamp(18px, 3vw, 46px) clamp(42px, 5vw, 76px);
}

.cinema-trailer-loading {
  display: grid;
  place-items: center;
  min-height: 52vh;
  color: rgba(240, 236, 230, 0.52);
  letter-spacing: 0.18em;
  font: 700 11px/1.2 monospace;
}

.cinema-trailer-modal .cinema-detail-card {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0;
  opacity: 1;
  transform: none;
  animation: cinemaModalContentIn 0.42s ease both;
}

.cinema-trailer-modal .cinema-detail-card .trailer-player {
  width: 100%;
  margin: 0;
}

.cinema-trailer-modal .cinema-detail-card .trailer-description,
.cinema-trailer-modal .cinema-detail-card .multiverse-description {
  padding-top: clamp(36px, 5vw, 68px);
}

.cinema-trailer-modal .cinema-detail-card .cast-grid {
  grid-template-columns: repeat(auto-fill, 112px) !important;
  justify-content: start;
  gap: 24px 16px;
}

.cinema-trailer-modal .cinema-detail-card .cast-card,
.cinema-trailer-modal .cinema-detail-card .cast-portrait,
.cinema-trailer-modal .cinema-detail-card .cast-card h4 {
  width: 112px;
}

.cinema-trailer-modal .cinema-detail-card .cast-portrait {
  aspect-ratio: 4 / 5;
}

@keyframes cinemaModalContentIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .cinema-trailers-grid .cinema-rail {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
}

@media (max-width: 640px) {
  .cinema-trailers-grid .cinema-rail {
    grid-auto-columns: min(66vw, 245px);
    gap: 16px;
    padding-bottom: 24px;
  }
  .cinema-trailer-modal {
    padding: 8px;
  }
  .cinema-trailer-modal-panel {
    width: 100%;
    max-height: 96svh;
  }
  .cinema-trailer-modal .cinema-detail-toolbar {
    padding: 11px 14px 10px;
  }
  .cinema-trailer-modal-content {
    padding: 12px 10px 40px;
  }
  .cinema-trailer-modal .cinema-detail-card .cast-grid {
    grid-template-columns: repeat(3, minmax(0, 92px)) !important;
    gap: 22px 9px;
  }
  .cinema-trailer-modal .cinema-detail-card .cast-card,
  .cinema-trailer-modal .cinema-detail-card .cast-portrait,
  .cinema-trailer-modal .cinema-detail-card .cast-card h4 {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-trailers-grid .cinema-poster-card,
  .cinema-trailer-modal,
  .cinema-trailer-modal-panel,
  .cinema-trailer-modal .cinema-detail-card {
    transition: none !important;
    animation: none !important;
  }
}

/* Shared triggers and modal styling for cross-project AI actor profiles. */
.actor-profile-trigger {
  position: relative;
  cursor: pointer;
}

.actor-profile-trigger:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.actor-profile-trigger-label {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(3, 3, 3, 0.68);
  color: #f4f1ed;
  font: 8px/1 monospace;
  letter-spacing: 0.13em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s, transform 0.22s;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.actor-profile-trigger:hover .actor-profile-trigger-label,
.actor-profile-trigger:focus-visible .actor-profile-trigger-label {
  opacity: 1;
  transform: translateY(0);
}

.actor-profile-modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2, 3, 4, 0.94);
  backdrop-filter: blur(20px);
}

.actor-profile-panel {
  position: relative;
  width: min(1180px, 100%);
  height: min(770px, calc(100svh - 56px));
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(390px, 0.46fr) minmax(0, 0.54fr);
  isolation: isolate;
  background: rgba(8, 9, 10, 0.98);
  border: 1px solid rgba(255, 65, 48, 0.34);
  border-top: 8px solid var(--acid);
  box-shadow: 0 44px 150px rgba(0, 0, 0, 0.76);
}

.actor-profile-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background: radial-gradient(circle at 74% 18%, rgba(241, 38, 24, 0.13), transparent 34%), linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 45%);
  pointer-events: none;
}

.actor-profile-close {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 28px;
  border: 0;
  padding: 0 0 7px;
  border-bottom: 1px solid rgba(244, 241, 237, 0.65);
  background: transparent;
  color: #f4f1ed;
  font: 9px/1 monospace;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.actor-profile-close:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 6px;
}

.actor-profile-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #080808;
  border-right: 1px solid rgba(255, 65, 48, 0.23);
}

.actor-profile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.42));
  box-shadow: inset -28px 0 56px rgba(0, 0, 0, 0.2);
}

.actor-profile-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.92) contrast(1.02);
}

.actor-profile-modal--olivia-guitarist-performer .actor-profile-visual img {
  object-position: 50% 0%;
  filter: saturate(0.96) contrast(1.01) brightness(1.08);
}

.actor-profile-modal--evgeniy-performer .actor-profile-visual img {
  transform: scale(1.08);
  transform-origin: 50% 44%;
}

.actor-profile-copy {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 54px 58px 48px;
}

.actor-profile-copy header > span {
  color: var(--acid);
  font: 9px/1 monospace;
  letter-spacing: 0.17em;
}

.actor-profile-copy header p {
  margin: 62px 0 12px;
  color: #827c79;
  font: 9px/1 monospace;
  letter-spacing: 0.18em;
}

.actor-profile-copy h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(44px, 5.25vw, 74px);
  line-height: 0.84;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.actor-profile-copy h2 span {
  display: block;
}

.actor-profile-copy h2.actor-profile-title--dual {
  font-size: clamp(38px, 4.65vw, 64px);
  line-height: 0.86;
}

.actor-profile-summary {
  max-width: 530px;
  margin: 42px 0 46px;
  color: #aaa4a1;
  font-size: 13px;
  line-height: 1.72;
}

.actor-profile-credits {
  margin-top: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.actor-profile-credits-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 65, 48, 0.28);
}

.actor-profile-credits-heading span,
.actor-profile-credits-heading small {
  color: #8b8582;
  font: 8px/1 monospace;
  letter-spacing: 0.15em;
}

.actor-profile-credits ul {
  height: min(calc(74px * 4), 100%);
  min-height: 0;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding-block: 8px 14px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(241, 38, 24, 0.64) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.actor-profile-credits ul::-webkit-scrollbar {
  width: 5px;
}

.actor-profile-credits ul::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.actor-profile-credits ul::-webkit-scrollbar-thumb {
  background: rgba(241, 38, 24, 0.64);
}

.actor-profile-credits li {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(145px, 0.65fr);
  gap: 24px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.actor-profile-credit-placeholder {
  pointer-events: none;
}

.actor-profile-credits li > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.actor-profile-credits li span {
  color: #686461;
  font: 7px/1 monospace;
  letter-spacing: 0.14em;
}

.actor-profile-credits li strong {
  color: #eeeae6;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.actor-profile-credits li > div:last-child strong {
  color: #d7a396;
}

.actor-profile-credits li small {
  margin-top: 1px;
  color: #85807d;
  font: 7px/1 monospace;
  letter-spacing: 0.12em;
}

@media (max-width: 960px) {
  .actor-profile-panel { display: block; height: auto; max-height: calc(100svh - 56px); overflow: auto; }
  .actor-profile-visual { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid rgba(255, 65, 48, 0.23); }
  .actor-profile-visual img { object-position: 50% 30%; }
  .actor-profile-copy { display: block; min-height: max-content; overflow: visible; }
  .actor-profile-credits { margin-top: 0; }
  .actor-profile-credits ul { height: auto; overflow: visible; padding-bottom: 14px; }
}

@media (min-width: 961px) and (max-height: 680px) {
  .actor-profile-modal { padding: 12px; }
  .actor-profile-panel { height: calc(100svh - 24px); }
  .actor-profile-copy { overflow-y: auto; padding: 24px 38px 20px; scrollbar-width: thin; scrollbar-color: rgba(241, 38, 24, 0.64) rgba(255, 255, 255, 0.06); }
  .actor-profile-copy header p { margin: 22px 0 8px; }
  .actor-profile-copy h2 { font-size: clamp(40px, 4.7vw, 58px); }
  .actor-profile-copy h2.actor-profile-title--dual { font-size: clamp(34px, 4vw, 50px); }
  .actor-profile-summary { margin: 18px 0 22px; font-size: 12px; line-height: 1.55; }
  .actor-profile-credits { flex: none; margin-top: 0; }
  .actor-profile-credits ul { height: auto; overflow: visible; padding-bottom: 14px; }
}

@media (max-width: 760px) {
  .actor-profile-trigger-label { opacity: 1; transform: none; }
  .actor-profile-modal { padding: 12px; }
  .actor-profile-panel { max-height: calc(100svh - 24px); border-top-width: 6px; }
  .actor-profile-close { top: 18px; right: 19px; padding: 7px 8px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.54); }
  .actor-profile-visual { aspect-ratio: 4 / 5; }
  .actor-profile-visual img { object-position: 50% 50%; }
  .actor-profile-copy { padding: 38px 22px 32px; }
  .actor-profile-copy header p { margin-top: 42px; }
  .actor-profile-copy h2 { font-size: clamp(36px, 13vw, 54px); }
  .actor-profile-copy h2.actor-profile-title--dual { font-size: clamp(32px, 10.8vw, 46px); line-height: 0.9; }
  .actor-profile-summary { margin: 30px 0 38px; font-size: 12px; }
  .actor-profile-credits li { grid-template-columns: minmax(0, 1.25fr) minmax(112px, 0.75fr); gap: 15px; min-height: 70px; }
  .actor-profile-credits li strong { font-size: 12px; overflow-wrap: anywhere; }
}

/* Approved ensemble key art for the opening hero. The copy remains live HTML
   while the layered vignettes merge the image into the site's black/red shell. */
.hero {
  background-color: #030303;
  background-image: url("/hero/brennt-ai-ensemble-hero.webp");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.hero::before {
  content: "";
  z-index: 0;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.44) 0%, rgba(3, 3, 3, 0.06) 26%, rgba(3, 3, 3, 0.04) 72%, rgba(3, 3, 3, 0.4) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.38) 0%, rgba(3, 3, 3, 0.02) 38%, rgba(3, 3, 3, 0.32) 66%, rgba(3, 3, 3, 0.95) 100%);
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}

.hero::after {
  content: "";
  z-index: 0;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  border: 0;
  transform: none;
  background:
    radial-gradient(circle at 82% 34%, rgba(241, 38, 24, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 72%, rgba(13, 2, 2, 0.42) 100%);
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .hero-glow {
  display: none;
}

.hero .eyebrow,
.hero h1,
.hero-footer {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.72);
}

@media (max-width: 760px) {
  .hero {
    /* A portrait viewport cannot preserve the full five-character panorama
       without shrinking it too far. Return to a cinematic close crop centered
       on Lilith and let the artwork fill the complete hero. */
    background-position: 50% 38%;
    background-size: cover;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.3), rgba(3, 3, 3, 0.08) 50%, rgba(3, 3, 3, 0.3)),
      linear-gradient(180deg, rgba(3, 3, 3, 0.26), rgba(3, 3, 3, 0.1) 38%, rgba(3, 3, 3, 0.96) 84%);
  }
}

/* Russian copy is longer than the English headline. Keep it in the lower-left
   copy zone so it does not cover the ensemble's faces on desktop. */
@media (min-width: 761px) {
  .lang-ru .hero h1 {
    max-width: min(720px, 47vw);
    margin-top: 18px;
    margin-bottom: 28px;
    font-size: clamp(58px, 5.15vw, 94px);
    line-height: 0.86;
    text-wrap: balance;
  }

  .lang-ru .hero h1 span {
    display: block;
    font-size: 0.82em;
    line-height: 0.9;
  }

  .lang-ru .hero-footer p {
    max-width: 470px;
  }
}

/* Release-ready Red Carpet layout: three photo tiles and two video tiles. */
.archive-modal-content {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.archive-photo-grid,
.archive-video-grid {
  gap: 10px;
}

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

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

.archive-photo-grid button,
.archive-video-grid button {
  aspect-ratio: 16 / 9;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.archive-photo-grid button::after {
  background: none;
}

.archive-photo-grid span,
.archive-video-grid span {
  display: none;
}

.archive-video-grid button::before {
  content: "▶";
  z-index: 2;
  color: #fff;
  background: rgba(5, 5, 5, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: clamp(32px, 2.5vw, 44px);
  height: clamp(32px, 2.5vw, 44px);
  padding-left: 2px;
  font-size: clamp(10px, 0.8vw, 13px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.archive-video-grid button::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.32));
  position: absolute;
  inset: 0;
  transition: background 0.2s;
}

.archive-video-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.84);
  transition: filter 0.25s, transform 0.35s;
}

.archive-video-grid button:hover img,
.archive-video-grid button:focus-visible img {
  filter: saturate(1) contrast(1.03) brightness(0.96);
  transform: scale(1.035);
}

.archive-video-grid button:hover::before,
.archive-video-grid button:focus-visible::before {
  color: #070707;
  background: var(--acid);
  border-color: var(--acid);
  transform: translate(-50%, -50%) scale(1.08);
}

.archive-video-grid button:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .archive-modal-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .archive-photo-grid,
  .archive-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .r2-media-stage > img,
  .r2-media-stage > video {
    max-height: calc(100svh - 104px);
  }

  .r2-media-nav {
    width: 42px;
    height: 58px;
    padding-bottom: 5px;
    font-size: 38px;
  }

  .r2-media-nav--previous { left: 5px; }
  .r2-media-nav--next { right: 5px; }
}

/* BTS is organized by production project so future photo and video sets stay
   distinct instead of becoming one long, ambiguous media stream. */
.bts-modal-panel {
  width: min(1500px, calc(100vw - 36px));
}

.bts-project-list {
  padding: clamp(24px, 3vw, 48px);
}

.bts-project {
  border-top: 1px solid rgba(237, 39, 35, 0.5);
}

.bts-project-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 20px;
}

.bts-project-heading span,
.bts-project-heading p {
  color: var(--acid);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bts-project-heading h3 {
  margin: 7px 0 0;
  color: #f3f1ed;
  font-size: clamp(25px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.bts-project-heading p {
  margin: 0;
  white-space: nowrap;
}

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

.bts-project + .bts-project {
  margin-top: clamp(40px, 6vw, 88px);
}

.bts-project--portrait .bts-photo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bts-project--merch .bts-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bts-project--merch .bts-photo-grid button {
  aspect-ratio: 4 / 3;
}

.suits-modal-panel {
  width: min(1600px, calc(100vw - 36px));
}

.suits-gallery-modal .bts-project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
}

.suits-gallery-modal .bts-project {
  min-width: 0;
}

.suits-gallery-modal .bts-project + .bts-project {
  margin-top: 0;
}

.suits-gallery-modal .suits-project-expanded {
  grid-column: 1 / -1;
}

.bts-project--suits .bts-photo-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}

.bts-project--suits .bts-photo-grid[hidden] {
  display: none;
}

.bts-project--suits .bts-project-heading {
  display: block;
  padding: 0;
}

.suits-project-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: clamp(10px, 1.4vw, 20px);
  min-height: 68px;
  padding: clamp(12px, 1.3vw, 18px) 0;
  border: 0;
  color: #f3f1ed;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.suits-project-number,
.suits-project-title small,
.suits-project-meta {
  color: var(--acid);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.suits-project-title {
  display: grid;
  gap: 4px;
}

.suits-project-title strong {
  overflow: hidden;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suits-project-meta {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  white-space: nowrap;
}

.suits-project-meta i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(237, 39, 35, 0.62);
  border-radius: 50%;
  color: #f3f1ed;
  font: 300 19px/1 Arial, sans-serif;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s;
}

.suits-project-toggle:hover .suits-project-meta i,
.suits-project-toggle:focus-visible .suits-project-meta i {
  background: rgba(237, 39, 35, 0.18);
}

.suits-project-toggle:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.suits-project-expanded .suits-project-meta i {
  transform: rotate(45deg);
}

.suits-project-expanded .bts-photo-grid {
  animation: suits-content-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes suits-content-in {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.bts-project--suits .bts-photo-grid button {
  aspect-ratio: 21 / 9;
  border-color: rgba(255, 255, 255, 0.16);
}

.bts-project--suits .bts-photo-grid img {
  object-fit: cover;
}

.bts-project--mixed .bts-photo-grid {
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 2fr);
  align-items: center;
}

.bts-project--mixed .bts-photo-tile {
  aspect-ratio: 4 / 5;
}

.bts-project--mixed .bts-video-tile {
  aspect-ratio: 16 / 9;
}

.bts-project--video-only .bts-photo-grid {
  grid-template-columns: minmax(220px, 360px);
}

.bts-project--video-only .bts-video-tile {
  aspect-ratio: 9 / 16;
}

.bts-photo-grid button {
  position: relative;
  min-width: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
  cursor: pointer;
}

.bts-project--portrait .bts-photo-grid button {
  aspect-ratio: 9 / 16;
}

.bts-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.88);
  transition: filter 0.25s, transform 0.35s;
}

.bts-photo-grid button:hover img,
.bts-photo-grid button:focus-visible img {
  filter: saturate(1) contrast(1.02) brightness(1);
  transform: scale(1.025);
}

.bts-photo-grid button:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

.bts-video-tile::before {
  content: "▶";
  z-index: 2;
  color: #fff;
  background: rgba(5, 5, 5, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: clamp(38px, 3vw, 52px);
  height: clamp(38px, 3vw, 52px);
  padding-left: 3px;
  font-size: clamp(11px, 0.9vw, 15px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.bts-video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.42));
}

.bts-video-tile:hover::before,
.bts-video-tile:focus-visible::before {
  color: #070707;
  background: var(--acid);
  border-color: var(--acid);
  transform: translate(-50%, -50%) scale(1.08);
}

.teaser-modal-panel {
  width: min(1380px, calc(100vw - 36px));
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  padding: clamp(28px, 3.5vw, 52px);
}

.teaser-card {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.teaser-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #050505;
  cursor: pointer;
}

.teaser-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.84);
  transition: filter 0.25s, transform 0.35s;
}

.teaser-card-media:hover img,
.teaser-card-media:focus-visible img {
  filter: saturate(1) contrast(1.03) brightness(0.97);
  transform: scale(1.025);
}

.teaser-card-media:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -2px;
}

.teaser-card h3 {
  margin: 0;
  padding: 18px 20px 21px;
  border-top: 1px solid rgba(241, 38, 24, 0.42);
  color: #f3f1ed;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* Brennt Music is a continuously growing media archive, split into two clean
   tables while sharing the same keyboard- and arrow-driven lightbox. */
.brennt-music-modal-panel {
  width: min(1500px, calc(100vw - 36px));
}

.brennt-music-content {
  display: grid;
  gap: clamp(48px, 6vw, 88px);
  padding: clamp(28px, 3.5vw, 52px);
}

.brennt-music-content > section {
  border-top: 1px solid rgba(241, 38, 24, 0.5);
  padding-top: 22px;
}

.brennt-music-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.brennt-music-section-heading h3 {
  margin: 0;
  color: #f3f1ed;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.brennt-music-section-heading span {
  color: var(--acid);
  font: 10px/1 monospace;
  letter-spacing: 0.18em;
}

.brennt-music-photo-grid,
.brennt-music-video-grid {
  display: grid;
  gap: 10px;
}

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

.brennt-music-video-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.brennt-music-photo-grid button,
.brennt-music-video-grid button {
  position: relative;
  min-width: 0;
  padding: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  background: #050505;
  cursor: pointer;
}

.brennt-music-video-grid button {
  aspect-ratio: 9 / 16;
}

.brennt-music-photo-grid img,
.brennt-music-video-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.03) brightness(0.88);
  transition: filter 0.25s, transform 0.35s;
}

.brennt-music-photo-grid button:hover img,
.brennt-music-photo-grid button:focus-visible img,
.brennt-music-video-grid button:hover img,
.brennt-music-video-grid button:focus-visible img {
  filter: saturate(1) contrast(1.02) brightness(1);
  transform: scale(1.025);
}

.brennt-music-photo-grid button:focus-visible,
.brennt-music-video-grid button:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

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

  .brennt-music-photo-grid,
  .brennt-music-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bts-modal-panel {
    width: calc(100vw - 16px);
  }

  .bts-project-list {
    padding: 20px 14px 28px;
  }

  .suits-gallery-modal .bts-project-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .bts-project-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

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

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

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

  .bts-project--suits .bts-photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .suits-project-toggle {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 60px;
  }

  .suits-project-meta {
    grid-column: auto;
  }

  .suits-project-meta {
    font-size: 0;
    gap: 0;
  }

  .suits-project-title strong {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .bts-project--mixed .bts-photo-grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 520px) {
  .teaser-modal-panel {
    width: calc(100vw - 16px);
  }

  .teaser-grid {
    grid-template-columns: 1fr;
    padding: 20px 14px 28px;
  }

  .bts-project--mixed .bts-photo-grid {
    grid-template-columns: 1fr;
  }

  .bts-project--mixed .bts-photo-tile {
    aspect-ratio: 4 / 5;
  }

  .bts-project--mixed .bts-video-tile {
    aspect-ratio: 16 / 9;
  }

  .bts-project--video-only .bts-photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brennt-music-modal-panel {
    width: calc(100vw - 16px);
  }

  .suits-modal-panel {
    width: calc(100vw - 16px);
  }

  .brennt-music-content {
    gap: 46px;
    padding: 20px 14px 28px;
  }

  .brennt-music-photo-grid,
  .brennt-music-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Premium, once-only section reveals. Large media sections remain in the
   normal document flow; only their heading glides in. This avoids compositor
   seams, frozen cover frames and the black gap left by a translated section. */
html.scroll-reveal-ready main > section.section {
  opacity: 1;
  transform: none;
}

html.scroll-reveal-ready main > section.section > :first-child {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

html.scroll-reveal-ready main > section.section.scroll-reveal-visible > :first-child {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  html.scroll-reveal-ready main > section.section > :first-child {
    transform: translateY(20px);
    transition-duration: 0.5s, 0.68s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.scroll-reveal-ready main > section.section,
  html.scroll-reveal-ready main > section.section > :first-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Latest music video followed by a consistent four-video catalog. */
.music-video-featured-grid:has([data-actor-profile="fima-performer"]) {
  grid-template-columns: minmax(0, 140px);
}

.music-video-featured-grid figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}
#music-videos .music-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 54px 32px;
  padding-top: 54px;
}
#music-videos .music-video-card:nth-of-type(n) {
  grid-column: auto;
  margin: 0;
  min-width: 0;
}
#music-videos .music-video-label { font-size: 12px; line-height: 1.4; }
#music-videos .music-video-caption { gap: 20px; }
#music-videos .music-video-caption h3 { line-height: 1.08; }
#music-videos .music-video-caption button { font-size: 12px; line-height: 1.4; }
#music-videos .music-video-card.music-video-latest {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 36px;
  padding: clamp(18px, 2.5vw, 36px);
  background: #100d0c;
  color: #eee8de;
  border-top: 5px solid #d72318;
}
#music-videos .music-video-latest .music-video-label {
  grid-column: 1 / -1;
  text-align: left;
  color: #f04b3f;
  border: 0;
  padding: 0;
  margin: 0;
  font-weight: 700;
}
#music-videos .music-video-latest .music-video-frame { box-shadow: none; }
#music-videos .music-video-latest .music-video-caption {
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0;
}
#music-videos .music-video-latest .music-video-caption h3 {
  font-size: clamp(30px, 3.5vw, 54px);
}
#music-videos .music-video-latest .music-video-caption button {
  justify-self: start;
  color: #eee8de;
  border-color: #eee8de;
}
#music-videos .music-video-band {
  order: -1;
  grid-column: 1 / -1;
  margin: 0;
  transform: none;
  box-shadow: none;
}
@media (max-width: 900px) {
  #music-videos .music-video-caption { grid-template-columns: 1fr; }
  #music-videos .music-video-caption button { justify-self: start; }
}
@media (max-width: 640px) {
  #music-videos .music-video-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
  #music-videos .music-video-card.music-video-latest { grid-template-columns: 1fr; gap: 20px; }
  #music-videos .music-video-latest .music-video-caption { gap: 22px; }
  #music-videos .music-video-caption button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(215, 35, 24, 0.18);
  }
}

/* Unified film universe — poster-led trailer catalogue. */
main > section.trailers,
main > section.multiverse {
  display: none !important;
}

.cinema-trailers {
  --cinema-red: #f12618;
  --cinema-paper: #f0ece6;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(96px, 10vw, 154px) clamp(18px, 5vw, 80px) clamp(100px, 11vw, 170px);
  color: var(--cinema-paper);
  background:
    radial-gradient(circle at 82% 9%, rgba(241, 38, 24, 0.14), transparent 27%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.022), transparent 34%),
    #050505;
  overflow: hidden;
}

.cinema-trailers::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.021) 1px, transparent 1px);
  background-size: 100% 72px, 72px 100%;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.cinema-trailers::after {
  content: "05 FILMS / 2026";
  position: absolute;
  top: clamp(58px, 6vw, 88px);
  right: clamp(18px, 5vw, 80px);
  color: rgba(240, 236, 230, 0.38);
  letter-spacing: 0.19em;
  font: 700 11px/1.2 monospace;
}

.cinema-trailers-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 440px);
  align-items: end;
  gap: 42px;
  max-width: 1560px;
  margin: 0 auto clamp(48px, 6vw, 88px);
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(240, 236, 230, 0.18);
}

.cinema-kicker {
  display: block;
  margin-bottom: 17px;
  color: var(--cinema-red);
  letter-spacing: 0.22em;
  font: 700 11px/1.2 monospace;
}

.cinema-trailers-heading h2 {
  margin: 0;
  color: var(--cinema-paper);
  letter-spacing: -0.065em;
  font-size: clamp(68px, 10vw, 170px);
  font-weight: 800;
  line-height: 0.75;
}

.cinema-intro {
  max-width: 410px;
  margin: 0 0 1px auto;
  color: rgba(240, 236, 230, 0.64);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
}

.cinema-rail-shell {
  position: relative;
  max-width: 1660px;
  margin: 0 auto;
}

.cinema-rail-shell::before,
.cinema-rail-shell::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: clamp(18px, 4vw, 70px);
  pointer-events: none;
}

.cinema-rail-shell::before {
  left: 0;
  background: linear-gradient(90deg, #050505, transparent);
}

.cinema-rail-shell::after {
  right: 0;
  background: linear-gradient(270deg, #050505, transparent);
}

.cinema-rail {
  display: flex;
  gap: clamp(17px, 2.1vw, 36px);
  margin: 0 calc(clamp(18px, 4vw, 70px) * -1);
  padding: 18px clamp(18px, 4vw, 70px) 42px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(18px, 4vw, 70px);
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 38, 24, 0.72) rgba(255, 255, 255, 0.08);
}

.cinema-rail::-webkit-scrollbar { height: 3px; }
.cinema-rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.07); }
.cinema-rail::-webkit-scrollbar-thumb { background: var(--cinema-red); }

.cinema-poster-card {
  position: relative;
  flex: 0 0 clamp(190px, 16vw, 260px);
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  perspective: 900px;
}

.cinema-poster-index {
  display: block;
  margin: 0 0 10px 1px;
  color: rgba(240, 236, 230, 0.35);
  letter-spacing: 0.16em;
  font: 700 10px/1 monospace;
  transition: color 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.cinema-poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 0.73;
  border: 1px solid rgba(240, 236, 230, 0.18);
  background: #0b0b0b;
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.38);
  transform: translate3d(0, 0, 0);
  transform-origin: 0 50%;
  transition:
    transform 0.62s cubic-bezier(0.2, 0.72, 0.22, 1),
    border-color 0.35s ease,
    box-shadow 0.62s cubic-bezier(0.2, 0.72, 0.22, 1),
    filter 0.35s ease;
}

.cinema-poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.64)),
    linear-gradient(120deg, rgba(241, 38, 24, 0.08), transparent 37%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.cinema-poster-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.88);
  transform: scale(1.002);
  transition: filter 0.4s ease, transform 0.75s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.cinema-poster-open {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  letter-spacing: 0.1em;
  font: 700 8px/1 monospace;
  opacity: 0;
  transform: scale(0.7) rotate(-18deg);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.72, 0.22, 1), background 0.3s ease;
}

.cinema-poster-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-height: 62px;
  padding: 16px 1px 0;
  border-top: 1px solid transparent;
  transition: border-color 0.35s ease, transform 0.55s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.cinema-poster-caption strong {
  color: rgba(240, 236, 230, 0.88);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 1.4;
}

.cinema-poster-caption i {
  color: var(--cinema-red);
  font-style: normal;
}

.cinema-poster-caption small {
  padding-top: 2px;
  color: rgba(240, 236, 230, 0.38);
  letter-spacing: 0.13em;
  font: 700 9px/1.2 monospace;
}

.cinema-poster-card:hover .cinema-poster-frame,
.cinema-poster-card:focus-visible .cinema-poster-frame {
  border-color: rgba(241, 38, 24, 0.76);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.56), 0 0 36px rgba(241, 38, 24, 0.11);
  transform: translateY(-9px) rotateY(-2deg);
}

.cinema-poster-card:hover .cinema-poster-frame img,
.cinema-poster-card:focus-visible .cinema-poster-frame img {
  filter: saturate(1) contrast(1.02) brightness(1);
  transform: scale(1.035);
}

.cinema-poster-card:hover .cinema-poster-open,
.cinema-poster-card:focus-visible .cinema-poster-open,
.cinema-poster-card.is-active .cinema-poster-open {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.cinema-poster-card:focus-visible { outline: none; }

.cinema-poster-card.is-active .cinema-poster-index {
  color: var(--cinema-red);
  transform: translateX(-12px);
}

.cinema-poster-card.is-active .cinema-poster-frame {
  border-color: var(--cinema-red);
  box-shadow: -12px 12px 0 rgba(241, 38, 24, 0.2), 0 42px 90px rgba(0, 0, 0, 0.62);
  transform: translate3d(-12px, 0, 0) scale(0.965) rotateY(4deg);
}

.cinema-poster-card.is-active .cinema-poster-frame img {
  filter: saturate(1) contrast(1.02) brightness(0.98);
}

.cinema-poster-card.is-active .cinema-poster-open { background: rgba(241, 38, 24, 0.82); }
.cinema-poster-card.is-active .cinema-poster-caption {
  border-top-color: var(--cinema-red);
  transform: translateX(-12px);
}

.cinema-trailers.has-selection .cinema-poster-card:not(.is-active) .cinema-poster-frame {
  filter: brightness(0.76);
}

.cinema-detail-stage {
  position: relative;
  max-width: 1460px;
  min-height: 0;
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.cinema-detail-stage:empty { display: none; }

.cinema-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(58px, 7vw, 108px);
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(241, 38, 24, 0.65);
  color: rgba(240, 236, 230, 0.58);
  letter-spacing: 0.15em;
  font: 700 10px/1.3 monospace;
  animation: cinemaToolbarIn 0.55s ease both;
}

.cinema-detail-toolbar button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(240, 236, 230, 0.42);
  color: rgba(240, 236, 230, 0.74);
  background: transparent;
  letter-spacing: 0.12em;
  font: 700 10px/1 monospace;
  cursor: pointer;
}

.cinema-detail-toolbar button:hover,
.cinema-detail-toolbar button:focus-visible {
  color: #fff;
  border-color: var(--cinema-red);
  outline: none;
}

.cinema-detail-card {
  display: block;
  padding: clamp(18px, 2vw, 30px) 0 0;
  opacity: 0;
  transform: translate3d(5vw, 0, 0);
}

.cinema-trailers.is-opening .cinema-detail-card {
  animation: cinemaDetailIn 0.72s cubic-bezier(0.18, 0.72, 0.22, 1) forwards;
}

.cinema-detail-card .trailer-player {
  width: min(100%, 1280px);
  margin: 0 auto;
  border: 1px solid rgba(240, 236, 230, 0.2);
  background: #000;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6), 0 0 70px rgba(241, 38, 24, 0.07);
}

.cinema-detail-card .trailer-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.cinema-detail-card .trailer-description,
.cinema-detail-card .multiverse-description {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 110px);
  margin: 0;
  padding: clamp(40px, 5vw, 76px) clamp(0px, 2vw, 28px) 0;
  background: transparent;
}

.cinema-detail-card .description-heading {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.cinema-detail-card .description-heading > div > span {
  color: var(--cinema-red);
}

.cinema-detail-card .description-heading h3 {
  margin: 18px 0 32px;
  color: var(--cinema-paper);
  letter-spacing: -0.045em;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.92;
}

.cinema-detail-card .description-heading dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.cinema-detail-card .description-heading dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(240, 236, 230, 0.14);
}

.cinema-detail-card .description-heading dt {
  color: rgba(240, 236, 230, 0.35);
  letter-spacing: 0.15em;
  font: 700 9px/1.4 monospace;
}

.cinema-detail-card .description-heading dd {
  color: rgba(240, 236, 230, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.cinema-detail-card .description-copy {
  columns: 2;
  column-gap: clamp(26px, 4vw, 64px);
  margin: 0;
  color: rgba(240, 236, 230, 0.66);
}

.cinema-detail-card .description-copy p {
  break-inside: avoid;
  margin: 0 0 1.25em;
  font-size: 16px;
  line-height: 1.65;
}

.cinema-detail-card .cast-section {
  margin-top: clamp(48px, 6vw, 84px);
  padding: clamp(22px, 2.7vw, 38px);
}

.cinema-detail-card .cast-heading {
  margin-bottom: 24px;
  padding-bottom: 14px;
}

.cinema-detail-card .cast-heading h3 { font-size: clamp(24px, 2.5vw, 38px); }

.cinema-detail-card .cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: clamp(20px, 2.2vw, 34px) clamp(10px, 1.3vw, 20px);
}

.cinema-detail-card .cast-portrait { box-shadow: 5px 6px 0 var(--cast-shadow), 0 16px 34px rgba(0, 0, 0, 0.28); }
.cinema-detail-card .cast-card h4 {
  min-height: 0;
  margin-top: 11px;
  padding: 8px 20px 0 6px;
  font-size: 12px;
}
.cinema-detail-card .cast-card h4::before { width: 8px; margin-right: 6px; }
.cinema-detail-card .actor-profile-trigger-label { font-size: 8px; }

@keyframes cinemaToolbarIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinemaDetailIn {
  0% { opacity: 0; transform: translate3d(5vw, 0, 0); clip-path: inset(0 0 0 18%); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); clip-path: inset(0); }
}

@media (max-width: 900px) {
  .cinema-trailers-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cinema-intro { margin-left: 0; }
  .cinema-detail-card .trailer-description,
  .cinema-detail-card .multiverse-description {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .cinema-trailers {
    padding: 88px 18px 96px;
  }
  .cinema-trailers::after {
    top: 42px;
    right: 18px;
    font-size: 9px;
  }
  .cinema-trailers-heading {
    margin-bottom: 36px;
    padding-bottom: 20px;
  }
  .cinema-kicker { font-size: 9px; }
  .cinema-trailers-heading h2 { font-size: clamp(58px, 21vw, 88px); }
  .cinema-intro { font-size: 15px; }
  .cinema-rail-shell::before,
  .cinema-rail-shell::after { width: 18px; }
  .cinema-rail {
    gap: 18px;
    margin-inline: -18px;
    padding: 12px 18px 30px;
    scroll-padding-inline: 18px;
  }
  .cinema-poster-card { flex-basis: min(68vw, 245px); }
  .cinema-poster-caption strong { font-size: 13px; }
  .cinema-detail-toolbar {
    align-items: flex-start;
    margin-top: 48px;
    font-size: 8px;
  }
  .cinema-detail-card { padding-top: 14px; }
  .cinema-detail-card .trailer-description,
  .cinema-detail-card .multiverse-description {
    padding-top: 34px;
  }
  .cinema-detail-card .description-heading h3 {
    margin: 14px 0 26px;
    font-size: 42px;
  }
  .cinema-detail-card .description-copy {
    columns: 1;
  }
  .cinema-detail-card .description-copy p {
    font-size: 15px;
    line-height: 1.6;
  }
  .cinema-detail-card .cast-section {
    margin-top: 44px;
    padding: 20px 11px 28px;
  }
  .cinema-detail-card .cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 9px;
  }
  .cinema-detail-card .cast-card h4 {
    padding-right: 12px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-poster-card,
  .cinema-poster-frame,
  .cinema-poster-frame img,
  .cinema-poster-open,
  .cinema-poster-caption,
  .cinema-detail-card,
  .cinema-detail-toolbar {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
  }
}


/* Studio directory: a separate band feature and a compact portrait roster. */
main > .studio-cast { order: 6; }
main > .archive { order: 7; }
main > footer { order: 8; }
.studio-cast {
  padding: 92px 3.4vw 100px;
  background: #0b0b0b;
  color: #f4f1ed;
  border-top: 1px solid #ffffff18;
}
.studio-cast-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 52px;
}
.studio-cast-kicker {
  display: block; font: 12px/1.4 monospace;
  letter-spacing: .12em; color: #d0a39d;
}
.studio-cast-heading h2 {
  margin: 20px 0 0; font-size: clamp(64px, 8vw, 122px);
  line-height: .9; font-weight: 500; letter-spacing: -.065em;
}
.studio-cast-heading h2 > span { color: var(--acid); }
.studio-cast-intro {
  display: flex; align-items: flex-end; gap: 28px; max-width: 450px;
}
.studio-cast-total {
  display: block; font-size: 42px; line-height: 1; letter-spacing: -.04em;
}
.studio-cast-total small {
  display: block; margin-top: 12px; white-space: nowrap;
  font: 12px/1.4 monospace; letter-spacing: .025em; color: #aaa5a2;
}
.studio-cast-intro p {
  margin: 0; max-width: 275px; color: #aaa5a2; font-size: 16px; line-height: 1.5;
}
.studio-cast-band {
  display: grid; grid-template-columns: 1fr 3fr; gap: 36px;
  padding: 32px 0 38px; border-top: 1px solid #f1261866;
  border-bottom: 1px solid #ffffff24;
}
.studio-cast-band-copy { display: flex; flex-direction: column; align-items: flex-start; }
.studio-cast-band-copy h3 {
  margin: 30px 0 18px; font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1; font-weight: 500; letter-spacing: -.05em;
}
.studio-cast-band-copy p { margin: 0; max-width: 210px; color: #aaa5a2; font-size: 16px; line-height: 1.5; }
.studio-cast-group-count {
  margin-top: auto; padding-top: 28px; font: 12px/1.5 monospace;
  color: #d0a39d; letter-spacing: .07em;
}
.studio-cast-band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.studio-cast-card {
  display: flex; flex-direction: column; min-width: 0; width: 100%;
  padding: 0; border: 0; border-radius: 0; background: transparent;
  text-align: left; color: inherit; font: inherit;
}
.studio-cast-image {
  display: block; position: relative; width: 100%; aspect-ratio: 4 / 5;
  overflow: hidden; background: #181616;
}
.studio-cast-image::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px #ffffff14;
  transition: box-shadow .2s ease;
}
.studio-cast-image img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s ease;
}
.studio-cast-card:hover .studio-cast-image img,
.studio-cast-card:focus-visible .studio-cast-image img { transform: scale(1.025); }
.studio-cast-card:hover .studio-cast-image::after,
.studio-cast-card:focus-visible .studio-cast-image::after { box-shadow: inset 0 0 0 1px var(--acid); }
.studio-cast-meta { display: block; margin-top: 14px; }
.studio-cast-card-type { display: block; font-size: 14px; line-height: 1.35; }
.studio-cast-meta small { display: block; margin-top: 7px; font: 12px/1.4 monospace; color: #9d9996; }
.studio-cast-card .actor-profile-trigger-label {
  display: block; position: static; margin-top: 12px; padding: 0;
  border: 0; background: none; backdrop-filter: none;
  font: 12px/1.4 monospace; letter-spacing: 0; color: #d0a39d;
  opacity: 1; transform: none;
}
.studio-cast-ensemble { margin-top: 46px; }
.studio-cast-roster-heading {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 26px;
}
.studio-cast-roster-heading h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: .06em; }
.studio-cast-roster-heading > span { font: 12px/1.4 monospace; color: #9d9996; }
.studio-cast-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 32px 16px; }
@media (max-width: 1100px) {
  .studio-cast-heading { align-items: flex-start; }
  .studio-cast-intro { max-width: 330px; gap: 18px; }
  .studio-cast-band { grid-template-columns: 1fr 3fr; gap: 24px; }
  .studio-cast-band-grid { gap: 12px; }
  .studio-cast-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 12px; }
}
@media (max-width: 760px) {
  .studio-cast { padding: 64px 20px 72px; }
  .studio-cast-heading { flex-direction: column; gap: 28px; margin-bottom: 34px; }
  .studio-cast-heading h2 { font-size: clamp(56px, 15vw, 84px); }
  .studio-cast-intro { max-width: 100%; align-items: center; gap: 24px; }
  .studio-cast-total { font-size: 34px; }
  .studio-cast-total small { white-space: normal; max-width: 115px; }
  .studio-cast-intro p { font-size: 16px; }
  .studio-cast-band { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
  .studio-cast-band-copy h3 { margin: 16px 0 12px; font-size: 42px; }
  .studio-cast-band-copy p { max-width: none; }
  .studio-cast-group-count { padding-top: 16px; }
  .studio-cast-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .studio-cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; }
  .studio-cast-roster-heading { align-items: flex-start; }
  .studio-cast-roster-heading > span { white-space: nowrap; }
}
@media (max-width: 420px) {
  .studio-cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-cast-image img, .studio-cast-image::after { transition: none; }
}

/* Immediate input response inside dialogs; scrolling stays on the open layer. */
.cinema-trailer-modal-panel,
.actor-profile-panel,
.archive-modal-panel,
.music-video-modal-panel,
.show-cast-modal-panel {
  overscroll-behavior: contain;
  scroll-behavior: auto;
}
.cinema-trailer-modal-panel {
  border: 0;
  border-top: 0;
  background: rgba(7, 7, 7, .97);
}
.cinema-trailer-modal { transition: none; }

/* Each portrait keeps its original image box, with an individually aligned
   photographic crop. ResizeObserver recalculates it for every screen size. */
img.aligned-actor-portrait {
  object-fit: contain !important;
  object-position: -100000px -100000px !important;
  background-repeat: no-repeat;
  transform: none !important;
}
