:root {
  color-scheme: dark;
  --paper: #030610;
  --ink: #eef5fa;
  --muted: #bfceda;
  --rule: #344a5e;
  --accent: #9ce7e4;
  --wash: #101d2c;
  --family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--family); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: .27rem; }
a { color: var(--accent); text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
.wrap { width: min(calc(100% - clamp(2.5rem,9vw,8rem)), 74rem); margin-inline: auto; }
.skip { background: var(--wash); position: absolute; z-index: 2; top: -9rem; left: 1rem; padding: .5rem .9rem; }
.skip:focus { top: .5rem; }
.bar, .menu, .watch-tools, .footlinks, .brand { display: flex; flex-wrap: wrap; align-items: center; }
.bar { min-height: 4.8rem; padding-block: .9rem; border-bottom: 1px solid var(--rule); justify-content: space-between; gap: .7rem 1.75rem; }
.product { color: var(--ink); font-size: 1.15rem; font-weight: 740; letter-spacing: -.035em; text-decoration: none; }
.product span { color: var(--accent); }
.menu { gap: .3rem clamp(.8rem,3vw,2rem); font-size: .92rem; }
.menu a, .footlinks a { color: var(--muted); }
.menu a { padding: .3rem 0; text-decoration: none; }
.menu a:hover, .menu [aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .42em; }
.menu [aria-current="page"] { font-weight: 650; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 15ch; font-size: clamp(3rem, 7.3vw, 6.8rem); line-height: 1.03; letter-spacing: -.071em; font-weight: 610; }
h2 { font-size: clamp(1.6rem, 3.4vw, 3.02rem); line-height: 1.13; font-weight: 590; letter-spacing: -.05em; }
h3 { font-size: clamp(1.14rem, 1.95vw, 1.55rem); line-height: 1.28; font-weight: 630; letter-spacing: -.027em; }
.hero { padding-block: clamp(3rem, 7vw, 6.4rem) clamp(2.1rem, 4.8vw, 4.1rem); }
.section-id { font-size: .78rem; color: var(--accent); font-weight: 680; margin: 0 0 .75rem; letter-spacing: .05em; }
.standfirst { margin-top: 1rem; max-width: 46rem; color: var(--muted); font-size: clamp(1.08rem, 1.85vw, 1.36rem); }
.film-box { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #080f19; border: 1px solid var(--rule); border-radius: .43rem; }
.watch-tools { justify-content: space-between; gap: .6rem 1.5rem; padding-block: .85rem 1.15rem; font-size: .94rem; }
.watch-tools nav, .footlinks { display: flex; gap: .5rem 1.35rem; flex-wrap: wrap; }
.watch-tools span { color: var(--muted); }
.band { border-top: 1px solid var(--rule); padding-block: clamp(2.4rem, 5.8vw, 5.3rem); }
.two { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 1.25rem clamp(2.6rem,7vw,7.3rem); }
.copy { max-width: 46rem; }
.copy p+p, .copy p+ul, .copy ul+p { margin-top: .9rem; }
.copy p, .copy ul { color: var(--muted); }
.copy strong, .stage-copy strong, .standfirst strong { color: var(--ink); font-weight: 650; }
.public-link { font-weight: 650; }
.mission { max-width: 50rem; font-size: clamp(1.32rem,2.5vw,2.12rem); line-height: 1.36; letter-spacing: -.035em; }
.mission+p { margin-top: 1.3rem; }
.workflow { width: 100%; border-collapse: collapse; text-align: left; margin: .6rem 0 2.6rem; }
.workflow th,.workflow td { vertical-align: top; padding: 1rem 1.1rem 1rem 0; border-bottom: 1px solid var(--rule); }
.workflow thead th { font-size: .87rem; color: var(--accent); border-bottom: 2px solid var(--accent); }
.workflow tbody th { width: 24%; font-size: 1.04rem; line-height: 1.45; font-weight: 650; }
.workflow tbody td { width: 38%; color: var(--muted); }
.workflow tbody td:last-child { padding-right: 0; }
.stage-num { display: block; font-size: .74rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.mobile-col { display: none; }
.capacity { margin-top: .9rem; }
.capacity div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .6rem; border-bottom: 1px solid var(--rule); padding: .6rem 0; }
.capacity dt { color: var(--muted); }
.capacity dd { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.capacity .value dd { color: var(--accent); }
.capacity+p, .references { margin-top: 1rem; }
.references { padding-left: 1.15rem; }
.references li+li { margin-top: .4rem; }
.chapter { padding-block: 1.4rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: .7rem clamp(2.6rem,7vw,7.3rem); }
.chapter h2 { font-size: 1.13rem; font-weight: 650; letter-spacing: -.015em; }
.chapter p { max-width: 48rem; font-size: 1.04rem; }
.foot { margin-top: clamp(1.6rem,3vw,3rem); border-top: 1px solid var(--rule); padding-block: 1.75rem 2.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.75rem; }
.brand { color: var(--ink); text-decoration: none; gap: .7rem; line-height: 1.14; }
.brand img { width: 2.85rem; height: 2.85rem; object-fit: contain; }
.wordmark { display: grid; gap: .14rem; }
.wordmark strong { font-size: 1.08rem; font-weight: 700; }
.wordmark small { font-size: .78rem; color: var(--muted); }
.footlinks { font-size: .9rem; }
@media (max-width: 48rem) {
  .two, .chapter { grid-template-columns: 1fr; gap: .9rem; }
  .workflow,.workflow tbody,.workflow tr { display: block; }
  .workflow thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .workflow tbody tr { border-top: 1px solid var(--rule); padding: 1.05rem 0; }
  .workflow tbody th,.workflow tbody td { display: block; width: 100%; padding: .35rem 0; border: 0; }
  .workflow .stage-num { display: inline-block; margin-right: .65rem; }
  .mobile-col { display: block; color: var(--ink); font-size: .81rem; font-weight: 650; }
  .watch-tools { align-items: start; }
  .hero { padding-top: 3.1rem; }
}
@media (max-width: 27rem) {
  .bar { align-items: start; }
  .menu { gap: .9rem; }
  .capacity div { grid-template-columns: 1fr; gap: 0; }
  .capacity dd { text-align: left; }
}
@media print {
  .wrap { width: 100%; }
  .bar, .skip, .film-box, .watch-tools, .footlinks { display: none; }
  .hero, .band, .chapter { padding-block: .65rem; }
  .workflow tr, .chapter, .capacity { break-inside: avoid; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.5rem; }
}

body:not(.embed-player) {
  min-height: 100vh;
  background-image: linear-gradient(180deg,transparent 0,#030610 44rem),
    linear-gradient(102deg,rgb(3 7 17 / 86%) 8%,rgb(5 15 30 / 64%) 70%,rgb(6 13 24 / 50%)),
    url('/pp-cinema/galaxy-rest.webp');
  background-position: center top;
  background-size: 100% 45rem,100% 45rem,max(100%,62rem) auto;
  background-repeat: no-repeat;
}
.section-id { color: #ebd198; }
.film-box { border-color: #40576f; border-radius: .85rem; }
.bar .film-signin, .embed-links a[href='/login'] {
  display: inline-flex;
  min-height: 44px;
  padding: .45rem 1rem;
  align-items: center;
  justify-content: center;
  color: #d2f6f1;
  border: 1px solid #71aaa9;
  border-radius: 999px;
  background: #112b35;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.2;
}
.bar .film-signin:is(:hover,:focus-visible), .embed-links a[href='/login']:is(:hover,:focus-visible) { background: #1c414c; color: white; }
.embed-player { background: #030610; }
.embed-player main { max-width: 100rem; margin: 0 auto; }
.embed-player video { width: 100%; height: auto; display: block; background: #040912; aspect-ratio: 16/9; }
.embed-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; padding: .7rem 1rem; align-items: center; justify-content: flex-end; }
@media (max-width: 47.5rem) {
  body:not(.embed-player) {
    background-image: linear-gradient(180deg,transparent 0,#030610 38rem),
      linear-gradient(105deg,rgb(3 7 17 / 79%),rgb(6 15 28 / 62%)),url('/pp-cinema/galaxy-rest-mobile.webp');
    background-size: 100% 39rem,100% 39rem,100% auto;
  }
}
@media (max-width: 32rem) {
  .bar { align-items: center; }
  .menu { width: 100%; justify-content: space-between; gap: .15rem .35rem; font-size: .875rem; }
  .bar .film-signin { padding-inline: .72rem; }
}
@media print {
  :root { color-scheme: light; --paper: white; --ink: #16242a; --muted: #36484e; --accent: #07595c; --rule: #a7b3b7; }
  body:not(.embed-player) { background: white; }
  .section-id { color: var(--accent); }
  .embed-links { display: none; }
}

.galaxy-credit{width:min(74rem,90%);margin:0 auto;padding:.5rem 0 1.2rem;font-size:.83rem;color:#b8c8d5}.galaxy-credit summary{cursor:pointer;width:max-content;text-decoration:underline;text-underline-offset:.22em}.galaxy-credit p{max-width:62rem;margin:.65rem 0 0}.galaxy-credit a{color:#9ce7e4}
