:root{
  color-scheme:dark;
  --bg:#0c0c0e; --bg2:#121214; --surface:#17171a; --surface2:#1d1d21;
  --ink:#f2f0e8; --ink2:#d6d3c8; --muted:#a3a096;
  --line:#2c2c31;
  --noir:#070708; --charbon:#141416;
  --or:#c9a227; --or-vif:#d9a92c; --or-pale:#e3c566;
  --radius:14px;
  --font-d:"Anton",Impact,sans-serif;
  --font-b:"Archivo",system-ui,sans-serif;
  --font-h:"Caveat",cursive;
}
:root {
  --ground: var(--bg);
  --panel: var(--surface);
  --gold: var(--or-pale);
  --edge: var(--line);
  --shadow: color-mix(in srgb, var(--noir) 90%, transparent);
  --display: Georgia, "Times New Roman", serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    1rem/1.45 system-ui,
    sans-serif;
}
a {
  color: inherit;
}
button,
input,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button,
summary,
.start {
  min-height: 2.75rem;
  min-width: 2.75rem;
  border: 1px solid var(--edge);
  border-radius: 0.55rem;
  background: var(--panel);
  color: var(--ink);
}
button,
summary {
  display: inline-grid;
  place-items: center;
  padding: 0.5rem;
}
button:hover:not(:disabled),
summary:hover {
  border-color: var(--gold);
}
button:disabled {
  opacity: 0.43;
  cursor: default;
}
button[aria-pressed="true"] {
  color: var(--gold);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
p,
figure,
ol {
  margin: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 5;
  padding: 0.6rem;
  background: var(--panel);
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.experience {
  width: min(100%, 100rem);
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.4rem, 1.35vh, 0.85rem);
  margin: auto;
  padding: clamp(0.5rem, 2vw, 1.65rem);
}
.topbar,
.identity,
.toolbar,
.buttons,
.timeline,
.dialog-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar {
  position: relative;
  z-index: 2;
}
.identity {
  text-decoration: none;
}
.identity img {
  display: block;
  width: clamp(5rem, 13vw, 9rem);
  height: auto;
}
.top-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.83rem;
  white-space: nowrap;
}
.site-menu {
  position: relative;
}
.site-menu summary {
  list-style: none;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu nav {
  position: absolute;
  inset: calc(100% + 0.4rem) auto auto 0;
  min-width: 13.5rem;
  display: grid;
  gap: 0.4rem;
  padding: 0.55rem;
  background: var(--ground);
  border: 1px solid var(--edge);
  border-radius: 0.55rem;
}
.site-menu nav :is(a, button) {
  display: block;
  min-height: 2.75rem;
  padding: 0.6rem;
  text-align: left;
  text-decoration: none;
}
.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-rows: 1fr auto;
  align-items: stretch;
  min-height: min(27rem, 54svh);
  border: 1px solid var(--edge);
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--panel);
}
.scene {
  position: relative;
  min-height: 0;
  grid-area: 1 / 2 / 3 / 3;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 58% 39%,
    var(--edge),
    var(--panel) 73%
  );
}
.scene-image,
.parvis,
.parvis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-image {
  position: absolute;
  inset: 0;
}
.stage[data-scene="help"] .scene-image,
.stage[data-scene="partners"] .scene-image {
  object-fit: contain;
  padding: 5% 12% 17%;
}
.parvis {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.parvis figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.parvis img {
  object-position: center;
  display: block;
}
.parvis-before img {
  object-position: center 35%;
}
.parvis-after img {
  object-position: center 40%;
}
.parvis figcaption {
  position: absolute;
  inset: auto 0.4rem 2rem;
  text-align: center;
  background: var(--shadow);
  padding: 0.28rem;
  border-radius: 0.35rem;
  font-size: 0.8rem;
  font-weight: 720;
}
.preview-label {
  position: absolute;
  inset: auto 0.5rem 0.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.73rem;
  background: var(--shadow);
  padding: 0.12rem;
}
.scene-items {
  position: absolute;
  inset: auto 0.8rem 0.85rem;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.38rem;
  padding: 0;
}
.scene-items li {
  background: var(--shadow);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 0.45rem;
  padding: 0.33rem 0.65rem;
  font-size: clamp(0.68rem, 1.18vw, 0.95rem);
  font-weight: 680;
}
.stage[data-scene="pilot"] .scene-items {
  counter-reset: step;
  inset: 1rem;
  align-content: center;
  display: grid;
  gap: clamp(0.4rem, 2vh, 1rem);
}
.stage[data-scene="pilot"] li {
  counter-increment: step;
  padding: 0.62rem 1.05rem;
}
.stage[data-scene="pilot"] li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--gold);
  margin-right: 0.8rem;
}
.stage[data-scene="pilot"] li:nth-child(2) {
  transform: translateX(0.4rem);
}
.stage[data-scene="pilot"] li:nth-child(3) {
  transform: translateX(0.8rem);
}
.copy {
  grid-area: 1 / 1;
  align-self: center;
  min-width: 0;
  padding: clamp(0.65rem, 3.5vw, 3rem);
}
.eyebrow {
  color: var(--gold);
  font-size: clamp(0.7rem, 1.1vw, 0.86rem);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 0.5rem;
}
h1 {
  font: 650 clamp(2.15rem, min(5.2vw, 7.8svh), 5.3rem)/1 var(--display);
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.lede {
  color: var(--muted);
  max-width: 34ch;
  margin-top: 0.65rem;
  font-size: clamp(0.98rem, 1.7vw, 1.35rem);
}
.start {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ground);
  font-weight: 750;
  text-decoration: none;
}
.caption {
  grid-area: 2 / 1 / 3 / 3;
  z-index: 1;
  margin: 0.32rem auto;
  background: var(--shadow);
  max-width: calc(100% - 1rem);
  border-radius: 0.35rem;
  padding: 0.25rem 0.6rem;
  text-align: center;
  font-size: clamp(0.78rem, 1.3vw, 0.96rem);
}
.controls {
  display: grid;
  gap: 0.3rem;
}
.timeline input {
  flex: 1;
  min-width: 0;
  min-height: 1.5rem;
  accent-color: var(--gold);
}
.timeline output,
.counter {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.83rem;
  font-variant-numeric: tabular-nums;
}
.toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
}
.buttons {
  flex-wrap: wrap;
  gap: 0.32rem;
}
.primary {
  color: var(--ground);
  background: var(--gold);
  border-color: var(--gold);
}
.status {
  color: var(--muted);
  font-size: 0.75rem;
}
.status:empty {
  display: none;
}
dialog {
  width: min(34rem, calc(100% - 1rem));
  max-height: 87svh;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 0.65rem;
  padding: 0.85rem;
}
dialog::backdrop {
  background: var(--shadow);
}
.dialog-title {
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
#chapter-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  padding: 0;
}
#chapter-list button {
  display: block;
  width: 100%;
  text-align: left;
}
#chapter-list button[aria-current] {
  border-color: var(--gold);
  color: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .fresh .copy {
    animation: enter 0.55s both;
  }
  .fresh .parvis-before {
    animation: still 0.9s both;
  }
  .fresh .parvis-after {
    animation: parvis-dissolve 1.65s ease-out both;
  }
  .fresh[data-scene="mission"] .scene-image {
    animation: panorama 1.3s both;
  }
  .fresh[data-scene="help"] .scene-image {
    animation: medallion 0.9s both;
  }
  .fresh[data-scene="brand"] .scene-image {
    animation: panel-in 0.8s both;
  }
  .fresh[data-scene="partners"] .scene-image {
    animation: medallion 0.65s both;
  }
  .fresh .scene-items li {
    animation: enter 0.45s both;
  }
  .fresh .scene-items li:nth-child(2) {
    animation-delay: 0.15s;
  }
  .fresh .scene-items li:nth-child(3) {
    animation-delay: 0.3s;
  }
}
@keyframes enter {
  from {
    opacity: 0.5;
    translate: 0 0.6rem;
  }
  to {
    opacity: 1;
    translate: 0;
  }
}
@keyframes still {
  from {
    filter: brightness(0.66);
  }
  to {
    filter: brightness(1);
  }
}
@keyframes panel-in {
  from {
    opacity: 0.4;
    clip-path: inset(0 35% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}
@keyframes panorama {
  from {
    scale: 1.07;
    filter: brightness(0.68);
  }
  to {
    scale: 1;
    filter: brightness(1);
  }
}
@keyframes parvis-dissolve {
  0%,
  23% {
    opacity: 0;
  }
  49% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes medallion {
  from {
    scale: 0.86;
    opacity: 0.55;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}
@media (max-width: 700px) {
  .stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(9rem, 33svh) auto auto;
    min-height: 0;
  }
  .scene {
    grid-area: 1 / 1;
  }
  .copy {
    grid-area: 2 / 1;
    padding: 0.6rem 0.8rem;
  }
  h1 {
    font-size: clamp(1.65rem, 7vw, 2.65rem);
  }
  .lede {
    margin-top: 0.36rem;
  }
  .start {
    margin-top: 0.52rem;
  }
  .caption {
    grid-area: 3 / 1;
    margin-block: 0 0.3rem;
  }
  .counter {
    margin-right: auto;
  }
}
@media (max-width: 370px) and (max-height: 650px) {
  .stage {
    grid-template-rows: minmax(7.75rem, 28svh) auto auto;
  }
  .scene-items {
    inset-inline: 0.4rem;
    gap: 0.25rem;
  }
  .scene-items li {
    padding-inline: 0.36rem;
  }
}
@media (min-width: 701px) and (max-height: 470px) {
  .stage {
    min-height: 0;
  }
  .copy {
    padding: 0.55rem 1.1rem;
  }
  h1 {
    font-size: clamp(1.5rem, 4.9svh, 2.6rem);
  }
  .lede {
    font-size: 0.96rem;
  }
}
