/* H5 first pass, 2026-11-29. Group centering and prose alignment are independent.
   Content-page type sizes are retained; desktop starts at 901px. */
.cohort-mobile-summary { display: none; }
@media (max-width: 900px) {
  main .shell { width: calc(100% - 48px); max-width: 600px; margin-inline: auto; }
  .overview-layout { padding-block: 36px; gap: 36px; }
  .intro, .beyond-run-header, .runner-feedback-header, .runner-survey-header,
  .runner-stories-heading, .field-notes-heading, .runner-voices-header { text-align: center; }
  .intro h1 { font-size: 30px; line-height: 42px; white-space: normal; text-wrap: balance; }
  .overview .intro-copy { max-width: 320px; margin-inline: auto; line-height: 26px; text-wrap: balance; }
  .overview .source-tooltip { left: 50%; right: auto; transform: translateX(-50%); text-align: left; }
  .overview .source-tooltip::after { left: calc(50% - 4px); }
  .overview-scenery::after { content: none; }
  .core-metrics { margin-top: 24px; }
  .distance-value { justify-content: center; gap: 6px; font-size: clamp(64px,20vw,84px); }
  .overview .metric-main dt { position: static; margin-top: 6px; }
  .metric-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 400px; margin: 24px auto 0; }
  .metric-pair > dl, .metric-pair > dl + dl { min-width: 0; padding-inline: 12px; text-align: center; }
  .dimension-tabs { justify-content: space-between; gap: 8px; margin-bottom: 24px; }
  .dimension-tabs button { min-height: 44px; padding-block: 10px; font-size: 13px; }
  .cohort-insight { grid-template-columns: 1fr; gap: 6px; min-height: 0; margin-top: 18px; text-align: center; }
  .highlight-copy { max-width: 320px; margin-inline: auto; text-wrap: balance; }
  .legend { justify-content: center; min-height: 0; gap: 8px 14px; margin-top: 18px; }
  .footprints-title { color: var(--heading); text-align: center; }
  .overview-layout { padding-bottom: 48px; }

  .beyond-run { padding-top: 36px; }
  /* One image surface includes the fade; no separate CSS gradient/mask layer. */
  .beyond-run {
    background-color: #fcf9f8;
    background-image: url("/experience/swkmls/assets/beyond-run/care-flow-mobile-v1.svg?v=20261129-images90");
    background-position: center top;
    background-size: auto 640px;
    background-repeat: no-repeat;
  }
  .beyond-run::before { content: none; display: none; }
  .beyond-run > .shell, .beyond-run .body-map { flex: none; }
  .beyond-run-header h2, .runner-feedback-header h2, .runner-survey-header h2,
  .runner-stories-heading h2, .field-notes-heading h2, .runner-voices-header h2 {
    font-size: 24px; line-height: 34px; font-weight: 500; letter-spacing: 0; text-wrap: balance;
  }
  .beyond-run-intro, .field-notes-subtitle, .runner-survey-subtitle { max-width: 360px; margin-inline: auto; text-wrap: balance; }
  .body-map { margin-top: 24px; }
  .body-map-art { width: min(100%,380px); transform: none; margin-block: 0; }
  .body-map-canvas { gap: 24px; }
  .body-map-group-heading { text-align: center; margin-bottom: 18px; }
  .body-label { gap: 6px; }
  .body-label dt { font-size: 14px; }
  .runner-day { padding: 12px 0 30px; }
  .runner-day-moments { margin-block: 24px 0; row-gap: 24px; }
  .runner-day-moments li p { font-size: 12px; line-height: 20px; }
  .runner-day-feedback { display: inline-block; min-width: 24px; padding-block: 4px; }

  .runner-feedback { padding-block: 36px; }
  .runner-feedback-primary { margin-top: 24px; }
  .feedback-metric--primary { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .feedback-metric--primary dd { font-size: 80px; }
  .feedback-metric--primary dt { grid-column: 1; grid-row: 2; padding: 0; }
  .feedback-metric--primary .feedback-metric-copy { max-width: 300px; margin-inline: auto; }
  .runner-feedback-supporting { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-top: 24px; }
  .feedback-metric--supporting { align-items: center; padding-inline: 8px; text-align: center; }
  .feedback-metric--supporting + .feedback-metric--supporting { border-left: 1px solid #dce6e6; }
  .feedback-metric--supporting dd { margin-bottom: 4px; }
  .runner-feedback-film { justify-self: center; max-width: 480px; }
  .runner-feedback-video-toggle { width: 44px; height: 44px; right: 8px; bottom: 8px; }
  .runner-survey { padding-block: 36px; }
  .runner-survey-metrics { margin-top: 24px; row-gap: 24px; }
  .runner-survey-metric, .runner-survey-metric:nth-child(odd), .runner-survey-metric:nth-child(even) { padding-inline: 8px; align-items: center; text-align: center; }
  .runner-survey-metric dd:not(.visually-hidden) { justify-content: center; }

  .runner-stories { padding-block: 36px 48px; }
  .story-chapters { gap: 9px; margin-top: 24px; }
  .story-chapter { min-height: 68px; padding-block: 6px 12px; justify-content: flex-start; }
  .story-chapter-title { min-height: 24px; font-size: 14px; line-height: 24px; }
  .story-chapter-description { min-height: 0; font-size: 12px; line-height: 18px; text-wrap: balance; }
  .runner-stories.has-story-tabs .runner-story-panels { display: block; }
  .has-story-tabs .runner-story-panel:not(.is-current) { display: none; }
  .runner-story-layout { gap: 24px; }
  .main-runner-heading { text-align: center; }
  .main-runner-identity, .runner-story-facts { justify-content: center; flex-wrap: wrap; }
  .main-runner-heading h3 { font-size: 22px; line-height: 32px; text-wrap: balance; }
  .main-runner-copy { font-size: 15px; line-height: 28px; text-align: justify; text-align-last: left; }
  .related-runner-copy { font-size: 14px; line-height: 25px; text-align-last: left; }
  .related-runner-link { min-height: 44px; }
  .related-runners { row-gap: 24px; }
  .related-story-photo { width: min(280px,100%); justify-self: center; }
  .related-story-photo-frame { overflow: hidden; }
  #story-panel-restart .related-story-photo img, #story-panel-pace .related-story-photo img { position: absolute; }

  .runner-field-notes { padding-block: 36px 48px; }
  .field-notes-grid { margin-top: 24px; }
  .field-note { padding: 24px 18px; }
  .field-note h3 { font-size: 20px; line-height: 30px; text-align: center; text-wrap: balance; }
  .field-note-summary { font-size: 15px; line-height: 28px; text-align: justify; text-align-last: left; }
  .field-note-anchor { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .note-anchor-reading { text-align: center; }
  .note-training-pair { justify-content: center; }
  .note-preview { justify-self: center; }
  .field-note-footer { padding-top: 18px; gap: 8px; }
  .note-read-link { min-height: 44px; display: inline-flex; align-items: center; }
  .note-reader-close { min-width: 44px; min-height: 44px; }

  .runner-closing { padding-block: 36px 24px; }
  .runner-voices-wall { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 24px; }
  .voice-wall-tile--blue p, .voice-wall-tile--sand p, .voice-wall-tile--deep-blue p { font-size: 12px; line-height: 22px; padding: 6px; }
  .runner-closing-layout { gap: 36px; }
  .runner-closing-brand { align-items: center; text-align: center; padding-block: 30px 0; }
  .runner-closing-brand h3 { font-size: 36px; line-height: 52px; margin-top: 12px; }
  .closing-product { width: 240px; height: 190px; margin-top: 24px; }
  .closing-product-stage { height: 100%; aspect-ratio: auto; }
  .closing-product-set { width: 46%; inset: auto 0 0; margin-inline: auto; }
  .closing-product-set img { display: block; }
  .runner-closing-disclosure { align-items: flex-start; }
  .closing-disclosure-icon { margin-top: 4px; }
}

/* Review pass: compact original-photo banner, followed by quiet data and notes. */
@media (max-width: 900px) {
  .overview { background: #fcf9f8; }
  .overview-scenery { display: none; }
  main .overview-layout.shell { display: block; width: 100%; max-width: none; padding: 0 0 54px; }
  .intro-banner {
    min-height: 282px; padding: 24px 24px 60px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: url("/experience/swkmls/assets/hero/figma-landscape-graded-v3-optimized.webp") 85% center / cover no-repeat;
  }
  .intro-banner > * { width: 100%; max-width: 600px; }
  .overview .intro-copy { max-width: 342px; }
  .core-metrics { width: calc(100% - 48px); max-width: 600px; margin: 30px auto 0; }
  .cohort { display: none; }
  .cohort-mobile-summary {
    display: grid; gap: 12px; width: calc(100% - 48px); max-width: 480px;
    list-style: none; padding: 24px 0 0; margin: 24px auto 0; border-top: 1px solid #e3e8e8;
    color: #647980; font-size: 12px; line-height: 22px;
  }
  .cohort-mobile-summary li { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; align-items: baseline; }
  .cohort-mobile-ratio { color: #397b94; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
  .body-parts-mobile-heading { display: block; grid-column: 1 / -1; margin: 0; color: hsl(0 0% 70%); font: 400 12px/18px system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif; text-align: center; }
  .body-map-group-heading { display: none; }
  .body-map-canvas { row-gap: 18px; }
  .runner-day { padding-block: 36px 36px; }
  .runner-day-header { margin-bottom: 24px; }
  .runner-day-moments { margin-block: 0; }
  .runner-survey { background-position: center center; background-size: cover; }
  .related-story-photo { display: none; }
}
@media (max-width: 360px) {
  .intro-banner { padding-inline: 18px; }
  .core-metrics, .cohort-mobile-summary { width: calc(100% - 36px); }
  .cohort-mobile-summary li { gap: 8px; }
}
@media (max-width: 360px) {
  main .shell { width: calc(100% - 36px); }
  .intro h1 { font-size: 28px; line-height: 40px; }
  .intro .eyebrow { font-size: 11px; }
  .metric-pair > dl, .metric-pair > dl + dl { padding-inline: 6px; }
  .body-map-canvas { column-gap: 18px; }
  .body-label dt { font-size: 13px; }
  .body-label dd { font-size: 16px; }
  .story-chapter-title { font-size: 13px; }
  .story-chapter-description { font-size: 11px; }
  .feedback-metric--supporting { padding-inline: 4px; }
  .runner-survey-metric dd:not(.visually-hidden) { font-size: 30px; }
}
