/* Film pages share the portfolio palette without changing other routes. */
.film-library main,
.watch-page main { min-height: 65vh; }
.film-library main,
.watch-page main { font-size: 16px; line-height: 1.65; }
.film-library main *,
.watch-page main * { min-width: 0; }
.film-library main a,
.watch-page main a { overflow-wrap: anywhere; }
.film-library .eyebrow,
.watch-page .eyebrow { font-size: 14px; letter-spacing: .08em; }
.film-library .film-library-hero { background: radial-gradient(ellipse at 80% -20%, #183a48, transparent 65%), #0c1521; border-bottom: 1px solid var(--line); }
.film-library .film-library-hero > .wrap { padding-block: clamp(38px, 6vw, 72px); }
.film-library .film-library-hero h1,
.watch-page .watch-hero h1 { color: var(--text); font-size: clamp(32px, 4.8vw, 64px); font-weight: 620; letter-spacing: -.05em; line-height: 1.08; margin: 14px 0 18px; max-width: 20ch; text-wrap: balance; }
.film-library .film-library-intro { color: #bdcbd9; font-size: 18px; line-height: 1.65; max-width: 66ch; }
.film-library .film-library-navigation,
.watch-page .watch-player-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.film-library .film-library-navigation a,
.watch-page .watch-player-actions a { align-items: center; color: #9de2e4; display: inline-flex; font-size: 16px; font-weight: 600; min-height: 44px; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; }
.film-library .film-library-navigation a:focus-visible,
.watch-page .watch-player-actions a:focus-visible { outline: 2px solid #9de2e4; outline-offset: 4px; }
.film-library .film-library-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 42px 66px; }
.film-library .film-library-card { background: linear-gradient(145deg, #132331, #101924 70%); border: 1px solid #324458; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.film-library .film-library-image { aspect-ratio: 16 / 9; background: #050a10; display: block; overflow: hidden; }
.film-library .film-library-image img { height: 100%; object-fit: cover; width: 100%; }
.film-library .film-library-card-copy { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.film-library .film-library-category { color: #8edbd0; font-size: 14px; font-weight: 600; letter-spacing: .035em; }
.film-library .film-library-card h2 { font-size: clamp(23px, 2.2vw, 29px); font-weight: 620; letter-spacing: -.035em; line-height: 1.2; margin: 12px 0; }
.film-library .film-library-card h2 a { display: inline-block; min-height: 44px; padding-block: 4px; }
.film-library .film-library-card-copy > p:not(.film-library-category) { color: #bdcbd9; font-size: 16px; line-height: 1.7; }
.film-library .film-library-details { color: #a9bdcf; display: flex; flex-wrap: wrap; font-size: 14px; gap: 6px 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #324458; }
.film-library .film-page-link { align-items: center; align-self: flex-start; color: #9de2e4; display: inline-flex; font-size: 16px; font-weight: 650; margin-top: auto; min-height: 44px; padding-top: 17px; text-decoration: underline; text-decoration-color: #5b8b99; text-underline-offset: 5px; }
.film-library .film-library-card a:hover { color: #baf4eb; }

.watch-page .watch-hero { padding-block: 25px 24px; }
.watch-page .watch-back { margin-bottom: 10px; }
.watch-page .watch-back a,
.watch-page a.watch-back { align-items: center; color: #9fc9de; display: inline-flex; font-size: 14px; min-height: 44px; padding-block: 8px; }
.watch-page .watch-hero h1 { font-size: clamp(30px, 4.1vw, 54px); margin-block: 10px 13px; max-width: 25ch; }
.watch-page .watch-intro { color: #c2d0dc; font-size: 16px; line-height: 1.65; max-width: 78ch; }
.watch-page .watch-stage { color: #9de2e4; font-size: 14px; font-weight: 600; margin-top: 14px; }
.watch-page .watch-video-section { padding-bottom: 28px; }
.watch-page .watch-player { background: #03070c; border: 1px solid #38536a; border-radius: 10px; margin: 0; overflow: hidden; }
.watch-page .watch-player video { aspect-ratio: 16 / 9; background: #03070c; display: block; height: auto; margin-inline: auto; max-height: 70dvh; object-fit: contain; width: 100%; }
.watch-page .watch-player.is-portrait { margin-inline: auto; max-width: 360px; }
.watch-page .watch-player.is-portrait video { aspect-ratio: 9 / 16; max-height: 68dvh; width: min(100%, 38.25dvh); }
.watch-page .watch-video-caption { color: #acbfd0; font-size: 14px; line-height: 1.6; margin-top: 13px; }
.watch-page .watch-context { border-block: 1px solid #2d4355; display: grid; gap: clamp(28px, 5vw, 70px); grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-block: 35px; }
.watch-page .watch-context h2,
.watch-page .watch-evidence h2,
.watch-page .watch-transcript h2,
.watch-page .watch-translations h2,
:is(.watch-page, .film-library) .watch-contact h2 { font-size: clamp(25px, 3vw, 37px); font-weight: 610; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 17px; }
.watch-page .watch-transcript h2 { scroll-margin-top: 155px; }
.watch-page .watch-context h3 { color: #e3edf4; font-size: 19px; font-weight: 600; line-height: 1.4; margin-block: 22px 10px; }
.watch-page .watch-context p,
.watch-page .watch-context li { color: #bdcbd9; font-size: 16px; line-height: 1.75; }
.watch-page .watch-context p + p { margin-top: 15px; }
.watch-page .watch-context ul { display: grid; gap: 12px; margin: 14px 0 0; padding-left: 21px; }
.watch-page .watch-limits { align-self: start; background: #12232e; border-left: 3px solid #64c5bd; border-radius: 0 8px 8px 0; padding: 24px; }
.watch-page .watch-limits h2 { font-size: 24px; }
.watch-page .watch-evidence { padding-block: 38px; }
.watch-page .watch-evidence > p { color: #bdcbd9; font-size: 16px; max-width: 78ch; }
.watch-page .watch-sources { border-top: 1px solid #2d4355; margin: 24px 0 0; padding-left: 25px; }
.watch-page .watch-sources li { border-bottom: 1px solid #2d4355; color: #8edbd0; padding: 19px 0 21px 7px; }
.watch-page .watch-sources h3 { font-size: 18px; font-weight: 600; line-height: 1.45; }
.watch-page .watch-sources h3 a { color: #dfebf3; display: inline-block; min-height: 44px; padding-block: 5px; text-decoration: underline; text-decoration-color: #587b91; text-underline-offset: 5px; }
.watch-page .watch-sources h3 a:hover { color: #a4e9e2; }
.watch-page .watch-sources p { color: #b7c7d5; font-size: 16px; line-height: 1.7; margin-top: 9px; max-width: 95ch; }
.watch-page .watch-sources .source-citation,
.watch-page .watch-sources .watch-source-citation,
.watch-page .watch-sources .watch-citation { color: #9eb3c6; font-size: 14px; }
.watch-page .watch-related { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.watch-page .watch-related a { align-items: center; color: #9de2e4; display: inline-flex; font-size: 16px; font-weight: 600; min-height: 44px; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; }
.watch-page .watch-transcript { padding-block: 0 42px; }
.watch-page .watch-transcript details { border: 1px solid #38536a; border-radius: 8px; padding: 6px 22px; }
.watch-page .watch-transcript summary { align-content: center; color: #dce9f3; cursor: pointer; font-size: 16px; font-weight: 600; min-height: 48px; padding-block: 12px; }
.watch-page .watch-transcript p { color: #bdcbd9; font-size: 16px; line-height: 1.8; margin-block: 14px 18px; max-width: 88ch; }
.watch-page .watch-transcript-copy { border-top: 1px solid #2d4355; margin-top: 6px; padding-block: 5px 8px; }
.watch-page .watch-translations { padding-block: 0 42px; }
.watch-page .watch-translation-list { display: grid; gap: 14px; }
.watch-page .watch-translations details { border: 1px solid #38536a; border-radius: 8px; padding: 6px 22px; }
.watch-page .watch-translations summary { align-content: center; color: #dce9f3; cursor: pointer; font-size: 16px; font-weight: 600; min-height: 48px; padding-block: 12px; }
.watch-page .watch-translation-copy { border-top: 1px solid #2d4355; margin-top: 6px; padding-block: 5px 8px; }
.watch-page .watch-translation-copy p { color: #bdcbd9; font-size: 16px; line-height: 1.8; margin-block: 14px 18px; max-width: 88ch; }
:is(.watch-page, .film-library) .watch-contact { background: linear-gradient(120deg, #142d38, #101e2d); border-block: 1px solid #38536a; padding-block: 38px 43px; }
:is(.watch-page, .film-library) .watch-contact p { color: #c0d0dd; font-size: 16px; line-height: 1.7; max-width: 72ch; }
:is(.watch-page, .film-library) .watch-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
:is(.watch-page, .film-library) .watch-contact-actions a { align-items: center; border: 1px solid #6a879b; border-radius: 6px; color: #e9f3f8; display: inline-flex; font-size: 14px; font-weight: 650; justify-content: center; min-height: 46px; padding: 10px 17px; }
:is(.watch-page, .film-library) .watch-contact-actions a:first-child { background: #9de2e4; border-color: #9de2e4; color: #081c28; }
:is(.watch-page, .film-library) .watch-contact-actions a:hover { border-color: #caf5f0; }
.film-library footer,
.watch-page footer { border-top: 1px solid #293d50; }
.film-library footer .footer-inner a,
.watch-page footer .footer-inner a { align-items: center; display: inline-flex; font-size: 14px; min-height: 44px; }
.film-library footer .footer-inner,
.watch-page footer .footer-inner { font-size: 14px; }

@media (max-width: 1000px) {
  .film-library .film-library-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .film-library .film-library-hero > .wrap { padding-block: 30px 34px; }
  .film-library .film-library-intro { font-size: 16px; }
  .film-library .film-library-grid { grid-template-columns: minmax(0, 1fr); padding-block: 28px 42px; }
  .film-library .film-library-card-copy { padding: 22px; }
  .watch-page .watch-hero { padding-block: 17px 20px; }
  .watch-page .watch-back { margin-bottom: 4px; }
  .watch-page .watch-hero h1 { max-width: none; }
  .watch-page .watch-video-section { padding-bottom: 24px; }
  .watch-page .watch-context { gap: 28px; grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
  .watch-page .watch-limits { padding: 21px; }
  .watch-page .watch-evidence { padding-block: 30px; }
  .watch-page .watch-sources { padding-left: 21px; }
  .watch-page .watch-sources li { padding-left: 3px; }
  .watch-page .watch-transcript { padding-bottom: 30px; }
  .watch-page .watch-transcript details { padding-inline: 17px; }
  .watch-page .watch-translations { padding-bottom: 30px; }
  .watch-page .watch-translations details { padding-inline: 17px; }
  :is(.watch-page, .film-library) .watch-contact { padding-block: 30px 34px; }
}
@media (max-width: 380px) {
  .film-library .film-library-card-copy { padding: 19px; }
  :is(.watch-page, .film-library) .watch-contact-actions { align-items: stretch; flex-direction: column; }
}
