.hero-carousel{position:relative;isolation:isolate;overflow:hidden;background:#073568;color:#fff;touch-action:pan-y;min-height:560px;height:clamp(560px,68vh,760px)}
.hero-carousel::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,27,60,.78) 0%,rgba(4,27,60,.52) 38%,rgba(4,27,60,.12) 75%),linear-gradient(0deg,rgba(4,27,60,.55),transparent 40%);pointer-events:none}
.hero-slides,.hero-slide{position:absolute;inset:0;z-index:-2;margin:0}
.hero-slide{opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease}
.hero-slide.is-active{opacity:1;visibility:visible}
.hero-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,center)}
.hero-carousel-inner{height:100%;display:flex;flex-direction:column;justify-content:center;position:relative;padding-block:30px 100px}
.hero-carousel-copy{max-width:640px}
.hero-carousel .eyebrow{color:#d8e7f8;font-size:16px;line-height:1.5;letter-spacing:3px;margin:0 0 16px}
.hero-carousel .hero-lab{font-size:clamp(26px,2.5vw,34px);font-weight:600;line-height:1.4;color:#fff;letter-spacing:2px;margin:0 0 14px}
.hero-carousel h1{font-size:clamp(42px,4.1vw,62px);font-weight:600;line-height:1.4;letter-spacing:-1px;margin:0;text-shadow:0 2px 20px #041b3c20}
.hero-carousel h1 span{color:#fff}
.hero-carousel .hero-intro{font-size:14px;line-height:2;max-width:520px;color:#f0f5fc;margin-top:22px}
.hero-carousel .hero-actions{display:flex;align-items:center;gap:28px;margin-top:30px}
.hero-carousel .hero-link{color:#fff;font-size:13px}
.hero-carousel .hero-link:hover{text-decoration:underline;text-underline-offset:5px}
.hero-carousel-bottom{position:absolute;left:0;right:0;bottom:32px;display:flex;justify-content:space-between;align-items:center;gap:25px}
.hero-controls{display:flex;align-items:center;gap:10px}
.hero-controls[hidden]{display:none}
.hero-arrow,.hero-toggle{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid #ffffff66;border-radius:50%;color:#fff;background:#07356833;cursor:pointer;transition:background .2s,border-color .2s;padding:0}
.hero-arrow:hover,.hero-toggle:hover{background:#ffffff20;border-color:#fff}
.hero-arrow svg,.hero-toggle svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.7}
.hero-toggle svg[hidden]{display:none}
.hero-toggle{width:34px;height:34px;margin-left:6px}
.hero-dots{display:flex;align-items:center;gap:6px;margin-left:7px}
.hero-dot{width:34px;height:40px;border:0;background:transparent;cursor:pointer;padding:0;display:grid;align-items:center}
.hero-dot::after{content:"";display:block;height:3px;width:100%;border-radius:2px;background:#ffffff55;transition:background .2s}
.hero-dot[aria-current="true"]::after{background:#fff}
.hero-dot:hover::after{background:#c9e2fc}
.hero-image-caption{font-size:11px;letter-spacing:.5px;color:#edf4fc;display:flex;gap:18px;align-items:center;text-shadow:0 1px 8px #0006;margin:0}
.hero-slide-count{font-variant-numeric:tabular-nums;font-size:11px;color:#ffffffa6;white-space:nowrap}
.hero-slide-count strong{font-size:15px;font-weight:500;color:#fff;margin-right:3px}
.hero-carousel :focus-visible{outline:2px solid #fff;outline-offset:5px}
.hero-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:820px){.hero-carousel{height:580px;min-height:580px}.hero-carousel-inner{padding-block:42px 125px}.hero-carousel-copy{max-width:580px}.hero-carousel h1{font-size:48px}.hero-carousel::after{background:linear-gradient(90deg,#041b3ccc,#041b3c55),linear-gradient(0deg,#041b3c99,transparent 50%)}.hero-carousel-bottom{bottom:25px}.hero-image-caption{gap:12px}}
@media(max-width:540px){.hero-carousel{height:580px;min-height:580px}.hero-carousel-inner{padding-block:34px 132px}.hero-carousel .eyebrow{font-size:12px;letter-spacing:1.4px;margin-bottom:16px}.hero-carousel .hero-lab{font-size:24px;letter-spacing:1px}.hero-carousel h1{font-size:39px;line-height:1.4;letter-spacing:-1px}.hero-carousel .hero-intro{font-size:13px;line-height:1.9;margin-top:20px}.hero-carousel .hero-actions{gap:20px;margin-top:25px}.hero-carousel .hero-link{font-size:12px}.hero-carousel-bottom{display:flex;flex-wrap:wrap;gap:17px;bottom:22px}.hero-image-caption{width:100%;font-size:10px;justify-content:space-between}.hero-controls{gap:8px}.hero-dots{gap:5px}.hero-dot{width:28px}.hero-toggle{margin-left:5px}.hero-arrow{width:37px;height:37px}.hero-carousel::after{background:linear-gradient(90deg,#041b3cc7,#041b3c66),linear-gradient(0deg,#041b3cb3,transparent 65%)}}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-dot::after,.hero-arrow,.hero-toggle{transition:none}}

/* Photo-led academic masthead. */
.hero-carousel{height:clamp(500px,62vh,650px);min-height:500px}
.hero-carousel-inner{padding-block:36px 90px}
.hero-carousel .eyebrow{font-size:14px;letter-spacing:2.3px;margin-bottom:14px}
.hero-carousel .hero-lab{font-size:clamp(26px,2.5vw,36px);letter-spacing:2px}
.hero-carousel h1{font-size:clamp(40px,3.6vw,56px);line-height:1.35;font-weight:600;letter-spacing:1px}
.hero-carousel .hero-intro{font-size:14px;line-height:1.9;max-width:560px;margin-top:19px}
.hero-carousel .hero-actions{margin-top:24px}
.hero-carousel .button-primary{border-color:#7facdc}
.hero-carousel-bottom{bottom:26px}
.hero-arrow,.hero-toggle{border-radius:0}
@media(max-width:820px){.hero-carousel{height:535px;min-height:535px}.hero-carousel-inner{padding-block:32px 105px}.hero-carousel h1{font-size:46px}.hero-carousel .hero-lab{font-size:28px}}
@media(max-width:540px){.hero-carousel{height:560px;min-height:560px}.hero-carousel-inner{padding-block:30px 130px}.hero-carousel .eyebrow{font-size:11px;letter-spacing:1.1px}.hero-carousel .hero-lab{font-size:24px;letter-spacing:.5px}.hero-carousel h1{font-size:37px;letter-spacing:0}.hero-carousel .hero-intro{font-size:13px}.hero-carousel .hero-actions{gap:18px;margin-top:22px}.hero-carousel-bottom{bottom:22px}.hero-controls{gap:8px}}
