@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-latin-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/fonts/space-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #120d0d;
  --paper: #f4eee6;
  --muted: #c5b6b1;
  --red: #fb7869;
  --line: #3c2827;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --mono: "Space Mono", monospace;
  font-family: Barlow, sans-serif;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  z-index: 3;
  inset: .75rem auto auto 1rem;
  padding: .55rem .85rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.frame {
  width: min(88%, 84rem);
  margin-inline: auto;
}

.site-header {
  background: #150f0f;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 4.625rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .7rem;
  font: 900 1.5rem/.95 var(--display);
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav, .header-label, .art-label, .divider, .back-link, .eyebrow, .hero-link {
  font: 400 .7rem/1.4 var(--mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}

.nav { display: flex; gap: clamp(1.25rem, 3.15vw, 3rem); }
.nav a, .back-link { color: var(--muted); transition: color 180ms ease; }
.nav a[aria-current="page"], .nav a:hover, .back-link:hover { color: var(--paper); }

.header-label {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .46rem .7rem;
  color: var(--red);
  border: 1px solid #653732;
  white-space: nowrap;
}

.signal {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #140c0b;
}

.hero-art, .hero-art::after {
  position: absolute;
  inset: 0;
}

.hero-art { z-index: -1; }

.hero-art::after {
  content: "";
  background:
    linear-gradient(90deg, #140b0cf2 0%, #140b0c9c 24%, #140b0c17 53%, transparent 76%),
    linear-gradient(0deg, #140b0cea, transparent 22%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 45%;
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 43rem;
  min-height: clamp(41rem, calc(100svh - 8.35rem), 55rem);
  padding-block: 3.25rem 4rem;
}

.hero-content { width: max-content; max-width: 100%; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--red);
}

.eyebrow span {
  height: 1px;
  width: 1.65rem;
  background: currentColor;
}

.hero h1, .about h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1.28rem 0 1.25rem -.025em;
  font-size: clamp(7.4rem, 12.6vw, 12.5rem);
  line-height: .76;
  letter-spacing: -.025em;
}

.hero h1 span { display: block; }

@supports (background-clip: text) {
  .hero h1 {
    background: var(--paper) url("/img/type-grain.svg") repeat;
    background-clip: text;
    color: transparent;
  }
}

.tagline {
  color: var(--red);
  font: 900 clamp(1.6rem, 3vw, 2.85rem)/1.05 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-copy {
  margin-top: .85rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.hero-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 1.45rem;
  min-height: 3.2rem;
  margin-top: 1.65rem;
  padding: .85rem 1.08rem .85rem 1.2rem;
  color: #170d0c;
  font-size: .73rem;
  letter-spacing: .075em;
}

.hero-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .65rem), calc(100% - .65rem) 100%, 0 100%);
  transition: background-color 180ms ease;
}

.hero-link svg { transition: transform 180ms ease; }
.hero-link:hover::before { background: #ffab9d; }
.hero-link:hover svg { transform: translateY(3px); }

.art-label {
  position: absolute;
  inset: auto 0 1.7rem auto;
  padding: .48rem .65rem;
  color: var(--muted);
  background: #190e0edb;
  border: 1px solid #5e3936;
}

.art-label span { color: var(--red); }

.divider {
  background: #1b1010;
  border-block: 1px solid var(--line);
  color: var(--muted);
}

.divider-inner {
  min-height: 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.8rem, 4vw, 3.5rem);
}

.divider-inner > span:first-child { color: var(--red); }

.divider-line {
  height: .45rem;
  background: repeating-linear-gradient(120deg, transparent 0 4px, #58302d 4px 5px, transparent 5px 8px);
}

.about {
  padding-block: clamp(4rem, 10vw, 9rem);
}

.about h2 {
  margin-top: .95rem;
  font-size: clamp(3.25rem, 7.5vw, 7.5rem);
  line-height: .9;
  letter-spacing: -.01em;
}

.about h2 em { color: var(--red); font-style: normal; }

.about > p:last-child {
  margin-top: 1.5rem;
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
}

.footer-inner .brand { font-size: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.5rem; }
.back-link span { color: var(--red); }

.policy-masthead {
  padding-block: clamp(2.75rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(112deg, #211312, var(--ink) 78%);
}

.policy-masthead h1 {
  max-width: 15ch;
  font: 900 clamp(3rem, 9vw, 8rem)/.86 var(--display);
  text-transform: uppercase;
}

.policy-masthead h1 span {
  display: block;
  margin-top: .55rem;
  color: var(--red);
  font-size: .36em;
  letter-spacing: .045em;
}

.policy-masthead .eyebrow { margin-top: 1.6rem; color: var(--muted); }
.policy-masthead .eyebrow strong { font-weight: inherit; }
.policy-masthead .eyebrow span { color: var(--red); }

.policy-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 68ch);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 8vw, 7rem);
}

.policy-index {
  align-self: start;
  position: sticky;
  top: 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-top-color: var(--red);
  background: #1b1010;
}

.policy-index ol {
  margin: .75rem 0 0;
  padding-inline-start: 1.65rem;
  list-style: decimal-leading-zero;
}

.policy-index li::marker { color: var(--red); font: .7rem var(--mono); }
.policy-index a { display: block; padding: .3rem 0; color: var(--muted); }
.policy-index a:hover { color: var(--paper); text-decoration: underline; }

.policy-copy { color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.policy-copy section { scroll-margin-top: 1.5rem; }
.policy-copy section + section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.policy-copy h2 { margin-bottom: .75rem; color: var(--paper); font: 900 clamp(1.85rem, 4vw, 2.5rem)/1.05 var(--display); }
.policy-copy p + p, .policy-copy ul + p { margin-top: .8rem; }
.policy-copy ul { margin-block: .65rem 0; padding-inline-start: 1.4rem; }
.policy-copy li + li { margin-top: .35rem; }
.policy-copy li::marker { color: var(--red); }
.policy-copy strong { color: var(--paper); }
.policy-copy a { color: var(--red); text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.policy-copy a:hover { color: var(--paper); }

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 4rem; }
  .header-label { display: none; }
  .hero h1 { font-size: clamp(5.4rem, 15.5vw, 8.5rem); }
  .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .policy-index { position: static; }
}

@media (max-width: 640px) {
  .hero-art { bottom: auto; height: clamp(22rem, 78vw, 32rem); }
  .hero-art img { object-position: 57% center; }
  .hero-art::after {
    background:
      linear-gradient(0deg, #140c0b 0%, #140c0b9e 30%, transparent 69%),
      linear-gradient(90deg, #140c0b70, transparent 63%);
  }
  .hero-inner { min-height: auto; padding-block: clamp(12.25rem, 39vw, 17rem) 3.15rem; }
  .hero-content { position: relative; }
  .hero h1 { margin-block: 1.1rem; }
  .art-label { display: none; }
  .divider-inner { min-height: 3rem; font-size: .58rem; letter-spacing: .035em; }
}

@media (max-width: 480px) {
  .header-inner { grid-template-columns: 1fr; gap: .75rem; padding-block: .75rem; }
  .nav { flex-wrap: wrap; gap: .5rem 1.25rem; }
  .footer-inner { padding-block: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
