:root {
    --outstanding-navy: #06245f;
    --outstanding-deep-navy: #04163f;
    --outstanding-gold: #d8ac2f;
    --outstanding-panel: #f3f3f3;
    --outstanding-border: #dedede;
}

.outstanding-page,
.outstanding-profile-page {
    color: #171717;
    background: #fff;
}

.outstanding-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--outstanding-deep-navy);
}

.outstanding-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.outstanding-hero__copy {
    display: none;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: min(660px, 48vw);
    padding: 22px 60px;
    transform: translate(-50%, -50%);
    color: #fff;
    background: linear-gradient(90deg, rgba(4, 24, 77, 0), rgba(4, 31, 94, .98) 18%, rgba(4, 31, 94, .98) 82%, rgba(4, 24, 77, 0));
    text-align: center;
}

.outstanding-hero__copy h1,
.outstanding-hero__copy p,
.outstanding-hero__copy span {
    position: relative;
    z-index: 1;
}

.outstanding-hero__copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 2.7vw, 2.8rem);
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.05;
}

.outstanding-hero__copy p {
    margin: 9px 0 1px;
    color: #f6b813;
    font-size: clamp(1rem, 1.7vw, 1.75rem);
    font-weight: 700;
    text-transform: uppercase;
}

.outstanding-hero__copy span {
    display: block;
    font-size: clamp(.72rem, 1.1vw, 1rem);
}

.outstanding-content-wrap {
    width: min(1340px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 90px;
}

.outstanding-program-tabs {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: min(820px, calc(100% - 24px));
    margin: -36px auto 64px;
}

.outstanding-program-tabs a {
    display: block;
    padding: 19px 24px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    color: #111;
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .18);
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.outstanding-program-tabs a:hover,
.outstanding-program-tabs a:focus,
.outstanding-program-tabs a.is-active {
    color: var(--outstanding-navy);
    background: #e5e5e5;
}

.outstanding-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 10px 54px;
}

.outstanding-filters__selects,
.outstanding-filters__search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.outstanding-filters select {
    min-width: 170px;
    height: 42px;
    padding: 0 36px 0 16px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--outstanding-navy);
    font-size: .9rem;
    text-transform: uppercase;
}

.outstanding-filters__search label {
    position: relative;
    margin: 0;
}

.outstanding-filters__search label i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #4c4c4c;
}

.outstanding-filters input[type="search"] {
    width: min(320px, 34vw);
    height: 42px;
    padding: 0 15px 0 42px;
    border: 1px solid #d9d9d9;
    border-radius: 7px;
    background: #fff;
}

.outstanding-filters button,
.outstanding-filters__search > a {
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    color: #222;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
    line-height: 40px;
}

.outstanding-result-group,
.outstanding-gallery {
    margin-bottom: 28px;
    padding: 26px 32px 34px;
    border: 1px solid var(--outstanding-border);
    border-radius: 40px;
    background: #fff;
}

.outstanding-result-group > h2,
.outstanding-gallery > h2 {
    margin: 0 0 24px;
    font-size: 1.25rem;
    font-weight: 800;
}

.outstanding-result-group__star {
    width: 29px;
    height: 27px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: -7px;
}

.outstanding-result-group > h2 span {
    font-weight: 700;
}

.outstanding-score-strip {
    position: relative;
    margin-top: 22px;
    padding: 20px 20px 26px;
    border-radius: 30px;
    background: var(--outstanding-panel);
}

.outstanding-score-strip h3 {
    margin: 0 0 20px;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
}

.outstanding-score-strip__viewport {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(185px, 1fr);
    gap: 24px;
    overflow-x: auto;
    padding: 3px 5px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.outstanding-student-card {
    min-width: 0;
    max-width: 230px;
    overflow: hidden;
    border: 1px solid #d3d3d3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 4px rgba(0, 0, 0, .18);
    scroll-snap-align: start;
}

.outstanding-student-card a {
    display: block;
    color: inherit;
}

.outstanding-student-card__portrait {
    position: relative;
    aspect-ratio: 1.08 / 1;
    overflow: hidden;
    background: #e9ebef;
}

.outstanding-student-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.outstanding-student-card__medal {
    position: absolute;
    z-index: 1;
    top: 13px;
    left: 13px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--outstanding-gold);
    font-size: 1.35rem;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}

.outstanding-student-card__medal img {
    width: 24px;
    height: 38px;
    object-fit: contain;
}

.outstanding-student-card__content {
    min-height: 105px;
    margin-top: -3px;
    padding: 8px 10px 10px;
    border-radius: 11px 11px 0 0;
    background: #fff;
    text-align: center;
}

.outstanding-student-card__content h4 {
    overflow: hidden;
    margin: 0;
    color: var(--outstanding-navy);
    font-size: .96rem;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.outstanding-student-card__content p {
    overflow: hidden;
    margin: 2px 0 5px;
    font-size: .78rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.outstanding-student-card__grade {
    display: table;
    margin: 0 auto 2px;
    padding: 2px 10px;
    border-radius: 4px;
    color: #fff;
    background: var(--outstanding-gold);
    font-size: .73rem;
    line-height: 1.2;
}

.outstanding-student-card__content small {
    display: block;
    font-size: .67rem;
}

.outstanding-score-strip__previous,
.outstanding-score-strip__next {
    position: absolute;
    top: 55%;
    right: -17px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #bfbfbf;
    border-radius: 50%;
    color: #555;
    background: #e7e7e7;
}

.outstanding-score-strip__previous {
    right: auto;
    left: -17px;
}

.outstanding-gallery {
    margin-top: 42px;
}

.outstanding-gallery > h2 i {
    margin-right: 10px;
    color: #484848;
}

.outstanding-gallery__strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding: 20px;
    border-radius: 28px;
    background: var(--outstanding-panel);
    scroll-snap-type: x proximity;
}

.outstanding-gallery__strip a {
    height: 145px;
    overflow: hidden;
    border-radius: 13px;
    scroll-snap-align: start;
}

.outstanding-gallery__strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.outstanding-empty {
    margin: 50px 0;
    padding: 70px 24px;
    border: 1px solid var(--outstanding-border);
    border-radius: 32px;
    text-align: center;
}

.outstanding-empty i {
    color: var(--outstanding-gold);
    font-size: 2.5rem;
}

.outstanding-profile-page {
    min-height: 720px;
    padding: 15px 0 10px;
    color: #fff;
    background: linear-gradient(90deg, #02113a 0%, #031953 100%);
}

.outstanding-profile-wrap {
    width: min(1080px, calc(100% - 20px));
    margin: 0 auto;
}

.outstanding-profile-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
    padding: 0 20px 12px;
    font-size: .96rem;
}

.outstanding-profile-header strong {
    color: var(--outstanding-gold);
    font-weight: 800;
}

.outstanding-profile-card {
    display: grid;
    grid-template-columns: minmax(0, 52.83fr) minmax(0, 47.17fr);
    min-height: 655px;
    overflow: hidden;
    border-radius: 23px;
    color: #111b35;
    background: #fff;
}

.outstanding-profile-card__photo {
    position: relative;
    min-height: 655px;
    overflow: hidden;
    background: #e9e9e9;
}

.outstanding-profile-card__photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.outstanding-profile-card__grade {
    position: absolute;
    z-index: 1;
    top: 45px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 143px;
    color: #b77b11;
}

.outstanding-profile-card__grade-image {
    display: block;
    width: 143px;
    height: 121px;
    object-fit: contain;
}

.outstanding-profile-card__grade-image--a {
    height: 130px;
    transform: translateY(-9px);
}

.outstanding-profile-card__grade-image--b-plus {
    transform: translateY(2px);
}

.outstanding-profile-card__wreath {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    height: 84px;
}

.outstanding-profile-card__wreath strong {
    position: relative;
    z-index: 2;
    color: #bd861c;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.65rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 0 #ffe3a1, 1px 2px 1px rgba(83, 47, 0, .35);
}

.outstanding-profile-card__branch {
    position: absolute;
    bottom: 1px;
    left: 12px;
    width: 36px;
    height: 75px;
    border-left: 3px solid #b77b11;
    border-radius: 50%;
    transform: rotate(-12deg);
    transform-origin: bottom center;
}

.outstanding-profile-card__branch--right {
    right: 12px;
    left: auto;
    transform: scaleX(-1) rotate(-12deg);
}

.outstanding-profile-card__branch i {
    position: absolute;
    width: 16px;
    height: 8px;
    border: 1px solid #d9a337;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, #f4cd66, #a96a08);
}

.outstanding-profile-card__branch i:nth-child(1) { bottom: 5px; left: -9px; transform: rotate(-38deg); }
.outstanding-profile-card__branch i:nth-child(2) { bottom: 17px; left: 2px; transform: rotate(35deg); }
.outstanding-profile-card__branch i:nth-child(3) { bottom: 29px; left: -10px; transform: rotate(-42deg); }
.outstanding-profile-card__branch i:nth-child(4) { bottom: 41px; left: 1px; transform: rotate(29deg); }
.outstanding-profile-card__branch i:nth-child(5) { bottom: 53px; left: -8px; transform: rotate(-48deg); }
.outstanding-profile-card__branch i:nth-child(6) { bottom: 64px; left: -1px; transform: rotate(18deg); }

.outstanding-profile-card__ribbon {
    position: relative;
    z-index: 3;
    width: 122px;
    margin-top: -8px;
    padding: 4px 20px 5px;
    clip-path: polygon(0 20%, 14% 20%, 14% 0, 86% 0, 86% 20%, 100% 20%, 91% 50%, 100% 80%, 86% 80%, 86% 100%, 14% 100%, 14% 80%, 0 80%, 9% 50%);
    color: #3d2805;
    background: linear-gradient(180deg, #f1cf71, #b77b11 70%, #8d5805);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .2em;
    line-height: 1.2;
    text-align: center;
}

.outstanding-profile-card__details {
    display: flex;
    min-width: 0;
    padding: 26px 61px 17px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.outstanding-profile-card__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.outstanding-profile-card__eyebrow {
    margin: 24px 0 2px;
    color: #dda64c;
    font-size: 1.2rem;
    font-weight: 800;
}

.outstanding-profile-card__details h1 {
    margin: 0;
    color: #092566;
    font-size: clamp(2rem, 3.4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.outstanding-profile-card__student-id {
    width: 170px;
    margin: 18px auto 30px;
    padding: 4px 15px;
    border-radius: 8px;
    color: #fff;
    background: #082c70;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
}

.outstanding-profile-facts {
    width: 100%;
    max-width: 345px;
    margin: 0;
    text-align: left;
}

.outstanding-profile-facts > div {
    display: grid;
    grid-template-columns: minmax(145px, .92fr) minmax(0, 1.08fr);
    gap: 8px;
    align-items: center;
    min-height: 43px;
    padding: 8px 0;
    border-bottom: 1px solid #d9d9d9;
}

.outstanding-profile-facts dt,
.outstanding-profile-facts dd {
    margin: 0;
    font-size: .89rem;
    line-height: 1.2;
}

.outstanding-profile-facts dt {
    display: flex;
    align-items: center;
    color: #082c70;
    font-weight: 700;
    white-space: nowrap;
}

.outstanding-profile-facts dt i {
    width: 30px;
    color: #082c70;
    font-size: 1.05rem;
}

.outstanding-profile-facts__icon {
    display: grid;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    flex: 0 0 22px;
    place-items: center;
}

.outstanding-profile-facts__icon img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.outstanding-profile-facts__icon--major {
    width: 21px;
    height: 15px;
}

.outstanding-profile-facts__icon--academic-year {
    width: 17px;
    height: 17px;
}

.outstanding-profile-facts__icon--degree {
    width: 19px;
    height: 14px;
}

.outstanding-profile-facts__icon--grade {
    width: 15px;
    height: 19px;
}

.outstanding-profile-facts__icon--score {
    width: 19px;
    height: 16px;
}

.outstanding-profile-facts dd {
    color: #111;
    font-weight: 700;
}

.outstanding-profile-card blockquote {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 5px;
    align-items: center;
    width: 100%;
    min-height: 101px;
    margin: 23px 0 0;
    padding: 9px 8px;
    border: 1px solid #d7ae4c;
    border-radius: 10px;
    color: #08245d;
    background: #faf9f5;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.25;
}

.outstanding-profile-card blockquote span {
    height: 38px;
    color: #d9a139;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.45rem;
    font-weight: 900;
    line-height: .9;
}

.outstanding-profile-card blockquote span:first-child {
    align-self: start;
}

.outstanding-profile-card blockquote span:last-child {
    align-self: end;
}

.outstanding-profile-card blockquote p {
    margin: 0;
}

@media (min-width: 1200px) {
    .outstanding-score-strip__viewport {
        grid-auto-columns: calc((100% - 96px) / 5);
    }
}

@media (max-width: 991px) {
    .outstanding-program-tabs {
        margin-top: -24px;
        margin-bottom: 45px;
    }

    .outstanding-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .outstanding-filters__search {
        width: 100%;
    }

    .outstanding-filters__search label,
    .outstanding-filters input[type="search"] {
        width: 100%;
    }

    .outstanding-profile-card {
        grid-template-columns: 1fr;
    }

    .outstanding-profile-card__photo {
        height: min(760px, 115vw);
        min-height: 0;
    }

    .outstanding-profile-card__details {
        padding-top: 34px;
        padding-bottom: 34px;
    }
}

@media (max-width: 767px) {
    .outstanding-hero {
        min-height: 205px;
    }

    .outstanding-hero img {
        position: absolute;
        top: 0;
        left: 50%;
        width: auto;
        max-width: none;
        height: 205px;
        transform: translateX(-50%);
    }

    .outstanding-hero__copy {
        width: min(92%, 470px);
        padding: 22px 24px;
    }

    .outstanding-hero__copy h1 {
        font-size: clamp(1.55rem, 7vw, 2.05rem);
    }

    .outstanding-hero__copy p {
        font-size: clamp(.95rem, 4.5vw, 1.25rem);
    }

    .outstanding-content-wrap {
        width: min(100% - 20px, 1340px);
    }

    .outstanding-program-tabs {
        gap: 8px;
        width: calc(100% - 12px);
        margin-top: -22px;
    }

    .outstanding-program-tabs a {
        padding: 14px 8px;
        border-radius: 8px;
        font-size: 1.2rem;
    }

    .outstanding-filters {
        margin: 0 4px 35px;
    }

    .outstanding-filters__selects,
    .outstanding-filters__search {
        flex-wrap: wrap;
    }

    .outstanding-filters__selects label {
        flex: 1 1 140px;
    }

    .outstanding-filters select {
        width: 100%;
        min-width: 0;
    }

    .outstanding-filters__search label {
        flex: 1 1 100%;
    }

    .outstanding-result-group,
    .outstanding-gallery {
        padding: 21px 12px 24px;
        border-radius: 24px;
    }

    .outstanding-result-group > h2,
    .outstanding-gallery > h2 {
        padding: 0 7px;
        font-size: 1.02rem;
    }

    .outstanding-score-strip {
        padding: 17px 10px 20px;
        border-radius: 20px;
    }

    .outstanding-score-strip__viewport {
        grid-auto-columns: minmax(175px, 72vw);
        gap: 13px;
    }

    .outstanding-student-card {
        max-width: none;
    }

    .outstanding-score-strip__previous,
    .outstanding-score-strip__next {
        display: none;
    }

    .outstanding-profile-page {
        min-height: 0;
        padding: 12px 0 16px;
    }

    .outstanding-profile-wrap {
        width: calc(100% - 12px);
    }

    .outstanding-profile-header {
        min-height: 34px;
        padding: 0 6px 10px;
        font-size: .78rem;
    }

    .outstanding-profile-card {
        border-radius: 18px;
    }

    .outstanding-profile-card__photo {
        height: min(650px, 126vw);
    }

    .outstanding-profile-card__grade {
        top: 22px;
        left: 12px;
        transform: scale(.82);
        transform-origin: top left;
    }

    .outstanding-profile-card__details {
        padding: 30px 20px 24px;
    }

    .outstanding-profile-card__logo {
        width: 90px;
        height: 90px;
    }

    .outstanding-profile-card__eyebrow {
        font-size: 1rem;
    }

    .outstanding-profile-card__details h1 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }

    .outstanding-profile-card__student-id {
        margin-bottom: 24px;
    }

    .outstanding-profile-facts > div {
        grid-template-columns: minmax(128px, .9fr) minmax(0, 1.1fr);
        gap: 5px;
    }

    .outstanding-profile-card blockquote {
        grid-template-columns: 30px minmax(0, 1fr) 30px;
        gap: 2px;
    }
}
