/* =========================================================================
   CERBERUS GAMES
   Red on black, sharp corners everywhere, condensed display + mono body.
   No framework: everything below is hand written, safe to edit.
   ========================================================================= */

:root {
  --void: #08070a;
  --pitch: #0e0d11;
  --ash: #1a181d;
  --bone: #f2efea;
  --smoke: #9a9399;
  --blood: #e01a1a;
  --ember: #7a0a12;

  --shell: 88rem;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--void);
  color: var(--bone);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  /* The width/height attributes on every <img> reserve layout space (good for
     CLS) but they also act as presentational hints. Without this, any image
     the CSS widens keeps the attribute's pixel height and stretches. The rules
     further down that genuinely want a fixed or full height are more specific,
     so they still win. */
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blood);
  color: var(--bone);
}

:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- type ---------------------------------------------------------------- */

.display {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.005em;
  margin: 0;
}

.pixel {
  font-family: "Silkscreen", "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blood);
}

.dim {
  color: var(--smoke);
}

.prose p {
  color: var(--smoke);
  max-width: 58ch;
}

.prose p + p {
  margin-top: 1.5rem;
}

.prose strong {
  color: var(--bone);
  font-weight: 500;
}

/* --- chrome -------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .shell {
    padding-inline: 3.5rem;
  }
}

.notch {
  clip-path: polygon(
    0 7px,
    7px 0,
    calc(100% - 7px) 0,
    100% 7px,
    100% calc(100% - 7px),
    calc(100% - 7px) 100%,
    7px 100%,
    0 calc(100% - 7px)
  );
}

/* Layered image crop frame: hard red rule + corner ticks. */
.frame {
  position: relative;
  border: 2px solid var(--blood);
  background: var(--void);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--blood);
}

.frame::before {
  top: -6px;
  left: -6px;
}

.frame::after {
  bottom: -6px;
  right: -6px;
}

.frame img {
  display: block;
  width: 100%;
}

.frame figcaption {
  border-top: 2px solid var(--blood);
  background: var(--void);
  padding: 0.75rem 1rem;
  font-size: 10px;
  color: var(--smoke);
  text-align: left;
}

.rule {
  border: 0;
  border-top: 1px solid var(--ash);
  margin: 0;
}

.scanline {
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(224, 26, 26, 0.06) 0,
    rgba(224, 26, 26, 0.06) 1px,
    transparent 1px,
    transparent 4px
  );
}

/* --- nav ----------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav[data-sunk="true"] {
  background: rgba(8, 7, 10, 0.92);
  border-bottom-color: var(--ash);
  backdrop-filter: blur(8px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-mark img {
  display: block;
  height: 34px;
  width: auto;
}

.nav-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-word .display {
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--bone);
}

.nav-word .pixel {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.34em;
  color: var(--blood);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--bone);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--ash);
  color: var(--bone);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.nav-panel {
  border-top: 1px solid var(--ash);
  background: var(--void);
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel nav {
  display: flex;
  flex-direction: column;
  padding-block: 1rem;
}

.nav-panel a {
  border-bottom: 1px solid var(--ash);
  padding-block: 0.75rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
}

.nav-panel .cta-nav {
  margin-top: 1.25rem;
  justify-content: center;
  border-bottom: 0;
}

@media (min-width: 640px) {
  .nav-panel .cta-nav {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .nav-panel {
    display: none;
  }
}

/* --- CTA garments: one per intent, no shared button style ---------------- */

.cta-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--blood);
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  box-shadow: inset 0 0 0 0 var(--bone);
  transition: box-shadow 0.18s ease, transform 0.12s ease;
}

@media (min-width: 640px) {
  .cta-nav {
    display: inline-flex;
  }
}

.cta-nav:hover {
  box-shadow: inset 0 0 0 2px var(--bone);
}

.cta-nav:active {
  transform: scale(0.98);
}

.cta-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
  background: var(--blood);
  color: var(--bone);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  isolation: isolate;
  transition: color 0.32s ease;
}

.cta-hero span {
  position: relative;
  z-index: 1;
}

.cta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-hero:hover::before {
  transform: scaleX(1);
}

.cta-hero:hover {
  color: var(--void);
}

.cta-hero .arrow {
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-hero:hover .arrow {
  transform: translateX(6px);
}

.cta-hero:active {
  transform: translateY(1px);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(242, 239, 234, 0.45);
  color: var(--bone);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.6rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-ghost:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--void);
}

.cta-ghost:active {
  transform: translateY(1px);
}

.cta-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
}

.cta-stamp .stamp-block {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--blood);
  color: var(--bone);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-stamp:hover .stamp-block {
  transform: translateY(5px);
}

.cta-frame {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--blood);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-frame .price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.2rem;
  border-right: 2px solid var(--blood);
  background: rgba(224, 26, 26, 0.08);
}

.cta-frame .price img {
  width: 16px;
  height: 16px;
}

.cta-frame .go {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.4rem;
  color: var(--blood);
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-frame:hover .go {
  background: var(--blood);
  color: var(--bone);
}

.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blood);
  transition: color 0.2s ease, gap 0.2s ease;
}

.cta-inline:hover {
  color: var(--blood);
  gap: 1.1rem;
}

.cta-band {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  border-bottom: 2px solid var(--void);
  padding-bottom: 3px;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.cta-band:hover {
  opacity: 0.72;
  gap: 1.1rem;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--blood);
  color: var(--bone);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.25rem 1.6rem;
  transition: background 0.22s ease, color 0.22s ease;
}

.cta-banner:hover {
  background: var(--bone);
  color: var(--void);
}

/* --- on-mount builds (never viewport gated, never stuck invisible) -------- */

@keyframes rise {
  from {
    transform: translateY(22px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes wipe {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.rv {
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.rv-rule {
  transform-origin: left;
  animation: wipe 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rv,
  .rv-rule {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --- depth rail ---------------------------------------------------------- */

.rail {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .rail {
    display: block;
  }
}

.rail ol {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ash);
  transition: color 0.35s ease, transform 0.35s ease;
}

.rail li[data-on="true"] {
  color: var(--blood);
  transform: translateX(3px);
}

.rail .n {
  font-size: 10px;
}

.rail .t {
  display: block;
  height: 1px;
  width: 12px;
  background: currentColor;
  transition: width 0.35s ease;
}

.rail li[data-on="true"] .t {
  width: 28px;
}

/* --- 01 hero ------------------------------------------------------------- */

.hero {
  position: relative;
  height: 200vh;
}

@media (min-width: 1024px) {
  .hero {
    height: 320vh;
  }
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

.hero-stage > img,
.hero-stage > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 7, 10, 0.96) 0%,
    rgba(8, 7, 10, 0.55) 38%,
    rgba(8, 7, 10, 0.25) 70%,
    rgba(8, 7, 10, 0.7) 100%
  );
}

.hero-scan {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero-copy {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .hero-copy {
    padding-bottom: 6rem;
  }
}

.hero-copy h1 {
  max-width: 16ch;
  font-size: 15vw;
  line-height: 0.82;
}

.hero-copy .sub {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: 14px;
  color: var(--smoke);
}

.hero-copy .ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .hero-copy h1 {
    font-size: 11vw;
  }
}

@media (min-width: 1024px) {
  .hero-copy h1 {
    font-size: 8.5rem;
  }
}

/* --- 02 studio ----------------------------------------------------------- */

.studio {
  border-top: 1px solid var(--ash);
}

.studio .grid {
  display: grid;
  gap: 3.5rem;
  padding-block: 6rem;
}

.studio h2 {
  margin-top: 1.5rem;
  font-size: 3.4rem;
  line-height: 0.86;
}

.studio .prose {
  margin-top: 2.5rem;
  font-size: 15px;
}

.studio .cta-stamp {
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .studio .grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 6rem;
    padding-block: 8rem;
  }

  .studio h2 {
    font-size: 5.6rem;
  }

  .studio .plate {
    padding-top: 4rem;
  }
}

/* --- 03 cerbcade --------------------------------------------------------- */

.cerbcade {
  border-top: 1px solid var(--ash);
  background: var(--pitch);
  overflow: hidden;
}

.cerbcade .inner {
  padding-block: 6rem;
  text-align: center;
}

.cerbcade .kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.cerbcade .kicker span.line {
  display: block;
  height: 1px;
  width: 4rem;
  background: var(--blood);
}

.cerbcade .kicker span.txt {
  font-size: 10px;
  color: var(--blood);
}

.cerbcade .wordmark {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 1.5rem auto 0;
}

.cerbcade .lede {
  margin: 0.5rem auto 0;
  max-width: 52ch;
  font-size: 14px;
  color: var(--smoke);
}

.cerbcade .key-art {
  max-width: 56rem;
  margin: 3.5rem auto 0;
}

.cerbcade .buy {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  max-width: 48rem;
  margin: 5rem auto 0;
}

.facts .v {
  font-size: 3rem;
}

.facts .k {
  margin-top: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}

.shots {
  display: grid;
  gap: 1.5rem;
  margin-top: 5rem;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cerbcade .inner {
    padding-block: 8rem;
  }

  .facts .v {
    font-size: 3.75rem;
  }
}

/* --- 04 games diptych ---------------------------------------------------- */

.games {
  border-top: 1px solid var(--ash);
}

.games .split {
  display: grid;
}

@media (min-width: 1024px) {
  .games .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel + .panel {
    border-left: 1px solid var(--ash);
  }
}

.panel {
  position: relative;
  overflow: hidden;
}

.panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel .veil {
  position: absolute;
  inset: 0;
}

/* The art under these panels is bright, so the veil carries most of the text
   contrast. Keep the mid stop dark enough for the red kicker to read. */
.panel-hellfall .veil {
  background: linear-gradient(
    180deg,
    rgba(8, 7, 10, 0.92) 0%,
    rgba(122, 10, 18, 0.62) 48%,
    rgba(8, 7, 10, 0.96) 100%
  );
}

.panel-graveshift .veil {
  background: linear-gradient(
    180deg,
    rgba(8, 7, 10, 0.92) 0%,
    rgba(8, 7, 10, 0.7) 48%,
    rgba(8, 7, 10, 0.96) 100%
  );
}

.panel .body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 34rem;
  padding: 2rem;
}

.panel .body > img {
  width: 40px;
  height: 40px;
}

.panel h3 {
  margin-top: 2rem;
  font-size: 3.6rem;
  line-height: 0.86;
}

.panel .kick {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--blood);
}

.panel .copy {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: 14px;
  color: var(--smoke);
}

.panel .cta-inline {
  align-self: flex-start;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .panel .body {
    padding: 4rem;
  }

  .panel h3 {
    font-size: 5rem;
  }
}

/* --- 05 modes rail ------------------------------------------------------- */

.modes {
  border-top: 1px solid var(--ash);
  padding-block: 6rem;
}

.modes h2 {
  margin-top: 1.5rem;
  max-width: 18ch;
  font-size: 3.2rem;
  line-height: 0.86;
}

.rail-track {
  display: flex;
  gap: 1px;
  margin-top: 3.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-block: 1px solid var(--ash);
  background: var(--ash);
  scrollbar-width: none;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.rail-track article {
  flex: 0 0 auto;
  width: 80vw;
  scroll-snap-align: start;
  background: var(--void);
  padding: 2rem;
}

.rail-track article img {
  width: 44px;
  height: 44px;
}

.rail-track h3 {
  margin-top: 2rem;
  font-size: 2.25rem;
}

.rail-track .tick {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 1rem;
  background: var(--blood);
}

.rail-track p.copy {
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--smoke);
}

.rail-track p.tag {
  margin-top: 2rem;
  font-size: 10px;
  color: #6e686f;
}

.rail-end {
  flex: 0 0 auto;
  width: 2rem;
  background: var(--void);
}

@media (min-width: 640px) {
  .rail-track article {
    width: 52vw;
  }
}

@media (min-width: 1024px) {
  .modes {
    padding-block: 8rem;
  }

  .modes h2 {
    font-size: 5rem;
  }

  .rail-track article {
    width: 26vw;
    padding: 2.5rem;
  }
}

/* --- 06 promise band ----------------------------------------------------- */

.promise {
  background: var(--blood);
  padding-block: 6rem;
  text-align: center;
}

.promise h2 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: 13vw;
  line-height: 0.82;
  color: var(--void);
}

.promise p {
  max-width: 54ch;
  margin: 2rem auto 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--void);
  opacity: 0.8;
}

.promise .cta-band {
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .promise h2 {
    font-size: 9vw;
  }
}

@media (min-width: 1024px) {
  .promise {
    padding-block: 8rem;
  }

  .promise h2 {
    font-size: 7.5rem;
  }
}

/* --- 07 community -------------------------------------------------------- */

.community {
  position: relative;
  overflow: hidden;
}

.community > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 7, 10, 0.96) 0%,
    rgba(8, 7, 10, 0.86) 45%,
    rgba(8, 7, 10, 0.35) 100%
  );
}

.community .inner {
  position: relative;
  padding-block: 6rem;
}

.community .box {
  max-width: 42rem;
}

.community h2 {
  font-size: 3.4rem;
  line-height: 0.86;
}

.community .sub {
  margin-top: 1.5rem;
  max-width: 48ch;
  font-size: 14px;
  color: var(--smoke);
}

.community .cta-banner {
  margin-top: 3rem;
}

.community .press {
  margin-top: 2rem;
  font-size: 12px;
  color: var(--smoke);
}

.community .press a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--blood);
  text-underline-offset: 4px;
}

@media (min-width: 1024px) {
  .community .inner {
    padding-block: 9rem;
  }

  .community h2 {
    font-size: 6rem;
  }
}

/* --- footer -------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--ash);
  background: var(--void);
}

.foot .inner {
  padding-block: 4rem;
}

.foot .cols {
  display: grid;
  gap: 3rem;
}

.foot .brand img {
  height: 104px;
  width: auto;
}

.foot .brand p {
  margin-top: 1.5rem;
  max-width: 34ch;
  font-size: 13px;
  color: var(--smoke);
}

.foot .brand a.mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--blood);
  text-underline-offset: 4px;
}

.foot .col h2 {
  font-family: "Silkscreen", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blood);
}

.foot .col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.foot .col a {
  font-size: 13px;
  color: var(--smoke);
  transition: color 0.2s ease;
}

.foot .col a:hover {
  color: var(--bone);
}

.foot .base {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ash);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}

.foot .base .tm {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.foot .base .tm img {
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .foot .base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .foot .inner {
    padding-block: 5rem;
  }

  .foot .cols {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  }
}

/* --- legal pages + 404 --------------------------------------------------- */

.page {
  padding-top: var(--nav-h);
}

.page .inner {
  max-width: 48rem;
  padding-block: 5rem;
}

.page h1 {
  margin-top: 1.25rem;
  font-size: 3.2rem;
  line-height: 0.88;
}

.page .rv-rule {
  margin-top: 2.5rem;
}

.clauses {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.clauses h2 {
  font-size: 1.5rem;
}

.clauses .prose {
  margin-top: 1rem;
}

.clauses .prose p {
  font-size: 14px;
  max-width: none;
}

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding-inline: 1.5rem;
  text-align: center;
}

.notfound img {
  width: 100%;
  max-width: 42rem;
}

.notfound h1 {
  margin-top: 0.75rem;
  font-size: 3rem;
}

.notfound p.sub {
  margin-top: 1rem;
  font-size: 14px;
  color: var(--smoke);
}

.notfound .cta-ghost {
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .page .inner {
    padding-block: 7rem;
  }

  .page h1 {
    font-size: 3.75rem;
  }
}
