/* A single film frame anchors each introduction. */
.shot-study, .product-lead {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.shot-intro h2, .product-lead h1 { margin: 20px 0; }
.shot-intro > p:not(.eyebrow), .product-lead > div > p:not(.eyebrow) {
  max-width: 410px;
  color: var(--copy);
  font-size: 17px;
}
.shot-intro .text-action, .study-link { margin-top: 24px; }
.shot-view { min-width: 0; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--surface); }
.shot-caption, .product-lead figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}
.sr-study, .shot-view input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.shot-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0b0d0e; }
.shot-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; opacity: 0; object-fit: contain; }
#shot-script:checked ~ .shot-frame .shot-script,
#shot-board:checked ~ .shot-frame .shot-board,
#shot-final:checked ~ .shot-frame .shot-final { visibility: visible; opacity: 1; }
.shot-script, .script-excerpt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  background: var(--paper);
  color: #262422;
  font: clamp(13px, 1.23vw, 17px)/1.5 'Courier New', monospace;
  padding: clamp(14px, 4vw, 64px);
}
.script-excerpt { min-height: 230px; }
.scene-slug { font-weight: 700; }
.shot-labels { display: flex; border-top: 1px solid var(--line); }
.shot-labels label {
  flex: 1; text-align: center; cursor: pointer; padding: 13px 4px;
  font-size: 14px; color: var(--copy); border-bottom: 2px solid transparent;
}
#shot-script:checked ~ .shot-labels [for="shot-script"],
#shot-board:checked ~ .shot-labels [for="shot-board"],
#shot-final:checked ~ .shot-labels [for="shot-final"] { border-color: var(--accent); color: var(--paper); }
#shot-script:focus-visible ~ .shot-labels [for="shot-script"],
#shot-board:focus-visible ~ .shot-labels [for="shot-board"],
#shot-final:focus-visible ~ .shot-labels [for="shot-final"] { outline: 2px solid var(--accent); outline-offset: -4px; }
.product-lead h1, .film-intro h1 { font: 600 clamp(54px, 6vw, 92px)/1.01 var(--display); }
.product-lead img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-lead figcaption { padding-inline: 0; flex-wrap: wrap; }
.product-lead nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.product-lead nav { margin-top: 28px; }
.product-lead nav a { color: var(--copy); font-size: 14px; border-bottom: 1px solid var(--line); padding-block: 6px; }
.product-lead nav a:hover { color: var(--paper); border-color: var(--accent); }

.film-intro { padding-top: clamp(40px, 5vw, 80px); }
#film .media-status:empty { display: none; }
@media (prefers-reduced-motion: no-preference) { .shot-frame > * { transition: opacity .32s ease; } }
@media (max-width: 760px) {
  .shot-study, .product-lead { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shot-frame { min-height: 205px; }

}

#stager .capture-tile { display: flex; flex-direction: column; }
#stager .capture-label {
  order: -1;
  align-self: stretch;
  padding: 0 0 9px;
  min-height: 32px;
  color: var(--paper);
  font-size: 14px;
}
#stager .blueprint-inspect { margin-top: 16px; font-size: 13px; }

.stager-walkthrough { margin-top: 24px; border-block: 1px solid var(--line); }
.stager-walkthrough > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; list-style: none; cursor: pointer; font-weight: 600;
}
.stager-walkthrough > summary::-webkit-details-marker { display: none; }
.walkthrough-chevron { color: var(--accent); }
.stager-walkthrough[open] .walkthrough-chevron { transform: rotate(180deg); }
.stager-walkthrough .bpf { padding-block: 16px 0; border: 0; }
.stager-walkthrough .bpf > .shell { width: 100%; }
.stager-walkthrough .walkthrough-close { margin: 12px 0 20px; }

/* Editorial handoff */
#handoff { padding-block: clamp(32px, 6svh, 76px); }
.handoff-layout {
  display: grid;
  grid-template-columns: minmax(245px, .85fr) minmax(0, 1.85fr);
  grid-template-areas: "intro monitor" "delivery monitor";
  gap: clamp(18px, 3.5svh, 36px) clamp(32px, 5vw, 80px);
  align-content: center;
}
.handoff-intro { grid-area: intro; align-self: end; }
.handoff-intro h2 { font-size: clamp(38px, 3.6vw, 60px); line-height: 1.02; margin: 16px 0; }
.handoff-intro > p:last-child { max-width: 38ch; color: var(--copy); line-height: 1.6; }
.handoff-monitor { grid-area: monitor; align-self: center; justify-self: end; margin: 0; width: min(100%, 111svh); }
.handoff-monitor button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--paper); text-align: left; }
.handoff-monitor img { display: block; width: 100%; height: auto; }
.handoff-monitor-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 13px; }
.handoff-monitor-caption > span:last-child { color: var(--accent); }
.handoff-delivery { grid-area: delivery; align-self: start; }
.handoff-delivery dl { margin: 0; }
.handoff-delivery dl > div { padding: 9px 0; border-top: 1px solid var(--line); }
.handoff-delivery dt { font-weight: 600; font-size: 14px; }
.handoff-delivery dd { margin: 2px 0 0; color: var(--copy); font-size: 14px; }
.handoff-delivery p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.handoff-delivery a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .handoff-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "monitor" "delivery"; gap: 22px; }
  .handoff-monitor { width: 100%; }
  .handoff-intro h2 { margin: 10px 0; }
}

/* Keep the full screening and its making-of link in the same view. */
.home-screening {
  padding-block: clamp(16px, 2.7svh, 32px);
  max-width: clamp(360px, calc(177.78svh - 620px), 1320px);
}
.home-screening .section-head {
  margin-bottom: clamp(14px, 2svh, 22px);
  gap: clamp(20px, 4vw, 68px);
}
.home-screening .section-head .eyebrow { margin-bottom: 8px; }
.home-screening .section-head h2 { font-size: clamp(38px, 5.8svh, 64px); line-height: 1.05; }
.home-screening .study-link {
  margin-top: 12px;
  padding: 9px 16px;
  min-height: 42px;
  border: 1px solid #f28a185e;
  border-radius: 5px;
  background: #f28a180a;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
}
.home-screening .study-link > span { color: var(--accent); }
.home-screening .study-link:is(:hover, :focus-visible) { border-color: var(--accent); background: #f28a1812; }
@media (max-width: 820px) {
  .home-screening .section-head { gap: 10px; }
  .home-screening .section-intro { justify-self: start; }
  .home-screening .film-stage { margin-inline: 0; }
}
