.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.press-icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.masthead, .release-strip li, .press-resources a, .media-action, .gallery-tools a { display: inline-flex; align-items: center; gap: .55rem; }
.masthead { color: var(--paper); text-decoration: none; }
.masthead img { border-radius: 9px; }
.release-strip { list-style: none; margin: 1.7rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; }
.release-strip li { gap: .65rem; color: var(--gold); }
.release-strip .press-icon { width: 1.65rem; height: 1.65rem; }
.release-strip span { display: block; color: var(--muted); font-size: .875rem; }
.release-strip strong { display: block; color: var(--paper); font-size: 1rem; }
.press-resources, .gallery-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.press-resources { justify-content: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.press-resources a, .media-action, .gallery-tools a, .gallery-index a, .detail-link { padding: .55rem .9rem; border: 1px solid #655445; border-radius: 5px; text-decoration: none; color: var(--paper); font-weight: 600; min-height: 44px; }
.press-resources a[download][href$=".zip"], .media-action { color: var(--gold); background: #302823; }
.press-resources a:hover, .media-action:hover, .gallery-tools a:hover, .gallery-index a:hover, .detail-link:hover { border-color: var(--gold); background: #392e26; }
.about > img { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 1.2rem; }
.price-panel { padding: 1.1rem 1.25rem; background: #27241f; border: 1px solid #5a4a38; border-radius: 7px; }
.price-stats { display: grid; grid-template-columns: 1fr 1.3fr; align-items: start; }
.price-stats p { margin: 0; font-size: .875rem; color: var(--muted); }
.price-stats p + p { padding-left: 1rem; border-left: 1px solid #64543f; }
.price-stats strong { display: block; font: 500 clamp(2.2rem,4vw,3.3rem)/1 Baskerville, Georgia, serif; color: var(--gold); margin-bottom: .3rem; }
.price-stats + p { margin-top: 1rem; }
.glance-list { margin-top: .55rem; }
.glance-list > div { grid-template-columns: 7.4rem 1fr; }
.glance-list dt { display: flex; gap: .5rem; align-items: baseline; }
.glance-list .press-icon { color: var(--gold); align-self: start; margin-top: .18rem; }
.detail-link { display: inline-flex; align-items: center; margin-block: .8rem; }
#images .gallery-index { gap: .45rem; padding-top: .5rem; }
#images .gallery-index a { border-radius: 100px; font-size: .9rem; }
@media (max-width: 720px) {
  .release-strip { justify-content: center; text-align: left; }
  .press-resources { gap: .4rem; }
  .press-resources a { font-size: .9375rem; }
}
@media print {
  .masthead, .press-resources, .release-strip, .about > img, .detail-link, .press-icon { display: none; }
  .price-panel { background: white; color: black; }
  .price-stats strong, .price-stats p { color: black; }
  .media-action { color: black; background: transparent; }
}

/* Keep the film on the page's center line, with the pitch and chapter index beside it. */
.premiere {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(36%, 420px, calc(47.4svh - 65px)) minmax(0, 1fr);
  grid-template-areas: "intro player guide";
  gap: clamp(16px, 2.7vw, 38px);
  align-items: center;
  padding: clamp(16px, 2vw, 28px);
  background: radial-gradient(ellipse at 15% 35%, #392a27, transparent 50%), linear-gradient(110deg, #231e20, #171619 58%, #292024);
  border: 1px solid #58463d;
  border-radius: 12px;
}
.premiere-intro { grid-area: intro; }
.premiere-intro h1 { margin: 0 0 1.25rem; line-height: 0; }
.premiere-intro h1 img { display: block; width: 100%; max-width: 300px; height: auto; margin-inline: auto; }
.premiere-intro p { margin: 0; font-size: clamp(1rem, 1.4vw, 1.17rem); line-height: 1.5; }
.premiere .release-strip { margin-top: 1.15rem; gap: .75rem 1.25rem; }
.store-cta { display: flex; justify-content: center; padding: 1rem 0 .25rem; }
.store-cta img { display: block; width: auto; height: 3rem; }
.premiere-player { grid-area: player; }
.phone-player {
  --case-radius: clamp(18px, 3vw, 30px);
  --rim: 2px;
  width: 100%;
  justify-self: center;
  border: var(--rim) solid transparent;
  border-radius: var(--case-radius);
  background: linear-gradient(#101013, #101013) padding-box,
    linear-gradient(115deg, #85858b, #414147 20%, #727279 47%, #37373c 75%, #76767c) border-box;
  box-shadow: 0 9px 28px #0006;
}
.phone-screen {
  --screen-radius: calc(var(--case-radius) - var(--rim));
  border-radius: var(--screen-radius);
  overflow: hidden;
  /* Keep native controls, poster and accelerated video inside the same screen edge. */
  clip-path: inset(0 round var(--screen-radius));
  background: #121214;
}
.phone-media { position: relative; }
.phone-player:has(video:focus-visible) { outline: 3px solid white; outline-offset: 3px; }
.phone-player video:focus-visible { outline: none; }
.phone-player video { display: block; width: 100%; height: auto; background: #151316; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .8rem 1.1rem; border: 1px solid #f5d794; border-radius: 100px;
  background: #f0cf92; color: #251b16; line-height: 1.2;
  font-family: inherit; font-size: 1rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  box-shadow: 0 3px 20px #000a;
}
.video-play[hidden] { display: none; }
.video-play:hover { background: #ffe5ad; }
.video-play:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.premiere-guide { grid-area: guide; min-width: 0; }
.premiere-guide > img { display: block; width: 100%; height: auto; border-radius: 5px; }
.premiere-guide h2 { margin: 1rem 0 .25rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.file-format, .press-usage { color: var(--muted); font-size: .9rem; }
.premiere-guide ol { padding: 0; list-style: none; margin: 1rem 0; border-top: 1px solid var(--line); }
.premiere-guide li a { display: flex; gap: .8rem; align-items: center; padding: .65rem .15rem; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--paper); }
.premiere-guide time { color: var(--gold); font-variant-numeric: tabular-nums; }
.premiere-guide li a:hover, .premiere-guide [aria-current] { background: #3b3031; }
.footage-files-link { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; }
.footage-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; border-block: 1px solid var(--line); }
.footage-files article {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  gap: 1rem;
  padding: 1.35rem clamp(.65rem, 1.6vw, 1.25rem);
  text-align: center;
}
.footage-files article + article { border-left: 1px solid var(--line); }
.footage-files h3 { margin: 0; }
.footage-files p { text-wrap: balance; }
.footage-files .phone-player { width: min(100%, 18rem); align-self: start; }
.footage-files .short-trailer .phone-player { width: min(93.4%, 16.8rem); }
.footage-files .file-format { margin: .7rem 0; }
.file-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.file-links a { display: inline-flex; align-items: center; min-height: 44px; }
.gallery figcaption { max-width: 40ch; margin: .6rem auto 0; text-align: center; text-wrap: balance; }

.launch-panel { --stat-color: #f3c277; --stat-icon: #dfac61; background: linear-gradient(155deg,#322922,#201e20 65%); }
.roster-panel { --stat-color: #a8daed; --stat-icon: #83c7df; background: linear-gradient(155deg,#24343f,#1c2026 65%); }
.equipment-panel { grid-column: 1 / -1; --stat-color: #b1ddba; --stat-icon: #90c79b; background: linear-gradient(135deg, #23342c, #1c2421 65%); }
@media (min-width: 721px) {
  .equipment-panel .launch-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.launch-art { border-bottom: 2px solid var(--stat-icon); }
.launch-stat { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 0 .6rem; }
.launch-stat strong, .launch-details summary { color: var(--stat-color); }
.launch-stat .press-icon { color: var(--stat-icon); width: clamp(1.875rem, 3vw, 2.25rem); height: auto; aspect-ratio: 1; }
.launch-stat span { grid-column: 1 / -1; }

@media (max-width: 959px) {
  .premiere { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "player player" "intro guide"; gap: 1.25rem; }
  .premiere-player { width: min(100%, 420px, calc(47.4svh - 68px)); }
}
@media (max-width: 720px) {
  .footage-files { grid-template-columns: 1fr; row-gap: 0; }
  .footage-files article { grid-row: auto; grid-template-rows: auto 1fr auto; padding: 1.25rem 0; }
  .footage-files article + article { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  header { display: block; padding-block: .4rem; }
  header nav { flex-wrap: nowrap; overflow-x: auto; gap: .9rem; }
  header nav a { flex: none; }
  .premiere { grid-template-columns: minmax(0,1fr); grid-template-areas: "player" "intro" "guide"; padding: 12px; }
  .premiere-player { width: min(100%, calc(47.4svh - 63px)); }
  .premiere-intro, .premiere-guide { padding-inline: .35rem; }
  .premiere-intro h1 img { max-width: 180px; }
  .premiere .release-strip { justify-content: start; }
  .premiere-guide { border-top: 1px solid var(--line); padding-top: 1rem; }
  .premiere-guide > img { float: right; width: 34%; max-width: 120px; margin-left: .5rem; }
  .premiere-guide h2 { margin-top: 0; }
  .premiere-guide ol { clear: both; }
}
@media print {
  .premiere { display: block; color: black; background: transparent; padding: 0; border: 0; }
  .premiere-player, .premiere-guide { display: none; }
  .premiere-intro h1 img { width: 120px; margin: 0; }
  .launch-panel { background: white; --stat-color: black; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .video-play { max-width: 95%; white-space: normal; padding: .5rem; font-size: .875rem; }
}
