/* A reading-first phone edition. Desktop composition and animation keep their pace. */
@media (max-width:800px) {
  /* Direct section jumps avoid flying through several screens of unrelated content. */
  html { scroll-behavior:auto; scroll-padding-top:88px; }
  .menu-toggle { min-width:82px; min-height:44px; font-size:12px; }
  .nav-wrap nav { max-height:calc(100svh - 73px); max-height:calc(100dvh - 73px); overflow-y:auto; overscroll-behavior:contain; }
  .nav-wrap nav.is-open { box-shadow:0 15px 22px #28191820; }
  .nav-wrap nav a { min-height:56px; }
  .headline-toggle { width:44px; height:44px; flex:0 0 44px; }
  .headline-toggle svg { width:14px; height:14px; }
  .hero-meta { gap:12px; }
  .hero-meta .eyebrow { font-size:9px; }
  .hero-title { margin-top:18px; }
  .hero-description { font-size:15px; line-height:1.7; }
  .hero-bottom { margin-top:28px; padding-bottom:24px; }
  .hero-bottom .button { font-size:12px; }
  .chapter { padding-block:52px 60px; }
  .chapter-label { margin-bottom:30px; }
  .voices { padding-top:52px; }
  .mission-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
  .mission-copy { display:contents; }
  .mission-copy h2 { order:-2; margin-bottom:24px; }
  .mission-grid .movement-badge { order:-1; width:min(56vw,260px); justify-self:center; margin:0 0 28px; }
  .mission-copy .lead { margin-bottom:20px; }
  .mission-copy>p:not(.lead) { font-size:15px; line-height:1.75; }
  .mission-copy .text-link { justify-self:start; margin-top:24px; }
  .principles { margin-top:36px; }
  .principles p { font-size:14px; }
  .program-preview-grid p { font-size:14px; line-height:1.75; }
  .program-preview-grid>a,.program-preview-grid>a+a { padding-block:28px; }
  .archive-caption a,.archive-voice .archive-caption>a { font-size:10px; line-height:1.65; }
  .action-item>p { font-size:14px; line-height:1.7; }
  .social-links { gap:8px 22px; flex-wrap:wrap; }
  .social-links a { display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:12px; }
  .footer-bottom { font-size:12px; }
  .footer-bottom>a { display:inline-flex; align-items:center; min-height:44px; }
  dialog { max-height:calc(100svh - 24px); max-height:calc(100dvh - 24px); overflow-y:auto; overscroll-behavior:contain; }
  .dialog-close { min-width:44px; min-height:44px; }
  .contact-options>a { padding:15px; gap:15px; }
  .contact-options small { font-size:12px; }

  /* Program identity comes before its illustration, on every program. */
  .program-section { padding-block:44px; scroll-margin-top:0; }
  .program-row,.program-social .program-row { grid-template-columns:minmax(0,1fr); gap:0; }
  .program-copy { display:contents; }
  .program-copy>.eyebrow { grid-row:1; margin-bottom:14px; }
  .program-copy h2 { grid-row:2; margin-bottom:25px; }
  .program-row .program-poster { grid-row:3; justify-self:center; width:min(78%,320px); margin:0 0 28px; }
  .program-copy .program-lead { margin-bottom:18px; }
  .program-copy>p:not(.eyebrow):not(.program-lead):not(.program-note),
  .program-hero-intro>p:last-child,.awareness-intro>p:last-child,
  .awareness-paths p:not(.eyebrow),.legislative-copy>p,
  .program-closing>.shell>div:last-child>p { font-size:15px; line-height:1.75; }
  .program-copy>p+p { margin-top:0; }
  .program-points { margin-block:22px 26px; }
  .program-points strong { font-size:14px; }
  .program-points span { font-size:14px; line-height:1.65; }
  .program-copy .button { justify-self:start; }
  .program-copy .program-note { margin-top:12px; font-size:11px; }
  .legislative-feature { scroll-margin-top:16px; }
  .legislative-feature details>p { font-size:14px; line-height:1.75; }
  .legislative-feature summary { font-size:14px; min-height:56px; }
  .program-hero-intro { gap:20px; }
}

@media (max-width:720px) {
  .team-portraits > #person-carolina { order: -1; }
  /* Names stay beside faces; each concise biography follows immediately. */
  .team-portraits { gap:32px; }
  .team-person { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 18px; padding-top:26px; border-top:1px solid var(--rule); }
  .team-portrait { grid-column:1; grid-row:1/3; width:100%; max-width:none; aspect-ratio:4/5; margin:0; align-self:end; }
  .team-role { grid-column:2; grid-row:1; align-self:end; margin:0 0 12px; font-size:10px; line-height:1.5; letter-spacing:.07em; }
  .team-person h3 { grid-column:2; grid-row:2; align-self:start; font-size:clamp(30px,8.7vw,47px); }
  .person-bio { grid-column:1/-1; margin-top:20px; padding-top:0; border:0; }
  .person-bio.bio-story { font-size:15px; line-height:1.75; }
  .writing-list+.team-ensemble { margin-top:32px; }
}

@media (max-width:800px), (hover:none), (pointer:coarse) {
  /* A swipe over a photograph or cord must remain a page scroll. */
  .cord-hit { pointer-events:none; touch-action:pan-y; }
  .photo-wall,.photo-print,.cord-canvas { touch-action:pan-y; }
  .brick-lighting { display:none; }
  .hero-word-track { --headline-slide-blur: .35px; }
  body::after { position:absolute; height:100svh; }
}
@media (max-width:360px) {
  .team-person { column-gap:12px; }
  .team-role { font-size:9px; letter-spacing:.03em; }
  .mission-copy h2 { font-size:34px; }
  .hero-meta .eyebrow { font-size:8px; }
  dialog { padding:28px 18px 22px; }
  dialog h2 { font-size:42px; }
  dialog h2 em { font-size:36px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-word-track>span { animation:none; filter:none; transform:none; }
}
