/* The film leads into the paper through normal page scrolling. */
:root { --film-opacity: 1; --paper-opacity: 1; --film-scale: 1; }
body .site-header {
  position: fixed; inset: 16px 24px auto; z-index: 30; width: auto;
  max-width: 1320px; margin-inline: auto; border: 1px solid rgb(29 39 54 / 9%);
  border-radius: 16px; background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 24px rgb(29 39 54 / 5%); backdrop-filter: blur(20px);
  transition: background .25s, border-color .25s, color .25s, transform .2s, opacity .2s;
}
body .site-header.nav-hidden { transform: translateY(calc(-100% - 28px)); opacity: 0; pointer-events: none; }
.nav-reveal { display: none; }
@media (hover: none), (pointer: coarse), (max-width: 1000px) {
  body.nav-reading .site-header.nav-hidden + .nav-reveal { display: block; position: fixed; top: 12px; right: 14px; z-index: 30; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 24px; background: rgb(255 255 255 / 94%); color: var(--blue); box-shadow: 0 3px 16px #15243712; font: inherit; font-size: 13px; cursor: pointer; }
}
body .site-header .nav-wrap { width: auto; max-width: none; height: 58px; padding: 0 18px; gap: 28px; }
body .site-header .wordmark { display: block; font-size: 17px; letter-spacing: -.045em; color: var(--ink); }
body .site-header .wordmark > span { color: var(--blue); }
body .site-header #main-nav { gap: 3px; }
body .site-header #main-nav a { font-size: 13px; font-weight: 500; border-radius: 8px; padding: 9px 10px; color: var(--body); white-space: nowrap; }
body .site-header #main-nav a:hover { background: #f1f4f7; color: var(--ink); }
body .site-header #main-nav a.current { color: var(--blue); background: var(--blue-soft); }
body .site-header .menu-toggle { min-height: 44px; color: inherit; }
body.film-in-view .site-header { background: rgb(16 22 31 / 72%); border-color: rgb(255 255 255 / 13%); color: #fff; box-shadow: none; }
body.film-in-view .site-header .wordmark { color: #fff; }
body.film-in-view .site-header .wordmark > span { color: #9bc5e9; }
body.film-in-view .site-header #main-nav a { color: #c2ccd9; }
body.film-in-view .site-header #main-nav a:hover,
body.film-in-view .site-header #main-nav a.current { color: #fff; background: rgb(255 255 255 / 10%); }
.film-opening { height: 100svh; position: relative; }
.film-stage { position: absolute; inset: 0; height: 100svh; background: #0d121b; padding: 96px 28px 28px; display: flex; align-items: center; justify-content: center; color: #fff; }
.film-content { width: min(100%, calc((100svh - 204px) * 16 / 9)); }
.film-player { position: relative; }
.film-player > video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 8px; background: #070b12; }
.film-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #ffffff60; border-radius: 32px; background: #101820e8; color: #fff; padding: 16px 24px; font: inherit; font-size: 16px; cursor: pointer; white-space: nowrap; }
.film-start[hidden] { display: none; }
#hero-video::-webkit-media-controls-timeline { display: none; }
.film-scrubber { display: flex; align-items: center; gap: 16px; padding-top: 10px; }
.film-seek { --seek-progress: 0%; flex: 1; min-width: 0; height: 28px; margin: 0; appearance: none; cursor: pointer; background: transparent; }
.film-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #b7d8f4 var(--seek-progress), #53606f var(--seek-progress)); }
.film-seek::-webkit-slider-thumb { appearance: none; height: 14px; width: 14px; border-radius: 50%; margin-top: -5px; background: #fff; box-shadow: 0 0 0 2px #101820; }
.film-seek::-moz-range-track { height: 4px; border-radius: 4px; background: #53606f; }
.film-seek::-moz-range-progress { height: 4px; background: #b7d8f4; }
.film-seek::-moz-range-thumb { height: 14px; width: 14px; border: 0; border-radius: 50%; background: #fff; }
.film-time { flex: none; color: #c2ccd9; font-size: 12px; font-variant-numeric: tabular-nums; }
.film-meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 18px; font-size: 12px; line-height: 1.5; color: #e6edf5; }
.film-duration { color: #8493a7; margin-left: 10px; font-variant-numeric: tabular-nums; }
.film-explore { color: #dbe7f4; display: inline-flex; gap: 16px; align-items: center; min-height: 44px; }
.film-explore > span { font-size: 18px; }
.film-sound { justify-self: end; display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid #455060; border-radius: 7px; color: #e6edf5; background: transparent; font: inherit; cursor: pointer; }
.film-sound:hover { border-color: #a7bbd1; background: #1f2b3b; }
body .hero { position: relative; z-index: 2; padding-top: 112px; }
body #overview { scroll-margin-top: -100px; }
.film-enhanced .film-stage { position: fixed; z-index: 1; opacity: var(--film-opacity); }
.film-enhanced .film-content { transform: scale(var(--film-scale)); transform-origin: center 45%; }
.film-enhanced .hero > .wrap { opacity: var(--paper-opacity); }
.film-enhanced .hero { background: transparent; }
.film-past .film-stage { visibility: hidden; pointer-events: none; }
.film-enhanced main > section:not(.film-opening):not(.hero) { position: relative; z-index: 2; }
@media (max-width: 1150px) {
  body .site-header { inset-inline: 16px; }
  body .site-header .nav-wrap { gap: 15px; padding-inline: 14px; }
  body .site-header #main-nav { gap: 0; }
  body .site-header #main-nav a { padding-inline: 8px; font-size: 11px; }
}
@media (max-width: 1000px) {
  body .site-header .menu-toggle { display: block; }
  body .site-header #main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 24px #15243710; }
  body .site-header #main-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  body .site-header #main-nav a { padding: 13px; font-size: 13px; }
  body.film-in-view .site-header #main-nav { background: #151e2b; border-color: #344153; }
}
@media (max-width: 600px) {
  body .site-header { inset: 12px 14px auto; border-radius: 12px; }
  body .site-header .nav-wrap { height: 52px; }
  body .site-header .wordmark { font-size: 16px; }
  .film-opening, .film-stage { height: 74svh; min-height: 410px; }
  .film-stage { padding: 92px 16px 24px; }
  .film-content { width: 100%; }
  .film-meta { grid-template-columns: 1fr auto; gap: 12px; margin-top: 14px; }
  .film-explore { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .film-sound { grid-column: 2; grid-row: 1; }
  body .hero { padding-top: 92px; }
  body #overview { scroll-margin-top: -83px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-enhanced .film-stage { position: absolute; opacity: 1; }
  .film-enhanced .film-content { transform: none; }
  .film-enhanced .hero > .wrap { opacity: 1; }
  .film-past .film-stage { visibility: visible; }
  body .site-header { transition: none; }
}
