@font-face { font-family: Saira; src: url(/fonts/saira.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Saira Condensed'; src: url(/fonts/saira-condensed-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Saira Condensed'; src: url(/fonts/saira-condensed-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Saira Condensed'; src: url(/fonts/saira-condensed-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Michroma; src: url(/fonts/michroma-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ground: #04050A;
  --ground-2: #080B12;
  --panel: #0E1320;
  --panel-2: #0B0F19;
  --chip: #141A28;
  --line: #1B2130;
  --text: #F2F4F7;
  --text-2: #B5BBC6;
  --text-3: #8F96A3;
  --accent: #7FD8FF;
  --cond: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --logo: Michroma, 'Arial Black', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font: 18px/1.6 Saira, system-ui, sans-serif; }
img, video { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.logo { font-family: var(--logo); font-weight: 400; letter-spacing: .14em; }
.label { margin: 0; font: 700 15px/1.3 var(--cond); letter-spacing: .32em; text-transform: uppercase; }
.accent { color: var(--accent); }
.title { margin: 0; font: 800 clamp(48px, 7vw, 104px)/.92 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.lead { margin: 0; max-width: 640px; color: var(--text-2); }
.cut { clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.cut-l { clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px); }

.btn { display: inline-block; padding: 18px 40px; font: 800 20px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border: 0; }
.btn-main { background: var(--accent); color: var(--ground); }
.btn-main:hover { color: var(--ground); background: #A6E5FF; }
.btn-ghost { background: rgba(242, 244, 247, .12); color: var(--text); box-shadow: inset 0 0 0 1px rgba(242, 244, 247, .35); font-weight: 700; }
.btn-ghost:hover { background: rgba(242, 244, 247, .2); }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero: the film, between two black bands */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.hero video.on + .poster img { opacity: 0; }  /* the still holds the first paint, the film fades in over it once playing */
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(4, 5, 10, .25) 30%, rgba(4, 5, 10, .8) 100%); pointer-events: none; }
.hero-body .label, .tagline { text-shadow: 0 2px 14px rgba(0, 0, 0, .75); }
.bar { position: relative; z-index: 1; background: var(--ground); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 4vw, 48px); }
.bar-top { height: 72px; }
.bar-bottom { height: 56px; }
.bar-bottom .label { font-size: 13px; color: var(--text-3); }
.nav { display: flex; gap: 40px; font: 700 16px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; }
.hero-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 64px 16px; text-align: center; }
.hero-body h1 { margin: 0; font-size: clamp(34px, 9.5vw, 136px); line-height: 1; text-shadow: 0 0 40px rgba(255, 255, 255, .22), 0 4px 30px rgba(0, 0, 0, .6); }
.hero-body .label { letter-spacing: .5em; }
.tagline { margin: 0; font: 600 clamp(20px, 2.2vw, 30px)/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.hero-body .btns { justify-content: center; margin-top: 12px; }

/* Chapters */
.chapter { display: flex; flex-direction: column; gap: 56px; padding-top: 150px; padding-bottom: 150px; }
.head { display: flex; flex-direction: column; gap: 22px; max-width: 1000px; }
.media { position: relative; overflow: hidden; background: #0B0E16; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.wide { aspect-ratio: 2.39 / 1; }
.cap { margin: 12px 0 0; font: 600 14px/1.4 var(--cond); letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.stats .logo { font-size: 34px; }
.stats .cap { margin-top: 6px; }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.mosaic figure { margin: 0; display: flex; flex-direction: column; }
.s6 { grid-column: span 6; } .s4 { grid-column: span 4; } .s3 { grid-column: span 3; } .s2 { grid-column: span 2; }
.r43 { aspect-ratio: 4 / 3; } .r169 { aspect-ratio: 16 / 9; }
.fill { flex: 1; min-height: 220px; }
.fill img { position: absolute; inset: 0; }

.band { position: relative; min-height: 780px; display: flex; align-items: center; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 5, 10, .75) 0%, rgba(4, 5, 10, 0) 65%); }
.band .wrap { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.band .title { max-width: 760px; }

.quests { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.quest { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: var(--panel-2); border-top: 3px solid #2B3242; }
.quest h3 { margin: 0; font: 800 40px/.92 var(--cond); text-transform: uppercase; }
.quest p:last-child { margin: 0; color: #9AA1AE; font-size: 16px; }
.quest .label { font-size: 13px; color: var(--text-3); }
.quest.done { background: var(--panel); border-top-color: var(--accent); }
.quest.done .label { color: var(--accent); }
.quest.next { background: var(--panel); border-top-color: var(--text); }
.quest.next .label { color: var(--text); }
.manifest { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; padding: 0; list-style: none; }
.roles .label { color: var(--text-3); margin-right: 10px; }
.roles li:not(.label) { padding: 10px 18px; background: var(--chip); font: 700 16px/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; }

.engine { background: var(--ground-2); }
.engine .top { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); column-gap: 56px; margin: 0; }
.specs div { display: flex; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.specs dt { width: 130px; flex-shrink: 0; padding-top: 4px; font-size: 13px; color: var(--text-3); }
.specs dd { margin: 0; }

.finale { position: relative; min-height: 680px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(4, 5, 10, .35) 0%, rgba(4, 5, 10, .85) 100%); }
.finale > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 16px; }
.finale .title { font-size: clamp(56px, 9vw, 140px); }
.finale .btns { justify-content: center; }
.finale .label { font-size: 13px; color: #C3C8D1; }

/* The trailer, full screen in a dialog */
.trailer { width: min(96vw, calc((100vh - 120px) * 16 / 9));  /* room above for the close button */ max-width: none; padding: 0; border: 0; background: #000; overflow: visible; }
.trailer::backdrop { background: rgba(2, 3, 6, .92); }
.trailer video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.trailer .close { position: absolute; right: 0; bottom: 100%; padding: 12px 0; background: none; border: 0; color: var(--text-2); cursor: pointer; }
.trailer .close:hover { color: #fff; }

/* Questions */
.qa { display: grid; gap: 0; max-width: 1000px; }
.qa details { border-top: 1px solid var(--line); padding: 22px 0; }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; font: 700 clamp(20px, 2vw, 26px)/1.25 var(--cond); letter-spacing: .04em; text-transform: uppercase; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; float: right; color: var(--accent); }
.qa details[open] summary::after { content: "–"; }
.qa p { margin: 14px 0 0; max-width: 760px; color: var(--text-2); }

.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 40px; }
.foot .label { font-size: 13px; color: var(--text-3); letter-spacing: .24em; }

@media (max-width: 960px) { .nav { display: none; } }  /* the four links wrap below this width */
@media (max-width: 760px) {
  .bar-bottom { display: none; }
  .hero-body h1 { letter-spacing: .06em; }
  .s4, .s3, .s2 { grid-column: span 6; }
  .chapter { padding-top: 96px; padding-bottom: 96px; gap: 40px; }
  .band { min-height: 520px; }
  .btn { padding: 16px 28px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
