@charset "UTF-8";

/* ==========================================================================
   Shared foundation
   ========================================================================== */

:root {
  --color-ink: #171713;
  --color-charcoal: #20211d;
  --color-night: #101310;
  --color-paper: #e9e1cf;
  --color-paper-dark: #d4c9b1;
  --color-ash: #aaa38f;
  --color-red: #a62f20;
  --color-red-bright: #c53a26;
  --color-ink-line: rgba(23, 23, 19, 0.24);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --font-mono: "DM Mono", "Courier New", monospace;
  --page-gutter: clamp(1.25rem, 4vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-ink);
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--color-paper);
  background: var(--color-red);
  font: 500 0.72rem/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-200%);
}

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

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 5.5rem;
  padding: 0 var(--page-gutter);
  color: var(--color-paper);
  border-bottom: 1px solid rgba(233, 225, 207, 0.25);
  font-family: var(--font-mono);
}

.site-header__brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  width: max-content;
  color: inherit;
  font-size: 0.6rem;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-header__brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--color-paper);
  border: 1px solid rgba(233, 225, 207, 0.75);
  border-radius: 50%;
  font: 400 0.65rem/1 var(--font-mono);
  letter-spacing: -0.05em;
}

.site-header__nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.site-header__nav-link,
.site-footer__top-link {
  position: relative;
  font: 400 0.62rem/1 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-header__nav-link::after,
.site-footer__top-link::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-header__nav-link:hover::after,
.site-header__nav-link:focus-visible::after,
.site-footer__top-link:hover::after,
.site-footer__top-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__location {
  justify-self: end;
  margin-bottom: 0;
  font: 400 0.58rem/1.4 var(--font-mono);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ==========================================================================
   Shared editorial components
   ========================================================================== */

.section-label {
  color: var(--color-red-bright);
  font: 500 0.67rem/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.story-lede {
  max-width: 44rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
}

.paper-surface {
  position: relative;
  background-color: var(--color-paper);
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 22h80M0 57h80' stroke='%238a826f' stroke-width='.35' opacity='.18'/%3E%3C/svg%3E");
}

.section-marker {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding-right: 1rem;
  border-right: 1px solid var(--color-ink-line);
  font: 400 0.58rem/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.section-marker__number {
  color: var(--color-red);
  font-size: 1.2rem;
}

.editorial-note {
  position: relative;
  padding: 1.5rem 0 0 1.5rem;
  border-top: 4px solid var(--color-ink);
}

.editorial-note::before {
  position: absolute;
  top: -0.55rem;
  left: -0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--color-red);
  border-radius: 50%;
  content: "";
}

.editorial-note__label {
  color: var(--color-red-bright);
  font: 500 0.67rem/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.editorial-note__body {
  font-size: 1rem;
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--color-paper);
  font: 400 0.58rem/1 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-cue__icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(233, 225, 207, 0.45);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease;
}

.scroll-cue:hover .scroll-cue__icon,
.scroll-cue:focus-visible .scroll-cue__icon {
  color: var(--color-ink);
  background: var(--color-paper);
}

/* ==========================================================================
   Split hero
   ========================================================================== */

.split-hero {
  position: relative;
  display: grid;
  min-height: min(58rem, 100svh);
  padding-top: 5.5rem;
  color: var(--color-paper);
  background: var(--color-ink);
}

.split-hero--atlas {
  grid-template-columns: minmax(24rem, 0.93fr) minmax(31rem, 1.07fr);
}

.split-hero--battle {
  grid-template-columns: minmax(20rem, 0.86fr) minmax(28rem, 1.14fr);
}

.split-hero__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 7rem) 6rem var(--page-gutter);
}

.split-hero__lede {
  margin-bottom: 3rem;
  color: #d8d0be;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 300;
  line-height: 1.45;
}

.split-hero__media {
  position: relative;
  min-height: 38rem;
  margin: 0;
  overflow: hidden;
}

.split-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.split-hero__caption {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  bottom: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font: 300 0.55rem/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.split-hero__source {
  text-underline-offset: 0.25em;
}

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--color-paper);
  background: var(--color-red);
}

.stats-strip__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 8.5rem;
  margin: 0;
  padding: 1.5rem var(--page-gutter);
  border-right: 1px solid rgba(233, 225, 207, 0.28);
  font: 400 clamp(1rem, 1.4vw, 1.3rem)/1.2 var(--font-mono);
}

.stats-strip__item:last-child {
  border-right: 0;
}

.stats-strip__label {
  margin-bottom: 0.65rem;
  color: rgba(233, 225, 207, 0.7);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stats-strip__item--emphasis {
  color: var(--color-ink);
  background: var(--color-paper);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.stats-strip__item--emphasis .stats-strip__label {
  color: var(--color-red);
}

/* ==========================================================================
   Reveal motion
   ========================================================================== */

.reveal {
  opacity: 0;
  animation: reveal-up 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal--delay-1 {
  animation-delay: 120ms;
}

.reveal--delay-2 {
  animation-delay: 240ms;
}

.reveal--delay-3 {
  animation-delay: 360ms;
}

.reveal--delay-4 {
  animation-delay: 480ms;
}

.reveal--wipe {
  animation-name: reveal-wipe;
  animation-duration: 1.2s;
  animation-delay: 80ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-wipe {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}

/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding: 5rem var(--page-gutter);
  color: var(--color-paper);
  background: var(--color-ink);
  border-top: 0.55rem solid var(--color-red);
}

.site-footer__identity {
  display: flex;
  gap: 1.5rem;
  align-items: end;
}

.site-footer__title {
  font: 600 clamp(2.4rem, 5vw, 5rem)/0.78 var(--font-display);
  letter-spacing: -0.05em;
}

.site-footer__meta,
.site-footer__sources,
.site-footer__top-link {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 300;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer__meta {
  margin-bottom: 0;
}

.site-footer__sources {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__sources-label {
  margin-bottom: 0.6rem;
  color: var(--color-red-bright);
}

.site-footer__source-link {
  width: max-content;
  max-width: 100%;
  color: #b8b19f;
  text-decoration-color: rgba(184, 177, 159, 0.35);
  text-underline-offset: 0.22em;
}

.site-footer__top-link {
  align-self: end;
  width: max-content;
  color: var(--color-paper);
}

/* ==========================================================================
   Shared responsive behavior
   ========================================================================== */

@media (max-width: 980px) {
  .site-header--battle {
    grid-template-columns: 1fr 1fr;
  }

  .site-header--battle .site-header__nav {
    display: none;
  }

  .stats-strip--battle {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip--battle .stats-strip__item {
    border-bottom: 1px solid rgba(233, 225, 207, 0.28);
  }

  .stats-strip--battle .stats-strip__item:nth-child(2) {
    border-right: 0;
  }

  .site-footer--battle {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer--battle .site-footer__top-link {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header--atlas {
    grid-template-columns: 1fr 1fr;
  }

  .site-header--atlas .site-header__nav {
    display: none;
  }

  .stats-strip--atlas {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip--atlas .stats-strip__item {
    border-bottom: 1px solid rgba(233, 225, 207, 0.28);
  }

  .stats-strip--atlas .stats-strip__item:nth-child(2) {
    border-right: 0;
  }

  .site-footer--atlas {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer--atlas .site-footer__top-link {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .site-header {
    min-height: 4.6rem;
  }

  .site-header__location {
    font-size: 0.5rem;
  }

  .stats-strip__item {
    min-height: 7rem;
    padding: 1.2rem;
  }

  .section-marker {
    flex-direction: row;
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--color-ink-line);
    writing-mode: horizontal-tb;
  }

  .site-footer--atlas,
  .site-footer--battle {
    grid-template-columns: 1fr;
  }

  .site-footer__identity {
    align-items: start;
    flex-direction: column;
  }

  .site-footer--atlas .site-footer__top-link,
  .site-footer--battle .site-footer__top-link {
    grid-column: auto;
  }
}

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

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