/* ============================================================
   OUR IMPACT — PAGE STYLES
   Shared colours: css/style.css
   Shared About layout: css/executive-summary.css
   ============================================================ */
.impact-page {
    --im-card-radius: 12px;      /* Statistics and video card corners */
    --im-row-padding: 23px;    /* Space inside each outcome row */
    --im-section-space: 52px;  /* Space between major sections */
    --im-video-gap: 16px;      /* Space between video cards */
}
.im-hero { background: var(--navy-950); color: white; padding: 25px 0 52px; }
.im-hero .summary-breadcrumb { margin-bottom: 40px; }
.im-hero-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 70px; align-items: center; }
.im-hero .summary-eyebrow { color: #91c5e3; margin-bottom: 17px; }
.im-hero h1 { font-size: clamp(40px,4.8vw,66px); font-weight: 550; line-height: 1.08; letter-spacing: -.045em; margin: 0 0 22px; }
.im-hero h1 > span { color: #65b5e1; }
.im-hero-lead { font-size: clamp(20px,2vw,25px); color: #c2d2de; line-height: 1.45; letter-spacing: -.025em; margin: 0; }
.im-hero-link { display: inline-flex; align-items: center; gap: 30px; margin-top: 25px; padding-bottom: 7px; border-bottom: 1px solid #5a7487; font-size: 12px; font-weight: 600; }
.im-hero-link:hover { color: #a5d7f4; }
.im-hero-note { border-left: 1px solid #355066; padding-left: 32px; }
.im-note-mark { display: block; color: #80bedf; font-size: 34px; line-height: 1; margin-bottom: 17px; }
.im-hero-note p { color: #d0dfe9; font-size: 19px; line-height: 1.7; letter-spacing: -.015em; margin: 0; }
.im-layout { padding-top: 64px; }
.im-outcomes-section, .im-training { scroll-margin-top: calc(var(--summary-header-height) + 24px); }
.im-outcomes-section > h2, .im-training > h2, .im-approach > h2 { font-size: clamp(27px,2.8vw,37px); font-weight: 550; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 20px; }
.im-introduction { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0; }
.im-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 29px 0 15px; }
.im-stat-grid > div { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; padding: 23px; background: var(--blue-light); border: 1px solid #d2e4ef; border-radius: var(--im-card-radius); }
.im-stat-grid dt { font-size: 11px; line-height: 1.5; color: #3b6078; }
.im-stat-grid dd { color: var(--blue); font-size: 43px; font-weight: 500; line-height: 1; letter-spacing: -.04em; margin: 0 0 13px; }
.im-record-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.im-outcome-group { margin-top: 35px; }
.im-group-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 15px; }
.im-group-heading h3 { font-size: 23px; line-height: 1.3; font-weight: 550; letter-spacing: -.025em; margin: 0; }
.im-group-heading > span { color: var(--muted); font-size: 10px; }
.im-outcome-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--im-card-radius); overflow: hidden; }
.im-outcome { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 17px; padding: var(--im-row-padding); }
.im-outcome + .im-outcome { border-top: 1px solid var(--line); }
.im-outcome:nth-child(even) { background: var(--paper); }
.im-outcome-number { font-size: 10px; color: var(--blue); font-weight: 650; padding-top: 4px; }
.im-outcome-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.im-outcome h4 { font-size: 17px; line-height: 1.4; font-weight: 550; letter-spacing: -.015em; margin: 0; }
.im-status { flex-shrink: 0; border-radius: 4px; padding: 4px 8px; background: var(--blue-light); color: var(--blue); font-size: 9px; font-weight: 650; line-height: 1.6; }
.im-institution { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 7px 0 0; }
.im-topic { margin-top: 12px; }
.im-topic summary { display: inline-flex; align-items: center; gap: 16px; list-style: none; cursor: pointer; color: var(--blue); font-size: 11px; font-weight: 650; padding-block: 5px; }
.im-topic summary::-webkit-details-marker { display: none; }
.im-topic summary > span { font-size: 15px; transition: transform 150ms; }
.im-topic[open] summary > span { transform: rotate(45deg); }
.im-topic > p { margin: 7px 0 0; padding: 14px 17px; background: var(--blue-light); border-left: 2px solid var(--blue); font-size: 13px; line-height: 1.8; color: #385a70; }
.im-training, .im-approach { margin-top: var(--im-section-space); padding-top: var(--im-section-space); border-top: 1px solid var(--line); }
.im-video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--im-video-gap); margin-top: 28px; }
.im-video-card { display: flex; flex-direction: column; padding: 24px; background: var(--navy-800); color: white; border: 1px solid #23425a; border-radius: var(--im-card-radius); transition: background 180ms; }
.im-video-card:hover { background: var(--navy-700); }
.im-play { width: 40px; height: 40px; border: 1px solid #547b97; border-radius: 50%; display: grid; place-items: center; margin-bottom: 23px; color: #b1dcf5; }
.im-play svg { width: 18px; height: 18px; }
.im-video-card h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 13px; }
.im-video-card > p { color: #c2d3df; font-size: 12px; line-height: 1.85; margin: 0 0 25px; }
.im-watch { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; margin-top: auto; color: #b6d9ef; }
.im-support-list { margin: 28px 0 20px; }
.im-support-list article { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.im-support-list article:last-child { border-bottom: 1px solid var(--line); }
.im-support-list article > span { color: var(--blue); font-size: 11px; padding-top: 5px; font-weight: 650; }
.im-support-list h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; font-weight: 550; margin: 0 0 11px; }
.im-support-list p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; }
.im-page-navigation { margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--im-card-radius); overflow: hidden; }
.im-page-navigation a { display: flex; align-items: center; gap: 16px; padding: 23px 25px; font-size: 14px; font-weight: 600; transition: background 180ms; }
.im-page-navigation a:hover { background: var(--paper); }
.im-page-navigation small { display: block; font-size: 9px; font-weight: 650; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.im-next { border-left: 1px solid var(--line); justify-content: space-between; color: var(--blue); }
@media (max-width: 1100px) {
    .im-hero-grid { gap: 36px; }
    .im-outcome-top { flex-direction: column; gap: 8px; }
    .im-video-grid { grid-template-columns: 1fr; }
    .im-video-card { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 0 22px; }
    .im-play { grid-row: 1 / 4; margin-bottom: 0; }
    .im-video-card > p, .im-watch { grid-column: 2; }
    .im-video-card > p { margin-bottom: 16px; }
    .im-stat-grid > div { padding: 20px 17px; }
}
@media (max-width: 900px) {
    .im-layout { padding-top: 32px; }
    .im-hero-note { padding-left: 25px; }
    .im-hero-note p { font-size: 16px; }
    .im-hero-grid { gap: 26px; }
}
@media (max-width: 600px) {
    .impact-page { --im-row-padding: 20px; --im-section-space: 36px; }
    .im-hero { padding-bottom: 36px; }
    .im-hero .summary-breadcrumb { margin-bottom: 28px; }
    .im-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .im-hero h1 { font-size: 45px; }
    .im-hero-note { border-left: 0; border-top: 1px solid #355066; padding: 22px 0 0; }
    .im-note-mark { display: none; }
    .im-hero-note p { font-size: 15px; }
    .im-stat-grid { gap: 8px; }
    .im-stat-grid > div { padding: 17px 12px; }
    .im-stat-grid dd { font-size: 34px; }
    .im-stat-grid dt { font-size: 10px; }
    .im-group-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .im-outcome { grid-template-columns: 20px minmax(0,1fr); gap: 10px; }
    .im-outcome h4 { font-size: 17px; }
    .im-video-card { padding: 23px; gap: 0 16px; }
    .im-video-card h3 { font-size: 20px; }
    .im-support-list article { gap: 14px; grid-template-columns: 25px minmax(0,1fr); }
    .im-page-navigation { grid-template-columns: 1fr; margin-top: 30px; }
    .im-next { border-left: 0; border-top: 1px solid var(--line); }
    .im-page-navigation a { padding: 20px 23px; }
}
