@font-face {
  font-family: Oxanium;
  src: url("assets/oxanium.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #080c1b;
  --canvas: #030408;
  --scene-fade: 145px;
  --scene-gap: clamp(16px, 2.4vw, 36px);
  --text: #edf2fb;
  --muted: #b6c2d7;
  --mint: #baf5fa;
  --gold: #ffcc8c;
  --display: Oxanium, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--canvas); font: 17px/1.6 var(--body); }
h1,h2,h3,p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
.shell { width: min(1160px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: 12px; left: 12px; padding: 10px 14px; background: var(--mint); color: var(--night); }
.skip:not(:focus) { clip-path: inset(50%); }

.masthead { position: absolute; z-index: 3; top: 0; left: 0; right: 0; }
.masthead-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid #b4dbe82d; }
.wordmark { flex: none; width: 197px; }
.wordmark img { width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); font: 600 13px/1.4 var(--mono); }
nav a { padding-block: 10px; color: #c9d5e7; }
nav a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 5px; }

.scene { position: relative; isolation: isolate; }
.scene + .scene, .rooftop { margin-top: var(--scene-gap); }
.scenery {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 var(--scene-fade), #000 calc(100% - var(--scene-fade)), transparent);
}
.scenery img { width: 100%; height: 100%; object-fit: cover; }
.scenery::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.entrance { display: grid; align-items: center; min-height: clamp(740px, 59vw, 930px); padding-block: 118px 90px; }
.entrance .scenery { mask-image: linear-gradient(to bottom, #000 calc(100% - var(--scene-fade)), transparent); }
.entrance .scenery img { object-position: center 56%; }
.entrance .scenery::after {
  background: linear-gradient(180deg, #080c1bdd, transparent 23%),
    linear-gradient(90deg, #080c1bf5 0%, #080c1bd4 20%, #080c1ba6 40%, transparent 68%);
}
.entrance-content { padding-block: 28px 72px; }
.label { color: var(--mint); font: 600 12px/1.45 var(--mono); letter-spacing: .10em; text-transform: uppercase; }
.label::before { content: ">" / ""; margin-right: .7em; }
h1,h2 { font: 650 1em/.98 var(--display); letter-spacing: -.055em; text-wrap: balance; }
h1 { max-width: 8ch; margin: 17px 0 22px; font-size: clamp(75px, 8.9vw, 134px); text-wrap: initial; }
h2 { margin-top: 12px; font-size: clamp(61px, 7.1vw, 103px); }
.lede { color: #d4dff0; max-width: 34ch; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.6; }
.action { display: inline-flex; align-items: center; gap: 14px; width: fit-content; border: 1px solid #9cdddd8b; background: #0b202cd9; box-shadow: 3px 3px 0 #7cc2c53c; color: var(--mint); padding: 11px 16px; font: 650 13px/1.4 var(--mono); transition: color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.entrance .action { margin-top: 29px; }
.action:hover { background-color: var(--mint); color: var(--night); box-shadow: 3px 3px 0 #7cc2c56c; }
.arrow { position: relative; display: inline-block; flex: none; width: 10px; height: 10px; }
.arrow::before,.arrow::after { content: ""; position: absolute; top: 1px; right: 1px; }
.arrow::before { width: 6px; height: 6px; border-top: 1px solid; border-right: 1px solid; }
.arrow::after { width: 10px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }

.showroom { max-width: 1740px; margin-inline: auto; aspect-ratio: 3 / 2; }
.showroom .scenery::after { background: linear-gradient(180deg, #080c1bb3, #080c1b32 31%, transparent 48%); }
.showroom-content { position: absolute; inset: 0; width: 100%; }
.chapter { position: relative; z-index: 1; text-align: center; padding: clamp(60px, 7vw, 104px) 20px 0; }
.chapter h2 { font-size: clamp(51px, 6vw, 88px); text-shadow: 0 3px 22px #080c1b; }
.stations { position: absolute; inset: 0; pointer-events: none; }
.station {
  --screen-ink: #eefbca;
  --screen-link: #ddf67b;
  --glass: #182b1d;
  --glass-edge: #263a28;
  --bezel: #6d5338;
  --bezel-light: #a1855c;
  position: absolute;
  left: 11.5%;
  bottom: 34.5%;
  width: 23%;
  min-height: clamp(138px, 12.7vw, 216px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 1.45vw, 23px);
  pointer-events: auto;
  border: clamp(6px, .8vw, 12px) solid var(--bezel);
  border-top-color: var(--bezel-light);
  border-radius: 11px;
  background: repeating-linear-gradient(0deg, #0000 0 3px, #0002 3px 4px), linear-gradient(135deg, var(--glass-edge), var(--glass) 75%);
  box-shadow: 0 5px 0 #211a1c, 0 11px 18px #02060bd9, inset 0 0 0 2px #081109;
}
.station-settla {
  --screen-ink: #c9f4f5;
  --screen-link: #9bf5f1;
  --glass: #10292e;
  --glass-edge: #173e47;
  --bezel: #315765;
  --bezel-light: #5b95a7;
  left: 72.4%;
}
.station::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 9px;
  right: 7px;
  bottom: -6px;
  background: var(--screen-link);
  box-shadow: 0 0 6px var(--screen-link);
  pointer-events: none;
}
.station-title { display: flex; align-items: center; gap: clamp(7px, .8vw, 12px); }
.app-icon {
  flex: none;
  width: clamp(29px, 3.2vw, 46px);
  height: auto;
  padding: 2px;
  border: 1px solid color-mix(in srgb, var(--screen-link) 58%, #141922);
  border-radius: 7px;
  background: #0a1518;
  box-shadow: 0 0 0 1px #080c1480;
}
.station h3 { font: 650 clamp(20px, 2.6vw, 42px)/1.07 var(--display); letter-spacing: -.045em; color: var(--screen-ink); }
.station p { color: var(--screen-ink); margin-top: 8px; font-size: clamp(13px, 1.23vw, 18px); line-height: 1.43; }
.station-link { color: var(--screen-link); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.station-link:hover { color: #fff; }

.workshop { display: grid; align-items: center; min-height: clamp(760px, 65vw, 960px); padding-block: 140px 128px; }
.workshop .scenery img { object-position: center 56%; }
.workshop .scenery::after {
  background: linear-gradient(90deg, #080c1bf5 0%, #080c1be6 22%, #080c1bbc 39%, #080c1b45 57%, transparent 71%);
}
.workshop h2 { max-width: 10ch; }
.steps { margin: 31px 0 0 4px; padding: 0; list-style: none; max-width: 36ch; }
.steps li { position: relative; padding: 0 0 21px 22px; border-left: 1px solid #6283938c; }
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; width: 8px; height: 8px; left: -4px; top: 9px; background: var(--mint); box-shadow: 0 0 10px #87ccd86d; }
.steps li:nth-child(2)::before { background: #9bb9f2; }
.steps li:nth-child(3)::before { background: var(--gold); }
.steps h3 { font: 600 29px/1.07 var(--display); letter-spacing: -.02em; }
.steps p { color: #c0cce0; margin-top: 4px; }

.rooftop { min-height: 555px; text-align: center; padding-block: 115px 166px; }
.rooftop .scenery img { object-position: center 58%; }
.rooftop .scenery::after { background: linear-gradient(180deg, #080c1b62 18%, #080c1b1c 61%, #080c1b75 100%); }
.rooftop h2 { font-size: clamp(54px, 6.8vw, 92px); }
.rooftop p { color: #c2cde3; margin-top: 11px; }
.rooftop .action { margin-top: 22px; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 70px); }
  .entrance .scenery img { object-position: 60% 56%; }
  .workshop .scenery img { object-position: 62% 56%; }
}
@media (max-width: 850px) {
  .showroom { aspect-ratio: auto; padding-block: 68px 78px; }
  .showroom .scenery { top: 20px; bottom: auto; height: clamp(315px, 70vw, 535px); }
  .showroom .scenery img { object-position: center 22%; }
  .showroom-content { position: relative; inset: auto; width: min(100% - 38px, 660px); }
  .chapter { padding: 0; }
  .chapter h2 { font-size: clamp(41px, 8.8vw, 70px); }
  .stations { position: static; display: grid; gap: 19px; margin: clamp(200px, 42vw, 315px) auto 0; max-width: 500px; }
  .station { position: relative; left: auto; bottom: auto; width: 100%; min-height: 0; border-width: 8px; padding: 15px 18px 18px; }
  .station::after { bottom: -6px; }
  .station h3 { font-size: clamp(26px, 7vw, 42px); }
  .station p { font-size: 16px; }
  .app-icon { width: 36px; }
}
@media (max-width: 680px) {
  :root { --scene-fade: 97px; }
  .shell { width: calc(100% - 38px); }
  .masthead-inner { min-height: 67px; gap: 14px; }
  .wordmark { width: clamp(107px, 32vw, 155px); }
  nav { font-size: 11px; gap: clamp(11px, 3.5vw, 23px); }
  .entrance { min-height: 760px; align-items: start; padding-block: 112px 380px; }
  .entrance-content { padding-block: 0; }
  .entrance .scenery { top: 258px; mask-image: linear-gradient(to bottom, transparent, #000 135px, #000 calc(100% - var(--scene-fade)), transparent); }
  .entrance .scenery img { object-position: 76% center; }
  .entrance .scenery::after { background: linear-gradient(180deg, #080c1b8c, transparent 48%); }
  h1 { max-width: 12ch; font-size: clamp(57px, 10.8vw, 83px); margin-block: 13px 15px; }
  h2 { font-size: clamp(49px, 9vw, 69px); }
  .lede { font-size: 16px; }
  .entrance .action { margin-top: 21px; }
  .workshop { min-height: auto; padding-block: 82px 320px; }
  .workshop .scenery { top: auto; bottom: 0; height: 490px; }
  .workshop .scenery img { object-position: 76% center; }
  .workshop .scenery::after { background: linear-gradient(180deg, #080c1ba8, transparent 64%); }
  .workshop h2 { max-width: none; text-wrap: initial; }
  .steps { margin-top: 25px; }
  .steps p { font-size: 16px; }
  .rooftop { min-height: 450px; padding: 83px 0 144px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action { transition: none; }
}
