/* ============ TOKENS ============ */
:root{
  --navy:#00264d; --navy-light:#004080; --navy-pale:#e9eff6; --navy-pale-2:#dbe5f0;
  --orange:#ef7e1a; --orange-light:#ff9a45; --orange-pale:#fef1e2;
  --ink:#0a1626; --muted:#5c6b80; --paper:#ffffff; --paper-2:#f6f8fb;
  --line:#e2e8f0; --line-strong:#cbd6e3;
  --display:"Playfair Display","Times New Roman",serif; --body:"Noto Sans",-apple-system,sans-serif;
  --shadow-sm:0 2px 10px rgba(0,38,77,0.06); --shadow-md:0 12px 34px rgba(0,38,77,0.10); --shadow-lg:0 24px 60px rgba(0,38,77,0.16);
  --header-h:84px; --topbar-h:44px; --topbar-h-rest:44px;
  --surface:#ffffff; --heading:var(--navy); --dot-color:rgba(0,38,77,0.09);
}
@media (max-width:640px){:root{--header-h:68px;}}

html[data-theme="dark"]{
  --navy-pale:#152238; --navy-pale-2:#1c2e48;
  --orange:#ff8f45; --orange-light:#ffb37a; --orange-pale:rgba(255,143,69,0.14);
  --ink:#eef1f7; --muted:#93a0b8; --paper:#080c14; --paper-2:#0e1420;
  --surface:#0e1420; --heading:#eef1f7;
  --line:rgba(255,255,255,0.09); --line-strong:rgba(255,255,255,0.18);
  --shadow-sm:0 2px 10px rgba(0,0,0,0.35); --shadow-md:0 14px 36px rgba(0,0,0,0.45); --shadow-lg:0 26px 64px rgba(0,0,0,0.55);
  --dot-color:rgba(255,255,255,0.09);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
body{background:var(--paper);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;overflow-x:hidden;transition:background-color .3s ease, color .3s ease;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;}
::selection{background:var(--orange);color:#fff;}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px;}
.wrap{max-width:1280px;margin:0 auto;padding:0 40px;}
@media (max-width:640px){.wrap{padding:0 20px;}}

h1,h2,h3,h4,h5,h6{color:var(--heading);}

/* ============ UTILITIES ============ */
.eyebrow{font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--orange);display:flex;align-items:center;gap:9px;}
.eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange);flex-shrink:0;}
.eyebrow.center{justify-content:center;}
.eyebrow.on-dark{color:var(--orange-light);}

.btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:13.5px;padding:12px 22px;border-radius:999px;border:1.5px solid transparent;transition:all .25s ease;white-space:nowrap;cursor:pointer;font-family:var(--body);}
.btn.solid{background:var(--orange);color:#fff;box-shadow:0 8px 22px rgba(239,126,26,0.28);}
.btn.solid:hover{background:#d96e0f;transform:translateY(-2px);}
.btn.outline{border-color:var(--heading);color:var(--heading);background:transparent;}
.btn.outline:hover{background:var(--navy);color:#fff;transform:translateY(-2px);}
.btn.outline-light{border-color:rgba(255,255,255,0.55);color:#fff;}
.btn.outline-light:hover{background:#fff;color:var(--navy);transform:translateY(-2px);}
.btn.sm{padding:9px 18px;font-size:12.5px;}
.btn svg{width:15px;height:15px;stroke:currentColor;fill:none;flex-shrink:0;}
html[data-theme="dark"] .btn.outline{border-color:var(--heading);color:var(--heading);}

section.block{padding:96px 0;scroll-margin-top:calc(var(--header-h) + var(--topbar-h) + 14px);}
section.block.alt{background:var(--paper-2);}
@media (max-width:600px){section.block{padding:64px 0;}}

.section-head{max-width:760px;margin:0 0 44px;}
.section-head.center{max-width:700px;margin:0 auto 44px;text-align:center;}
.section-head.center p{margin-left:auto;margin-right:auto;}
.section-head h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,38px);margin-top:12px;color:var(--heading);line-height:1.2;}
.section-head p{color:var(--muted);font-size:15.5px;line-height:1.7;margin-top:14px;max-width:66ch;}

[data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease;}
[data-reveal].is-visible{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  *{transition-duration:0.01ms !important; animation-duration:0.01ms !important;}
  [data-reveal]{opacity:1;transform:none;}
}

.prose{font-size:15.5px;line-height:1.85;color:var(--ink);max-width:76ch;}
.prose p + p{margin-top:16px;}

/* ============ TOPBAR ============ */
.site-topbar{background:var(--navy);color:rgba(255,255,255,0.82);font-size:12.5px;position:fixed;top:0;left:0;right:0;z-index:102;height:44px;display:flex;align-items:center;transition:transform .3s ease;}
body.topbar-hidden .site-topbar{transform:translateY(-100%);}
body.topbar-hidden{--topbar-h:0px;}
.site-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;}
.topbar-back{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,0.82);font-weight:600;transition:color .2s ease;}
.topbar-back:hover{color:#fff;}
.topbar-back svg{width:13px;height:13px;stroke:currentColor;flex-shrink:0;}
.topbar-links{display:flex;align-items:center;gap:18px;}
.topbar-links > a{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,0.72);font-weight:600;transition:color .2s ease;}
.topbar-links > a:hover{color:var(--orange-light);}
.topbar-links svg{width:13px;height:13px;stroke:currentColor;flex-shrink:0;}
.topbar-sep{width:1px;height:16px;background:rgba(255,255,255,0.18);}
.topbar-cta{background:var(--orange);color:#fff !important;padding:6px 14px;border-radius:999px;font-weight:700;}
.topbar-cta:hover{background:#d96e0f;color:#fff !important;}
.tb-back-short{display:none;}
@media (max-width:640px){ .tb-back-full{display:none;} .tb-back-short{display:inline;} .topbar-links{gap:10px;} .topbar-links > a:not(.topbar-cta){display:none;} .topbar-sep{display:none;} }

/* ============ HEADER ============ */
header.site{position:fixed;top:var(--topbar-h);left:0;right:0;z-index:100;height:var(--header-h);background:#ffffff;box-shadow:0 1px 0 var(--line);transition:background-color .3s ease, top .3s ease, height .3s ease;}
html[data-theme="dark"] header.site{background:rgba(8,12,20,0.92);}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:100%;padding:0 40px;}
@media (max-width:640px){.header-inner{padding:0 20px;}}
.logo{display:flex;align-items:center;gap:13px;min-width:0;flex-shrink:1;}
.logo-img{height:48px;width:auto;display:block;flex-shrink:0;}
.logo-img-dark{display:none;}
html[data-theme="dark"] .logo-img-light{display:none;}
html[data-theme="dark"] .logo-img-dark{display:block;}
.logo-divider{width:1px;height:34px;background:var(--line-strong);flex-shrink:0;}
.logo-word{font-family:var(--display);font-weight:700;font-size:19px;color:var(--orange);line-height:1.15;min-width:0;overflow:hidden;}
.logo-combined{height:50px;width:auto;display:block;flex-shrink:0;}
@media (max-width:640px){
  .logo-combined{height:36px;}
  .logo-img{height:36px;}
  .logo-word{font-size:15px;}
  .logo-divider{display:none;}
}

nav.links{display:flex;gap:24px;font-size:13.5px;font-weight:600;color:var(--heading);align-items:center;}
nav.links > a{position:relative;padding-bottom:3px;}
nav.links > a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--orange);border-radius:2px;transition:width .3s ease;}
nav.links > a:hover::after, nav.links > a.active::after{width:100%;}
nav.links > a.active{color:var(--orange);}
@media (max-width:1080px){nav.links{display:none;}}

/* ---- Nav dropdown (Programs / Infrastructure) ---- */
.nav-drop{position:relative;}
.nav-drop-toggle{display:inline-flex;align-items:center;gap:5px;position:relative;padding:0 0 3px;margin:0;font:inherit;color:inherit;background:none;border:none;cursor:pointer;}
.nav-drop-toggle::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--orange);border-radius:2px;transition:width .3s ease;}
.nav-drop-toggle:hover::after,.nav-drop.open .nav-drop-toggle::after,.nav-drop.active-parent .nav-drop-toggle::after{width:100%;}
.nav-drop-toggle:hover,.nav-drop.open .nav-drop-toggle,.nav-drop.active-parent .nav-drop-toggle{color:var(--orange);}
.nav-drop-caret{width:9px;height:9px;stroke:currentColor;flex-shrink:0;transition:transform .25s ease;}
.nav-drop.open .nav-drop-caret{transform:rotate(180deg);}
.nav-drop-menu{position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:16px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease, visibility .22s ease;z-index:150;}
.nav-drop.open .nav-drop-menu{opacity:1;visibility:visible;pointer-events:auto;}
@media (hover:hover){.nav-drop:hover .nav-drop-menu{opacity:1;visibility:visible;pointer-events:auto;}}
.nav-drop-panel{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);padding:10px;min-width:320px;transform:translateY(6px);transition:transform .22s ease;}
.nav-drop.open .nav-drop-panel,.nav-drop:hover .nav-drop-panel{transform:translateY(0);}
.nav-drop-panel::before{content:"";position:absolute;top:-7px;left:50%;transform:translateX(-50%) rotate(45deg);width:14px;height:14px;background:var(--surface);border-left:1px solid var(--line);border-top:1px solid var(--line);border-radius:3px 0 0 0;}
.nav-drop-menu .dd-item{display:flex;align-items:flex-start;gap:13px;padding:12px;border-radius:13px;transition:background .15s ease;white-space:normal;}
.nav-drop-menu .dd-item:hover,.nav-drop-menu .dd-item.active{background:var(--navy-pale);}
.nav-drop-menu .dd-item:hover .dd-title,.nav-drop-menu .dd-item.active .dd-title{color:var(--orange);}
.dd-ic{width:38px;height:38px;border-radius:11px;background:var(--orange-pale);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.dd-ic svg{width:18px;height:18px;stroke:var(--orange);}
.dd-text{display:flex;flex-direction:column;padding-top:1px;}
.dd-title{font-family:var(--display);font-weight:700;font-size:14.5px;color:var(--heading);transition:color .15s ease;}
.dd-desc{font-size:11.5px;color:var(--muted);margin-top:3px;line-height:1.45;}
.dd-foot{margin-top:6px;padding-top:10px;border-top:1px solid var(--line);}
.dd-foot a{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--orange);color:#fff;font-weight:700;font-size:13px;padding:12px;border-radius:11px;transition:background .2s ease;}
.dd-foot a:hover{background:#d96e0f;}

.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.search-toggle{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--paper-2);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0;}
.search-toggle:hover{border-color:var(--orange);}
.search-toggle svg{width:16px;height:16px;stroke:var(--heading);}
.theme-toggle{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--paper-2);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0;}
.theme-toggle:hover{border-color:var(--orange);}
.theme-toggle svg{width:16px;height:16px;stroke:var(--heading);}
.theme-toggle .icon-moon{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:block;}

.hamburger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--paper-2);cursor:pointer;padding:0;transition:all .2s ease;flex-shrink:0;}
.hamburger:hover{border-color:var(--orange);}
.hamburger span{width:16px;height:2px;background:var(--heading);border-radius:2px;}
@media (max-width:1080px){.hamburger{display:flex;}}

#mobileMenu{position:fixed;left:0;right:0;top:0;bottom:0;background:var(--surface);z-index:150;opacity:0;visibility:hidden;transform:translateY(-14px);transition:opacity .3s ease, transform .3s ease, visibility .3s ease;display:flex;flex-direction:column;}
#mobileMenu.open{opacity:1;visibility:visible;transform:translateY(0);}
.mm-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0;}
#mobileMenu .close{background:var(--paper-2);border:1px solid var(--line);border-radius:50%;width:38px;height:38px;font-size:16px;color:var(--heading);flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;}
.mm-body{flex:1;overflow-y:auto;padding:8px 20px 24px;}
.mm-link{display:block;width:100%;text-align:left;padding:16px 2px;font-family:var(--display);font-weight:700;font-size:21px;color:var(--heading);border-bottom:1px solid var(--line);background:none;border-left:none;border-right:none;border-top:none;}
.mm-link:active{color:var(--orange);}
.mm-link.active{color:var(--orange);}
.mm-group{border-bottom:1px solid var(--line);}
.mm-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:none;cursor:pointer;}
.mm-caret{width:13px;height:13px;stroke:currentColor;flex-shrink:0;transition:transform .25s ease;}
.mm-group.open .mm-caret{transform:rotate(180deg);}
.mm-group.active-parent > .mm-group-toggle{color:var(--orange);}
.mm-submenu{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.mm-group.open .mm-submenu{max-height:480px;}
.mm-sublink{display:block;padding:13px 2px 13px 18px;font-family:var(--body);font-weight:600;font-size:15px;color:var(--muted);border-top:1px solid var(--line);}
.mm-sublink:active,.mm-sublink.active{color:var(--orange);}
.mm-foot{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:16px 20px;border-top:1px solid var(--line);background:var(--surface);}
.mm-foot .btn{flex:1;justify-content:center;}
@media (min-width:1081px){#mobileMenu{display:none !important;}}

/* ============ HERO (slideshow) ============ */
.hero-best{position:relative;height:100vh;min-height:660px;max-height:920px;overflow:hidden;background:var(--navy);}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1.1s ease;}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:2;}
.hero-slide img{width:100%;height:100%;object-fit:cover;}
.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(0,18,38,0.92) 0%, rgba(0,20,42,0.66) 50%, rgba(0,20,42,0.32) 100%), linear-gradient(0deg, rgba(0,10,25,0.58), transparent 42%);}
.hero-content{position:absolute;inset:0;z-index:5;display:flex;align-items:center;padding-top:calc(var(--header-h) + var(--topbar-h-rest));}
.hero-inner{position:relative;width:100%;}
.hero-text{max-width:640px;margin-right:auto;}
.hero-text .eyebrow{margin-bottom:6px;}
.hero-title{font-family:var(--display);font-weight:700;font-size:clamp(36px,5.5vw,66px);line-height:1.08;letter-spacing:-0.01em;color:#fff;text-shadow:0 4px 24px rgba(0,10,25,0.25);}
.hero-title-accent{color:var(--orange-light);}
.hero-tagline{font-size:16.5px;line-height:1.7;color:rgba(255,255,255,0.84);max-width:48ch;margin-top:20px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px;}
.hero-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:144px;z-index:6;display:flex;align-items:center;gap:8px;}
.hero-dot{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,0.4);cursor:pointer;border:none;padding:0;transition:all .3s ease;}
.hero-dot.is-active{width:28px;background:var(--orange);}
.hero-text.hero-text-shift{animation:heroTextShift .7s ease;}
@keyframes heroTextShift{
  0%{opacity:.4;transform:translateY(12px);}
  100%{opacity:1;transform:translateY(0);}
}
@media (max-width:640px){
  .hero-best{height:auto;min-height:860px;max-height:none;}
  .hero-dots{bottom:186px;}
}

/* ============ INNER-PAGE HERO (subpages) ============ */
.crumb-row{background:var(--paper);border-bottom:1px solid var(--line);padding-top:calc(var(--header-h) + var(--topbar-h) + 8px);}
.crumb{padding:5px 0 14px;font-size:12.5px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.crumb a{color:var(--heading);}
.crumb a:hover{color:var(--orange);}
.crumb .sep{color:var(--line-strong);}
.crumb .cur{color:var(--orange);font-weight:700;}
.page-hero{position:relative;padding:50px 0;background-color:var(--paper-2);background-image:radial-gradient(circle, var(--dot-color) 1.6px, transparent 1.6px),radial-gradient(ellipse 800px 480px at 88% -8%, rgba(239,126,26,0.10), transparent 62%),radial-gradient(ellipse 700px 500px at -6% 100%, rgba(0,38,77,0.08), transparent 60%);background-size:22px 22px, auto, auto;background-position:center center, 0 0, 0 0;overflow:hidden;}
.page-hero-title{font-family:var(--display);font-weight:700;font-size:clamp(32px,4.2vw,50px);line-height:1.15;color:var(--heading);margin-top:14px;max-width:20ch;}
.page-hero-title em{font-style:italic;font-weight:500;color:var(--orange);}
.page-hero-copy{font-size:16px;line-height:1.75;color:var(--muted);max-width:62ch;margin-top:18px;}
@media (max-width:600px){
  .crumb-row{padding-top:calc(var(--header-h) + var(--topbar-h) + 6px);}
  .page-hero{padding:36px 0;}
}

/* ============ HERO QUICK-FACTS OVERLAP BAND ============ */
.hero-stats-band{position:relative;z-index:10;max-width:1200px;margin:-112px auto 0;padding:0 40px;}
.hero-stats-grid{background:linear-gradient(160deg, var(--navy) 0%, #001830 100%);border-radius:26px;box-shadow:0 30px 70px rgba(0,38,77,0.32), 0 2px 0 rgba(0,38,77,0.04);display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;position:relative;}
.hero-stats-grid::before{content:"";position:absolute;right:-100px;top:-100px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle, rgba(239,126,26,0.16), transparent 70%);pointer-events:none;}
.hero-stat-card{position:relative;color:#fff;padding:32px 30px;border-right:1px solid rgba(255,255,255,0.12);border-bottom:1px solid rgba(255,255,255,0.12);}
.hero-stat-card:nth-child(3n){border-right:none;}
.hero-stat-card:nth-last-child(-n+3){border-bottom:none;}
.hero-stat-card .val{font-family:var(--display);font-weight:700;font-size:17px;line-height:1.35;}
.hero-stat-card .cap{font-size:11px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:rgba(255,255,255,0.6);margin-top:8px;line-height:1.5;}
@media (max-width:640px){
  .hero-stats-band{margin:-154px auto 0;padding:0 20px;}
  .hero-stats-grid{grid-template-columns:repeat(2,1fr);border-radius:20px;}
  .hero-stat-card{padding:22px 18px;border-right:1px solid rgba(255,255,255,0.12);border-bottom:1px solid rgba(255,255,255,0.12);}
  .hero-stat-card:nth-child(3n){border-right:1px solid rgba(255,255,255,0.12);}
  .hero-stat-card:nth-child(even){border-right:none;}
  .hero-stat-card:nth-last-child(-n+3){border-bottom:1px solid rgba(255,255,255,0.12);}
  .hero-stat-card:nth-last-child(-n+2){border-bottom:none;}
  .hero-stat-card .val{font-size:15px;}
}

/* ============ ENROLL / NEW BATCHES SPLIT ============ */
.enroll-split{display:grid;grid-template-columns:1.05fr 0.95fr;gap:54px;align-items:start;}
.enroll-copy p{color:var(--muted);font-size:15.5px;line-height:1.8;margin-top:16px;max-width:60ch;}
.enroll-actions{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap;}
.enroll-form-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-lg);padding:16px;}
.enroll-form-card iframe{width:100%;height:520px;border:none;border-radius:14px;display:block;}
@media (max-width:560px){
  .enroll-form-card iframe{height:850px;}
}
@media (max-width:900px){
  .enroll-split{grid-template-columns:1fr;gap:36px;}
}

/* Home page's enrolling section specifically: text stays left-aligned in
   its column, but the row is vertically centered so the (shorter) text
   block sits level with the middle of the taller form card next to it,
   instead of pinned to the top - the Contact page reuses .enroll-split
   too, so this is scoped to #enroll only. */
#enroll .enroll-split{align-items:center;}
.section-seam{margin-top:96px;scroll-margin-top:calc(var(--header-h) + var(--topbar-h) + 14px);}
@media (max-width:600px){.section-seam{margin-top:64px;}}
#about{scroll-margin-top:calc(var(--header-h) + var(--topbar-h) + 14px);}

/* ============ DOMAIN TABS ============ */
.domain-tabs{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:36px;}
.domain-panel{margin-top:8px;}
.domain-tab{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:0.04em;color:var(--heading);background:var(--paper);border:1.5px solid var(--line-strong);padding:12px 24px;border-radius:999px;cursor:pointer;transition:all .25s ease;}
.domain-tab:hover{border-color:var(--orange);color:var(--orange);}
.domain-tab.active{background:var(--navy);border-color:var(--navy);color:#fff;}
.domain-tab.alt.active{background:var(--orange);border-color:var(--orange);}
.division-panel{display:none;}
.division-panel.active{display:block;}

/* ============ TRACK CARDS (domains) ============ */
.track-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;}
.track-grid.single{grid-template-columns:1fr;max-width:760px;margin:0 auto;}
.track-card{position:relative;background:var(--navy);color:#fff;border-radius:24px;padding:38px 34px;display:flex;flex-direction:column;overflow:hidden;transition:transform .3s ease, box-shadow .3s ease;}
.track-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);}
.track-card::before{content:"";position:absolute;top:-60px;right:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle, rgba(239,126,26,0.22), transparent 70%);pointer-events:none;}
.track-kicker{display:inline-block;align-self:flex-start;font-size:11.5px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:var(--orange-light);background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.16);padding:6px 14px;border-radius:999px;margin-bottom:18px;}
.track-card h3{font-family:var(--display);font-weight:700;font-size:26px;color:#fff;line-height:1.25;}
.track-card .track-tagline{font-family:var(--display);font-style:italic;font-weight:500;font-size:15px;color:rgba(255,255,255,0.75);margin-top:6px;}
.track-elig{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:#fff;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.18);padding:8px 14px;border-radius:999px;margin-top:18px;align-self:flex-start;}
.track-card .track-desc{font-size:14.3px;line-height:1.8;color:rgba(255,255,255,0.75);margin-top:18px;}
.module-label{font-size:11px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.55);margin-top:24px;margin-bottom:12px;}
.module-chip-row{display:flex;flex-wrap:wrap;gap:9px;}
.module-chip{font-size:12.5px;font-weight:600;color:#fff;background:rgba(255,255,255,0.09);border:1px solid rgba(255,255,255,0.18);padding:7px 14px;border-radius:999px;}
.track-price{margin-top:26px;padding-top:22px;border-top:1px solid rgba(255,255,255,0.16);}
.track-price .line{font-size:14px;font-weight:600;color:rgba(255,255,255,0.85);line-height:1.6;}
.track-price .line strong{color:#fff;font-family:var(--display);font-size:17px;}
.track-price .scholarship{color:var(--orange-light);font-weight:700;}
.track-card .btn{margin-top:24px;align-self:flex-start;}
@media (max-width:900px){.track-grid{grid-template-columns:1fr;}}

/* module foundation cards */
.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.module-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:28px 26px;transition:transform .3s ease, box-shadow .3s ease;}
.module-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.module-card .module-num{width:38px;height:38px;border-radius:10px;background:var(--navy-pale);color:var(--heading);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:14px;margin-bottom:14px;}
.module-card h4{font-family:var(--display);font-weight:700;font-size:18px;color:var(--heading);margin-bottom:14px;}
.module-card .module-chip-row .module-chip{color:var(--heading);background:var(--paper-2);border:1px solid var(--line);}
@media (max-width:800px){.module-grid{grid-template-columns:1fr;}}

/* ============ SCHOLARSHIP TICKET CARD ============ */
.scholarship-card{position:relative;display:flex;align-items:stretch;margin-top:32px;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-md);background:var(--paper);border:1px solid var(--line-strong);}
.scholarship-badge{position:relative;flex-shrink:0;width:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;background:linear-gradient(160deg, var(--navy) 0%, #001830 100%);padding:26px 14px;border-right:2px dashed rgba(255,255,255,0.28);}
.scholarship-badge svg{stroke:var(--orange-light);}
.scholarship-badge .pct{font-family:var(--display);font-weight:700;font-size:34px;color:#fff;line-height:1;}
.scholarship-badge .pct-label{font-size:10.5px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.6);}
.scholarship-badge::before,.scholarship-badge::after{content:"";position:absolute;right:-11px;width:22px;height:22px;border-radius:50%;background:var(--paper);z-index:2;}
.scholarship-badge::before{top:-11px;border:none;}
.scholarship-badge::after{bottom:-11px;}
.scholarship-body{flex:1;padding:26px 32px;display:flex;flex-direction:column;justify-content:center;}
.scholarship-body h3{font-family:var(--display);font-weight:700;font-size:20px;color:var(--heading);margin-bottom:10px;}
.scholarship-body p{font-size:14.5px;line-height:1.75;color:var(--muted);}
@media (max-width:560px){
  .scholarship-card{flex-direction:column;}
  .scholarship-badge{width:100%;flex-direction:row;padding:16px;border-right:none;border-bottom:2px dashed rgba(255,255,255,0.28);}
  .scholarship-badge .pct{font-size:26px;}
  .scholarship-badge::before,.scholarship-badge::after{top:auto;bottom:-11px;}
  .scholarship-badge::before{left:-11px;right:auto;}
  .scholarship-badge::after{right:-11px;left:auto;}
  .scholarship-body{padding:22px 24px;}
}

/* ============ VIDEO ============ */
.video-embed-frame{position:relative;width:100%;padding-top:56.25%;border-radius:18px;overflow:hidden;background:#000;box-shadow:var(--shadow-md);}
.video-embed-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:none;}
.video-feature{max-width:1080px;margin:40px auto 0;}
.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
@media (max-width:700px){.video-grid{grid-template-columns:1fr;}}

/* ============ COURSE DUEL (GTE vs DTE) ============ */
.course-duel{position:relative;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(160deg, var(--navy) 0%, #001830 100%);border-radius:26px;overflow:hidden;box-shadow:0 30px 70px rgba(0,10,25,0.35);}
.course-duel-side{position:relative;padding:46px 44px;overflow:hidden;}
.course-duel-side:first-child{border-right:2px dashed rgba(255,255,255,0.18);}
.course-duel-num{position:absolute;top:18px;right:28px;font-family:var(--display);font-weight:700;font-size:100px;line-height:1;color:rgba(255,255,255,0.08);pointer-events:none;}
.course-duel-tag{position:relative;display:inline-block;font-size:11px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:var(--orange-light);background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.2);padding:6px 14px;border-radius:999px;margin-bottom:18px;}
.course-duel-side h3{position:relative;font-family:var(--display);font-weight:700;font-size:22px;color:#fff;margin-bottom:8px;}
.course-duel-side .sub{position:relative;font-size:13.5px;font-weight:700;color:var(--orange-light);margin-bottom:14px;}
.course-duel-side p{position:relative;font-size:14.3px;color:rgba(255,255,255,0.7);line-height:1.8;max-width:34ch;}
.course-duel-or{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:0.04em;box-shadow:0 12px 28px rgba(239,126,26,0.5);z-index:2;border:4px solid var(--navy);}
@media (max-width:750px){
  .course-duel{grid-template-columns:1fr;}
  .course-duel-side:first-child{border-right:none;border-bottom:2px dashed rgba(255,255,255,0.18);}
  .course-duel-side{padding:40px 30px;}
  .course-duel-num{font-size:76px;top:12px;right:20px;}
  .course-duel-or{position:static;margin:-27px auto;transform:none;}
}

/* ============ BRIDGE ROW (why best) ============ */
.bridge-row{display:flex;align-items:flex-start;}
.bridge-node{flex:1;min-width:0;text-align:center;padding:0 14px;transition:transform .3s ease;}
.bridge-node:hover{transform:translateY(-4px);}
.bridge-dot{width:62px;height:62px;border-radius:50%;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:19px;color:#fff;background:linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);box-shadow:0 14px 28px rgba(0,38,77,0.28);border:4px solid var(--paper);position:relative;z-index:2;}
.bridge-node.accent .bridge-dot{background:linear-gradient(135deg, var(--orange) 0%, #c9601a 100%);box-shadow:0 14px 28px rgba(239,126,26,0.32);}
.bridge-node h4{font-family:var(--display);font-weight:700;font-size:18px;color:var(--heading);margin-bottom:10px;}
.bridge-node p{font-size:13.8px;color:var(--muted);line-height:1.75;max-width:30ch;margin:0 auto;}
.bridge-connector{flex-shrink:0;width:64px;display:flex;align-items:center;justify-content:center;padding-top:20px;position:relative;}
.bridge-connector svg{position:relative;z-index:2;width:22px;height:22px;stroke:var(--orange);flex-shrink:0;}
@media (max-width:800px){
  .bridge-row{flex-direction:column;align-items:stretch;}
  .bridge-node{padding:0;}
  .bridge-node p{max-width:none;}
  .bridge-connector{width:100%;height:44px;padding-top:0;margin-left:0;justify-content:center;}
  .bridge-connector svg{transform:rotate(90deg);margin-left:0;}
}

/* ============ STAT BANDS ============ */
.stat-band{background:var(--navy);color:#fff;}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);max-width:1280px;margin:0 auto;padding:0 40px;}
.stat-item{padding:44px 26px;text-align:center;border-right:1px solid rgba(255,255,255,0.16);}
.stat-item:last-child{border-right:none;}
.stat-item .num{font-family:var(--display);font-weight:700;font-size:clamp(30px,4vw,44px);color:#fff;line-height:1;}
.stat-item .lbl{font-size:14px;font-weight:700;color:var(--orange-light);margin-top:12px;}
.stat-item .cap{font-size:12.5px;color:rgba(255,255,255,0.6);margin-top:6px;}
@media (max-width:750px){
  .stat-grid{grid-template-columns:1fr;}
  .stat-item{border-right:none;border-bottom:1px solid rgba(255,255,255,0.16);padding:30px 20px;}
  .stat-item:last-child{border-bottom:none;}
}
@media (max-width:640px){.stat-grid{padding:0 20px;}}

/* ============ PROGRAM CARDS (home teaser grid) ============ */
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.pillar{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px 26px;transition:transform .3s ease, box-shadow .3s ease;}
.pillar:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.pillar .ic{width:46px;height:46px;border-radius:12px;background:var(--orange-pale);display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.pillar .ic svg{width:22px;height:22px;stroke:var(--orange);}
.pillar .tag{display:block;font-size:11px;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--orange);margin-bottom:10px;}
.pillar h3{font-family:var(--display);font-weight:700;font-size:18px;color:var(--heading);margin-bottom:8px;line-height:1.3;}
.pillar .tagline{font-style:italic;color:var(--muted);font-size:12.5px;margin-bottom:10px;}
.pillar p{font-size:13.5px;color:var(--muted);line-height:1.7;}
.pillar .more{display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line);font-size:12.5px;font-weight:700;color:var(--heading);}
html[data-theme="dark"] .pillar .more{color:var(--heading);}
.pillar:hover .more{color:var(--orange);}
.pillar .more svg{width:13px;height:13px;stroke:currentColor;transition:transform .2s ease;}
.pillar:hover .more svg{transform:translateX(3px);}
@media (max-width:950px){.pillars{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.pillars{grid-template-columns:1fr;}}

/* ============ CTA BAND (home closing banner) ============ */
.cta-band{position:relative;background:linear-gradient(160deg, var(--navy) 0%, #001830 100%);padding:86px 0;text-align:center;overflow:hidden;}
.cta-band::before{content:"";position:absolute;left:-120px;bottom:-120px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle, rgba(239,126,26,0.18), transparent 70%);pointer-events:none;}
.cta-band::after{content:"";position:absolute;right:-100px;top:-100px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);pointer-events:none;}
.cta-band .wrap{position:relative;}
.cta-band h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3.2vw,38px);color:#fff;margin-top:14px;max-width:760px;margin-left:auto;margin-right:auto;line-height:1.28;}
.cta-band .sub{color:rgba(255,255,255,0.7);font-size:15.5px;line-height:1.7;margin-top:16px;max-width:60ch;margin-left:auto;margin-right:auto;}
.cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:32px;}
@media (max-width:600px){.cta-band{padding:64px 0;}}

.section-foot{text-align:center;margin-top:42px;}

/* ============ OUTCOME GRID ============ */
.outcome-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.outcome-item{display:flex;align-items:center;gap:14px;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:18px 20px;transition:transform .3s ease, box-shadow .3s ease;}
.outcome-item:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);}
.outcome-item .ic{width:34px;height:34px;border-radius:50%;background:var(--orange-pale);color:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.outcome-item .ic svg{width:16px;height:16px;stroke:var(--orange);}
.outcome-item span{font-size:13.8px;font-weight:700;color:var(--heading);line-height:1.4;}
@media (max-width:950px){.outcome-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.outcome-grid{grid-template-columns:1fr;}}

/* ============ PARTNER MARQUEE (placement partners) ============ */
.partner-marquee{display:flex;flex-direction:column;gap:20px;-webkit-mask-image:linear-gradient(to right, transparent, black 6%, black 94%, transparent);mask-image:linear-gradient(to right, transparent, black 6%, black 94%, transparent);}
.partner-marquee-row{overflow:hidden;}
.partner-track{display:flex;width:max-content;gap:18px;animation:partner-scroll-left 46s linear infinite;}
.partner-track.reverse{animation-name:partner-scroll-right;animation-duration:52s;}
.partner-track:hover{animation-play-state:paused;}
.partner-chip{flex-shrink:0;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 26px;display:flex;align-items:center;justify-content:center;height:78px;min-width:150px;transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;}
.partner-chip:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:transparent;}
.partner-chip img{max-width:100%;max-height:42px;width:auto;object-fit:contain;}
@keyframes partner-scroll-left{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@keyframes partner-scroll-right{from{transform:translateX(-50%);}to{transform:translateX(0);}}
@media (max-width:600px){.partner-chip{height:64px;min-width:120px;padding:10px 18px;}}
@media (prefers-reduced-motion: reduce){.partner-track{animation:none;}}

/* ============ LOGO GRID (partners) ============ */
.logo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.logo-tile{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;align-items:center;justify-content:center;height:88px;transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;}
.logo-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:transparent;}
.logo-tile img{max-width:100%;max-height:52px;width:auto;object-fit:contain;}
@media (max-width:950px){.logo-grid{grid-template-columns:repeat(4,1fr);}}
@media (max-width:600px){.logo-grid{grid-template-columns:repeat(3,1fr);gap:12px;} .logo-tile{height:72px;padding:12px;}}
@media (max-width:400px){.logo-grid{grid-template-columns:repeat(2,1fr);}}

/* ============ INFRASTRUCTURE FEATURE-SPLIT ============ */
.feature-split{display:grid;grid-template-columns:1fr 0.85fr;gap:60px;align-items:stretch;}
.feature-split.reverse{grid-template-columns:0.85fr 1fr;}
.feature-split.reverse .feature-img{order:1;}
.feature-split.reverse .feature-copy{order:2;}
.feature-copy{display:flex;flex-direction:column;justify-content:center;}
.feature-copy h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,38px);margin-top:12px;color:var(--heading);line-height:1.2;}
.feature-intro{color:var(--muted);font-size:15.5px;line-height:1.7;margin-top:14px;max-width:52ch;}
.feature-img{overflow:hidden;border-radius:22px;box-shadow:var(--shadow-lg);}
.feature-img img{width:100%;height:100%;object-fit:cover;display:block;}
.icon-feature{display:flex;gap:20px;align-items:flex-start;margin-top:34px;}
.icon-feature .ic{width:58px;height:58px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 10px 22px rgba(239,126,26,0.3);}
.icon-feature.alt .ic{background:var(--navy);box-shadow:0 10px 22px rgba(0,38,77,0.3);}
.icon-feature .ic svg{width:24px;height:24px;stroke:#fff;}
.icon-feature h4{font-family:var(--display);font-weight:700;font-size:19px;color:var(--heading);margin-bottom:8px;}
.icon-feature p{font-size:14.3px;color:var(--muted);line-height:1.75;}
@media (max-width:850px){
  .feature-split, .feature-split.reverse{grid-template-columns:1fr;gap:30px;}
  .feature-split.reverse .feature-img{order:2;}
  .feature-split.reverse .feature-copy{order:1;}
  .feature-img{height:320px;}
}

/* ============ FACILITY SHOWCASE (student facilities) ============ */
.facility-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:34px;padding-bottom:30px;border-bottom:1px solid var(--line);flex-wrap:wrap;}
.facility-intro p{font-size:15.5px;line-height:1.75;color:var(--muted);max-width:52ch;margin:0;}
.facility-intro-stat{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.facility-intro-stat .num{font-family:var(--display);font-weight:800;font-size:42px;color:var(--orange);line-height:1;}
.facility-intro-stat .lbl{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;color:var(--heading);line-height:1.4;}

.facility-bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;grid-auto-flow:dense;gap:16px;}
.facility-tile{position:relative;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--paper);cursor:pointer;padding:0;text-align:left;transition:transform .3s ease, box-shadow .3s ease;}
.facility-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.facility-tile.is-feature{grid-column:span 2;grid-row:span 2;}
.facility-tile.is-wide{grid-column:span 2;}
.facility-media{position:relative;flex:1;overflow:hidden;background:var(--navy-pale);min-height:0;}
.facility-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.facility-tile:hover .facility-media img{transform:scale(1.08);}
.facility-bar{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--navy);flex-shrink:0;}
.facility-num{font-family:var(--display);font-weight:700;font-size:13px;color:var(--orange-light);flex-shrink:0;}
.facility-name{font-family:var(--display);font-weight:700;font-size:14px;color:#fff;line-height:1.3;flex:1;min-width:0;}
.facility-arrow{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff;transition:all .25s ease;}
.facility-arrow svg{width:13px;height:13px;stroke:currentColor;}
.facility-tile:hover .facility-arrow{background:var(--orange);transform:translateX(3px);}
@media (max-width:1050px){
  .facility-bento{grid-template-columns:repeat(2,1fr);grid-auto-rows:200px;}
  .facility-tile.is-feature{grid-row:span 1;}
}
@media (max-width:560px){
  .facility-intro{flex-direction:column;align-items:flex-start;}
  .facility-bento{grid-template-columns:1fr;grid-auto-rows:220px;}
  .facility-tile.is-feature,.facility-tile.is-wide{grid-column:span 1;}
}

/* ============ GALLERY MASONRY + LIGHTBOX ============ */
.gallery-masonry{column-count:4;column-gap:18px;}
.gph{position:relative;display:block;width:100%;margin:0 0 18px;break-inside:avoid;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm);border:none;padding:0;background:none;cursor:pointer;}
.gph img{width:100%;height:auto;display:block;transition:transform .5s ease;}
.gph:hover img{transform:scale(1.06);}
.gph .cap{position:absolute;left:0;right:0;bottom:0;padding:26px 12px 10px;background:linear-gradient(0deg, rgba(0,10,25,0.82), transparent);color:#fff;font-size:11.5px;font-weight:700;text-align:left;}
@media (max-width:950px){.gallery-masonry{column-count:3;}}
@media (max-width:650px){.gallery-masonry{column-count:2;column-gap:12px;} .gph{margin-bottom:12px;}}
@media (max-width:420px){.gallery-masonry{column-count:1;}}

.lightbox-backdrop{position:fixed;inset:0;background:rgba(0,8,20,0.94);z-index:300;opacity:0;visibility:hidden;transition:opacity .25s ease, visibility .25s ease;display:flex;align-items:center;justify-content:center;padding:70px 90px 56px;}
.lightbox-backdrop.open{opacity:1;visibility:visible;}
.lightbox-figure{max-width:1100px;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:14px;}
.lightbox-img-wrap{max-width:100%;max-height:76vh;display:flex;align-items:center;justify-content:center;overflow:auto;}
.lightbox-img-wrap img{max-width:100%;max-height:76vh;border-radius:8px;box-shadow:0 30px 80px rgba(0,0,0,0.5);object-fit:contain;transition:transform .25s ease;cursor:zoom-in;}
.lightbox-img-wrap img.zoomed{max-width:none;max-height:none;transform:scale(1.9);cursor:zoom-out;}
.lightbox-caption{color:rgba(255,255,255,0.85);font-size:14px;font-weight:600;text-align:center;max-width:70ch;}
.lightbox-counter{position:absolute;top:24px;left:24px;color:rgba(255,255,255,0.8);font-size:13px;font-weight:700;letter-spacing:0.04em;}
.lightbox-toolbar{position:absolute;top:18px;right:24px;display:flex;align-items:center;gap:8px;}
.lightbox-tool{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,0.25);background:rgba(255,255,255,0.08);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;text-decoration:none;}
.lightbox-tool:hover{background:rgba(255,255,255,0.16);border-color:var(--orange-light);}
.lightbox-tool svg{width:17px;height:17px;stroke:currentColor;}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,0.25);background:rgba(255,255,255,0.08);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;}
.lightbox-nav:hover{background:rgba(255,255,255,0.16);border-color:var(--orange-light);}
.lightbox-nav svg{width:20px;height:20px;stroke:currentColor;}
.lightbox-prev{left:24px;}
.lightbox-next{right:24px;}
@media (max-width:750px){
  .lightbox-backdrop{padding:70px 16px 24px;}
  .lightbox-counter{top:14px;left:14px;font-size:11px;}
  .lightbox-toolbar{top:10px;right:14px;gap:6px;}
  .lightbox-tool{width:34px;height:34px;}
  .lightbox-tool svg{width:15px;height:15px;}
  .lightbox-nav{width:38px;height:38px;}
  .lightbox-nav svg{width:17px;height:17px;}
  .lightbox-prev{left:8px;} .lightbox-next{right:8px;}
}

/* ============ TESTIMONIALS ============ */
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.testimonial-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:30px 28px;display:flex;flex-direction:column;transition:transform .3s ease, box-shadow .3s ease;}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.testimonial-card .quote-mark{font-family:var(--display);font-size:44px;font-weight:700;color:var(--orange);line-height:1;margin-bottom:6px;}
.testimonial-card p.quote{font-size:14.3px;line-height:1.75;color:var(--ink);flex:1;}
.testimonial-foot{display:flex;align-items:center;gap:14px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);}
.testimonial-foot img{width:46px;height:46px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.testimonial-foot .nm{font-size:14px;font-weight:700;color:var(--heading);line-height:1.3;}
.testimonial-foot .rl{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.4;}
@media (max-width:950px){.testimonial-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:620px){.testimonial-grid{grid-template-columns:1fr;}}

/* ============ TESTIMONIALS SPOTLIGHT (Home) ============ */
.testi-spot{position:relative;background:linear-gradient(160deg, var(--navy) 0%, #001830 100%);border-radius:28px;box-shadow:0 30px 70px rgba(0,38,77,0.32);padding:56px 60px;display:grid;grid-template-columns:1fr auto;gap:48px;align-items:center;overflow:hidden;}
.testi-spot::before{content:"\201C";position:absolute;top:-64px;right:10px;font-family:var(--display);font-size:280px;font-weight:700;color:rgba(255,255,255,0.045);line-height:1;pointer-events:none;}
.testi-spot-content{position:relative;z-index:1;min-height:168px;}
.testi-spot-quote-ic{font-family:var(--display);font-size:46px;font-weight:700;color:var(--orange);line-height:1;margin-bottom:10px;}
.testi-spot-slide{display:none;}
.testi-spot-slide.is-active{display:block;animation:testiSpotIn .5s ease;}
@keyframes testiSpotIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
.testi-spot-text{font-family:var(--display);font-weight:500;font-size:clamp(18px,2vw,24px);line-height:1.55;color:#fff;max-width:58ch;}
.testi-spot-person{display:flex;align-items:center;gap:16px;margin-top:26px;}
.testi-spot-person img{width:54px;height:54px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,0.18);flex-shrink:0;}
.testi-spot-person .nm{font-weight:700;color:#fff;font-size:14.5px;line-height:1.3;}
.testi-spot-person .rl{color:var(--orange-light);font-size:12px;margin-top:3px;line-height:1.4;}
.testi-spot-avatars{position:relative;z-index:1;display:flex;flex-direction:column;gap:14px;flex-shrink:0;}
.testi-avatar-btn{width:56px;height:56px;border-radius:50%;padding:0;border:3px solid transparent;cursor:pointer;background:none;opacity:.45;transition:all .25s ease;flex-shrink:0;}
.testi-avatar-btn img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;pointer-events:none;}
.testi-avatar-btn:hover{opacity:.8;}
.testi-avatar-btn.is-active{opacity:1;border-color:var(--orange);transform:scale(1.1);}
@media (max-width:860px){
  .testi-spot{grid-template-columns:1fr;padding:40px 28px;gap:30px;}
  .testi-spot-avatars{flex-direction:row;flex-wrap:wrap;justify-content:center;}
}
@media (max-width:480px){
  .testi-spot{padding:34px 20px;border-radius:22px;}
}

/* ============ CONTACT ============ */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center;}
.contact-card{position:relative;overflow:hidden;background:linear-gradient(160deg, var(--navy-pale) 0%, var(--paper) 46%);border:1px solid var(--line);border-radius:20px;padding:30px;display:flex;gap:18px;align-items:flex-start;transition:transform .3s ease, box-shadow .3s ease;}
.contact-card::before{content:"";position:absolute;top:0;left:0;bottom:0;width:4px;background:var(--navy);}
.contact-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.contact-card .ic{position:relative;z-index:1;width:52px;height:52px;border-radius:15px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.contact-card .ic svg{width:22px;height:22px;stroke:#fff;}
.contact-card:nth-child(2){background:linear-gradient(160deg, var(--orange-pale) 0%, var(--paper) 46%);}
.contact-card:nth-child(2)::before{background:var(--orange);}
.contact-card:nth-child(2) .ic{background:var(--orange);}
.contact-card h4{font-family:var(--display);font-weight:700;font-size:18px;color:var(--heading);}
.contact-card .line{display:block;font-size:14.5px;font-weight:600;color:var(--ink);margin-top:6px;}
.contact-card a.line:hover{color:var(--orange);}
.contact-stack{display:flex;flex-direction:column;gap:20px;}
.map-frame{border-radius:20px;overflow:hidden;box-shadow:var(--shadow-md);border:1px solid var(--line);min-height:280px;}
.map-frame iframe{width:100%;height:100%;min-height:280px;border:none;display:block;}
@media (max-width:900px){.contact-layout{grid-template-columns:1fr;}}

/* ============ CTA TILES (Attend a Session / Study at PES) ============ */
.contact-cta-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
@media (max-width:800px){.contact-cta-row{grid-template-columns:1fr;}}
.map-frame-full{width:100%;min-height:380px;margin-top:40px;}
.map-frame-full iframe{min-height:380px;}
.cta-tile{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:40px;text-align:center;transition:transform .3s ease, box-shadow .3s ease;}
.cta-tile:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.cta-tile .ic{width:60px;height:60px;border-radius:16px;background:var(--orange-pale);display:flex;align-items:center;justify-content:center;margin:0 auto 22px;}
.cta-tile .ic svg{width:28px;height:28px;stroke:var(--orange);}
.cta-tile h3{font-family:var(--display);font-weight:700;font-size:clamp(21px,2.4vw,25px);color:var(--heading);margin-bottom:12px;}
.cta-tile p{font-size:14.5px;color:var(--muted);line-height:1.7;margin:0 auto 26px;max-width:36ch;}
.cta-tile.accent{background:linear-gradient(160deg, var(--navy) 0%, #001830 100%);border-color:transparent;}
.cta-tile.accent .ic{background:rgba(255,255,255,0.12);}
.cta-tile.accent .ic svg{stroke:var(--orange-light);}
.cta-tile.accent h3{color:#fff;}
.cta-tile.accent p{color:rgba(255,255,255,0.72);}

/* ============ RELATED CARDS ============ */
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.related-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .3s ease, box-shadow .3s ease;}
.related-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.related-img{aspect-ratio:16/10;overflow:hidden;}
.related-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.related-card:hover .related-img img{transform:scale(1.06);}
.related-body{padding:22px 24px 26px;}
.related-body h4{font-family:var(--display);font-weight:700;font-size:17px;color:var(--heading);margin-bottom:8px;}
.related-body p{font-size:13.5px;color:var(--muted);line-height:1.7;}
@media (max-width:900px){.related-grid{grid-template-columns:1fr;}}

/* ============ FOOTER ============ */
footer.site{
  position:relative;
  background-color:#00264d;
  background-image:radial-gradient(circle, rgba(255,255,255,0.07) 1.6px, transparent 1.6px),
    radial-gradient(ellipse 650px 480px at -4% -12%, rgba(239,126,26,0.28), transparent 60%),
    radial-gradient(ellipse 750px 520px at 104% 112%, rgba(0,110,210,0.40), transparent 62%),
    linear-gradient(160deg, #061428 0%, #00264d 55%, #004080 100%);
  background-size:22px 22px, auto, auto, auto;
  color:rgba(255,255,255,.82);
  padding:64px 0 26px;
  overflow:hidden;
}
.foot-brand{min-width:0;}
.foot-logo{display:flex;align-items:center;gap:10px;}
.foot-logo-img{height:36px;width:auto;display:block;}
.foot-brand-word{font-family:var(--display);font-weight:700;font-size:16px;color:#fff;}
.foot-brand p{margin-top:14px;font-size:13.3px;line-height:1.7;color:rgba(255,255,255,0.55);}
.foot-social-icons{display:flex;gap:10px;margin-top:18px;}
.foot-social-icons a{width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,0.16);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.75);transition:all .2s ease;}
.foot-social-icons a svg{width:16px;height:16px;}
.foot-social-icons a:hover{background:var(--orange);border-color:var(--orange);color:#fff;}
.foot-contact{font-size:13.3px;line-height:1.85;color:rgba(255,255,255,0.7);}
.foot-contact-gap{display:inline-block;margin-top:4px;}
.foot-contact a{color:rgba(255,255,255,0.85);}
.foot-contact a:hover{color:var(--orange-light);}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px;padding-bottom:34px;}
@media (max-width:1080px){.foot-grid{grid-template-columns:1fr 1fr;row-gap:34px;}}
.foot-col h4{font-size:12px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:rgba(255,255,255,0.42);margin-bottom:14px;}
.foot-col a{display:block;font-size:13.5px;font-weight:500;padding:6px 0;color:rgba(255,255,255,0.75);transition:color .2s ease;}
.foot-col a:hover{color:var(--orange-light);}
.foot-bottom{padding-top:22px;border-top:1px solid rgba(255,255,255,0.12);display:flex;justify-content:space-between;font-size:12px;color:rgba(255,255,255,0.4);flex-wrap:wrap;gap:10px;}
.foot-bottom a{color:inherit;transition:color .2s ease;}
.foot-bottom a:hover{color:var(--orange-light);}
.foot-bottom a.nith-credit{color:var(--orange-light);font-weight:700;}
.foot-bottom a.nith-credit:hover{color:#fff;}
@media (max-width:640px){footer.site{padding-bottom:96px;}}
@media (max-width:850px){
  .foot-grid{grid-template-columns:1fr;gap:0;padding-bottom:8px;}
  .foot-brand{padding-bottom:28px;}
  .foot-col{border-top:1px solid rgba(255,255,255,0.12);}
  .foot-col h4{cursor:pointer;padding:18px 0;margin:0;display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:15px;font-weight:700;letter-spacing:normal;text-transform:none;}
  .foot-col h4::after{content:"";width:10px;height:10px;border-right:2px solid rgba(255,255,255,0.5);border-bottom:2px solid rgba(255,255,255,0.5);transform:rotate(45deg);transition:transform .25s ease;}
  .foot-col.open h4::after{transform:rotate(-135deg);}
  .foot-col-links{max-height:0;overflow:hidden;transition:max-height .3s ease;}
  .foot-col.open .foot-col-links{max-height:700px;padding-bottom:14px;}
}

/* ============ BACK TO TOP ============ */
.back-to-top{position:fixed;right:24px;bottom:32px;z-index:120;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--heading);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow-md);opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s ease, transform .2s ease, background .15s ease;}
.back-to-top.show{opacity:1;transform:none;pointer-events:auto;}
.back-to-top:hover{background:var(--paper-2);}
.back-to-top svg{width:18px;height:18px;stroke:currentColor;}
@media (max-width:640px){.back-to-top{right:16px;bottom:20px;width:40px;height:40px;}}

.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--orange-pale);color:var(--orange);font-size:11.5px;font-weight:800;margin-left:8px;}

/* ============ HELP WIDGET ============ */

/* ============ SUBNAV CROSS-LINKS (split-out program / infrastructure pages) ============ */
/* ============ INFRASTRUCTURE TAB BAR (top of each infra sub-page) ============ */
.infra-tabs-wrap{background:var(--paper);padding:40px 0 0;}
.infra-tabs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px;}
.infra-tab{font-family:var(--display);font-weight:700;font-size:14px;padding:13px 26px;border-radius:999px;border:1.5px solid var(--line-strong);color:var(--heading);background:var(--paper);transition:all .25s ease;}
.infra-tab:hover{border-color:var(--orange);color:var(--orange);}
.infra-tab.active{background:var(--navy);border-color:var(--navy);color:#fff;}
@media (max-width:600px){.infra-tab{padding:11px 18px;font-size:13px;}}

/* ============ SITE SEARCH (command-palette launcher modal) ============ */
.search-modal-backdrop{position:fixed;inset:0;background:rgba(0,8,24,0.82);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:300;opacity:0;visibility:hidden;transition:opacity .22s ease, visibility .22s ease;}
.search-modal-backdrop.open{opacity:1;visibility:visible;}
.search-modal{position:fixed;top:14vh;left:50%;width:calc(100% - 40px);max-width:640px;background:transparent;border:none;box-shadow:none;padding:26px 28px 22px;z-index:301;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-16px) scale(0.97);transition:opacity .22s ease, transform .22s ease, visibility .22s ease;}
.search-modal.open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0) scale(1);}

.sm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.sm-brand{display:flex;align-items:center;gap:9px;font-family:var(--body);font-size:13px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,0.35);}
.sm-brand-ic{width:28px;height:28px;border-radius:8px;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.sm-brand-ic svg{width:14px;height:14px;stroke:#fff;}
.sm-close{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,0.25);background:rgba(255,255,255,0.08);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:rgba(255,255,255,0.85);border-radius:999px;padding:6px 12px 6px 10px;font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:0.03em;cursor:pointer;transition:all .2s ease;}
.sm-close svg{width:13px;height:13px;stroke:rgba(255,255,255,0.85);}
.sm-close:hover{border-color:var(--orange-light);color:var(--orange-light);background:rgba(255,255,255,0.14);}
.sm-close:hover svg{stroke:var(--orange-light);}

.sm-form{margin-bottom:22px;}
.sm-input-wrap{position:relative;display:flex;align-items:center;background:#fff;border:1.5px solid rgba(255,255,255,0.55);border-radius:999px;box-shadow:0 14px 34px rgba(0,10,25,0.22);transition:border-color .2s ease;}
.sm-input-wrap:focus-within{border-color:var(--orange);}
.sm-input-ic{position:absolute;left:20px;width:18px;height:18px;stroke:var(--muted);pointer-events:none;}
.search-modal #searchModalInput{flex:1;border:none;background:transparent;outline:none;font-family:var(--body);font-size:15px;color:#0a1626;padding:15px 56px 15px 50px;min-width:0;}
.search-modal #searchModalInput::placeholder{color:var(--muted);}
.sm-submit{position:absolute;right:6px;width:38px;height:38px;border-radius:50%;border:none;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease, transform .2s ease;flex-shrink:0;}
.sm-submit svg{width:16px;height:16px;stroke:#fff;}
.sm-submit:hover{background:var(--orange);transform:translateY(-1px);}

.sm-section{margin-top:22px;}
.sm-label{display:flex;align-items:center;gap:7px;font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.82);text-shadow:0 1px 5px rgba(0,0,0,0.3);margin-bottom:12px;}
.sm-label svg{width:12px;height:12px;stroke:rgba(255,255,255,0.82);}
.sm-pills{display:flex;flex-wrap:wrap;gap:10px;}
.sm-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,0.22);background:rgba(255,255,255,0.08);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:rgba(255,255,255,0.92);border-radius:999px;padding:8px 15px;font-family:var(--body);font-size:12.5px;font-weight:700;transition:all .2s ease;}
.sm-pill svg{width:13px;height:13px;stroke:currentColor;flex-shrink:0;}
.sm-pill:hover{border-color:var(--orange-light);color:var(--orange-light);background:rgba(255,255,255,0.14);transform:translateY(-1px);}
.sm-pill-accent{background:rgba(239,126,26,0.2);color:var(--orange-light);border-color:rgba(239,126,26,0.4);}
.sm-pill-accent:hover{background:rgba(239,126,26,0.3);color:var(--orange-light);}
.sm-pill-orange{background:var(--orange);color:#fff;border-color:transparent;}
.sm-pill-orange:hover{color:#fff;opacity:.88;}
.sm-pill-blue{background:var(--navy);color:#fff;border-color:transparent;}
.sm-pill-blue:hover{color:#fff;opacity:.88;}

.sm-tags{display:flex;flex-wrap:wrap;gap:8px;}
.sm-tag{border:1px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.07);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:rgba(255,255,255,0.7);border-radius:999px;padding:7px 13px;font-family:var(--body);font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:none;}
.sm-tag:hover{border-color:var(--orange-light);color:var(--orange-light);background:rgba(255,255,255,0.13);}

.sm-hint{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,0.25);font-family:var(--body);font-size:11.5px;color:rgba(255,255,255,0.78);text-shadow:0 1px 4px rgba(0,0,0,0.3);}
.sm-hint kbd{background:rgba(255,255,255,0.95);border:1px solid rgba(255,255,255,0.4);border-radius:5px;padding:2px 6px;font-weight:700;color:var(--navy);margin:0 1px;}

@media (max-width:640px){
  .search-modal{top:7vh;width:calc(100% - 24px);max-height:86vh;overflow-y:auto;padding:22px 18px 18px;border-radius:18px;}
  .sm-brand{font-size:12px;}
  .search-modal #searchModalInput{padding:14px 50px 14px 44px;font-size:14px;}
  .sm-input-ic{left:16px;width:16px;height:16px;}
  .sm-submit{width:34px;height:34px;}
  .sm-pills{gap:8px;}
  .sm-pill{padding:7px 13px;font-size:12px;}
  .sm-hint{gap:10px 14px;font-size:10.5px;margin-top:20px;padding-top:14px;}
}

/* ============ SEARCH RESULTS PAGE ============ */
.page-search-bar{max-width:480px;margin:0 auto 48px;position:relative;}
.page-search-bar input{width:100%;border:1.5px solid var(--line-strong);border-radius:999px;padding:13px 20px 13px 46px;font-family:var(--body);font-size:14px;color:var(--ink);background:var(--paper);transition:border-color .2s ease;}
.page-search-bar input:focus{outline:none;border-color:var(--orange);}
.page-search-bar svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--muted);}
.section-head.split{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px;}
.result-count{font-size:13px;font-weight:700;color:var(--muted);background:var(--paper);border:1px solid var(--line);padding:8px 16px;border-radius:999px;flex-shrink:0;}
.result-list{display:flex;flex-direction:column;gap:14px;}
.link-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;}
.link-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:transparent;}
.link-card .tag{font-size:11.5px;font-weight:700;color:var(--heading);background:var(--paper-2);border:1px solid var(--line);padding:5px 12px;border-radius:999px;}
.link-card h5{font-family:var(--display);font-weight:700;font-size:15.5px;color:var(--heading);margin-top:10px;}
.link-card span{font-size:12px;color:var(--muted);display:block;margin-top:3px;}
.link-card .arrow{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--paper-2);display:flex;align-items:center;justify-content:center;transition:background .3s ease;}
.link-card .arrow svg{width:13px;height:13px;stroke:var(--heading);transition:transform .3s ease, stroke .3s ease;}
.link-card:hover .arrow{background:var(--orange);}
.link-card:hover .arrow svg{stroke:#fff;transform:translate(2px,-2px);}
.search-empty{text-align:center;padding:60px 20px;color:var(--muted);font-size:15px;}

/* ============ PAGE IMAGES (programs / placements / contact) ============ */
.track-media{margin:-4px -4px 18px;border-radius:14px;overflow:hidden;aspect-ratio:16/9;}
.track-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.track-card:hover .track-media img{transform:scale(1.05);}
.photo-banner{border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg);margin-bottom:36px;}
.photo-banner img{width:100%;height:auto;max-height:420px;object-fit:cover;display:block;}
.photo-pair{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:44px;}
.photo-pair figure{margin:0;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-lg);}
.photo-pair img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;}
.photo-pair figcaption{padding:12px 16px;font-size:14px;color:var(--muted);background:var(--paper-2);}
.contact-photo{border-radius:18px;overflow:hidden;box-shadow:var(--shadow-lg);}
.contact-photo img{width:100%;height:220px;object-fit:cover;display:block;}
@media (max-width:700px){.photo-pair{grid-template-columns:1fr;}}

/* ============ PLACEMENTS MOSAIC ============ */
.place-mosaic{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:repeat(2,230px);gap:18px;margin-bottom:44px;}
.place-mosaic figure{position:relative;margin:0;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);}
.place-mosaic .pm-main{grid-row:span 2;}
.place-mosaic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease;}
.place-mosaic figure:hover img{transform:scale(1.06);}
.place-mosaic figcaption{position:absolute;inset:auto 0 0 0;padding:44px 20px 18px;color:#fff;display:flex;flex-direction:column;gap:4px;background:linear-gradient(to top,rgba(0,38,77,0.88),transparent);}
.place-mosaic figcaption strong{font-family:var(--display);font-size:18px;font-weight:700;}
.place-mosaic figcaption span{font-size:13.5px;opacity:.9;}
@media (max-width:700px){.place-mosaic{grid-template-columns:1fr;grid-template-rows:260px 190px 190px;}.place-mosaic .pm-main{grid-row:auto;}}

/* ============ PROGRAMS: module cards navy, track cards light ============ */
.module-card{background:var(--navy);border-color:transparent;color:#fff;position:relative;overflow:hidden;}
.module-card::before{content:"";position:absolute;top:-50px;right:-50px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle, rgba(239,126,26,0.22), transparent 70%);pointer-events:none;}
.module-card .module-num{background:rgba(255,255,255,0.12);color:#fff;}
.module-card h4{color:#fff;}
.module-card .module-chip-row .module-chip{color:#fff;background:rgba(255,255,255,0.09);border:1px solid rgba(255,255,255,0.18);}

.track-card{background:var(--paper);color:var(--heading);border:1px solid var(--line-strong);box-shadow:var(--shadow-md);}
.track-card::before{display:none;}
.track-kicker{color:var(--orange);background:var(--paper-2);border-color:var(--line-strong);}
.track-card h3{color:var(--heading);}
.track-card .track-tagline{color:var(--muted);}
.track-elig{color:var(--heading);background:var(--paper-2);border-color:var(--line-strong);}
.track-card .track-desc{color:var(--muted);}
.track-card .module-label{color:var(--muted);}
.track-card .module-chip{color:var(--heading);background:var(--paper-2);border-color:var(--line);}
.track-card .track-price{border-top-color:var(--line-strong);}
.track-card .track-price .line{color:var(--muted);}
.track-card .track-price .line strong{color:var(--heading);}
.track-card .track-price .scholarship{color:var(--orange);}

/* ============ PHOTO PAIR: overlay pill captions ============ */
.photo-pair figure{position:relative;}
.photo-pair img{aspect-ratio:16/10;object-position:top center;}
.photo-pair figcaption{position:absolute;left:16px;bottom:16px;display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:999px;background:var(--navy);color:#fff;font-size:14.5px;font-weight:700;box-shadow:0 10px 24px rgba(0,38,77,0.35);}
.photo-pair figcaption svg{width:18px;height:18px;flex-shrink:0;}

/* photo-pair: pill sits below the image */
.photo-pair figure{background:var(--paper);padding-bottom:16px;}
.photo-pair figcaption{position:static;margin:16px 0 0 16px;box-shadow:none;}

/* photo-pair: pill straddles the bottom edge of the image */
.photo-pair figure{overflow:visible;background:none;box-shadow:none;padding:0;margin-bottom:22px;}
.photo-pair img{border-radius:18px;box-shadow:var(--shadow-lg);}
.photo-pair figcaption{position:absolute;left:18px;bottom:-22px;margin:0;box-shadow:0 10px 24px rgba(0,38,77,0.35);}

/* ============ FACILITY TILES: name + arrow only on hover ============ */
.facility-media{position:absolute;inset:0;}
.facility-bar{position:absolute;left:0;right:0;bottom:0;padding:44px 18px 16px;background:linear-gradient(to top,rgba(0,10,25,0.8),transparent);opacity:0;transform:translateY(8px);transition:opacity .3s ease, transform .3s ease;}
.facility-tile:hover .facility-bar,.facility-tile:focus-visible .facility-bar{opacity:1;transform:none;}
.facility-num{display:none;}
.facility-name{font-size:15px;}
@media (hover:none){.facility-bar{opacity:1;transform:none;}}

/* ============ HERO WITH PHOTO (contact) ============ */
.page-hero-split{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center;}
.page-hero-photo{border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg);}
.page-hero-photo img{width:100%;height:300px;object-fit:cover;display:block;}
@media (max-width:850px){.page-hero-split{grid-template-columns:1fr;gap:28px;}.page-hero-photo img{height:240px;}}
/* ============ STAT BAND: left-aligned columns with orange tick ============ */
.stat-band .section-head,.stat-band .section-head.center{text-align:left;margin-left:0;margin-right:0;max-width:none;}
.stat-band .section-head .eyebrow{justify-content:flex-start;}
.stat-band .section-foot{text-align:left;}
.stat-grid{max-width:1200px;}
.stat-item{text-align:left;padding:50px 30px 50px 0;border-right:1px solid rgba(255,255,255,0.16);}
.stat-item:not(:first-child){padding-left:30px;}
.stat-item::before{content:"";display:block;width:34px;height:3px;border-radius:2px;background:var(--orange);margin-bottom:26px;}
.stat-item .num,.stat-item .lbl{display:inline;font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,34px);line-height:1.2;color:#fff;margin:0;}
.stat-item .lbl{margin-left:10px;}
.stat-item .cap{display:block;font-size:14px;line-height:1.6;color:rgba(255,255,255,0.7);margin-top:12px;max-width:30ch;}
@media (max-width:900px){
  .stat-item,.stat-item:not(:first-child){padding:30px 0;border-right:none;border-bottom:1px solid rgba(255,255,255,0.16);}
  .stat-item:last-child{border-bottom:none;}
}

/* ============ STAT BAND: matched to research.pes.edu "vitals" band ============ */
.stat-band{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 100% 0,rgba(239,126,26,.28),transparent 42%),linear-gradient(135deg,var(--navy) 0%,#001830 100%);}
.stat-band::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(rgba(255,255,255,.12) 1.2px,transparent 1.6px) 0 0/24px 24px;-webkit-mask:linear-gradient(90deg,#000,transparent 70%);mask:linear-gradient(90deg,#000,transparent 70%);}
html[data-theme="dark"] .stat-band{background:radial-gradient(circle at 100% 0,rgba(255,143,69,.18),transparent 42%),linear-gradient(135deg,#0b1a30 0%,#060d18 100%);}
.stat-grid{max-width:1280px;gap:0;border-top:1px solid rgba(255,255,255,.14);}
.stat-item,.stat-item:not(:first-child){padding:40px 28px 36px;border-right:0;border-left:1px solid rgba(255,255,255,.14);transition:background .3s;}
.stat-item:first-child{border-left:0;padding-left:0;}
.stat-item:hover{background:rgba(255,255,255,.04);}
.stat-item::before{width:34px;height:3px;margin-bottom:18px;border-radius:3px;transition:width .45s ease;}
.stat-item:hover::before{width:64px;}
.stat-item .num,.stat-item .lbl{font-size:clamp(1.3rem,2vw,1.85rem);line-height:1.2;}
.stat-item .cap{margin-top:10px;font-size:.86rem;line-height:1.6;color:rgba(255,255,255,.66);max-width:28ch;}
@media (max-width:900px){
  .stat-item,.stat-item:not(:first-child){padding:28px 0;border-left:0;border-bottom:1px solid rgba(255,255,255,.14);}
  .stat-item:last-child{border-bottom:0;}
}

/* stat band: left-aligned intro text, no top line */
.stat-band .section-head p{margin-left:0;margin-right:0;text-align:left;max-width:none;}
.stat-grid{border-top:0;}

/* ============ CONTACT PAGE BODY ============ */
.ct-strip{background:var(--paper);border-bottom:1px solid var(--line);}
.ct-strip-inner{max-width:1200px;margin:0 auto;padding:0 40px;display:grid;grid-template-columns:repeat(4,1fr);}
.ct-qi{display:flex;align-items:center;gap:14px;padding:24px 20px 24px 0;border-right:1px solid var(--line);color:inherit;text-decoration:none;}
.ct-qi:not(:first-child){padding-left:24px;}
.ct-qi:last-child{border-right:0;}
.ct-qi .ic,.ct-info-row .ic,.ct-map-cta .ic{width:44px;height:44px;border-radius:12px;background:var(--orange-pale);color:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ct-qi .ic svg,.ct-info-row .ic svg,.ct-map-cta .ic svg{width:20px;height:20px;}
.ct-qi .txt{display:flex;flex-direction:column;gap:2px;min-width:0;}
.ct-qi .k{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);}
.ct-qi .v{font-family:var(--display);font-weight:700;font-size:15.5px;color:var(--heading);}
.ct-qi:hover .v{color:var(--orange);}

.ct-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:34px;align-items:start;}
.ct-info-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:10px 28px;box-shadow:var(--shadow-md);}
.ct-info-row{display:flex;gap:18px;align-items:flex-start;padding:22px 0;border-bottom:1px solid var(--line);}
.ct-info-row:last-child{border-bottom:0;}
.ct-info-row h4{font-family:var(--display);font-weight:700;font-size:17px;color:var(--heading);margin-bottom:6px;}
.ct-info-row p{font-size:14.3px;line-height:1.7;color:var(--muted);margin:0;}
.ct-info-row a{display:block;font-size:14.5px;font-weight:700;color:var(--heading);margin-top:4px;}
.ct-info-row a:hover{color:var(--orange);}
.ct-note{margin-top:22px;border-radius:20px;padding:26px 28px;background:var(--navy);color:rgba(255,255,255,.8);font-size:14.3px;line-height:1.75;}
.ct-note strong{display:block;font-family:var(--display);font-size:19px;color:#fff;margin-bottom:8px;}
.ct-note .btn{margin-top:18px;}

.ct-map{position:relative;border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg);}
.ct-map iframe{width:100%;height:420px;border:0;display:block;}
.ct-map-cta{position:absolute;left:20px;bottom:20px;display:flex;align-items:center;gap:14px;background:var(--paper);padding:14px 20px 14px 14px;border-radius:16px;box-shadow:var(--shadow-md);}
.ct-map-cta h4{font-family:var(--display);font-weight:700;font-size:16px;color:var(--heading);}
.ct-map-cta a{font-size:13.5px;font-weight:700;color:var(--orange);}

.ct-faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px;}
.ct-faq{background:var(--paper);border:1px solid var(--line);border-radius:18px;transition:box-shadow .25s ease,border-color .25s ease;}
.ct-faq[open]{box-shadow:var(--shadow-md);border-color:var(--line-strong);}
.ct-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:16px;padding:20px 24px;font-family:var(--display);font-weight:700;font-size:17px;color:var(--heading);}
.ct-faq summary::-webkit-details-marker{display:none;}
.ct-faq-ic{width:32px;height:32px;border-radius:50%;background:var(--orange-pale);color:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .3s ease,background .3s ease,color .3s ease;}
.ct-faq-ic svg{width:16px;height:16px;}
.ct-faq[open] .ct-faq-ic{transform:rotate(45deg);background:var(--orange);color:#fff;}
.ct-faq p{padding:0 24px 22px 72px;font-size:14.8px;line-height:1.8;color:var(--muted);margin:0;}

.ct-cta{background:radial-gradient(circle at 100% 0,rgba(239,126,26,.28),transparent 42%),linear-gradient(135deg,var(--navy) 0%,#001830 100%);color:#fff;text-align:center;padding:76px 0;}
.ct-cta h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3.2vw,38px);margin-top:12px;color:#fff;}
.ct-cta p{color:rgba(255,255,255,.72);max-width:56ch;margin:14px auto 0;line-height:1.75;}
.ct-cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:30px;}

@media (max-width:950px){
  .ct-strip-inner{grid-template-columns:repeat(2,1fr);padding:0 20px;}
  .ct-qi,.ct-qi:not(:first-child){padding:18px 12px;border-right:0;border-bottom:1px solid var(--line);}
  .ct-qi:nth-child(odd){padding-left:0;}
  .ct-grid{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .ct-strip-inner{grid-template-columns:1fr;}
  .ct-faq p{padding-left:24px;}
  .ct-map iframe{height:320px;}
}

/* Scholarship ticket: notches cut right through the card edge (like a real ticket) */
.scholarship-card{overflow:visible;}
.scholarship-badge{border-radius:19px 0 0 19px;}
.scholarship-badge::before,.scholarship-badge::after{width:24px;height:24px;right:-13px;}
.scholarship-badge::before{top:-13px;}
.scholarship-badge::after{bottom:-13px;}
@media (max-width:560px){
  .scholarship-badge{border-radius:19px 19px 0 0;}
  .scholarship-badge::before,.scholarship-badge::after{top:auto;bottom:-13px;}
  .scholarship-badge::before{left:-13px;right:auto;}
  .scholarship-badge::after{right:-13px;left:auto;}
}
.scholarship-card{box-shadow:none;}

/* notches: full white cut (hides the card border across it) + outline on the inside curve only */
.scholarship-badge::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 12A11 11 0 0 0 23 12' fill='none' stroke='%23cbd6e3' stroke-width='1.2'/%3E%3C/svg%3E");}
.scholarship-badge::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 12A11 11 0 0 1 23 12' fill='none' stroke='%23cbd6e3' stroke-width='1.2'/%3E%3C/svg%3E");}
html[data-theme="dark"] .scholarship-badge::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 12A11 11 0 0 0 23 12' fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.2'/%3E%3C/svg%3E");}
html[data-theme="dark"] .scholarship-badge::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 12A11 11 0 0 1 23 12' fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.2'/%3E%3C/svg%3E");}
@media (max-width:560px){
  .scholarship-badge::before,html[data-theme="dark"] .scholarship-badge::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1A11 11 0 0 1 12 23' fill='none' stroke='%23cbd6e3' stroke-width='1.2'/%3E%3C/svg%3E");}
  .scholarship-badge::after,html[data-theme="dark"] .scholarship-badge::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1A11 11 0 0 0 12 23' fill='none' stroke='%23cbd6e3' stroke-width='1.2'/%3E%3C/svg%3E");}
}

/* ============ OUR FACULTY: big-number cards ============ */
#faculty .stat-grid{gap:22px;border-top:0;padding-bottom:70px;}
#faculty .stat-item,#faculty .stat-item:not(:first-child),#faculty .stat-item:first-child{position:relative;overflow:hidden;padding:34px 30px 30px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.03));transition:transform .35s ease,border-color .35s ease,background .35s ease;}
#faculty .stat-item:hover{transform:translateY(-6px);border-color:rgba(255,154,69,.55);background:linear-gradient(160deg,rgba(255,255,255,.13),rgba(255,255,255,.04));}
#faculty .stat-item::before{content:"";position:absolute;right:-40px;top:-40px;width:130px;height:130px;margin:0;border-radius:50%;background:radial-gradient(circle,rgba(239,126,26,.32),transparent 70%);transition:transform .5s ease;}
#faculty .stat-item:hover::before{transform:scale(1.5);width:130px;}
#faculty .stat-item .num{display:block;position:relative;font-size:clamp(46px,5.4vw,68px);line-height:1;color:var(--orange-light);}
#faculty .stat-item .lbl{display:block;position:relative;margin:14px 0 0;font-size:clamp(17px,1.6vw,20px);color:#fff;padding-top:14px;border-top:1px solid rgba(255,255,255,.16);}
@media (max-width:900px){
  #faculty .stat-grid{gap:16px;padding-bottom:50px;}
  #faculty .stat-item,#faculty .stat-item:not(:first-child),#faculty .stat-item:first-child{padding:26px 24px;border-bottom:1px solid rgba(255,255,255,.14);}
}
