/* Student milestones, using the academy's existing navy and gold palette. */
.achievements-section { background: #faf8f2; padding: 88px 0 76px; scroll-margin-top: 95px; }
.achievements-section [hidden] { display: none !important; }
.achievement-heading { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: end; margin-bottom: 36px; }
.achievement-heading .eyebrow { color: #82601d; }
.achievement-heading h2 { margin-top: 13px; max-width: 650px; font: 400 clamp(36px,4.5vw,53px)/1.08 Georgia,serif; letter-spacing: -.035em; color: var(--navy); }
.achievement-heading > p { color: #566878; font-size: 16px; line-height: 1.75; }
.achievement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.achievement-card { min-width: 0; background: #fff; border: 1px solid #dedfdc; border-radius: 12px; overflow: hidden; }
.achievement-link { display: flex; height: 100%; flex-direction: column; }
.achievement-link:hover .achievement-action { color: #906821; text-decoration: underline; text-underline-offset: 4px; }
.achievement-link:focus-visible { outline: 3px solid #9b7221; outline-offset: -4px; border-radius: 12px; }
.achievement-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1.6; background: var(--navy); }
.achievement-photo img { position: absolute; width: 100%; max-width: none; height: auto; top: var(--photo-top, -44%); left: 0; }
.achievement-photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -20px 30px -24px #071a2c; pointer-events: none; }
.achievement-copy { display: flex; flex-direction: column; flex: 1; padding: 23px 25px 20px; }
.achievement-result { color: #82601d; font-size: 12px; font-weight: 800; letter-spacing: .025em; line-height: 1.55; }
.achievement-card h3 { margin-top: 9px; color: var(--navy); font: 400 25px/1.18 Georgia,serif; letter-spacing: -.02em; }
.achievement-event { margin-top: 13px; color: #374f62; font-size: 14px; line-height: 1.6; }
.achievement-detail { margin-top: 6px; color: #667581; font-size: 12px; line-height: 1.65; }
.achievement-action { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 22px; color: var(--navy); font-size: 13px; font-weight: 750; }
.achievement-action span:last-child { font-size: 17px; line-height: 1; }
.achievement-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }
.achievement-footer p { color: #667581; font-size: 13px; }
.achievement-footer .button { flex-shrink: 0; border-radius: 7px; }
.achievement-search-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 0 0 25px; }
.achievement-search-row label { display: grid; gap: 7px; width: min(430px,100%); font-size: 13px; color: #374f62; font-weight: 650; }
.achievement-search-row input { width: 100%; border: 1px solid #a4b0b9; background: #fff; border-radius: 7px; padding: 12px 14px; min-height: 46px; color: var(--navy); font: inherit; font-size: 16px; }
.achievement-search-row input:focus-visible { outline: 3px solid #e4b958; outline-offset: 2px; }
.achievement-search-row p { font-size: 13px; color: #667581; padding-bottom: 12px; white-space: nowrap; }
.achievement-empty { padding: 35px 0; }
.achievement-empty button { margin-top: 15px; }
.achievement-modal-open { overflow: hidden; }
.achievement-dialog { width: min(1120px,calc(100% - 48px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #536371; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 25px 100px #0006; }
.achievement-dialog::backdrop { background: rgba(3,12,20,.88); }
.poster-topbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 20px; background: var(--navy); border-bottom: 1px solid #ffffff25; }
.poster-topbar span { color: #b7c6d2; font-size: 12px; letter-spacing: .04em; }
.poster-controls { display: flex; gap: 10px; }
.achievement-dialog button { min-height: 42px; padding: 9px 15px; background: #17334a; color: #f4d88d; border: 1px solid #486071; border-radius: 6px; font-size: 13px; }
.achievement-dialog button:hover { background: #26465f; }
.achievement-dialog button:focus-visible { outline: 3px solid #f4d88d; outline-offset: 3px; }
.poster-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(250px,1fr); }
.poster-stage { padding: 18px; background: #030c14; }
.poster-stage img { width: 100%; height: calc(100dvh - 150px); max-height: 1000px; object-fit: contain; }
.poster-details { display: flex; flex-direction: column; padding: 32px 28px; }
.poster-details .eyebrow { color: #dfc88d; font-size: 10px; }
.poster-details h2 { margin-top: 15px; color: #fff; font: 400 32px/1.15 Georgia,serif; letter-spacing: -.025em; }
.poster-details [data-poster-result] { color: #f4d88d; font-size: 15px; margin-top: 20px; font-weight: 700; }
.poster-details [data-poster-event] { color: #d1dce5; margin-top: 12px; font-size: 15px; }
.poster-details [data-poster-detail] { color: #9fb1bf; margin-top: 10px; font-size: 13px; }
.poster-pagination { display: flex; gap: 10px; margin-top: 35px; }
.poster-position { color: #9fb1bf; margin-top: 13px; font-size: 12px; }
.poster-zoomed .poster-layout { display: block; }
.poster-zoomed .poster-stage img { height: auto; max-height: none; }
.poster-zoomed .poster-details { padding-top: 24px; }
@media (max-width: 1000px) {
 .achievement-heading { gap: 35px; }
 .achievement-grid { gap: 16px; }
 .achievement-copy { padding: 20px; }
 .achievement-card h3 { font-size: 23px; }
}
@media (max-width: 760px) {
 .achievements-section { padding: 58px 0; }
 .achievement-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
 .achievement-heading h2 { max-width: 450px; }
 .achievement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .achievement-footer { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
 .poster-layout { display: block; }
 .achievement-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
 .poster-stage { padding: 10px; }
 .poster-stage img { height: auto; max-height: none; }
 .poster-details { padding: 24px; }
 .poster-topbar { padding: 10px 12px; }
 .poster-topbar > span { display: none; }
 .poster-controls { width: 100%; justify-content: space-between; }
}
@media (max-width: 520px) {
 .achievement-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .achievement-search-row { align-items: stretch; flex-direction: column; gap: 10px; }
 .achievement-search-row p { padding: 0; }
 .achievement-copy { padding: 23px; }
 .achievement-card h3 { font-size: 27px; }
 .achievement-footer .button { width: 100%; }
}
