:root {
    --pi-ink: #0f172a;
    --pi-blue: #1d4ed8;
    --pi-sky: #eaf1ff;
    --pi-line: #e5eaf5;
    --pi-muted: #64748b;
    --pi-bg: #f8faff;
    --ink: #0f172a;
    --mut: #56627a;
    --bl: #1d4ed8;
    --sky: #eaf0ff;
    --bg: #f7f9ff;
    --ln: #dfe7fa
}

* {
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px
}

body {
    margin: 0;
    background: #fff;
    color: var(--pi-ink);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased
}

.intern-hero {
    position: relative;
    overflow: hidden;
    background: #f6f8ff;
    min-height: 580px;
    padding: calc(clamp(28px, 5vw, 64px) + 64px) max(6vw, 24px) 0
}

.hero-inner {
    max-width: 1200px;
    min-height: 470px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    position: relative;
    z-index: 1
}

.hero-copy {
    padding: 12px 0 45px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #50617f;
    font-size: 10px;
    letter-spacing: .17em;
    font-weight: 700
}

.eyebrow-dot {
    height: 8px;
    width: 8px;
    background: #5a8bff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #dce7ff
}

.hero-copy h1,
.section-heading h2 {
    font-family: Manrope, sans-serif;
    letter-spacing: -.055em
}

.hero-copy h1 {
    font-size: clamp(42px, 5.3vw, 68px);
    line-height: 1.06;
    margin: 24px 0 17px;
    font-weight: 800
}

.hero-copy h1 span {
    color: var(--pi-blue)
}

.hero-lede {
    color: #5c6980;
    font-size: 16px;
    line-height: 1.75;
    max-width: 465px;
    margin: 0
}

.hero-link {
    margin-top: 25px;
    display: inline-flex;
    gap: 11px;
    align-items: center;
    color: var(--pi-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px
}

.hero-link span {
    font-size: 18px;
    transition: transform .2s
}

.hero-link:hover span {
    transform: translateY(4px)
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 48px
}

.proof-avatars {
    display: flex;
    padding-left: 5px
}

.proof-avatars i {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    height: 30px;
    width: 30px;
    margin-left: -5px;
    border: 2px solid #f6f8ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #5277d8
}

.proof-avatars i:nth-child(2) {
    background: #29a18b
}

.proof-avatars i:nth-child(3) {
    background: #f2a65a
}

.hero-proof b,
.hero-proof small {
    display: block
}

.hero-proof b {
    font-size: 12px
}

.hero-proof small {
    color: #79869d;
    font-size: 11px;
    margin-top: 2px
}

.hero-art {
    position: relative;
    height: 430px;
    display: grid;
    place-items: center
}

.art-glow {
    position: absolute;
    width: 345px;
    height: 345px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #d9e7ff, #a8c4ff 65%, #84a9fa);
    opacity: .78
}

.portrait-stack {
    position: absolute;
    inset: 24px 15px 18px;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-portrait {
    position: absolute;
    width: 176px;
    height: 236px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 100px 100px 24px 24px;
    border: 8px solid rgba(255, 255, 255, .93);
    box-shadow: 0 24px 58px #274a8b30;
    transition: transform .45s
}

.hero-portrait:nth-child(1) {
    transform: translate(-115px, -5px) rotate(-10deg)
}

.hero-portrait:nth-child(2) {
    width: 190px;
    height: 258px;
    z-index: 2;
    transform: translateY(-24px)
}

.hero-portrait:nth-child(3) {
    transform: translate(115px, -4px) rotate(10deg)
}

.hero-portrait:nth-child(1):hover {
    transform: translate(-115px, -15px) rotate(-6deg)
}

.hero-portrait:nth-child(2):hover {
    transform: translateY(-34px)
}

.hero-portrait:nth-child(3):hover {
    transform: translate(115px, -14px) rotate(6deg)
}

.hero-initial {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dbeafe, #8bb0ff);
    font-size: 44px;
    font-weight: 800;
    color: #1d4ed8
}

.art-note {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    left: 7%;
    display: flex;
    align-items: center;
    gap: 11px;
    background: white;
    padding: 12px 17px;
    border-radius: 15px;
    box-shadow: 0 14px 35px #162a4b1a
}

.note-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2862d8;
    font-size: 18px
}

.art-note b,
.art-note small {
    display: block
}

.art-note b {
    font-size: 11px
}

.art-note small {
    font-size: 10px;
    color: #8290a6;
    margin-top: 3px
}

.art-caption {
    position: absolute;
    right: 1%;
    top: 58px;
    color: #8093b9;
    font-size: 9px;
    letter-spacing: .18em;
    font-weight: 700;
    writing-mode: vertical-rl
}

.hero-orb {
    position: absolute;
    border: 1px solid #dce6fb;
    border-radius: 50%;
    pointer-events: none
}

.orb-one {
    width: 500px;
    height: 500px;
    right: -155px;
    top: -290px
}

.orb-two {
    width: 340px;
    height: 340px;
    left: -245px;
    bottom: -245px
}

.hero-bottom-line {
    max-width: 1200px;
    margin: auto;
    border-top: 1px solid #e3e9f5;
    padding: 17px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #8b98ad;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em
}

.hero-bottom-line i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8eb0ff
}

.community-strip {
    max-width: 1200px;
    margin: auto;
    min-height: 102px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 58px;
    border-bottom: 1px solid #edf0f5
}

.community-strip div {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap
}

.community-strip strong {
    font-family: Manrope, sans-serif;
    color: #3e71df;
    font-size: 12px
}

.community-strip div span {
    font-size: 12px;
    color: #526177;
    font-weight: 600
}

.community-strip p {
    margin-left: auto;
    color: #9aa5b7;
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-style: italic
}

.directory {
    max-width: 1200px;
    margin: auto;
    padding: 86px 24px 92px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px
}

.blue-eyebrow {
    color: #5573ad
}

.blue-eyebrow .eyebrow-dot {
    background: #3568df;
    box-shadow: 0 0 0 4px #e4edff
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
    margin: 17px 0 10px
}

.section-heading h2 span {
    color: #5a78bb
}

.section-heading p {
    color: #758198;
    font-size: 14px;
    margin: 0
}

.directory-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 0 0 4px;
    color: #8591a5
}

.directory-count b {
    color: #1d4ed8;
    font: 800 24px Manrope, sans-serif
}

.directory-count span {
    font-size: 12px
}

.directory-tools {
    margin-top: 36px;
    padding: 16px 0;
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px
}

.search-box {
    width: min(100%, 365px);
    height: 44px;
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: #fff;
    transition: border .2s, box-shadow .2s
}

.search-box:focus-within {
    border-color: #8eafff;
    box-shadow: 0 0 0 3px #e7efff
}

.search-box svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #8290a7;
    stroke-width: 1.8
}

.search-box input {
    border: 0;
    outline: 0;
    min-width: 0;
    flex: 1;
    font: 13px "DM Sans", sans-serif;
    color: #1e293b
}

.search-box input::placeholder {
    color: #a0aabc
}

.search-box kbd {
    font: 10px "DM Sans", sans-serif;
    padding: 3px 6px;
    background: #f3f5f9;
    border: 1px solid #e5e9f0;
    border-radius: 5px;
    color: #9aa5b5
}

.filter-label {
    font-size: 12px;
    color: #718098;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px
}

.filter-dot {
    width: 7px;
    height: 7px;
    background: #4d7de4;
    border-radius: 50%
}

.intern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 23px;
    margin-top: 29px
}

.intern-card {
    overflow: hidden;
    border: 1px solid #edf0f5;
    border-radius: 17px;
    background: white;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    animation: card-in .22s ease-out both
}

.intern-card:hover {
    transform: translateY(-5px);
    border-color: #dbe5f8;
    box-shadow: 0 18px 40px #24395c12
}

.card-photo {
    height: 230px;
    background: linear-gradient(135deg, #eaf1ff, #d8e5ff);
    overflow: hidden;
    position: relative
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .55s
}

.intern-card:hover .card-photo img {
    transform: scale(1.04)
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #3567ca;
    font: 700 50px Manrope, sans-serif;
    background: radial-gradient(circle at 30% 20%, #f5f8ff, #c3d7ff)
}

.card-index {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffffdf;
    backdrop-filter: blur(6px);
    color: #51627f;
    border-radius: 8px;
    padding: 5px 8px;
    font: 700 9px Manrope, sans-serif;
    letter-spacing: .06em
}

.card-content {
    padding: 17px 16px 18px
}

.card-content h3 {
    font: 700 15px Manrope, sans-serif;
    letter-spacing: -.02em;
    margin: 0;
    color: #18253d
}

.loi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 8px;
    background: #eef4ff;
    border-radius: 30px;
    color: #3462ba;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em
}

.loi-badge:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4d80e7
}

.card-content p {
    margin: 11px 0 0;
    color: #8792a5;
    font-size: 10px;
    line-height: 1.55
}

.load-sentinel {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #9aa5b7;
    font-size: 11px
}

.load-sentinel[hidden] {
    display: none !important
}

.loader {
    width: 15px;
    height: 15px;
    border: 2px solid #dbe6fa;
    border-top-color: #4f7fe2;
    border-radius: 50%;
    animation: spin .75s linear infinite
}

.end-message {
    text-align: center;
    color: #93a0b1;
    font-size: 12px;
    padding: 25px 0
}

.empty-state {
    text-align: center;
    padding: 55px 0
}

.empty-state>span {
    font-size: 30px;
    color: #6d8fd5
}

.empty-state h3 {
    font: 700 18px Manrope, sans-serif;
    margin: 9px
}

.empty-state p {
    color: #8792a5;
    font-size: 13px
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(9px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* ─── FINAL CTA + FOOTER ─── */
#final {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 48px 48px 0 0;
    color: #fff;
    padding: clamp(64px, 8vw, 92px) 20px 40px;
    background: radial-gradient(55% 50% at 15% 10%, rgba(59, 130, 246, 0.38), transparent 62%), radial-gradient(50% 55% at 88% 22%, rgba(139, 92, 246, 0.32), transparent 62%), radial-gradient(60% 50% at 55% 105%, rgba(34, 211, 238, 0.22), transparent 65%), linear-gradient(180deg, #070d26 0%, #060b22 55%, #0a1236 100%);
    margin-top: clamp(60px, 8vw, 100px)
}

#final::before,
#final::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    width: 36vw;
    height: 36vw;
    pointer-events: none;
    animation: driftOrb 16s ease-in-out infinite alternate
}

#final::before {
    background: rgba(59, 130, 246, 0.25);
    top: -10vw;
    left: -10vw
}

#final::after {
    background: rgba(139, 92, 246, 0.25);
    bottom: -10vw;
    right: -10vw;
    animation-delay: -8s
}

@keyframes driftOrb {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(10vw, 5vw) scale(1.15)
    }
}

.fin-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.07;
    z-index: -1;
    pointer-events: none;
    -webkit-mask: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask: radial-gradient(ellipse at center, #000 30%, transparent 75%)
}

.fin-rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle, transparent 219px, rgba(255, 255, 255, .07) 220px, transparent 221px), radial-gradient(circle, transparent 359px, rgba(255, 255, 255, .07) 360px, transparent 361px), radial-gradient(circle, transparent 499px, rgba(255, 255, 255, .07) 500px, transparent 501px);
    -webkit-mask: radial-gradient(circle at center, #000 20%, transparent 60%);
    mask: radial-gradient(circle at center, #000 20%, transparent 60%)
}

.fin-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    width: 100%;
    padding: 12px 20px 42px;
    text-align: center
}

#final h2 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff
}

.fin-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px
}

.fin-chip {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff
}

#final .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    background: #fff;
    color: #1d4ed8;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 18px 50px rgba(59, 130, 246, .45);
    transition: transform .2s, box-shadow .2s
}

#final .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
    transform: translateX(-130%);
    animation: btnShine 3.6s ease-in-out infinite
}

@keyframes btnShine {

    55%,
    100% {
        transform: translateX(130%)
    }
}

#final .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), 0 22px 60px rgba(59, 130, 246, .55)
}

footer {
    width: min(1250px, calc(100% - 32px));
    margin: auto auto 12px;
    position: relative;
    z-index: 2
}

.ftr-inner {
    border-radius: 32px;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 20px 60px rgba(2, 6, 24, 0.5);
    color: rgba(255, 255, 255, 0.92)
}

@supports not (backdrop-filter:blur(18px)) {
    .ftr-inner {
        background: rgba(16, 24, 64, 0.85)
    }
}

.ftr-top {
    display: flex;
    justify-content: space-between;
    gap: 40px
}

.ftr-brand {
    flex: 1;
    max-width: 340px
}

.ftr-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 12px 24px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.ftr-logo img {
    display: block;
    width: 140px;
    max-width: 100%;
    height: auto;
    filter: none
}

.ftr-desc {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0;
    color: rgba(255, 255, 255, 0.85)
}

.ftr-cols {
    display: flex;
    gap: 60px
}

.ftr-col {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.ftr-col strong {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 4px;
    color: #fff
}

.ftr-col a,
.ftr-out-links a,
.ftr-social a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none
}

.ftr-col a {
    font-size: 14px
}

.ftr-col a:hover,
.ftr-out-links a:hover,
.ftr-social a:hover {
    color: #fff;
    text-decoration: underline
}

.ftr-col a[aria-current="page"],
.ftr-out-links a[aria-current="page"] {
    color: #fff;
    font-weight: 500;
    text-decoration: none
}

.ftr-col a:focus-visible,
.ftr-out-links a:focus-visible,
.ftr-social a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 4px
}

.ftr-bot-out {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92)
}

.ftr-out-links,
.ftr-social {
    display: flex;
    gap: 24px
}

.ftr-social {
    gap: 20px;
    align-items: center
}

.ftr-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.ftr-social a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: fill 0.3s, transform 0.3s
}

.ftr-social a:hover svg {
    transform: scale(1.15)
}

.ftr-social a.in-link:hover svg {
    fill: #0a66c2
}

.ftr-social a.x-link:hover svg {
    fill: #ffffff
}

.ftr-social a.fb-link:hover svg {
    fill: #1877f2
}

.ftr-social a.ig-link:hover svg {
    fill: #E1306C
}

.rv {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--d, 0s)
}

.rv.in {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1100px) {
    .intern-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .hero-inner {
        gap: 22px
    }

    .community-strip {
        gap: 30px
    }
}

@media(max-width:900px) {
    #final {
        padding-bottom: 24px
    }

    .ftr-inner {
        padding: 32px 24px
    }

    .ftr-top {
        flex-direction: column;
        gap: 32px
    }

    .ftr-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }

    .ftr-col a {
        padding: 10px 0
    }

    .ftr-bot-out {
        flex-direction: column;
        gap: 16px;
        padding: 16px 12px 0;
        text-align: center
    }

    .ftr-out-links {
        justify-content: center
    }
}

@media(max-width:760px) {
    .intern-hero {
        padding: 88px 22px 0;
        min-height: auto
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0
    }

    .hero-copy {
        padding: 10px 0 8px
    }

    .hero-copy h1 {
        font-size: clamp(40px, 11vw, 58px)
    }

    .hero-lede {
        font-size: 14px
    }

    .hero-proof {
        margin-top: 27px
    }

    .hero-art {
        height: 350px;
        margin-top: 2px
    }

    .art-glow {
        width: 270px;
        height: 270px
    }

    .hero-portrait {
        width: 130px;
        height: 180px;
        border-width: 6px
    }

    .hero-portrait:nth-child(1) {
        transform: translate(-88px, -1px) rotate(-10deg)
    }

    .hero-portrait:nth-child(2) {
        width: 148px;
        height: 202px;
        transform: translateY(-18px)
    }

    .hero-portrait:nth-child(3) {
        transform: translate(88px, -1px) rotate(10deg)
    }

    .hero-portrait:nth-child(1):hover {
        transform: translate(-88px, -10px) rotate(-6deg)
    }

    .hero-portrait:nth-child(2):hover {
        transform: translateY(-26px)
    }

    .hero-portrait:nth-child(3):hover {
        transform: translate(88px, -10px) rotate(6deg)
    }

    .art-note {
        left: 2%;
        bottom: 16px
    }

    .art-caption {
        right: 0;
        top: 35px
    }

    .hero-bottom-line {
        gap: 10px;
        font-size: 7px;
        letter-spacing: .1em
    }

    .community-strip {
        padding: 18px 22px;
        gap: 14px;
        flex-wrap: wrap
    }

    .community-strip div {
        gap: 5px
    }

    .community-strip div span {
        font-size: 10px
    }

    .community-strip p {
        display: none
    }

    .directory {
        padding: 62px 20px
    }

    .section-heading h2 {
        font-size: 34px
    }

    .directory-count {
        align-self: flex-start;
        margin-top: 22px
    }

    .directory-tools {
        margin-top: 25px
    }

    .intern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 20px
    }

    .card-photo {
        height: 210px
    }

    .card-content {
        padding: 13px 12px 15px
    }

    .card-content h3 {
        font-size: 13px
    }

    .card-content p {
        font-size: 9px
    }

    .search-box {
        width: 100%
    }

    .filter-label {
        display: none
    }
}

@media(max-width:390px) {
    .intern-grid {
        gap: 9px
    }

    .card-photo {
        height: 175px
    }

    .hero-bottom-line {
        gap: 7px;
        font-size: 6px
    }

    .section-heading p {
        max-width: 220px
    }

    .directory-count {
        gap: 3px
    }

    .directory-count b {
        font-size: 20px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.profile-tags .loi-badge {
    margin-top: 10px
}

.role-tag,
.duration-tag {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 30px;
    background: #f5f7fb;
    color: #52627d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .01em
}

.role-tag {
    background: #edf7f5;
    color: #24776e
}


.data-note {
    margin: 22px 0 0;
    color: #9aa5b5;
    font-size: 10px;
    line-height: 1.5;
    text-align: center
}

/* View switch (Photo cards vs Table) */
.directory-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    background: #f8faff;
    flex-shrink: 0;
}

.view-option {
    border: 0;
    border-radius: 9px;
    padding: 8px 14px;
    background: transparent;
    color: #718098;
    font: 600 13px "DM Sans", sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, color .2s, box-shadow .2s;
    line-height: 1;
}

.view-option svg {
    display: inline-block;
    flex-shrink: 0;
}

.view-option:hover {
    color: #1d4ed8;
}

.view-option.is-active {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(24, 53, 104, 0.08);
}

.view-option:focus-visible {
    outline: 3px solid #c8d8ff;
    outline-offset: 2px;
}

/* Student Table View */
.student-table-wrap {
    margin-top: 29px;
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 32px rgba(36, 57, 92, 0.04);
}

.student-table-wrap[hidden] {
    display: none !important;
}

.student-table-scroll {
    overflow-x: auto;
}

.student-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 620px;
}

.student-table thead {
    background: #f5f8ff;
}

.student-table th {
    padding: 15px 20px;
    color: #60708e;
    font: 700 11px Manrope, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid #e6ebf4;
}

.student-table td {
    padding: 14px 20px;
    color: #66738a;
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid #eef1f6;
}

.student-table tbody tr {
    transition: background .16s;
}

.student-table tbody tr:hover {
    background: #f8faff;
}

.student-table tbody tr:last-child td {
    border-bottom: 0;
}

.student-table .student-name {
    font-weight: 700;
    color: #18253d;
}

.student-table th:last-child,
.student-table td:last-child {
    white-space: nowrap;
    width: 220px;
}

.domain-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 12px;
    border-radius: 30px;
    background: #edf3ff;
    color: #3b65b5;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.student-table .table-status {
    text-align: center;
    padding: 36px 20px;
    color: #8792a5;
    font-size: 14px;
}

@media (max-width: 760px) {
    .directory-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .directory-switch {
        align-self: flex-start;
    }

    .student-table-wrap {
        margin-top: 20px;
    }

    .student-table th,
    .student-table td {
        padding: 12px 14px;
    }
}

/* Candidate directory refresh: consistent portrait framing and compact cards */
.intern-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px)
}

.intern-card {
    display: flex;
    flex-direction: column;
    border-color: #e4eaf4;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(25, 48, 89, .045)
}

.intern-card:hover {
    transform: translateY(-6px);
    border-color: #cbd9f4;
    box-shadow: 0 20px 42px rgba(25, 48, 89, .12)
}

.card-photo {
    height: auto;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #edf3ff, #dce7fb)
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%
}

.photo-placeholder {
    min-height: 100%
}

.card-index {
    top: 14px;
    left: 14px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px
}

.card-content {
    flex: 1;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 17px 18px 19px
}

.card-content h3 {
    min-height: 2.5em;
    display: flex;
    align-items: center;
    font-size: clamp(14px, 1.12vw, 16px);
    line-height: 1.3
}

.card-role {
    margin: 0;
    color: #3563b7;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700
}

@media (max-width: 1100px) {
    .intern-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (max-width: 760px) {
    .intern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .card-content {
        min-height: 96px;
        padding: 13px 13px 15px
    }

    .card-content h3 {
        font-size: 13px
    }

    .card-role {
        font-size: 11px
    }
}

@media (max-width: 390px) {
    .intern-grid {
        gap: 10px
    }

    .card-content {
        padding-inline: 11px
    }
}



/* Rich profile details and subtle portrait motion */
.intern-card {
    overflow: hidden;
}

.card-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.card-photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(118deg, transparent 34%, rgba(255, 255, 255, .5) 49%, transparent 64%);
    transform: translateX(-135%);
    transition: transform .8s cubic-bezier(.2, .7, .2, 1)
}

.card-photo::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 45% 0 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(13, 35, 72, .16));
    opacity: .55;
    transition: opacity .35s ease
}

.card-photo img {
    transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.intern-card:hover .card-photo img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.02);
}

.intern-card:hover .card-photo::before {
    transform: translateX(135%);
}

.intern-card:hover .card-photo::after {
    opacity: .9;
}

.card-content {
    min-height: 196px;
    align-items: flex-start;
    gap: 9px;
}

.card-content h3 {
    width: 100%;
    min-height: 2.5em;
}

.card-role {
    margin: 0;
    color: #315fb1;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 750;
}

.card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-fact {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border: 1px solid #e5ebf5;
    border-radius: 999px;
    background: #f7f9fd;
    color: #50617b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25
}

.card-fact.is-remote {
    border-color: #d7efe3;
    background: #effaf4;
    color: #18764a;
}

.card-fact.is-onsite {
    border-color: #e4e8f0;
    background: #f4f6fa;
    color: #596579;
}

.card-summary {
    margin: 1px 0 0;
    color: #69778d;
    font-size: 11px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .card-content {
        min-height: 188px;
        gap: 7px;
    }

    .card-summary {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .card-photo::before,
    .card-photo::after,
    .card-photo img {
        transition: none;
    }
}



/* Card details: role, duration and work mode stay on one row. */
.card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-content h3 {
    font-size: 17px;
    line-height: 1.3;
}

.card-facts.card-details-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
    margin-top: 0;
}

.card-details-line .card-role {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    padding: 5px 8px;
    border: 1px solid #dce7fb;
    border-radius: 999px;
    background: #f1f5ff;
    color: #315fc2;
    font-size: 10.5px;
    line-height: 1.25;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-details-line .card-fact {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.card-summary {
    font-size: 11px;
    line-height: 1.55;
}

@media(max-width:760px) {
    .intern-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
    }

    .intern-card {
        display: grid;
        grid-template-columns: minmax(112px, .72fr) minmax(0, 1.28fr);
        align-items: stretch;
    }

    .card-photo {
        height: 100%;
        min-height: 190px;
    }

    .card-content {
        min-height: 190px;
        padding: 15px;
        gap: 9px;
    }

    .card-content h3 {
        font-size: 16px;
    }

    .card-details-line {
        gap: 5px;
    }

    .card-details-line .card-role {
        padding: 5px 7px;
        font-size: 10px;
    }

    .card-details-line .card-fact {
        min-height: 27px;
        padding: 5px 7px;
        font-size: 9px;
    }

    .card-summary {
        font-size: 10px;
    }
}

@media(max-width:390px) {
    .card-photo {
        min-height: 178px;
    }

    .card-content {
        padding: 12px;
    }

    .card-content h3 {
        font-size: 15px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .intern-card,
    .card-photo img {
        animation: none !important;
        transition: none !important;
    }
}


/* Alumni cards: clearer copy and crisp, blurless portrait motion. */
.card-content {
    gap: 10px;
}

.card-content h3 {
    font-size: 17px;
    line-height: 1.3;
}

.card-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 1px 0 0;
    color: #62728a;
    font-size: 12px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-photo {
    position: relative;
    isolation: isolate;
}

.card-photo::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, .38) 49%, transparent 62%);
    transform: translateX(-145%);
    transition: transform .75s cubic-bezier(.2, .7, .2, 1);
}

.card-photo::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    inset: 58% 0 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(15, 35, 68, .14));
}

.card-photo img {
    position: relative;
    z-index: 0;
    filter: none !important;
    -webkit-filter: none !important;
    transform: scale(1);
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.intern-card:hover .card-photo img {
    filter: none !important;
    -webkit-filter: none !important;
    transform: scale(1.045);
}

.intern-card:hover .card-photo::before {
    transform: translateX(145%);
}

.intern-card:hover .card-photo::after {
    opacity: 1;
}

@media(max-width:760px) {
    .card-content {
        gap: 8px;
    }

    .card-content h3 {
        font-size: 16px;
    }

    .card-summary {
        font-size: 11.5px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }
}

@media(prefers-reduced-motion:reduce) {

    .card-photo::before,
    .card-photo img {
        transition: none !important;
    }
}

/* Small card sizing adjustment and more readable profile summaries. */
.card-photo {
    aspect-ratio: .88;
}

.card-content {
    min-height: 178px;
    padding: 15px 16px;
    gap: 8px;
}

.card-content h3 {
    font-size: 17px;
}

.card-summary {
    font-size: 12.5px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
}

@media(max-width:760px) {
    .card-photo {
        aspect-ratio: auto;
        height: auto;
        min-height: 170px;
    }

    .card-content {
        min-height: 176px;
        padding: 14px 15px;
        gap: 8px;
    }

    .card-summary {
        font-size: 12px;
        line-height: 1.55;
    }
}

@media(max-width:390px) {
    .card-photo {
        min-height: 164px;
    }

    .card-content {
        min-height: 170px;
        padding: 12px;
    }

    .card-content h3 {
        font-size: 15px;
    }

    .card-summary {
        font-size: 11.5px;
    }
}

/* Compact, consistent card bodies across the entire grid. */
.intern-grid {
    align-items: stretch;
}

/* Executive Intern Card Design & Typography */
.intern-grid {
    align-items: stretch;
}

.intern-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.intern-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

.card-photo {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 0.9;
    background: radial-gradient(circle at 50% 25%, #f8fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    position: relative;
}

.card-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.intern-card:hover .card-photo img:not(.photo-fit-contain) {
    transform: scale(1.035);
}

.card-content {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 108px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 16px 14px 18px;
    background: #ffffff;
}

.card-content h3 {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.35;
    color: #0f172a;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 24px;
    transition: color 0.2s ease;
}

.intern-card:hover .card-content h3 {
    color: #1d4ed8;
}

.card-facts.card-details-line,
.card-details-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    height: auto;
    min-height: 26px;
    margin: 0;
}

.card-details-line .card-role {
    display: inline-flex;
    align-items: center;
    gap: 5.5px;
    padding: 4.5px 10.5px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: #1d4ed8;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 155px;
    flex: 0 1 auto;
    transition: background 0.2s, border-color 0.2s;
}

.card-details-line .card-role .role-dot {
    width: 5.5px;
    height: 5.5px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    flex-shrink: 0;
}

.card-details-line .card-role .role-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-details-line .card-fact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4.5px 9px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 24px;
    transition: border-color 0.2s;
}

.card-details-line .card-fact .fact-ic {
    width: 11px;
    height: 11px;
    color: #64748b;
    flex-shrink: 0;
}

.intern-card:hover .card-details-line .card-role {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.intern-card:hover .card-details-line .card-fact {
    border-color: #cbd5e1;
}

.card-summary {
    display: none;
}

@media(max-width:760px) {
    .intern-card {
        height: 124px;
        min-height: 124px;
        display: grid;
        grid-template-columns: minmax(112px, .72fr) minmax(0, 1.28fr);
    }

    .card-photo {
        height: 124px;
        min-height: 0;
        flex: initial;
    }

    .card-content {
        height: 124px;
        min-height: 124px;
        flex: initial;
        grid-template-rows: 40px 28px;
        gap: 6px;
        padding: 12px 14px;
        justify-content: center;
    }

    .card-content h3 {
        height: 40px;
    }

    .card-summary {
        display: none;
    }
}

@media(max-width:390px) {

    .intern-card,
    .card-photo,
    .card-content {
        height: 116px;
        min-height: 116px;
    }

    .card-content {
        grid-template-rows: 38px 27px;
        padding: 9px 10px;
    }

    .card-content h3 {
        height: 38px;
    }

    .card-details-line {
        height: 27px;
        min-height: 27px;
    }
}


/* Consistent portrait framing across the complete intern directory. */
.card-photo {
    aspect-ratio: .88;
    height: auto;
    overflow: hidden;
    background: linear-gradient(145deg, #edf3ff, #dce7fb);
}

.card-photo img:not(.photo-fit-contain) {
    object-fit: cover;
    object-position: center 22% !important;
}

.card-photo img.photo-fit-contain {
    object-fit: contain;
    object-position: center center !important;
    transform: none !important;
    background: transparent;
}

.intern-card:hover .card-photo img:not(.photo-fit-contain) {
    transform: scale(1.015);
}

.intern-card:hover .card-photo img.photo-fit-contain {
    transform: none !important;
}

@media (max-width: 760px) {
    .intern-card .card-photo {
        aspect-ratio: auto;
    }
}

/* Mobile and tablet layout hardening */
@media (max-width: 960px) {
    .intern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-inner {
        padding-inline: 22px;
    }

    .gl-roll-wrap {
        padding-inline: 20px;
    }
}

@media (max-width: 760px) {

    .gl.hero-intern,
    .intern-hero {
        padding-right: 16px;
        padding-left: 16px;
    }

    .intern-hero {
        overflow: clip;
    }

    .hero-inner {
        width: 100%;
        padding: 0;
        gap: 6px;
    }

    .hero-copy {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 8px 0 12px;
    }

    .hero-eyebrow {
        max-width: 100%;
        justify-content: center;
        padding: 7px 11px;
        font-size: 9px;
        letter-spacing: .08em;
    }

    .hero-title {
        width: 100%;
        font-size: clamp(33px, 9.1vw, 44px) !important;
        line-height: 1.12 !important;
    }

    .hero-lede {
        max-width: 540px !important;
        width: 100%;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .hero-actions {
        width: 100%;
        max-width: 420px;
        margin-bottom: 23px;
    }

    .hero-proof-badge {
        max-width: 100%;
        width: fit-content;
        padding: 8px 12px 8px 9px;
        gap: 10px;
    }

    .hero-proof-badge .proof-img,
    .hero-proof-badge .proof-plus {
        width: 30px;
        height: 30px;
    }

    .proof-rating .rating-val {
        font-size: 10px;
        letter-spacing: .01em;
    }

    .proof-caption {
        font-size: 10px;
    }

    .hero-globe-col {
        width: 100%;
        max-width: 480px;
    }

    .gl-gw {
        width: min(100%, 410px);
    }

    .gl-stat-badge {
        right: 1%;
        top: 1%;
        max-width: 160px;
        padding: 8px 10px;
    }

    .gl-stat-label {
        font-size: 8px;
        letter-spacing: .09em;
    }

    .gl-card {
        left: 50%;
        bottom: -25px;
        width: min(84%, 320px);
        transform: translateX(-50%);
    }

    .gl-roll-wrap {
        width: 100%;
        margin-top: 25px;
        padding-inline: 0;
    }

    .gl-roll {
        padding: 17px 14px;
        border-radius: 18px;
    }

    .gl-roll-header {
        align-items: stretch;
        gap: 12px;
    }

    .gl-roll-title-group {
        min-width: 0;
        width: 100%;
    }

    .gl-roll-title-group h3 {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 18px;
        line-height: 1.3;
    }

    .gl-roll-sub {
        font-size: 11px;
        line-height: 1.5;
    }

    .gl-search-bar {
        width: 100%;
    }

    .gl-list {
        max-height: 220px;
        gap: 7px;
    }

    .gl-pill {
        padding: 6px 10px;
        font-size: 11px;
    }

    .hero-bottom-line {
        flex-wrap: wrap;
        padding: 14px 2px;
        line-height: 1.6;
    }

    .directory {
        padding: 50px 16px 64px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: clamp(29px, 7.5vw, 36px);
    }

    .section-heading p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.55;
    }

    .directory-tools {
        width: 100%;
        align-items: stretch;
        gap: 12px;
    }

    .directory-switch {
        align-self: stretch;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .view-option {
        justify-content: center;
        min-height: 42px;
        padding-inline: 8px;
        font-size: 12px;
    }

    .intern-grid {
        width: 100%;
        max-width: 640px;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .intern-card {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 120px;
        grid-template-columns: minmax(98px, 34%) minmax(0, 1fr);
        border-radius: 16px;
    }

    .intern-card .card-photo {
        width: 100%;
        height: 100%;
        min-height: 120px;
        aspect-ratio: auto;
    }

    .intern-card .card-content {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 120px;
        flex: initial;
        grid-template-rows: auto auto;
        gap: 7px;
        padding: 12px 14px;
        justify-content: center;
    }

    .intern-card .card-content h3 {
        height: auto;
        min-height: 36px;
        font-size: 15px;
        line-height: 1.25;
    }

    .intern-card .card-details-line {
        width: 100%;
        min-width: 0;
        height: 28px;
        min-height: 28px;
        gap: 5px;
    }

    .intern-card .card-details-line .card-role {
        min-width: 0;
        padding: 5px 7px;
        font-size: 9.5px;
    }

    .intern-card .card-details-line .card-fact {
        min-height: 26px;
        padding: 4px 6px;
        font-size: 9px;
    }

    .intern-card .card-summary {
        display: none;
    }

    .student-table-wrap {
        max-width: 100%;
    }

    .student-table-scroll {
        max-width: 100%;
        overscroll-behavior-x: contain;
    }

    #final {
        width: 100%;
        border-radius: 28px 28px 0 0;
        padding: 54px 14px 24px;
    }

    .fin-content {
        padding: 8px 4px 30px;
        gap: 17px;
    }

    #final h2 {
        font-size: clamp(27px, 7vw, 36px);
    }

    .fin-chip {
        font-size: 11px;
        padding: 7px 10px;
    }

    footer {
        width: 100%;
        margin-bottom: 0;
    }

    .ftr-inner {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .ftr-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .ftr-col {
        min-width: 0;
    }

    .ftr-col a {
        overflow-wrap: anywhere;
    }

    .ftr-bot-out {
        padding-inline: 8px;
    }
}

@media (max-width: 390px) {
    .intern-hero {
        padding-right: 13px;
        padding-left: 13px;
    }

    .hero-title {
        font-size: clamp(31px, 8.7vw, 36px) !important;
    }

    .hero-proof-badge {
        gap: 8px;
    }

    .proof-info {
        min-width: 0;
        text-align: left;
    }

    .proof-rating .rating-val {
        font-size: 9px;
    }

    .proof-caption {
        font-size: 9px;
    }

    .gl-stat-badge {
        max-width: 135px;
    }

    .gl-stat-label {
        font-size: 7px;
    }

    .gl-card {
        width: min(90%, 310px);
    }

    .directory {
        padding-inline: 13px;
    }

    .intern-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .intern-card .card-content {
        padding: 10px;
    }

    .intern-card .card-content h3 {
        font-size: 14px;
    }

    .intern-card .card-details-line {
        height: auto;
        min-height: 0;
        overflow: visible;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .intern-card .card-details-line .card-role {
        flex: 1 0 100%;
    }

    .intern-card .card-details-line .card-fact {
        flex: 0 1 auto;
    }

    .intern-card .card-content {
        grid-template-rows: auto auto 1fr;
    }

    .ftr-inner {
        padding-inline: 16px;
    }
}

@media (max-width: 340px) {
    .hero-eyebrow {
        font-size: 8px;
        letter-spacing: .05em;
    }

    .hero-actions {
        gap: 9px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        font-size: 12px;
        padding: 12px 14px;
    }

    .intern-card {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .intern-card .card-details-line .card-fact {
        font-size: 8px;
    }

    .ftr-cols {
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .intern-card,
    .intern-card *,
    .gl-pill,
    .hero-cta-primary,
    .hero-cta-secondary {
        scroll-behavior: auto;
    }
}