@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Silkscreen";
  src: url("assets/fonts/Silkscreen-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --panel: #14171d;
  --line: #353d49;
  --text: #f4f1e8;
  --muted: #98a2b0;
  --accent: #ff3b2f;
  --content-start: 6;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
  content: "";
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.utility-nav,
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.utility-nav__links,
.page-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.utility-nav a,
.page-footer a {
  color: var(--text);
  text-decoration: none;
}

.utility-nav a:hover,
.utility-nav a:focus-visible,
.page-footer a:hover,
.page-footer a:focus-visible,
.utility-nav a[aria-current="page"] {
  color: var(--accent);
}

.utility-nav__brand {
  color: #fff;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.6;
  text-transform: lowercase;
}

header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(52px, 9vw, 112px) 0 clamp(48px, 7vw, 84px);
  border-bottom: 2px solid var(--text);
}

.eyebrow {
  grid-column: 1 / 5;
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 0.68em;
  height: 0.68em;
  margin-right: 0.8em;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 760;
  letter-spacing: -0.055em;
}

h1.brand {
  grid-column: 1 / 7;
  align-self: end;
  margin: 22px 0 0;
  font-size: 0;
  line-height: 0;
}

.brand img {
  display: block;
  width: min(500px, 100%);
  height: auto;
  image-rendering: pixelated;
}

.page-intro {
  grid-column: 8 / 13;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.lede {
  max-width: 560px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  font-weight: 570;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-transform: uppercase;
}

section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 20px;
  padding: clamp(34px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

section.no-divider-after {
  border-bottom: 0;
}

section > h2 {
  grid-column: 1 / 5;
  align-self: start;
  margin: 0 0 22px;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 0.98;
}

section > :not(h2) {
  grid-column: var(--content-start) / 13;
}

p,
ul {
  margin: 0 0 18px;
}

section > :last-child,
.card > :last-child {
  margin-bottom: 0;
}

ul {
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

li::before {
  position: absolute;
  top: 1.25em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
}

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 72%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover,
a:focus-visible {
  color: var(--text);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: min(100%, 250px);
  padding: 13px 16px;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.page-intro .button {
  width: 100%;
}

.button::after {
  font-size: 1.15em;
  content: "↗";
}

.button:hover,
.button:focus-visible {
  color: var(--accent);
  background: transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.grid .card {
  min-width: 0;
  margin: 0;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.grid h3 {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 790;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

section.card {
  margin: clamp(30px, 5vw, 58px) 0;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  background: var(--accent);
  color: var(--bg);
}

section.card .meta {
  color: color-mix(in srgb, var(--bg) 68%, transparent);
}

section.card a {
  color: var(--bg);
  text-decoration-color: color-mix(in srgb, var(--bg) 65%, transparent);
}

.page-footer {
  justify-content: flex-start;
  min-height: 96px;
  margin-top: 24px;
  border-top: 2px solid var(--text);
  border-bottom: 0;
}

.page-footer__mark {
  color: var(--muted);
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  :root { --content-start: 5; }

  header { padding-top: 64px; }
  h1.brand { grid-column: 1 / 7; }
  .page-intro { grid-column: 7 / 13; }
  section > h2 { grid-column: 1 / 4; }
}

@media (max-width: 700px) {
  :root { --content-start: 1; }

  body {
    font-size: 16px;
  }

  main {
    width: min(100% - 32px, 620px);
    padding-top: 22px;
  }

  .utility-nav {
    align-items: flex-start;
    min-height: 0;
    padding: 16px 0 18px;
  }

  .utility-nav__links { justify-content: flex-end; }

  header {
    display: block;
    padding: 48px 0 44px;
  }

  h1.brand { margin: 28px 0 40px; }

  .page-intro { gap: 18px; }

  section {
    display: block;
    padding: 38px 0 44px;
  }

  section > h2 {
    max-width: 16ch;
    margin-bottom: 30px;
  }

  .grid { grid-template-columns: 1fr; }

  section.card {
    margin: 24px -16px;
    padding: 32px 16px 38px;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0 10px;
  }
}

@media (max-width: 440px) {
  main { width: calc(100% - 24px); }

  .utility-nav {
    flex-direction: column;
    gap: 12px;
  }

  .utility-nav__links {
    justify-content: flex-start;
    gap: 8px 18px;
  }

  .brand img { width: 100%; }

  .lede { font-size: 1.18rem; }

  section > h2 { font-size: 1.65rem; }

  section.card { margin-inline: -12px; }

}

@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --text: #000;
    --muted: #444;
    --line: #aaa;
  }

  body { background: #fff; }
  body::before, .utility-nav, .page-footer { display: none; }
  main { width: 100%; padding: 0; }
  header { padding-top: 0; }
  section.card { color: #000; background: #eee; }
}
