:root {
    --brand: #1e36a4;
    --brand-700: #182d8e;
    --brand-800: #122471;
    --brand-900: #0b184e;
    --lime: #a8ce36;
    --lime-dark: #86aa1f;
    --ink: #101828;
    --text: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --surface: #f7f9fc;
    --surface-2: #eef2ff;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(16, 24, 40, .08);
    --shadow-md: 0 18px 50px rgba(18, 36, 113, .14);
    --shadow-lg: 0 28px 90px rgba(11, 24, 78, .20);
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 32px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.nav-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(168, 206, 54, .38); color: var(--brand-900); }

.skip-link {
    position: fixed;
    left: 18px;
    top: -80px;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 62px 0; }
.section-soft { background: var(--surface); }
.section-tint { background: linear-gradient(180deg, #f8faff 0%, #f3f7ff 100%); }
.section-dark { background: var(--brand-900); color: #fff; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--brand);
    font-size: .77rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 99px; background: var(--lime); }
.eyebrow-light { color: #d9e3ff; }
.eyebrow-light::before { background: var(--lime); }

.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2,
.page-hero h1,
.hero-title,
.final-cta h2,
.application-modal h2 {
    margin: 0;
    color: var(--ink);
    letter-spacing: -.04em;
    line-height: 1.08;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.section-heading p { margin: 18px 0 0; font-size: 1.05rem; color: var(--muted); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: .92rem;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 24px rgba(30, 54, 164, .24); }
.btn-primary:hover { background: var(--brand-700); box-shadow: 0 15px 34px rgba(30, 54, 164, .30); }
.btn-lime { background: var(--lime); color: var(--brand-900); box-shadow: 0 10px 30px rgba(168, 206, 54, .24); }
.btn-lime:hover { background: #b6dc43; }
.btn-light { background: #fff; color: var(--brand-900); }
.btn-light:hover { box-shadow: var(--shadow-sm); }
.btn-ghost { background: #fff; color: var(--brand); border-color: #cfd7f9; }
.btn-ghost:hover { border-color: var(--brand); background: #f7f9ff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-wide { width: 100%; }

.topbar { background: var(--brand-900); color: #dbe4ff; font-size: .77rem; }
.topbar-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar a:hover { color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.93);
    border-bottom: 1px solid rgba(228,231,236,.85);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(16,24,40,.08); background: rgba(255,255,255,.98); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; }
.brand-mark { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(30,54,164,.15); background: #fff; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--brand-900); font-size: 1rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .03em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) { padding: 11px 10px; border-radius: 9px; color: #475467; font-size: .82rem; font-weight: 700; }
.site-nav > a:not(.btn):hover, .site-nav > a.is-active { color: var(--brand); background: #f3f5ff; }
.site-nav .nav-apply { margin-left: 8px; min-height: 43px; padding-inline: 17px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 11px; background: #f3f5ff; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--brand-900); margin: 5px 0; border-radius: 99px; transition: .25s ease; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--brand-900); }
.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 23%, rgba(168,206,54,.16), transparent 28%),
        linear-gradient(90deg, rgba(8,18,59,.46) 0%, rgba(14,28,89,.91) 46%, rgba(14,28,89,.50) 72%, rgba(9,18,54,.48) 100%);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-content-wrap { position: relative; z-index: 4; min-height: 720px; display: flex; align-items: center; padding: 76px 0 110px; }
.hero-copy { width: min(750px, 100%); color: #fff; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); color: #eef2ff; font-size: .78rem; font-weight: 800; backdrop-filter: blur(8px); }
.hero-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(168,206,54,.15); }
.hero-title { color: #fff; font-size: clamp(2.75rem, 7vw, 4.0rem); max-width: 820px; }
.hero-title em { color: var(--lime); font-style: normal; }
.hero-copy > p { margin: 24px 0 0; width: min(660px, 100%); color: #dce4ff; font-size: clamp(1rem, 1.5vw, 1.17rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: #dce4ff; font-size: .86rem; }
.hero-meta a { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta a:hover { color: #fff; }
.hero-meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 36px; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 38px; height: 5px; border: 0; border-radius: 999px; background: rgba(255,255,255,.28); padding: 0; transition: .3s ease; }
.hero-dot.is-active { width: 66px; background: var(--lime); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); color: #fff; font-size: 1.05rem; backdrop-filter: blur(8px); }
.hero-arrow:hover { background: #fff; color: var(--brand-900); }

.quick-strip { position: relative; margin-top: -34px; z-index: 8; }
.quick-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid #eef0f6; }
.quick-item { padding: 28px; display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: center; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #f1f4ff; color: var(--brand); font-weight: 900; font-size: 1.05rem; }
.quick-item h3 { margin: 0 0 4px; color: var(--ink); font-size: .96rem; }
.quick-item p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }

.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.image-stack { position: relative; min-height: 500px; }
.image-card-main { position: absolute; inset: 0 60px 36px 0; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #dfe5ff, #f0f5ff); box-shadow: var(--shadow-md); }
.image-card-main img { width: 100%; height: 100%; object-fit: cover; }
.image-card-accent { position: absolute; width: 220px; height: 210px; right: 0; bottom: 0; border-radius: 26px; background: linear-gradient(145deg, var(--brand), var(--brand-900)); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-lg); }
.image-card-accent strong { font-size: 3rem; line-height: 1; color: var(--lime); letter-spacing: -.05em; }
.image-card-accent span { margin-top: 9px; font-size: .86rem; color: #dce5ff; font-weight: 700; }
.media-fallback::before { content: 'PCRI'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(30,54,164,.22); font-size: 4rem; font-weight: 800; letter-spacing: -.06em; }
.intro-copy h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -.045em; }
.intro-copy > p { margin: 20px 0 0; font-size: 1.04rem; color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #344054; }
.check-list li::before { content: '✓'; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(168,206,54,.17); color: #66880b; font-weight: 900; font-size: .76rem; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program-card { position: relative; min-height: 230px; padding: 28px; border: 1px solid #e2e7f4; border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(30,54,164,.05); overflow: hidden; transition: .28s ease; }
.program-card::after { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -52px; bottom: -55px; background: rgba(168,206,54,.14); transition: .3s ease; }
.program-card:hover { transform: translateY(-6px); border-color: #cbd5ff; box-shadow: var(--shadow-md); }
.program-card:hover::after { transform: scale(1.6); }
.program-number { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #f1f4ff; color: var(--brand); font-weight: 900; font-size: .78rem; }
.program-card h3 { position: relative; z-index: 2; margin: 34px 0 10px; color: var(--ink); font-size: 1.08rem; line-height: 1.45; }
.program-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); font-size: .85rem; }
.program-footer { display: flex; justify-content: center; margin-top: 34px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid #e7eaf2; }
.feature-card .feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #edf1ff, #f8faff); color: var(--brand); font-weight: 900; }
.feature-card h3 { margin: 20px 0 8px; color: var(--ink); font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.gallery-carousel { overflow: hidden; }
.gallery-track { display: flex; gap: 18px; width: max-content; animation: galleryScroll 42s linear infinite; }
.gallery-carousel:hover .gallery-track { animation-play-state: paused; }
.gallery-tile { position: relative; width: 310px; height: 230px; border-radius: 22px; overflow: hidden; background: #e8ecf8; flex: 0 0 auto; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,18,59,.46)); pointer-events: none; }
.gallery-tile:hover img { transform: scale(1.05); }
@keyframes galleryScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }

.fellow-preview-grid, .fellows-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fellow-card { background: #fff; border: 1px solid #e5e9f2; border-radius: 20px; overflow: hidden; transition: .28s ease; }
.fellow-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.fellow-photo { position: relative; aspect-ratio: 4 / 4.25; background: linear-gradient(145deg, #dfe5ff, #f1f4ff); overflow: hidden; }
.fellow-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.fellow-photo.media-fallback::before { content: 'PCRI'; font-size: 2.7rem; }
.fellow-info { padding: 20px; }
.fellow-info h3 { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.4; }
.fellow-title { margin: 5px 0 0; color: var(--brand); font-size: .78rem; font-weight: 800; }
.fellow-specialty { display: inline-block; margin-top: 11px; padding: 5px 9px; border-radius: 999px; background: #f3f5ff; color: #485aa7; font-size: .7rem; font-weight: 800; }
.fellow-bio { margin: 13px 0 0; color: var(--muted); font-size: .8rem; }

.final-cta { background: linear-gradient(120deg, var(--brand-900), var(--brand) 70%, #284bc8); color: #fff; position: relative; overflow: hidden; }
.final-cta::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -80px; top: -160px; border: 55px solid rgba(168,206,54,.12); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; z-index: 2; }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.final-cta p { margin: 15px 0 0; color: #d9e2ff; max-width: 720px; }
.final-cta-actions { display: flex; gap: 10px; flex: 0 0 auto; }

.site-footer { background: #08123c; color: #c7d0ee; padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, .8fr); gap: 55px; }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #aab7de; }
.footer-brand p { max-width: 390px; font-size: .86rem; color: #aab7d6; }
.site-footer h3 { color: #fff; font-size: .83rem; text-transform: uppercase; letter-spacing: .09em; margin: 8px 0 18px; }
.site-footer > .container a:not(.brand) { display: block; margin: 10px 0; color: #b8c4e3; font-size: .84rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 10px 0; }
.footer-bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); display: flex; justify-content: space-between; gap: 20px; color: #8f9bbd; font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin: 0 !important; }

.page-hero { position: relative; padding: 105px 0 92px; background:
    radial-gradient(circle at 82% 20%, rgba(168,206,54,.16), transparent 25%),
    linear-gradient(130deg, #0b184e, #1e36a4 75%, #2948bc); color: #fff; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 310px; height: 310px; border: 55px solid rgba(255,255,255,.05); border-radius: 50%; right: -55px; bottom: -165px; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; color: #bdc9ed; font-size: .78rem; font-weight: 700; margin-bottom: 22px; }
.breadcrumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 5.2rem); max-width: 930px; }
.page-hero p { max-width: 760px; margin: 20px 0 0; color: #dce4ff; font-size: 1.05rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prose h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.04em; }
.prose p { color: var(--muted); font-size: 1rem; }
.prose .lead { font-size: 1.12rem; color: #475467; }

.stat-band { background: var(--brand-900); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.10); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--lime); font-size: 2.3rem; line-height: 1; letter-spacing: -.04em; }
.stat span { display: block; margin-top: 9px; color: #c8d2ef; font-size: .82rem; }

.timeline { position: relative; display: grid; gap: 18px; }
.timeline-item { padding: 26px 26px 26px 72px; border-radius: 20px; border: 1px solid #e3e8f3; background: #fff; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 28px; top: 31px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(168,206,54,.16); }
.timeline-item h3 { margin: 0 0 6px; color: var(--ink); font-size: 1rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .88rem; }

.programs-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.programs-full .program-card { min-height: 210px; }
.program-type-note { display: flex; align-items: center; gap: 12px; padding: 17px 20px; margin-bottom: 30px; border-radius: 14px; background: #f2f5ff; color: #46568f; font-size: .88rem; border: 1px solid #dfe5fb; }
.program-type-note strong { color: var(--brand-900); }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-card { border: 1px solid #e3e7f0; border-radius: 22px; padding: 30px; background: #fff; }
.resource-card .resource-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #eff3ff; color: var(--brand); font-weight: 900; }
.resource-card h3 { color: var(--ink); margin: 22px 0 8px; }
.resource-card p { color: var(--muted); font-size: .88rem; }
.resource-card a { display: inline-flex; margin-top: 8px; color: var(--brand); font-weight: 800; font-size: .84rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #e7ebf5; aspect-ratio: 1 / .82; }
.gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 2; aspect-ratio: 2 / .82; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item::after { content: 'View'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; background: rgba(11,24,78,.52); opacity: 0; transition: .25s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.media-fallback::before { font-size: 2rem; }
.lightbox { position: fixed; inset: 0; z-index: 1500; display: none; place-items: center; padding: 28px; background: rgba(5,12,39,.92); backdrop-filter: blur(8px); }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 86vh; max-width: min(1100px, 94vw); border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.10); color: #fff; font-size: 1.5rem; }

.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; }
.contact-panel { border-radius: 26px; padding: 38px; }
.contact-panel-dark { background: linear-gradient(145deg, var(--brand-900), var(--brand)); color: #fff; }
.contact-panel-dark h2 { margin: 0; font-size: 2.2rem; line-height: 1.1; }
.contact-panel-dark > p { color: #d6def7; }
.contact-method { display: flex; align-items: center; gap: 15px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-method:first-of-type { margin-top: 26px; }
.contact-method-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.10); color: var(--lime); font-weight: 900; }
.contact-method small { display: block; color: #aebae0; font-size: .72rem; }
.contact-method a { font-weight: 800; color: #fff; }
.contact-form { background: #fff; border: 1px solid #e2e7f0; box-shadow: var(--shadow-sm); }
.contact-form h2 { color: var(--ink); margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #344054; font-size: .8rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d7dce6; border-radius: 12px; padding: 13px 14px; outline: none; color: var(--ink); background: #fff; transition: .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30,54,164,.10); }
.field textarea { min-height: 135px; resize: vertical; }
.form-note { font-size: .75rem; color: var(--muted); margin: 12px 0 0; }

.modal-overlay { position: fixed; inset: 0; z-index: 1800; display: grid; place-items: center; padding: 20px; background: rgba(5,12,39,.68); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .3s ease; }
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.application-modal { width: min(510px, 100%); background: #fff; border-radius: 28px; padding: 38px; box-shadow: 0 35px 100px rgba(4,12,48,.38); position: relative; transform: translateY(16px) scale(.985); transition: .3s ease; overflow: hidden; }
.modal-overlay.is-open .application-modal { transform: translateY(0) scale(1); }
.modal-accent { position: absolute; width: 165px; height: 165px; border: 32px solid rgba(168,206,54,.15); border-radius: 50%; top: -84px; right: -55px; }
.modal-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f2f4f7; color: #475467; font-size: 1.3rem; }
.session-pill { display: inline-flex; margin-bottom: 20px; padding: 7px 11px; border-radius: 999px; background: rgba(168,206,54,.16); color: #64850b; font-size: .72rem; font-weight: 900; }
.application-modal h2 { font-size: 2.1rem; }
.application-modal > p:not(.eyebrow):not(.modal-note) { color: var(--muted); }
.modal-actions { display: grid; gap: 10px; margin-top: 24px; }
.modal-note { text-align: center; color: #98a2b3; font-size: .72rem; margin: 13px 0 0; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.empty-state { padding: 44px; border: 1px dashed #cfd6e6; border-radius: 20px; background: #fbfcff; text-align: center; }
.empty-state h3 { color: var(--ink); margin-top: 0; }
.empty-state p { color: var(--muted); }

@media (max-width: 1080px) {
    .topbar p { display: none; }
    .topbar-inner { justify-content: flex-end; }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: 113px;
        left: 20px;
        right: 20px;
        max-height: calc(100vh - 135px);
        overflow: auto;
        display: grid;
        gap: 4px;
        padding: 16px;
        border: 1px solid #e2e7f0;
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .25s ease;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .site-nav > a:not(.btn) { padding: 13px 14px; }
    .site-nav .nav-apply { margin: 6px 0 0; }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .quick-strip-grid, .feature-grid, .program-grid, .programs-full, .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-item:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
    .intro-grid, .two-col, .contact-grid { gap: 44px; }
    .fellows-grid, .fellow-preview-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, .7fr); gap: 34px; }
}

@media (max-width: 820px) {
    .section-pad { padding: 78px 0; }
    .hero, .hero-content-wrap { min-height: 650px; }
    .hero-content-wrap { padding: 70px 0 100px; }
    .quick-strip { margin-top: 0; }
    .quick-strip .container { width: 100%; }
    .quick-strip-grid { border-radius: 0; box-shadow: none; border-left: 0; border-right: 0; }
    .intro-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
    .image-stack { min-height: 430px; }
    .intro-copy { order: -1; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.10); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 1; aspect-ratio: 1/.82; }
    .fellows-grid, .fellow-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .final-cta-inner { display: grid; }
    .final-cta-actions { flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .topbar { display: none; }
    .nav-wrap { min-height: 68px; }
    .brand-mark { width: 43px; height: 43px; }
    .brand-copy strong { font-size: .93rem; }
    .brand-copy small { font-size: .55rem; }
    .site-nav { top: 78px; left: 12px; right: 12px; max-height: calc(100vh - 95px); }
    .hero, .hero-content-wrap { min-height: 610px; }
    .hero-content-wrap { align-items: flex-start; padding-top: 86px; }
    .hero-title { font-size: clamp(1.55rem, 13vw, 2.3rem); }
    .hero-copy > p { font-size: .95rem; }
    .hero-actions .btn { width: 100%; }
    .hero-meta { display: grid; gap: 8px; }
    .hero-controls { bottom: 22px; }
    .hero-arrows { display: none; }
    .quick-strip-grid, .program-grid, .programs-full, .feature-grid, .resource-grid { grid-template-columns: 1fr; }
    .quick-item + .quick-item { border-left: 0; border-top: 1px solid var(--line); }
    .quick-item:nth-child(3) { grid-column: auto; }
    .image-stack { min-height: 365px; }
    .image-card-main { inset: 0 35px 30px 0; }
    .image-card-accent { width: 175px; height: 160px; padding: 20px; }
    .image-card-accent strong { font-size: 2.3rem; }
    .section-heading { margin-bottom: 32px; }
    .gallery-tile { width: 260px; height: 195px; }
    .fellows-grid, .fellow-preview-grid { grid-template-columns: 1fr; }
    .fellow-card { display: grid; grid-template-columns: 120px 1fr; }
    .fellow-photo { aspect-ratio: auto; min-height: 180px; }
    .fellow-info { padding: 18px; }
    .page-hero { padding: 78px 0 70px; }
    .page-hero h1 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 26px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .contact-panel { padding: 28px 22px; }
    .application-modal { padding: 32px 22px 24px; border-radius: 22px; }
    .application-modal h2 { font-size: 1.65rem; }
    .final-cta-actions { display: grid; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { display: grid; }
    
    .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: .72rem;

}
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
