:root {
  --ink: #202326;
  --forest: #16212a;
  --deep: #101820;
  --paper: #f7f2e9;
  --white: #fffcf6;
  --muted: #525b5d;
  --edge: #dcd4c6;
  --peach: #ffb47f;
  --rust: #8c351e;
}

.masthead { box-shadow: 0 1px 10px #0f17110a; }
.utility { background: var(--deep); }
.search-open {
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 44px;
  padding-inline: 9px;
}
.search-open kbd {
  background: #ece6db;
  border: 1px solid #dcd3c3;
  border-radius: 3px;
  padding: 0 5px;
  font: 500 .7rem/1.4 var(--mono);
}
.home-hero .hero-picture { object-position: center 51%; }
.home-hero .hero-shade {
  background:
    linear-gradient(90deg, #101820eb 1%, #10182096 31%, #1018201f 68%, transparent 100%),
    linear-gradient(0deg, #0b151cc4 0%, transparent 52%);
}
.home-hero .hero-inner {
  min-height: clamp(520px, 43vw, 685px);
  padding-block: 78px 100px;
}
.home-hero h1 { font-size: clamp(4.2rem, 8vw, 8rem); }
.home-hero h1 em { color: #ffd5b9; }
.home-hero .hero-copy > p { color: #fff7ef; }
.hero-art-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  background: #101820eb;
  text-transform: uppercase;
}
.hero-art-credit:hover { color: var(--peach); }
.hero-art-credit .icon,
.article-figure figcaption .icon { width: 13px; height: 13px; }
.desk-strip { background: #efe9df; border-color: #ded3c6; }
.desk-strip-inner > a { border-color: #d8ccbe; }

.reporting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(15px, 2.3vw, 32px);
}
.reporting-rail { display: grid; grid-auto-rows: 1fr; gap: 15px; }
.story-feature {
  color: var(--white);
  border-color: #16212a;
  background: var(--forest);
}
.story-feature .card-content { padding: clamp(19px, 2.4vw, 36px); }
.story-feature .card-meta > span,
.story-feature .text-link { color: #ffc19d; }
.story-feature .card-meta time,
.story-feature .card-content > p { color: #e0d9d2; }
.story-feature .card-actions { border-color: #4b5155; }
.story-feature .save-button { color: var(--white); border-color: #8a938f; }
.story-feature .save-button:hover,
.story-feature .save-button[aria-pressed="true"] { color: var(--deep); background: var(--peach); }
.story-feature h3 {
  max-width: 19ch;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  letter-spacing: -.05em;
}
.story-feature h3 a:hover { color: var(--peach); }
.card-feature-kicker {
  order: -1;
  margin-bottom: 8px;
  font: 600 .63rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--peach);
}
.story-dispatch { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1fr); }
.story-dispatch .card-image { aspect-ratio: auto; min-height: 100%; }
.story-dispatch .card-content { padding: clamp(13px, 1.5vw, 22px); }
.story-dispatch h3 { font-size: clamp(1.34rem, 1.94vw, 2.02rem); }
.story-dispatch .card-content > p { font-size: .85rem; }
.story-dispatch .card-actions { padding-top: 7px; }

.methods-band { background: #202a31; color: var(--white); }
.methods-band .eyebrow, .methods-band .card-meta { color: #ffc39d; }
.methods-band .eyebrow > span { background: var(--peach); }
.methods-band .section-head p { color: #ded9d1; }
.methods-band .button-outline { color: var(--white); border-color: #b5aaa1; }
.methods-band .button-outline:hover { background: var(--white); color: var(--deep); }
.story-method { background: #27343e; border-color: #53606a; }
.story-method h3 a:hover,
.story-method .text-link { color: #ffc39d; }
.story-method .card-content > p { color: #e6ded4; }
.story-method .card-actions { border-color: #687078; }
.story-method .save-button { border-color: #a2a6a3; color: var(--white); }
.story-method .save-button:hover,
.story-method .save-button[aria-pressed="true"] { color: var(--deep); background: var(--peach); }
.methods-grid .card-image { aspect-ratio: 16 / 8; }
.network-band { background: #eee6d9; border-color: #dcd1c0; }
.network-card { background: var(--white); }
.support-band { border-color: #5b6268; }
.footer-bottom { border-color: #555e63; }

.archive-hero .hero-picture { width: 100%; object-position: 70% 53%; }
.archive-hero .hero-shade {
  background: linear-gradient(90deg, #101820f5 4%, #101820cf 31%, #10182020 100%);
}
.archive-hero .inner-hero-copy { padding-bottom: 72px; }
.library-bar { border-bottom: 1px solid var(--edge); padding-bottom: 13px; }
.filters button { border-color: #a19a8f; }

.reading-progress {
  appearance: none;
  display: block;
  position: sticky;
  inset-block-start: 0;
  z-index: 3;
  width: 100%;
  height: 4px;
  border: 0;
  color: #a74428;
  background: var(--edge);
}
.reading-progress::-webkit-progress-bar { background: var(--edge); }
.reading-progress::-webkit-progress-value { background: #a74428; }
.reading-progress::-moz-progress-bar { background: #a74428; }
.article-header { max-width: 1040px; }
.article-figure > img { aspect-ratio: 16 / 9; height: auto; max-height: 690px; }
.article-figure figcaption { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.article-figure figcaption a { font-weight: 600; color: var(--rust); }
.article-figure figcaption a:hover { text-decoration: underline; }
.article-toc {
  background: #efe8dd;
  border: 1px solid var(--edge);
  border-left: 3px solid #a74428;
  margin-bottom: 28px;
  padding: 14px 18px 16px;
}
.article-toc > span {
  color: var(--rust);
  font: 600 .7rem/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-toc ol { display: grid; gap: 3px; margin: 5px 0 0; padding-left: 22px; }
.article-toc a { text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.article-toc a:hover { color: var(--rust); }
.reading-copy section { scroll-margin-top: 16px; }
.source-box { background: #efe8dd; border-color: #d8cbbe; border-top-color: #a74428; }

@media (max-width: 1040px) {
  .reporting-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .story-dispatch { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); }
  .story-dispatch .card-actions { gap: 5px 12px; }
}

@media (max-width: 850px) {
  .home-hero .hero-inner { min-height: 490px; }
  .home-hero h1 { font-size: clamp(3.6rem, 9vw, 5.7rem); }
  .reporting-layout { grid-template-columns: minmax(0, 1fr); }
  .reporting-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-dispatch { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .story-dispatch .card-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 700px) {
  .search-open kbd { display: none; }
  .home-hero .hero-inner { min-height: 470px; padding-block: 82px 65px; }
  .home-hero .hero-picture { object-position: 70% center; }
  .home-hero .hero-shade {
    background: linear-gradient(90deg, #101820ed, #10182069), linear-gradient(0deg, #101820b5, transparent 75%);
  }
  .home-hero h1 { font-size: clamp(2.58rem, 10.6vw, 4.6rem); }
  .home-hero .hero-copy > p { max-width: 320px; }
  .reporting-rail { grid-template-columns: minmax(0, 1fr); }
  .story-feature h3 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .story-dispatch h3 { font-size: 1.62rem; }
  .hero-art-credit { padding: 6px; bottom: 7px; }
  .archive-hero .inner-hero-copy { padding-bottom: 55px; }
  .archive-hero .hero-shade {
    background: linear-gradient(90deg, #101820eb 2%, #101820af 58%, #10182069 100%);
  }
  .article-figure > img { height: auto; }
}

@media (max-width: 350px) {
  .home-hero h1 { font-size: 2.44rem; }
  .home-hero .hero-inner { min-height: 420px; padding-top: 65px; }
}
