@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700;8..60,800&family=Teko:wght@500;600;700&display=swap");

:root {
  --black: #050505;
  --ink: #101010;
  --paper: #f4f1e9;
  --white: #ffffff;
  --muted: #b9b5ac;
  --line: rgba(255, 255, 255, 0.16);
  --orange: #f37a22;
  --blue: #174fbb;
  --steel: #2a2d32;
  --max: 1160px;
  --article: 770px;
  --display: "Teko", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--ui);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: rgba(243, 122, 34, 0.7);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange);
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}

.site-header {
  position: fixed;
  z-index: 15;
  inset: 3px 0 auto;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: grid;
  gap: 0;
  text-decoration: none;
}

.brand strong {
  font-family: var(--display);
  letter-spacing: 0;
  font-size: 1.72rem;
  line-height: 0.85;
  text-transform: uppercase;
}

.brand span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(247, 244, 238, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a,
.nav-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #050505;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.72) 37%, rgba(5, 5, 5, 0.12) 70%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 36%);
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 118px 28px 56px;
}

.hero-copy {
  width: min(760px, 100%);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.6rem, 7.8vw, 8.8rem);
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 980px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.dek {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(1.3rem, 3vw, 2.35rem);
  line-height: 1.08;
  font-weight: 600;
}

.byline {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(247, 244, 238, 0.76);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.byline span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.byline span + span::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.listen-panel {
  width: min(100%, 680px);
  margin: 20px 0 0;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(247, 244, 238, 0.2);
  border-left: 4px solid var(--orange);
  background: rgba(10, 10, 10, 0.72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.listen-copy {
  display: grid;
  gap: 4px;
}

.listen-copy span,
.listen-copy em {
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listen-copy strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.listen-controls {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.listen-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.listen-actions .button {
  min-width: 96px;
}

.listen-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.listen-segments {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.listen-segments-label {
  color: rgba(247, 244, 238, 0.58);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.listen-segment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 394px;
}

.listen-segment {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(247, 244, 238, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 244, 238, 0.78);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.listen-segment:hover,
.listen-segment:focus-visible {
  border-color: rgba(255, 122, 24, 0.78);
  color: var(--white);
}

.listen-segment:focus-visible {
  outline: 2px solid rgba(255, 122, 24, 0.65);
  outline-offset: 2px;
}

.listen-segment.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #080808;
}

.hero-actions,
.share-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #0a0a0a;
}

.article-shell {
  background: var(--paper);
}

.story-intro {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 42px 28px 54px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 48px;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 122, 34, 0.14), transparent 28rem),
    #050505;
  box-shadow: 0 0 0 100vmax #050505;
  clip-path: inset(0 -100vmax);
}

.issue-stamp {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.intro-text {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1.34rem, 2.1vw, 1.95rem);
  line-height: 1.25;
  font-weight: 600;
}

.meta-panel {
  align-self: end;
  padding-top: 14px;
  border-top: 2px solid var(--orange);
  color: rgba(247, 244, 238, 0.72);
  font-size: 0.92rem;
}

.article-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 96px;
  display: grid;
  grid-template-columns: 190px minmax(0, var(--article)) minmax(180px, 0.7fr);
  gap: 36px;
  color: var(--ink);
  background: linear-gradient(90deg, #070707 0, #070707 254px, var(--paper) 254px, var(--paper) 100%);
  scroll-margin-top: 94px;
}

.rail {
  position: sticky;
  top: 110px;
  align-self: start;
  color: rgba(244, 241, 233, 0.78);
  font-size: 0.78rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.rail::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--blue);
}

.rail-title {
  display: block;
  margin: 0 0 18px;
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.story-list {
  display: grid;
  gap: 0;
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.story-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(244, 241, 233, 0.18);
}

.story-list li:last-child {
  border-bottom: 1px solid rgba(244, 241, 233, 0.18);
}

.story-list b {
  color: var(--orange);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
}

.rail-quote {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 233, 0.28);
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.right-rail {
  color: #3a3a3a;
}

.right-rail::before {
  background: var(--orange);
}

.right-rail .rail-title {
  color: #0d0d0d;
}

article {
  min-width: 0;
  padding-left: 30px;
}

article p {
  margin: 0 0 1.22em;
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.74;
}

article > p:first-child {
  margin-bottom: 1.3em;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.35;
  font-weight: 700;
}

.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.11em 0 0;
  font-family: var(--display);
  font-size: 7.4rem;
  line-height: 0.73;
  color: #0a0a0a;
}

article .short-line {
  margin-bottom: 0.42em;
}

article strong {
  color: #000;
}

.pullquote {
  margin: 42px 0;
  padding: 26px 0 26px 24px;
  border-left: 6px solid var(--orange);
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #080808;
}

.section-break {
  margin: 44px 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(16, 16, 16, 0), var(--blue));
}

.sources,
.cta-band {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.sources h2,
.cta-band h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.sources ol {
  margin: 0;
  padding-left: 1.25rem;
}

.sources li {
  margin: 0 0 1rem;
  padding-left: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cta-band {
  padding-bottom: 4px;
}

.cta-band p {
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.6;
}

.site-footer {
  background: #050505;
  color: rgba(247, 244, 238, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px 28px 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
}

.footer-inner a {
  color: var(--paper);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--black);
}

.error-page {
  width: min(680px, calc(100% - 48px));
}

.site-mark {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav {
    min-height: 64px;
  }

  .nav-links a {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.58)),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 46%);
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-inner {
    padding-top: 112px;
    padding-bottom: 58px;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(4.2rem, 18vw, 6rem);
  }

  .story-intro,
  .article-wrap {
    display: block;
  }

  .article-shell {
    background: var(--paper);
  }

  .story-intro {
    padding-bottom: 44px;
  }

  .meta-panel {
    margin-top: 28px;
  }

  .article-wrap {
    padding-top: 46px;
    background: var(--paper);
  }

  article {
    padding-left: 0;
  }

  .rail {
    position: static;
    margin-bottom: 26px;
    color: #3a3a3a;
  }

  .rail::before {
    background: var(--orange);
  }

  .rail-title {
    color: #101010;
  }

  .story-list li {
    border-color: rgba(0, 0, 0, 0.14);
  }

  .story-list li:last-child {
    border-color: rgba(0, 0, 0, 0.14);
  }
}

@media (max-width: 560px) {
  .nav,
  .hero-inner,
  .story-intro,
  .article-wrap,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand span {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .share-row,
  .listen-panel {
    display: grid;
  }

  .listen-panel {
    align-items: flex-start;
  }

  .listen-controls,
  .listen-actions {
    width: 100%;
  }

  .listen-controls,
  .listen-segments {
    justify-items: stretch;
  }

  .listen-segment-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(32px, 1fr));
    width: 100%;
    max-width: none;
  }

  .listen-segment {
    width: 100%;
  }

  .pullquote {
    padding-left: 16px;
  }
}
