
@font-face { font-family: Saira; src: url(fonts/Saira.ttf) format('truetype'); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: Departure; src: url(fonts/DepartureMono.otf) format('opentype'); font-display: swap; }

:root {
  --bone: #ece4d3; --bone-2: #dfd5c0; --ink: #17130e; --ink-2: #51483a; --paper-ink: #f3ecdd;
  --amber: #f0a22b; --rust: #a63a14;
  --gut: clamp(18px, 5vw, 76px); --pad: 30px;
  --left: calc(var(--gut) + var(--pad));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font: 400 18px/1.55 Saira, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }


.nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px var(--gut); background: var(--ink); color: var(--paper-ink); }
.nav__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: 23px; text-transform: uppercase; letter-spacing: .01em; }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font-weight: 600; font-size: 16px; font-stretch: 85%; }
.nav nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover, .nav nav a[aria-current] { border-color: var(--amber); }

/* the tether: one line, running through every section down to the footer logo */
.t { position: relative; display: block; padding: clamp(56px, 8vw, 112px) var(--gut) clamp(56px, 8vw, 112px) var(--left); }
.t::before { content: ""; position: absolute; left: var(--gut); top: 0; bottom: 0; width: 3px; background: currentColor; z-index: 2; }

.bone { background: var(--bone); color: var(--ink); }
.ink { background: var(--ink); color: var(--paper-ink); }
.amber { background: var(--amber); color: var(--ink); }

.mark { position: relative; font: 15px/1.3 Departure, monospace; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.mark::before { content: ""; position: absolute; left: calc(var(--pad) * -1 - 6px); top: 2px; width: 15px; height: 15px; background: currentColor; z-index: 3; }
.mark > span, .mark > a > span { font-weight: 400; background: currentColor; padding: 2px 7px; margin-right: 6px; }
.mark > span { color: inherit; }
.bone .mark > span, .amber .mark > span, .band--td .mark > span, .bone .mark > a > span { background: var(--ink); color: var(--bone); }
.ink .mark > span, .lead .mark > span, .heroes .mark > span, .band--rr .mark > span, .band--rc .mark > span, .nextup .mark > span { background: var(--paper-ink); color: var(--ink); }
.mark--on > span { background: var(--amber) !important; color: var(--ink) !important; }

.display { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(58px, 9vw, 132px); line-height: .9; letter-spacing: -.005em; }
.display--xl { font-size: clamp(72px, 12vw, 176px); }
.display--md { font-size: clamp(50px, 7vw, 96px); }
.display--sm { font-size: clamp(40px, 5.2vw, 74px); line-height: .96; }
.lede { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.35; font-weight: 500; max-width: 34em; }
.lede--tag { font-stretch: 75%; font-weight: 700; text-transform: uppercase; }
.meta { font: 15px/1.4 Departure, monospace; margin-top: 18px; }
p + p { margin-top: .8em; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 13px 22px 12px; background: var(--ink); color: var(--bone); border: 2px solid var(--ink); text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: 21px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 currentColor; }
.btn--amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--amber:hover { box-shadow: 4px 4px 0 var(--paper-ink); }
.btn--ghost { background: transparent; color: var(--paper-ink); border-color: var(--paper-ink); }
.btn--line, .btn--inkline { background: transparent; color: inherit; border-color: currentColor; }
.btn--inkline { margin-top: 0; }
.soon { display: inline-block; padding: 12px 0; font: 15px Departure, monospace; text-transform: uppercase; }

.stats { display: flex; flex-wrap: wrap; gap: 8px clamp(22px, 3.4vw, 50px); margin-top: 28px; }
.stats b { display: block; font-weight: 800; font-stretch: 62%; font-size: clamp(44px, 4.6vw, 66px); line-height: 1; }
.stats span { font: 14px Departure, monospace; text-transform: uppercase; }

/* the Steam lead */
.lead { min-height: min(84vh, 820px); display: flex; align-items: flex-end; background: var(--ink); color: var(--paper-ink); overflow: hidden; }
.lead video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,19,14,.9) 0%, rgba(23,19,14,.72) 34%, rgba(23,19,14,0) 68%), linear-gradient(0deg, rgba(23,19,14,.72), rgba(23,19,14,0) 45%); }
.lead__copy { position: relative; z-index: 3; max-width: 640px; }
.lead__logo { width: min(520px, 100%); margin-bottom: 20px; }
.lead--page { min-height: min(90vh, 880px); }
.lead .meta a { text-underline-offset: 3px; }

.statement { font-weight: 700; font-stretch: 72%; font-size: clamp(36px, 5.2vw, 76px); line-height: 1.02; max-width: 21em; }
.intro { padding-bottom: clamp(48px, 6vw, 84px); }

/* game worlds */
.band { overflow: hidden; padding-bottom: 0; }
.band--td { background: #e4b45c; color: #241808; }
.band--rr { background: #0d2c3e; color: #e8f7ff; }
.band--rc { background: #4c1412; color: #fbe7dd; }
.band--rr .btn { background: #58d5ff; color: #06202c; border-color: #58d5ff; }
.band--rr .btn--line { background: transparent; color: #e8f7ff; border-color: #e8f7ff; }
.band--rc .btn { background: #fbe7dd; color: #4c1412; border-color: #fbe7dd; }
.band--td .btn--line { color: #241808; }
.band__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.band__text { padding-bottom: clamp(56px, 8vw, 112px); }
.band__text .lede { margin-top: 18px; }
.stamp { display: inline-block; margin-top: 16px; padding: 4px 10px; font: 16px Departure, monospace; text-transform: uppercase; border: 2px solid currentColor; }
.phones { display: flex; gap: clamp(10px, 1.4vw, 20px); justify-content: flex-end; align-items: flex-end; }
.phones img { flex: 1 1 0; min-width: 0; max-width: 300px; border-radius: 16px 16px 0 0; border: 3px solid rgba(0,0,0,.65); border-bottom: 0; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; }
.phones img:nth-child(2) { aspect-ratio: 9 / 13; }
.phones img:nth-child(3) { aspect-ratio: 9 / 11; }
.phones--1 img { max-width: 380px; }
.horde { align-self: end; }
.horde img { width: 100%; image-rendering: pixelated; }

.band--page .band__text { padding-bottom: clamp(56px, 8vw, 96px); }
.closer.band { padding-bottom: clamp(56px, 8vw, 112px); }

/* classics shelf */
.shelf__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; margin-bottom: 36px; }
.tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px) clamp(10px, 1.6vw, 22px); margin-bottom: 36px; }
.tile { text-decoration: none; font-weight: 700; font-stretch: 80%; font-size: 17px; line-height: 1.15; }
.tile img { width: 100%; margin-bottom: 8px; transition: transform .12s; }
.tile:hover img { transform: translateY(-4px); }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(243,236,221,.3); }
.promises > div { padding: 22px 30px 0 0; }
.promises > div + div { padding-left: 30px; border-left: 1px solid rgba(243,236,221,.3); }
.promises h3 { font-weight: 800; font-stretch: 72%; font-size: 30px; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.promises p { font-size: 17px; }

/* Crashers page */
.facts { padding-top: 34px; padding-bottom: 34px; }
.facts dl { display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 4.4vw, 64px); }
.facts dt { font: 14px Departure, monospace; text-transform: uppercase; color: var(--amber); }
.facts dd { font-weight: 600; }
.facts dd a { margin-right: 12px; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split h2 { margin-bottom: 18px; }
.split__art video { width: 100%; border: 3px solid var(--ink); }
.build h2 { max-width: 15em; }
.build__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 3px solid currentColor; counter-reset: b; }
.build__list li { padding: 16px 20px 0 0; font-size: 17px; line-height: 1.4; }
.build__list li + li { padding-left: 20px; border-left: 3px solid currentColor; }
.build__list b { display: block; font-weight: 800; font-stretch: 72%; font-size: 28px; line-height: 1.05; text-transform: uppercase; margin-bottom: 8px; }
.heroes { background: var(--ink); color: var(--paper-ink); padding-top: 0; }
.heroes__art { width: calc(100% + var(--left) + var(--gut)); max-width: none; margin: 0 calc(var(--gut) * -1) 40px calc(var(--left) * -1); height: clamp(280px, 46vw, 640px); object-fit: cover; object-position: 50% 30%; }
.heroes__copy { position: relative; z-index: 3; }
.roster { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; font: 16px Departure, monospace; text-transform: uppercase; color: var(--amber); }
.places h2 { margin-bottom: 32px; max-width: 16em; }
.places__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.places figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border: 3px solid var(--ink); }
.places .noart { aspect-ratio: 2 / 1; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-weight: 800; font-stretch: 62%; font-size: clamp(32px, 4vw, 56px); text-transform: uppercase; }
.places figcaption { margin-top: 8px; font: 15px Departure, monospace; text-transform: uppercase; }
.places figcaption b { font-weight: 400; background: var(--ink); color: var(--bone); padding: 1px 6px; margin-right: 6px; }
.closer .lede { margin-top: 14px; }

.nextup { text-decoration: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.nextup .mark { margin: 0; }
.nextup--td { background: #e4b45c; color: #241808; }
.nextup--td .mark > span { background: #241808; color: #e4b45c; }
.nextup--rr { background: #0d2c3e; color: #e8f7ff; }
.nextup--rc { background: #4c1412; color: #fbe7dd; }

/* flagship steps */
.statsband { padding-top: 34px; padding-bottom: 34px; }
.statsband .stats { margin: 0; justify-content: space-between; }
.steps { padding-top: 0; padding-bottom: 0; }
.step { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid rgba(23,19,14,.25); }
.step:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.step:nth-child(even) .step__art { order: 2; }
.step__art img { width: 100%; border: 3px solid var(--ink); border-radius: 14px; }
.step .mark::before { display: none; }
.step__text h2 { margin-bottom: 14px; max-width: 12em; }
.step__text > p:last-child { max-width: 32em; font-size: 20px; }
.build__list--bone { margin-top: 28px; }

/* catalogue */
.catalogue { padding-top: 0; }
.entry { display: grid; grid-template-columns: 76px minmax(0, 3fr) minmax(0, 4fr) minmax(0, 150px); grid-template-areas: "i n c s" "i t c s"; column-gap: 24px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(23,19,14,.28); text-decoration: none; }
.entry img { grid-area: i; width: 76px; }
.entry__name { grid-area: n; align-self: end; font-weight: 800; font-stretch: 66%; text-transform: uppercase; font-size: 33px; line-height: 1; }
.entry__tag { grid-area: t; align-self: start; font-size: 16px; color: var(--ink-2); }
.entry__content { grid-area: c; font-size: 16px; line-height: 1.35; }
.entry__state { grid-area: s; font: 13px/1.3 Departure, monospace; text-transform: uppercase; text-align: right; color: var(--ink-2); }
.entry__state--live { color: var(--rust); }
.entry:hover .entry__name { color: var(--rust); }

/* classic detail */
.classic { padding-bottom: 28px; }
.classic__head { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.classic__head img { width: clamp(84px, 11vw, 136px); }
.classic__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); }
.beats { counter-reset: n; border-top: 3px solid var(--ink); }
.beats li { counter-increment: n; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(23,19,14,.28); font-weight: 600; font-size: 17px; line-height: 1.35; }
.beats li::before { content: counter(n); font: 15px/1.5 Departure, monospace; }
.gallery { display: flex; gap: 16px; overflow-x: auto; padding-top: 12px; padding-bottom: 40px; }
.gallery img { flex: 0 0 auto; width: clamp(180px, 22vw, 270px); border: 3px solid var(--ink); border-radius: 12px; }
.pager { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(23,19,14,.28); font-weight: 700; font-stretch: 80%; font-size: 20px; }
.pager a { text-decoration: none; }
.pager a:hover { color: var(--rust); }

/* support and legal */
.prose { max-width: none; font-size: 18px; }
.prose > * { max-width: 760px; }
.prose h1 { margin-bottom: 18px; }
.prose h2:not(.display) { font-weight: 800; font-stretch: 72%; font-size: 36px; text-transform: uppercase; margin: 48px 0 10px; scroll-margin-top: 12px; }
.prose a { color: var(--rust); text-underline-offset: 3px; }
.prose ul { list-style: square; padding-left: 20px; margin: .6em 0; }
.prose p { margin-bottom: .8em; }
.dim { color: var(--ink-2); }
.help-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 26px 0; padding: 22px 0; border-block: 3px solid var(--ink); }
.help-card h2 { margin-top: 0 !important; }
.help-card__label { font: 15px Departure, monospace; text-transform: uppercase; }
.help-card ul { list-style: square; padding-left: 20px; font-size: 16px; margin-top: 6px; }
.help-topics { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 15px Departure, monospace; text-transform: uppercase; }
.help-topics a { color: var(--ink); }
.faq { border-top: 1px solid rgba(23,19,14,.28); }
.faq summary { cursor: pointer; padding: 11px 0; font-weight: 700; }
.faq__a { padding-bottom: 14px; color: var(--ink-2); }
.faq__a ul, .faq__a ol { list-style: square; padding-left: 20px; }

.foot { position: relative; padding: 0 var(--gut) 34px; background: var(--ink); color: var(--paper-ink); }
.foot__end { position: relative; height: 96px; }
.foot__end::before { content: ""; position: absolute; left: 0; top: 0; height: 48px; width: 3px; background: currentColor; }
.foot__end img { position: absolute; left: -27px; top: 40px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 28px clamp(44px, 8vw, 120px); margin-top: 24px; padding-left: var(--pad); }
.foot h2 { font: 14px Departure, monospace; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.foot__cols a { display: block; text-decoration: none; padding: 3px 0; font-size: 17px; }
.foot__cols a:hover { color: var(--amber); }
.foot__legal { margin-top: 34px; padding-left: var(--pad); font-size: 14px; opacity: .7; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  :root { --pad: 22px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav nav { font-size: 15px; gap: 16px; }
  .lead { min-height: 640px; }
  .lead::after { background: linear-gradient(0deg, rgba(23,19,14,.94) 30%, rgba(23,19,14,.2) 76%); }
  .band__grid, .shelf__head, .split, .classic__body { grid-template-columns: minmax(0, 1fr); }
  .band__text { padding-bottom: 0; }
  .band__grid { gap: 32px; }
  .phones { justify-content: flex-start; }
  .phones img:nth-child(3) { display: none; }
  .phones--1 img { max-width: 76%; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promises, .build__list, .places__grid { grid-template-columns: minmax(0, 1fr); }
  .promises > div, .promises > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(243,236,221,.3); }
  .build__list li, .build__list li + li { padding: 14px 0; border-left: 0; border-bottom: 2px solid currentColor; }
  .places__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step:nth-child(even) .step__art { order: 0; }
  .step__art { max-width: 74%; }
  .statsband .stats { justify-content: flex-start; }
  .entry { grid-template-columns: 60px minmax(0, 1fr); grid-template-areas: "i n" "i t" "i s"; column-gap: 14px; }
  .entry img { width: 60px; }
  .entry__name { font-size: 28px; }
  .entry__content { display: none; }
  .entry__state { text-align: left; margin-top: 2px; }
  .help-card { grid-template-columns: minmax(0, 1fr); }
  .foot__end img { left: -26px; }
}
@media (max-width: 480px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .places__grid { grid-template-columns: minmax(0, 1fr); }
  .btn { font-size: 19px; padding: 12px 16px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile img { transition: none; }
}
