@font-face { font-family: "Jost"; src: url("../fonts/jost-300.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-800.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-ink);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked, body.is-loading { overflow: hidden; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: var(--lh-heading); letter-spacing: var(--tracking-heading); }
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
strong { font-weight: 600; }
em { font-style: normal; color: var(--c-lime); }
::selection { background: var(--c-lime); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-lime); outline-offset: 4px; }
.band--paper :focus-visible, .band--lime :focus-visible { outline-color: var(--c-ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  transform: translateY(-140%);
  background: var(--c-lime); color: var(--c-ink);
  padding: 10px 16px; font-weight: 600; border-radius: var(--r-2);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }
.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;
}
.mono { font-family: var(--font-mono); font-variant-ligatures: none; }
.nowrap { white-space: nowrap; }

/* Decorative PlayStation-inspired glyphs. Solid marks, never outlined type. */
.glyph {
  display: inline-grid; place-items: center;
  width: 1.15em; height: 1.15em;
  font-family: var(--font-mono); font-weight: 700;
  line-height: 1; color: currentColor;
  user-select: none;
}
.glyph--x::before { content: "×"; font-size: 1.2em; }
.glyph--tri::before { content: "△"; }
.glyph--cir::before { content: "○"; }
.glyph--sq::before { content: "□"; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
