/* One day on the planet: the page starts before sunrise and ends at night.
   Each section's colour is taken from the photo above it, so the ground carries on. */
@font-face { font-family: Oxanium; font-weight: 400; font-display: swap; src: url(fonts/oxanium-regular.woff2) format("woff2"); }
@font-face { font-family: Oxanium; font-weight: 700; font-display: swap; src: url(fonts/oxanium-bold.woff2) format("woff2"); }
:root {
  --night: #14132b; --bone: #ece5d9; --chevron: #d2601f;
  --dune: #c88a68; --bark: #2b140d; --jungle: #2c0d14; --haze: #cdb0b2; --dusk: #232a5c;
  --cut: 14px; --gap: clamp(1.5rem, 4vw, 4rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 1.125rem/1.6 Oxanium, system-ui, sans-serif; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, p, dl, dd { margin: 0; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
p, dd { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 1em; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--bone); outline-offset: 4px; }
.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.skip { position: absolute; left: -99rem; z-index: 9; background: var(--bone); color: var(--night); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.steam-soon .when-live, .steam-live .when-soon { display: none; }

/* corners cut like the letters of the logo */
video, .pair img, .vehicles img, .btn {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn { --cut: 10px; display: inline-block; padding: .95rem 1.7rem; font-weight: 700; text-decoration: none; }
.btn-main { background: var(--chevron); color: #180a04; }
.btn-main:hover { background: #ea7a38; }
.btn-quiet { background: rgb(236 229 217 / .16); }
.btn-quiet:hover { background: rgb(236 229 217 / .28); }
.btn:focus-visible { clip-path: none; }

.hero { position: relative; min-height: min(100svh, 1100px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 100%; }
.hero::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(20 19 43 / .72) 62%, var(--night)); }
.hero-text { position: relative; z-index: 1; padding-block: 6rem clamp(2rem, 6vh, 4.5rem); }
.hero h1 img { width: min(860px, 100%); }
.lead { font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.4; max-width: 34ch; margin-top: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.8rem; }
.actions p { margin: 0; }

section > .wrap:first-child { padding-top: clamp(3.5rem, 8vw, 7rem); }
.night { padding-bottom: clamp(4rem, 9vw, 8rem); scroll-margin-top: -2rem; }
video { width: 100%; aspect-ratio: 16/9; background: #000; }
.story { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); margin-top: clamp(2.5rem, 6vw, 5rem); }

.bleed { width: 100%; min-height: 340px; object-fit: cover; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.two h2, .narrow h2, .travel h2 { margin-bottom: 1.2rem; }
.dune { background: var(--dune); color: var(--bark); position: relative; padding-bottom: clamp(4rem, 9vw, 8rem); }
.dune .bleed { -webkit-mask: linear-gradient(#000 72%, transparent); mask: linear-gradient(#000 72%, transparent); }
.dune .two { padding-top: 1.5rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }

.jungle { background: var(--jungle); padding-bottom: clamp(4rem, 9vw, 8rem); }
.jungle .tall { height: min(86vh, 60vw); min-height: 420px; object-position: 50% 60%; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.narrow { position: relative; margin-top: -2rem; }

.travel { background: var(--haze); color: #2a1a26; padding-bottom: clamp(4rem, 9vw, 8rem); }
.vehicles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; margin-top: clamp(2rem, 5vw, 4rem); }
.vehicles img { width: 100%; height: 100%; object-fit: cover; }
.v-buggy { grid-column: span 8; } .v-jetpack { grid-column: span 4; }
.v-train { grid-column: span 5; } .v-glider { grid-column: span 7; aspect-ratio: 16/8; }

.dusk { background: linear-gradient(var(--dusk), var(--night) 75%); }
dt { font-weight: 700; margin-top: 1.2rem; } dt:first-child { margin-top: 0; }
footer { margin-top: clamp(4rem, 9vw, 8rem); padding-block: 2.5rem 3.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
footer img { width: 220px; }
footer p { font-size: .95rem; flex: 1 1 22rem; color: #c3bfd0; }

@media (max-width: 760px) {
  .story, .two, .pair { grid-template-columns: 1fr; }
  .vehicles img { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .hero-photo { object-position: 42% 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
