:root {
  color-scheme: dark;
  --ink: #f4f7ff;
  --muted: #a6b2c7;
  --paper: #05070d;
  --soft: #0b1020;
  --line: rgba(96, 239, 255, 0.2);
  --clay: #ff3df2;
  --olive: #19f6ff;
  --charcoal: #090d18;
  --white: #ffffff;
  --glass: rgba(9, 13, 24, 0.72);
  --cyan-glow: 0 0 28px rgba(25, 246, 255, 0.28);
  --magenta-glow: 0 0 30px rgba(255, 61, 242, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 10%, rgba(25, 246, 255, 0.18), transparent 28vw),
    radial-gradient(circle at 86% 18%, rgba(255, 61, 242, 0.16), transparent 30vw),
    linear-gradient(135deg, #05070d 0%, #0b1020 45%, #080712 100%);
  color: var(--ink);
  font-family: "Tajawal", Arial, sans-serif;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

body.has-cast-selection {
  padding-bottom: 118px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(96, 239, 255, 0.18);
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.brand {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(25, 246, 255, 0.45);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--olive);
  text-shadow: var(--cyan-glow);
}

nav a.current-page {
  color: var(--white);
  text-shadow: var(--cyan-glow);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.18), rgba(5, 7, 13, 0.88)),
    radial-gradient(circle at 76% 50%, rgba(255, 61, 242, 0.16), transparent 34vw);
}

.hero-media {
  min-height: 620px;
  position: relative;
  background: linear-gradient(135deg, #10182c, #051018);
}

.hero-media::after,
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.1) 52%, rgba(5, 7, 13, 0.68) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 5.8vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: var(--cyan-glow);
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  font-size: clamp(3.2rem, 7.6vw, 6.7rem);
  font-weight: 800;
  text-shadow:
    0 0 18px rgba(25, 246, 255, 0.35),
    0 0 42px rgba(255, 61, 242, 0.22);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  font-weight: 800;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.hero-bio {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(244, 247, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-bio p {
  margin: 0 0 10px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-meta span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(96, 239, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 246, 255, 0.5);
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 800;
  box-shadow: var(--cyan-glow);
}

.button.primary {
  background: linear-gradient(135deg, rgba(25, 246, 255, 0.18), rgba(255, 61, 242, 0.24));
  color: var(--white);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 64px);
}

.details-band {
  background:
    linear-gradient(135deg, rgba(11, 16, 32, 0.94), rgba(5, 7, 13, 0.88)),
    radial-gradient(circle at 16% 30%, rgba(25, 246, 255, 0.12), transparent 28vw);
}

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

.intro-video-section {
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.98), rgba(12, 17, 32, 0.92)),
    radial-gradient(circle at 22% 22%, rgba(25, 246, 255, 0.14), transparent 30vw),
    radial-gradient(circle at 84% 54%, rgba(255, 61, 242, 0.14), transparent 28vw);
}

.intro-video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.intro-video-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.26rem);
}

.intro-video-copy p {
  max-width: 640px;
  margin: 0 0 24px;
}

.intro-video-frame {
  width: min(430px, 100%);
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(96, 239, 255, 0.3);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48), var(--magenta-glow);
}

.intro-video-frame video {
  display: block;
  width: 100%;
  max-height: 76vh;
  background: #000;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
  gap: 16px;
}

.shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  border: 1px solid rgba(96, 239, 255, 0.18);
  background: linear-gradient(145deg, #121a30, #070b12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.shot-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  padding: 0;
}

.shot-button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: -6px;
}

.shot img,
.hero-media img {
  filter: contrast(1.08) saturate(0.86) brightness(0.86);
}

.shot img {
  padding: 10px;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
}

.shot:hover img,
.shot-button:focus-visible img {
  filter: contrast(1.12) saturate(0.92) brightness(0.95);
  transform: scale(1.015);
}

.image-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: inherit;
  background:
    linear-gradient(140deg, rgba(255, 61, 242, 0.24), rgba(25, 246, 255, 0.3)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px),
    #09111f;
  color: rgba(244, 247, 255, 0.78);
  font-size: clamp(1.2rem, 3vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.works-section {
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.96), rgba(10, 18, 34, 0.92)),
    radial-gradient(circle at 74% 26%, rgba(255, 61, 242, 0.16), transparent 28vw);
}

.work-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(680px, 100%);
  margin: -2px auto 34px;
  border: 1px solid rgba(96, 239, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 61, 242, 0.08), rgba(25, 246, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28), var(--magenta-glow);
  padding: 10px;
}

.work-tab {
  position: relative;
  flex: 1 1 220px;
  min-height: 68px;
  border: 1px solid rgba(96, 239, 255, 0.26);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(25, 246, 255, 0.04)),
    rgba(5, 7, 13, 0.72);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 800;
  overflow: hidden;
  padding: 14px 22px;
  text-align: center;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.work-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(25, 246, 255, 0.16), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.work-tab:hover,
.work-tab.is-active {
  border-color: rgba(25, 246, 255, 0.7);
  color: var(--white);
  box-shadow: var(--cyan-glow);
}

.work-tab:hover {
  transform: translateY(-1px);
}

.work-tab:hover::before,
.work-tab.is-active::before {
  opacity: 1;
}

.work-tab.is-active {
  background:
    linear-gradient(135deg, rgba(25, 246, 255, 0.22), rgba(255, 61, 242, 0.28)),
    rgba(5, 7, 13, 0.9);
  text-shadow: 0 0 18px rgba(25, 246, 255, 0.42);
}

.work-tab:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.work-card {
  position: relative;
  display: grid;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(96, 239, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(25, 246, 255, 0.04)),
    radial-gradient(circle at 22% 20%, rgba(25, 246, 255, 0.2), transparent 42%);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 18px;
  text-align: start;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.work-card[data-work-type="folder"] {
  background:
    linear-gradient(145deg, rgba(255, 61, 242, 0.11), rgba(25, 246, 255, 0.05)),
    radial-gradient(circle at 22% 20%, rgba(25, 246, 255, 0.18), transparent 42%);
}

.work-card:hover {
  border-color: rgba(25, 246, 255, 0.7);
  box-shadow: var(--cyan-glow);
  transform: translateY(-2px);
}

.work-card__type {
  align-self: start;
  justify-self: start;
  min-height: 26px;
  border: 1px solid rgba(96, 239, 255, 0.2);
  border-radius: 999px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px;
}

.work-card__brand {
  align-self: start;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  padding-inline-end: 44px;
}

.work-card__play {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(25, 246, 255, 0.5);
  border-radius: 50%;
  color: var(--olive);
  font-size: 0.95rem;
  box-shadow: var(--cyan-glow);
}

.work-card__label {
  align-self: end;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding-inline-end: 48px;
}

.work-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.work-more [hidden] {
  display: none;
}

.video-modal[aria-hidden="true"],
.image-modal[aria-hidden="true"] {
  display: none;
}

.video-modal,
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.video-modal__backdrop,
.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.video-modal__panel,
.image-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  border: 1px solid rgba(96, 239, 255, 0.3);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), var(--magenta-glow);
  padding: clamp(14px, 3vw, 24px);
}

.image-modal__panel {
  width: min(1120px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding-top: 58px;
}

.video-modal__header,
.image-modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.video-modal__header h2,
.image-modal__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(96, 239, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.image-modal__close {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
}

.video-modal iframe {
  display: block;
  width: min(430px, 100%);
  max-height: 72vh;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.image-modal__photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 8px;
  background: #000;
}

.image-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.drive-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--olive);
  font-weight: 800;
}

.details-grid article {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(25, 246, 255, 0.035));
  padding: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.details-grid .profile-details {
  grid-column: span 2;
}

.details-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.details-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.45;
}

.cast-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.96), rgba(14, 11, 28, 0.9)),
    radial-gradient(circle at 18% 34%, rgba(25, 246, 255, 0.18), transparent 28vw),
    radial-gradient(circle at 86% 28%, rgba(255, 61, 242, 0.16), transparent 30vw);
}

.cast-hero__copy {
  max-width: 820px;
}

.cast-home-page .cast-hero {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(26px, 4vw, 44px);
  padding-block: clamp(36px, 6vw, 72px);
}

.cast-home-page .cast-hero__copy {
  max-width: 940px;
}

.cast-home-page .lead {
  max-width: 880px;
}

.cast-home-page .cast-category-cards {
  width: min(1120px, 100%);
}

.cast-home-page .cast-category-card {
  min-height: clamp(104px, 13vw, 140px);
  place-items: center;
  align-content: center;
  padding: 18px;
  text-align: center;
}

.cast-hero__panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(96, 239, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(25, 246, 255, 0.04)),
    rgba(5, 7, 13, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), var(--magenta-glow);
  padding: clamp(22px, 4vw, 34px);
}

.cast-hero__panel > strong {
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.25;
}

.cast-hero__panel > span {
  color: var(--muted);
  font-weight: 700;
}

.cast-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cast-overview div {
  min-height: 98px;
  border: 1px solid rgba(96, 239, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
}

.cast-overview strong,
.cast-overview span {
  display: block;
}

.cast-overview strong {
  color: var(--olive);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-shadow: var(--cyan-glow);
}

.cast-overview span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.cast-index-section {
  padding-block: 28px;
  background: rgba(5, 7, 13, 0.55);
}

.cast-category-hero {
  min-height: 46vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.98), rgba(13, 17, 32, 0.9)),
    radial-gradient(circle at 82% 30%, rgba(255, 61, 242, 0.16), transparent 30vw),
    radial-gradient(circle at 16% 30%, rgba(25, 246, 255, 0.12), transparent 26vw);
}

.cast-category-hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.2rem);
}

.cast-category-hero .lead {
  max-width: 760px;
}

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

.cast-category-card {
  display: grid;
  min-height: 230px;
  align-content: space-between;
  gap: 16px;
  border: 1px solid rgba(96, 239, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(25, 246, 255, 0.04)),
    radial-gradient(circle at 20% 18%, rgba(25, 246, 255, 0.16), transparent 44%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cast-category-card:hover,
.cast-category-card:focus-visible {
  border-color: rgba(25, 246, 255, 0.72);
  box-shadow: var(--cyan-glow), var(--magenta-glow);
  outline: 0;
  transform: translateY(-2px);
}

.cast-category-card strong,
.cast-category-card span,
.cast-category-card em {
  display: block;
}

.cast-category-card strong {
  color: var(--white);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.15;
}

.cast-category-card span {
  justify-self: start;
  border: 1px solid rgba(96, 239, 255, 0.22);
  border-radius: 999px;
  color: var(--olive);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 6px 10px;
}

.cast-category-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.cast-category-card em {
  color: var(--white);
  font-style: normal;
  font-weight: 800;
}

.cast-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cast-quick-links a,
.cast-count {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(96, 239, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 8px 13px;
}

.cast-quick-links a:hover {
  border-color: rgba(25, 246, 255, 0.75);
  color: var(--olive);
  box-shadow: var(--cyan-glow);
}

.cast-section:nth-child(odd) {
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.96), rgba(10, 18, 34, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(255, 61, 242, 0.13), transparent 28vw);
}

.cast-section:nth-child(even) {
  background:
    linear-gradient(135deg, rgba(11, 16, 32, 0.92), rgba(5, 7, 13, 0.94)),
    radial-gradient(circle at 18% 28%, rgba(25, 246, 255, 0.12), transparent 28vw);
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 16px;
}

.cast-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(96, 239, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(25, 246, 255, 0.035)),
    rgba(5, 7, 13, 0.66);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cast-card:hover,
.cast-card.is-selected {
  border-color: rgba(25, 246, 255, 0.68);
  box-shadow: var(--cyan-glow), 0 20px 58px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.cast-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(145deg, #121a30, #070b12);
}

.cast-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.06) 54%, rgba(5, 7, 13, 0.42) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.cast-card__media img {
  filter: contrast(1.06) saturate(0.9) brightness(0.9);
  transition: filter 180ms ease, transform 180ms ease;
}

.cast-card:hover .cast-card__media img {
  filter: contrast(1.1) saturate(0.96) brightness(0.98);
  transform: scale(1.018);
}

.cast-card__fallback {
  display: grid;
  height: 100%;
  place-items: center;
  background:
    linear-gradient(140deg, rgba(255, 61, 242, 0.24), rgba(25, 246, 255, 0.3)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px),
    #09111f;
  color: rgba(244, 247, 255, 0.82);
  font-size: clamp(1.25rem, 2.4vw, 2.2rem);
  font-weight: 800;
  padding: 18px;
  text-align: center;
}

.cast-card__body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.cast-card__header {
  display: grid;
  gap: 8px;
}

.cast-card__header h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.25;
}

.cast-card__category {
  justify-self: start;
  border: 1px solid rgba(96, 239, 255, 0.22);
  border-radius: 999px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px;
}

.cast-card__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.cast-card__info div {
  min-width: 0;
  border: 1px solid rgba(96, 239, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px 10px;
}

.cast-card__info dt,
.cast-card__info dd {
  margin: 0;
}

.cast-card__info dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.cast-card__info dd {
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.cast-card__info div:last-child {
  grid-column: 1 / -1;
}

.cast-select {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(96, 239, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 12px;
}

.cast-select input {
  width: 20px;
  height: 20px;
  accent-color: var(--olive);
}

.cast-empty {
  margin: 0;
  border: 1px dashed rgba(96, 239, 255, 0.24);
  border-radius: 8px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 24px;
}

.cast-request-bar {
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(96, 239, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.98), rgba(16, 8, 28, 0.94)),
    radial-gradient(circle at 80% 36%, rgba(255, 61, 242, 0.2), transparent 28vw);
  box-shadow: inset 0 1px 0 rgba(96, 239, 255, 0.12);
  backdrop-filter: blur(16px);
}

.cast-request-bar h2 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.cast-request-bar p:not(.eyebrow) {
  max-width: 920px;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.cast-selection-dock {
  position: fixed;
  right: clamp(12px, 3vw, 32px);
  bottom: 18px;
  z-index: 70;
  width: min(620px, calc(100vw - 24px));
  border: 1px solid rgba(96, 239, 255, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.98), rgba(12, 17, 31, 0.96)),
    linear-gradient(90deg, rgba(25, 246, 255, 0.14), rgba(255, 61, 242, 0.12));
  box-shadow: var(--cyan-glow), 0 22px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.cast-selection-dock.is-hidden {
  display: none;
}

.cast-selection-dock__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.cast-selection-dock__copy {
  min-width: 0;
}

.cast-selection-dock__title {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.cast-selection-dock__summary {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cast-selection-dock__toggle,
.cast-selection-clear,
.cast-selection-group button,
.cast-selection-nav a {
  border: 1px solid rgba(96, 239, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.cast-selection-dock__toggle {
  min-height: 44px;
  padding: 8px 14px;
}

.cast-selection-dock__toggle:hover,
.cast-selection-dock__toggle:focus-visible,
.cast-selection-clear:hover,
.cast-selection-clear:focus-visible,
.cast-selection-group button:hover,
.cast-selection-group button:focus-visible,
.cast-selection-nav a:hover,
.cast-selection-nav a:focus-visible {
  border-color: rgba(25, 246, 255, 0.7);
  color: var(--olive);
  outline: none;
}

.cast-selection-panel {
  display: none;
  max-height: min(420px, 58vh);
  overflow: auto;
  border-top: 1px solid rgba(96, 239, 255, 0.18);
  padding: 12px;
}

.cast-selection-dock.is-open .cast-selection-panel {
  display: grid;
  gap: 12px;
}

.cast-selection-group {
  display: grid;
  gap: 8px;
}

.cast-selection-group > strong,
.cast-selection-nav span {
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 800;
}

.cast-selection-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cast-selection-group li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(96, 239, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 10px;
}

.cast-selection-group li span {
  overflow: hidden;
  color: var(--white);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cast-selection-group button {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.cast-selection-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}

.cast-selection-nav span {
  flex-basis: 100%;
}

.cast-selection-nav a {
  padding: 7px 10px;
  font-size: 0.8rem;
  line-height: 1.2;
}

.cast-selection-clear {
  justify-self: start;
  min-height: 40px;
  padding: 8px 14px;
}

.has-cast-selection .back-to-top {
  bottom: 104px;
}

.button.is-disabled {
  opacity: 0.48;
  pointer-events: none;
  box-shadow: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(5, 7, 13, 0.98), rgba(16, 8, 28, 0.94)),
    radial-gradient(circle at 80% 36%, rgba(255, 61, 242, 0.2), transparent 28vw);
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.contact-panel a {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(96, 239, 255, 0.26);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  direction: ltr;
  text-align: left;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.contact-panel a:hover {
  border-color: rgba(25, 246, 255, 0.7);
  color: var(--olive);
  box-shadow: var(--cyan-glow);
}

.contact-panel svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-panel span {
  min-width: 0;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(96, 239, 255, 0.16);
  background: #03050a;
  color: rgba(244, 247, 255, 0.62);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  inset-inline-start: clamp(14px, 3vw, 28px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(25, 246, 255, 0.58);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(25, 246, 255, 0.18), rgba(255, 61, 242, 0.26)),
    rgba(5, 7, 13, 0.86);
  color: var(--white);
  box-shadow: var(--cyan-glow), 0 14px 32px rgba(0, 0, 0, 0.36);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(25, 246, 255, 0.9);
  box-shadow: var(--cyan-glow), var(--magenta-glow);
  outline: 0;
  transform: translateY(-2px);
}

body.modal-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .cast-hero,
  .cast-category-hero,
  .intro-video-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 58vh;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .intro-video-copy {
    text-align: center;
  }

  .intro-video-frame {
    max-width: 360px;
  }

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

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

  .cast-request-bar {
    grid-template-columns: 1fr;
  }

  .cast-selection-dock__main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cast-selection-dock__main .button {
    grid-column: 1 / -1;
  }

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

  .details-grid .profile-details {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 15px 16px;
  }

  nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-copy,
  .section {
    padding-inline: 16px;
  }

  .cast-hero {
    min-height: auto;
    padding-inline: 16px;
  }

  .cast-overview,
  .cast-card__info {
    grid-template-columns: 1fr;
  }

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

  .cast-card {
    border-radius: 7px;
  }

  .cast-card:hover,
  .cast-card.is-selected {
    transform: none;
  }

  .cast-card__media {
    aspect-ratio: 1 / 1.18;
  }

  .cast-card__body {
    gap: 10px;
    padding: 10px;
  }

  .cast-card__header {
    gap: 6px;
  }

  .cast-card__header h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .cast-card__category {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .cast-card__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .cast-card__info div {
    border-radius: 5px;
    padding: 6px 7px;
  }

  .cast-card__info dt {
    font-size: 0.66rem;
  }

  .cast-card__info dd {
    font-size: 0.74rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .cast-select {
    min-height: 38px;
    gap: 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    padding: 8px;
  }

  .cast-select input {
    width: 17px;
    height: 17px;
  }

  .cast-category-hero {
    min-height: auto;
    padding-inline: 16px;
  }

  .cast-category-cards {
    grid-template-columns: 1fr;
  }

  body.has-cast-selection {
    padding-bottom: 158px;
  }

  .cast-selection-dock {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .cast-selection-dock__main {
    gap: 8px;
    padding: 10px;
  }

  .cast-selection-dock__summary {
    white-space: normal;
  }

  .cast-selection-dock__toggle,
  .cast-selection-dock__main .button {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .cast-selection-panel {
    max-height: 52vh;
    padding: 10px;
  }

  .has-cast-selection .back-to-top {
    bottom: 160px;
  }

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

  .shot {
    border-radius: 6px;
  }

  .shot img {
    padding: 6px;
  }

  .intro-video-frame {
    max-width: 320px;
  }

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

  .details-grid .profile-details {
    grid-column: auto;
  }

  .section-heading {
    display: block;
  }

  .work-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
  }

  .work-tab {
    min-height: 58px;
    min-width: 0;
    padding: 12px 10px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  footer {
    flex-direction: column;
  }
}
