/* =========================================================
   Impact and reports (impact-reports.php). Builds on about.css and programmes.css.
   ========================================================= */
.im section[id] { scroll-margin-top: 96px; }

/* ---------- 1. Opening: headline and the growth chart ---------- */
.ab .im-hero {
  position: relative; overflow: hidden; padding: clamp(34px, 4.6vw, 70px) 0 clamp(60px, 7vw, 100px);
  background: radial-gradient(900px 520px at 100% 0%, rgba(0, 124, 173, .1), transparent 62%), radial-gradient(760px 520px at 0% 100%, rgba(8, 114, 45, .1), transparent 60%), var(--ab-cream);
}
.im-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px clamp(36px, 5vw, 84px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.im-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 3vw, 34px); font-size: 13.5px; color: var(--ab-soft); }
.im-crumb a { color: var(--ab-green); font-weight: 600; }
.im-hero h1 { font-family: var(--ab-serif); font-weight: 500; font-size: var(--fs-display); line-height: 1.03; letter-spacing: -.022em; color: var(--ab-deep); max-width: 14ch; margin: 0; }
.im-hero .ab-mark path { fill: #9fd6b2; }
.im-hero .ab-lead { max-width: 52ch; margin: 0 0 26px; }
.im-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.im-link { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 700; font-size: 15px; color: var(--ab-deep); border-bottom: 2px solid #9fd6b2; transition: border-color .2s ease, color .2s ease; }
.im-link:hover { color: var(--ab-green); border-color: var(--ab-green); }
.im-link small { font-weight: 500; color: var(--ab-soft); }

/* The chart: one bar per year, each a window onto a photograph, heights true to the figures */
.im-growth { position: relative; margin: 0; padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.4vw, 32px) clamp(18px, 2vw, 24px); border-radius: 30px; background: #fff; border: 1px solid var(--ab-line); box-shadow: 0 34px 70px rgba(11, 61, 46, .12); }
.im-growth figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0; }
.im-growth figcaption strong { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); color: var(--ab-deep); }
.im-growth figcaption span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ab-soft); }
/* The curve: people reached each year as a line, the area beneath it a field being worked */
.im-plot-box { position: relative; aspect-ratio: 1000 / 500; margin-top: clamp(66px, 7.4vw, 92px); }
.im-plot-box svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.im-grid { stroke: var(--ab-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.im-axis { font: 500 14px var(--font-body); fill: var(--ab-soft); }
.im-year { font: 700 16px var(--font-body); fill: var(--ab-deep); }
.im-area { transition: opacity 1.4s ease .9s; }
.im-line { fill: none; stroke: var(--ab-deep); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.3, .7, .2, 1) .2s; }
.im-drop { stroke: rgba(255, 255, 255, .8); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.ab-js .im-growth:not(.is-in) .im-line { stroke-dashoffset: 1; }
.ab-js .im-growth:not(.is-in) .im-area { opacity: 0; }
/* Each year's photograph sits on its point, with its figure and what marked the year above it */
.im-pt { position: absolute; z-index: 1; transform: translate(-50%, -50%); transition: opacity .6s ease calc(.7s + var(--k) * .4s), transform .6s cubic-bezier(.2, .9, .3, 1.3) calc(.7s + var(--k) * .4s); }
.ab-js .im-growth:not(.is-in) .im-pt { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
.im-pt-photo { display: block; width: clamp(52px, 7vw, 90px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--ab-green), 0 14px 26px rgba(11, 61, 46, .24); background: var(--ab-sand); }
.im-pt-photo img { width: 100%; height: 100% !important; object-fit: cover; }
.im-pt-label { position: absolute; left: 50%; bottom: calc(100% + 8px); width: max-content; max-width: 20ch; transform: translateX(-50%); text-align: center; text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 10px #fff; }
.im-pt-label strong { display: block; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(20px, 2.2vw, 31px); line-height: 1; color: var(--ab-deep); font-variant-numeric: lining-nums; }
.im-pt-label > span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--ab-soft); }
.im-pt.is-last .im-pt-label strong { font-size: clamp(26px, 2.9vw, 42px); color: var(--ab-green); }
.im-pt.is-last .im-pt-photo { box-shadow: 0 0 0 2px var(--ab-green), 0 0 0 8px rgba(8, 114, 45, .18), 0 14px 26px rgba(11, 61, 46, .24); }
.im-plot-key { display: none; }
.im-plot { position: relative; }
.im-stamp { position: absolute; z-index: 2; left: 17%; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(92px, 9vw, 122px); aspect-ratio: 1; border-radius: 50%; background: var(--ab-blue); color: #fff; text-align: center; transform: rotate(-9deg); box-shadow: 0 16px 30px rgba(0, 124, 173, .28); transition: transform .8s cubic-bezier(.2, .8, .2, 1) .9s, opacity .5s ease .9s; }
.im-stamp strong { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.im-stamp span { margin-top: 4px; padding: 0 10px; font: 700 9.5px/1.25 var(--font-body); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.ab-js .im-growth:not(.is-in) .im-stamp { opacity: 0; transform: rotate(-30deg) scale(.6); }
.ab .im-growth-note { margin: 44px 0 0; font-size: 13px; line-height: 1.5; color: var(--ab-soft); }

/* ---------- 2. Four things we track: photo bars ---------- */
.ab .im-questions { background: #fff; }
/* Four columns whose question, bar and answer line up across (subgrid rows) */
.im-qb-grid { --track: clamp(300px, 32vw, 430px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(14px, 2.2vw, 30px); row-gap: 0; }
.im-qb { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.im-qb:nth-child(2) { transition-delay: .08s; }
.im-qb:nth-child(3) { transition-delay: .16s; }
.im-qb:nth-child(4) { transition-delay: .24s; }
.im-qb-head { padding-bottom: 18px; }
.im-qb-no { display: block; font: 700 12px/1 var(--font-body); letter-spacing: .16em; color: var(--ab-blue); }
.ab .im-qb h3 { margin: 10px 0 0; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(19px, 1.65vw, 23px); line-height: 1.25; color: var(--ab-deep); }
/* The track runs from 0 to 100 per cent; the photograph fills it to the result */
.im-qb-track { position: relative; align-self: end; justify-self: start; width: min(100%, 210px); height: var(--track); border-radius: 999px 999px 18px 18px; background: repeating-linear-gradient(to top, var(--ab-cream) 0 calc(25% - 1px), var(--ab-line) calc(25% - 1px) 25%), var(--ab-cream); }
.im-qb-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v) * 100%); border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--ab-sand); clip-path: inset(0 0 0 0); transition: clip-path 1.2s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 160ms + 200ms); }
.im-qb-fill img { width: 100%; height: 100% !important; object-fit: cover; }
.im-qb-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 61, 46, 0) 45%, rgba(11, 61, 46, .4)); }
.im-qb-val { position: absolute; z-index: 1; left: 50%; bottom: calc(var(--v) * 100% + 10px); transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px rgba(11, 61, 46, .16); font-family: var(--ab-serif); font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); line-height: 1; color: var(--ab-green); white-space: nowrap; font-variant-numeric: lining-nums; transition: opacity .5s ease calc(var(--i) * 160ms + 1.1s), transform .5s ease calc(var(--i) * 160ms + 1.1s); }
.im-qb:nth-child(even) .im-qb-val { color: var(--ab-blue); }
.ab-js .im-qb:not(.is-in) .im-qb-fill { clip-path: inset(100% 0 0 0); }
.ab-js .im-qb:not(.is-in) .im-qb-val { opacity: 0; transform: translate(-50%, 10px); }
.ab .im-qb-what { margin: 16px 0 0; font-family: var(--ab-serif); font-weight: 500; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.3; color: var(--ab-deep); }
.ab .im-qb-src { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ab-soft); }
.im-qb-src a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ab-green); }
.ab .im-qb-note { margin: clamp(26px, 3vw, 38px) 0 0; max-width: 78ch; font-size: 13.5px; line-height: 1.55; color: var(--ab-soft); }
/* One participant in her own words, beside the results */
.im-voice { position: relative; max-width: 860px; margin: clamp(44px, 5.4vw, 72px) 0 0; padding: clamp(28px, 3.4vw, 44px) clamp(26px, 3.6vw, 52px) clamp(26px, 3vw, 38px) clamp(64px, 7vw, 104px); border-radius: var(--ab-radius); background: var(--ab-cream); }
.im-voice::before { content: '\201C'; position: absolute; left: clamp(18px, 2.4vw, 34px); top: clamp(4px, 1vw, 12px); font-family: var(--ab-serif); font-size: clamp(80px, 9vw, 120px); line-height: 1; color: var(--ab-green); }
.im-voice blockquote { margin: 0; }
.ab .im-voice blockquote p { margin: 0; font-family: var(--ab-serif); font-weight: 500; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.4; letter-spacing: -.005em; color: var(--ab-deep); }
.im-voice figcaption { margin-top: 16px; font-size: 14.5px; color: var(--ab-soft); }
.im-voice figcaption strong { color: var(--ab-deep); }
/* ---------- 3. Headline figures ---------- */
.ab .im-reach { background: var(--ab-cream); }
.im-figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(206px, auto); gap: 14px; }
.im-fig { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--ab-line); overflow: hidden; }
.im-fig-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(8, 114, 45, .1); color: var(--ab-green); }
.im-fig strong { display: block; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(36px, 3.3vw, 50px); line-height: 1; letter-spacing: -.012em; color: var(--ab-deep); font-variant-numeric: lining-nums; }
.im-fig-label { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ab-soft); }
.im-fig.t-sand { background: var(--ab-sand); border-color: transparent; }
.im-fig.t-green, .im-fig.t-blue, .im-fig.t-deep { border-color: transparent; }
.im-fig.t-green { background: var(--ab-green); }
.im-fig.t-blue { background: var(--ab-blue); }
.im-fig.t-deep { background: var(--ab-deep); }
.im-fig.t-green strong, .im-fig.t-blue strong, .im-fig.t-deep strong { color: #fff; }
.im-fig.t-green .im-fig-label, .im-fig.t-blue .im-fig-label, .im-fig.t-deep .im-fig-label { color: rgba(255, 255, 255, .86); }
.im-fig.t-green .im-fig-ico, .im-fig.t-blue .im-fig-ico, .im-fig.t-deep .im-fig-ico { background: rgba(255, 255, 255, .16); color: #fff; }
/* Counts small enough to show one by one: a dot for each, in rows of ten */
.im-dots { display: grid; grid-template-columns: repeat(10, 8px); gap: 5px; margin-bottom: 14px; color: var(--ab-green); }
.im-fig.t-sand .im-dots { color: var(--ab-blue); }
.im-fig.t-green .im-dots, .im-fig.t-blue .im-dots, .im-fig.t-deep .im-dots { color: #fff; }
.im-dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .82; transition: transform .35s cubic-bezier(.2, .8, .2, 1) calc(var(--d) * 14ms + 200ms); }
.ab-js .im-fig:not(.is-in) .im-dots i { transform: scale(0); }
/* The lead figure on a photograph */
.im-fig.is-lead { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: clamp(24px, 3vw, 38px); border: 0; color: #fff; background: var(--ab-deep); }
.im-fig-bg { position: absolute; inset: 0; }
.im-fig-bg img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.4s ease; }
.im-fig.is-lead:hover .im-fig-bg img { transform: scale(1.04); }
.im-fig-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 22, 15, 0) 30%, rgba(6, 22, 15, .78) 100%); }
.im-fig-body { position: relative; }
.im-fig.is-lead strong { font-size: clamp(54px, 6vw, 88px); color: #fff; letter-spacing: -.025em; }
.im-fig.is-lead .im-fig-label { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .92); }
/* Where the figures come from */
.im-fig.is-source { flex-direction: row; align-items: center; justify-content: flex-start; background: transparent; border: 1.5px dashed #c9c2b3; }
.im-source-cover { flex: none; width: 74px; border-radius: 4px; transform: rotate(-5deg); box-shadow: 0 10px 22px rgba(11, 61, 46, .2); }
.im-fig.is-source .im-fig-label { margin: 0 0 10px; font-size: 14.5px; color: var(--ab-ink); }
.im-source-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ab-green); }

/* ---------- 4. The annual reports ---------- */
.ab .im-years {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 520px at 92% 0%, rgba(0, 124, 173, .3), transparent 62%), radial-gradient(800px 520px at 0% 100%, rgba(8, 114, 45, .45), transparent 60%), var(--ab-deep);
}
.im-years h2 { color: #fff; }
.im-years .ab-eyebrow { color: #9fd6b2; }
.im-years .ab-eyebrow::before { background: #9fd6b2; }
.ab .im-years .ab-head-sub { color: rgba(255, 255, 255, .8); }
.im-years-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
/* Year buttons, then the covers fanned on a shelf; the chosen one comes forward */
.im-year-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.im-year-tab { padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .07); color: #fff; font: 700 14.5px/1 var(--font-body); letter-spacing: .03em; font-variant-numeric: lining-nums; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.im-year-tab:hover { background: rgba(255, 255, 255, .16); }
.im-year-tab[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--ab-deep); }
.im-year-tab:focus-visible { outline: 3px solid #9fd6b2; outline-offset: 3px; }
.im-shelf { position: relative; aspect-ratio: 10 / 7; margin-top: 52px; }
.im-shelf::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -14px; height: 14px; border-radius: 7px; background: linear-gradient(180deg, #2a6b52, #0e4a36); box-shadow: 0 22px 34px rgba(0, 0, 0, .38); }
.im-book {
  --w: 46%; position: absolute; bottom: 0; left: calc((100% - var(--w)) * var(--n) / max(1, var(--of) - 1)); width: var(--w); padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer;
  transform-origin: 50% 100%; transform: rotate(calc((var(--n) - (var(--of) - 1) / 2) * 3.5deg)); filter: brightness(.74) saturate(.85);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .35s ease, box-shadow .35s ease; box-shadow: 0 18px 34px rgba(0, 0, 0, .4);
}
.im-book:hover { filter: brightness(.92); transform: translateY(-10px) rotate(calc((var(--n) - (var(--of) - 1) / 2) * 3.5deg)); }
.im-book.is-on { z-index: 5; filter: none; transform: translateY(-26px) rotate(0deg) scale(1.04); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.im-book-cover { display: block; width: 100%; height: auto; border-radius: 6px; }
.im-book-plain { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 900 / 1273; padding: 18px; border-radius: 6px; background: linear-gradient(160deg, var(--ab-green), var(--ab-blue)); text-align: left; }
.im-book-plain span { font: 700 11px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.im-book-plain strong { font-family: var(--ab-serif); font-size: 44px; line-height: 1; color: #fff; }
/* The chosen year */
.im-panel { outline: none; }
.ab-js .im-panel:not(.is-active) { display: none; }
.ab-js .im-panel.is-active { animation: imPanel .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes imPanel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.im-panel + .im-panel { margin-top: 48px; }
.ab-js .im-panel + .im-panel { margin-top: 0; }
.im-panel-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; }
.im-panel-year { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(60px, 7vw, 100px); line-height: .82; letter-spacing: -.035em; color: #fff; font-variant-numeric: lining-nums; }
.ab .im-panel-reach { margin: 0 0 6px; font: 700 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.im-panel-reach strong { display: block; margin-bottom: 4px; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.01em; text-transform: none; color: #9fd6b2; }
.ab .im-panel-line { margin: 22px 0 24px; max-width: 48ch; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.im-notes { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.im-notes li { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.im-notes strong { display: block; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(26px, 2.3vw, 32px); line-height: 1; color: #fff; font-variant-numeric: lining-nums; }
.im-notes span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.im-btn-light { background: #fff; color: var(--ab-deep); }
.im-btn-light:hover { background: #e6f3ea; color: var(--ab-deep); }
.im-btn-meta { padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(11, 61, 46, .2); font-weight: 500; font-size: 13px; color: var(--ab-soft); }
.im-years a:focus-visible { outline-color: #fff !important; }
/* Every report in one line */
.im-all { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.im-all-label { margin-right: 6px; font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.im-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: 14px; color: #fff; transition: background .2s ease; }
.im-chip:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.im-chip small { font-weight: 500; font-size: 12.5px; color: rgba(255, 255, 255, .66); }

/* ---------- 5. What change looks like ---------- */
.ab .im-change { background: #fff; }
.im-change-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.im-change-head { position: sticky; top: 120px; }
.im-change-head h2 { font-size: var(--fs-h2-feature); }
.ab .im-change-coda { margin: 22px 0 0; padding-left: 18px; border-left: 3px solid #9fd6b2; font-family: var(--ab-serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--ab-deep); }
.im-change-list { list-style: none; margin: 0; padding: 0; }
.im-change-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) clamp(120px, 13vw, 176px); gap: clamp(16px, 2.2vw, 30px); align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 1px solid var(--ab-line); }
.im-change-list li:last-child { border-bottom: 1px solid var(--ab-line); }
.im-change-num { align-self: start; padding-top: 8px; font: 700 13px/1 var(--font-body); letter-spacing: .14em; color: var(--ab-blue); }
.ab .im-change-list p { margin: 0; font-family: var(--ab-serif); font-weight: 500; font-size: clamp(20px, 1.85vw, 26px); line-height: 1.36; letter-spacing: -.005em; color: var(--ab-deep); }
.im-change-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ab-sand); }
.im-change-list li:nth-child(even) .im-change-photo { border-radius: 90px 18px 90px 18px; }
.im-change-list li:nth-child(3) .im-change-photo { border-radius: 999px 999px 18px 18px; }
.im-change-photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .7s ease; }
.im-change-list li:hover .im-change-photo img { transform: scale(1.07); }

/* ---------- 6. Accountability ---------- */
.im-close h2 { max-width: 20ch; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .im-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .im-qb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .im-hero-grid, .im-years-grid, .im-change-grid { grid-template-columns: 1fr; }
  .im-hero h1 { max-width: 16ch; }
  .im-shelf-col { max-width: 520px; width: 100%; margin-left: auto; margin-right: auto; }
  .im-change-head { position: static; }
}
@media (max-width: 720px) {
  .im-voice { padding: 24px 20px 22px 50px; }
  .im-voice::before { left: 14px; top: 6px; font-size: 62px; }
  .ab .im-voice blockquote p { font-size: 19px; }
  .im-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(176px, auto); gap: 10px; }
  .im-fig { padding: 18px; border-radius: 20px; }
  .im-fig.is-lead { min-height: 300px; }
  .im-fig strong { font-size: 34px; }
  .im-fig-label { font-size: 14px; }
  .im-dots { grid-template-columns: repeat(10, 6px); gap: 4px; }
  .im-dots i { width: 6px; height: 6px; }
  .im-fig.is-source { grid-column: span 2; }
  .im-growth { border-radius: 24px; }
  /* The curve keeps its line and photographs; the figures move to a key below it */
  .im-pt-label { display: none; }
  .im-pt-photo { width: 42px; border-width: 3px; }
  .im-year { font-size: 26px; }
  .im-axis { font-size: 24px; }
  .im-plot-box { margin-top: 22px; }
  .im-stamp { width: 56px; left: 17%; top: -8px; }
  .im-stamp strong { font-size: 20px; }
  .im-stamp span { font-size: 6.5px; padding: 0 5px; }
  .ab .im-growth-note { margin-top: 14px; }
  .im-plot-key { display: grid; list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--ab-line); }
  .im-plot-key li { display: grid; grid-template-columns: 48px auto minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ab-line); }
  .im-plot-key span { font-weight: 700; font-size: 13px; color: var(--ab-blue); }
  .im-plot-key strong { font-family: var(--ab-serif); font-weight: 600; font-size: 21px; line-height: 1; color: var(--ab-deep); }
  .im-plot-key em { font-style: normal; font-size: 13px; line-height: 1.4; color: var(--ab-soft); }
  .im-notes { grid-template-columns: 1fr; }
  .im-change-list li { grid-template-columns: minmax(0, 1fr) 84px; gap: 16px; padding: 20px 0; }
  .im-change-num { display: none; }
  .ab .im-change-list p { font-size: 18.5px; }
}
@media (max-width: 560px) {
  .im-qb-grid { --track: 230px; column-gap: 12px; row-gap: 34px; }
  .ab .im-qb h3 { font-size: 16.5px; }
  .im-qb-head { padding-bottom: 12px; }
  .im-qb-val { font-size: 21px; padding: 6px 12px; }
  .ab .im-qb-what { font-size: 15.5px; }
  .ab .im-qb-src { font-size: 12px; }
  .im-btn-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .im-qb-fill, .im-qb-val, .im-line, .im-area, .im-pt, .im-stamp, .im-dots i, .im-book, .im-change-photo img, .im-fig-bg img { transition: none; }
  .ab-js .im-growth:not(.is-in) .im-line { stroke-dashoffset: 0; }
  .ab-js .im-qb:not(.is-in) .im-qb-fill { clip-path: inset(0 0 0 0); }
  .ab-js .im-qb:not(.is-in) .im-qb-val { opacity: 1; transform: translateX(-50%); }
  .ab-js .im-growth:not(.is-in) .im-area, .ab-js .im-growth:not(.is-in) .im-pt { opacity: 1; transform: translate(-50%, -50%); }
  .ab-js .im-growth:not(.is-in) .im-stamp { opacity: 1; transform: rotate(-9deg); }
  .ab-js .im-fig:not(.is-in) .im-dots i { transform: none; }
  .ab-js .im-panel.is-active { animation: none; }
}

/* Phones keep each year's figure on the curve (the notes stay in the key below it) */
@media (max-width: 720px) {
  .im-plot-box { margin-top: 48px; }
  .im-pt-label { display: block; bottom: calc(100% + 5px); }
  .im-pt-label > span { display: none; }
  .im-pt-label strong { font-size: 14px; }
  .im-pt.is-last .im-pt-label strong { font-size: 17px; }
}
.im-crumb a { display: inline-flex; align-items: center; min-height: 36px; }
