/* ============================================
   Process cinema — scroll-cut film timeline
   ============================================ */

body.has-prc-cinema {
  background: #050506;
  color: #f3eee6;
}

body.has-prc-cinema .page-hero-bg,
body.has-prc-cinema .hero-bg,
body.has-prc-cinema .hero-grid,
body.has-prc-cinema .hero-glow {
  display: none !important;
}

.prc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f6f1e8;
}

.prc-hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #000;
}

.prc-hero-bloom {
  position: absolute;
  inset: -16%;
  background: center / cover no-repeat url('/assets/cinema/process/hero.jpg?v=fast');
  filter: blur(48px) saturate(1.15) brightness(0.4);
  opacity: 0.85;
}

.prc-hero-stage.is-live .prc-hero-bloom {
  opacity: 0;
}

.prc-hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.1) brightness(0.88);
  display: block;
}

.prc-hero-loop,
.prc-hero-stage .prc-seam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.1) brightness(0.88);
  transition: opacity 0.5s ease;
}

.prc-hero-stage.is-live .prc-hero-loop.is-seam-live,
.prc-hero-stage.is-live .prc-seam.is-seam-live {
  opacity: 1;
}

.prc-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 36%, rgba(0, 0, 0, 0.7) 100%);
}

.prc-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 72% 68% at 50% 46%, transparent 22%, rgba(0, 0, 0, 0.72) 100%);
}

.prc-bars {
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(26px, 6vh, 64px);
  background: #000;
  z-index: 2;
}

.prc-bars-top { top: 0; }
.prc-bars-bot { bottom: 0; }

.prc-hero-copy {
  position: relative;
  z-index: 3;
  padding: 0 0 clamp(4.5rem, 10vh, 7rem);
  max-width: min(42rem, 92vw);
}

.prc-hero .section-eyebrow,
.prc-act-kicker,
.prc-titles-kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(237, 210, 150, 0.86);
}

.prc-hero .section-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #f7f2ea;
  max-width: 12ch;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.prc-hero .section-desc {
  margin-top: 1.1rem;
  max-width: 34rem;
  color: rgba(243, 238, 230, 0.78);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.prc-hero-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  color: rgba(243, 238, 230, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}

.prc-hero-cue::before {
  content: "";
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(180deg, rgba(237, 210, 150, 0.9), transparent);
}

/* ---- Pinned film strip ---- */

.prc-strip {
  position: relative;
  height: 400vh;
  background: #000;
  z-index: 3;
}

.prc-strip-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.prc-strip-pin::before,
.prc-strip-pin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(26px, 6vh, 56px);
  background: #000;
  z-index: 5;
  pointer-events: none;
}

.prc-strip-pin::before { top: 0; }
.prc-strip-pin::after { bottom: 0; }

.prc-track {
  display: flex;
  width: 400%;
  height: 100%;
  will-change: transform;
}

.prc-act {
  position: relative;
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  overflow: hidden;
}

.prc-act-media {
  position: absolute;
  inset: 0;
  background: #000;
}

.prc-act-media video,
.prc-act-poster,
.prc-act-media .prc-seam {
  position: absolute;
  inset: -6% -4%;
  width: 108%;
  height: 112%;
  object-fit: cover;
  display: block;
}

.prc-act-media video,
.prc-act-media .prc-seam {
  opacity: 0;
  filter: saturate(1.04) contrast(1.08) brightness(0.78);
  transform: scale(1.06);
}

.prc-act.is-on .prc-act-media video.is-seam-live,
.prc-act.is-on .prc-act-media .prc-seam.is-seam-live {
  opacity: 1;
}

.prc-act-gate {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 28%, rgba(0, 0, 0, 0.55) 100%);
}

.prc-act-copy {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(5rem, 11vh, 7.5rem) clamp(2.6rem, 7vw, 6.5rem) clamp(3rem, 7.5vh, 4.6rem);
  max-width: min(42rem, 92vw);
  color: #f6f1e8;
}

.prc-act-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0.25rem 0 0.7rem;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.prc-act-copy > p {
  color: rgba(243, 238, 230, 0.78);
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.55;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.prc-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  margin: 1.15rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(237, 210, 150, 0.22);
  max-width: 34rem;
}

.prc-meta dt {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 210, 150, 0.7);
}

.prc-meta dd {
  margin: 0.28rem 0 0;
  color: #f6f1e8;
  font-size: 0.92rem;
}

.prc-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0;
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.prc-credits li {
  margin: 0;
  padding: 0;
  color: rgba(237, 210, 150, 0.88);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.prc-credits li:not(:last-child)::after {
  content: "·";
  margin: 0 0.75rem;
  color: rgba(243, 238, 230, 0.28);
  letter-spacing: 0;
}

.prc-sprocket {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  z-index: 6;
  pointer-events: none;
  background-color: #050505;
  background-image: radial-gradient(ellipse 5px 8px at 50% 10px, #1a1a1a 0 5px, transparent 6px);
  background-size: 100% 26px;
}

.prc-sprocket--l { left: 0; }
.prc-sprocket--r { right: 0; }

.prc-tc,
.prc-act-mark {
  position: absolute;
  z-index: 7;
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(237, 210, 150, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.prc-tc {
  top: clamp(3.6rem, 8vh, 5.4rem);
  right: 2.6rem;
}

.prc-act-mark {
  top: clamp(3.6rem, 8vh, 5.4rem);
  left: 2.6rem;
}

.prc-cut {
  display: none;
}

.prc-titles {
  position: relative;
  z-index: 3;
  background: #070708;
  padding: clamp(4.5rem, 10vh, 7.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.prc-titles-inner {
  max-width: 44rem;
}

.prc-titles h2,
body.has-prc-cinema .section-title,
body.has-prc-cinema .faq-q {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  color: #f6f1e8;
}

.prc-titles h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.85rem;
}

.prc-cast {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(237, 210, 150, 0.22);
}

.prc-cast li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prc-cast-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: #f6f1e8;
  letter-spacing: -0.01em;
}

.prc-cast-role {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 210, 150, 0.78);
  align-self: center;
  max-width: 28rem;
  text-align: right;
}

body.has-prc-cinema .page-content,
body.has-prc-cinema .prc-faq {
  background: #070708;
}

body.has-prc-cinema .faq-a,
body.has-prc-cinema .section-desc {
  color: rgba(243, 238, 230, 0.7);
}

body.has-prc-cinema .cta-banner {
  margin-top: 3.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.has-prc-cinema .cta-banner h2 {
  color: #f6f1e8;
}

body.has-prc-cinema .cta-banner p {
  color: rgba(243, 238, 230, 0.7);
}

.prc-loop::-webkit-media-controls,
.prc-loop::-webkit-media-controls-start-playback-button,
.prc-loop::-webkit-media-controls-overlay-play-button,
.prc-hero-loop::-webkit-media-controls,
.prc-hero-loop::-webkit-media-controls-overlay-play-button,
.prc-seam::-webkit-media-controls,
.prc-seam::-webkit-media-controls-overlay-play-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .prc-strip {
    height: auto;
  }

  .prc-strip-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .prc-track {
    display: block;
    width: 100%;
    transform: none !important;
  }

  .prc-act {
    width: 100%;
    flex: none;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .prc-sprocket,
  .prc-tc,
  .prc-act-mark {
    display: none;
  }

  .prc-act-copy {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .prc-meta {
    grid-template-columns: 1fr;
  }

  .prc-hero .section-title {
    max-width: none;
  }

  .prc-cast-role {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prc-hero-loop,
  .prc-seam,
  .prc-act-media video {
    display: none;
  }

  .prc-hero-bloom,
  .prc-hero-still,
  .prc-act-poster {
    opacity: 1 !important;
  }

  .prc-strip {
    height: auto;
  }

  .prc-strip-pin {
    position: relative;
    height: auto;
  }

  .prc-track {
    display: block;
    width: 100%;
    transform: none !important;
  }

  .prc-act {
    width: 100%;
    min-height: 100vh;
  }
}
