/* Sophia Academy real-photo references: no AI-generated collage or automated identity matching */
.sophia-stories{padding:72px 0 75px;background:linear-gradient(143deg,#0b2034 0%,#142e47 68%,#0e2033 100%);color:#fff;position:relative;overflow:hidden}
.sophia-stories:before{content:"";position:absolute;width:440px;height:440px;border:1px solid #c9a15d32;border-radius:50%;right:-160px;top:-235px;pointer-events:none}
.sophia-stories .stories-eyebrow{color:#e1bf79;letter-spacing:.21em;font-size:12px;font-weight:800;text-transform:uppercase;display:flex;align-items:center;gap:12px}
.sophia-stories .stories-eyebrow:before{content:"";width:36px;height:1px;background:#d7a855}
.sophia-stories .stories-heading{color:#fff;font:500 clamp(32px,4.2vw,59px)/1.08 Georgia,serif;margin:14px 0 10px}
.sophia-stories .stories-heading em{color:#e4b967;font-style:normal}
.sophia-stories .stories-lede{max-width:740px;color:#e7e9ea;font-size:16px;line-height:1.65;margin-bottom:34px}
.stories-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.story-person{min-width:0;background:linear-gradient(180deg,#f9f5ed,#fff);border:1px solid #d1b078;border-radius:20px;overflow:hidden;color:#10243a;box-shadow:0 13px 26px #06101c2d}
.story-image-frame{aspect-ratio:4/4.35;position:relative;background:#152d44;overflow:hidden}
.story-image-frame img{width:100%;height:100%;object-fit:cover;object-position:center 29%;display:block;transition:transform .35s ease}
.story-person:hover .story-image-frame img{transform:scale(1.027)}
.story-person.is-group .story-image-frame img{object-position:center 45%;object-fit:contain;background:#0f2438}
.story-person .story-label{padding:15px 16px 18px}
.story-person .story-label strong{font:600 19px/1.3 Georgia,serif;display:block}
.story-person .story-label span{color:#596a79;font-size:12px;display:block;margin-top:5px}
.story-person .story-label .story-year{display:inline-block;color:#815e29;font-weight:700;letter-spacing:.05em}
.story-person .story-placeholder{background:#142c43}
.story-illustration-tag{position:absolute;bottom:10px;left:10px;right:10px;color:#fff;background:#10243ad8;padding:7px 9px;border-radius:8px;font-size:11px;font-weight:700;text-align:center;letter-spacing:.05em}
.stories-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:30px}
.stories-actions p{max-width:550px;color:#e6e1d7;font:italic 16px Georgia,serif;margin:0}
.stories-action{display:inline-flex;align-items:center;gap:12px;border:1px solid #e6c17c;padding:14px 22px;background:#f5e8d1;color:#11243a!important;border-radius:12px;font-weight:700;text-decoration:none}
.stories-action:hover{background:#fff}
/* Standalone gallery */
.stories-directory-intro{background:#f8f4ed;padding:54px 0 28px}
.stories-directory-intro h1{font:500 clamp(38px,5vw,65px)/1.1 Georgia,serif;color:#10243a;margin:11px 0}
.stories-directory-intro p{max-width:760px;color:#485361;line-height:1.7}
.stories-gallery{padding:52px 0 80px;background:#faf8f3}
.stories-gallery-heading{font:500 clamp(27px,3vw,39px)/1.15 Georgia,serif;color:#10243a;margin:0 0 24px}
.stories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.stories-grid .story-person{box-shadow:0 6px 19px #11223712}
.stories-grid .story-image-frame{aspect-ratio:4/4.8}
.stories-gallery-group{margin-bottom:54px}
.stories-gallery-note{color:#647181;font-size:13px;line-height:1.6;max-width:780px}
.stories-year-label{color:#a27530;letter-spacing:.2em;text-transform:uppercase;font-size:12px;font-weight:800}
@media(max-width:1050px){.stories-featured-grid,.stories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sophia-stories{padding:52px 0}.stories-featured-grid,.stories-grid{gap:12px}.story-person{border-radius:13px}.story-person .story-label{padding:12px 11px 14px}.story-person .story-label strong{font-size:15px}.story-person .story-label span{font-size:11px}.sophia-stories .stories-lede{font-size:14px}.stories-action{width:100%;justify-content:center}.story-illustration-tag{font-size:9px;left:5px;right:5px}}
