.social { background: var(--paper, #f3f3f1); overflow: hidden; }
.social-profile { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--red); font-size: 14px; font-weight: 600; }
.social .section-heading { margin-bottom: 36px; }
.social-track { --slide-width: min(65vw, 430px); display: flex; align-items: center; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px max(0px, calc((100% - var(--slide-width)) / 2)) 20px; }
.social-track::-webkit-scrollbar { display: none; }
.social-slide { position: relative; flex: 0 0 var(--slide-width); scroll-snap-align: center; border-radius: 16px; overflow: hidden; background: white; transform: scale(.92); opacity: .6; transition: transform .65s ease, opacity .65s ease; box-shadow: 0 12px 30px #32323212; }
.social-slide.is-active, .social-slide:focus-visible { transform: scale(1); opacity: 1; }
.social-slide img { display: block; width: 100%; height: auto; aspect-ratio: 735 / 913; object-fit: contain; }
.social-slide-link { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: var(--ink); color: white; font-size: 12px; font-weight: 500; }
.social-slide-link .icon { width: 18px; height: 18px; }
.social-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.social-controls button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #32323224; border-radius: 50%; background: white; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.social-controls button:hover { background: var(--red); color: white; }
.social-count { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.social a:focus-visible, .social button:focus-visible, .social-track:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
/* Fill the circular frame and keep the student centered. */
.closing-photo { align-self: center; justify-self: center; display: grid; place-items: center; width: 100%; max-width: 520px; height: auto; aspect-ratio: 1; border-radius: 50%; background: #f0f0ec; margin-block: 40px; overflow: hidden; }
.closing-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 48% center; border-radius: 0; }
.closing-orbit { display: none; }
@media (max-width:680px) {
  .social-track { --slide-width: 76vw; gap: 12px; margin-inline: -5vw; }
  .social-slide-link { font-size: 11px; gap: 8px; padding: 13px; }
  .closing-photo { max-width: 350px; margin-block: 30px 40px; }
}
