/* =========================================================================
   BRIEV - web

   Structure comes from hairline rules and whitespace, never from card chrome.
   There is one accent colour and it means one thing (breaking). Everything else
   is type on paper - which is what makes the light theme work: the same rules,
   the same rhythm, inverted ink.

   Layout is not an app port. Desktop is an editorial grid with an analytics
   rail; the phone is a dense typographic wire feed. Same data, laid out for the
   medium.
   ========================================================================= */

:root {
  --noise: url(/assets/noise-e3f193c1a8.png);
  color-scheme: dark;

  /* --- ink & paper (dark is the design's home) ------------------------ */
  --paper: #0A0A0B;
  --paper-2: #101012;
  --ink: #EDEBE7;
  --ink-2: rgba(237, 235, 231, .64);
  --ink-3: rgba(237, 235, 231, .42);
  --ink-4: rgba(237, 235, 231, .24);
  --rule: rgba(237, 235, 231, .13);
  --rule-soft: rgba(237, 235, 231, .07);
  --wash: rgba(237, 235, 231, .045);

  /* The only hue on the site. Breaking news, and the "now" end of a chart. */
  --accent: #FF6A4D;

  --led-on: rgba(237, 235, 231, .90);
  --led-off: rgba(237, 235, 231, .11);

  /* Grain + a frosted wash. See the two fixed layers on body below. */
  --grain: .085;
  --veil: radial-gradient(140% 95% at 50% -25%,
          rgba(237, 235, 231, .055), rgba(237, 235, 231, 0) 62%);

  /* --- type ------------------------------------------------------------ */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* --- metrics --------------------------------------------------------- */
  --gutter: 22px;
  --max: 1300px;
  --rail: 300px;
}

/* NO-JAVASCRIPT FALLBACK ONLY. With scripting on, an inline <head> script always sets
   `data-theme` from the reader's own clock (light through the day, dark after dark), so
   the explicit rules below win and this block never applies. It is what a reader with
   scripting disabled gets instead. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --paper: #FBFAF8;
    --paper-2: #FFFFFF;
    --ink: #16161A;
    --ink-2: rgba(22, 22, 26, .70);
    --ink-3: rgba(22, 22, 26, .50);
    --ink-4: rgba(22, 22, 26, .32);
    --rule: rgba(22, 22, 26, .15);
    --rule-soft: rgba(22, 22, 26, .08);
    --wash: rgba(22, 22, 26, .035);
    --accent: #D63A1E;
    --led-on: rgba(22, 22, 26, .84);
    --led-off: rgba(22, 22, 26, .13);
    /* On paper the wash reads as a smudge, so light gets grain only. */
    --grain: .065;
    --veil: none;
  }
}

/* Set by the head script on every load: the reader's stored choice if they have made
   one, otherwise whatever their local clock says. */
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #FBFAF8;
  --paper-2: #FFFFFF;
  --ink: #16161A;
  --ink-2: rgba(22, 22, 26, .70);
  --ink-3: rgba(22, 22, 26, .50);
  --ink-4: rgba(22, 22, 26, .32);
  --rule: rgba(22, 22, 26, .15);
  --rule-soft: rgba(22, 22, 26, .08);
  --wash: rgba(22, 22, 26, .035);
  --accent: #D63A1E;
  --led-on: rgba(22, 22, 26, .84);
  --led-off: rgba(22, 22, 26, .13);
  --grain: .065;
  --veil: none;
}

* { box-sizing: border-box; min-width: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

/* Two fixed, static layers: a frosted wash behind the content and film grain over it.
   Both are position:fixed and pointer-transparent, so they rasterise once and never
   repaint while scrolling. The grain carries its texture in the PNG's alpha channel
   (see build.noise_png) rather than relying on `mix-blend-mode`, which would have to
   re-blend every newly exposed pixel on every frame. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--veil);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: var(--noise);
  background-size: 96px 96px;
  opacity: var(--grain);
}

a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Off the TOP of the page, never off the side - a negative `left` widens the
   document and is one of the two things that used to make phones scroll sideways. */
.skip {
  position: absolute; left: var(--gutter); top: -80px; z-index: 99;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 14px;
}
.skip:focus { top: 10px; }

/* =========================================================================
   Type helpers
   ========================================================================= */

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.dim { color: var(--ink-3); }
.dimmer { color: var(--ink-4); }

/* =========================================================================
   Shell
   ========================================================================= */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(1px)) {
  .masthead { background: color-mix(in srgb, var(--paper) 86%, transparent);
              backdrop-filter: saturate(180%) blur(16px); }
}

.masthead__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 58px;
}

.wordmark {
  flex: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .30em;
  text-transform: uppercase;
  padding-right: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  flex: none;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-3);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .12s ease, border-color .12s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

.masthead__meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); }
.live::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; animation: breathe 3.6s ease-in-out infinite;
}
.live--stale { color: var(--accent); }
.live--stale::before { animation: none; }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.themetoggle {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-3);
  transition: color .12s ease, border-color .12s ease;
}
.themetoggle:hover { color: var(--ink); border-color: var(--ink-4); }
.themetoggle svg { width: 13px; height: 13px; }
.themetoggle .i-sun { display: none; }
:root[data-theme="light"] .themetoggle .i-sun { display: block; }
:root[data-theme="light"] .themetoggle .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .themetoggle .i-sun { display: block; }
  :root:not([data-theme="dark"]) .themetoggle .i-moon { display: none; }
}

/* Ticker: the live numbers, one quiet line. */
.ticker { border-bottom: 1px solid var(--rule); }
.ticker__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ticker__inner::-webkit-scrollbar { display: none; }
.ticker dl {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 30px 12px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.ticker dt {
  order: 2;
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4);
}
.ticker dd {
  order: 1; margin: 0;
  font-size: 15px; font-weight: 300; letter-spacing: -.01em; color: var(--ink-2);
}

main { display: block; padding-bottom: 80px; }

/* =========================================================================
   Sections
   ========================================================================= */

.section { padding-top: 46px; }
.section--tight { padding-top: 30px; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-4);
}
.section__head h2 {
  font-size: 11px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink);
}
.section__head .more {
  font-size: 12px; color: var(--ink-3); letter-spacing: .02em;
}
.section__head .more:hover { color: var(--ink); }

/* =========================================================================
   Breaking strip - the first thing on the page when it exists
   ========================================================================= */

.breaking { border-bottom: 1px solid var(--rule); }
.breaking__inner { display: flex; align-items: flex-start; gap: 18px; padding: 15px 0; }
.breaking__tag {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
}
.breaking__tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: breathe 2.2s ease-in-out infinite;
}
.breaking__list { display: flex; flex-direction: column; gap: 7px; }
.breaking__list a {
  font-size: 15px; font-weight: 400; line-height: 1.35; letter-spacing: -.006em;
}
.breaking__list a:hover { color: var(--accent); }
.breaking__list span { color: var(--ink-4); font-size: 11px; margin-left: 8px; }

/* =========================================================================
   Editorial grid
   ========================================================================= */

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: 56px;
  align-items: start;
}
.rail {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

/* A "panel" is a label, a rule and content. No fill, no border, no shadow. */
.panel { border-top: 1px solid var(--ink-4); padding-top: 14px; }
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.panel__head .val { font-size: 11px; color: var(--ink-4); white-space: nowrap; }

/* =========================================================================
   Lead
   ========================================================================= */

.lead { display: block; padding: 34px 0 30px; border-bottom: 1px solid var(--rule); }
.lead__kicker {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.lead h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.06;
  font-weight: 250;
  letter-spacing: -.028em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.lead:hover h1 { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 6px; text-decoration-color: var(--ink-4); }
.lead__dek {
  font-size: 17px; line-height: 1.62; color: var(--ink-2); font-weight: 300; max-width: 60ch;
}
.lead__foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px;
  font-size: 12px; color: var(--ink-3);
}

/* =========================================================================
   Wire list
   ========================================================================= */

.wire { border-top: 1px solid var(--rule); }

.wire__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.wire__item:hover .wire__title {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--ink-4);
}

.wire__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4);
}
.wire__meta .topic { color: var(--ink-3); }

.wire__title {
  font-size: 18px; line-height: 1.34; font-weight: 350; letter-spacing: -.012em;
  color: var(--ink); text-wrap: pretty;
}
.wire__dek {
  margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3);
  max-width: 66ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.wire__side {
  flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.wire__count { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1; }
.wire__count small {
  display: block; font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); margin-top: 5px; text-align: right;
}

/* Three segments sized by how many outlets on each side carried the story.
   Monochrome on purpose: position carries the meaning, never hue. */
.leanbar { display: flex; width: 58px; height: 3px; gap: 1px; background: var(--rule-soft); }
.leanbar i { display: block; height: 100%; }
.leanbar .l { background: var(--ink-2); }
.leanbar .c { background: var(--ink-3); }
.leanbar .r { background: var(--ink-4); }
.leanbar--wide { width: 100%; height: 5px; }

/* =========================================================================
   Badges
   ========================================================================= */

.badges { display: inline-flex; gap: 7px; flex-wrap: wrap; vertical-align: middle; }

.badge {
  display: inline-block;
  font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid var(--ink-4);
  color: var(--ink-3);
  white-space: nowrap;
}
/* A finding is filled; a description is outlined. One accent, for breaking only. */
.badge--hot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.badge--live { background: var(--accent); border-color: var(--accent); color: #fff; }

/* =========================================================================
   Coverage analysis strip - four findings, moved below the news
   ========================================================================= */

.findings { border-top: 1px solid var(--ink-4); }
.findings__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.findings__cell {
  display: block;
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--rule);
}
.findings__cell:last-child { border-right: 0; padding-right: 0; }
.findings__cell[data-empty="1"] { opacity: .4; pointer-events: none; }

.findings__n {
  display: block;
  font-size: 46px; font-weight: 200; letter-spacing: -.04em; line-height: 1;
  margin-bottom: 12px;
}
.findings__cell:hover .findings__n { color: var(--accent); }
.findings__t {
  display: block; font-size: 14px; font-weight: 400; margin-bottom: 6px;
  letter-spacing: -.004em;
}
.findings__s { display: block; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.findings__mark {
  margin-top: 14px; height: 18px; color: var(--led-on);
  display: flex; align-items: center; gap: 9px;
}
.findings__mark .led { height: 18px; width: auto; }
.findings__mark span {
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4);
}

/* =========================================================================
   Charts
   ========================================================================= */

.chart { color: var(--led-on); }
.chart .led { width: 100%; height: auto; }
.chart .led-ring { width: auto; }

.axis {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4);
}
.axis span:nth-child(2) { flex: 1; text-align: center; }
.axis span:last-child { text-align: right; }
.axis .now { color: var(--accent); }

.readout { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); margin-top: 14px; }

.tilt { display: flex; flex-direction: column; gap: 10px; }
.tilt__row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; }
.tilt__label {
  font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4);
}
.tilt__bar { height: 2px; background: var(--rule-soft); position: relative; }
.tilt__bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink-3); display: block; }
.tilt__row[data-spiking="1"] .tilt__bar i { background: var(--accent); }
.tilt__val { font-size: 12px; color: var(--ink-3); }
.tilt__row[data-spiking="1"] .tilt__val { color: var(--accent); }

/* =========================================================================
   Cross-spectrum comparison
   ========================================================================= */

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.compare__col {
  padding: 0 22px;
  border-left: 1px solid var(--rule);
}
.compare__col:first-child { padding-left: 0; border-left: 0; }
.compare__col:last-child { padding-right: 0; }
.compare__label {
  font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 10px;
}
.compare__text { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.compare__col[data-empty="1"] .compare__text { color: var(--ink-4); }

.emphasis { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.emphasis--single { grid-template-columns: 1fr; }
.emphasis h4 {
  font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 10px;
}
.emphasis li {
  font-size: 13px; line-height: 1.55; color: var(--ink-2);
  padding-left: 15px; position: relative; margin-bottom: 8px;
}
.emphasis li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 1px; background: var(--ink-4);
}

/* =========================================================================
   Story page
   ========================================================================= */

.article { max-width: 760px; }
.article__kicker {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.article h1 {
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.08; font-weight: 250; letter-spacing: -.03em;
  margin-bottom: 18px; text-wrap: balance;
}
.article__dek {
  font-size: 19px; line-height: 1.55; color: var(--ink-2); font-weight: 300; max-width: 56ch;
}
.article__meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 24px; padding: 14px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4);
}

.prose { margin-top: 30px; max-width: 68ch; }
.prose p {
  font-size: 17.5px; line-height: 1.74; color: var(--ink-2); margin-bottom: 22px;
  font-weight: 380;
}
.prose p:first-child { font-size: 19px; line-height: 1.68; color: var(--ink); }
.prose b, .prose strong { font-weight: 550; color: var(--ink); }
.prose h2 {
  font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-4); margin: 40px 0 16px;
}

.block { margin-top: 36px; }
.block__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--ink-4);
}

.framing { display: flex; flex-direction: column; }
.framing__side {
  display: grid; grid-template-columns: 62px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.framing__side:first-child { border-top: 0; }
.framing__side h4 {
  font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-4); padding-top: 4px;
}
.framing__side p { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); }

.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.statgrid > div {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  color: var(--led-on);
}
.statgrid .led-ring { width: 78px; height: 78px; }
.statgrid .k {
  font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); line-height: 1.3;
}

.sides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sides > div { padding-top: 12px; border-top: 1px solid var(--rule); }
.sides .v { font-size: 28px; font-weight: 200; line-height: 1; letter-spacing: -.03em; }
.sides .v[data-zero="1"] { color: var(--ink-4); }
.sides .k {
  font-size: 9px; font-weight: 500; letter-spacing: .16em; color: var(--ink-4); margin-top: 8px;
}

.related { border-top: 1px solid var(--rule); }
.related a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
}
.related a:hover .t { text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--ink-4); }
.related .t { font-size: 15px; line-height: 1.4; font-weight: 350; }
.related .s {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); margin-top: 6px;
}

.taglist { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.taglist span { font-size: 12.5px; color: var(--ink-3); }

.byline {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 13px; line-height: 1.65; color: var(--ink-3); max-width: 66ch;
}
.byline b { color: var(--ink-2); font-weight: 550; }

/* =========================================================================
   Pulse
   ========================================================================= */

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-4); }
.metrics > div {
  padding: 24px 24px 26px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.metrics > div:nth-child(4n) { border-right: 0; padding-right: 0; }
.metrics .v {
  font-size: 34px; font-weight: 200; letter-spacing: -.035em; line-height: 1; margin-bottom: 12px;
}
.metrics .k {
  font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
}
.metrics .h { font-size: 11.5px; color: var(--ink-4); margin-top: 7px; line-height: 1.45; }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bars__row { display: grid; grid-template-columns: minmax(64px, 24%) 1fr 44px; align-items: center; gap: 14px; }
.bars__row .k {
  font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bars__row .t { height: 5px; background: var(--rule-soft); position: relative; }
.bars__row .t i { position: absolute; inset: 0 auto 0 0; background: var(--ink-3); display: block; }
.bars__row .v { font-size: 11.5px; color: var(--ink-4); text-align: right; }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 280px; }
.matrix th {
  font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); text-align: right; padding: 0 0 12px 14px; white-space: nowrap;
}
.matrix th:first-child { text-align: left; padding-left: 0; }
.matrix td {
  padding: 9px 0 9px 14px; border-top: 1px solid var(--rule-soft); text-align: right;
}
.matrix td:first-child { text-align: left; padding-left: 0; font-size: 12.5px; color: var(--ink-2); }
.matrix tbody th {
  border-top: 1px solid var(--rule-soft); padding: 9px 0 9px 14px;
  font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-4);
}
.matrix .cell { display: inline-flex; gap: 4px; align-items: center; }
.matrix .cell i { width: 5px; height: 5px; border-radius: 50%; background: var(--led-off); }
.matrix .cell i.on { background: var(--led-on); }

/* =========================================================================
   Topics
   ========================================================================= */

.topicgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--ink-4);
}
.topictile { display: block; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.topictile__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.topictile__head h3 { font-size: 17px; font-weight: 350; letter-spacing: -.012em; }
.topictile:hover .topictile__head h3 { text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--ink-4); }
.topictile__head .num { font-size: 20px; font-weight: 200; color: var(--ink-3); letter-spacing: -.03em; }
.topictile__flags { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin: 8px 0 16px; }
.topictile__pct {
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); margin-top: 8px; display: block;
}

/* =========================================================================
   Story cards (finding pages)
   ========================================================================= */

.storyblock { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.storyblock:first-child { border-top: 1px solid var(--ink-4); }
.storyblock h3 {
  font-size: 23px; line-height: 1.22; font-weight: 300; letter-spacing: -.022em;
  margin: 12px 0 12px; text-wrap: pretty;
}
.storyblock:hover h3 { text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: var(--ink-4); }
.storyblock__note { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 68ch; }
.storyblock__foot {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px;
  font-size: 11.5px; color: var(--ink-4);
}
.storyblock .compare { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }

/* =========================================================================
   Chips, hero, empty, footer
   ========================================================================= */

.chips { display: flex; gap: 10px 20px; flex-wrap: wrap; }
.chip {
  font-size: 13px; color: var(--ink-3);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.chip:hover { color: var(--ink); border-bottom-color: var(--ink-4); }
.chip small { font-size: 10px; color: var(--ink-4); margin-left: 5px; }

.hero { padding: 52px 0 34px; border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px); line-height: 1.02; font-weight: 200;
  letter-spacing: -.036em; margin: 14px 0 20px; text-wrap: balance;
}
.hero p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; font-weight: 300; }
.hero__count {
  display: inline-block; margin-left: 18px; font-size: 15px; font-weight: 300;
  letter-spacing: .01em; color: var(--ink-4); white-space: nowrap;
}

.empty { padding: 60px 0; max-width: 46ch; }
.empty h3 { font-size: 21px; font-weight: 300; margin-bottom: 10px; letter-spacing: -.015em; }
.empty p { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

.note {
  font-size: 12.5px; line-height: 1.6; color: var(--ink-4);
  border-left: 1px solid var(--rule); padding-left: 16px; max-width: 70ch;
}

.pagefoot { border-top: 1px solid var(--rule); margin-top: 80px; padding: 40px 0 64px; }
.pagefoot__grid {
  display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)); gap: 40px;
}
.pagefoot p { font-size: 13px; line-height: 1.65; color: var(--ink-3); max-width: 46ch; }
.pagefoot h4 {
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 14px; font-weight: 500;
}
.pagefoot li { margin-bottom: 9px; }
.pagefoot a { font-size: 13px; color: var(--ink-2); }
.pagefoot a:hover { color: var(--ink); }
.pagefoot__legal {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule);
  font-size: 11px; color: var(--ink-4); display: flex; gap: 22px; flex-wrap: wrap;
}

[hidden] { display: none !important; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1060px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article { max-width: none; }
  .rail {
    position: static;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 34px 44px; margin-top: 48px;
  }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metrics > div:nth-child(4n) { border-right: 1px solid var(--rule); padding-right: 24px; }
  .metrics > div:nth-child(3n) { border-right: 0; padding-right: 0; }
  .pagefoot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }

  .masthead__bar { height: 52px; gap: 14px; }
  .wordmark { font-size: 15px; letter-spacing: .26em; }
  .masthead__meta .live { display: none; }
  .masthead__meta time { display: none; }
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }

  .ticker dl { padding: 10px 22px 10px 0; }
  .ticker dd { font-size: 14px; }

  .section { padding-top: 34px; }
  .section__head { margin-bottom: 18px; }

  .breaking__inner { flex-direction: column; gap: 10px; padding: 13px 0; }
  .breaking__list a { font-size: 16px; }

  .lead { padding: 24px 0 24px; }
  .lead h1 { font-size: 29px; line-height: 1.12; letter-spacing: -.02em; }
  .lead__dek { font-size: 15.5px; }

  /* The right-hand gutter costs a phone too much headline width, so the counts
     move inline under the title. */
  .wire__item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 17px 0; }
  .wire__title { font-size: 17px; }
  .wire__side { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
  .wire__count { display: flex; align-items: baseline; gap: 6px; font-size: 12px; }
  .wire__count small { margin: 0; text-align: left; }
  .leanbar { width: 44px; }

  /* Findings become four ruled rows - a 2x2 grid of boxes was the worst thing
     on the phone layout. */
  .findings__grid { grid-template-columns: 1fr; }
  .findings__cell {
    display: grid; grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 18px; align-items: baseline;
    padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--rule);
  }
  .findings__cell:last-child { border-bottom: 0; padding-right: 0; }
  .findings__n { font-size: 34px; margin-bottom: 0; grid-row: span 3; }
  .findings__t { font-size: 15px; }
  .findings__s { font-size: 12.5px; }
  .findings__mark { margin-top: 10px; grid-column: 2; }

  .compare { grid-template-columns: 1fr; }
  .compare__col { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .compare__col:first-child { border-top: 0; padding-top: 0; }
  .emphasis { grid-template-columns: 1fr; gap: 22px; }

  .article h1 { font-size: 28px; letter-spacing: -.02em; }
  .article__dek { font-size: 16.5px; }
  .article__meta { gap: 14px; }
  .prose p { font-size: 16.5px; line-height: 1.7; }
  .prose p:first-child { font-size: 17.5px; }

  .framing__side { grid-template-columns: 1fr; gap: 8px; }
  .framing__side h4 { padding-top: 0; }

  .statgrid { gap: 10px; }
  .statgrid .led-ring { width: 62px; height: 62px; }

  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics > div { padding: 18px 18px 20px 0; border-right: 1px solid var(--rule); }
  .metrics > div:nth-child(3n) { border-right: 1px solid var(--rule); padding-right: 18px; }
  .metrics > div:nth-child(2n) { border-right: 0; padding-right: 0; }
  .metrics .v { font-size: 27px; }

  .panels { grid-template-columns: 1fr; gap: 34px; }
  .topicgrid { grid-template-columns: 1fr; }
  .storyblock h3 { font-size: 20px; }

  .hero { padding: 32px 0 26px; }
  .hero h1 { font-size: 34px; margin: 10px 0 16px; }
  .hero p { font-size: 15px; }
  .hero__count { display: block; margin: 8px 0 0; }

  .pagefoot { margin-top: 56px; }
  .pagefoot__grid { grid-template-columns: 1fr; gap: 28px; }
  .bars__row { grid-template-columns: minmax(58px, 32%) 1fr 40px; gap: 12px; }
}

@media (max-width: 400px) {
  .metrics { grid-template-columns: 1fr; }
  .metrics > div { border-right: 0 !important; padding-right: 0 !important; }
  .findings__cell { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; }
  .findings__n { font-size: 30px; }
}

@media (min-width: 1440px) {
  :root { --max: 1360px; --rail: 330px; --gutter: 30px; }
  .grid { gap: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .masthead, .ticker, .pagefoot, .rail, .breaking { display: none; }
  body { background: #fff; color: #000; }
}
