@font-face {
  font-family: "Chesna Grotesk";
  src: url("/fonts/chesnagrotesk-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Self-hosted so first paint never waits on fonts.googleapis.com. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #070b08;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-nav: "Chesna Grotesk", ui-sans-serif, system-ui, sans-serif;
  /* Shared by homepage + detail so both heroes stay the same size. */
  --hero-height: 52svh;
  --hero-min-height: 280px;
  --hero-max-height: 420px;
}
@media (min-width: 640px) {
  :root {
    --hero-height: 100dvh;
    --hero-min-height: 0px;
    --hero-max-height: none;
  }
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
  min-width: 100%;
}
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  pointer-events: none;
}
.topbar-bar,
.topbar-scrim,
.topbar-drawer {
  pointer-events: auto;
}
.topbar-bar {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .topbar-bar { padding: 0 32px; }
}
.topbar-brand {
  display: flex;
  align-items: center;
  color: #fff;
}
.topbar-logo {
  width: 20px;
  height: 20px;
  display: block;
  fill: #fff;
  color: #fff;
}
.topbar-logo path { fill: #fff; }
@media (min-width: 768px) {
  .topbar-logo { width: 28px; height: 28px; }
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-nav {
  display: none;
  align-items: center;
  gap: 12px;
}
@media (min-width: 768px) {
  .topbar-nav { display: flex; }
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms ease;
}
.topbar-link:hover { color: #fff; }
.topbar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 150ms ease;
}
.topbar-icon-btn:hover { color: #fff; }
.topbar-icon-btn svg { width: 20px; height: 20px; display: block; }

.topbar-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-search-panel {
  display: block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease;
}
.topbar-search.is-open .topbar-search-panel {
  width: 13.25rem;
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 768px) {
  .topbar-search.is-open .topbar-search-panel { width: 18.25rem; }
}
.topbar-search-clip,
.topbar-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}
.topbar-search-field { position: relative; flex: none; }
.topbar-search-input {
  width: 11rem;
  height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.25;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 180ms ease;
}
.topbar-search-input::-webkit-search-decoration,
.topbar-search-input::-webkit-search-cancel-button,
.topbar-search-input::-webkit-search-results-button,
.topbar-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.topbar-search-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.topbar-search-input:focus { border-color: rgba(255, 255, 255, 0.6); }
@media (min-width: 768px) {
  .topbar-search-input { width: 16rem; }
}
.topbar-search-close {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition:
    color 150ms ease,
    opacity 220ms ease 80ms,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}
.topbar-search.is-open .topbar-search-close {
  opacity: 1;
  transform: scale(1);
}
.topbar-search-close:hover { color: #fff; }

/* Search Results Dropdown */
.topbar-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 420px;
  max-height: min(480px, calc(100vh - 90px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 100;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
  animation: searchDropdownIn 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-search-dropdown[hidden] {
  display: none !important;
}

@keyframes searchDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767px) {
  .topbar-search-dropdown {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 84px);
    border-radius: 12px;
  }
}

.topbar-search-dropdown::-webkit-scrollbar {
  width: 6px;
}
.topbar-search-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.topbar-search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.search-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: center;
}
.search-status .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  display: inline-block;
}

.search-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-section + .search-section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 6px;
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.search-count {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

/* Scene items */
.search-scene-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease;
}
.search-scene-item:hover,
.search-scene-item.is-selected {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
}

.search-scene-thumb {
  position: relative;
  flex: none;
  width: 88px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #141418;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-scene-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-scene-thumb .search-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 8px;
}
.search-thumb-fallback img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  opacity: 0.8;
}

.search-scene-duration {
  position: absolute;
  bottom: 3px;
  right: 4px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.search-scene-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.search-scene-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.search-scene-logo {
  height: 10px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  opacity: 0.9;
}
.search-scene-badge {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
}
.search-scene-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-scene-cast {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Performer items */
.search-performers-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.search-performer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 120ms ease;
  width: 100%;
}
.search-performer-item:hover,
.search-performer-item.is-selected {
  background: rgba(255, 255, 255, 0.08);
}
.search-performer-avatar {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-performer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-performer-initials {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.search-performer-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.search-performer-name {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.search-performer-sub {
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.search-performer-arrow {
  color: rgba(255, 255, 255, 0.3);
  width: 14px;
  height: 14px;
  flex: none;
}

.search-match {
  background: transparent;
  color: #ff2d95;
  font-weight: 700;
}
.topbar-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background-color 150ms ease;
}
.topbar-burger:hover { background: rgba(255, 255, 255, 0.1); }
.topbar-burger svg { width: 18px; height: 18px; display: block; }
@media (min-width: 768px) {
  .topbar-burger { display: none; }
}
.topbar-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.7);
}
.topbar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(320px, 85vw);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f10;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
}
/* Author `display` beats the UA [hidden] rule — keep the attribute working. */
.topbar-scrim[hidden],
.topbar-drawer[hidden] {
  display: none !important;
}
.topbar-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(2.5rem, calc(env(safe-area-inset-top) + 0.75rem)) 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-drawer-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.topbar-drawer-logo svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #fff;
  color: #fff;
}
.topbar-drawer-logo svg path { fill: #fff; }
.topbar-drawer-title {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.topbar-drawer-sub {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}
.topbar-drawer-close {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.topbar-drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.topbar-drawer-close svg { width: 14px; height: 14px; display: block; }
.topbar-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px 24px;
}
.topbar-drawer-label {
  margin: 12px 4px 8px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar-drawer-label + .topbar-drawer-label { margin-top: 16px; }
.topbar-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 2px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 150ms ease, background-color 150ms ease;
}
.topbar-drawer-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
@media (min-width: 768px) {
  .topbar-scrim,
  .topbar-drawer { display: none !important; }
}

.hero,
.hero.is-detail {
  position: relative;
  /* svh stays stable when mobile browser chrome shows/hides (dvh twitches). */
  height: 52vh;
  height: var(--hero-height);
  min-height: var(--hero-min-height);
  max-height: var(--hero-max-height);
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 640px) {
  .hero,
  .hero.is-detail {
    height: 100vh;
    height: var(--hero-height);
  }
}

.track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background: var(--ink);
}
.slide > img,
.slide .player-pane video,
.slide > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
@media (min-width: 640px) {
  .slide > img,
  .slide .player-pane video,
  .slide > video { object-position: center; }
}
.slide .player-pane video,
.slide > video {
  opacity: 0;
  transition: opacity 500ms ease;
}
.slide .player-pane video.is-on,
.slide > video.is-on {
  opacity: 1;
}
.slide.is-playing .player-pane video,
.slide.is-playing > video {
  object-fit: contain;
  background: #000;
}
.slide.is-playing .scrim,
.slide.is-playing .copy,
.slide.is-playing .cast-block {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 48%, rgba(7, 11, 8, 0.28) 72%, rgba(7, 11, 8, 0.72) 100%);
}
@media (min-width: 640px) {
  .scrim {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.16) 10%, rgba(0, 0, 0, 0.06) 22%, transparent 36%),
      linear-gradient(80deg, rgba(0, 0, 0, 0.08), transparent 41%),
      radial-gradient(circle 100vmax at 66.7% 0%, transparent 0%, rgba(7, 11, 8, 0.02) 24%, rgba(7, 11, 8, 0.12) 48%, rgba(7, 11, 8, 0.28) 68%, rgba(7, 11, 8, 0.55) 88%, #070b08 100%);
  }
}

.copy {
  position: absolute;
  left: 12px;
  right: 12px;
  /* Clear the centered slide dots under the metadata stack */
  bottom: 34px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: auto;
}
@media (min-width: 640px) {
  .copy {
    left: 40px;
    right: 40px;
    bottom: 75px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto;
    column-gap: 24px;
    row-gap: 0;
    align-items: end;
    gap: 0;
  }
}

.cast-block {
  position: static;
  display: flex;
  justify-content: flex-start;
  order: -1;
  pointer-events: none;
}
@media (min-width: 640px) {
  .cast-block {
    grid-column: 2;
    grid-row: 1 / -1;
    justify-content: flex-end;
    align-self: end;
    order: 0;
  }
}

.cast-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
}
@media (min-width: 640px) {
  .cast-stack {
    align-items: center;
    gap: 12px;
  }
}

.logo {
  position: static;
  display: block;
  height: 16px;
  width: auto;
  max-width: 110px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}
@media (min-width: 640px) {
  .logo {
    height: 44px;
    max-width: 280px;
    object-position: center;
  }
}

.meta-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 1px 6px;
}
.chip svg {
  width: 8px;
  height: 8px;
  flex: none;
}
@media (min-width: 640px) {
  .meta-row {
    display: flex;
    grid-column: 1;
    gap: 8px;
    margin-bottom: 8px;
  }
  .chip { font-size: 12px; gap: 5px; padding: 4px 10px; }
  .chip svg { width: 12px; height: 12px; }
}

.cast {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  font-family: "Archivo", system-ui, sans-serif;
}
.cast-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cast-name {
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112, "wght" 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.cast-rule {
  flex: 0 0 auto;
  width: 1px;
  height: 1.05em;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 35%,
    rgba(255, 255, 255, 0.7) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: none;
}
@media (min-width: 640px) {
  .cast { justify-content: flex-end; column-gap: 16px; }
  .cast-item { gap: 16px; }
  .cast-name {
    font-size: 22px;
    font-weight: 900;
    font-stretch: 125%;
    font-variation-settings: "wdth" 125, "wght" 900;
    letter-spacing: -0.01em;
  }
  .cast-rule { height: 1.25em; }
}

.desc {
  display: none;
  margin: 0 0 10px;
  max-width: min(92vw, 640px);
  color: #fff;
  font-family: Archivo, var(--font);
  font-weight: 800;
  font-stretch: 122%;
  font-size: clamp(15px, 2.5vw, 28px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (min-width: 640px) {
  .desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    grid-column: 1;
    margin-bottom: 12px;
    max-width: 640px;
  }
}

/* Homepage: Play / More Info desktop only. Detail: all viewports. */
.hero:not(.is-detail) .actions { display: none; }
.hero.is-detail .actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 640px) {
  .hero:not(.is-detail) .actions,
  .hero.is-detail .actions {
    display: flex;
    align-items: center;
    grid-column: 1;
    gap: 10px;
    margin-top: 14px;
  }
}

.btn {
  position: relative;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 28px;
  min-width: 88px;
  padding: 1px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 300ms ease, border-color 300ms ease, top 300ms ease;
}
.btn span { padding: 0 6px; }
.btn svg { width: 10px; height: 10px; flex: none; }
.btn:active { top: 2px; }
@media (min-width: 640px) {
  .btn {
    height: 36px;
    min-width: 112px;
    padding: 2px 10px;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .btn span { padding: 0 8px; }
  .btn svg { width: 12px; height: 12px; }
}
@media (min-width: 768px) {
  .btn { height: 48px; min-width: 144px; padding: 2px 20px; font-size: 12px; }
  .btn svg { width: 14px; height: 14px; }
}
.btn-primary { background: #fff; color: #000; }
@media (min-width: 1024px) {
  .btn-primary:hover { background: rgba(255, 255, 255, 0.8); }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
@media (min-width: 1024px) {
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: transparent; }
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
@media (min-width: 640px) {
  .dots { bottom: 12px; }
}
.dots-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(7, 11, 8, 0.72);
}
@media (min-width: 640px) {
  .dots-pill { padding: 3px 6px; border-radius: 20px; }
}
.dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (min-width: 640px) {
  .dot { width: 20px; height: 20px; }
}
.dot span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: transform 100ms linear, background-color 100ms linear;
}
@media (min-width: 640px) {
  .dot span { width: 20px; height: 20px; }
}
.dot.is-on span { background: rgba(255, 255, 255, 0.9); }

.shelves {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0 0 40px;
  background: var(--ink);
}
@media (min-width: 640px) {
  .shelves { margin-top: 48px; padding-bottom: 56px; }
}

.performers-host {
  position: relative;
  z-index: 2;
  display: block;
  padding: 8px 0 72px;
  background: var(--ink);
}
.performers-host[hidden] { display: none !important; }
@media (min-width: 640px) {
  .performers-host { padding: 16px 0 104px; }
}

.performers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}
@media (min-width: 640px) {
  .performers { gap: 20px; }
}

.performers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .performers-head { padding: 0 32px; }
}

.performers-title {
  margin: 0;
  font-family: Archivo, var(--font);
  font-weight: 650;
  font-stretch: 112%;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.performers-head-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
}
.performers-studio-toggle {
  flex: 0 1 auto;
  width: max-content;
  max-width: min(52vw, 420px);
  margin: 0;
  justify-content: flex-start;
}
@media (max-width: 639px) {
  .performers-head {
    flex-wrap: wrap;
  }
  .performers-head-right {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
  .performers-studio-toggle {
    max-width: min(58vw, 280px);
  }
}

.performers-navs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.performers-nav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.performers-nav svg { width: 16px; height: 16px; }
.performers-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); }
.performers-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.performers-viewport {
  width: 100%;
  overflow: hidden;
  outline: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.performers-viewport.is-dragging { cursor: grabbing; }

.performers-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
.performers-track.is-instant { transition: none; }

.performer-card {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 calc(100% / var(--performers-visible, 2));
  width: calc(100% / var(--performers-visible, 2));
  max-width: calc(100% / var(--performers-visible, 2));
  aspect-ratio: 2 / 3;
  height: auto;
  /* Fallback when aspect-ratio + % flex width collapses on some mobile engines */
  min-height: calc(100vw * 1.5 / var(--performers-visible, 2));
  overflow: hidden;
  background: #141416;
  border-radius: 0;
  cursor: pointer;
}
@media (min-width: 640px) {
  .performer-card {
    flex-basis: calc(100% / var(--performers-visible, 5));
    width: calc(100% / var(--performers-visible, 5));
    max-width: calc(100% / var(--performers-visible, 5));
    min-height: calc((100vw - 0px) * 1.5 / var(--performers-visible, 5));
  }
}

.performer-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.performer-card-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65));
}
.performer-card-heart svg {
  width: 22px;
  height: 22px;
}
.performer-card-heart.is-on {
  color: #ff4d6d;
}
@media (min-width: 640px) {
  .performer-card-heart { top: 12px; right: 12px; width: 38px; height: 38px; }
  .performer-card-heart svg { width: 24px; height: 24px; }
}

.performer-card-veil {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.performer-card-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 18% 10% 8%;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  font-family: Archivo, var(--font);
  font-weight: 800;
  font-stretch: 120%;
  font-size: clamp(15px, 4.2vw, 26px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 8px 22px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  pointer-events: none;
}
@media (min-width: 640px) {
  .performer-card-name {
    padding: 14% 7% 5%;
    font-size: clamp(13px, 1.85vw, 26px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .performers-track { transition: none; }
}

.shelf {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 639px) {
  /* Mobile: scene grid first, studio strip between grid and performers. */
  .shelf .scene-grid { order: 1; }
  .shelf .logo-marquee { order: 2; }
}
@media (min-width: 640px) {
  .shelf { gap: 28px; }
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 8px 0;
  animation: logo-marquee 42s linear infinite;
}
.logo-marquee-item {
  display: block;
  height: 18px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.72;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}
@media (min-width: 640px) {
  .logo-marquee-track { gap: 72px; }
  .logo-marquee-item { height: 24px; max-width: 180px; }
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

.scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0 32px;
  }
}

.scene-card {
  position: relative;
  min-width: 0;
  color: inherit;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .scene-card:hover,
  .scene-card.is-hot {
    z-index: 3;
  }
}

.scene-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  box-shadow: none;
  transition: filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 640px) {
  .scene-card-media {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition:
      border-color 480ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}
.scene-card:hover .scene-card-media,
.scene-card.is-hot .scene-card-media {
  filter: brightness(1.04);
}
@media (min-width: 640px) {
  .scene-card:hover .scene-card-media,
  .scene-card.is-hot .scene-card-media {
    border-color: rgba(255, 255, 255, 0.32);
  }
}

.scene-card-still,
.scene-card-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02) translate3d(0, 0, 0);
  will-change: transform;
}
.scene-card-still {
  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 450ms ease;
}
.scene-card:hover .scene-card-still,
.scene-card.is-hot .scene-card-still {
  transform: scale(1.1) translate3d(0, -2%, 0);
}
.scene-card-preview {
  opacity: 0;
  transition:
    opacity 450ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.scene-card.is-hot .scene-card-preview {
  opacity: 1;
  transform: scale(1.1) translate3d(0, -2%, 0);
}
.scene-card.is-hot .scene-card-still {
  opacity: 0;
}

.scene-card-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 11, 8, 0.12) 0%, transparent 22%),
    linear-gradient(0deg, rgba(7, 11, 8, 0.55) 0%, rgba(7, 11, 8, 0.22) 32%, transparent 58%);
  opacity: 0.9;
  transition: opacity 480ms ease;
}
.scene-card:hover .scene-card-veil,
.scene-card.is-hot .scene-card-veil {
  opacity: 1;
}

.scene-card-studio {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: block;
  height: 10px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.7));
  opacity: 0.94;
}
@media (min-width: 640px) {
  .scene-card-studio { top: 12px; left: 12px; height: 14px; max-width: 92px; }
}

.scene-card-uhd {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: block;
  width: 30px;
  height: auto;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.75));
}
@media (min-width: 640px) {
  .scene-card-uhd { top: 12px; right: 12px; width: 42px; }
}

.scene-card-title {
  display: none;
}

.scene-card-duration {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
}
.scene-card-duration svg {
  width: 9px;
  height: 9px;
  flex: none;
}
@media (min-width: 640px) {
  .scene-card-duration { left: 12px; bottom: 12px; min-height: 20px; padding: 0 8px; font-size: 10px; gap: 5px; }
  .scene-card-duration svg { width: 10px; height: 10px; }
}

.scene-card-cast {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  max-width: 58%;
  text-align: right;
  pointer-events: none;
}
.scene-card-cast-name {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  font-stretch: 110%;
  font-variation-settings: "wdth" 110, "wght" 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (min-width: 640px) {
  .scene-card-cast { right: 12px; bottom: 12px; gap: 2px; max-width: 55%; }
  .scene-card-cast-name { font-size: 10px; letter-spacing: 0.05em; }
}
@media (min-width: 1100px) {
  .scene-card-cast-name { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card,
  .scene-card-still,
  .scene-card-preview,
  .scene-card-media,
  .scene-card-veil {
    transition: none;
  }
}

.status {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.status.is-loading { color: transparent; }
.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 1.4s; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.status[hidden],
.hero[hidden],
.shelves[hidden],
.performer-page[hidden] { display: none; }
.status.is-error { color: rgba(255, 255, 255, 0.72); }

/* --- Skeletons: same layout classes + sized placeholders --- */
.skeleton-fill,
.skeleton-line {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-fill,
  .skeleton-line { animation: none; }
}

.skeleton-line {
  display: block;
  border-radius: 999px;
  flex: none;
}
.skeleton-slide { background: #101114; }
.skeleton-slide .slide-still.skeleton-fill {
  position: absolute;
  inset: 0;
}
.skeleton-slide .desc.skeleton-line {
  display: none;
  height: clamp(15px, 2.5vw, 28px);
  width: min(70%, 420px);
  margin: 0 0 10px;
  border-radius: 6px;
}
@media (min-width: 640px) {
  .skeleton-slide .desc.skeleton-line {
    display: block;
    grid-column: 1;
    margin-bottom: 12px;
  }
}
.sk-hero-logo {
  width: 88px;
  height: 16px;
  border-radius: 4px;
}
@media (min-width: 640px) {
  .sk-hero-logo { width: 160px; height: 36px; }
}
.skeleton-slide .cast {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.sk-hero-cast { width: 92px; height: 10px; }
.sk-hero-cast-sm { width: 64px; }
@media (min-width: 640px) {
  .sk-hero-cast { width: 120px; height: 16px; }
  .sk-hero-cast-sm { width: 88px; }
}
.sk-chip { width: 58px; height: 18px; }
.skeleton-dots { opacity: 0.55; pointer-events: none; }

.skeleton-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 8px 16px;
  animation: none;
}
@media (min-width: 640px) {
  .skeleton-marquee-track { gap: 72px; }
}
.sk-marquee-logo {
  width: 72px;
  height: 14px;
  border-radius: 3px;
  opacity: 0.72;
}
@media (min-width: 640px) {
  .sk-marquee-logo { width: 96px; height: 18px; }
}

.skeleton-card { pointer-events: none; }
.skeleton-card .scene-card-media { background: #141416; }
.skeleton-card .skeleton-fill {
  position: absolute;
  inset: 0;
}
.sk-card-studio {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 52px;
  height: 10px;
  border-radius: 2px;
}
@media (min-width: 640px) {
  .sk-card-studio { top: 12px; left: 12px; width: 72px; height: 12px; }
}
.sk-card-uhd {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 12px;
  border-radius: 2px;
}
@media (min-width: 640px) {
  .sk-card-uhd { top: 12px; right: 12px; width: 36px; height: 14px; }
}
.sk-card-duration {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  width: 52px;
  height: 18px;
}
@media (min-width: 640px) {
  .sk-card-duration { left: 12px; bottom: 12px; width: 58px; height: 20px; }
}
.skeleton-card .scene-card-cast { gap: 4px; }
.sk-card-cast {
  width: 72px;
  height: 9px;
  margin-left: auto;
}
.sk-card-cast-sm { width: 48px; }
@media (min-width: 640px) {
  .sk-card-cast { width: 88px; height: 10px; }
  .sk-card-cast-sm { width: 56px; }
}

.performers-title.skeleton-line,
.sk-perf-title {
  width: 132px;
  height: clamp(18px, 2.4vw, 28px);
  border-radius: 6px;
  color: transparent;
}
.sk-perf-nav {
  width: 36px;
  height: 36px;
  border: 0 !important;
  border-radius: 0;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-performers-track { transform: none !important; }
.is-skeleton .performer-card {
  background: #141416;
  flex-basis: 50%;
  width: 50%;
  max-width: 50%;
  min-height: calc(100vw * 1.5 / 2);
}
@media (min-width: 640px) {
  .is-skeleton .performer-card {
    flex-basis: 33.333%;
    width: 33.333%;
    max-width: 33.333%;
    min-height: calc(100vw * 1.5 / 3);
  }
}
@media (min-width: 1024px) {
  .is-skeleton .performer-card {
    flex-basis: 20%;
    width: 20%;
    max-width: 20%;
    min-height: calc(100vw * 1.5 / 5);
  }
}
.is-skeleton .performer-card .skeleton-fill {
  position: absolute;
  inset: 0;
}
.sk-perf-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
@media (min-width: 640px) {
  .sk-perf-heart { top: 12px; right: 12px; width: 24px; height: 24px; }
}
.is-skeleton .performer-card-name {
  display: flex;
  justify-content: center;
  padding: 18% 10% 8%;
}
.sk-perf-name {
  width: 62%;
  height: 14px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .sk-perf-name { height: 18px; width: 55%; }
}

.slide-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #141416;
}
.slide-still.is-broken,
.scene-card-still.is-broken,
.performer-card-image.is-broken {
  opacity: 0.35;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) -8px 0 / 16px 16px,
    #141416;
}

.slide-rating,
.scene-card-rating {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  pointer-events: none;
  background: #141416;
}
.slide.is-rating .slide-rating,
.scene-card.is-rating .scene-card-rating {
  display: block;
}
.slide.is-rating > .slide-still,
.slide.is-rating > video,
.scene-card.is-rating .scene-card-still,
.scene-card.is-rating .scene-card-preview {
  opacity: 0 !important;
  visibility: hidden;
}
.slide.is-rating .slide-rating::before,
.scene-card.is-rating .scene-card-rating::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-rating .slide-rating::before,
  .scene-card.is-rating .scene-card-rating::before { animation: none; }
}
.slide-rating .spinner,
.scene-card-rating .spinner {
  display: none;
}

/* --- Performer page --- */
.performer-page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 0 0 72px;
  background: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
}
@media (min-width: 640px) {
  .performer-page {
    gap: 48px;
    padding: 0 0 104px;
  }
}

.performer-hero {
  position: relative;
  height: auto;
  min-height: var(--hero-min-height);
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 640px) {
  .performer-hero {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
}

.performer-hero-ambience {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.performer-hero-ambience-image {
  position: absolute;
  right: -8%;
  top: 42%;
  height: 130%;
  width: auto;
  max-width: none;
  transform: translateY(-50%);
  object-fit: cover;
  filter: blur(56px) saturate(1.2) brightness(0.78);
  opacity: 0.72;
  transform-origin: center right;
}
@media (min-width: 640px) {
  .performer-hero-ambience-image {
    right: -2%;
    top: 50%;
    height: 118%;
    filter: blur(64px) saturate(1.25) brightness(0.82);
    opacity: 0.8;
  }
}

.performer-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      var(--ink) 0%,
      var(--ink) 18%,
      rgba(7, 11, 8, 0.96) 34%,
      rgba(7, 11, 8, 0.78) 48%,
      rgba(7, 11, 8, 0.42) 64%,
      rgba(7, 11, 8, 0.12) 80%,
      transparent 100%),
    linear-gradient(180deg, rgba(7, 11, 8, 0.35) 0%, transparent 22%, transparent 78%, rgba(7, 11, 8, 0.55) 100%);
}
@media (min-width: 640px) {
  .performer-hero-shade {
    background:
      linear-gradient(90deg,
        var(--ink) 0%,
        var(--ink) 22%,
        rgba(7, 11, 8, 0.97) 38%,
        rgba(7, 11, 8, 0.82) 50%,
        rgba(7, 11, 8, 0.45) 64%,
        rgba(7, 11, 8, 0.14) 78%,
        transparent 92%),
      linear-gradient(180deg, rgba(7, 11, 8, 0.28) 0%, transparent 18%, transparent 82%, rgba(7, 11, 8, 0.5) 100%);
  }
}

.performer-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 20px;
  min-height: 0;
  padding: calc(72px + env(safe-area-inset-top)) 16px 28px;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .performer-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 400px);
    align-items: stretch;
    gap: 36px;
    height: 100%;
    padding: calc(88px + env(safe-area-inset-top)) 40px 48px;
  }
}
@media (min-width: 960px) {
  .performer-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 48px;
    padding-left: 48px;
    padding-right: 56px;
  }
}

.performer-hero-copy {
  display: grid;
  grid-template-rows: auto auto;
  align-content: end;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: none;
}
@media (min-width: 640px) {
  .performer-hero-copy {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    height: 100%;
    gap: 0;
    min-height: 0;
  }
}

.performer-hero-copy .performer-meta {
  max-width: none;
}
@media (min-width: 640px) {
  .performer-hero-copy .performer-meta {
    align-self: end;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 20px;
  }
}

.performer-hero-scenes {
  --hero-scene-radius: 22px;
  display: flex;
  width: 100%;
  min-height: 0;
}
@media (min-width: 640px) {
  .performer-hero-scenes {
    --hero-scene-radius: 28px;
    height: 100%;
  }
}
.performer-hero-scenes .performer-hero-scene {
  width: 100%;
  min-width: 0;
  border-radius: var(--hero-scene-radius);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.performer-hero-scenes .scene-card-media {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--hero-scene-radius);
  overflow: hidden;
}
@media (min-width: 640px) {
  .performer-hero-scenes,
  .performer-hero-scenes .performer-hero-scene,
  .performer-hero-scenes .scene-card-media {
    height: 100%;
  }
  .performer-hero-scenes .scene-card-media {
    aspect-ratio: auto;
  }
}
.performer-hero-scenes .scene-card-duration {
  display: none;
}
.performer-hero-scene-play {
  position: absolute;
  top: auto;
  left: 12px;
  right: auto;
  bottom: 12px;
  z-index: 4;
  height: 28px;
  min-width: 0;
  padding: 0 12px;
  gap: 4px;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.performer-hero-scene-play span { padding: 0 4px; }
.performer-hero-scene-play svg { width: 10px; height: 10px; }
@media (min-width: 640px) {
  .performer-hero-scene-play {
    left: 14px;
    bottom: 14px;
    height: 32px;
    min-width: 0;
    padding: 0 14px;
    font-size: 10px;
  }
  .performer-hero-scene-play svg { width: 11px; height: 11px; }
}
.performer-hero-scenes .scene-card-studio {
  top: 12px;
  left: 12px;
  height: 12px;
  max-width: 88px;
}
.performer-hero-scenes .scene-card-uhd {
  top: 12px;
  right: 12px;
  width: 36px;
}
.performer-hero-scenes .scene-card-cast {
  right: 12px;
  bottom: 12px;
  max-width: 55%;
}
.performer-hero-scenes .scene-card-cast-name {
  font-size: 11px;
  letter-spacing: 0.04em;
}
@media (min-width: 640px) {
  .performer-hero-scenes .scene-card-studio {
    top: 14px;
    left: 14px;
    height: 14px;
    max-width: 110px;
  }
  .performer-hero-scenes .scene-card-uhd {
    top: 14px;
    right: 14px;
    width: 42px;
  }
  .performer-hero-scenes .scene-card-cast {
    right: 16px;
    bottom: 16px;
  }
  .performer-hero-scenes .scene-card-cast-name { font-size: 12px; }
}

@property --performer-border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.performer-hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  width: 100%;
}
@media (min-width: 640px) {
  .performer-hero-portrait {
    height: 100%;
    min-height: 0;
    justify-self: end;
    gap: 12px;
  }
}

.performer-portrait-toggle {
  flex: none;
  width: max-content;
  max-width: 100%;
  margin: 0;
  align-self: flex-end;
}
.performer-portrait-toggle .performer-studio-tab-logo {
  min-width: 58px;
  padding: 0 10px;
}
.performer-portrait-toggle .performer-studio-tab-logo img {
  height: 11px;
  max-width: 72px;
}

.performer-hero-card-shell {
  --performer-card-radius: 22px;
  position: relative;
  width: min(300px, 72vw);
  max-width: 100%;
  aspect-ratio: 2 / 3;
  justify-self: end;
  border-radius: var(--performer-card-radius);
  isolation: isolate;
  flex: none;
}
@media (min-width: 640px) {
  .performer-hero-card-shell {
    --performer-card-radius: 28px;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100% - 48px);
    aspect-ratio: 2 / 3;
  }
}

.performer-hero-card-shell::before,
.performer-hero-card-shell::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--performer-border-angle),
    transparent 0deg,
    transparent 300deg,
    rgba(255, 45, 149, 0.2) 320deg,
    rgba(255, 45, 149, 0.7) 340deg,
    #ff8fc4 350deg,
    #fff 355deg,
    #ff4da6 358deg,
    rgba(255, 45, 149, 0.45) 360deg
  );
  animation: performer-border-travel 3.6s linear infinite;
}
.performer-hero-card-shell::before {
  z-index: 2;
  padding: 1.5px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.performer-hero-card-shell::after {
  z-index: 0;
  inset: -6px;
  filter: blur(10px);
  opacity: 0.55;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 8px;
}
@keyframes performer-border-travel {
  to { --performer-border-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .performer-hero-card-shell::before,
  .performer-hero-card-shell::after {
    animation: none;
    --performer-border-angle: 210deg;
  }
}

.performer-card.performer-hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  flex: none;
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
  border-radius: var(--performer-card-radius);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141416;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5);
}
.performer-card.performer-hero-card .performer-card-image,
.performer-card.performer-hero-card .performer-card-veil,
.performer-card.performer-hero-card .performer-card-name {
  border-radius: var(--performer-card-radius);
}
@media (min-width: 640px) {
  .performer-card.performer-hero-card {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  }
}

.performer-meta {
  --meta-accent: #ff2d95;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  width: 100%;
  max-width: 540px;
}
@media (min-width: 640px) {
  .performer-meta { gap: 28px; }
}

.performer-meta-eyebrow {
  margin: 0;
  color: var(--meta-accent);
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .performer-meta-eyebrow { font-size: 12px; letter-spacing: 0.4em; }
}

.performer-meta-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  margin: 0;
  font-family: Archivo, var(--font);
  line-height: 0.86;
  text-transform: uppercase;
}
.performer-meta-name-lead {
  display: block;
  font-weight: 500;
  font-stretch: 108%;
  font-size: clamp(20px, 2.8vw, 34px);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}
.performer-meta-name-tail {
  display: block;
  font-weight: 800;
  font-stretch: 122%;
  font-size: clamp(48px, 8.5vw, 96px);
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.performer-meta-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.performer-meta-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.performer-meta-fact + .performer-meta-fact {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.performer-meta-fact-icon {
  display: grid;
  place-items: center;
  color: var(--meta-accent);
}
.performer-meta-fact-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}
@media (min-width: 640px) {
  .performer-meta-facts { padding-top: 18px; }
  .performer-meta-fact { font-size: 14px; padding-right: 20px; gap: 9px; }
  .performer-meta-fact + .performer-meta-fact { padding-left: 20px; }
  .performer-meta-fact-icon svg { width: 15px; height: 15px; }
}

.performer-meta-studios {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.performer-meta-studio {
  display: block;
  height: 14px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.82;
}
@media (min-width: 640px) {
  .performer-meta-studio { height: 17px; max-width: 140px; }
}

.performer-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
@media (min-width: 640px) {
  .performer-section { gap: 24px; }
}

.performer-scenes {
  padding-top: 8px;
}

.performer-studio-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.performer-studio-toggle::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
  .performer-studio-toggle {
    gap: 6px;
    padding: 5px;
  }
}

.performer-studio-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
}
.performer-studio-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.performer-studio-tab.is-on {
  color: #fff;
  background: rgba(255, 45, 149, 0.32);
}
.performer-studio-tab-logo {
  min-width: 72px;
  padding: 0 12px;
  opacity: 0.72;
}
.performer-studio-tab-logo img {
  display: block;
  height: 12px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.performer-studio-tab-logo:hover,
.performer-studio-tab-logo.is-on {
  opacity: 1;
}
@media (min-width: 640px) {
  .performer-studio-tab {
    min-height: 38px;
    padding: 0 18px;
    font-size: 12px;
    letter-spacing: 0.2em;
  }
  .performer-studio-tab-logo {
    min-width: 88px;
    padding: 0 16px;
  }
  .performer-studio-tab-logo img {
    height: 14px;
    max-width: 110px;
  }
}

.performer-scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .performer-scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 32px;
  }
}
@media (max-width: 639px) {
  .performer-scene-grid {
    padding: 0 16px;
    gap: 12px;
  }
}
