.story .page-intro .story-title-v32{color:#BBDDF3}
.story .page-intro .story-title-v32 em{color:#D5A17E}
.story-title-v32 em{display:block}
.next-chapter .chapter-logo{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;object-fit:contain;background:none;border:0;border-radius:0}
.next-chapter .chapter-logo--dark{mix-blend-mode:screen}
.next-chapter .company-logo.chapter-logo--dark{filter:contrast(1.23)}
.next-chapter .show-logo-panel{width:min(100%,320px);max-width:none;padding:0;border:0;background:none;justify-self:start}
.next-chapter .show-logo-panel .chapter-logo{width:100%;clip-path:circle(49.7% at 50% 50%)}
.life-chapter,.story-feature,.personal-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(1.5rem,6vw,6rem);row-gap:1rem;align-items:start}
.life-chapter,.story-feature,.personal-feature{grid-template-areas:"photos heading" "photos copy"}
.photos-right,.personal-feature{grid-template-areas:"heading photos" "copy photos"}
.life-chapter{padding:clamp(2rem,5vw,5rem) 0;border-top:1px solid #ffffff22}
.life-heading,.existing-chapter-heading{grid-area:heading;align-self:end}
.life-heading h2,.existing-chapter-heading h2{margin:.45rem 0 0}
.life-copy,.story-prose,.personal-feature>div:not(.existing-chapter-heading){grid-area:copy;min-width:0;margin-top:0}
.life-photos,.story-feature>figure,.personal-feature>figure{grid-area:photos;align-self:center;min-width:0}
.life-photos{display:grid;gap:.75rem}
.photos-3,.photos-4{grid-template-columns:repeat(3,minmax(0,1fr))}
.photos-4 .photo-slot:first-child{grid-column:1/-1;aspect-ratio:2/1}
.photos-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-slot{display:grid;place-items:center;text-align:center;aspect-ratio:4/3;padding:.6rem;background:#111e30;border:1px dashed #667994;border-radius:5px;color:#c5d3e6;font-size:.85rem;overflow-wrap:anywhere}
.photos-3 .photo-slot,.photos-4 .photo-slot:not(:first-child){aspect-ratio:3/4}
.results-context{margin:0 0 1rem;max-width:55ch}
@media(max-width:800px){
  .life-chapter,.story-feature,.personal-feature{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "photos" "copy";gap:1.25rem}
  .life-heading,.existing-chapter-heading{align-self:auto}
  .photo-slot{font-size:.75rem}
}

.next-chapter .venture-company{grid-template-columns:minmax(0,320px) minmax(0,1fr)!important}
@media(max-width:800px){.next-chapter .venture-company{grid-template-columns:minmax(0,1fr)!important}}

.next-chapter .aligned-company{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%;padding-inline:0;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;margin-top:0;padding-block:65px}
.next-chapter .aligned-company .company-logo{margin-top:16px}
@media(max-width:800px){.next-chapter .aligned-company{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:45px}}

/* Version 3.3 */
.next-chapter #xx-properties .chapter-logo{width:min(100%,360px);aspect-ratio:auto;margin-inline:auto}
.graduate-gallery picture,.graduate-gallery img{display:block;width:100%}
.graduate-gallery img{height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:5px}
@media(max-width:420px){.graduate-gallery{grid-template-columns:1fr}}

/* Version 3.4 — family and service photographs */
.family-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.family-gallery .family-wedding{grid-column:1/-1;width:min(100%,380px);justify-self:center}
.family-gallery picture,.navy-gallery picture,.florida-gallery picture{display:block;min-width:0}
.family-gallery img,.navy-gallery img,.florida-gallery img{display:block;width:100%;height:auto;border-radius:5px}
.family-gallery picture:not(.family-wedding) img{aspect-ratio:3/4;object-fit:cover}
.family-gallery .family-ducks img{object-position:73% center}
.family-gallery .family-bow-tie img{object-position:53% center}
.navy-gallery,.florida-gallery{grid-template-columns:minmax(0,1fr)}
@media(max-width:360px){.family-gallery{grid-template-columns:minmax(0,1fr)}}

/* Navy gallery: proportional columns match the lower photo heights without cropping. */
.navy-gallery{grid-template-columns:minmax(0,0.710992fr) minmax(0,1.494396fr);align-items:center}
.navy-gallery .navy-handshake{grid-column:1/-1}
@media(min-width:801px){
 .navy-chapter{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
 .navy-chapter .life-copy{max-width:42ch}
}

/* Align logo artwork to one rail without shifting the copy columns. */
.next-chapter #xx-properties .chapter-logo{margin-inline:0}
@media(min-width:801px){
 .next-chapter #twenty-gen .chapter-logo{margin-inline-start:-36px}
 .navy-chapter{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
}
@media(min-width:801px) and (max-width:1100px){
 .next-chapter #twenty-gen .chapter-logo{margin-inline-start:-26px}
}
@media(max-width:800px){
 .next-chapter #twenty-gen .chapter-logo,.next-chapter #xx-properties .chapter-logo{margin-inline:auto}
 .next-chapter .show-logo-panel{justify-self:center}
}
