@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #e8e5df;
  --ink: #111;
  --muted: rgba(17, 17, 17, 0.66);
  --line: rgba(17, 17, 17, 0.2);
  color-scheme: light;
  font-family: 'Inter', system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  transform: translateY(-120%);
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, 90vw);
  margin: 0 auto;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.back-link {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

article {
  width: min(1400px, 90vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(770px, 86vh);
  padding: clamp(5rem, 10vw, 9rem) 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: '';
  position: absolute;
  top: clamp(3rem, 8vw, 6rem);
  right: clamp(-11rem, -5vw, -4rem);
  width: min(52vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 5vw rgba(17, 17, 17, 0.025),
    0 0 0 10vw rgba(17, 17, 17, 0.018);
}

.eyebrow,
.section-index {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  max-width: 1100px;
  margin-top: 2.2rem;
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero h1 em {
  font-weight: 300;
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 4rem;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement,
.identity {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(6rem, 11vw, 11rem) 0;
  border-bottom: 1px solid var(--line);
}

.statement > div,
.identity > div {
  max-width: 850px;
}

.statement h2,
.sources h2,
.identity h2 {
  margin-bottom: 2.4rem;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.press-quote {
  margin-bottom: 2rem;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 350;
  line-height: 1.65;
}

.press-quote p {
  color: var(--ink);
  font-style: italic;
}

.press-quote strong {
  font-weight: 700;
}

.press-quote footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-quote cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.statement .context-copy,
.identity p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
}

.identity strong {
  color: var(--ink);
  font-weight: 600;
}

.sources {
  padding: clamp(6rem, 11vw, 11rem) 0;
  border-bottom: 1px solid var(--line);
}

.sources-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.sources-heading h2 {
  margin-bottom: 1.2rem;
}

.sources-heading > p:last-child {
  grid-column: 2;
  max-width: 620px;
  margin-top: -1rem;
  color: var(--muted);
}

.source-list {
  margin-top: 5rem;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.source-list a {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease, background 0.3s ease;
}

.source-list a:hover,
.source-list a:focus-visible {
  padding-right: 1rem;
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.28);
}

.source-number,
.source-action,
.source-list small {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.source-list a > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.source-list strong {
  font-size: 1rem;
  font-weight: 600;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.primary-link span {
  transition: transform 0.25s ease;
}

.primary-link:hover span {
  transform: translate(3px, -3px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(1400px, 90vw);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header {
    padding: 1.35rem 0;
  }

  .hero {
    min-height: 670px;
    padding-top: 6rem;
  }

  .hero::before {
    top: 14rem;
    right: -14rem;
    width: 29rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 19vw, 6.6rem);
    line-height: 0.86;
  }

  .hero-meta {
    right: auto;
    bottom: 3rem;
    left: 0;
    align-items: flex-start;
  }

  .statement,
  .identity,
  .sources-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sources-heading > p:last-child {
    grid-column: auto;
    margin-top: -1.4rem;
  }

  .source-list {
    margin-top: 3.5rem;
  }

  .source-list a {
    grid-template-columns: 36px 1fr auto;
    gap: 0.7rem;
  }

  .source-action {
    font-size: 0;
  }

  .source-action::after {
    content: '↗';
    font-size: 0.9rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  footer,
  .skip-link {
    display: none;
  }

  article {
    width: 100%;
  }
}
