/* ============================================================
   FILM + DOCUMENTARY pages — motion, cinema chrome, polish
   ============================================================ */

/* —— Animated film hero —— */
.cinema-hero {
  position: relative;
  min-height: min(88vh, 900px);
  min-height: min(88dvh, 900px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(0, 255, 200, 0.12);
}
.cinema-hero .ch-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cinema-hero .ch-slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: chKen 22s ease-in-out infinite;
  filter: brightness(0.42) saturate(0.95) contrast(1.05);
}
.cinema-hero .ch-slide:nth-child(1) { animation-delay: 0s; }
.cinema-hero .ch-slide:nth-child(2) { animation-delay: 7s; }
.cinema-hero .ch-slide:nth-child(3) { animation-delay: 14s; }
@keyframes chKen {
  0% { opacity: 0; transform: scale(1.08) translate(0, 0); }
  8% { opacity: 1; }
  30% { opacity: 1; transform: scale(1.14) translate(-1.5%, 1%); }
  38% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.08); }
}
.cinema-hero .ch-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 10%, rgba(0, 0, 0, 0.72) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, transparent 28%, transparent 55%, rgba(0, 0, 0, 0.92) 100%);
}
.cinema-hero .ch-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 200, 0.015) 2px,
    rgba(0, 255, 200, 0.015) 3px
  );
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: chScan 8s linear infinite;
}
@keyframes chScan {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}
.cinema-hero .ch-orbs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.cinema-hero .ch-orbs i {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.25);
  background: rgba(0, 8, 6, 0.45);
  display: grid;
  place-items: center;
  animation: chFloat 7s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0, 255, 160, 0.12);
}
.cinema-hero .ch-orbs i img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  opacity: 0.9;
}
.cinema-hero .ch-orbs i:nth-child(1) { left: 8%; top: 28%; animation-delay: 0s; }
.cinema-hero .ch-orbs i:nth-child(2) { right: 10%; top: 32%; animation-delay: 1.2s; }
.cinema-hero .ch-orbs i:nth-child(3) { left: 14%; bottom: 22%; animation-delay: 2s; }
.cinema-hero .ch-orbs i:nth-child(4) { right: 12%; bottom: 24%; animation-delay: 0.6s; }
@keyframes chFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.65; }
  50% { transform: translateY(-14px) scale(1.06); opacity: 1; }
}
.cinema-hero .ch-inner {
  position: relative;
  z-index: 4;
  padding: calc(var(--header) + 2.5rem) 1.25rem 3.5rem;
  max-width: 860px;
  animation: chIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes chIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.cinema-hero .ch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 200, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 10, 8, 0.55);
  margin-bottom: 1.1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cinema-hero .ch-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.5s ease-in-out infinite;
}
.cinema-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 0.96;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.65);
}
.cinema-hero h1 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 36px rgba(0, 255, 200, 0.4);
  display: inline-block;
}
.cinema-hero .ch-sub {
  margin: 1.15rem auto 0;
  max-width: 46ch;
  color: #b8c9c2;
  font-size: 1.05rem;
  line-height: 1.6;
}
.cinema-hero .btn-row {
  justify-content: center;
  margin-top: 1.6rem;
}

/* Live ticker under cinema hero */
.cinema-ticker {
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 200, 0.12);
  background: #040706;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cinema-ticker .track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.7rem 0;
  animation: tickerMove 36s linear infinite;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 255, 200, 0.55);
}
.cinema-ticker .track span::before {
  content: "◆";
  margin-right: 2.5rem;
  color: rgba(0, 255, 200, 0.3);
  font-size: 0.5rem;
}

/* Horizontal stills rail on film page */
.film-still-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.25rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
}
.film-still-rail::-webkit-scrollbar { display: none; }
.film-still-rail .fs-card {
  flex: 0 0 min(78vw, 300px);
  aspect-ratio: 16 / 10;
  scroll-snap-align: start;
  position: relative;
  border: 1px solid rgba(0, 255, 200, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: #0a0e0c;
  cursor: zoom-in;
  padding: 0;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.film-still-rail .fs-card:hover {
  border-color: rgba(0, 255, 200, 0.5);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 255, 160, 0.12);
  z-index: 2;
}
.film-still-rail .fs-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.9);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
  pointer-events: none;
}
.film-still-rail .fs-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1);
}
.film-still-rail .fs-card .fs-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 0.75rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8ffe8;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* Floating icon ring on film page sections */
.icon-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.icon-orbit .io {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.28);
  background: radial-gradient(circle at 40% 35%, rgba(0, 255, 200, 0.12), #060a08 70%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px rgba(0, 255, 160, 0.1);
  animation: ioPulse 4.5s ease-in-out infinite;
  transition: transform 0.35s, border-color 0.25s, box-shadow 0.35s;
}
.icon-orbit .io:nth-child(2) { animation-delay: 0.4s; }
.icon-orbit .io:nth-child(3) { animation-delay: 0.8s; }
.icon-orbit .io:nth-child(4) { animation-delay: 1.2s; }
.icon-orbit .io:nth-child(5) { animation-delay: 1.6s; }
.icon-orbit .io:hover {
  transform: scale(1.1) translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 255, 200, 0.3);
  animation: none;
}
.icon-orbit .io img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}
@keyframes ioPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 255, 160, 0.08); }
  50% { box-shadow: 0 0 28px rgba(0, 255, 200, 0.22); }
}

/* Theme cards with stronger motion */
.theme-card {
  position: relative;
  overflow: hidden;
}
.theme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(0, 255, 200, 0.08) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.theme-card:hover::after {
  transform: translateX(120%);
}
.theme-card .tc-icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.theme-card:hover .tc-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.25);
}

/* Stills grid cinema polish */
.stills-grid .still {
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
  border-color: rgba(0, 255, 200, 0.12);
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.stills-grid .still:hover {
  border-color: rgba(0, 255, 200, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 255, 160, 0.1);
}
.stills-grid .still figcaption {
  transition: color 0.25s;
}
.stills-grid .still:hover figcaption { color: var(--cyan); }

/* Credits glow tiles */
.film-credits > div {
  border-radius: 10px;
  border-color: rgba(0, 255, 200, 0.12);
  background: linear-gradient(165deg, rgba(0, 28, 22, 0.45), #080b0a 70%);
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.film-credits > div:hover {
  border-color: rgba(0, 255, 200, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(0, 255, 160, 0.1);
}

/* —— Documentaries hub —— */
.docs-hero {
  position: relative;
  min-height: 52vh;
  min-height: 52dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 200, 0.12);
}
.docs-hero .dh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.38) saturate(0.85);
  transform: scale(1.06);
  animation: dhDrift 28s ease-in-out infinite alternate;
}
@keyframes dhDrift {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, 1%); }
}
.docs-hero .dh-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(0, 255, 180, 0.08), transparent 60%);
}
.docs-hero .container {
  position: relative;
  z-index: 2;
  padding: calc(var(--header) + 2rem) 0 2.75rem;
}
.docs-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.98;
  animation: chIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.docs-hero h1 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 255, 200, 0.35);
}

/* Floating poster stack decoration */
.poster-float {
  position: absolute;
  right: max(4%, calc((100vw - var(--max)) / 2));
  bottom: 12%;
  width: min(280px, 32vw);
  height: 180px;
  z-index: 2;
  pointer-events: none;
  display: none;
}
@media (min-width: 980px) {
  .poster-float { display: block; }
}
.poster-float img {
  position: absolute;
  width: 70%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid rgba(0, 255, 200, 0.3);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  animation: pfBob 6s ease-in-out infinite;
}
.poster-float img:nth-child(1) {
  left: 0; top: 20%; transform: rotate(-8deg);
  animation-delay: 0s;
}
.poster-float img:nth-child(2) {
  left: 18%; top: 0; transform: rotate(2deg); z-index: 2;
  animation-delay: 0.8s;
}
.poster-float img:nth-child(3) {
  right: 0; top: 28%; transform: rotate(7deg);
  animation-delay: 1.4s;
}
@keyframes pfBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* Filter chips with icons */
.doc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}
.doc-filters button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 200, 0.18);
  background: rgba(0, 12, 10, 0.65);
  color: #8a9a94;
  min-height: 42px;
  transition: all 0.25s;
}
.doc-filters button img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.25);
  background: #050807;
  padding: 3px;
}
.doc-filters button:hover {
  color: #fff;
  border-color: rgba(0, 255, 200, 0.4);
}
.doc-filters button.on {
  color: #04120e;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}
.doc-filters button.on img {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.15);
}

/* Poster cards — stronger entrance */
.poster-grid .poster-card {
  animation: cardRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--si, 0) * 0.05s);
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.poster-card .pc-play {
  animation: playPulse 2.8s ease-in-out infinite;
}
@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 200, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(0, 255, 200, 0); }
}

/* Featured doc — cinema frame */
.featured-doc-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.featured-doc-card .fd-media .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.55);
  background: rgba(0, 8, 6, 0.75);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 1.1rem;
  z-index: 2;
  transition: background 0.25s, transform 0.3s, color 0.25s;
  animation: playPulse 2.8s ease-in-out infinite;
}
.featured-doc-card .fd-media .play::before { content: "▶"; margin-left: 3px; }
.featured-doc-card:hover .fd-media .play {
  background: var(--cyan);
  color: #000;
  transform: scale(1.08);
  animation: none;
}

/* —— Individual doc player page —— */
.doc-cinema {
  position: relative;
  padding: calc(var(--header) + 1.5rem) 0 0;
  overflow: hidden;
}
.doc-cinema .dc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) blur(12px) saturate(0.8);
  transform: scale(1.1);
}
.doc-cinema .dc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, #000 100%);
}
.doc-cinema .container { position: relative; z-index: 2; }
.doc-player-shell {
  border: 1px solid rgba(0, 255, 200, 0.22);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 255, 160, 0.08);
  margin-bottom: 1.75rem;
  animation: chIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.doc-player-shell .video-embed {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.doc-player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(0, 255, 200, 0.12);
  background: linear-gradient(180deg, rgba(0, 20, 16, 0.9), #060a08);
}
.doc-player-meta .dpm-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.3);
  display: grid;
  place-items: center;
  background: #050807;
}
.doc-player-meta .dpm-icon img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}
.doc-player-meta h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0;
  flex: 1 1 200px;
}
.doc-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.75rem;
  padding: 0 0 4rem;
}
.doc-layout .doc-main {
  min-width: 0;
}
.doc-layout .doc-side .aside-card {
  animation: cardRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.doc-related-posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.doc-related-posters a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, 0.14);
  margin: 0 !important;
  transition: border-color 0.25s, transform 0.3s;
}
.doc-related-posters a:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.doc-related-posters img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

/* Section entrance helpers for film/docs */
.fd-section {
  position: relative;
}
.fd-section[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fd-section[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .cinema-hero .ch-orbs { display: none; }
  .cinema-hero { min-height: 72vh; min-height: 72dvh; }
  .film-still-rail .fs-card { flex-basis: 82vw; }
}
@media (max-width: 640px) {
  .icon-orbit .io { width: 56px; height: 56px; }
  .cinema-hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .doc-filters button { font-size: 0.55rem; padding-right: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-hero .ch-slide,
  .cinema-hero .ch-scan,
  .cinema-hero .ch-orbs i,
  .docs-hero .dh-bg,
  .poster-float img,
  .poster-card .pc-play,
  .icon-orbit .io,
  .cinema-ticker .track {
    animation: none !important;
  }
  .cinema-hero .ch-slide:first-child { opacity: 1; transform: none; }
  .cinema-hero .ch-slide:not(:first-child) { display: none; }
}
@media (hover: none) {
  .film-still-rail .fs-card:hover,
  .stills-grid .still:hover,
  .theme-card:hover,
  .film-credits > div:hover {
    transform: none;
  }
}

/* ============================================================
   v2 polish — letterbox, story grid, bento, cast rail, player
   ============================================================ */

.ch-letterbox {
  position: absolute;
  left: 0; right: 0;
  height: clamp(28px, 5vh, 48px);
  z-index: 5;
  background: #000;
  pointer-events: none;
}
.ch-letterbox.top { top: 0; }
.ch-letterbox.bot { bottom: 0; }
.ch-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 120px 40px rgba(0, 0, 0, 0.65);
}
.cinema-hero .ch-slide:nth-child(4) { animation-delay: 16.5s; }
.cinema-hero .ch-scroll {
  position: absolute;
  bottom: calc(clamp(28px, 5vh, 48px) + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.35);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: rgba(0, 8, 6, 0.55);
  animation: chBounce 2.2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes chBounce {
  0%, 100% { translate: 0 0; opacity: 0.7; }
  50% { translate: 0 8px; opacity: 1; }
}

.film-story { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.film-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
.film-story-copy .display { margin-bottom: 0.85rem; }
.film-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 1.25rem;
}
.film-pills span {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 200, 0.22);
  color: var(--cyan-2);
  background: rgba(0, 255, 200, 0.05);
}
.film-mini-stats {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.film-mini-stats > div {
  min-width: 72px;
}
.film-mini-stats b {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: 0.04em;
}
.film-mini-stats span {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7a74;
}
.film-poster-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(0, 255, 200, 0.25);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 160, 0.1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.4s;
}
.film-poster-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 255, 200, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 48px rgba(0, 255, 200, 0.16);
}
.film-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.88);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
}
.film-poster-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) brightness(0.98);
}
.film-poster-card .fpc-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.88));
  pointer-events: none;
}
.film-poster-card .fpc-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  pointer-events: none;
}
.fpc-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.fpc-title {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.fpc-cta {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9adfc8;
  margin-top: 0.25rem;
}

.film-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.film-sec-hint {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 255, 200, 0.45);
  margin: 0;
}
.film-gallery-sec { padding-bottom: 1rem; }
.film-rail-wrap {
  position: relative;
  padding: 0 max(0.5rem, env(safe-area-inset-right)) 0 max(0.5rem, env(safe-area-inset-left));
}
.film-still-rail {
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  gap: 1rem;
}
.film-still-rail .fs-card {
  flex: 0 0 min(80vw, 380px);
  border-radius: 12px;
  border-color: rgba(0, 255, 200, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.film-still-rail .fs-card:first-child {
  flex-basis: min(86vw, 460px);
  border-color: rgba(0, 255, 200, 0.32);
}
.film-rail-nav {
  position: absolute;
  top: 42%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.4);
  background: rgba(0, 10, 8, 0.88);
  color: var(--cyan);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.film-rail-nav:hover {
  background: var(--cyan);
  color: #000;
  transform: scale(1.06);
}
.film-rail-nav.prev { left: max(0.5rem, calc((100vw - var(--max)) / 2 - 0.75rem)); }
.film-rail-nav.next { right: max(0.5rem, calc((100vw - var(--max)) / 2 - 0.75rem)); }
.film-rail-progress {
  height: 3px;
  width: min(var(--max), 92vw);
  margin: 0.35rem auto 0;
  background: rgba(0, 255, 200, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.film-rail-progress i {
  display: block;
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, var(--cyan), #9bffd9);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.5);
  border-radius: 3px;
  transition: width 0.12s linear, margin-left 0.12s linear;
}

/* Theme bento with image backgrounds */
.theme-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}
.theme-bento .tb {
  position: relative;
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, 0.16);
  background: #080b0a var(--bg) center/cover;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
}
.theme-bento .tb-lg {
  grid-row: span 2;
  min-height: 380px;
}
.theme-bento .tb-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}
.theme-bento .tb-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 0 10px rgba(0, 255, 200, 0.35));
}
.theme-bento h3 {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  margin: 0;
}
.theme-bento p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.88rem;
  color: #b0c0b8;
  line-height: 1.4;
  max-width: 32ch;
}
.theme-bento .tb:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 200, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 255, 160, 0.12);
}

/* Cast portrait rail */
.cast-portrait-rail {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cast-portrait-rail::-webkit-scrollbar { display: none; }
.cpr-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cpr-card:hover { transform: translateY(-5px); color: inherit; }
.cpr-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, rgba(0, 255, 200, 0.55), rgba(0, 80, 60, 0.2));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 22px rgba(0, 255, 160, 0.12);
}
.cpr-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #050807;
  display: block;
}
.cpr-card strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.cpr-card span {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-2);
}
.cpr-card:hover strong { color: var(--cyan); }

/* Highlight mosaic */
.highlight-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.75rem;
}
.highlight-mosaic .hm {
  position: relative;
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  background: #000;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.highlight-mosaic .hm-a { grid-row: span 2; min-height: 100%; }
.highlight-mosaic .hm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.92);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
}
.highlight-mosaic .hm span {
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0fff4;
  text-shadow: 0 2px 10px #000;
  z-index: 1;
}
.highlight-mosaic .hm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.75));
  pointer-events: none;
}
.highlight-mosaic .hm:hover {
  border-color: rgba(0, 255, 200, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 255, 160, 0.12);
}
.highlight-mosaic .hm:hover img {
  transform: scale(1.05);
  filter: brightness(0.98) saturate(1.05);
}

/* Press cards */
.press-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.press-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 22, 18, 0.5), #070b09);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
}
.press-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 200, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  color: inherit;
}
.press-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: brightness(0.88);
  transition: filter 0.35s, transform 0.5s;
}
.press-card:hover img { filter: brightness(1); transform: scale(1.03); }
.press-card div { padding: 0.85rem 0.9rem 1rem; }
.press-card em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-2);
  margin-bottom: 0.35rem;
}
.press-card strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  line-height: 1.15;
}

.film-credits-pro > div {
  min-height: 100px;
}

/* —— Docs page pro —— */
.docs-hero-pro {
  min-height: 58vh;
  min-height: 58dvh;
}
.docs-hero-pro .dh-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.docs-hero-pro .dh-slide {
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: chKen 24s ease-in-out infinite;
  filter: brightness(0.36) saturate(0.9);
}
.docs-hero-pro .dh-slide:nth-child(1) { animation-delay: 0s; }
.docs-hero-pro .dh-slide:nth-child(2) { animation-delay: 8s; }
.docs-hero-pro .dh-slide:nth-child(3) { animation-delay: 16s; }
.docs-hero-pro .dh-shade { z-index: 1; }
.docs-hero-pro .ch-vignette { z-index: 2; }
.docs-hero-pro .container { z-index: 3; }
.docs-hero-pro .ch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.docs-hero-pro .ch-badge i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.5s ease-in-out infinite;
}
.docs-hero-pro .dh-sub {
  max-width: 48ch;
  margin-top: 0.9rem;
  color: #b0c0b8;
  font-size: 1.05rem;
  line-height: 1.55;
}
.docs-body {
  padding: 2rem 0 4rem;
}

/* Featured cinema card */
.feat-cinema {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, 0.22);
  background: #060a08;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 36px rgba(0, 255, 160, 0.08);
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat-cinema:hover {
  border-color: rgba(0, 255, 200, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 44px rgba(0, 255, 200, 0.14);
  color: inherit;
}
.feat-cinema .fc-media {
  position: relative;
  min-height: 300px;
  background: #000;
}
.feat-cinema .fc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
}
.feat-cinema:hover .fc-media img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1.05);
}
.feat-cinema .fc-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.feat-cinema .fc-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 200, 0.55);
  background: rgba(0, 8, 6, 0.78);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 1.2rem;
  z-index: 2;
  transition: background 0.25s, color 0.25s, transform 0.3s;
  animation: playPulse 2.8s ease-in-out infinite;
}
.feat-cinema .fc-play::before { content: "▶"; margin-left: 3px; }
.feat-cinema:hover .fc-play {
  background: var(--cyan);
  color: #000;
  transform: scale(1.08);
  animation: none;
}
.feat-cinema .fc-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}
.feat-cinema .fc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-2);
}
.feat-cinema .fc-tag img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.feat-cinema h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0;
}
.feat-cinema p {
  color: #8a9a94;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.feat-cinema .fc-cta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 0.25rem;
}

/* Docs bento */
.docs-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.docs-bento .bento-hero {
  grid-row: span 2;
}
.docs-bento .poster-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.docs-bento .bento-hero .pc-media {
  flex: 1;
  min-height: 280px;
  aspect-ratio: auto;
}
.docs-bento .bento-side .pc-media {
  aspect-ratio: 16/9;
}
.poster-grid-pro .poster-card {
  border-radius: 12px;
}
.poster-card .pc-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 8, 6, 0.88);
  border: 1px solid rgba(0, 255, 200, 0.35);
  display: grid;
  place-items: center;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.poster-card .pc-badge img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.docs-cta-band {
  position: relative;
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, 0.18);
  min-height: 260px;
  display: grid;
  place-items: center;
}
.docs-cta-band .dcb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.85);
  transform: scale(1.05);
}
.docs-cta-band .dcb-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 20, 16, 0.55) 100%);
}
.docs-cta-band .dcb-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 640px;
}
.docs-cta-band .btn-row { justify-content: center; }

/* Doc player fixes — embeds must fill shell */
.doc-player-shell .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: none;
  border-radius: 0;
  background: #000;
  overflow: hidden;
}
.doc-player-shell .video-embed iframe,
.doc-player-shell .video-embed video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
}
.video-embed-fallback {
  display: grid;
  place-items: center;
  background: #050807;
}
.video-embed-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(0.3);
}
.video-embed-fallback .vef-msg {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}
.video-embed-fallback .vef-msg p {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a9a94;
  margin-bottom: 0.85rem;
}
.doc-player-meta .dpm-text { flex: 1 1 200px; min-width: 0; }
.doc-player-meta .dpm-text h1 { margin: 0 0 0.35rem; }

@media (max-width: 980px) {
  .film-story-grid { grid-template-columns: 1fr; }
  .theme-bento { grid-template-columns: 1fr 1fr; }
  .theme-bento .tb-lg { grid-row: auto; min-height: 220px; grid-column: span 2; }
  .highlight-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .highlight-mosaic .hm-a { grid-column: span 2; min-height: 220px; }
  .highlight-mosaic .hm { min-height: 160px; }
  .press-row { grid-template-columns: 1fr 1fr; }
  .feat-cinema { grid-template-columns: 1fr; }
  .feat-cinema .fc-gradient { background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7)); }
  .docs-bento { grid-template-columns: 1fr; }
  .docs-bento .bento-hero { grid-row: auto; }
  .film-rail-nav { display: none; }
}
@media (max-width: 640px) {
  .theme-bento { grid-template-columns: 1fr; }
  .theme-bento .tb-lg { grid-column: auto; }
  .press-row { grid-template-columns: 1fr; }
  .highlight-mosaic { grid-template-columns: 1fr; }
  .highlight-mosaic .hm-a { grid-column: auto; }
  .cpr-card { flex-basis: 120px; }
  .cpr-ring { width: 100px; height: 100px; }
  .ch-letterbox { height: 22px; }
  .cinema-hero .ch-scroll { bottom: 2rem; }
}

/* —— page-film / page-docs final polish —— */
body.page-film .sec.fd-section,
body.page-docs .fd-section {
  padding-top: clamp(2.25rem, 4.5vw, 3.25rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}
body.page-film .sec.fd-section + .sec.fd-section {
  border-top: 1px solid rgba(0, 255, 200, 0.06);
}
body.page-film {
  background: #000;
}
body.page-film .film-story {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(0, 60, 45, 0.12), transparent 55%),
    #000;
}
body.page-film .film-gallery-sec {
  background:
    linear-gradient(180deg, #000 0%, #040807 40%, #000 100%);
  padding-bottom: 2.5rem;
}
body.page-film .display {
  text-shadow: 0 0 40px rgba(0, 255, 200, 0.06);
}
body.page-film .body-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #9aaba4;
  max-width: 48ch;
}
body.page-docs .docs-body {
  padding-top: 2.25rem;
}
body.page-docs .feat-cinema,
body.page-docs .docs-bento .poster-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.3s;
}

/* Ensure iframe fills after play — critical for YouTube */
.yt-player.is-playing {
  background: #000;
}
.yt-player.is-playing iframe.yt-frame,
.yt-player.is-playing video.yt-frame {
  z-index: 5;
}

/* Doc cinema section polish */
.doc-cinema {
  padding-bottom: 1.5rem;
}
.doc-cinema .doc-player-shell {
  max-width: 100%;
}
.doc-layout {
  gap: 2rem;
}
.doc-main .lead-p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #c5d5ce;
  border-left: 2px solid rgba(0, 255, 200, 0.35);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}
