* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* Full-bleed sections use calc(50% - 50vw), which counts a classic
     scrollbar; the page clips that sliver instead of scrolling sideways.
     Clipping here, not on the main column, keeps the bands full width. */
  overflow-x: clip;
}
body {
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  background: var(--primary);
  color: white;
  border: 0;
  padding: 11px 19px;
  border-radius: 3px;
}
/* A link styled as a button keeps the button's text, inside prose too. */
a.button,
.prose a.button {
  display: inline-block;
  color: white;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.025em;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  z-index: 99;
  background: white;
  color: var(--primary);
  padding: 16px;
}
.site-header {
  border-bottom: 1px solid var(--border, #dbe3e6);
  background: var(--paper);
}
.header-inner {
  max-width: var(--width);
  margin: auto;
  padding: 27px 38px;
  display: flex;
  gap: 34px;
  align-items: center;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--primary);
  flex-shrink: 0;
}
.brand span {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-top: 5px;
}
.brand-logo {
  width: auto;
  max-width: 70px;
  height: 48px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
  font-size: 13px;
}
.desktop-nav a[aria-current="page"] {
  font-weight: bold;
}
.search-menu summary {
  list-style: none;
  display: flex;
  cursor: pointer;
  width: 24px;
  height: 24px;
}
.search-menu summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.search-menu svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.search-menu form {
  position: absolute;
  right: 38px;
  top: 100%;
  background: var(--paper);
  padding: 20px;
  border: 1px solid var(--border, #dbe3e6);
  z-index: 5;
  display: flex;
  gap: 10px;
  box-shadow: 0 8px 18px #15364812;
}
.search-menu:not([open]) > form {
  display: none;
}
.search-menu input {
  min-width: 250px;
  border: 1px solid var(--border, #dbe3e6);
  padding: 9px;
}
.mobile-menu {
  display: none;
}
.demo-note {
  background: var(--mist);
  text-align: center;
  font-size: 11px;
  padding: 6px 20px;
  color: var(--primary);
}
.preview-banner,
.announcement {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
}
.preview-banner {
  background: #6d4700;
}
.site-main {
  max-width: var(--width);
  margin: auto;
  padding: 0 38px;
}
.edition-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 49px 0 35px;
  gap: 24px;
}
.edition-intro h1 {
  font-size: 39px;
}
.edition-intro p {
  font-size: 14px;
  margin-top: 12px;
  color: var(--muted-text, #586e79);
}
.edition-intro .edition-date {
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 2px;
}
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(235px, 1fr);
  gap: 45px;
}
.lead-grid.lead-only {
  grid-template-columns: 1fr;
}
.lead-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}
.lead-image img,
.lead-image .image-placeholder {
  height: 370px;
  object-position: 50% 48%;
}
.lead-copy {
  max-width: 750px;
  padding: 22px 0 0;
}
.lead-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.category {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.015em;
  font-family: var(--body);
}
.short-rule {
  width: 27px;
  height: 1px;
  background: #a4b8c2;
}
.lead-copy h2 {
  font-size: 43px;
  margin-top: 12px;
  max-width: 740px;
}
.lead-excerpt {
  font-size: 15px;
  color: var(--muted-text, #586e79);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 650px;
}
.story-meta {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted-text, #586e79);
  margin-top: 16px;
}
.story-meta a {
  color: var(--ink);
}
.story-meta span {
  padding-left: 14px;
  border-left: 1px solid var(--border, #dbe3e6);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-heading h2 {
  font-size: 27px;
}
.latest > .section-heading {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--accent);
}
.story-compact {
  padding: 23px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.story-compact h3 {
  font-size: 23px;
  margin-top: 8px;
}
.story-compact .story-meta {
  margin-top: 12px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.text-link span {
  font-size: 17px;
  font-weight: 400;
}
.latest > .text-link {
  margin-top: 22px;
}
.story-section {
  margin-top: 65px;
  padding-top: 28px;
  border-top: 1px solid var(--border, #dbe3e6);
}
.story-section > .section-heading {
  margin-bottom: 25px;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.card-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.card-image img,
.card-image .image-placeholder {
  height: 225px;
}
.story-card h3 {
  font-size: 26px;
  margin-top: 9px;
}
.excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-text, #586e79);
  margin-top: 12px;
}
.about-strip {
  background: var(--mist);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 40px 43px;
  margin: 65px 0;
}
.about-strip > div:first-child {
  display: flex;
  gap: 22px;
  align-items: center;
}
.about-strip .brand-mark {
  width: 57px;
  height: 57px;
}
.about-strip h2 {
  font-size: 33px;
  max-width: 290px;
}
.about-strip p {
  font-size: 14px;
  color: var(--muted-text, #586e79);
  line-height: 1.75;
}
.about-strip .text-link {
  margin-top: 15px;
}
.site-footer {
  border-top: 1px solid var(--border, #dbe3e6);
  padding: 40px 38px 22px;
}
.footer-inner,
.footer-bottom {
  max-width: calc(var(--width) - 76px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand span {
  font-size: 25px;
}
.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
}
.footer-inner p {
  font-size: 12px;
  color: var(--muted-text, #586e79);
  margin-top: 16px;
  max-width: 420px;
}
.footer-inner nav {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 12px;
  padding-top: 6px;
}
.footer-bottom {
  font-size: 10px;
  color: var(--muted-text, #586e79);
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid var(--border, #dbe3e6);
}
.footer-bottom > span:last-child {
  text-align: right;
}
.article-header {
  max-width: 820px;
  margin: 58px auto 36px;
  text-align: center;
}
.article-header h1 {
  font-size: 56px;
  margin-top: 14px;
}
.article-deck {
  font-size: 19px;
  color: var(--muted-text, #586e79);
  margin-top: 22px;
  line-height: 1.6;
}
.article-byline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  margin-top: 26px;
  color: var(--muted-text, #586e79);
}
.article-byline a {
  font-weight: 600;
  color: var(--ink);
}
/* A piece by a named writer leads with the writer: the byline at the top of
   the story, above the headline, the name huge in the headline face, with
   the writer's photo when there is one. */
.byline-featured {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: inherit;
}
.byline-featured--top {
  margin: 0 0 28px;
}
.byline-featured__photo {
  width: 150px;
  height: 150px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid currentColor;
}
.byline-featured__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.byline-featured__by {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.byline-featured__name {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
}
.byline-featured__title {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
}
/* On the front page's lead the writer is as big as the story. */
.byline-featured--lead {
  margin: 0 0 24px;
}
.byline-featured--lead .byline-featured__photo {
  width: 170px;
  height: 170px;
}
.byline-featured--lead .byline-featured__name {
  font-size: clamp(52px, 7.5vw, 110px);
}
/* On a story card: the writer above the headline, large for a card. */
.byline-featured--card {
  gap: 12px;
  margin: 6px 0 10px;
}
.byline-featured--card .byline-featured__photo {
  width: 64px;
  height: 64px;
  border-width: 2px;
}
.byline-featured--card .byline-featured__name {
  font-size: clamp(22px, 2.2vw, 30px);
}
@media (max-width: 640px) {
  .byline-featured {
    gap: 14px;
  }
  .byline-featured__photo {
    width: 84px;
    height: 84px;
  }
  .byline-featured__name {
    font-size: 40px;
  }
  .byline-featured--lead .byline-featured__photo {
    width: 96px;
    height: 96px;
  }
  .byline-featured--lead .byline-featured__name {
    font-size: 44px;
  }
  .byline-featured--card .byline-featured__photo {
    width: 52px;
    height: 52px;
  }
  .byline-featured--card .byline-featured__name {
    font-size: 22px;
  }
}
.article-cover {
  max-width: 1080px;
  margin: 0 auto 40px;
}
.article-cover img {
  max-height: 590px;
  aspect-ratio: 1.85;
  border-radius: var(--radius);
}
.article-cover figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted-text, #586e79);
  padding-top: 10px;
  gap: 12px;
}
.prose {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre {
  margin: 0 0 25px;
}
.prose h2 {
  font-size: 32px;
  margin: 42px 0 20px;
}
.prose h3 {
  font-size: 26px;
  margin: 32px 0 15px;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose img {
  height: auto;
  border-radius: var(--radius);
  margin: 25px 0;
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 25px;
  color: var(--primary);
  font-size: 25px;
}
.prose blockquote p:last-child {
  margin: 0;
}
/* Story block: pull quote. The piece's own line set large, apart from
   quoted sources. Sizes: column, wide (breaks out of the text column on
   wide screens) and full (a full-width band). The figure.story-pull
   selectors outrank a theme's general .prose blockquote rules; themes
   restyle it by naming .story-pull themselves. */
.prose figure.story-pull {
  margin: 56px 0;
}
.prose figure.story-pull::before {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-bottom: 22px;
  background: var(--primary);
}
.prose figure.story-pull blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.prose figure.story-pull blockquote p,
.prose figure.story-pull blockquote p:last-child {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.prose figure.story-pull figcaption {
  margin-top: 18px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted-text, #586e79);
}
.prose figure.story-pull figcaption::before {
  content: "— ";
}
.prose figure.story-pull--column blockquote p,
.prose figure.story-pull--column blockquote p:last-child {
  font-size: clamp(26px, 3.2vw, 34px);
}
@media (min-width: 1040px) {
  .prose figure.story-pull--wide {
    margin-inline: -150px;
  }
  .prose figure.story-pull--wide blockquote p,
  .prose figure.story-pull--wide blockquote p:last-child {
    font-size: 58px;
  }
}
.prose figure.story-pull--full {
  margin: 72px calc(50% - 50vw);
  padding: clamp(48px, 9vw, 120px) max(16px, calc(50vw - 560px));
  background: var(--ink);
}
.prose figure.story-pull--full blockquote p,
.prose figure.story-pull--full blockquote p:last-child {
  color: var(--paper);
  font-size: clamp(36px, 6.4vw, 84px);
}
.prose figure.story-pull--full figcaption {
  color: var(--paper);
  opacity: 0.72;
}
/* Story blocks: numbers, takeaway, timeline, comparison, chapter
   opener. Designed pieces inside the reading column; themes restyle the
   .story-* classes. */
.prose :is(.story-numbers, figure.story-number) {
  margin: 48px 0;
}
/* One column on a phone: two 170px columns squeezed display figures until
   words broke mid-word. */
.prose .story-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
}
.prose .story-numbers figure.story-number {
  margin: 0;
}
.prose figure.story-number {
  padding-top: 16px;
  border-top: 5px solid var(--primary);
}
.prose figure.story-number strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 9vw, 76px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  /* A figure breaks between words, never inside one. */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}
.prose figure.story-number figcaption {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--muted-text, #586e79);
}
@media (min-width: 1040px) {
  .prose .story-numbers {
    margin-inline: -150px;
  }
}
.prose aside.story-takeaway {
  margin: 48px 0;
  padding: 28px 32px;
  background: color-mix(in srgb, var(--primary) 7%, var(--paper, #fff));
  border-left: 6px solid var(--primary);
}
.prose aside.story-takeaway h3 {
  margin: 0 0 12px;
  font-size: 26px;
}
.prose aside.story-takeaway > :last-child {
  margin-bottom: 0;
}
.prose ol.story-timeline {
  margin: 48px 0;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 3px solid var(--primary);
}
.prose ol.story-timeline li {
  position: relative;
  display: grid;
  gap: 2px;
  margin: 0 0 22px;
}
.prose ol.story-timeline li::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--paper, #fff);
}
.prose ol.story-timeline strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
}
/* Story blocks in motion (settings.storyPage.motion, story-motion.js): the
   figure's rule draws across as it counts; the timeline's line draws down
   with the scroll and entries arrive as it reaches them. */
.prose figure.story-number.is-motion {
  position: relative;
  border-top-color: transparent;
}
.prose figure.story-number.is-motion::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
  transform: scaleX(var(--count, 0));
  transform-origin: left;
}
.prose figure.story-number.is-counted::before {
  transform: none;
}
.prose figure.story-number.is-motion strong {
  font-variant-numeric: tabular-nums;
}
.prose ol.story-timeline.is-motion {
  position: relative;
  border-left-color: color-mix(in srgb, var(--primary) 18%, transparent);
}
.prose ol.story-timeline.is-motion::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 3px;
  height: calc(var(--p, 0) * 100%);
  background: var(--primary);
}
.prose ol.story-timeline.is-motion li {
  opacity: 0.28;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.prose ol.story-timeline.is-motion li::before {
  transform: scale(0.4);
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.prose ol.story-timeline.is-motion li.is-reached {
  opacity: 1;
  transform: none;
}
.prose ol.story-timeline.is-motion li.is-reached::before {
  transform: none;
}
.prose table.story-compare {
  width: 100%;
  margin: 48px 0;
  border-collapse: collapse;
  font-size: 18px;
}
.prose table.story-compare :is(th, td) {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line, #d8d4ca);
  text-align: left;
  vertical-align: top;
}
.prose table.story-compare thead th {
  border-bottom: 4px solid var(--primary);
  font-family: var(--display);
  font-size: 24px;
}
.prose table.story-compare tbody td {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}
.prose .story-chapter {
  margin: 88px calc(50% - 50vw) 48px;
  padding: clamp(56px, 9vw, 112px) max(16px, calc(50vw - 340px));
  background: var(--ink);
  color: var(--paper, #fff);
}
.prose .story-chapter p {
  margin: 0 0 14px;
  color: var(--primary);
  font-style: italic;
  font-size: 20px;
}
.prose .story-chapter h2 {
  margin: 0;
  color: var(--paper, #fff);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
  text-wrap: balance;
}
.prose pre {
  overflow: auto;
  background: var(--mist);
  font-size: 14px;
  padding: 20px;
}
.prose table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  padding: 9px;
  border: 1px solid var(--border, #dbe3e6);
}
.layout-wide .prose {
  max-width: 900px;
}
.layout-feature .article-header {
  max-width: 1050px;
}
.layout-feature .article-header h1 {
  font-size: 66px;
}
.tags,
.author-box,
.comments {
  max-width: 680px;
  margin: 35px auto;
}
.tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.tags a {
  background: var(--mist);
  border-radius: 3px;
  padding: 5px 12px;
}
.author-box {
  display: flex;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid var(--border, #dbe3e6);
}
.author-box img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
}
.author-box h2 {
  font-size: 24px;
}
.author-box p {
  margin-top: 9px;
  font-size: 14px;
  color: var(--muted-text, #586e79);
}
.comments {
  padding-top: 25px;
  border-top: 1px solid var(--border, #dbe3e6);
}
.comments h2 {
  font-size: 32px;
}
.comments h3 {
  font-size: 23px;
  margin: 25px 0 18px;
}
.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.comment p {
  white-space: pre-wrap;
  font-size: 15px;
  margin-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
form label {
  display: block;
  font-size: 13px;
}
form input,
form textarea {
  width: 100%;
  border: 1px solid var(--border, #dbe3e6);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px;
  margin: 6px 0 15px;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-status {
  background: var(--mist);
  padding: 14px;
  font-size: 14px;
  margin-bottom: 15px;
}
.archive {
  padding: 55px 0 65px;
}
.archive > header {
  max-width: 760px;
  margin-bottom: 40px;
}
.archive h1 {
  font-size: 53px;
  margin: 12px 0;
}
.archive header > p:not(.category) {
  font-size: 17px;
  color: var(--muted-text, #586e79);
}
.archive .stories-grid {
  row-gap: 45px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 45px;
}
.pagination a {
  padding: 5px 13px;
  background: var(--mist);
}
.pagination a[aria-current="page"] {
  background: var(--primary);
  color: white;
}
.not-found {
  padding: 100px 0;
  max-width: 680px;
}
.not-found h1 {
  font-size: 60px;
  margin: 10px 0 20px;
}
.not-found .button {
  display: inline-block;
  margin-top: 25px;
}
.empty-state {
  padding: 50px 0;
  color: var(--muted-text, #586e79);
}
.image-placeholder {
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.image-placeholder .brand-mark {
  width: 70px;
  height: 70px;
  opacity: 0.4;
}
.article-layout + .story-section {
  margin-bottom: 65px;
}
.article-layout {
  padding-bottom: 30px;
}
@media (min-width: 1450px) {
  .lead-image img,
  .lead-image .image-placeholder {
    height: 420px;
  }
}
@media (max-width: 1050px) {
  .header-inner {
    gap: 22px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a:nth-child(n + 5) {
    display: none;
  }
  .lead-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
  }
  .lead-image img {
    height: 330px;
  }
  .lead-copy h2 {
    font-size: 36px;
  }
  .story-compact h3 {
    font-size: 21px;
  }
  .story-compact {
    padding: 18px 0;
  }
  .stories-grid {
    gap: 24px;
  }
  .card-image img {
    height: 190px;
  }
  .about-strip {
    gap: 35px;
  }
  .about-strip h2 {
    font-size: 28px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    padding: 20px;
    gap: 18px;
  }
  .brand span {
    font-size: 26px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
  }
  .desktop-nav {
    display: none;
  }
  .search-menu {
    margin-left: auto;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    font-size: 12px;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    z-index: 4;
    padding: 20px;
    border-bottom: 1px solid var(--border, #dbe3e6);
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .search-menu form {
    left: 20px;
    right: 20px;
  }
  .search-menu input {
    min-width: 0;
  }
  .site-main {
    padding: 0 20px;
  }
  .edition-intro {
    padding: 32px 0 24px;
    display: block;
  }
  .edition-intro h1 {
    font-size: 32px;
  }
  .edition-intro p {
    font-size: 13px;
    margin-top: 8px;
  }
  .edition-intro .edition-date {
    margin-top: 14px;
    font-size: 10px;
  }
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lead-image img {
    height: 300px;
  }
  .lead-copy {
    padding-top: 17px;
  }
  .lead-copy h2 {
    font-size: 35px;
  }
  .lead-excerpt {
    font-size: 14px;
  }
  .latest > .section-heading h2 {
    font-size: 26px;
  }
  .story-compact {
    padding: 19px 0;
  }
  .story-compact h3 {
    font-size: 25px;
  }
  .story-section {
    margin-top: 40px;
    padding-top: 22px;
  }
  .stories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .card-image img {
    height: 170px;
  }
  .story-card h3 {
    font-size: 23px;
  }
  .story-meta {
    gap: 10px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .story-meta span {
    padding-left: 9px;
  }
  .story-section > .section-heading {
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .about-strip {
    margin: 40px 0;
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-strip > div:first-child {
    gap: 17px;
  }
  .about-strip h2 {
    max-width: 250px;
    font-size: 28px;
  }
  .about-strip .brand-mark {
    width: 47px;
    height: 47px;
  }
  .site-footer {
    padding: 30px 20px 20px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 25px;
  }
  .footer-inner nav {
    gap: 20px;
  }
  .footer-bottom {
    gap: 20px;
  }
  .footer-bottom > span:last-child {
    display: none;
  }
  .article-header {
    margin: 35px auto 25px;
    text-align: left;
  }
  .article-header h1,
  .layout-feature .article-header h1 {
    font-size: 40px;
  }
  .article-deck {
    font-size: 17px;
  }
  .article-byline {
    justify-content: start;
    gap: 12px;
    font-size: 11px;
  }
  .article-cover img {
    aspect-ratio: 1.3;
  }
  .article-cover figcaption {
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
  }
  .prose {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 29px;
  }
  .article-cover {
    margin-bottom: 28px;
  }
  .archive {
    padding-top: 35px;
  }
  .archive h1 {
    font-size: 40px;
  }
}
@media (max-width: 460px) {
  .brand small {
    max-width: 180px;
  }
  .brand span {
    font-size: 24px;
  }
  .header-inner {
    gap: 14px;
  }
  .search-menu summary {
    width: 21px;
    height: 21px;
  }
  .brand {
    gap: 8px;
  }
  .lead-image img {
    height: 235px;
  }
  .lead-copy h2 {
    font-size: 33px;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .card-image img {
    height: 235px;
  }
  .story-card h3 {
    font-size: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading .text-link {
    font-size: 11px;
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* All public components share the managed theme and may be restyled through theme.customCss. */
body {
  font-size: var(--base-font, 16px);
}
.site-footer {
  background: var(--footer-bg, var(--paper));
}
.edition-intro {
  padding-top: calc(49px * var(--spacing, 1));
}
.story-section {
  margin-top: calc(65px * var(--spacing, 1));
}
.lead-copy h2 {
  font-size: calc(43px * var(--heading-scale, 1));
}
.story-card h3 {
  font-size: calc(26px * var(--heading-scale, 1));
}
.article-header h1 {
  font-size: calc(56px * var(--heading-scale, 1));
}
.hide-tagline .brand small {
  display: none;
}
.layout-header-centered .header-inner {
  flex-wrap: wrap;
  justify-content: center;
}
.layout-header-centered .brand {
  width: 100%;
  justify-content: center;
}
.layout-header-centered .desktop-nav {
  margin-left: 0;
}
.layout-header-minimal .brand-mark {
  display: none;
}
.layout-home-feature .lead-grid {
  grid-template-columns: 1fr;
}
.layout-home-feature .latest {
  display: none;
}
.layout-home-grid .lead-grid {
  grid-template-columns: 1fr 1fr;
}
.layout-home-list .lead-grid {
  display: block;
}
.layout-home-list .lead-image {
  max-width: 55%;
  float: left;
  margin-right: 30px;
}
.layout-home-list .latest {
  clear: both;
  padding-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.layout-home-list .latest > .section-heading {
  grid-column: 1/-1;
}
.cards-bordered .story-card {
  padding: 20px;
  border: 1px solid var(--border, #dbe3e6);
  border-radius: var(--radius);
}
.cards-filled .story-card {
  padding: 20px;
  background: var(--mist);
  border-radius: var(--radius);
}
/* A direct or house ad: a card with its image beside the words (above them
   in the sidebar and on phones), the headline in the display face and the
   copy's closing link as a button. Static display creatives (.ad-display)
   keep their own box below. */
.advertisement {
  max-width: var(--width);
  margin: 32px auto;
  position: relative;
}
.advertisement:not(.ad-display) {
  display: grid;
  grid-template-columns: minmax(150px, min(38%, 300px)) 1fr;
  grid-auto-rows: min-content;
  column-gap: 28px;
  align-content: center;
  padding: 20px;
  background: var(--paper, #fff);
  /* Its own ink: a card placed in a dark band keeps readable words. */
  color: var(--ink, #111);
  border: 1px solid var(--border, #dbe3e6);
  border-top: 3px solid var(--accent, var(--primary, currentColor));
  border-radius: var(--radius, 0);
}
.advertisement:not(.ad-display) > * {
  grid-column: 2;
  min-width: 0;
}
.advertisement:not(.ad-display) > a {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.advertisement:not(.ad-display) > a > * {
  grid-column: 2;
  min-width: 0;
}
.advertisement:not(.ad-display) > a > img:not(.impression-pixel) {
  grid-column: 1;
  grid-row: 1 / span 6;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 280px;
  object-fit: cover;
  border-radius: calc(var(--radius, 0px) / 2);
}
.advertisement:not(.ad-display) > a:not(:has(img)) ~ *,
.advertisement:not(.ad-display):not(:has(> a img)) > * {
  grid-column: 1 / -1;
}
.advertisement h3 {
  margin: 0 0 8px;
  color: inherit;
  font-family: var(--display, inherit);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.12;
  text-wrap: balance;
}
.advertisement > a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.advertisement p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
}
.advertisement .ad-copy {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--muted-text, inherit);
}
.advertisement .ad-copy > :last-child {
  margin-bottom: 0;
}
/* The copy's closing link alone in its paragraph ("Read the report"): a
   button. */
.advertisement .ad-copy p:last-child > a:only-child {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 16px;
  background: var(--ink, #111);
  color: var(--paper, #fff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius, 0);
}
.advertisement .ad-copy p:last-child > a:only-child::after {
  content: " →";
}
.advertisement .ad-copy p:last-child > a:only-child:hover {
  background: var(--primary, var(--ink, #111));
}
.ad-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
}
.advertisement .impression-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* Narrow places stack: image first, then the words. */
.ad-sidebar.advertisement:not(.ad-display) {
  grid-template-columns: 1fr;
  margin: 24px 0;
}
.ad-sidebar.advertisement:not(.ad-display) > *,
.ad-sidebar.advertisement:not(.ad-display) > a > * {
  grid-column: 1;
}
.ad-sidebar.advertisement:not(.ad-display) > a > img:not(.impression-pixel) {
  grid-row: auto;
  order: -1;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
}
.ad-sidebar .ad-label {
  order: -2;
}
.ad-article {
  max-width: 680px;
}
.publication-form {
  max-width: 680px;
  margin: 48px auto;
  padding: 30px;
  background: var(--mist);
  border-radius: var(--radius);
}
.publication-form h2 {
  font-size: 32px;
  margin-bottom: 14px;
}
.publication-form > p {
  margin-bottom: 20px;
  font-size: 14px;
}
.publication-form select {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 6px 0 15px;
  border: 1px solid var(--border);
}
input[type="checkbox"] {
  width: auto;
  margin: 0 10px 0 0;
}
.consent {
  margin: 15px 0;
}
.membership-page,
.account-page {
  margin: 55px auto 75px;
  max-width: 1100px;
}
.membership-page h1,
.account-page h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.membership-page > header {
  max-width: 700px;
}
.membership-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin: 35px 0;
}
.membership-plan {
  padding: 30px;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.membership-plan h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.membership-plan p {
  font-size: 14px;
}
.plan-price {
  display: block;
  font-size: 34px;
  margin: 25px 0 15px;
}
.plan-price small {
  font-size: 15px;
  font-weight: 400;
}
.membership-plan ul {
  padding-left: 20px;
  min-height: 80px;
}
.membership-plan li {
  margin-bottom: 9px;
}
.membership-plan .button {
  display: inline-block;
}
.account-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 35px;
}
.account-columns h2 {
  font-size: 29px;
  margin-bottom: 20px;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}
.paywall {
  max-width: 680px;
  margin: 35px auto;
  padding: 40px;
  background: var(--mist);
  border: 1px solid var(--border);
  text-align: center;
}
.paywall h2 {
  font-size: 33px;
  margin-bottom: 15px;
}
.paywall .button {
  display: inline-block;
  margin: 25px 20px 0 0;
}
@media (max-width: 760px) {
  .layout-home-grid .lead-grid {
    grid-template-columns: 1fr;
  }
  .layout-home-list .lead-image {
    float: none;
    max-width: 100%;
    margin: 0;
  }
  .layout-home-list .latest {
    display: block;
  }
  .lead-copy h2 {
    font-size: calc(35px * var(--heading-scale, 1));
  }
  .article-header h1 {
    font-size: calc(40px * var(--heading-scale, 1));
  }
  .account-columns {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .advertisement {
    margin: 24px 16px;
  }
  .advertisement:not(.ad-display) {
    grid-template-columns: 1fr;
  }
  .advertisement:not(.ad-display) > *,
  .advertisement:not(.ad-display) > a > * {
    grid-column: 1;
  }
  .advertisement:not(.ad-display) > a > img:not(.impression-pixel) {
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
  }
  .membership-page h1,
  .account-page h1 {
    font-size: 36px;
  }
}

/* Editorial discovery and public transparency. */
.search-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  align-items: end;
  margin: 2rem 0;
}
.search-filters label {
  display: grid;
  gap: 0.4rem;
  text-align: left;
}
.search-filters input,
.search-filters select {
  min-width: 0;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0.6rem;
  font: inherit;
  color: inherit;
  background: var(--surface, white);
  border: 1px solid currentColor;
  border-radius: 0;
}
.corrections,
.series-navigation {
  max-width: 680px;
  margin: 2.5rem auto;
  padding: 1.5rem 0;
  border-top: 1px solid currentColor;
}
.corrections article + article {
  margin-top: 1.5rem;
}
.corrections h2,
.series-navigation h2 {
  margin-bottom: 1rem;
}
.corrections h3 {
  margin-bottom: 0.5rem;
}
.corrections p,
.series-navigation p {
  margin-top: 0.5rem;
}
.corrections a,
.series-navigation a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Publisher-composed front pages: explicit blocks, responsive story grids. */
.frontpage-block {
  padding: calc(1.5rem * var(--spacing)) 1rem;
  margin-inline: auto;
  width: 100%;
}
.frontpage-block.width-reading {
  max-width: 760px;
}
.frontpage-block.spacing-compact {
  padding-block: calc(0.5rem * var(--spacing));
}
.frontpage-block.spacing-generous {
  padding-block: calc(3rem * var(--spacing));
}
.frontpage-block h1 {
  font: bold calc(3rem * var(--heading-scale)) / 1.08 var(--display);
  margin-block: 0 1rem;
}
.frontpage-block h2 {
  font-family: var(--display);
}
.frontpage-block .prose {
  max-width: 100%;
}
.frontpage-block figure {
  margin: 0;
}
.frontpage-block img {
  max-width: 100%;
  height: auto;
}
.frontpage-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.frontpage-hero > div {
  flex: 1;
  min-width: 0;
}
.frontpage-hero.image-left {
  flex-direction: row-reverse;
}
.frontpage-hero.image-above {
  flex-direction: column-reverse;
}
.frontpage-stories {
  display: grid;
  grid-template-columns: repeat(var(--frontpage-columns), minmax(0, 1fr));
  gap: calc(1.5rem * var(--spacing));
}
.frontpage-stories.stories-list {
  grid-template-columns: 1fr;
}
.frontpage-stories.stories-lead > :first-child {
  grid-column: 1 / -1;
}
.frontpage-form {
  border: 0;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) {
  .frontpage-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .frontpage-stories {
    grid-template-columns: 1fr;
  }
  .frontpage-hero,
  .frontpage-hero.image-left {
    flex-direction: column;
  }
  .frontpage-block h1 {
    font-size: calc(2rem * var(--heading-scale));
  }
}

.frontpage-stories.stories-list .story-card {
  display: flex;
  gap: 1.5rem;
}
.frontpage-stories.stories-list .card-image {
  flex: 0 0 30%;
}
@media (max-width: 600px) {
  .frontpage-stories.stories-list .story-card {
    display: block;
  }
}

/* Shared fixed-display renderer: reserve the selected artwork's aspect ratio. */
.advertisement.ad-display {
  padding: 12px 0;
  background: transparent;
  border: 0;
  text-align: center;
  overflow: hidden;
}
.ad-display > .ad-display-link {
  display: block;
  width: min(100%, var(--ad-width));
  aspect-ratio: var(--ad-ratio);
  margin: 0 auto;
}
.ad-display picture {
  display: block;
  width: 100%;
  height: 100%;
}
.advertisement.ad-display img {
  display: block;
  max-width: 100%;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ad-display .ad-label {
  font-size: 12px;
}
.ad-display a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .ad-display > .ad-display-link {
    width: min(100%, var(--ad-mobile-width));
    aspect-ratio: var(--ad-mobile-ratio);
  }
}

.reader-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 1rem 0 1.5rem;
}
.reader-account-link {
  white-space: nowrap;
  font-size: 0.9rem;
}
.community-thread-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 2rem;
  align-items: start;
}
.community-composer {
  position: sticky;
  top: 1rem;
  padding: 1rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
}
.community-composer fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.community-composer label {
  display: block;
  margin-bottom: 0.8rem;
}
.community-composer textarea,
.community-composer select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 0.3rem;
}
.community-message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .community-thread-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-composer {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 760px) {
  .reader-account-link {
    display: none;
  }
  .header-inner .brand {
    min-width: 0;
    flex-shrink: 1;
  }
  .header-inner .brand > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .header-inner .brand-mark,
  .header-inner .brand-logo {
    flex-shrink: 0;
  }
}

/* Motion headers: a scroll-scrubbed clip under the headline. Themes restyle
   these classes and read --scroll-progress (0 → 1 through the header). */
.motion-header {
  position: relative;
  height: var(--mh-scroll-length, 220vh);
  margin: 0 calc(50% - 50vw) 2rem;
}
.motion-header__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
}
.motion-header__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.motion-header__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, calc(0.45 + var(--scroll-progress, 0) * 0.4)),
    rgba(0, 0, 0, 0) 70%
  );
}
.motion-header__text {
  position: absolute;
  inset: auto 0 0 0;
  /* --mh-top: how far the stage still sits below the top of the screen, so
     a headline at the foot of the stage is in view on first load. */
  padding: 0 max(16px, 6vw) calc(10vh + var(--mh-top, 0px));
}
.motion-header__text .article-header {
  max-width: var(--width, 760px);
  margin: 0 auto;
  color: #fff;
  transform: translateY(calc((1 - var(--scroll-progress, 0)) * 2vh));
}
.motion-header__text .article-header a,
.motion-header__text .article-header .article-deck,
.motion-header__text .article-header .article-byline {
  color: #fff;
}
.motion-header__label {
  position: absolute;
  right: 16px;
  bottom: calc(12px + var(--mh-top, 0px));
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
}
.motion-header--still {
  height: auto;
}
.motion-header--still .motion-header__stage {
  position: relative;
  height: 75vh;
}
@media (prefers-reduced-motion: reduce) {
  .motion-header {
    height: auto;
  }
  .motion-header__stage {
    position: relative;
    height: 75vh;
  }
}

/* Motion header templates (data-template). Neutral defaults from the theme's
   own colors and display face; a theme restyles them. The script sets
   --scroll-progress, --mh-e (the window opening, eased) and --mh-k (the
   knockout dive), and marks passed headline words .is-lit. Each headline
   word is .mh-w with --i of --n. */
.motion-header[data-template="front-page"] .motion-header__text h1 {
  transform-origin: left bottom;
  transform: scale(calc(1 - var(--scroll-progress, 0) * 0.25));
}

.motion-header[data-template="knockout"] .motion-header__knockout {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0 3vw;
  background: var(--paper, #fff);
  mix-blend-mode: screen;
  transform: scale(calc(1 + var(--mh-k, 0) * var(--mh-k, 0) * 24));
  transform-origin: var(--mh-ox, 50%) var(--mh-oy, 50%);
  opacity: calc(1 - clamp(0, (var(--scroll-progress, 0) - 0.5) * 8, 1));
  pointer-events: none;
}
.motion-header__knockout-text {
  display: block;
  font-family: var(--display, inherit);
  font-size: var(--mh-fit, 11vw);
  font-weight: 800;
  line-height: 0.88;
  text-align: center;
  color: #000;
}
.mh-kw {
  display: inline-block;
}
.motion-header[data-template="knockout"] .motion-header__text,
.motion-header[data-template="knockout"] .motion-header__label {
  opacity: clamp(0, (var(--scroll-progress, 0) - 0.56) * 6, 1);
}

.motion-header[data-template="window"] .motion-header__stage {
  background: var(--paper, #fff);
}
.motion-header[data-template="window"] .motion-header__video,
.motion-header[data-template="window"] .motion-header__shade {
  --mh-open: calc(1 - var(--mh-e, 0));
  clip-path: inset(
    calc(var(--mh-open) * 40%) calc(var(--mh-open) * 16%)
      calc(var(--mh-open) * 8%) calc(var(--mh-open) * 16%)
  );
}
.motion-header[data-mask="coin"] .motion-header__video,
.motion-header[data-mask="coin"] .motion-header__shade {
  clip-path: circle(
    calc(min(21vmin, 190px) + var(--mh-e, 0) * var(--mh-e, 0) * 130vmax) at 50%
      60%
  );
}
/* A publication's own mask (settings.masks): the clip shows through the
   shape, which grows past the screen's edges as the window opens. */
.motion-header[data-mask="shape"] .motion-header__video,
.motion-header[data-mask="shape"] .motion-header__shade {
  clip-path: none;
  --mh-shape: calc(
    min(52vmin, 460px) + var(--mh-e, 0) * var(--mh-e, 0) * var(--mh-e, 0) *
      300vmax
  );
  -webkit-mask: var(--mh-mask) 50% 60% / var(--mh-shape) var(--mh-shape)
    no-repeat;
  mask: var(--mh-mask) 50% 60% / var(--mh-shape) var(--mh-shape) no-repeat;
}
.motion-header__rim {
  position: absolute;
  left: 50%;
  top: 60%;
  width: calc(
    2 * (min(21vmin, 190px) + var(--mh-e, 0) * var(--mh-e, 0) * 130vmax) + 16px
  );
  height: auto;
  transform: translate(-50%, -50%)
    rotate(calc(var(--scroll-progress, 0) * 120deg));
  opacity: calc(1 - clamp(0, (var(--mh-e, 0) - 0.25) * 3, 1));
  pointer-events: none;
}
.motion-header__rim circle {
  fill: none;
  stroke: var(--ink, #111);
  stroke-width: 2.2;
  stroke-dasharray: 0.9 1.1;
}
.motion-header[data-template="window"] .motion-header__text {
  inset: 6vh 0 auto 0;
  padding-bottom: 0;
  transform: translateY(calc(var(--mh-e, 0) * 50vh));
}
.motion-header[data-template="window"] .motion-header__text .article-header,
.motion-header[data-template="window"] .motion-header__text .article-header a,
.motion-header[data-template="window"]
  .motion-header__text
  .article-header
  .article-deck,
.motion-header[data-template="window"]
  .motion-header__text
  .article-header
  .article-byline {
  color: color-mix(
    in srgb,
    #fff calc(clamp(0, (var(--mh-e, 0) - 0.2) * 2, 1) * 100%),
    var(--ink, #111)
  );
  transform: none;
}
.motion-header[data-template="window"] .motion-header__label {
  opacity: calc(0.8 * clamp(0, (var(--mh-e, 0) - 0.3) * 3, 1));
}

.motion-header[data-template="lower-third"] .motion-header__shade {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0) 55%
  );
}
.motion-header[data-template="lower-third"] .motion-header__text {
  padding-bottom: calc(9vh + var(--mh-top, 0px));
}
.motion-header[data-template="lower-third"]
  .motion-header__text
  .article-header {
  max-width: min(1100px, 100%);
  padding: 16px 20px 18px;
  background: rgba(0, 0, 0, 0.82);
  border-left: 8px solid var(--primary, #c00);
  transform: none;
}
.motion-header[data-template="lower-third"]
  .motion-header__text
  .article-header::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 12px;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: var(--primary, #c00);
}
.motion-header[data-template="lower-third"] .mh-w {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.12s linear;
}
.motion-header[data-template="lower-third"] .mh-w.is-lit {
  color: var(--mh-lit, #fff);
}

.motion-header[data-template="split-wire"] .motion-header__stage {
  display: grid;
  grid-template-rows: 52% 1fr;
  background: var(--paper, #fff);
}
.motion-header[data-template="split-wire"] .motion-header__video {
  position: relative;
  grid-row: 1;
}
.motion-header[data-template="split-wire"] .motion-header__shade {
  display: none;
}
.motion-header[data-template="split-wire"] .motion-header__text {
  position: relative;
  inset: auto;
  grid-row: 2;
  padding: 20px max(16px, 5vw);
  overflow: hidden;
}
.motion-header[data-template="split-wire"] .motion-header__text .article-header,
.motion-header[data-template="split-wire"]
  .motion-header__text
  .article-header
  a,
.motion-header[data-template="split-wire"]
  .motion-header__text
  .article-header
  .article-deck,
.motion-header[data-template="split-wire"]
  .motion-header__text
  .article-header
  .article-byline {
  color: var(--ink, #111);
  transform: none;
}
.motion-header[data-template="split-wire"] .mh-w {
  /* Readable from the start: unfilled words stay at large-text contrast. */
  opacity: clamp(
    0.5,
    1 - (var(--i) / var(--n, 1) * 0.9 - var(--scroll-progress, 0) * 1.7) * 3,
    1
  );
}
.motion-header[data-template="split-wire"] .motion-header__label {
  bottom: auto;
  top: 12px;
}
@media (min-width: 900px) {
  .motion-header[data-template="split-wire"] .motion-header__stage {
    grid-template-rows: none;
    grid-template-columns: minmax(360px, 40%) 1fr;
  }
  .motion-header[data-template="split-wire"] .motion-header__video {
    grid-row: 1;
    grid-column: 2;
  }
  .motion-header[data-template="split-wire"] .motion-header__text {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
  }
}
/* Readers who turn motion off see each template at rest: words inked,
   the window open, the knockout lifted. */
.motion-header--still .mh-w {
  opacity: 1;
}
.motion-header--still[data-template="knockout"] .motion-header__knockout,
.motion-header--still .motion-header__rim {
  display: none;
}
.motion-header--still[data-template="knockout"] .motion-header__text,
.motion-header--still[data-template="knockout"] .motion-header__label {
  opacity: 1;
}
.motion-header--still[data-template="window"] {
  --mh-e: 1;
}
@media (prefers-reduced-motion: reduce) {
  .motion-header .mh-w {
    opacity: 1;
  }
  .motion-header__knockout,
  .motion-header__rim {
    display: none;
  }
  .motion-header .motion-header__text,
  .motion-header .motion-header__label {
    opacity: 1;
  }
  .motion-header[data-template="window"] {
    --mh-e: 1;
  }
}

/* The homepage lead as a motion header: the next stories run as a band
   across its foot. */
.motion-header__band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--mh-top, 0px);
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  padding: 0 max(16px, 5vw);
  background: rgba(0, 0, 0, 0.82);
  border-top: 4px solid var(--primary, #c00);
}
.motion-header__band a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--display, inherit);
  line-height: 1.1;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.motion-header__band a:first-child {
  border-left: 0;
}
.motion-header__band a:hover,
.motion-header__band a:focus-visible {
  color: var(--mh-lit, #fff);
  text-decoration: underline;
}
/* A homepage lead's headline is an h2 linking to the story. */
.motion-header__text .article-header h2 {
  margin: 0.2em 0 0.3em;
  font-family: var(--display, inherit);
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1.02;
}
.motion-header__text .article-header h2 a {
  color: inherit;
  text-decoration: none;
}
.motion-header__text .article-header h2 a:hover,
.motion-header__text .article-header h2 a:focus-visible {
  text-decoration: underline;
}
/* The band of other stories sits over the foot of the stage: the heading
   (its byline included) stays clear of it, even with three-line tabs. */
.motion-header:has(.motion-header__band) .motion-header__text {
  padding-bottom: calc(5vh + 132px + var(--mh-top, 0px));
}
/* A named writer's story shows them on its tab too. */
.band-writer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--mh-lit, #fff);
}
.band-writer img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid currentColor;
}
.motion-header:has(.motion-header__band) .motion-header__label {
  bottom: auto;
  top: 12px;
}
@media (max-width: 700px) {
  .motion-header__band a:nth-child(n + 2) {
    display: none;
  }
}
/* A carousel on a phone shows the story that is up, with its bar. */
@media (max-width: 700px) {
  .lead-carousel__tabs a {
    display: none;
  }
  .lead-carousel__tabs a[aria-current] {
    display: block;
    padding-right: 84px;
  }
  /* Pause sits in the strip's corner rather than on a row of its own. */
  .lead-carousel__pause {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
}
/* On a phone the strip is taller for the width it has (a writer row and a
   wrapped headline): the heading and its summary stay clear of it. */
@media (max-width: 700px) {
  .motion-header:has(.motion-header__band) .motion-header__text {
    padding-bottom: calc(2vh + 168px + var(--mh-top, 0px));
  }
  .motion-header:has(.motion-header__band) .article-deck {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Section tiles: each section with a still from its latest story. */
.frontpage-sections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.section-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink, #111);
  color: #fff;
  text-decoration: none;
}
.section-tile__picture,
.section-tile__picture > *,
.section-tile__picture img,
.section-tile__picture picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0) 60%
  );
}
.section-tile__name {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--display, inherit);
  font-size: 1.8rem;
  line-height: 1;
}

/* A hero shown as a knockout: the title cut out of the page with the clip
   in its letters. */
.frontpage-knockout__stage {
  position: relative;
  height: 70vh;
  min-height: 360px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.frontpage-knockout__stage > img,
.frontpage-knockout__stage > picture,
.frontpage-knockout__stage > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frontpage-knockout__letters {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0 3vw;
  background: var(--paper, #fff);
  mix-blend-mode: screen;
  pointer-events: none;
}
.frontpage-knockout__letters span {
  font-family: var(--display, inherit);
  font-size: min(15vw, 24vh);
  font-weight: 800;
  line-height: 0.86;
  text-align: center;
  color: #000;
}
.frontpage-knockout .frontpage-hero-copy {
  padding-top: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .frontpage-knockout__letters {
    mix-blend-mode: normal;
    background: transparent;
  }
  .frontpage-knockout__letters span {
    color: #fff;
  }
}

/* Clips on cards and in a hero: the still stays until the clip is ready,
   then the clip scrubs as the card passes through the screen. Themes may
   restyle or hide .motion-clip. */
.motion-card {
  position: relative;
  display: block;
}
.motion-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.motion-card[data-state="ready"] .motion-clip {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .motion-clip {
    display: none;
  }
}

/* Front page reader blocks: signup, appeal, sponsored spot. Large,
   plain targets; themes restyle .frontpage-signup/-appeal/-ad. */
.frontpage-signup,
.frontpage-appeal {
  display: grid;
  gap: 14px;
}
.frontpage-signup__text,
.frontpage-appeal__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
.frontpage-signup fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.frontpage-signup input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  font-size: 18px;
}
.frontpage-signup__consent {
  font-size: 14px;
  line-height: 1.4;
}
.frontpage-signup button,
.frontpage-signup__button,
.frontpage-appeal__button {
  display: block;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font: 700 18px/1.3 var(--body);
  text-align: center;
  cursor: pointer;
}
.frontpage-appeal__meter {
  height: 14px;
  background: var(--mist, #e8e8e8);
  border-radius: 7px;
  overflow: hidden;
}
.frontpage-appeal__meter span {
  display: block;
  height: 100%;
  background: var(--primary);
}
.frontpage-appeal__figure {
  margin: 8px 0 0;
  font-size: 15px;
}
.frontpage-appeal__figure small {
  color: var(--muted-text, #586e79);
}
.frontpage-appeal__amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
}
.frontpage-appeal__amounts a {
  display: block;
  padding: 15px 0;
  border: 2px solid currentColor;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}
.frontpage-ad--preview {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 2px dashed var(--muted-text, #586e79);
  color: var(--muted-text, #586e79);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

/* Headlines fit their template's space, not the screen width: a narrow
   split-wire column or a lower-third band holds the whole headline at
   1280×800 under a publication's masthead. Long words wrap rather than
   clip. The field showed "SURVEILLANCE" cut to "SURVEILL" and a first
   line hidden above the stage. */
.motion-header .motion-header__text .article-header :is(h1, h2) {
  overflow-wrap: break-word;
  hyphens: auto;
}
.motion-header[data-template="split-wire"] .motion-header__text {
  container-type: inline-size;
}
.motion-header[data-template="split-wire"]
  .motion-header__text
  .article-header
  :is(h1, h2) {
  font-size: clamp(26px, min(10.5cqi, 7vh), 84px);
  line-height: 1;
}
.motion-header[data-template="lower-third"]
  .motion-header__text
  .article-header
  :is(h1, h2) {
  font-size: clamp(26px, min(4.6vw, 6.4vh), 64px);
  line-height: 1.02;
}
.motion-header[data-template="window"]
  .motion-header__text
  .article-header
  :is(h1, h2) {
  font-size: clamp(28px, min(6vw, 6.6vh), 88px);
}
@media (min-width: 900px) {
  /* The split-wire text starts at the top of its column, so a headline
     is in view on first load even when the stage begins below a
     masthead. */
  .motion-header[data-template="split-wire"] .motion-header__text {
    align-self: start;
    padding-top: 8vh;
  }
}

/* Media player: a 16:9 frame with the still behind one large play
   button; YouTube loads only after play. Themes restyle .media-player. */
.media-player__surface {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #000 center / cover no-repeat;
  overflow: hidden;
}
.media-player__surface > :is(video, iframe) {
  width: 100%;
  height: 100%;
}
.media-player__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.media-player__surface:has(> :is(video, iframe))::before {
  display: none;
}
.media-player__play {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: 700 18px/1 var(--body);
  cursor: pointer;
}
.media-player__icon {
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease;
}
.media-player__icon::after {
  content: "";
  margin-left: 6px;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
}
.media-player__play:hover .media-player__icon,
.media-player__play:focus-visible .media-player__icon {
  transform: scale(1.06);
}
.media-player__status:empty {
  display: none;
}
.media-player__status,
.media-player__source {
  margin: 10px 0 0;
  font-size: 14px;
}
.media-channel__now {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}
.media-channel__live {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 3px;
}
.media-channel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}
.media-channel__actions button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 15px;
}
@media (prefers-reduced-motion: reduce) {
  .media-player__icon {
    transition: none;
  }
}

/* Knowledge shown in a story: a quote or a fact from the publication's
   own records (`:::quote|fact kn-<id>`). Themes may restyle both. */
.knowledge-embed {
  margin: 1.75rem auto;
  max-width: 680px;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.knowledge-embed blockquote {
  margin: 0;
}
.knowledge-embed blockquote p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.45;
  font-style: italic;
}
.knowledge-embed figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted-text, #586e79);
}
.knowledge-embed figcaption a {
  color: inherit;
}
/* A quote from the publication's knowledge: a pull quote in the
   publication's own style, not a tinted card. Headline face, brand rules,
   a large quotation mark in the brand colour, the speaker (with their
   picture when there is one) and a plain link to where it was said. It
   breaks out of the text column on wide screens. The figure selectors
   outrank a theme's general .prose blockquote rules. */
figure.knowledge-quote,
.prose figure.knowledge-quote {
  position: relative;
  max-width: none;
  margin: 56px 0;
  padding: 28px 0 24px;
  background: none;
  border: 0;
  border-top: 6px solid var(--primary, currentColor);
  border-bottom: 1px solid var(--rule, rgba(0, 0, 0, 0.18));
}
figure.knowledge-quote::before,
.prose figure.knowledge-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.08em;
  left: -0.04em;
  font-family: var(--display, Georgia, serif);
  font-size: 140px;
  line-height: 1;
  color: var(--primary, currentColor);
  pointer-events: none;
}
figure.knowledge-quote blockquote,
.prose figure.knowledge-quote blockquote {
  margin: 0;
  padding: 0 0 0 72px;
  border: 0;
  background: none;
}
figure.knowledge-quote blockquote p,
.prose figure.knowledge-quote blockquote p,
.prose figure.knowledge-quote blockquote p:last-child {
  margin: 0;
  font-family: var(--display, inherit);
  font-size: clamp(26px, 3.6vw, 42px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink, inherit);
  text-wrap: balance;
}
figure.knowledge-quote figcaption,
.prose figure.knowledge-quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 22px 0 0 72px;
  font-family: var(--body, inherit);
  font-size: 15px;
  color: var(--ink, inherit);
}
.knowledge-quote__photo {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink, currentColor);
}
.knowledge-quote__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.knowledge-quote__speaker {
  font-family: var(--display, inherit);
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.knowledge-quote__date {
  font-size: 13px;
  color: var(--muted-text, #586e79);
}
.knowledge-quote__source,
.prose .knowledge-quote__source {
  margin-left: auto;
  font-weight: 700;
  color: var(--primary, inherit);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 1040px) {
  .prose figure.knowledge-quote {
    margin-inline: -120px;
  }
}
@media (max-width: 640px) {
  figure.knowledge-quote::before,
  .prose figure.knowledge-quote::before {
    font-size: 96px;
  }
  figure.knowledge-quote blockquote,
  .prose figure.knowledge-quote blockquote {
    padding-left: 44px;
  }
  figure.knowledge-quote figcaption,
  .prose figure.knowledge-quote figcaption {
    margin-left: 44px;
  }
  .knowledge-quote__source,
  .prose .knowledge-quote__source {
    margin-left: 0;
    flex-basis: 100%;
  }
}
.knowledge-fact-title {
  margin: 0 0 0.3rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.knowledge-fact p:not(.knowledge-fact-title) {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Phones: the window and coin masks open over a headline that, at phone
   width, is taller than the space above the closed frame (the field
   showed a byline under the opening frame). There they play full frame
   with the headline on a shade at the foot, like the front-page
   template. */
@media (max-width: 760px) {
  .motion-header:is([data-template="window"], [data-mask="coin"])
    .motion-header__stage {
    background: #000;
  }
  .motion-header:is([data-template="window"], [data-mask="coin"])
    :is(.motion-header__video, .motion-header__shade) {
    clip-path: none;
  }
  .motion-header:is([data-template="window"], [data-mask="coin"])
    .motion-header__shade {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0) 70%
    );
  }
  .motion-header:is([data-template="window"], [data-mask="coin"])
    .motion-header__rim {
    display: none;
  }
  .motion-header[data-template="window"] .motion-header__text {
    inset: auto 0 0 0;
    padding-bottom: calc(8vh + var(--mh-top, 0px));
    transform: none;
  }
  .motion-header[data-template="window"] .motion-header__text .article-header,
  .motion-header[data-template="window"]
    .motion-header__text
    .article-header
    :is(
      a,
      .article-deck,
      .article-byline,
      .article-byline *,
      .story-meta,
      .story-meta *
    ) {
    color: #fff;
  }
  .motion-header[data-template="window"] .motion-header__label {
    opacity: 0.8;
  }
}

/* Story page parts (settings.storyPage): share buttons, a guide to the
   story's sections, a closing line, an appeal and a signpost to the next
   story. Themes restyle the .story-* classes. */
.story-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin: 24px auto;
}
.story-share :is(a, button) {
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid currentColor;
  background: none;
  color: inherit;
  font: 700 15px/1.3 var(--body);
  cursor: pointer;
}
.story-guide {
  display: none;
}
.story-guide__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-text, #586e79);
}
.story-guide ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: part;
  border-left: 2px solid var(--border, #dbe3e6);
}
.story-guide li {
  counter-increment: part;
}
.story-guide ol a {
  display: grid;
  grid-template-columns: 24px 1fr;
  padding: 8px 0 8px 12px;
  font-size: 15px;
  line-height: 1.35;
}
.story-guide ol a::before {
  content: counter(part);
  font-weight: 700;
  color: var(--primary);
}
@media (min-width: 1100px) {
  .article-layout.has-story-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 700px) 240px minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
  }
  .article-layout.has-story-guide > * {
    grid-column: 2;
    min-width: 0;
  }
  .article-layout.has-story-guide > .story-share {
    justify-self: stretch;
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .article-layout.has-story-guide > :is(.motion-header, .article-header) {
    grid-column: 1 / -1;
  }
  .article-layout.has-story-guide > .story-guide {
    display: block;
    grid-column: 3;
    grid-row: span 6;
    position: sticky;
    top: 24px;
    margin-top: 32px;
  }
}
.story-organizations__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-text, #586e79);
}
.story-organizations__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-organizations__list li {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--border, #dbe3e6);
  font-size: 15px;
  line-height: 1.35;
}
.story-organizations__list a {
  font-weight: 700;
}
.story-organizations__list span {
  color: var(--muted-text, #586e79);
}
.story-guide .story-organizations {
  margin-top: 24px;
}
.story-organizations--inline {
  max-width: 680px;
  margin: 40px auto 0;
}
@media (min-width: 1100px) {
  .has-story-guide > .story-organizations--inline {
    display: none;
  }
}
/* Legislation in this story: linked state bills, their people, and the
   publication's optional invitation. Themes restyle these freely. */
.story-legislation {
  max-width: 680px;
  margin: 40px auto 0;
  padding-top: 16px;
  border-top: 2px solid var(--text, #17262d);
}
.story-legislation__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.story-legislation__bill + .story-legislation__bill {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border, #dbe3e6);
}
.story-legislation__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-text, #586e79);
}
.story-legislation__stage {
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 3px;
}
.story-legislation__bill h3 {
  margin: 4px 0;
  font-size: 20px;
  line-height: 1.25;
}
.story-legislation__action,
.story-legislation__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted-text, #586e79);
}
.story-legislation__action time {
  font-weight: 700;
}
.story-legislation__group {
  margin-top: 14px;
}
.story-legislation__group h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.story-legislation__group h4 span {
  font-weight: 400;
  color: var(--muted-text, #586e79);
}
.story-legislation__group ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.story-legislation__person {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  line-height: 1.3;
}
.story-legislation__person img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.story-legislation__person small {
  display: block;
  color: var(--muted-text, #586e79);
}
.story-legislation__party {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
}
.story-legislation__vote {
  margin-top: 18px;
}
.story-legislation__vote h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.story-legislation__tally {
  margin: 0 0 8px;
  font-size: 15px;
}
.story-legislation__votes {
  margin-top: 8px;
}
.story-legislation__votes summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.story-legislation__votes ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 4px 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.story-legislation__join {
  margin-top: 24px;
  padding: 16px;
  background: var(--surface, #f3f6f7);
}
.story-legislation__join-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.story-legislation__join p {
  margin: 0 0 12px;
}
.organization__kind {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.organization__summary {
  font-size: 20px;
  line-height: 1.45;
}
.organization__facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
}
.organization__facts dt {
  font-weight: 700;
}
.organization__facts dd {
  margin: 0;
}
.organization__roles,
.organization__links,
.organization__stories {
  padding-left: 1.1em;
}
.organization__roles li,
.organization__links li,
.organization__stories li {
  margin: 6px 0;
}
.organization__source {
  font-size: 13px;
  color: var(--muted-text, #586e79);
}
.organization__sources {
  font-size: 14px;
  color: var(--muted-text, #586e79);
}
.organization table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.organization :is(th, td) {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border, #dbe3e6);
  text-align: left;
}
@media (max-width: 600px) {
  .organization table {
    display: block;
    overflow-x: auto;
  }
}
.story-closing {
  max-width: 680px;
  margin: 48px auto 0;
  padding-top: 18px;
  border-top: 3px solid var(--ink, #111);
  font-style: italic;
  font-size: 19px;
  color: var(--muted-text, #586e79);
}
.story-closing strong {
  margin-right: 8px;
  font-style: normal;
  color: var(--primary);
}
.story-appeal {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 28px;
  border-top: 5px solid var(--primary);
  background: var(--mist, #f1f1ee);
}
.story-next {
  margin-top: 56px;
  padding: 48px 0;
  border-top: 1px solid var(--border, #dbe3e6);
}
.story-next__why {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--primary);
}
.story-next__card {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
/* Up next by a named writer: a featured preview, the writer large. */
.story-next__card--writer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  background: var(--ink, #111);
  color: var(--paper, #fff);
  border-top: 6px solid var(--primary, #c00);
}
.story-next__card--writer .story-next__title,
.story-next__card--writer .story-next__deck,
.story-next__card--writer .story-next__go {
  color: inherit;
}
.story-next__portrait {
  width: 160px;
  height: 160px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid currentColor;
}
.story-next__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.story-next__writer-name {
  font-family: var(--display, inherit);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 0.95;
}
.story-next__writer-title {
  font-size: 14px;
  opacity: 0.8;
}
@media (max-width: 640px) {
  .story-next__card--writer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
  }
  .story-next__portrait {
    width: 104px;
    height: 104px;
  }
  .story-next__writer-name {
    font-size: 36px;
  }
}
.story-next__title {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.02;
}
.story-next__deck {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted-text, #586e79);
}
.story-next__go {
  justify-self: start;
  margin-top: 6px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* Briefings archive: the latest issue with its headlines, then past issues
   by month, each showing what it held. */
.briefings {
  max-width: var(--content-width, 1100px);
  margin: 0 auto;
  padding: 32px 16px 64px;
}
.briefings__head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}
.briefings__head p {
  margin: 8px 0 0;
  color: var(--muted-text, #586e79);
}
.briefings__latest {
  display: grid;
  gap: 24px;
  margin: 32px 0 48px;
  padding: 24px;
  border-top: 5px solid var(--primary);
  background: var(--mist, #f1f1ee);
}
.briefings__latest-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.briefings__kicker {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--primary);
}
.briefings__latest h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}
.briefings__latest h2 a {
  color: inherit;
  text-decoration: none;
}
.briefings__headlines {
  max-width: 760px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.briefings__headlines li {
  padding: 10px 0;
  border-top: 1px solid var(--border, #dbe3e6);
}
.briefings__headlines span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-text, #586e79);
}
.briefings__headlines a {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
}
.briefings__read {
  display: inline-block;
  padding: 13px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.briefings__month h2 {
  margin: 40px 0 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink, #111);
  font-family: var(--display);
  font-size: 26px;
}
.briefings__issues {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.briefings__issues a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
  color: inherit;
  text-decoration: none;
}
.briefings__issues a:hover .briefings__lines span:first-child {
  text-decoration: underline;
}
.briefings__date {
  display: grid;
  align-content: start;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-text, #586e79);
}
.briefings__date strong {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--ink, #111);
}
.briefings__lines {
  display: grid;
  gap: 4px;
}
.briefings__lines span:first-child {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.briefings__lines span + span {
  color: var(--muted-text, #586e79);
}
.briefings__lines small {
  color: var(--muted-text, #586e79);
}
.briefings__pages {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 860px) {
  .briefings__latest {
    padding: 32px;
  }
  .briefings__latest--pictured {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
  .briefings__issues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

/* Lead carousel: one motion header per story; the band's headlines are
   its tabs, the current one with a bar that fills while it leads. */
.lead-carousel__slide[hidden] {
  display: none;
}
.lead-carousel__tabs a {
  position: relative;
}
.lead-carousel__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: currentColor;
  opacity: 0.9;
}
.lead-carousel__tabs a[aria-current] .lead-carousel__bar {
  animation: lead-carousel-fill var(--lead-seconds, 8s) linear forwards;
}
.lead-carousel[data-running="false"] .lead-carousel__bar {
  animation-play-state: paused;
}
.lead-carousel[data-paused="true"]
  .lead-carousel__tabs
  a[aria-current]
  .lead-carousel__bar {
  animation: none;
  width: 100%;
}
.lead-carousel__pause {
  align-self: center;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid currentColor;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
@keyframes lead-carousel-fill {
  to {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lead-carousel__tabs a[aria-current] .lead-carousel__bar {
    animation: none;
    width: 100%;
  }
}

/* A briefing issue: the date as its title, what it holds, then each
   section's stories as short items that link to the full story. */
.briefing-issue {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
.briefing-issue__back {
  margin: 0 0 12px;
  font-size: 14px;
}
.briefing-issue__head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}
.briefing-issue__count {
  margin: 8px 0 0;
  color: var(--muted-text, #586e79);
}
.briefing-issue__contents {
  margin: 28px 0 8px;
  padding: 20px 24px;
  border-top: 5px solid var(--primary);
  background: var(--mist, #f1f1ee);
}
.briefing-issue__contents h2 {
  margin: 0 0 10px;
  font-size: 15px;
}
.briefing-issue__contents ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.briefing-issue__contents ol > li > a {
  font-weight: 700;
}
.briefing-issue__contents ul {
  margin: 4px 0 0;
  padding-left: 18px;
}
.briefing-issue__contents ul a {
  color: inherit;
}
.briefing-issue__section h2 {
  margin: 48px 0 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink, #111);
  font-family: var(--display);
  font-size: 28px;
}
.briefing-item {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.briefing-item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
}
.briefing-item h3 a {
  color: inherit;
  text-decoration: none;
}
.briefing-item p {
  margin: 0 0 10px;
}
.briefing-item__image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.briefing-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
}
.briefing-item__links a {
  font-weight: 700;
}
.briefing-item__links span {
  color: var(--muted-text, #586e79);
}
.briefing-issue__foot {
  margin-top: 32px;
}
@media (min-width: 720px) {
  .briefing-item--pictured {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}

/* Report tiles in a module feed: cover, label, title, publisher, finding.
   A feed of reports lays its tiles out side by side, one column on a phone. */
ul:has(> .feed-report) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feed-report {
  display: grid;
  align-content: start;
  gap: 6px;
}
.feed-report__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feed-report__title {
  font-size: 1.3em;
  font-weight: 700;
}
.feed-report__by {
  margin: 0;
  opacity: 0.75;
}

/* "From the report" card after a story that cites a hosted report. */
.report-cited {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 32px 0;
  padding: 20px;
  border: 1px solid var(--border, #dbe3e6);
}
@media (min-width: 700px) {
  .report-cited:has(.report-cited__cover) {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
.report-cited__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.report-cited__title {
  display: block;
  font-size: 1.25em;
  font-weight: 700;
}
.report-cited__by {
  margin: 4px 0;
  opacity: 0.75;
}

/* Report highlights: each key number and quote in the report's own
   sentence, with links to its passage and to its page in the original PDF. */
.report-highlights {
  max-width: 920px;
  margin: 0 auto;
  padding-block: 40px 72px;
}
.report-highlights__head {
  padding-bottom: 22px;
  margin-bottom: 36px;
  border-bottom: 3px solid var(--ink, #111);
}
.report-highlights__kicker,
.report-highlights__by {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
}
.report-highlights h1 {
  margin: 0 0 10px;
  font-family: var(--display, inherit);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1;
  text-wrap: balance;
}
.report-highlights h1 a {
  color: inherit;
  text-decoration: none;
}
.report-highlights__finding {
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: 1.3em;
  line-height: 1.45;
}
.report-highlights__views {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.report-highlights__views [aria-current] {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--primary, currentColor);
}
.report-highlights h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
}
.highlight-list {
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}
.highlight {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.highlight:target {
  background: var(--mist, rgba(0, 0, 0, 0.04));
}
.highlight__value {
  margin: 0;
  font-family: var(--display, inherit);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.95;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.highlight__body {
  min-width: 0;
}
.highlight__label {
  margin: 4px 0 12px;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.4;
}
.highlight__context {
  margin: 0 0 12px;
  padding-left: 16px;
  border-left: 3px solid var(--primary, currentColor);
  font-size: 1.05em;
  line-height: 1.55;
  color: var(--muted-text, inherit);
}
.highlight__context mark {
  padding: 0 2px;
  background: color-mix(in srgb, var(--primary, #c00) 18%, transparent);
  color: var(--ink, inherit);
  font-weight: 600;
}
.highlight-where {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.highlight-where a::after {
  content: " →";
}
.highlight-where a.highlight-where__pdf::after {
  content: " ↗";
}
.report-highlights__quotes {
  margin-bottom: 40px;
}
.highlight-quote {
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.highlight-quote:target {
  background: var(--mist, rgba(0, 0, 0, 0.04));
}
.highlight-quote blockquote {
  margin: 0 0 12px;
  font-family: var(--display, inherit);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  text-wrap: balance;
}
.highlight-quote blockquote::before {
  content: "“";
}
.highlight-quote blockquote::after {
  content: "”";
}
.highlight-quote figcaption {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted-text, inherit);
}
.report-highlights__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
@media (max-width: 700px) {
  .report-highlights {
    padding-inline: 16px;
  }
  .highlight {
    grid-template-columns: 1fr;
  }
}

/* Custom motion templates: a template's spec moves the layers (the header
   script sets their opacity, transform, blur and clip); these rules only
   place the headline and set its tone. */
.motion-header[data-template="custom"][data-paper="true"]
  .motion-header__stage {
  background: var(--paper, #fff);
}
.motion-header[data-template="custom"][data-text="center"]
  .motion-header__text {
  inset: 0;
  display: grid;
  align-content: center;
  padding-bottom: 0;
  text-align: center;
}
.motion-header[data-template="custom"][data-text="top"] .motion-header__text {
  inset: calc(8vh + var(--mh-top, 0px)) 0 auto 0;
  padding-bottom: 0;
}
.motion-header[data-template="custom"][data-tone="dark"]
  .motion-header__text
  .article-header,
.motion-header[data-template="custom"][data-tone="dark"]
  .motion-header__text
  .article-header
  a,
.motion-header[data-template="custom"][data-tone="dark"]
  .motion-header__text
  .article-deck {
  color: var(--ink, #111);
}
.motion-header[data-template="custom"]
  :is(
    .motion-header__video,
    .motion-header__shade,
    .motion-header__text,
    .motion-header__label,
    .motion-header__band
  ) {
  will-change: transform, opacity;
}

/* A section front's lead story: the motion header spans the section. */
.section-lead {
  margin: 0 0 32px;
}
/* On a phone the section's title sits above the stage, so a split-wire
   clip gives up the room still below the fold (--mh-top) until the reader
   scrolls, and the headline is in view on first load. */
@media (max-width: 899px) {
  .section-lead
    .motion-header[data-template="split-wire"]
    .motion-header__stage {
    grid-template-rows: max(24%, calc(52% - var(--mh-top, 0px))) 1fr;
  }
}

/* Keep reading: each story loaded below the last starts after a clear rule;
   the end of the run says so. Themes restyle both. */
.story-continued {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 4px solid var(--ink, #111);
}
.story-caught-up {
  margin: 48px auto;
  text-align: center;
}

/* Layout presets (templates.layout). Explainer: the key facts sit in the
   rail beside the text on wide screens, and stay in the text below that.
   Profile: the subject in a tall frame beside the headline. Brief: a
   compact page with a still header. */
.story-guide__facts {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.story-guide__facts :is(.story-takeaway, .story-number, .story-numbers) {
  margin: 0;
}
.story-guide__facts .story-numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 1100px) {
  .layout-explainer.has-story-guide
    > .prose
    :is(.story-takeaway, .story-numbers, figure.story-number) {
    display: none;
  }
}
@media (min-width: 900px) {
  .layout-profile
    .motion-header[data-template="split-wire"]
    .motion-header__stage {
    grid-template-columns: minmax(360px, 1fr) min(46%, 72vh);
  }
  .layout-profile
    .motion-header[data-template="split-wire"]
    .motion-header__video {
    grid-column: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.layout-profile .article-cover img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
}
.layout-brief .article-header h1 {
  font-size: clamp(30px, 4vw, 44px);
}
.layout-brief .article-cover img {
  max-height: 42vh;
  width: 100%;
  object-fit: cover;
}
.layout-brief .prose > p:first-of-type::first-letter {
  float: none;
  font: inherit;
  margin: 0;
  color: inherit;
}

/* Charts draw themselves in as they scroll into view: bars grow from the
   zero line, a solid line draws, dots and seats appear. CSS only, where the
   browser supports scroll-driven animation and the reader hasn't asked for
   less motion; everywhere else the chart is complete at rest. One timeline
   on the figure: a line chart sits in its own horizontal scroller, which
   would otherwise capture a mark's view() timeline. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .publication-chart {
      view-timeline: --chart block;
    }
    .publication-chart .chart-bar {
      transform-origin: left center;
      animation: chart-grow linear both;
      animation-timeline: --chart;
      animation-range: entry 10% cover 40%;
    }
    .publication-chart .chart-bar--neg {
      transform-origin: right center;
    }
    .publication-chart .chart-line:not(.chart-line--dashed) {
      stroke-dasharray: 1;
      animation: chart-draw linear both;
      animation-timeline: --chart;
      animation-range: entry 10% cover 45%;
    }
    .publication-chart :is(.chart-line--dashed, .chart-dot, .chart-seat) {
      animation: chart-appear linear both;
      animation-timeline: --chart;
      animation-range: entry 25% cover 45%;
    }
  }
}
@keyframes chart-grow {
  from {
    transform: scaleX(0);
  }
}
@keyframes chart-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes chart-appear {
  from {
    opacity: 0;
  }
}

/* A clip from the video library in a story (`:::video <id>`): playable,
   with its caption and credit. */
.story-video {
  margin: 36px 0;
}
.story-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.story-video figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted-text, #586e79);
}
.story-video figcaption span {
  margin-left: 6px;
}
/* Footnotes: a small linked number in the text, the notes gathered at the
   end of the story. */
.footnote-ref {
  font-size: 0.72em;
  line-height: 0;
}
.footnote-ref a {
  text-decoration: none;
  padding: 0 0.1em;
}
.footnotes {
  margin-top: 2.5em;
  padding-top: 1em;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 20%, transparent);
  font-size: 0.88em;
}
.footnotes a[href^="#fnref-"] {
  text-decoration: none;
}
.footnotes li:has(a:target),
.footnote-ref:has(a:target) {
  background: color-mix(in srgb, currentColor 8%, transparent);
}
/* Story buttons, formulas, polls and audio (src/web/story-blocks.ts,
   src/web/story-embeds.tsx). */
.prose p.story-button {
  margin: 36px 0;
  text-align: center;
}
.prose p.story-button a {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  background: var(--primary);
  color: var(--paper, #fff);
  font-weight: 700;
  text-decoration: none;
}
.prose p.story-button a:hover {
  filter: brightness(1.08);
}
.prose .story-math {
  margin: 32px 0;
  overflow-x: auto;
  font-size: 1.2em;
}
.story-poll,
.story-audio {
  width: 100%;
  max-width: 680px;
  margin: 40px auto;
}
.story-poll {
  padding: 24px 28px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 10px;
}
.story-poll figcaption {
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}
.story-poll fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.story-poll legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.story-poll label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 6px;
  cursor: pointer;
}
.story-poll button {
  padding: 10px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--paper, #fff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.story-poll small {
  display: block;
  margin-top: 10px;
  opacity: 0.7;
}
.story-audio audio {
  display: block;
  width: 100%;
}
.story-audio figcaption {
  margin-top: 8px;
  font-size: 0.88em;
  opacity: 0.8;
}

/* The /reports index: a lead report (cover beside its finding and key
   numbers), then the rest as cards. Colors and faces come from the theme. */
.report-index {
  max-width: var(--width, 1180px);
  margin: 0 auto;
  padding-block: 40px 72px;
}
.report-index__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  padding-bottom: 18px;
  margin-bottom: 36px;
  border-bottom: 3px solid var(--ink, #111);
}
.report-index__head h1 {
  margin: 0;
  font-family: var(--display, inherit);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.report-index__intro {
  grid-column: 1 / -1;
  max-width: 60ch;
  margin: 6px 0 0;
  font-size: 1.15em;
  line-height: 1.45;
  color: var(--muted-text, inherit);
}
.report-index__count {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
  font-variant-numeric: tabular-nums;
}
.report-meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
}
.report-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.report-lead__cover,
.report-card__cover {
  display: block;
  overflow: hidden;
  background: var(--mist, rgba(0, 0, 0, 0.06));
}
.report-lead__cover img,
.report-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.report-lead__cover {
  aspect-ratio: 5 / 4;
}
.report-lead__cover:hover img,
.report-card__cover:hover img {
  transform: scale(1.03);
}
.report-lead h2 {
  margin: 0 0 14px;
  font-family: var(--display, inherit);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  text-wrap: balance;
}
.report-lead h2 a,
.report-card h2 a {
  color: inherit;
  text-decoration: none;
}
.report-lead h2 a:hover,
.report-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.report-lead__dek {
  margin: 0 0 16px;
  font-size: 1.2em;
  line-height: 1.45;
}
.report-lead__finding {
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--primary, currentColor);
  font-size: 1.05em;
  line-height: 1.5;
  color: var(--muted-text, inherit);
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.report-stats li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding-top: 10px;
  border-top: 2px solid var(--primary, currentColor);
}
.report-stats strong {
  font-family: var(--display, inherit);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.report-stats span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted-text, inherit);
}
.report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 10px;
}
.report-button {
  display: inline-block;
  padding: 11px 20px;
  border: 2px solid var(--ink, #111);
  color: var(--ink, #111);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius, 0);
}
.report-button--primary {
  background: var(--ink, #111);
  color: var(--paper, #fff);
}
.report-button--primary::after {
  content: " →";
}
.report-button:hover {
  background: var(--primary, var(--ink, #111));
  border-color: var(--primary, var(--ink, #111));
  color: var(--paper, #fff);
}
.report-link {
  font-weight: 700;
  font-size: 14px;
}
.report-original {
  margin: 0;
  font-size: 13px;
}
.report-original a {
  color: var(--muted-text, inherit);
}
.report-original a::after {
  content: " ↗";
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 44px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.report-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.report-card__cover {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}
.report-card h2 {
  margin: 0 0 10px;
  font-family: var(--display, inherit);
  font-size: 1.55em;
  line-height: 1.08;
  text-wrap: balance;
}
.report-card > p:not([class]) {
  margin: 0 0 16px;
  line-height: 1.5;
}
.report-card .report-stats {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
.report-card .report-actions {
  margin-top: auto;
}
@media (max-width: 860px) {
  .report-index {
    padding-inline: 16px;
    padding-block: 28px 56px;
  }
  .report-lead {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .report-lead__cover {
    aspect-ratio: 16 / 10;
  }
}
/* State legislature pages (legislation module). */
.state-index,
.state-portal,
.state-roster,
.state-legislator,
.state-bill,
.state-bill-index,
.state-vote,
.state-vote-index {
  padding: 40px 0 60px;
  max-width: 900px;
}
.state-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.state-grid a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px;
  background: var(--mist);
  text-decoration: none;
  height: 100%;
}
.state-code {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.state-name {
  font-size: 19px;
  font-weight: 600;
}
.state-meta,
.state-source {
  color: var(--muted-text, #586e79);
  font-size: 14px;
}
.state-source {
  margin-top: 40px;
}
.state-bills,
.state-votes {
  padding-left: 18px;
}
.state-bills li,
.state-votes li {
  margin-bottom: 8px;
}
.state-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.state-topics a {
  background: var(--mist);
  padding: 3px 10px;
  font-size: 14px;
}
.state-portrait {
  margin: 0 0 20px;
  max-width: 200px;
}
.state-portrait img {
  width: 100%;
  height: auto;
}
.state-portrait figcaption {
  font-size: 12px;
  color: var(--muted-text, #586e79);
}
.state-positions {
  columns: 2 220px;
}
.state-portal table,
.state-roster table,
.state-bill table {
  width: 100%;
  border-collapse: collapse;
}
.state-portal th,
.state-portal td,
.state-roster th,
.state-roster td,
.state-bill th,
.state-bill td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--mist);
  vertical-align: top;
}
.state-pager {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .state-roster table,
  .state-bill table {
    font-size: 14px;
  }
}

/* Data boards and the bills table (src/data-boards). Neutral defaults from
   the theme variables; themes restyle the same class names in custom CSS.
   Up/down colours are variables so a theme can set its own. */
.board,
.leg {
  --board-up: #1a7f37;
  --board-down: #b42318;
  margin: calc(1.5rem * var(--spacing, 1)) 0;
}
.board__title,
.leg__title {
  font-family: var(--display);
}
.board__intro {
  color: var(--muted-text);
  max-width: 60ch;
}
.board .num,
.bills .num {
  font-variant-numeric: tabular-nums;
}
.chg--up {
  color: var(--board-up);
}
.chg--down {
  color: var(--board-down);
}
.chg--flat {
  color: var(--muted-text);
}
.board__lead {
  border-top: 2px solid var(--ink);
  padding-top: 0.75rem;
}
.board__lead-head h3 {
  margin: 0;
}
.board__asof,
.board__note,
.source,
.bill-jur,
.bill-sponsor,
.bill-action,
.wire__date,
.wire__status {
  color: var(--muted-text);
  font-size: 0.875rem;
}
.board__big {
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0.25rem 0;
}
.board__chart {
  display: block;
  width: 100%;
  height: 160px;
  color: var(--primary);
}
.board__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.board__list li {
  display: grid;
  grid-template-columns: 1fr auto auto 80px;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
}
.board__unit {
  color: var(--muted-text);
  font-size: 0.75em;
}
.spark {
  width: 80px;
  height: 24px;
  color: var(--muted-text);
}
.board__table {
  overflow-x: auto;
}
.board table,
.bills {
  width: 100%;
  border-collapse: collapse;
}
.board th,
.board td,
.bills th,
.bills td {
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.5rem 0.5rem 0;
  text-align: left;
  vertical-align: top;
}
.board .r,
.bills .r {
  text-align: right;
}
.board .em,
.tracker tbody th {
  font-weight: 700;
}
.tracker tfoot th,
.tracker tfoot td {
  border-top: 2px solid var(--ink);
  font-weight: 700;
}
.share-cell {
  width: 20%;
  min-width: 80px;
}
.share {
  height: 0.6rem;
  background: var(--primary);
  border-radius: 2px;
}
.board__empty,
.leg__empty {
  color: var(--muted-text);
  font-style: italic;
}
.bill-id,
.bill-jur,
.bill-sponsor,
.bill-date,
.bill-action {
  display: block;
}
.bill-title {
  font-weight: 600;
}
.stage__label {
  display: block;
  font-size: 0.875rem;
}
.stage__bar {
  display: flex;
  gap: 2px;
  margin-top: 0.25rem;
}
.stage__bar i {
  flex: 1;
  height: 4px;
  min-width: 10px;
  background: var(--border);
}
.stage__bar i.on {
  background: var(--accent);
}
.stage__bar i.now {
  background: var(--ink);
}
/* A resolution's last step is adoption, not enactment: hatched, so the bar
   reads differently from a bill that became law. */
.stage__bar i.adopted.now {
  background: repeating-linear-gradient(
    135deg,
    var(--ink) 0 3px,
    transparent 3px 5px
  );
}
.leg {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .leg:has(.leg__rail) {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  }
  .leg__title {
    grid-column: 1 / -1;
  }
}
.leg__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
/* Filter chips without scripts: each chip is a label for a visually hidden
   radio; :has() hides the other scope's rows and shows its count. Without
   :has() support every row stays visible and the total count shows. */
.leg__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
}
.leg__radio:checked + .chip {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.leg__radio:focus-visible + .chip {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.leg__count {
  margin: 0 0 0 auto;
  color: var(--muted-text);
}
.leg__n {
  display: none;
}
.leg__n--all {
  display: inline;
}
.leg:has(.leg__radio[value="federal"]:checked) tr[data-scope="state"],
.leg:has(.leg__radio[value="state"]:checked) tr[data-scope="federal"] {
  display: none;
}
.leg:has(.leg__radio[value="federal"]:checked) .leg__n--all,
.leg:has(.leg__radio[value="state"]:checked) .leg__n--all {
  display: none;
}
.leg:has(.leg__radio[value="federal"]:checked) .leg__n--federal,
.leg:has(.leg__radio[value="state"]:checked) .leg__n--state {
  display: inline;
}
.wire__list,
.sponsors ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wire__list li,
.sponsors li {
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
}
.wire__text {
  margin: 0.15rem 0;
}
.sponsors li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
@media (max-width: 760px) {
  .bills thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .bills tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }
  .bills tbody th,
  .bills tbody td {
    border: 0;
    padding: 0;
  }
  .bills tbody td:nth-child(2) {
    grid-column: 1 / -1;
  }
  .bills .r {
    text-align: left;
  }
  .board__list li {
    grid-template-columns: 1fr auto auto;
  }
  .board__list .spark {
    display: none;
  }
}
/* Page designs (src/page-designs): header, footer and width variants per
   page type, and its colors. */
body.page-designed {
  background: var(--page-background, var(--paper));
  color: var(--page-foreground, var(--ink));
}
.page-header-compact .site-header .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}
.page-header-compact .brand small {
  display: none;
}
.page-header-minimal .desktop-nav,
.page-header-minimal .mobile-menu,
.page-header-minimal .brand small,
.page-header-minimal .announcement {
  display: none;
}
.page-header-hidden .site-header,
.page-header-hidden .announcement {
  display: none;
}
.page-footer-minimal .site-footer nav {
  display: none;
}
.page-footer-hidden .site-footer {
  display: none;
}
.page-width-reading .site-main > :not(.frontpage-blocks) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.page-width-wide .site-main {
  max-width: 1440px;
}
.page-width-full .site-main {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.page-design-before {
  margin-bottom: 32px;
}
.page-design-after {
  margin-top: 40px;
}
/* Setup welcome: a kit site's homepage until it opens (src/web/setup-welcome.tsx). */
.setup-welcome {
  --setup-done: #2f7a55;
  --setup-open: #b7791f;
  padding: 48px 0 72px;
}
.setup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.setup-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 13ch;
}
.setup-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 46ch;
  margin: 0;
  color: var(--muted-text, #586e79);
}
.setup-connect {
  background: var(--primary);
  color: #fff;
  padding: 28px 30px 26px;
  border-radius: 6px;
}
.setup-connect h2 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 14px;
  opacity: 0.85;
}
.setup-connect .setup-address {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow-wrap: anywhere;
  user-select: all;
  cursor: text;
}
.setup-connect p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 12px;
}
.setup-connect p:last-child {
  margin-bottom: 0;
}
.setup-signin {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 16px;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  border-radius: 4px;
}
.setup-signin:hover {
  text-decoration: none;
  opacity: 0.92;
}
.setup-signin:focus-visible,
.setup-features a:focus-visible {
  outline: 3px solid var(--setup-open);
  outline-offset: 3px;
}
.setup-steps {
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 48px;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.setup-steps-head h2,
.setup-features h2 {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0 0 10px;
}
.setup-steps-head p {
  color: var(--muted-text, #586e79);
  margin: 0;
  max-width: 28ch;
}
.setup-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: setup;
}
.setup-steps li {
  counter-increment: setup;
  position: relative;
  padding: 0 0 22px 52px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.setup-steps li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.setup-steps li::before {
  content: counter(setup);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid var(--setup-open);
  color: var(--setup-open);
}
.setup-steps li.is-done::before {
  content: "✓";
  background: var(--setup-done);
  border-color: var(--setup-done);
  color: #fff;
}
.setup-steps h3 {
  font-family: var(--body);
  font-size: 1.08rem;
  font-weight: 650;
  margin: 0 0 4px;
}
.setup-steps li.is-done h3 {
  color: var(--muted-text, #586e79);
}
.setup-steps li p {
  margin: 0;
  max-width: 62ch;
}
.setup-steps li.is-done p {
  color: var(--muted-text, #586e79);
}
.setup-ask {
  margin-top: 10px !important;
  padding: 10px 14px;
  background: var(--mist);
  border-left: 3px solid var(--setup-open);
  font-size: 0.95rem;
}
.setup-features {
  padding: 48px 0 8px;
}
.setup-features dl {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px 40px;
}
.setup-features dt {
  font-weight: 700;
  margin-bottom: 6px;
}
.setup-features dd {
  margin: 0;
  color: var(--muted-text, #586e79);
  line-height: 1.55;
}
.setup-features dd a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.setup-footnote {
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--muted-text, #586e79);
}
@media (max-width: 860px) {
  .setup-hero,
  .setup-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .setup-welcome {
    padding-top: 28px;
  }
}
/* Connect panel: one row per AI app (src/web/connect-panel.tsx). */
.setup-apps {
  padding: 48px 0;
  border-bottom: 1px solid var(--border, #dbe3e6);
}
.setup-apps h2,
.connect-page h1 {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0 0 20px;
}
.connect-page {
  padding: 48px 0 72px;
  max-width: 980px;
}
.connect-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.connect-lede {
  font-size: 1.1rem;
  color: var(--muted-text, #586e79);
  max-width: 52ch;
}
.connect-page .connect-address {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
  padding: 14px 16px;
  margin: 24px 0 32px;
  background: var(--mist);
  border-radius: 4px;
  overflow-wrap: anywhere;
  user-select: all;
}
.connect-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 32px;
}
.connect-app {
  padding: 20px 0 0;
  border-top: 3px solid var(--primary);
  min-width: 0;
}
.connect-app h3 {
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.connect-app p {
  margin: 0 0 12px;
  line-height: 1.5;
}
.connect-app pre {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: var(--mist);
  border-radius: 4px;
  font-size: 0.82rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: all;
}
.connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.connect-copy,
.connect-button {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  border: 1px solid var(--primary);
}
.connect-button {
  background: var(--primary);
  color: #fff;
}
.connect-button:hover {
  text-decoration: none;
  opacity: 0.92;
}
.connect-copy {
  background: transparent;
  color: var(--primary);
}
.connect-copy:focus-visible,
.connect-button:focus-visible {
  outline: 3px solid #b7791f;
  outline-offset: 2px;
}
.connect-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted-text, #586e79);
}
/* Full bill text on bill pages (src/features/bill-text-view.tsx). */
.bill-text__body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 70vh;
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.5;
}
.bill-text__note {
  color: var(--muted-text);
  font-size: 0.875rem;
}

/* Coverage area pages: the area's badge and name, its news beside who
   represents it and who is here, then the map of the areas around it.
   Publications restyle these through their theme. */
.area-hero {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
  align-items: center;
  margin-block: 1.5rem 2.5rem;
}
.area-badge {
  display: block;
  width: 100%;
  height: auto;
  max-height: 11rem;
  fill: var(--primary);
}
.area-hero__parent {
  font-size: 0.9rem;
}
.area-hero__name {
  margin: 0.15rem 0 0;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.95;
}
.area-hero__title {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
}
.area-hero__facts {
  display: flex;
  gap: 2rem;
  margin: 1rem 0 0;
}
.area-hero__facts div {
  display: flex;
  flex-direction: column-reverse;
}
.area-hero__facts dt {
  color: var(--muted-text, #586e79);
  font-size: 0.8rem;
}
.area-hero__facts dd {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}
.area-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.area-body {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .area-body {
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  }
}
.area-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.area-news__picture {
  display: block;
  margin-bottom: 0.6rem;
}
.area-news__picture img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.area-news__list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line, #dde3e6);
}
.area-news__list p {
  margin: 0.3rem 0 0;
}
.area-news__areas,
.area-members__more {
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.area-rail {
  display: grid;
  gap: 2rem;
  align-content: start;
}
.area-links ul,
.area-reps ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.area-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line, #dde3e6);
}
.area-links a {
  font-weight: 600;
}
.area-reps li {
  display: grid;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line, #dde3e6);
}
.area-reps li span {
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.area-reps__record {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.area-places {
  margin-top: 3rem;
}
.area-places__list,
.area-index__list ul {
  display: grid;
  gap: 0.2rem 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  list-style: none;
  padding: 0;
}
@media (max-width: 600px) {
  .area-hero {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
  }
}
.area-map {
  margin: 0;
}
.area-map svg {
  display: block;
  width: 100%;
  max-height: 70vh;
  height: auto;
}
.area-map__shape {
  fill: color-mix(in srgb, var(--primary) 8%, var(--paper, #fff));
  stroke: var(--paper, #fff);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.area-map__shape--level-1 {
  fill: color-mix(in srgb, var(--primary) 30%, var(--paper, #fff));
}
.area-map__shape--level-2 {
  fill: color-mix(in srgb, var(--primary) 50%, var(--paper, #fff));
}
.area-map__shape--level-3 {
  fill: color-mix(in srgb, var(--primary) 70%, var(--paper, #fff));
}
.area-map__shape--level-4 {
  fill: var(--primary);
}
.area-map__shape.is-current {
  stroke: var(--ink);
  stroke-width: 2.5;
}
.area-map a:hover .area-map__shape,
.area-map a:focus .area-map__shape {
  stroke: var(--ink);
  stroke-width: 2;
}
.area-map figcaption {
  color: var(--muted-text, #586e79);
  font-size: 0.8rem;
}
.area-page__initials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
}
.area-page__initials li {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--paper, #fff);
  font-size: 0.8rem;
  font-weight: 700;
}
.community-follow {
  display: inline;
  margin-inline-start: 0.5rem;
}
.area-index__list {
  columns: 16rem;
  column-gap: 2rem;
}
.area-index__area {
  break-inside: avoid;
  margin-block-end: 1.25rem;
}
.area-index__area h2 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}
.area-index__area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

/* Share Cards: the picker, the card page and the reader's sharing page. */
.share-page {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 40px 72px;
}
.share-page h1 {
  margin: 0 0 20px;
  font-family: var(--display, inherit);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}
.share-page h2 {
  margin: 36px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
}
.share-card-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 24px;
  border: 1px solid var(--border, #dbe3e6);
}
.share-finding {
  margin: 0 0 14px;
  padding-left: 18px;
  border-left: 4px solid var(--primary, currentColor);
}
.share-finding p {
  margin: 0 0 8px;
  line-height: 1.45;
}
.share-finding__value {
  font-family: var(--display, inherit);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.share-finding__value--quote {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
}
.share-finding__sentence {
  color: var(--muted-text, inherit);
}
/* With the card image above, the finding is the accessible text, not a headline. */
.share-card-image + .share-finding .share-finding__value {
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.1;
}
.share-source,
.share-by {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted-text, inherit);
}
.share-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 28px 0;
}
.share-consent {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border, #dbe3e6);
  background: var(--mist, rgba(0, 0, 0, 0.03));
}
.share-consent h2 {
  margin-top: 0;
}
.share-place {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.share-place label {
  display: grid;
  gap: 4px;
  font-size: 14px;
}
.share-posts {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.share-posts li {
  padding: 16px 18px;
  border: 1px solid var(--border, #dbe3e6);
}
.share-posts h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.share-posts .muted {
  font-weight: 400;
  color: var(--muted-text, inherit);
}
.share-post-text {
  margin: 0 0 12px;
  line-height: 1.5;
  white-space: pre-line;
}
.share-mine {
  padding: 18px;
  border: 1px solid var(--border, #dbe3e6);
  background: var(--mist, rgba(0, 0, 0, 0.03));
}
.share-mine h2 {
  margin-top: 0;
}
.share-mine textarea {
  width: 100%;
  padding: 12px;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 12px 0 0;
}
@media (max-width: 700px) {
  .share-page {
    padding-inline: 16px;
  }
  .share-place {
    grid-template-columns: 1fr;
  }
}

/* Scorecards: the list, a scorecard's table, and a member's breakdown. */
.scorecard-page {
  max-width: 980px;
  margin: 0 auto;
  padding-block: 40px 72px;
}
.scorecard-page h1 {
  margin: 0 0 16px;
  font-family: var(--display, inherit);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
}
.scorecard-page h2 {
  margin: 36px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
}
.scorecard-lede {
  max-width: 62ch;
  font-size: 1.25em;
  line-height: 1.45;
}
.scorecard-method {
  max-width: 68ch;
  line-height: 1.55;
  white-space: pre-line;
}
.scorecard-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scorecard-list h2 {
  margin: 0 0 6px;
  font-family: var(--display, inherit);
  font-size: 1.6em;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}
.scorecard-votes {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}
.scorecard-votes p {
  margin: 4px 0;
}
.scorecard-vote__fact {
  font-size: 13px;
  color: var(--muted-text, inherit);
}
.scorecard-vote__desired {
  font-size: 14px;
}
.scorecard-warnings {
  margin: 18px 0 0;
  padding: 12px 18px;
  border-left: 3px solid var(--primary, currentColor);
  background: var(--mist, rgba(0, 0, 0, 0.04));
  font-size: 14px;
}
.scorecard-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px 16px;
  margin: 0 0 18px;
}
.scorecard-filters label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.scorecard-filters input[name="state"] {
  width: 4.5em;
  text-transform: uppercase;
}
.scorecard-check {
  display: flex !important;
  align-items: center;
  gap: 6px !important;
}
.scorecard-scroll {
  overflow-x: auto;
}
.scorecard-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.scorecard-table th,
.scorecard-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border, #dbe3e6);
  text-align: left;
  vertical-align: top;
}
.scorecard-table thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text, inherit);
}
.scorecard-table tbody th {
  font-weight: 600;
}
.scorecard-score {
  font-weight: 700;
  white-space: nowrap;
}
.scorecard-pages {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.scorecard-bigscore {
  margin: 12px 0 0;
  font-family: var(--display, inherit);
  font-size: clamp(56px, 10vw, 110px);
  line-height: 0.95;
}
.scorecard-result {
  font-weight: 600;
}
.scorecard-result--aligned {
  color: var(--ink, inherit);
}
.scorecard-result--against,
.scorecard-result--absent,
.scorecard-result--none {
  color: var(--muted-text, inherit);
}
@media (max-width: 700px) {
  .scorecard-page {
    padding-inline: 16px;
  }
}

/* The welcome step after signup: one question, address first. */
.welcome-step {
  max-width: 40rem;
  margin: 2rem auto 4rem;
}
.welcome-step__progress {
  display: flex;
  gap: 1.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.welcome-step__progress li {
  counter-increment: step;
}
.welcome-step__progress li::before {
  content: counter(step) ". ";
}
.welcome-step__progress [aria-current="step"] {
  color: var(--ink);
  font-weight: 700;
}
.welcome-step h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
}
.welcome-step__lead {
  margin: 0.75rem 0 1.75rem;
  font-size: 1.1rem;
}
.welcome-step__address label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}
.welcome-step__address input {
  font-size: 1.15rem;
  padding: 0.85rem 1rem;
}
.welcome-step__address .button {
  margin-top: 0.75rem;
}
.welcome-step__fine,
.welcome-step__note {
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.welcome-step__found {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 2px solid var(--primary);
}
.welcome-step__name {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.welcome-step__list {
  margin-top: 1.75rem;
}
.welcome-step__list fieldset {
  display: grid;
  gap: 0.3rem;
  max-height: 22rem;
  overflow: auto;
  border: 1px solid var(--line, #dde3e6);
}
.welcome-step__skip button {
  margin-top: 1.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-text, #586e79);
  text-decoration: underline;
  cursor: pointer;
}

/* Today: the reader's home area first, then the rest of the country. */
.today-home {
  margin: 1.5rem 0 3rem;
}
.today-home__head {
  display: grid;
  grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}
.today-home__kicker {
  margin: 0;
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.today-home__name {
  margin: 0.1rem 0 0;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 0.95;
}
.today-home__name a {
  color: inherit;
  text-decoration: none;
}
.today-home__title {
  margin: 0.3rem 0 0;
}
.today-home__facts {
  display: flex;
  gap: 2rem;
  margin: 0.75rem 0 0;
}
.today-home__facts div {
  display: flex;
  flex-direction: column-reverse;
}
.today-home__facts dt {
  color: var(--muted-text, #586e79);
  font-size: 0.8rem;
}
.today-home__facts dd {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.today-home__actions,
.today-invite__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
}
.today-home__body {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 800px) {
  .today-home__body {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}
.today-home__stories,
.today-home__reps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.today-home__stories li,
.today-home__reps li {
  display: grid;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line, #dde3e6);
}
.today-home__reps span {
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.today-invite {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--mist, #edf4f6);
}
.today-invite h3 {
  margin-top: 0;
}
.today-invite textarea {
  width: 100%;
  font: inherit;
}
.today-nation {
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}

/* The report map: story pulses and the reader's beacon. Motion stops for
   readers who ask for reduced motion. */
.report-desk,
.member-capture {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: 1156px;
  margin: 1.5rem auto 3rem;
}
@media (min-width: 960px) {
  .report-desk,
  .member-capture {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .report-desk .report-map,
  .member-capture .report-map {
    position: sticky;
    top: 1rem;
  }
}
.report-map {
  margin: 0;
}
.report-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.report-map__area {
  fill: color-mix(in srgb, var(--primary) 8%, var(--paper, #fff));
  stroke: var(--paper, #fff);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: fill 0.4s ease;
}
.report-map__area.is-chosen {
  fill: color-mix(in srgb, var(--primary) 28%, var(--paper, #fff));
}
.report-map__dot,
.report-map__beacon {
  fill: var(--primary);
}
.report-map__ring,
.report-map__beacon-ring {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}
.report-map__ring {
  animation: report-map-pulse 2.6s ease-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}
.report-map__beacon-ring {
  stroke-width: 2.5;
  animation: report-map-beacon 1.8s ease-out infinite;
}
.report-map__beacon-ring--late {
  animation-delay: 0.9s;
}
.report-map__beacon {
  stroke: var(--paper, #fff);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.report-map__you.is-hidden {
  display: none;
}
.report-map__you.is-new .report-map__beacon {
  animation: report-map-drop 0.5s ease-out;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes report-map-pulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    transform: scale(var(--pulse-size, 3));
    opacity: 0;
  }
}
@keyframes report-map-beacon {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}
@keyframes report-map-drop {
  0% {
    transform: scale(2.2);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .report-map__ring,
  .report-map__beacon-ring,
  .report-map__you.is-new .report-map__beacon {
    animation: none;
  }
  .report-map__ring {
    opacity: 0.35;
  }
}
.report-map figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 0.6rem;
  color: var(--muted-text, #586e79);
  font-size: 0.85rem;
}
.report-map__legend::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--primary);
  vertical-align: middle;
}
.report-map__legend--you::before {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent);
}
.member-capture__price {
  font-size: 1.6rem;
  font-weight: 700;
}

/* Live rooms: new-message button, mentions, author's area, arrivals. */
.community-new {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 20;
  transform: translateX(-50%);
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.community-mention {
  padding: 0 0.15em;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: inherit;
  font-weight: 700;
}
.community-place,
.community-pinned {
  margin-left: 0.5rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: var(--mist, #edf4f6);
  color: var(--muted-text, #586e79);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}
.community-thread-layout article.is-new {
  animation: community-arrive 1.6s ease-out;
}
@keyframes community-arrive {
  0% {
    background: color-mix(in srgb, var(--primary) 18%, var(--paper, #fff));
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-thread-layout article.is-new {
    animation: none;
  }
}
.story-discuss {
  margin: 1.5rem 0;
  font-weight: 700;
}

/* The story-page appeal as a full-screen experience (appeal.experience
   "stage"). The section is three screens tall; its frame stays pinned while
   the reader scrolls through it, and the scroll position plays the scene:
   the map fills the screen and lights up, the title lights word by word,
   the counts and the ask arrive. Without scroll-driven animation, or with
   reduced motion, everything shows at once in the same layout. */
.appeal-stage {
  position: relative;
  height: 300vh;
  width: 100vw;
  margin: 48px 0 0 calc(50% - 50vw);
  background: var(--ink, #111);
  color: #fff;
  view-timeline: --appeal block;
}
.appeal-stage__frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.appeal-stage__map {
  position: absolute;
  inset: 6vh 3vw;
  display: grid;
  place-items: center;
  opacity: 0.75;
}
/* The map is the backdrop: dark states, bright pulses. */
.appeal-stage .report-map__area {
  fill: #232323;
  stroke: #3a3a3a;
}
.appeal-stage .report-map__area.is-chosen {
  fill: #3a2320;
}
.appeal-stage__map .report-map {
  width: min(1400px, 100%);
  margin: 0;
}
.appeal-stage__map .report-map svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88svh;
}
.appeal-stage__map figcaption,
.appeal-stage__map .report-map__legend {
  display: none;
}
.appeal-stage__copy {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 max(16px, 6vw);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.appeal-stage__title {
  margin: 0 0 24px;
  font-family: var(--display, inherit);
  font-size: clamp(52px, 8vw, 132px);
  line-height: 0.92;
  text-transform: uppercase;
}
.appeal-stage__word {
  display: inline-block;
}
.appeal-stage__figures {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 20px;
  font-size: clamp(18px, 2vw, 26px);
}
.appeal-stage__figures strong {
  font-family: var(--display, inherit);
  font-size: 1.8em;
  /* Themes set --appeal-accent; gold reads on the dark stage. */
  color: var(--appeal-accent, #f5c400);
}
.appeal-stage__text {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
}
.appeal-stage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 0;
}
.appeal-stage__button {
  display: inline-block;
  padding: 20px 40px;
  background: var(--primary, #c00);
  color: #fff;
  font-family: var(--display, inherit);
  font-size: clamp(22px, 2.4vw, 32px);
  text-decoration: none;
}
.appeal-stage__button:hover,
.appeal-stage__button:focus-visible {
  filter: brightness(1.1);
  text-decoration: underline;
}
.appeal-stage__signin {
  color: #fff;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .appeal-stage__map {
    inset: 8vh -30vw auto;
    opacity: 0.55;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .appeal-stage__map {
      animation: appeal-map linear both;
      animation-timeline: --appeal;
      animation-range: contain 0% contain 35%;
    }
    .appeal-stage__map .report-map__pulse {
      animation: appeal-pulse-in linear both;
      animation-timeline: --appeal;
      animation-range: contain 5% contain 40%;
    }
    .appeal-stage__word {
      animation: appeal-word linear both;
      animation-timeline: --appeal;
      animation-range: contain calc(18% + var(--i, 0) * 3%) contain
        calc(28% + var(--i, 0) * 3%);
    }
    .appeal-stage__figures {
      animation: appeal-rise linear both;
      animation-timeline: --appeal;
      animation-range: contain 45% contain 58%;
    }
    .appeal-stage__text,
    .appeal-stage__actions {
      animation: appeal-rise linear both;
      animation-timeline: --appeal;
      animation-range: contain 58% contain 72%;
    }
  }
}
@keyframes appeal-map {
  from {
    opacity: 0;
    transform: scale(1.25);
  }
  to {
    opacity: 0.75;
    transform: scale(1);
  }
}
@keyframes appeal-pulse-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes appeal-word {
  from {
    opacity: 0.12;
    transform: translateY(0.25em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes appeal-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Member HUD (public/hud.js): a dock over the page for signed-in members.
   Desktop: a rail on the right edge with a sheet beside it. Phones: a
   bottom bar with a full-height sheet. Publications restyle it in their
   theme; these are neutral defaults from the site tokens. */
:root {
  --hud-rail: 72px;
  --hud-bg: var(--ink, #111);
  --hud-fg: var(--paper, #f5f5f2);
  --hud-muted: color-mix(in srgb, var(--hud-fg) 65%, transparent);
  --hud-line: color-mix(in srgb, var(--hud-fg) 16%, transparent);
  --hud-accent: var(--primary, #c00);
}
.has-hud body {
  padding-right: var(--hud-rail);
}
.hud {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1001;
  display: flex;
  pointer-events: none;
  color: var(--hud-fg);
  font-family: var(--body, Georgia, serif);
}
.hud > * {
  pointer-events: auto;
}
.hud [hidden] {
  display: none !important;
}
.hud-rail {
  width: var(--hud-rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  background: var(--hud-bg);
  border-left: 1px solid var(--hud-line);
}
.hud button,
.hud a {
  font: inherit;
  color: inherit;
}
.hud-you {
  width: 48px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 4px;
  border: 0;
  background: var(--hud-accent);
  color: #fff !important;
  font: 700 0.78rem/1 var(--display, sans-serif) !important;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.hud-btn {
  position: relative;
  width: 68px;
  padding: 8px 0 7px;
  border: 0;
  background: transparent;
  color: var(--hud-muted) !important;
  font: 700 0.58rem/1.1 var(--display, sans-serif) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.hud-btn__icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 5px;
  border: 2px solid currentColor;
}
.hud-btn--home .hud-btn__icon {
  border-radius: 2px 2px 0 0;
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
  background: currentColor;
}
.hud-btn--rooms .hud-btn__icon {
  border-radius: 50%;
}
.hud-btn--act .hud-btn__icon {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: currentColor;
  border: 0;
}
.hud-btn--share .hud-btn__icon {
  clip-path: polygon(
    50% 0,
    100% 45%,
    68% 45%,
    68% 100%,
    32% 100%,
    32% 45%,
    0 45%
  );
  background: currentColor;
  border: 0;
}
.hud-btn--inbox .hud-btn__icon {
  height: 16px;
  margin-top: 2px;
}
.hud-btn[aria-pressed="true"],
.hud-btn:hover {
  color: var(--hud-fg) !important;
}
.hud-btn[aria-pressed="true"] {
  box-shadow: inset 3px 0 0 var(--hud-accent);
}
.hud-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  min-width: 18px;
  padding: 3px 4px 2px;
  background: var(--hud-accent);
  color: #fff;
  font: 700 0.62rem/1 var(--display, sans-serif);
  letter-spacing: 0;
  text-align: center;
}
.hud-sheet {
  width: min(400px, calc(100vw - var(--hud-rail)));
  display: flex;
  flex-direction: column;
  background: var(--hud-bg);
  border-left: 1px solid var(--hud-line);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.25);
}
.hud-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  padding: 1rem 1.1rem 0.8rem;
  border-bottom: 1px solid var(--hud-line);
}
.hud-sheet__title {
  margin: 0;
  color: var(--hud-fg);
  font: 400 1.6rem/1 var(--display, sans-serif);
  text-transform: uppercase;
}
.hud-sheet__sub {
  margin: 0.35rem 0 0;
  color: var(--hud-muted);
  font-size: 0.85rem;
}
.hud-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem !important;
  line-height: 1;
  cursor: pointer;
}
.hud-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem 1.1rem 1rem;
}
.hud-sheet__foot {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem 1rem;
  border-top: 1px solid var(--hud-line);
}
.hud-sheet__foot:empty {
  display: none;
}
.hud-sheet__foot a,
.hud-back {
  color: var(--hud-muted) !important;
  font-size: 0.85rem !important;
}
.hud-foot-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.hud-back {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.hud-label {
  margin: 1rem 0 0.5rem;
  color: var(--hud-muted);
  font: 700 0.7rem/1.2 var(--display, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hud-stories,
.hud-rooms,
.hud-actions,
.hud-inbox,
.hud-msgs,
.hud-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hud-stories li,
.hud-links li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hud-line);
}
.hud-stories a,
.hud-links a {
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
}
.hud-stories a:hover,
.hud-links a:hover {
  color: var(--hud-accent) !important;
}
.hud-room,
.hud-inbox__item {
  position: relative;
  display: grid;
  gap: 0.2rem;
  width: 100%;
  padding: 0.75rem 2.4rem 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--hud-line);
  background: none;
  text-align: left;
  cursor: pointer;
}
.hud-room .hud-badge {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.hud-room__title {
  font-weight: 700;
}
.hud-room__meta {
  color: var(--hud-muted);
  font-size: 0.8rem;
}
.hud-msgs {
  display: grid;
  gap: 0.9rem;
}
.hud-msg p {
  margin: 0;
}
.hud-msg__who {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.82rem;
}
.hud-msg__who span {
  color: var(--hud-muted);
}
.hud-msg__body {
  display: block;
  margin-top: 0.15rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  line-height: 1.45;
}
.hud-msg--mine .hud-msg__who strong {
  color: var(--hud-accent);
}
.hud-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: end;
}
.hud-compose textarea {
  width: 100%;
  min-height: 2.6rem;
  max-height: 8rem;
  resize: vertical;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--hud-line);
  background: color-mix(in srgb, var(--hud-fg) 6%, transparent);
  color: var(--hud-fg);
  font: inherit;
}
.hud-status {
  margin: 0;
  color: var(--hud-muted);
  font-size: 0.8rem;
}
.hud-status:empty {
  display: none;
}
.hud-cta {
  display: inline-block;
  padding: 0.6rem 0.9rem 0.55rem;
  border: 0;
  background: var(--hud-accent);
  color: #fff !important;
  font: 700 0.72rem/1 var(--display, sans-serif) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.hud-cta:disabled {
  opacity: 0.6;
}
.hud-empty {
  padding: 0.8rem 0;
  color: var(--hud-muted);
}
.hud-empty p {
  margin: 0 0 0.7rem;
}
.hud-action {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hud-line);
}
.hud-action .hud-label {
  margin: 0;
  color: var(--hud-accent);
}
.hud-action__title {
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
}
.hud-action__summary {
  margin: 0;
  color: var(--hud-muted);
  font-size: 0.88rem;
}
.hud-action__foot {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin: 0.2rem 0 0;
  color: var(--hud-muted);
  font-size: 0.8rem;
}
.hud-action.is-done {
  opacity: 0.7;
}
.hud-done {
  color: var(--hud-fg);
  font-weight: 700;
}
.hud-inbox li.is-unread .hud-msg__who strong {
  color: var(--hud-accent);
}
.hud-btn--officials .hud-btn__icon {
  border-radius: 50% 50% 2px 2px;
}
.hud-here {
  width: 60px;
  margin: 0 0 6px;
  padding: 6px 2px;
  border: 1px solid var(--hud-accent);
  background: transparent;
  color: var(--hud-fg) !important;
  font: 700 0.56rem/1.15 var(--display, sans-serif) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.hud-kind {
  padding: 2px 5px 1px;
  background: var(--hud-accent);
  color: #fff !important;
  font: 700 0.6rem/1.2 var(--display, sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hud-event {
  display: grid;
  gap: 0.1rem;
  margin: 0.25rem 0 0 !important;
  padding: 0.5rem 0.65rem;
  border-left: 3px solid var(--hud-accent);
  background: color-mix(in srgb, var(--hud-fg) 6%, transparent);
}
.hud-event span {
  color: var(--hud-muted);
  font-size: 0.82rem;
}
.hud-link {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--hud-muted) !important;
  font-size: 0.8rem;
}
.hud-share-link {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.4rem;
  padding: 0.5rem 0.6rem;
  border-left: 3px solid var(--hud-accent);
  background: color-mix(in srgb, var(--hud-fg) 6%, transparent);
  color: var(--hud-fg) !important;
  text-decoration: none !important;
}
.hud-share-link span {
  color: var(--hud-muted);
  font-size: 0.78rem;
}
.hud-compose--share {
  grid-template-columns: 1fr;
}
.hud-compose--share input,
.hud-compose--share select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--hud-line);
  background: color-mix(in srgb, var(--hud-fg) 6%, transparent);
  color: var(--hud-fg);
  font: inherit;
}
.hud-compose--share .hud-consent input {
  width: auto;
}
.hud-share-area {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  color: var(--hud-muted);
  font-size: 0.8rem;
}
.community-share {
  margin: 0.4rem 0;
  padding-left: 0.6rem;
  border-left: 3px solid currentColor;
}
.hud-official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  margin: 0.2rem 0 0.4rem;
  font-size: 0.85rem;
}
.hud-track[aria-pressed="true"] {
  background: transparent;
  outline: 1px solid var(--hud-accent);
}
.hud-compose--official {
  grid-template-columns: 1fr;
}
.hud-compose--official input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--hud-line);
  background: color-mix(in srgb, var(--hud-fg) 6%, transparent);
  color: var(--hud-fg);
  font: inherit;
}
.hud-kinds {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}
.hud-kinds label,
.hud-consent {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.hud-consent {
  align-items: start;
  color: var(--hud-muted);
  font-size: 0.78rem;
}
.hud-event-fields {
  display: grid;
  gap: 0.4rem;
}
.hud-feed {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hud-feed__item {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hud-line);
}
.hud-feed__item p {
  margin: 0;
}
.hud-feed__title {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.hud-feed__title:hover {
  color: var(--hud-accent) !important;
}
.hud-feed__meta {
  color: var(--hud-muted);
  font-size: 0.8rem;
}
/* The story strip: filled by the HUD under a story's lead. */
.hud-strip {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border-top: 3px solid var(--primary, #c00);
  background: var(--mist, #f1f1ee);
}
.hud-strip__label {
  margin: 0;
  font: 700 0.7rem/1 var(--display, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hud-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.hud-strip__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--ink, #111);
  background: var(--paper, #fff);
  font-size: 0.88rem;
  text-decoration: none;
}
.hud-strip__chip--place {
  background: var(--primary, #c00);
  border-color: var(--primary, #c00);
  color: #fff !important;
  font-weight: 700;
}
.hud-strip__name,
.hud-strip__track,
.hud-strip__more {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.hud-strip__name {
  font-weight: 700;
}
.hud-strip__track {
  color: var(--primary, #c00);
  font-weight: 700;
  font-size: 0.8rem;
}
.hud-strip__more {
  text-decoration: underline;
  font-size: 0.88rem;
}
.hud-strip .hud-cta {
  display: inline-block;
  padding: 0.55rem 0.8rem 0.5rem;
  border: 0;
  background: var(--primary, #c00);
  color: #fff;
  font: 700 0.72rem/1 var(--display, sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
/* /network: the same HUD, full width, as the page itself. */
.has-network-app body {
  padding-right: 0;
}
.network-app {
  max-width: min(78rem, 100%);
  margin: 0 auto;
  padding: 1rem 0 3rem;
}
.hud.hud--app {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 70vh;
  pointer-events: auto;
}
.hud--app .hud-rail {
  order: -1;
  border-left: 0;
  border-right: 1px solid var(--hud-line);
}
.hud--app .hud-sheet {
  width: auto;
  box-shadow: none;
  border-left: 0;
  animation: none;
}
.hud--app .hud-close,
.hud--app .hud-expand {
  display: none;
}
.hud-sheet__tools {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.hud-expand {
  color: var(--hud-muted) !important;
  font-size: 1.2rem;
  text-decoration: none;
}
.hud-places__mine,
.hud-places__states,
.hud-people {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hud-places__mine li,
.hud-people li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hud-line);
}
.hud-places__mine a {
  font-weight: 700;
  text-decoration: none;
}
.hud-places__mine span,
.hud-people span {
  display: block;
  color: var(--hud-muted);
  font-size: 0.82rem;
}
.hud-places__map .area-map {
  margin: 0.5rem 0;
  background: color-mix(in srgb, var(--hud-fg) 6%, transparent);
}
.hud-places__map figcaption {
  display: none;
}
.hud-places__states {
  columns: 3 10rem;
  font-size: 0.88rem;
}
.hud-places__states li {
  break-inside: avoid;
  padding: 0.15rem 0;
}
.hud-places__states span {
  margin-left: 0.3rem;
  color: var(--hud-accent);
  font-weight: 700;
}
.hud-follow {
  flex: none;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--hud-accent);
  background: transparent;
  color: var(--hud-fg);
  font: 700 0.7rem/1 var(--display, sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.hud-follow[aria-pressed="true"] {
  background: var(--hud-accent);
  color: #fff;
}
@media (max-width: 760px) {
  .hud.hud--app {
    grid-template-columns: 1fr;
  }
  .hud--app .hud-rail {
    position: sticky;
    top: 0;
    z-index: 2;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--hud-line);
  }
  .hud--app .hud-sheet {
    height: auto;
  }
  .hud-rail {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .hud-btn {
    flex: 0 0 auto;
    min-width: 56px;
  }
}
.hud-join {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1001;
  padding: 0.8rem 1.1rem 0.75rem;
  background: var(--hud-accent);
  color: #fff !important;
  font: 700 0.78rem/1 var(--display, sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.has-hud aside[aria-label="TV"] {
  right: calc(var(--hud-rail) + 12px) !important;
}
@media (max-width: 760px) {
  .has-hud body {
    padding-right: 0;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .hud {
    inset: auto 0 0 0;
    flex-direction: column;
  }
  .hud-rail {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    border-left: 0;
    border-top: 1px solid var(--hud-line);
  }
  .hud-you {
    width: 44px;
    min-height: 40px;
    margin: 0;
  }
  .hud-btn {
    width: auto;
    flex: 1;
  }
  .hud-btn[aria-pressed="true"] {
    box-shadow: inset 0 3px 0 var(--hud-accent);
  }
  .hud-sheet {
    width: 100%;
    height: calc(100dvh - 64px - env(safe-area-inset-bottom, 0px));
    border-left: 0;
    box-shadow: none;
  }
  .has-hud aside[aria-label="TV"] {
    right: 12px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hud-sheet {
    animation: hud-in 0.18s ease-out;
  }
  @keyframes hud-in {
    from {
      transform: translateX(12px);
      opacity: 0;
    }
  }
}

/* What an area lookup found: the map with the reader's area lit, the
   places found and who represents them, revealed in sequence, then one
   button to save. */
.area-found {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  margin: 0 0 2.5rem;
}
.area-found__map .area-map {
  margin: 0;
}
.area-found__kicker {
  margin: 0;
  color: var(--primary, #c00);
  font: 700 0.78rem/1.2 var(--display, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.area-found__name {
  margin: 0.35rem 0 0.8rem;
  font: 700 clamp(2.6rem, 8vw, 4.6rem) / 0.9 var(--display, sans-serif);
  text-transform: uppercase;
}
.area-found__areas,
.area-found__officials {
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-found__areas li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--mist, #ddd);
  font-weight: 600;
}
.area-found__areas span {
  min-width: 4.5rem;
  color: var(--primary, #c00);
  font: 700 0.7rem/1 var(--display, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.area-found__join {
  margin: 0.9rem 0 0;
  font-weight: 600;
}
.area-found__heading {
  margin: 1.4rem 0 0.4rem;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.area-found__officials li {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--mist, #ddd);
}
.area-found__officials li > a:first-child {
  font-weight: 700;
  text-decoration: none;
}
.area-found__officials span {
  color: var(--ink, #555);
  opacity: 0.75;
  font-size: 0.88rem;
}
.area-found__send {
  justify-self: start;
  margin-top: 0.2rem;
  color: var(--primary, #c00);
  font: 700 0.72rem/1.3 var(--display, sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.area-found__prompt {
  margin: 1rem 0 0;
  font-style: italic;
}
.area-found__save {
  margin-top: 1.2rem;
}
@media (max-width: 760px) {
  .area-found {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .area-found .area-map__shape {
    animation: area-found-shape 0.5s ease-out both;
  }
  .area-found .area-map__shape.is-current {
    animation:
      area-found-shape 0.5s ease-out both,
      area-found-lit 1.2s 0.5s ease-out both;
  }
  .area-found__kicker,
  .area-found__name {
    animation: area-found-rise 0.5s 0.3s ease-out both;
  }
  .area-found__areas li,
  .area-found__officials li {
    animation: area-found-rise 0.45s ease-out both;
    animation-delay: calc(0.7s + var(--i, 0) * 0.14s);
  }
  .area-found__join,
  .area-found__heading,
  .area-found__prompt,
  .area-found__save {
    animation: area-found-rise 0.45s 1.4s ease-out both;
  }
  @keyframes area-found-shape {
    from {
      opacity: 0;
      transform: scale(0.96);
    }
  }
  @keyframes area-found-lit {
    0% {
      fill: var(--mist, #ddd);
    }
    40% {
      fill: var(--primary, #c00);
      filter: drop-shadow(0 0 10px var(--primary, #c00));
    }
    100% {
      fill: var(--primary, #c00);
    }
  }
  @keyframes area-found-rise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}
.area-found .area-map__shape.is-current {
  fill: var(--primary, #c00);
}
/* Member of Congress page: hero, district map, contact, votes and record.
   Themes restyle these freely. */
.member-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.member-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--text, #17262d);
}
.member-hero__photo {
  width: 160px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}
.member-hero__seat {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.member-hero__name {
  margin: 4px 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
}
.member-hero__role {
  margin: 0 0 12px;
  color: var(--muted-text, #586e79);
}
.member-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.member-hero__badge {
  width: 120px;
  height: 120px;
}
.member-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.member-section {
  margin-bottom: 28px;
}
.member-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.member-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-section li {
  padding: 8px 0;
  border-top: 1px solid var(--border, #dbe3e6);
}
.member-votes li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.member-votes small {
  display: block;
  color: var(--muted-text, #586e79);
}
.member-votes__position {
  flex: 0 0 84px;
  font-weight: 700;
}
.member-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.member-contact__office {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--border, #dbe3e6);
}
.member-record dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 8px;
}
.member-record dt {
  font-size: 12px;
  color: var(--muted-text, #586e79);
}
.member-record dd {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
.member-source {
  font-size: 13px;
  color: var(--muted-text, #586e79);
}
@media (max-width: 760px) {
  .member-hero {
    grid-template-columns: auto 1fr;
  }
  .member-hero__badge {
    display: none;
  }
  .member-page__grid {
    grid-template-columns: 1fr;
  }
}

/* Community portal and grassroots action cards */
.community-portal {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 0 3.5rem;
  display: grid;
  gap: 2.5rem;
}
.community-portal__hero {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-top: 4px solid var(--primary, #b81d24);
  border-bottom: 1px solid var(--line, #d8d3c8);
  background: color-mix(in srgb, var(--ink, #111) 3%, var(--paper, #fff));
  display: grid;
  gap: 0.9rem;
}
.community-portal__kicker {
  margin: 0;
  color: var(--primary, #b81d24);
  font: 700 0.78rem/1.2 var(--display, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.community-portal__hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
}
.community-portal__lead {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.5;
  color: var(--muted-text, #4a4a46);
}
.community-portal__live {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: 700 0.8rem/1 var(--display, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #b81d24);
}
.community-portal__actions {
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.community-portal__btn--secondary {
  background: transparent !important;
  color: var(--ink, #111) !important;
  border: 1px solid var(--ink, #111) !important;
}
.community-portal__note {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted-text, #586e79);
}
.community-portal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
}
.community-portal__card {
  padding: 1.4rem 1.5rem;
  border-top: 2px solid var(--ink, #111);
  border-bottom: 1px solid var(--line, #d8d3c8);
  background: var(--paper, #fff);
  display: grid;
  align-content: space-between;
  gap: 0.75rem;
}
.community-portal__card h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}
.community-portal__card p {
  margin: 0;
  color: var(--muted-text, #4a4a46);
  line-height: 1.5;
}
.community-portal__card a {
  font: 700 0.82rem/1.2 var(--display, sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary, #b81d24);
}

.action-cards-grid {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}
.action-card-item {
  padding: 1.5rem;
  border-top: 3px solid var(--primary, #b81d24);
  border-right: 1px solid var(--line, #d8d3c8);
  border-bottom: 1px solid var(--line, #d8d3c8);
  border-left: 1px solid var(--line, #d8d3c8);
  background: color-mix(in srgb, var(--ink, #111) 2%, var(--paper, #fff));
  display: grid;
  align-content: space-between;
  gap: 0.85rem;
}
.action-card-item__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.action-card-item__cadence {
  font: 700 0.72rem/1 var(--display, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary, #b81d24);
}
.action-card-item__campaign {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-text, #586e79);
  text-decoration: none;
}
.action-card-item__title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}
.action-card-item__title a {
  text-decoration: none;
}
.action-card-item__body {
  margin: 0;
  color: var(--muted-text, #4a4a46);
  line-height: 1.5;
}
.action-card-item__foot {
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line, #d8d3c8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.action-card-item__count {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted-text, #586e79);
}
.action-card-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.action-card-item__btn--secondary {
  background: transparent !important;
  color: var(--ink, #111) !important;
  border: 1px solid var(--ink, #111) !important;
}
.action-badges {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ink, #111);
}
.action-badges__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.action-badges__head h2 {
  margin: 0;
}
.action-badges__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}
.action-badge-card {
  padding: 1.25rem;
  border: 1px solid var(--line, #d8d3c8);
  background: var(--paper, #fff);
  display: grid;
  gap: 0.45rem;
}
.action-badge-card__kicker {
  font: 700 0.7rem/1 var(--display, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary, #b81d24);
}
.action-badge-card h3 {
  margin: 0;
  font-size: 1.15rem;
}
.action-badge-card h3 a {
  text-decoration: none;
}
.action-badge-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-text, #4a4a46);
  line-height: 1.45;
}
