.roster-intro { padding: 85px 0 65px; background: #edf2e9; border-bottom: 1px solid var(--line); }
.roster-intro h1 { margin: 18px 0 22px; color: var(--green-dark); font-size: clamp(42px, 6vw, 78px); line-height: 1.02; letter-spacing: -.055em; }
.roster-intro > div > p:last-of-type { max-width: 540px; color: var(--muted); font-size: 18px; }
.roster-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.roster-jump a { padding: 12px 20px; border: 1px solid #bac8b6; border-radius: 4px; color: var(--green-dark); font-weight: 700; }
.roster-jump a:hover { background: white; }
.roster-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; align-items: start; }
.roster-player { min-width: 0; overflow: hidden; background: white; border: 1px solid #dfe6db; border-radius: 5px; color: #163127; }
.roster-poster { background: #fff; }
.roster-poster img { display: block; width: 100%; height: auto; }
.roster-player-copy { position: relative; padding: 22px 24px 25px; }
.roster-player-copy.roster-card-action { padding: 0; }
.roster-card-action .roster-flip-open { margin: 0; padding: 16px 20px; text-align: center; }
.roster-player-copy h3 { margin: 7px 45px 12px 0; font-size: clamp(21px,2vw,27px); line-height: 1.15; letter-spacing: -.025em; }
.roster-meta { margin: 0; color: #52685c; font-size: 12px; font-weight: 700; }
.roster-number { position: absolute; right: 20px; top: 23px; color: #226440; font-size: 25px; font-weight: 800; }
.roster-story { display: inline-block; margin-top: 6px; color: #14653c; font-size: 13px; font-weight: 700; }
.roster-story:hover { text-decoration: underline; }
.roster-flip { perspective: 1400px; overflow: visible; background: transparent; border: 0; }
.roster-flip-inner { position: relative; transform-style: preserve-3d; transition: transform .65s ease; }
.roster-flip.is-flipped .roster-flip-inner { transform: rotateY(180deg); }
.roster-flip-front,.roster-flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid #dfe6db; border-radius: 5px; background: white; overflow: hidden; }
.roster-flip-front { position: relative; }
.roster-flip-back { display: none; position: absolute; inset: 0 0 auto; transform: rotateY(180deg); padding: 25px; background: linear-gradient(145deg, #fbfcf8 0%, #e6efdf 55%, #cbdcbe 100%); visibility: hidden; }
.roster-flip.is-flipped .roster-flip-front { display: none; position: absolute; inset: 0 0 auto; visibility: hidden; }
.roster-flip.is-flipped .roster-flip-back { display: block; position: relative; inset: auto; visibility: visible; }
.roster-flip-back > h3 { font-size: 28px; line-height: 1.1; margin: 12px 0 22px; color: #034832; }
.roster-flip-back .profile-facts { gap: 16px; margin-bottom: 20px; }
.roster-flip-bio h2 { font-size: 18px; margin-bottom: 12px; }
.roster-flip-bio p { color: #43534a; font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.player-career { margin: 0 0 24px; }
.player-career > div { padding: 13px 0; border-bottom: 1px solid #d5dfd0; }
.player-career dt { margin-bottom: 5px; color: #52685c; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.player-career dd { margin: 0; color: #163127; font-size: 14px; line-height: 1.65; }
.roster-flip-back .profile-stats { padding: 16px; }
.roster-flip-open { background: transparent; font: inherit; font-size: 13px; text-align: left; cursor: pointer; border: 0; border-top: 1px solid #dfe6db; }
.roster-flip-close { display: block; border: 1px solid #c5d2bf; padding: 9px 12px; border-radius: 4px; margin-bottom: 24px; background: white; color: #034832; cursor: pointer; font: inherit; font-size: 12px; }
.roster-flip button:focus-visible { outline: 3px solid #69a944; outline-offset: 3px; }
.roster-flip .roster-poster { cursor: pointer; }
@media(prefers-reduced-motion: reduce) { .roster-flip-inner { transition: none; } }
.roster-player { transition: transform .2s ease, box-shadow .2s ease; }
.roster-player:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #16312714; }
.roster-story { padding: 10px 0 2px; border-top: 1px solid #dfe6db; width: 100%; }
.player-profile { padding: 35px 0 65px; background: #f5f6f1; }
.profile-back { display: inline-block; color: #14653c; margin-bottom: 28px; font-size: 14px; font-weight: 700; }
.profile-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px,5vw,70px); align-items: start; }
.profile-photo { margin: 0; border: 1px solid #dfe6db; background: white; }
.profile-photo img { display: block; width: 100%; height: auto; }
.profile-content { padding: 8px 0; }
.profile-content h1 { margin: 8px 0 28px; color: #034832; font-size: clamp(36px,4.5vw,64px); line-height: 1.03; letter-spacing: -.04em; }
.profile-number { display: block; margin-top: 20px; color: #2b7643; font-size: 50px; font-weight: 800; line-height: 1; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 0 32px; padding: 20px 0; border-block: 1px solid #d5dfd0; }
.profile-facts dt,.profile-stats dt { color: #52685c; font-size: 12px; }
.profile-facts dd { margin: 5px 0 0; font-size: 16px; font-weight: 700; color: #163127; }
.profile-story h2 { font-size: 24px; margin: 0 0 15px; color: #034832; }
.profile-story p { margin: 0 0 16px; color: #43534a; line-height: 1.8; }
.profile-stats { margin: 28px 0; padding: 24px; background: #eaf0e5; border-radius: 4px; }
.profile-stats > p { font-size: 11px; line-height: 1.7; }
.profile-stats dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 20px 0 0; }
.profile-stats dd { margin: 5px 0 0; color: #034832; font-size: 32px; font-weight: 800; }
.profile-pagination { display: flex; justify-content: space-between; gap: 25px; margin-top: 50px; padding-top: 25px; border-top: 1px solid #d5dfd0; }
.profile-pagination a { color: #034832; }
.profile-pagination a:last-child { text-align: right; }
.profile-pagination span { display: block; font-size: 12px; margin-bottom: 7px; }
@media(max-width: 760px) { .profile-layout { grid-template-columns: 1fr; } .profile-photo { max-width: 480px; width: 100%; margin-inline: auto; } .profile-content h1 { font-size: 42px; } .profile-pagination strong { font-size: 14px; } }
@media(prefers-reduced-motion: reduce) { .roster-player { transition: none; } .roster-player:hover { transform: none; } }
.roster-staff { background: #edf2e9; }
.roster-coaches-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; max-width: 820px; }
.roster-preview-heading { margin-bottom: 35px; max-width: 650px; }
.roster-preview-heading > p:not(.section-label) { margin: 20px 0; color: #d2ded4; }
.roster-jump a:focus-visible,.roster-story:focus-visible { outline: 3px solid #69a944; outline-offset: 5px; }
@media(max-width: 850px) { .roster-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 16px; } .roster-preview-grid > article:last-child { display:none; } }
@media(max-width: 540px) { .roster-intro { padding: 50px 0 40px; } .roster-directory-grid,.roster-coaches-grid { grid-template-columns: 1fr; gap: 25px; } .roster-preview-grid > article:last-child { display:block; } .roster-player-copy { padding: 20px; } .roster-intro > div > p:last-of-type { font-size: 16px; } }
