/* V5 — original Makena shell, user-approved four-part narrative. */
.student-page{background:#faf9f5;color:#273026;font-family:Lato,Arial,sans-serif}
.student-intro{max-width:1080px;margin:auto;padding:22px 24px 18px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:center}
.student-intro h1{font-family:'Noto Sans',Arial,sans-serif;font-size:clamp(30px,3vw,39px);font-weight:400;color:#303c29;line-height:1.2;margin:0 0 12px}
.intro-lead{font-size:20px;line-height:1.45;margin:0 0 12px;color:#303c29}
.intro-copy .meta{font-size:15px;color:#626a5f;line-height:1.5;margin:0}
.snapshot{background:#fffdf8;padding:9px 9px 8px;box-shadow:0 6px 16px #2c261d26;border:1px solid #e6e0d4;margin:8px 10px;max-width:100%;box-sizing:border-box;transform:rotate(-2deg)}
.snapshot.tilt-right{transform:rotate(2.4deg)}
.snapshot img{display:block;width:100%;height:auto;object-fit:contain}
.snapshot figcaption{font-family:Lato,Arial,sans-serif;font-size:12px;color:#676052;text-align:center;line-height:1.3;padding:8px 3px 3px}
.student-intro .snapshot{width:300px;justify-self:center}
.chapter{max-width:none;margin:0;padding:0 0 25px}
.chapter-band{background:#303c29;color:#fff;padding:24px 24px 26px;margin:0 0 13px}
.chapter-band-inner{max-width:1032px;margin:auto}
.chapter-label{display:block;color:#e6d6ba;font-size:13px;letter-spacing:.06em;margin-bottom:5px}
.chapter-band h2{font-family:'Noto Sans',Arial,sans-serif;font-weight:400;font-size:29px;line-height:1.2;margin:0 0 5px;color:white}
.chapter-band p{font-size:17px;line-height:1.4;margin:0;color:#f4f0e7}
.student-story-section{max-width:1080px;margin:auto;padding:11px 24px;display:grid;grid-template-columns:minmax(0,1fr) 305px;align-items:center;gap:24px}
.student-story-section:nth-of-type(odd){grid-template-columns:305px minmax(0,1fr)}
.student-story-section:nth-of-type(odd) .student-story-copy{grid-column:2;grid-row:1}
.student-story-section:nth-of-type(odd) .snapshot{grid-column:1;grid-row:1}
.student-story-copy h3{font-family:'Noto Sans',Arial,sans-serif;font-size:24px;font-weight:400;color:#303c29;line-height:1.25;margin:0 0 9px}
.student-story-copy p{font-size:18px;line-height:1.55;margin:0 0 11px}
.student-story-copy p:last-child{margin-bottom:0}
.student-story-section .snapshot{width:295px;justify-self:center}
@media(max-width:740px){.student-intro,.student-story-section,.student-story-section:nth-of-type(odd){display:flex;flex-direction:column;align-items:stretch;gap:10px}.student-intro{padding:20px 22px 14px}.student-intro .snapshot,.student-story-section .snapshot{width:min(92%,350px);align-self:center;margin:8px auto 12px}.student-story-section{padding:17px 22px}.student-story-section:nth-of-type(odd) .student-story-copy,.student-story-section:nth-of-type(odd) .snapshot{grid-column:auto;grid-row:auto}.chapter-band{padding:20px 22px}.student-story-copy h3{font-size:22px}.student-story-copy p{font-size:18px}}

/* V6: letter photograph reduced by 25%, keeping its natural proportions. */
.student-story-section:nth-of-type(2) .snapshot{width:254px}
@media(max-width:740px){.student-story-section{padding:11px 22px}.student-story-section:nth-of-type(2) .snapshot{width:min(79%,254px)}}

/* V7: tighten only the space between “Meeting new people” and “Part of the Makena family”. */
.student-story-section:nth-of-type(4){margin-top:-30px}
@media(max-width:740px){.student-story-section:nth-of-type(4){margin-top:-15px}}

/* V8: Chapter heading uses approved Volunteer Instagram panel background. */
.chapter-band{background:#e5dfd2;color:#000}
.chapter-label,.chapter-band h2,.chapter-band p{color:#000}

/* V9: slightly darker warm cream chapter band; all other styles unchanged. */

/* V10: remove intro image; tighten gap before Meeting new people. */
.student-intro{grid-template-columns:minmax(0,1fr)}
.student-story-section:nth-of-type(3){margin-top:-28px}
@media(max-width:740px){.student-story-section:nth-of-type(3){margin-top:-14px}}

/* V11: tighten the gap between A school to call her own and A letter from across the ocean. */
.student-story-section:nth-of-type(2){margin-top:-28px}
@media(max-width:740px){.student-story-section:nth-of-type(2){margin-top:-14px}}

/* Simon V2: final portrait only, 20% smaller than V1. */
.student-story-section:last-of-type .snapshot{width:236px}
@media(max-width:740px){.student-story-section:last-of-type .snapshot{width:min(73.6%,280px)}}

/* Martha V1: preserve alumni design, keep images within their columns */
.student-story-section .snapshot{width:min(100%,295px);max-width:100%;}
.student-story-section:nth-of-type(2) .snapshot,.student-story-section:last-of-type .snapshot{width:min(100%,295px)}
.student-story-section:nth-of-type(2),.student-story-section:nth-of-type(3),.student-story-section:nth-of-type(4){margin-top:0}
.student-story-section:last-of-type{display:block;padding-top:30px;padding-bottom:35px}
.student-story-section:last-of-type .student-story-copy{max-width:740px}
@media(max-width:740px){.student-story-section:last-of-type{padding-top:24px}.student-story-section .snapshot{width:min(92%,350px)!important}}

/* Martha V2: approved heading, portrait crop/scale, and two photo increases. */
.student-story-section:nth-of-type(1) .snapshot{width:221.25px;max-width:100%}
.student-story-section:nth-of-type(1) .snapshot img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 25%}
/* 295px * 1.25 = 368.75px, with matching grid space (no overlap). */
.student-story-section:nth-of-type(2),.student-story-section:nth-of-type(3){grid-template-columns:minmax(0,1fr) 385px;gap:24px}
.student-story-section:nth-of-type(2) .snapshot,.student-story-section:nth-of-type(3) .snapshot{width:368.75px;max-width:calc(100% - 20px);box-sizing:border-box}
.student-story-section:nth-of-type(3){grid-template-columns:385px minmax(0,1fr)}
.student-story-section:nth-of-type(3) .snapshot{grid-column:1;grid-row:1}
.student-story-section:nth-of-type(3) .student-story-copy{grid-column:2;grid-row:1}
@media(max-width:740px){
 .student-story-section:nth-of-type(2),.student-story-section:nth-of-type(3){display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .student-story-section:nth-of-type(1) .snapshot{width:min(75%,221.25px)!important}
 .student-story-section:nth-of-type(2) .snapshot,.student-story-section:nth-of-type(3) .snapshot{width:min(92%,368.75px)!important;max-width:100%;align-self:center}
}

/* Martha V3: Looking ahead spans the entire content width. */
.student-story-section:last-of-type .student-story-copy{max-width:none;width:100%;}
