/* v72 — single editorial grid and reading rhythm.
   Loaded last so earlier experiments cannot split the page into competing widths. */

:root {
  --editorial-width: 1180px;
  --editorial-gutter: 32px;
  --editorial-rule: rgb(226 217 200 / 72%);
  --editorial-dark-rule: rgb(241 236 225 / 14%);
}

.reading-progress,
.desktop-nav a::after,
.section-nav a::before,
.section-nav a::after,
.hero::after,
.hero-copy::before,
.hero-inner::before {
  display: none !important;
}

main > section {
  /* The document already uses scroll-padding for the sticky chrome. Do not
     add a second offset here; stacking both left the previous chapter visible
     and made the active navigation label lag one section behind. */
  scroll-margin-top: 0;
}

/* One desktop baseline: 1180px, with local narrow columns nested inside it. */
@media (min-width: 981px) {
  .header-inner,
  .site-bgm-inner,
  .hero-inner,
  .fact-rail-inner,
  .petition-grid,
  .demands-inner,
  .memorial-inner,
  .creator-support {
    width: min(calc(100% - 64px), var(--editorial-width));
    max-width: var(--editorial-width);
  }

  .section,
  .share-section {
    --w: var(--editorial-width) !important;
    padding: 72px max(var(--editorial-gutter), calc((100% - var(--editorial-width)) / 2)) !important;
  }

  .timeline,
  .sources {
    --w: var(--editorial-width) !important;
  }

  .section-heading {
    width: 100%;
    max-width: none !important;
    margin: 0 0 40px;
    padding-top: 22px;
    border-top: 1px solid var(--editorial-rule);
  }

  .s-ink .section-heading,
  .sensitive .section-heading,
  .fundraising .section-heading {
    border-top-color: var(--editorial-dark-rule);
  }

  .section-heading.split,
  .timeline .section-heading.split,
  .sources .section-heading.split {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(56px, 6vw, 88px);
  }

  .section-heading.split > p {
    max-width: 42em;
    margin: 34px 0 0;
    justify-self: start;
  }

  .section-heading h2,
  .demands-lead h2,
  .fundraising-heading h2,
  .safety-card h2,
  .share-copy h2,
  .creator-support h2 {
    max-width: 16em;
    font-size: clamp(31px, 2.75vw, 40px);
    line-height: 1.32;
    letter-spacing: var(--track-h);
    text-wrap: balance;
  }

  .section-heading > p:not(.eyebrow),
  .section-heading.split > p,
  .share-copy > p:not(.eyebrow),
  .safety-card p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.9;
  }

  /* The cover needs three deliberate lines, not four cramped fragments. */
  .hero-inner {
    grid-template-columns: minmax(0, 0.96fr) minmax(540px, 1.04fr);
    gap: clamp(44px, 5vw, 66px);
  }

  .hero-copy {
    max-width: 570px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 3.65vw, 54px);
    line-height: 1.16;
    text-wrap: normal;
  }

  .hero-deck {
    max-width: 34em;
    font-size: 17px;
    line-height: 1.9;
  }

  /* Internal long-form columns remain readable, but begin on the same baseline. */
  .timeline-list,
  .source-list {
    width: min(100%, 920px);
    margin-right: auto;
    margin-left: 0;
  }

  .brief-grid,
  .global-action-grid,
  .demand-list {
    margin-top: 0;
  }

  .demands-inner {
    padding-top: 72px;
    padding-bottom: 72px;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(58px, 7vw, 92px);
  }

  .global-action-grid a {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .safety-card {
    padding: 36px 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(56px, 7vw, 92px);
  }

  .share-section {
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(56px, 7vw, 92px);
  }

  .creator-support {
    padding-top: 72px;
    padding-bottom: 72px;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(56px, 7vw, 92px);
  }

  .petition-grid {
    padding-top: 72px;
    padding-bottom: 72px;
    gap: clamp(56px, 7vw, 92px);
  }
}

/* A calmer mobile rhythm: readable type, 20px gutters, no decorative dead zones. */
@media (max-width: 980px) {
  :root {
    --editorial-gutter: 20px;
  }

  main > section {
    scroll-margin-top: 0;
  }

  .section,
  .share-section {
    --w: 100% !important;
    padding: 52px var(--editorial-gutter) !important;
  }

  .hero-inner,
  .fact-rail-inner,
  .petition-grid,
  .demands-inner,
  .memorial-inner,
  .creator-support {
    width: calc(100% - 40px);
    max-width: none;
  }

  .section-heading,
  .section-heading.split,
  .timeline .section-heading.split,
  .sources .section-heading.split {
    display: grid;
    width: 100%;
    max-width: none !important;
    margin: 0 0 34px;
    padding-top: 18px;
    border-top: 1px solid var(--editorial-rule);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading.split > p {
    margin: 0;
  }

  .section-heading h2,
  .demands-lead h2,
  .fundraising-heading h2,
  .safety-card h2,
  .share-copy h2,
  .creator-support h2 {
    max-width: 14em;
    font-size: clamp(28px, 8.4vw, 34px);
    line-height: 1.32;
    letter-spacing: var(--track-h);
  }

  .section-heading > p:not(.eyebrow),
  .section-heading.split > p,
  .share-copy > p:not(.eyebrow),
  .safety-card p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.85;
  }

  .timeline-list,
  .source-list {
    width: 100%;
    margin: 0;
  }

  .demands-inner,
  .creator-support,
  .petition-grid {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .safety-card {
    padding: 28px 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .global-action-grid a {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .share-section {
    gap: 34px;
  }
}

@media (max-width: 430px) {
  .section-nav {
    min-height: 46px;
    padding: 7px 20px;
    gap: 20px;
  }

  .section-nav a {
    min-height: 32px;
    padding: 7px 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .section-nav a.active {
    color: #17130f;
    background: #e6b94f;
    box-shadow: none;
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 9.8ch;
    font-size: clamp(36px, 10.4vw, 44px);
    line-height: 1.18;
  }

  .hero-deck {
    font-size: 16px;
    line-height: 1.82;
  }

  .timeline-list article {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
  }

  .source-list a {
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 12px;
  }
}
