#founder .portrait-stage{padding-inline:10px}
#founder .founder-photo.original-founder{aspect-ratio:4/5;min-height:0;height:auto}
#founder .founder-photo.original-founder img{width:100%;height:100%;object-fit:cover;object-position:center}
#branches .branch-composition{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:90px;align-items:center}
#branches .branch-list{margin-top:32px;width:100%}
#branches .branch-copy h2{max-width:650px}
.branch-gallery{min-width:0}
.branch-gallery-frame{position:relative;aspect-ratio:3/4;background:#eef4f5;border-radius:28px;overflow:hidden;box-shadow:0 22px 55px #16384912}
.branch-gallery-frame .branch-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:0;transition:opacity 1s ease}
.branch-gallery-frame .branch-slide.is-active{opacity:1}
.branch-gallery-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}
.gallery-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#bdcfd4;cursor:pointer}
.gallery-dot[aria-pressed=true]{background:#245e70}
.gallery-pause{background:none;border:0;color:#245e70;font:inherit;font-size:13px;padding:6px 12px;cursor:pointer}
#team .coach-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#team .coach-grid .coach-card:nth-child(n){grid-column:auto;justify-self:stretch;width:100%;margin:0}
#team .coach-photo.original-coach{aspect-ratio:2/3;height:auto;min-height:0;overflow:hidden}
#team .coach-photo.original-coach img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block}
@media(max-width:900px){#branches .branch-composition{gap:36px;grid-template-columns:1fr 1fr}}
@media(max-width:700px){#branches .branch-composition{grid-template-columns:1fr;gap:36px}.branch-gallery{width:100%;max-width:520px;margin:auto}#team .coach-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:440px){#team .coach-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.branch-gallery-frame .branch-slide{transition:none}}
