/* H5 evidence reading: independent mobile chart layout, no whole-chart scaling.
   Desktop Figma calibration in styles.css remains authoritative above 1300px. */
@media (max-width: 1100px) {
  .chart { min-width: 0; height: 254px; aspect-ratio: auto; background: #f7faf7; border-radius: 4px; overflow: visible; }
  .chart .chart-art { position: absolute; inset: 0; width: 100%; height: 254px; transform: none; }
  .chart > figcaption { inset: 16px 16px auto 18px; z-index: 1; gap: 8px; font: 400 15px/24px var(--sans); color: #303636; }
  .chart-background, .chart-baseline { display: none; }
  .chart-art::after { content: ""; position: absolute; left: 48px; right: 16px; top: 214px; height: 1px; background: #dbe5de; }
  .chart .chart-y { position: absolute; inset: 0; display: block; color: #6e6e6e; font: 400 12px/18px var(--inter); }
  .chart .chart-y span { position: absolute; left: 16px; width: 25px; font: inherit; text-align: right; }
  .chart-y span:nth-child(1) { top: 49px; }
  .chart-y span:nth-child(2) { top: 80.2px; }
  .chart-y span:nth-child(3) { top: 111.4px; }
  .chart-y span:nth-child(4) { top: 142.6px; }
  .chart-y span:nth-child(5) { top: 173.8px; }
  .chart-y span:nth-child(6) { top: 205px; }
  .chart .chart-bar { bottom: 40px; }
  .chart .chart-bar--before { left: calc(25% + 9px); }
  .chart .chart-bar--after { left: calc(75% - 23px); }
  .chart .chart-bar > span { bottom: calc(100% + 5px); font: 400 15px/20px var(--inter); color: #2f4a3b; }
  .chart .chart-bar small { top: calc(100% + 6px); font: 400 12px/18px var(--inter); color: #6e6e6e; }
  .chart .chart-arrow { left: calc(50% - 20px); top: 101px; }
  .chart-grid > .chart:nth-child(2) .chart-arrow { top: 107px; }
  .chart-groups > section:nth-child(2) .chart-arrow { top: 85px; }
  .chart-groups > section:nth-child(2) .chart:nth-child(2) .chart-arrow { top: 93px; }
  .chart-caption { font: 400 12px/18px var(--sans); margin: 10px 0 0; color: #355e48; }
  .chart-groups { display: grid; row-gap: 28px; }
  .chart-groups h3 { margin: 0 0 12px; font: 500 18px/28px var(--sans); color: #2d5841; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  body { font: 400 15px/26px var(--sans); color: #4a4a4a; }.shell,.analysis-shell{ width: calc(100% - 2 * var(--gutter)); max-width: 720px; margin-inline: auto; }











  .hero { height: 408px; min-height: 0; }
  .hero-art { inset: 0; display: block; }
  .hero-art > img { width: 100%; min-width: 0; height: 100%; object-fit: cover; object-position: 76% center; }
  .hero-copy { padding-top: 36px; padding-left: 0; }
  .hero h1 { max-width: 100%; font: 500 30px/42px var(--serif); letter-spacing: 0; }
  .hero-rule { width: min(240px, 100%); height: auto; margin-top: 18px; }
  .hero-copy > p { max-width: 340px; margin-top: 16px; font: 400 15px/26px var(--serif); color: #173f35; }
  .hero-copy strong { font-weight: 500; }
  .eyebrow { max-width: 100%; font: 400 12px/18px var(--inter); color: #35765d; overflow-wrap: anywhere; }
  :is(.objective,.analysis,.experience,.reports) .section-heading h2 { margin-top: 8px; max-width: 100%; font: 500 24px/34px var(--serif); letter-spacing: 1px; color: #303636; }
  :is(.objective,.analysis,.experience,.reports) .subtitle { margin-top: 12px; padding-bottom: 18px; font: 400 16px/26px var(--sans); color: #4a4a4a; }
  :is(.objective,.analysis,.experience,.reports) .subtitle::after { width: 100%; max-width: 100%; height: 1px; background: #d4e2da; }
  :is(.objective,.analysis,.experience,.reports) .intro { margin-top: 16px; max-width: 100%; font: 400 15px/26px var(--sans); color: #4a4a4a; }
  .objective { min-height: 0; height: auto; padding: 48px 0; }
  .metric-grid { margin-top: 24px; gap: 16px; }
  .metric-card { min-height: 0; padding: 18px; }
  .metric-card h3 { font: 500 16px/24px var(--sans); color: #303636; }
  .metric-card > p { margin-top: 4px; font: 400 15px/26px var(--sans); color: #4a4a4a; }
  .metric-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; gap: 16px; }
  .metric-card dl > div + div { border-left: 1px solid #6e9e8d; padding-left: 18px; }
  .metric-card dt { gap: 6px; font: 400 14px/20px var(--sans); color: #6e6e6e; }
  .metric-card dd { margin-top: 4px; font: 400 clamp(28px,8vw,34px)/42px var(--sans); color: #173f35; }
  .data-note, .experience .data-note { margin-top: 24px; font: 400 14px/24px var(--sans); color: #6e6e6e; }
  .analysis { height: auto; }
  .analysis-shell { padding-top: 48px; }
  .chart-groups { margin: 28px 0 0; }
  .chart-grid { gap: 18px; }
  .analysis-notes { min-height: 0; margin-top: 24px; padding: 24px 0 32px; background: #edf3ed; color: #4a4a4a; }
  .analysis-notes > .shell { max-width: 720px; }
  .analysis-notes > .shell > p { font: 400 14px/24px var(--sans); color: #4a4a4a; }
  .analysis blockquote { margin: 24px 0 0 4px; padding-left: 18px; border-color: #9bb5a2; font: 400 14px/24px var(--sans); }
  .analysis blockquote::before { top: -13px; font-size: 36px; background: #edf3ed; color: #6e9682; }
  .analysis-notes a { color: #2d5841; text-decoration: underline; text-underline-offset: 3px; }
  .experience { height: auto; min-height: 0; padding: 48px 0; }
  .experience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; max-width: none; }
  .experience-grid > li { position: relative; display: grid; grid-template-columns: 36px minmax(0,1fr); column-gap: 8px; row-gap: 2px; min-height: 0; padding: 18px 14px 16px; }
  .experience-grid > li > img, .experience-grid > li:nth-child(3) > img, .experience-grid > li:nth-child(4) > img { position: absolute; left: 14px; top: 18px; margin: 0; transform: scale(.65); transform-origin: left top; }
  .experience-grid strong { grid-column: 2; font: 700 26px/34px var(--sans); color: #173f35; }
  .experience-grid h3 { grid-column: 1 / -1; margin-top: 10px; font: 500 16px/24px var(--sans); white-space: normal; color: #303636; }
  .experience-grid p { grid-column: 1 / -1; margin-top: 4px; font: 400 15px/24px var(--sans); color: #4a4a4a; }
  .experience-grid > li:last-child { grid-column: 1 / -1; }
  .experience-grid > li:last-child h3 { grid-column: 2; margin-top: 0; }
  .experience-grid > li:last-child p { grid-column: 2; }
  .experience blockquote { margin-top: 24px; padding-left: 26px; font: 400 15px/26px var(--sans); color: #4a4a4a; }
  .experience blockquote::before { font-size: 36px; }
  .report-heading { height: auto; padding: 48px 0 32px; }
  .report-body { min-height: 0; }
  .report-content { display: flex; flex-direction: column; width: calc(100% - 2 * var(--gutter)); max-width: 720px; padding: 0 0 96px; margin-inline: auto; gap: 24px; }
  .report-illustration { width: 100%; max-width: 360px; margin: 0 auto; }
  .report-art-viewport { width: 100%; height: auto; aspect-ratio: 560 / 470; }
  .report-art { --report-scale: .5; top: calc(-88px * var(--report-scale)); }
  .report-copy { min-width: 0; padding: 0; }
  .report-kicker { margin: 0; font: 400 12px/18px var(--inter); color: #6e6e6e; }
  .report-copy h3 { margin-top: 16px; white-space: normal; font: 500 18px/28px var(--sans); color: #303636; }
  .report-copy > p:not(.report-kicker):not(.report-hint) { margin-top: 12px; white-space: normal; font: 400 15px/26px var(--sans); color: #4a4a4a; }
  .report-cards { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 24px; }
  .report-card { max-width: none; width: 100%; min-height: 104px; padding: 16px 18px; gap: 14px; background: #f3f7f4; border-radius: 4px; }
  .report-card > img { margin-top: 9px; }
  .report-card strong { font: 500 18px/26px var(--sans); }
  .report-card span > span { margin-top: 2px; white-space: normal; font: 400 14px/22px var(--sans); }
  .report-card small { margin-top: 4px; font: 400 13px/20px var(--inter); color: #6e6e6e; overflow-wrap: anywhere; }
  .report-cta { width: 100%; max-width: 360px; min-height: 48px; margin-top: 24px; padding: 10px 18px; border: 1px solid #2d5841; border-radius: 0; background: #2d5841; font: 400 16px/26px var(--sans); }
  .report-hint { margin-top: 16px; font: 400 12px/20px var(--sans); color: #6e6e6e; }







}
@media (max-width: 380px) {
  :root { --gutter: 18px; }
}
@media (max-width: 350px) {
  .metric-card dl { gap: 12px; }.metric-card dl > div + div { padding-left: 14px; }
  .metric-card dd { font-size: 28px; }
  .experience-grid { grid-template-columns: minmax(0,1fr); }
  .experience-grid > li h3, .experience-grid > li p { grid-column: 2; margin-top: 0; }
}
@media (min-width: 351px) and (max-width: 389px) { .report-art { --report-scale: .54; } }
@media (min-width: 390px) and (max-width: 429px) { .report-art { --report-scale: .60; } }
@media (min-width: 430px) and (max-width: 900px) { .report-art { --report-scale: .64; } }
@media (min-width: 700px) and (max-width: 900px) {
  .hero { height: 380px; }
  .hero-copy > p { max-width: 540px; }
  .chart-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .experience-grid > li { grid-column: span 2; }
  .experience-grid > li:nth-child(4) { grid-column: 2 / span 2; }
  .experience-grid > li:nth-child(5) { grid-column: 4 / span 2; }
  .experience-grid > li:last-child h3, .experience-grid > li:last-child p { grid-column: 1 / -1; }
}
@media (max-width: 900px) and (max-height: 510px) and (orientation: landscape) {


  .hero { height: 300px; }
  .hero-copy { padding-top: 30px; }
  .hero-copy > p { max-width: 52%; }
  .hero-art > img { object-position: 72% center; }
}
