/* E-SchoolSite Page 1 — Premium public home */
.public-home-premium{--home-ink:#102a3a;--home-deep:#071d2b;--home-muted:#617783;--home-line:#dfe9ec;--home-soft:#f4f8f8;--home-teal:#087f82;--home-teal-dark:#06666a;--home-mint:#dff4f0;--home-gold:#d8a94f;--home-radius:24px;--home-shadow:0 22px 65px rgba(9,38,52,.13)}
.public-home-premium .public-main{padding:0;background:#fff}
.public-home-premium .home-v5{overflow:hidden;background:#fff;color:var(--home-ink)}
.public-home-premium .home-v5-shell{width:min(1220px,calc(100% - 48px));margin-inline:auto}
.public-home-premium .home-v5-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--home-teal);font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.public-home-premium .home-v5-eyebrow:before{content:"";width:28px;height:2px;border-radius:999px;background:currentColor}
.public-home-premium .home-v5-eyebrow--light{color:#9ce9df}

/* Header — home-specific preview treatment */
.public-home-premium .public-header-v2{background:rgba(255,255,255,.93);border-bottom:1px solid rgba(204,220,225,.75);box-shadow:none;backdrop-filter:saturate(150%) blur(16px)}
.public-home-premium .public-header-v2.is-scrolled{background:rgba(255,255,255,.985);box-shadow:0 12px 36px rgba(8,31,44,.08)}
.public-home-premium .public-nav-wrap-v2{max-width:1220px;min-height:76px}
.public-home-premium .public-brand-mark{background:linear-gradient(145deg,#09283a,#087f82);box-shadow:0 8px 22px rgba(7,85,91,.2)}
.public-home-premium .public-brand-copy strong{font-size:15px;letter-spacing:-.015em}.public-home-premium .public-brand-copy small{font-size:10px;color:#71848d}
.public-home-premium .public-nav-desktop{gap:28px}.public-home-premium .public-nav-desktop a{font-size:13px;font-weight:700;color:#49616d}.public-home-premium .public-nav-desktop a:hover,.public-home-premium .public-nav-desktop a.active{color:#0a303f}
.public-home-premium .public-nav-desktop a.active:after{background:var(--home-teal)}
.public-home-premium .public-actions-v2 .public-signin:nth-of-type(2){display:none}
.public-home-premium .public-primary-cta{border-radius:10px;min-height:44px;padding-inline:18px;font-size:13px}

.home-v5-hero{position:relative;background:linear-gradient(180deg,#f7fbfb 0%,#ffffff 88%);border-bottom:1px solid #eef3f4}
.home-v5-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 77% 18%,rgba(13,146,143,.13),transparent 30%),radial-gradient(circle at 8% 68%,rgba(48,118,153,.06),transparent 27%);pointer-events:none}
.home-v5-hero__grid{position:relative;display:grid;grid-template-columns:minmax(0,.88fr) minmax(500px,1.12fr);align-items:center;gap:64px;min-height:680px;padding:68px 0 82px}
.home-v5-hero__copy{position:relative;z-index:2}
.home-v5-hero__copy h1{max-width:650px;margin:17px 0 22px;color:var(--home-deep);font-size:clamp(48px,5vw,72px);line-height:.98;letter-spacing:-.055em;font-weight:850}
.home-v5-hero__copy h1 span{display:block;color:var(--home-teal)}
.home-v5-hero__lead{max-width:630px;margin:0;color:var(--home-muted);font-size:17px;line-height:1.72}
.home-v5-hero__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:30px}
.home-v5-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 18px;border:1px solid transparent;border-radius:11px;text-decoration:none;font-size:14px;font-weight:800;line-height:1.1;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease}
.home-v5-button:hover{transform:translateY(-1px)}
.home-v5-button:focus-visible,.home-v5-inline-link:focus-visible,.home-v5-heading a:focus-visible,.home-v5-programme-card a:focus-visible{outline:3px solid #0b8790;outline-offset:3px}
.home-v5-button--primary{background:var(--home-teal);color:#fff;box-shadow:0 12px 28px rgba(8,127,130,.22)}
.home-v5-button--primary:hover{background:var(--home-teal-dark);color:#fff;box-shadow:0 16px 34px rgba(8,100,105,.24)}
.home-v5-button--quiet{background:#fff;border-color:#d8e4e7;color:#244453;box-shadow:0 5px 16px rgba(9,38,52,.04)}
.home-v5-button--quiet:hover{border-color:#b9d2d4;color:var(--home-teal-dark)}
.home-v5-button--secondary{background:#fff;border-color:#cbdade;color:#163846}
.home-v5-button--light{background:#fff;color:#0b3342;box-shadow:0 10px 28px rgba(0,0,0,.14)}
.home-v5-button--outline-light{border-color:rgba(255,255,255,.38);color:#fff;background:rgba(255,255,255,.06)}
.home-v5-button--outline-light:hover{background:rgba(255,255,255,.12)}
.home-v5-proof{display:flex;flex-wrap:wrap;gap:15px;margin-top:28px;padding-top:24px;border-top:1px solid #e4ecee;color:#617680;font-size:12px;font-weight:700}
.home-v5-proof span{display:inline-flex;align-items:center;gap:7px}.home-v5-proof span:before{content:"✓";display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--home-mint);color:#08716f;font-size:11px;font-weight:900}

.home-v5-hero__media{position:relative;min-height:525px}
.home-v5-hero__image{position:absolute;inset:0 0 28px 28px;margin:0;border-radius:32px;overflow:hidden;background:#d9e7e8;box-shadow:var(--home-shadow)}
.home-v5-hero__image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 56%,rgba(4,28,40,.28))}
.home-v5-hero__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:48% center}
.home-v5-hero__panel{position:absolute;left:0;bottom:0;width:min(350px,72%);display:grid;gap:5px;padding:18px 20px;border:1px solid rgba(210,226,229,.95);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 18px 48px rgba(4,30,44,.16);backdrop-filter:blur(10px)}
.home-v5-hero__panel-kicker{color:var(--home-teal);font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.home-v5-hero__panel strong{font-size:15px;color:#143746}.home-v5-hero__panel small{color:#6b7f88;font-size:11px;line-height:1.5}
.home-v5-hero__badge{position:absolute;right:-17px;top:34px;display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid rgba(219,231,234,.95);border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 14px 36px rgba(5,34,48,.11);backdrop-filter:blur(10px)}
.home-v5-hero__badge>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--home-mint);color:#087472;font-weight:950}.home-v5-hero__badge div{display:grid}.home-v5-hero__badge small{font-size:9px;color:#7d8f97;text-transform:uppercase;letter-spacing:.08em}.home-v5-hero__badge strong{font-size:11px;color:#173b49}

.home-v5-rail{position:relative;z-index:3;margin-top:-1px;background:#fff;border-bottom:1px solid #e9f0f2}
.home-v5-rail__grid{display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 12px 34px rgba(9,36,50,.04)}
.home-v5-rail article{display:flex;align-items:center;gap:14px;min-height:92px;padding:20px 24px;border-right:1px solid #e6eef0}.home-v5-rail article:last-child{border-right:0}
.home-v5-rail article>span{font-size:11px;font-weight:900;color:#0b8b89;background:#edf8f6;border:1px solid #d7eeeb;border-radius:10px;padding:7px 8px}.home-v5-rail article div{display:grid;gap:3px}.home-v5-rail strong{font-size:14px;color:#163a48}.home-v5-rail small{font-size:11px;color:#78909a}

.home-v5-section{padding-top:92px}
.home-v5-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.48fr);gap:56px;align-items:end;margin-bottom:32px}.home-v5-heading--compact{align-items:start}.home-v5-heading h2,.home-v5-journey__copy h2,.home-v5-institution__copy h2,.home-v5-community__copy h2,.home-v5-cta h2{margin:12px 0 0;color:var(--home-deep);font-size:clamp(32px,3.3vw,48px);line-height:1.06;letter-spacing:-.045em}.home-v5-heading p,.home-v5-heading__aside p{margin:0;color:#6b7f89;font-size:14px;line-height:1.7}.home-v5-heading__aside{display:grid;gap:15px}.home-v5-heading a,.home-v5-inline-link{width:max-content;color:#0b7779;text-decoration:none;font-size:13px;font-weight:850}.home-v5-heading a:hover,.home-v5-inline-link:hover{color:#075e62}.home-v5-inline-link--light{color:#baf0e8}.home-v5-inline-link--light:hover{color:#fff}

.home-v5-programmes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-v5-programme-card{overflow:hidden;border:1px solid #e0eaec;border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(9,36,50,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.home-v5-programme-card:hover{transform:translateY(-4px);border-color:#c8dddf;box-shadow:0 20px 44px rgba(9,36,50,.1)}
.home-v5-programme-card__media{position:relative;display:block;height:225px;overflow:hidden;background:#dce8ea}.home-v5-programme-card__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(4,28,40,.32))}.home-v5-programme-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.home-v5-programme-card:hover .home-v5-programme-card__media img{transform:scale(1.025)}
.home-v5-programme-card__status{position:absolute;z-index:2;left:15px;bottom:14px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.94);color:#17404d;font-size:10px;font-weight:850;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.home-v5-programme-card__body{padding:20px}.home-v5-programme-card__body>small{display:block;margin-bottom:8px;color:#6e838d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.home-v5-programme-card h3{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.025em}.home-v5-programme-card h3 a{color:#123542;text-decoration:none}.home-v5-programme-card p{min-height:50px;margin:10px 0 18px;color:#70838c;font-size:13px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-v5-programme-card__footer{display:flex;align-items:end;justify-content:space-between;gap:12px;padding-top:17px;border-top:1px solid #e8eff1}.home-v5-programme-card__footer div{display:grid;gap:2px}.home-v5-programme-card__footer span{font-size:10px;color:#84969e;text-transform:uppercase;letter-spacing:.07em}.home-v5-programme-card__footer strong{font-size:12px;color:#2d4e5a}.home-v5-programme-card__footer>a{color:#08777a;text-decoration:none;font-size:12px;font-weight:850}
.home-v5-empty{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:24px;border:1px solid #dfe9eb;border-radius:18px;background:#f8fbfb}.home-v5-empty__icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e5f4f2;color:#08777a;font-size:22px}.home-v5-empty strong{color:#193b48}.home-v5-empty p{margin:5px 0 0;color:#71858e;font-size:13px}

.home-v5-journey{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:68px;align-items:center}
.home-v5-journey__media{position:relative;min-height:560px;border-radius:28px;overflow:hidden;background:#dce7e9;box-shadow:var(--home-shadow)}.home-v5-journey__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 65%,rgba(4,27,39,.35))}.home-v5-journey__media img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;display:block}.home-v5-journey__floating{position:absolute;z-index:2;left:20px;right:20px;bottom:20px;padding:15px 17px;border:1px solid rgba(255,255,255,.36);border-radius:15px;background:rgba(9,38,51,.78);backdrop-filter:blur(12px);color:#fff}.home-v5-journey__floating span{display:block;font-size:10px;color:#a9eee6;text-transform:uppercase;letter-spacing:.1em;font-weight:850}.home-v5-journey__floating strong{display:block;margin-top:3px;font-size:15px}
.home-v5-journey__copy>p{margin:18px 0 26px;color:#677c86;font-size:14px;line-height:1.75}.home-v5-steps{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:4px}.home-v5-steps li{display:grid;grid-template-columns:48px 1fr;gap:14px;padding:15px 0;border-bottom:1px solid #e7eef0}.home-v5-steps li:last-child{border-bottom:0}.home-v5-steps li>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#edf7f5;color:#087b79;font-size:11px;font-weight:900}.home-v5-steps strong{color:#193b48;font-size:14px}.home-v5-steps p{margin:4px 0 0;color:#758992;font-size:12px;line-height:1.55}

.home-v5-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home-v5-features article{padding:23px;border:1px solid #e0e9ec;border-radius:18px;background:#fff}.home-v5-features__number{display:inline-grid;place-items:center;min-width:34px;height:28px;padding-inline:8px;border-radius:8px;background:#eef7f6;color:#087876;font-size:10px;font-weight:900}.home-v5-features h3{margin:16px 0 8px;color:#153846;font-size:17px}.home-v5-features p{margin:0;color:#71858e;font-size:13px;line-height:1.62}.home-v5-features a{display:inline-block;margin-top:14px;color:#0a7779;text-decoration:none;font-size:12px;font-weight:850}

.home-v5-institution{margin-top:100px;padding:76px 0;background:linear-gradient(125deg,#071d2b 0%,#0b3140 58%,#0a4650 100%);color:#fff}
.home-v5-institution__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);gap:64px;align-items:center}.home-v5-institution__copy h2{color:#fff;max-width:700px}.home-v5-institution__copy>p{max-width:650px;margin:19px 0 24px;color:#c6d8de;font-size:14px;line-height:1.75}.home-v5-institution__points{display:flex;flex-wrap:wrap;gap:10px}.home-v5-institution__points span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(179,221,224,.22);border-radius:999px;background:rgba(255,255,255,.055);color:#d4e7ea;font-size:11px;font-weight:750}.home-v5-institution__points span:before{content:"✓";color:#8de3d8;font-weight:900}.home-v5-institution__actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:28px}.home-v5-institution__media{min-height:410px;border-radius:24px;overflow:hidden;box-shadow:0 28px 60px rgba(0,0,0,.28)}.home-v5-institution__media img{width:100%;height:100%;object-fit:cover;display:block}

.home-v5-testimonials__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home-v5-testimonials blockquote{margin:0;padding:24px;border:1px solid #e0eaec;border-radius:18px;background:#fbfdfd}.home-v5-quote{font-size:32px;color:#0b8a88;line-height:1}.home-v5-testimonials blockquote>p{margin:4px 0 20px;color:#4c6875;font-size:14px;line-height:1.7}.home-v5-testimonials footer{display:flex;align-items:center;gap:10px}.home-v5-testimonials footer>img,.home-v5-testimonials footer>span{width:38px;height:38px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#e6f3f1;color:#0a7776;font-size:13px;font-weight:900}.home-v5-testimonials footer div{display:grid}.home-v5-testimonials footer strong{font-size:12px;color:#173b48}.home-v5-testimonials footer small{font-size:10px;color:#84959d}

.home-v5-community{display:grid;grid-template-columns:minmax(0,.82fr) minmax(500px,1.18fr);gap:60px;align-items:center;padding-bottom:94px}.home-v5-community__copy>p{margin:18px 0 22px;color:#687d87;font-size:14px;line-height:1.72}.home-v5-community__media{min-height:430px;border-radius:26px;overflow:hidden;background:#dae7e9;box-shadow:var(--home-shadow)}.home-v5-community__media img{width:100%;height:100%;object-fit:cover;display:block}

.home-v5-cta{padding:54px 0;background:#0a7b7d;color:#fff}.home-v5-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.home-v5-cta h2{margin-top:10px;color:#fff;font-size:clamp(28px,3vw,42px)}.home-v5-cta p{max-width:650px;margin:10px 0 0;color:#d4efed;font-size:13px;line-height:1.65}.home-v5-cta__actions{display:flex;gap:10px;flex-wrap:wrap;flex:0 0 auto}

/* Footer harmonisation for page 1 */
.public-home-premium .public-footer-v2{background:#061723;border-top:0}.public-home-premium .footer-inner-v2{max-width:1220px}.public-home-premium .footer-brand-block p,.public-home-premium .footer-column p,.public-home-premium .footer-bottom-v2{color:#9db0b8}.public-home-premium .footer-column h2,.public-home-premium .footer-column a,.public-home-premium .footer-brand strong{color:#eef7f8}.public-home-premium .footer-column a:hover{color:#96e3dc}

@media (max-width:1100px){
  .home-v5-hero__grid{grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);gap:38px}.home-v5-hero__copy h1{font-size:clamp(46px,5.4vw,64px)}
  .home-v5-programmes{grid-template-columns:repeat(2,1fr)}.home-v5-programme-card:nth-child(3){display:none}
  .home-v5-journey{grid-template-columns:1fr;gap:42px}.home-v5-journey__media{min-height:500px}
  .home-v5-institution__grid{grid-template-columns:1fr 430px;gap:38px}
  .home-v5-community{grid-template-columns:1fr;gap:34px}.home-v5-community__media{min-height:500px}
}

@media (max-width:900px){
  .home-v5-shell{width:min(100% - 36px,1220px)}
  .home-v5-hero__grid{grid-template-columns:1fr;min-height:auto;padding:56px 0 66px}.home-v5-hero__copy{max-width:720px}.home-v5-hero__media{max-width:760px;width:100%;min-height:510px}.home-v5-hero__badge{right:8px}
  .home-v5-rail__grid{grid-template-columns:repeat(2,1fr)}.home-v5-rail article:nth-child(2){border-right:0}.home-v5-rail article:nth-child(-n+2){border-bottom:1px solid #e6eef0}
  .home-v5-heading{grid-template-columns:1fr;gap:16px;align-items:start}.home-v5-heading__aside{max-width:620px}
  .home-v5-institution__grid{grid-template-columns:1fr;gap:36px}.home-v5-institution__media{max-width:760px;width:100%;min-height:460px}
  .home-v5-features{grid-template-columns:repeat(2,1fr)}.home-v5-testimonials__grid{grid-template-columns:1fr}
  .home-v5-cta__inner{align-items:flex-start;flex-direction:column}
}

@media (max-width:640px){
  .public-home-premium .public-nav-wrap-v2{min-height:68px}
  .home-v5-shell{width:min(100% - 28px,1220px)}
  .home-v5-eyebrow{font-size:10px;letter-spacing:.09em}.home-v5-eyebrow:before{width:20px}
  .home-v5-hero__grid{padding:42px 0 50px}.home-v5-hero__copy h1{margin-top:13px;font-size:clamp(41px,12.8vw,58px);line-height:.98}.home-v5-hero__lead{font-size:15px;line-height:1.68}
  .home-v5-hero__actions{align-items:stretch;flex-direction:column;margin-top:24px}.home-v5-button{width:100%;min-height:50px}.home-v5-proof{display:grid;gap:9px;margin-top:22px;padding-top:20px}
  .home-v5-hero__media{min-height:390px}.home-v5-hero__image{inset:0 0 26px 15px;border-radius:22px}.home-v5-hero__image img{object-position:42% center}.home-v5-hero__panel{left:0;bottom:0;width:min(315px,86%);padding:14px 15px;border-radius:14px}.home-v5-hero__badge{top:14px;right:5px;padding:8px 9px}.home-v5-hero__badge>span{width:29px;height:29px}.home-v5-hero__badge strong{font-size:10px}
  .home-v5-rail__grid{grid-template-columns:1fr}.home-v5-rail article{min-height:72px;padding:14px 16px;border-right:0!important;border-bottom:1px solid #e6eef0!important}.home-v5-rail article:last-child{border-bottom:0!important}
  .home-v5-section{padding-top:72px}.home-v5-heading{margin-bottom:24px}.home-v5-heading h2,.home-v5-journey__copy h2,.home-v5-institution__copy h2,.home-v5-community__copy h2{font-size:clamp(30px,9vw,39px)}
  .home-v5-programmes{grid-template-columns:1fr}.home-v5-programme-card:nth-child(3){display:block}.home-v5-programme-card__media{height:205px}.home-v5-programme-card p{min-height:auto}
  .home-v5-empty{grid-template-columns:1fr;text-align:center;justify-items:center}.home-v5-empty .home-v5-button{width:auto}
  .home-v5-journey{gap:30px}.home-v5-journey__media{min-height:405px;border-radius:20px}.home-v5-steps li{grid-template-columns:42px 1fr;gap:10px}.home-v5-steps li>span{width:34px;height:34px}
  .home-v5-features{grid-template-columns:1fr}
  .home-v5-institution{margin-top:76px;padding:58px 0}.home-v5-institution__points{display:grid}.home-v5-institution__actions{align-items:stretch;flex-direction:column}.home-v5-institution__actions .home-v5-inline-link{width:100%;text-align:center}.home-v5-institution__media{min-height:360px;border-radius:20px}
  .home-v5-community{padding-bottom:72px}.home-v5-community__media{min-height:330px;border-radius:20px}
  .home-v5-cta{padding:42px 0}.home-v5-cta__actions{width:100%;flex-direction:column}.home-v5-cta h2{font-size:30px}
}

@media (max-width:380px){.home-v5-hero__media{min-height:350px}.home-v5-hero__panel{max-width:280px}.home-v5-programme-card__media{height:185px}}

@media (prefers-reduced-motion:reduce){.home-v5-button,.home-v5-programme-card,.home-v5-programme-card__media img{transition:none!important}.home-v5-button:hover,.home-v5-programme-card:hover{transform:none!important}}

/* Phase 12 — mirror-glass statement hero */
.public-home-premium .home-v5-hero{
  padding:24px 0 58px;
  background:linear-gradient(180deg,#f5f8f8 0%,#ffffff 94%);
  border-bottom:1px solid #e7edef;
}
.public-home-premium .home-v5-hero:before{
  background:radial-gradient(circle at 90% 12%,rgba(112,8,22,.065),transparent 26%),radial-gradient(circle at 8% 72%,rgba(8,127,130,.07),transparent 25%);
}
.public-home-premium .home-v5-hero__stage{
  position:relative;
  min-height:680px;
  padding:0;
  overflow:hidden;
  border-radius:30px;
  background:#d9e7e8;
  box-shadow:0 28px 74px rgba(9,38,52,.17);
}
.public-home-premium .home-v5-hero__image{
  position:absolute;
  inset:0;
  z-index:1;
  margin:0;
  border-radius:0;
  overflow:hidden;
  background:#d9e7e8;
  box-shadow:none;
}
.public-home-premium .home-v5-hero__image picture,
.public-home-premium .home-v5-hero__image img{
  display:block;
  width:100%;
  height:100%;
}
.public-home-premium .home-v5-hero__image img{
  object-fit:cover;
  object-position:center center;
}
.public-home-premium .home-v5-hero__image:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(4,23,34,.015) 0%,rgba(4,23,34,.02) 62%,rgba(4,23,34,.18) 100%);
  pointer-events:none;
}
/* Reflective / mirror veil: always sits between the image and the headline. */
.public-home-premium .home-v5-hero__stage:before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0 auto 0 0;
  width:min(720px,58%);
  border-radius:30px 0 0 30px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.985) 0%,rgba(255,255,255,.965) 62%,rgba(255,255,255,.86) 82%,rgba(255,255,255,.50) 94%,rgba(255,255,255,0) 100%),
    linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.08));
  -webkit-backdrop-filter:blur(16px) saturate(132%);
  backdrop-filter:blur(16px) saturate(132%);
  pointer-events:none;
}
.public-home-premium .home-v5-hero__stage:after{
  content:"";
  position:absolute;
  z-index:2;
  left:1px;
  top:1px;
  width:min(650px,52%);
  height:34%;
  border-radius:29px 0 65% 0;
  background:linear-gradient(145deg,rgba(255,255,255,.50),rgba(255,255,255,.06) 67%,transparent 68%);
  opacity:.72;
  pointer-events:none;
}
.public-home-premium .home-v5-hero__title-card{
  position:absolute;
  z-index:4;
  top:52px;
  left:48px;
  width:min(620px,49%);
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.public-home-premium .home-v5-hero__title-card .home-v5-eyebrow{
  color:#10283f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.28em;
}
.public-home-premium .home-v5-hero__title-card .home-v5-eyebrow:before{
  width:46px;
  height:3px;
  background:#7c0d1b;
}
.public-home-premium .home-v5-hero__title-card h1{
  margin:16px 0 0;
  max-width:590px;
  color:#0c1f3f;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,4.65vw,68px);
  font-weight:700;
  line-height:.94;
  letter-spacing:-.045em;
  text-transform:uppercase;
  text-wrap:balance;
  text-shadow:0 1px 0 rgba(255,255,255,.74);
}
.public-home-premium .home-v5-hero__title-card h1 span{
  display:block;
  color:#790b19;
}
.public-home-premium .home-v5-hero__title-line{
  display:block;
  width:80px;
  height:5px;
  margin-top:20px;
  border-radius:999px;
  background:#790b19;
  box-shadow:0 1px 0 rgba(255,255,255,.6);
}
.public-home-premium .home-v5-hero__action-card{
  position:absolute;
  z-index:4;
  left:48px;
  bottom:42px;
  width:min(610px,49%);
  display:grid;
  grid-template-columns:1fr;
  align-items:start;
  gap:18px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.public-home-premium .home-v5-hero__action-copy{min-width:0}
.public-home-premium .home-v5-hero__action-kicker{
  display:none;
}
.public-home-premium .home-v5-hero__lead{
  max-width:570px;
  margin:0;
  color:#263e54;
  font-size:16px;
  line-height:1.58;
  font-weight:500;
  text-shadow:0 1px 0 rgba(255,255,255,.76);
}
.public-home-premium .home-v5-hero__actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:0;
  flex-wrap:wrap;
}
.public-home-premium .home-v5-hero__action-card .home-v5-button{
  min-height:52px;
  padding-inline:22px;
  white-space:nowrap;
  border-radius:9px;
}
.public-home-premium .home-v5-hero__action-card .home-v5-button--primary{
  background:#7b0d1b;
  box-shadow:0 12px 26px rgba(123,13,27,.22);
}
.public-home-premium .home-v5-hero__action-card .home-v5-button--primary:hover{
  background:#640914;
}
.public-home-premium .home-v5-hero__action-card .home-v5-button--quiet{
  border-color:rgba(123,13,27,.42);
  background:rgba(255,255,255,.72);
  color:#10283f;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.public-home-premium .home-v5-hero__action-card .home-v5-proof{
  display:none;
}
.public-home-premium .home-v5-rail{margin-top:0}

@media (max-width:1100px){
  .public-home-premium .home-v5-hero__stage{min-height:650px}
  .public-home-premium .home-v5-hero__stage:before{width:62%}
  .public-home-premium .home-v5-hero__title-card{left:38px;width:55%}
  .public-home-premium .home-v5-hero__action-card{left:38px;width:54%;bottom:36px}
  .public-home-premium .home-v5-hero__title-card h1{font-size:clamp(42px,5vw,61px)}
  .public-home-premium .home-v5-hero__lead{font-size:15px}
}

@media (max-width:900px){
  .public-home-premium .home-v5-hero{padding:20px 0 46px}
  .public-home-premium .home-v5-hero__stage{min-height:675px}
  .public-home-premium .home-v5-hero__stage:before{width:72%}
  .public-home-premium .home-v5-hero__stage:after{width:65%}
  .public-home-premium .home-v5-hero__title-card{top:38px;left:32px;width:62%}
  .public-home-premium .home-v5-hero__action-card{left:32px;bottom:30px;width:61%}
}

@media (max-width:640px){
  .public-home-premium .home-v5-hero{padding:14px 0 34px}
  .public-home-premium .home-v5-hero__stage{
    min-height:0;
    display:flex;
    flex-direction:column;
    gap:0;
    overflow:visible;
    border-radius:21px;
    background:#fff;
    box-shadow:0 14px 38px rgba(9,38,52,.10);
  }
  .public-home-premium .home-v5-hero__stage:before,
  .public-home-premium .home-v5-hero__stage:after{display:none}
  .public-home-premium .home-v5-hero__title-card,
  .public-home-premium .home-v5-hero__action-card,
  .public-home-premium .home-v5-hero__image{
    position:relative;
    inset:auto;
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
    width:100%;
  }
  .public-home-premium .home-v5-hero__title-card{
    order:1;
    padding:24px 21px 17px;
    border-radius:21px 21px 0 0;
    background:
      linear-gradient(145deg,rgba(255,255,255,.99),rgba(249,252,252,.96)),
      #fff;
    box-shadow:none;
  }
  .public-home-premium .home-v5-hero__title-card .home-v5-eyebrow{font-size:9px;letter-spacing:.20em}
  .public-home-premium .home-v5-hero__title-card .home-v5-eyebrow:before{width:30px;height:2px}
  .public-home-premium .home-v5-hero__title-card h1{
    margin-top:12px;
    font-size:clamp(36px,11vw,49px);
    line-height:.96;
    letter-spacing:-.04em;
  }
  .public-home-premium .home-v5-hero__title-line{width:60px;height:4px;margin-top:15px}
  .public-home-premium .home-v5-hero__action-card{
    order:2;
    padding:0 21px 23px;
    border-radius:0;
    background:#fff;
    gap:16px;
  }
  .public-home-premium .home-v5-hero__lead{font-size:14px;line-height:1.58;text-shadow:none}
  .public-home-premium .home-v5-hero__actions{display:grid;grid-template-columns:1fr;gap:9px;width:100%}
  .public-home-premium .home-v5-hero__action-card .home-v5-button{width:100%;min-height:50px}
  .public-home-premium .home-v5-hero__image{
    order:3;
    height:320px;
    border-radius:0 0 21px 21px;
    overflow:hidden;
  }
  .public-home-premium .home-v5-hero__image img{object-position:center center}
  .public-home-premium .home-v5-hero__image:after{background:linear-gradient(180deg,transparent 66%,rgba(4,23,34,.20) 100%)}
}

@media (max-width:380px){
  .public-home-premium .home-v5-hero__image{height:285px}
  .public-home-premium .home-v5-hero__title-card h1{font-size:35px}
}

/* Phase 12.1 — structural home_hero placement fix
   The managed home_hero is a content row BELOW the H1, never the H1 background. */
.public-home-premium .home-v5-hero__stage{
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:auto auto auto;
  min-height:0;
  overflow:hidden;
  background:#fff;
  isolation:isolate;
}
.public-home-premium .home-v5-hero__stage:before,
.public-home-premium .home-v5-hero__stage:after{
  display:none;
}
.public-home-premium .home-v5-hero__title-card{
  position:relative;
  z-index:5;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  width:100%;
  padding:42px 48px 30px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.995),rgba(248,251,251,.97)),
    #fff;
  border-bottom:1px solid #e7edef;
}
.public-home-premium .home-v5-hero__title-card h1{
  max-width:920px;
}
.public-home-premium .home-v5-hero__image{
  position:relative;
  z-index:1;
  inset:auto;
  width:100%;
  height:clamp(430px,43vw,610px);
  margin:0;
  overflow:hidden;
  border-radius:0;
  background:#d9e7e8;
  box-shadow:none;
}
.public-home-premium .home-v5-hero__image picture,
.public-home-premium .home-v5-hero__image img{
  width:100%;
  height:100%;
}
.public-home-premium .home-v5-hero__image img{
  object-fit:cover;
  object-position:center center;
}
.public-home-premium .home-v5-hero__image:after{
  z-index:2;
  background:linear-gradient(180deg,rgba(4,23,34,.02) 0%,rgba(4,23,34,.02) 68%,rgba(4,23,34,.14) 100%);
}
.public-home-premium .home-v5-hero__action-card{
  position:relative;
  z-index:4;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px 34px;
  padding:24px 48px 30px;
  border-top:1px solid #edf1f2;
  background:rgba(255,255,255,.985);
}
.public-home-premium .home-v5-hero__action-copy{
  max-width:720px;
}
.public-home-premium .home-v5-hero__actions{
  justify-content:flex-end;
}

@media (max-width:900px){
  .public-home-premium .home-v5-hero__title-card{padding:34px 32px 25px}
  .public-home-premium .home-v5-hero__image{height:clamp(390px,58vw,520px)}
  .public-home-premium .home-v5-hero__action-card{
    grid-template-columns:1fr;
    gap:18px;
    padding:22px 32px 28px;
  }
  .public-home-premium .home-v5-hero__actions{justify-content:flex-start}
}

@media (max-width:640px){
  .public-home-premium .home-v5-hero__stage{
    display:grid;
    grid-template-rows:auto auto auto;
    gap:0;
    overflow:hidden;
  }
  .public-home-premium .home-v5-hero__title-card{
    order:1;
    padding:24px 21px 18px;
    border-radius:21px 21px 0 0;
  }
  .public-home-premium .home-v5-hero__image{
    order:2;
    position:relative;
    width:100%;
    height:310px;
    border-radius:0;
  }
  .public-home-premium .home-v5-hero__action-card{
    order:3;
    position:relative;
    width:100%;
    padding:20px 21px 24px;
    border-radius:0 0 21px 21px;
    background:#fff;
  }
  .public-home-premium .home-v5-hero__image img{object-position:center center}
}

@media (max-width:380px){
  .public-home-premium .home-v5-hero__image{height:270px}
}

/* Explicit grid placement: DOM order intentionally does not control the visual stack. */
.public-home-premium .home-v5-hero__title-card{grid-column:1;grid-row:1}
.public-home-premium .home-v5-hero__image{grid-column:1;grid-row:2}
.public-home-premium .home-v5-hero__action-card{grid-column:1;grid-row:3}

/* Phase 12.2 — hard crop + no-overlap guarantee.
   The H1 is a separate document row. home_hero can never cover it. */
.public-home-premium .home-v5-hero__title-card{
  grid-row:1 !important;
  order:1 !important;
  position:relative !important;
  inset:auto !important;
  z-index:3 !important;
}
.public-home-premium .home-v5-hero__image{
  grid-row:2 !important;
  order:2 !important;
  position:relative !important;
  inset:auto !important;
  z-index:1 !important;
  width:100% !important;
  height:clamp(300px,34vw,480px) !important;
  max-height:480px !important;
  overflow:hidden !important;
  margin:0 !important;
  border-radius:0 !important;
}
.public-home-premium .home-v5-hero__image picture,
.public-home-premium .home-v5-hero__image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
.public-home-premium .home-v5-hero__image img{
  object-fit:cover !important;
  object-position:center 46% !important;
}
.public-home-premium .home-v5-hero__action-card{
  grid-row:3 !important;
  order:3 !important;
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
}
@media (max-width:900px){
  .public-home-premium .home-v5-hero__image{
    height:clamp(285px,48vw,390px) !important;
    max-height:390px !important;
  }
}
@media (max-width:640px){
  .public-home-premium .home-v5-hero__image{
    height:280px !important;
    max-height:280px !important;
  }
  .public-home-premium .home-v5-hero__image img{
    object-position:center 42% !important;
  }
}
@media (max-width:380px){
  .public-home-premium .home-v5-hero__image{
    height:250px !important;
    max-height:250px !important;
  }
}

/* Phase 12.3 — dynamic image-strip hero.
   The H1 remains a separate row above the rotating banner; images never cover it. */
.public-home-premium .home-v5-hero-carousel{
  position:relative!important;
  isolation:isolate;
  background:#dce9f2!important;
}
.public-home-premium .home-v5-hero-carousel__viewport{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#dce9f2;
}
.public-home-premium .home-v5-hero-carousel__track{
  display:flex;
  width:100%;
  height:100%;
  transform:translate3d(0,0,0);
  transition:transform .78s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.public-home-premium .home-v5-hero-carousel__slide{
  position:relative;
  flex:0 0 100%;
  width:100%;
  min-width:100%;
  height:100%;
  overflow:hidden;
  background:#dce9f2;
}
.public-home-premium .home-v5-hero-carousel__slide picture,
.public-home-premium .home-v5-hero-carousel__slide img{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.public-home-premium .home-v5-hero-carousel__slide img{
  object-fit:cover!important;
  object-position:center 48%!important;
  transform:scale(1.008);
  transition:transform 6.5s ease-out;
}
.public-home-premium .home-v5-hero-carousel__slide.is-active img{
  transform:scale(1.035);
}
.public-home-premium .home-v5-hero-carousel:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(8,35,63,0) 58%,rgba(8,35,63,.20) 100%);
}
.public-home-premium .home-v5-hero-carousel__controls{
  position:absolute;
  right:18px;
  bottom:16px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:6px 7px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  background:rgba(255,255,255,.90);
  box-shadow:0 10px 28px rgba(8,35,63,.20);
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  backdrop-filter:blur(12px) saturate(130%);
}
.public-home-premium .home-v5-hero-carousel__arrow,
.public-home-premium .home-v5-hero-carousel__pause,
.public-home-premium .home-v5-hero-carousel__dot{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  cursor:pointer;
  font:inherit;
}
.public-home-premium .home-v5-hero-carousel__arrow,
.public-home-premium .home-v5-hero-carousel__pause{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:transparent;
  color:var(--brand-blue-900,#08233f);
  font-size:21px;
  font-weight:800;
  line-height:1;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.public-home-premium .home-v5-hero-carousel__pause{
  font-size:11px;
  letter-spacing:-.08em;
}
.public-home-premium .home-v5-hero-carousel__arrow:hover,
.public-home-premium .home-v5-hero-carousel__pause:hover{
  background:var(--brand-blue-50,#f2f8ff);
  color:var(--brand-blue-700,#0b4f86);
}
.public-home-premium .home-v5-hero-carousel__arrow:active,
.public-home-premium .home-v5-hero-carousel__pause:active{transform:scale(.94)}
.public-home-premium .home-v5-hero-carousel__dots{
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 2px;
}
.public-home-premium .home-v5-hero-carousel__dot{
  width:8px;
  height:8px;
  padding:0;
  border-radius:999px;
  background:#aec2d2;
  transition:width .22s ease,background-color .22s ease;
}
.public-home-premium .home-v5-hero-carousel__dot.is-active{
  width:25px;
  background:linear-gradient(90deg,var(--brand-blue-600,#176fbe),var(--brand-green-600,#198754));
}
.public-home-premium .home-v5-hero-carousel__arrow:focus-visible,
.public-home-premium .home-v5-hero-carousel__pause:focus-visible,
.public-home-premium .home-v5-hero-carousel__dot:focus-visible{
  outline:3px solid rgba(23,111,190,.30)!important;
  outline-offset:2px;
}
@media (max-width:640px){
  .public-home-premium .home-v5-hero-carousel__slide img{
    object-position:center center!important;
    transform:scale(1.006);
  }
  .public-home-premium .home-v5-hero-carousel__slide.is-active img{transform:scale(1.025)}
  .public-home-premium .home-v5-hero-carousel__controls{
    right:11px;
    bottom:10px;
    min-height:38px;
    padding:4px 5px;
    gap:5px;
  }
  .public-home-premium .home-v5-hero-carousel__arrow,
  .public-home-premium .home-v5-hero-carousel__pause{width:28px;height:28px}
}
@media (prefers-reduced-motion:reduce){
  .public-home-premium .home-v5-hero-carousel__track,
  .public-home-premium .home-v5-hero-carousel__slide img{transition:none!important}
  .public-home-premium .home-v5-hero-carousel__slide img,
  .public-home-premium .home-v5-hero-carousel__slide.is-active img{transform:none!important}
}

/* Phase 12.4 — carousel reliability hardening. */
.public-home-premium .home-v5-hero-carousel__slide.has-image-error{
  background:
    radial-gradient(circle at 78% 35%,rgba(25,135,84,.20),transparent 34%),
    linear-gradient(135deg,var(--brand-blue-900,#08233f),var(--brand-blue-600,#176fbe) 58%,var(--brand-green-600,#198754));
}
.public-home-premium .home-v5-hero-carousel__slide.has-image-error img{opacity:0}

/* Phase 12.5 — hero v5: validated cross-fade carousel.
   Slides are stacked rather than moving a flex track. This avoids empty translated
   frames when a tenant/custom image or a static asset fails to resolve. */
.public-home-premium .home-v5-hero-carousel__viewport,
.public-home-premium .home-v5-hero-carousel__track{
  position:relative;
  width:100%;
  height:100%;
}
.public-home-premium .home-v5-hero-carousel__track{
  display:block;
  transform:none!important;
  transition:none!important;
  overflow:hidden;
}
.public-home-premium .home-v5-hero-carousel__slide{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  min-width:0;
  height:100%;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(2.2%,0,0) scale(1.008);
  transition:opacity .62s ease,transform .78s cubic-bezier(.22,.61,.36,1),visibility 0s linear .78s;
  background:#dce9f2;
}
.public-home-premium .home-v5-hero-carousel__slide.is-active{
  z-index:1;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate3d(0,0,0) scale(1);
  transition-delay:0s;
}
.public-home-premium .home-v5-hero-carousel__slide[hidden]{display:none!important}
.public-home-premium .home-v5-hero-carousel__slide picture,
.public-home-premium .home-v5-hero-carousel__slide img{
  position:absolute;
  inset:0;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 48%!important;
}
.public-home-premium .home-v5-hero-carousel__slide img,
.public-home-premium .home-v5-hero-carousel__slide.is-active img{
  transform:none!important;
  transition:none!important;
  opacity:1;
}
.public-home-premium .home-v5-hero-carousel.is-validating .home-v5-hero-carousel__controls{
  opacity:0;
  pointer-events:none;
}
.public-home-premium .home-v5-hero-carousel.is-carousel-ready .home-v5-hero-carousel__controls{
  opacity:1;
}
.public-home-premium .home-v5-hero-carousel__controls[hidden]{display:none!important}
.public-home-premium .home-v5-hero-carousel__brand-fallback{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 80% 28%,rgba(32,165,90,.34),transparent 28%),
    radial-gradient(circle at 20% 72%,rgba(255,255,255,.20),transparent 32%),
    linear-gradient(135deg,#083b70 0%,#146fb5 54%,#179b58 100%);
}
.public-home-premium .home-v5-hero-carousel__brand-fallback:before{
  content:"Learning. Connected.";
  position:absolute;
  left:clamp(24px,6vw,78px);
  bottom:clamp(24px,5vw,62px);
  color:#fff;
  font-size:clamp(24px,4vw,54px);
  font-weight:800;
  letter-spacing:-.035em;
  text-shadow:0 2px 16px rgba(0,0,0,.18);
}
@media (max-width:640px){
  .public-home-premium .home-v5-hero-carousel__slide picture,
  .public-home-premium .home-v5-hero-carousel__slide img{object-position:center center!important}
}
@media (prefers-reduced-motion:reduce){
  .public-home-premium .home-v5-hero-carousel__slide,
  .public-home-premium .home-v5-hero-carousel__slide.is-active{transition:none!important;transform:none!important}
}

/* Phase 12.6 — desktop structural reflow / frame simplification
   Goal: use the available viewport confidently, keep one consistent alignment grid,
   and prevent the homepage from looking like small cards floating in a large canvas. */
.public-home-premium{
  --home-shell-wide:min(92vw,1480px);
  --home-section-space:clamp(72px,6vw,112px);
}
.public-home-premium .home-v5-shell{
  width:var(--home-shell-wide)!important;
  max-width:none!important;
}
.public-home-premium .public-nav-wrap-v2,
.public-home-premium .footer-inner-v2,
.public-home-premium .footer-bottom-v2{
  width:min(94vw,1520px)!important;
  max-width:none!important;
}
.public-home-premium .public-nav-wrap-v2{
  min-height:78px;
  height:auto;
  padding-block:10px;
}
.public-home-premium .public-brand-copy strong{font-size:17px}
.public-home-premium .public-brand-copy small{font-size:10.5px}
.public-home-premium .public-nav-desktop{gap:clamp(6px,1vw,18px)}
.public-home-premium .public-nav-desktop a{font-size:13px;padding:11px 14px}
.public-home-premium .public-signin{font-size:12.5px}
.public-home-premium .public-primary-cta{font-size:12.5px;min-height:46px}

.public-home-premium .home-v5-hero{
  padding:28px 0 0;
  background:linear-gradient(180deg,#f4f9fd 0%,#f8fbfd 48%,#fff 100%);
}
.public-home-premium .home-v5-hero__stage{
  width:100%;
  border:1px solid #dce8ef;
  border-radius:26px;
  box-shadow:0 18px 54px rgba(10,49,78,.10);
}
.public-home-premium .home-v5-hero__title-card{
  padding:clamp(30px,3.2vw,52px) clamp(28px,4vw,64px) clamp(24px,2.4vw,38px);
  background:linear-gradient(135deg,#fff 0%,#f7fbfd 100%);
}
.public-home-premium .home-v5-hero__title-card h1{
  max-width:1100px;
  font-family:var(--font-ui,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif);
  font-size:clamp(46px,4.15vw,74px);
  line-height:.98;
  letter-spacing:-.052em;
  text-transform:none;
}
.public-home-premium .home-v5-hero__title-card h1 span{
  display:inline;
  color:var(--brand-green-700,#147a4a);
}
.public-home-premium .home-v5-hero__title-card .home-v5-eyebrow{color:var(--brand-blue-800,#0d4676)}
.public-home-premium .home-v5-hero__title-card .home-v5-eyebrow:before,
.public-home-premium .home-v5-hero__title-line{background:linear-gradient(90deg,var(--brand-blue-600,#176fbe),var(--brand-green-600,#198754))}
.public-home-premium .home-v5-hero__image{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:380px!important;
  aspect-ratio:2.72 / 1;
  background:#dbe8f0!important;
}
.public-home-premium .home-v5-hero__image img{object-position:center center!important}
.public-home-premium .home-v5-hero__action-card{
  grid-template-columns:minmax(0,1.3fr) auto;
  padding:clamp(22px,2vw,32px) clamp(28px,4vw,64px) clamp(26px,2.4vw,38px);
  gap:20px 42px;
}
.public-home-premium .home-v5-hero__action-copy{max-width:900px}
.public-home-premium .home-v5-hero__lead{max-width:860px;font-size:16px;line-height:1.65;color:#425d70}
.public-home-premium .home-v5-hero__action-card .home-v5-button--primary{
  background:linear-gradient(135deg,var(--brand-blue-700,#0b5f9f),var(--brand-blue-600,#176fbe));
  box-shadow:0 12px 28px rgba(23,111,190,.20);
}
.public-home-premium .home-v5-hero__action-card .home-v5-button--primary:hover{background:var(--brand-blue-800,#0d4676)}
.public-home-premium .home-v5-hero__action-card .home-v5-button--quiet{border-color:#bfd4e4;color:#123b62;background:#fff}

.public-home-premium .home-v5-rail{margin-top:0;background:#fff}
.public-home-premium .home-v5-rail__grid{
  border-inline:1px solid #e4edf2;
  border-bottom:1px solid #e4edf2;
  border-radius:0 0 20px 20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(14,52,77,.04);
}
.public-home-premium .home-v5-rail article{min-height:96px;padding:20px clamp(18px,2vw,30px)}
.public-home-premium .home-v5-rail strong{font-size:15px}
.public-home-premium .home-v5-rail small{font-size:12px}

.public-home-premium .home-v5-section{
  padding-top:var(--home-section-space);
  padding-bottom:var(--home-section-space);
}
.public-home-premium .home-v5-section + .home-v5-section{padding-top:clamp(42px,4vw,72px)}
.public-home-premium .home-v5-heading{
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.65fr);
  gap:clamp(36px,5vw,86px);
  margin-bottom:clamp(30px,3vw,46px);
}
.public-home-premium .home-v5-heading h2,
.public-home-premium .home-v5-journey__copy h2,
.public-home-premium .home-v5-institution__copy h2,
.public-home-premium .home-v5-community__copy h2{
  font-size:clamp(36px,3.2vw,54px);
  line-height:1.04;
}
.public-home-premium .home-v5-heading p,
.public-home-premium .home-v5-heading__aside p,
.public-home-premium .home-v5-journey__copy>p,
.public-home-premium .home-v5-community__copy>p,
.public-home-premium .home-v5-institution__copy>p{font-size:15px;line-height:1.72}

.public-home-premium .home-v5-empty{
  min-height:132px;
  padding:28px 30px;
  border-radius:18px;
  background:linear-gradient(135deg,#f8fbfd,#f2f8fb);
}
.public-home-premium .home-v5-empty strong{font-size:16px}
.public-home-premium .home-v5-empty p{font-size:13.5px}
.public-home-premium .home-v5-programmes{gap:24px}
.public-home-premium .home-v5-programme-card__media{height:auto;aspect-ratio:16/9}

.public-home-premium .home-v5-journey{
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  gap:clamp(48px,6vw,96px);
  align-items:center;
}
.public-home-premium .home-v5-journey__media{
  min-height:0;
  aspect-ratio:4 / 3;
  border-radius:24px;
}
.public-home-premium .home-v5-journey__copy{max-width:680px}
.public-home-premium .home-v5-steps li{padding:17px 0}
.public-home-premium .home-v5-steps strong{font-size:15px}
.public-home-premium .home-v5-steps p{font-size:13px}

.public-home-premium .home-v5-features{gap:20px}
.public-home-premium .home-v5-features article{padding:28px;border-radius:20px}
.public-home-premium .home-v5-features h3{font-size:19px}
.public-home-premium .home-v5-features p{font-size:13.5px}

.public-home-premium .home-v5-institution{
  margin-top:0;
  padding:clamp(72px,6vw,110px) 0;
  background:linear-gradient(115deg,#082d52 0%,#0b4f78 52%,#13724d 100%);
}
.public-home-premium .home-v5-institution__grid{
  grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
  gap:clamp(48px,6vw,100px);
}
.public-home-premium .home-v5-institution__copy{max-width:740px}
.public-home-premium .home-v5-institution__media{
  min-height:0;
  aspect-ratio:16 / 10;
  border-radius:24px;
}

.public-home-premium .home-v5-community{
  grid-template-columns:minmax(400px,.78fr) minmax(560px,1.22fr);
  gap:clamp(48px,6vw,100px);
  align-items:center;
}
.public-home-premium .home-v5-community__copy{max-width:650px}
.public-home-premium .home-v5-community__media{
  min-height:0;
  aspect-ratio:16 / 10;
  border-radius:24px;
}
.public-home-premium .home-v5-cta{padding:clamp(50px,4.5vw,76px) 0;background:linear-gradient(105deg,#0d5d9e 0%,#1374b8 48%,#178a55 100%)}
.public-home-premium .home-v5-cta__inner{gap:64px}
.public-home-premium .home-v5-cta__inner>div:first-child{max-width:900px}
.public-home-premium .home-v5-cta h2{font-size:clamp(32px,3vw,48px)}
.public-home-premium .home-v5-cta p{font-size:14px}
.public-home-premium .public-footer-v2{margin-top:0!important}

/* Large-monitor resilience: preserve visual scale when the viewport is unusually wide. */
@media (min-width:1800px){
  .public-home-premium{--home-shell-wide:min(88vw,2100px)}
  .public-home-premium .public-nav-wrap-v2,
  .public-home-premium .footer-inner-v2,
  .public-home-premium .footer-bottom-v2{width:min(90vw,2150px)!important}
  .public-home-premium .home-v5-heading{grid-template-columns:minmax(0,1.2fr) minmax(420px,.58fr)}
  .public-home-premium .home-v5-hero__image{aspect-ratio:3 / 1;min-height:460px!important}
  .public-home-premium .home-v5-journey__copy,
  .public-home-premium .home-v5-community__copy,
  .public-home-premium .home-v5-institution__copy{max-width:780px}
}

@media (max-width:1100px){
  .public-home-premium{--home-shell-wide:min(100% - 40px,1000px)}
  .public-home-premium .home-v5-hero__action-card{grid-template-columns:1fr}
  .public-home-premium .home-v5-hero__actions{justify-content:flex-start}
  .public-home-premium .home-v5-journey,
  .public-home-premium .home-v5-institution__grid,
  .public-home-premium .home-v5-community{grid-template-columns:1fr;gap:38px}
  .public-home-premium .home-v5-journey__copy,
  .public-home-premium .home-v5-community__copy,
  .public-home-premium .home-v5-institution__copy{max-width:760px}
  .public-home-premium .home-v5-journey__media,
  .public-home-premium .home-v5-institution__media,
  .public-home-premium .home-v5-community__media{width:100%;max-width:none}
}

@media (max-width:720px){
  .public-home-premium{--home-shell-wide:calc(100% - 28px);--home-section-space:68px}
  .public-home-premium .public-nav-wrap-v2,
  .public-home-premium .footer-inner-v2,
  .public-home-premium .footer-bottom-v2{width:calc(100% - 28px)!important}
  .public-home-premium .home-v5-hero{padding-top:14px}
  .public-home-premium .home-v5-hero__stage{border-radius:20px}
  .public-home-premium .home-v5-hero__title-card{padding:24px 20px 20px}
  .public-home-premium .home-v5-hero__title-card h1{font-size:clamp(38px,11.5vw,54px);line-height:1}
  .public-home-premium .home-v5-hero__image{aspect-ratio:4 / 3;min-height:260px!important;height:auto!important;max-height:none!important}
  .public-home-premium .home-v5-hero__action-card{padding:20px;gap:18px}
  .public-home-premium .home-v5-hero__actions{display:grid;grid-template-columns:1fr}
  .public-home-premium .home-v5-hero__action-card .home-v5-button{width:100%}
  .public-home-premium .home-v5-rail__grid{border-radius:0 0 16px 16px}
  .public-home-premium .home-v5-heading{grid-template-columns:1fr;gap:14px}
  .public-home-premium .home-v5-heading h2,
  .public-home-premium .home-v5-journey__copy h2,
  .public-home-premium .home-v5-institution__copy h2,
  .public-home-premium .home-v5-community__copy h2{font-size:clamp(30px,9vw,40px)}
  .public-home-premium .home-v5-empty{grid-template-columns:1fr;text-align:left;justify-items:start}
  .public-home-premium .home-v5-empty .home-v5-button{width:100%}
  .public-home-premium .home-v5-journey__media,
  .public-home-premium .home-v5-institution__media,
  .public-home-premium .home-v5-community__media{aspect-ratio:4 / 3;border-radius:18px}
  .public-home-premium .home-v5-cta__inner{align-items:stretch;gap:26px}
  .public-home-premium .home-v5-cta__actions{display:grid;grid-template-columns:1fr;width:100%}
}

/* Final landing-page engagement pass — dynamic hero copy + programme discovery. */
.public-home-premium .home-v5-hero__title-card{
  min-height:clamp(245px,18vw,300px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
}
.public-home-premium .home-v5-hero__title-card h1{
  max-width:980px;
  margin:14px 0 12px;
}
.public-home-premium .home-v5-hero__title-card h1 .home-v5-hero__title-main,
.public-home-premium .home-v5-hero__title-card h1 .home-v5-hero__title-accent{
  display:block!important;
}
.public-home-premium .home-v5-hero__title-card h1 .home-v5-hero__title-main{
  color:var(--brand-blue-900,#08233f)!important;
}
.public-home-premium .home-v5-hero__title-card h1 .home-v5-hero__title-accent{
  color:var(--brand-green-700,#147a4a)!important;
}
.public-home-premium .home-v5-hero__title-summary{
  max-width:790px;
  margin:0 0 18px;
  color:#4a6476;
  font-size:clamp(14px,1.25vw,17px);
  line-height:1.65;
  font-weight:520;
}
.public-home-premium .home-v5-hero__title-line{
  width:clamp(58px,6vw,92px);
  height:4px;
  border-radius:999px;
}
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-eyebrow],
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-title-main],
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-title-accent],
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-summary],
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-action-kicker],
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-action-lead]{
  animation:homeHeroCopyIn .68s cubic-bezier(.22,.61,.36,1) both;
}
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-title-main]{animation-delay:.04s}
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-title-accent]{animation-delay:.09s}
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-summary]{animation-delay:.14s}
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-action-kicker]{animation-delay:.18s}
.public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-action-lead]{animation-delay:.22s}
@keyframes homeHeroCopyIn{
  from{opacity:0;transform:translate3d(0,12px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

/* Gentle editorial pan while a banner is active. The image remains fully cropped
   by the carousel viewport, so movement never changes the page layout. */
.public-home-premium .home-v5-hero-carousel__slide picture{
  transform-origin:center center;
  will-change:transform;
}
.public-home-premium .home-v5-hero-carousel__slide.is-active[data-home-hero-pan="right"] picture{
  animation:homeHeroPanRight 7s cubic-bezier(.18,.7,.2,1) both;
}
.public-home-premium .home-v5-hero-carousel__slide.is-active[data-home-hero-pan="left"] picture{
  animation:homeHeroPanLeft 7s cubic-bezier(.18,.7,.2,1) both;
}
@keyframes homeHeroPanRight{
  from{transform:scale(1.035) translate3d(-1.25%,0,0)}
  to{transform:scale(1.075) translate3d(1.25%,0,0)}
}
@keyframes homeHeroPanLeft{
  from{transform:scale(1.075) translate3d(1.25%,0,0)}
  to{transform:scale(1.035) translate3d(-1.25%,0,0)}
}

/* Study opportunities — make an empty directory feel intentional rather than unfinished. */
.public-home-premium .home-v5-opportunity-empty{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  min-height:360px;
  overflow:hidden;
  border:1px solid #d9e7ef;
  border-radius:24px;
  background:linear-gradient(135deg,#f7fbfe 0%,#ffffff 58%,#f1faf5 100%);
  box-shadow:0 18px 48px rgba(9,49,77,.08);
}
.public-home-premium .home-v5-opportunity-empty__media{
  position:relative;
  min-height:340px;
  overflow:hidden;
  background:#dcebf3;
}
.public-home-premium .home-v5-opportunity-empty__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 52%,rgba(4,35,59,.48) 100%);
  pointer-events:none;
}
.public-home-premium .home-v5-opportunity-empty__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 46%;
  transition:transform .8s cubic-bezier(.22,.61,.36,1);
}
.public-home-premium .home-v5-opportunity-empty:hover .home-v5-opportunity-empty__media img{transform:scale(1.025)}
.public-home-premium .home-v5-opportunity-empty__media>span{
  position:absolute;
  left:24px;
  bottom:22px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  background:rgba(6,48,78,.76);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  backdrop-filter:blur(10px);
}
.public-home-premium .home-v5-opportunity-empty__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(32px,4vw,62px);
}
.public-home-premium .home-v5-opportunity-empty__kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--brand-green-700,#147a4a);
  font-size:11px;
  font-weight:850;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.public-home-premium .home-v5-opportunity-empty__kicker:before{
  content:"";
  width:24px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
.public-home-premium .home-v5-opportunity-empty__body h3{
  max-width:650px;
  margin:14px 0 12px;
  color:var(--brand-blue-900,#08233f);
  font-size:clamp(28px,2.6vw,42px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.public-home-premium .home-v5-opportunity-empty__body p{
  max-width:680px;
  margin:0;
  color:#587082;
  font-size:15px;
  line-height:1.72;
}
.public-home-premium .home-v5-opportunity-empty__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

@media (max-width:900px){
  .public-home-premium .home-v5-opportunity-empty{grid-template-columns:1fr}
  .public-home-premium .home-v5-opportunity-empty__media{min-height:300px;aspect-ratio:16/9}
  .public-home-premium .home-v5-opportunity-empty__body{padding:32px}
}
@media (max-width:720px){
  .public-home-premium .home-v5-hero__title-card{min-height:265px}
  .public-home-premium .home-v5-hero__title-card h1{margin-top:12px}
  .public-home-premium .home-v5-hero__title-summary{font-size:14px;line-height:1.58;margin-bottom:14px}
  .public-home-premium .home-v5-opportunity-empty{border-radius:18px}
  .public-home-premium .home-v5-opportunity-empty__media{min-height:230px;aspect-ratio:4/3}
  .public-home-premium .home-v5-opportunity-empty__body{padding:26px 22px}
  .public-home-premium .home-v5-opportunity-empty__body h3{font-size:clamp(27px,8vw,36px)}
  .public-home-premium .home-v5-opportunity-empty__actions{display:grid;grid-template-columns:1fr;width:100%}
  .public-home-premium .home-v5-opportunity-empty__actions .home-v5-button{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-eyebrow],
  .public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-title-main],
  .public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-title-accent],
  .public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-summary],
  .public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-action-kicker],
  .public-home-premium .home-v5-hero__stage.is-copy-entering [data-home-hero-action-lead],
  .public-home-premium .home-v5-hero-carousel__slide.is-active picture{
    animation:none!important;
  }
  .public-home-premium .home-v5-opportunity-empty__media img{transition:none!important}
}

/* Phase 12.8 — premium compact opening hero.
   Brand identity occupies the former headline row; campaign copy now lives directly
   on each banner image so the landing-page opening is shorter and more engaging. */
.public-home-premium .home-v5-hero{
  padding-top:18px;
}
.public-home-premium .home-v5-hero__stage{
  grid-template-rows:auto auto auto;
}
.public-home-premium .home-v5-hero__brand-card{
  min-height:0!important;
  display:flex!important;
  align-items:center;
  gap:18px;
  padding:18px clamp(24px,3.4vw,52px)!important;
  background:linear-gradient(135deg,#ffffff 0%,#f5faff 64%,#f2fbf6 100%)!important;
  border-bottom:1px solid #dce8ef;
}
.public-home-premium .home-v5-hero__brand-mark{
  flex:0 0 auto;
  width:58px;
  height:58px;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(7,50,89,.14));
}
.public-home-premium .home-v5-hero__brand-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.public-home-premium .home-v5-hero__brand-copy h1{
  max-width:none!important;
  margin:0!important;
  color:var(--brand-blue-900,#08233f)!important;
  font-family:var(--font-ui,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif)!important;
  font-size:clamp(28px,2.45vw,40px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  text-transform:none!important;
  font-weight:850!important;
}
.public-home-premium .home-v5-hero__brand-copy p{
  margin:5px 0 0;
  color:var(--brand-green-700,#147a4a);
  font-size:clamp(10px,.92vw,13px);
  line-height:1.25;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.public-home-premium .home-v5-hero__brand-rule{
  width:clamp(70px,8vw,128px);
  height:3px;
  margin-left:auto;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand-blue-600,#176fbe),var(--brand-green-600,#198754));
}

.public-home-premium .home-v5-hero__image{
  min-height:390px!important;
  aspect-ratio:2.58 / 1!important;
}
.public-home-premium .home-v5-hero-carousel__slide:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(5,27,48,.83) 0%,rgba(5,37,65,.72) 29%,rgba(5,37,65,.30) 52%,rgba(5,37,65,0) 72%),
    linear-gradient(180deg,rgba(4,23,34,.02) 52%,rgba(4,23,34,.24) 100%);
}
.public-home-premium .home-v5-hero-carousel__caption{
  position:absolute;
  z-index:4;
  left:clamp(28px,4.2vw,66px);
  top:50%;
  width:min(650px,50%);
  transform:translateY(-50%);
  color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}
.public-home-premium .home-v5-hero-carousel__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:#a8f1ca;
  font-size:11px;
  font-weight:850;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.public-home-premium .home-v5-hero-carousel__eyebrow:before{
  content:"";
  width:34px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#62b7ff,#4ed58d);
}
.public-home-premium .home-v5-hero-carousel__caption h2{
  margin:0;
  max-width:620px;
  color:#fff;
  font-family:var(--font-ui,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif);
  font-size:clamp(36px,4vw,64px);
  font-weight:820;
  line-height:.98;
  letter-spacing:-.052em;
  text-wrap:balance;
}
.public-home-premium .home-v5-hero-carousel__caption h2 span,
.public-home-premium .home-v5-hero-carousel__caption h2 strong{
  display:block;
}
.public-home-premium .home-v5-hero-carousel__caption h2 strong{
  color:#7de1a8;
  font-weight:820;
}
.public-home-premium .home-v5-hero-carousel__caption p{
  max-width:590px;
  margin:16px 0 0;
  color:rgba(255,255,255,.91);
  font-size:clamp(13px,1.08vw,16px);
  line-height:1.58;
  font-weight:520;
}
.public-home-premium .home-v5-hero-carousel__slide.is-active .home-v5-hero-carousel__caption{
  animation:homeBannerCaptionIn .7s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes homeBannerCaptionIn{
  from{opacity:0;transform:translate3d(-14px,-48%,0)}
  to{opacity:1;transform:translate3d(0,-50%,0)}
}

.public-home-premium .home-v5-hero__action-card{
  min-height:0!important;
  padding:15px clamp(24px,3.4vw,52px) 17px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:16px 30px!important;
}
.public-home-premium .home-v5-hero__lead{
  font-size:14px!important;
  line-height:1.5!important;
}
.public-home-premium .home-v5-hero__action-card .home-v5-button{
  min-height:46px!important;
  padding-inline:19px!important;
}

@media (min-width:1800px){
  .public-home-premium .home-v5-hero__image{aspect-ratio:2.8 / 1!important;min-height:430px!important}
  .public-home-premium .home-v5-hero-carousel__caption{width:min(760px,46%)}
  .public-home-premium .home-v5-hero-carousel__caption h2{max-width:720px;font-size:clamp(48px,3.2vw,72px)}
}
@media (max-width:900px){
  .public-home-premium .home-v5-hero__brand-card{padding:16px 26px!important}
  .public-home-premium .home-v5-hero__brand-mark{width:50px;height:50px}
  .public-home-premium .home-v5-hero__brand-copy h1{font-size:30px!important}
  .public-home-premium .home-v5-hero__brand-rule{width:78px}
  .public-home-premium .home-v5-hero__image{aspect-ratio:2 / 1!important;min-height:360px!important}
  .public-home-premium .home-v5-hero-carousel__caption{left:30px;width:min(620px,68%)}
  .public-home-premium .home-v5-hero__action-card{grid-template-columns:1fr!important;padding:15px 26px 18px!important}
}
@media (max-width:640px){
  .public-home-premium .home-v5-hero{padding-top:10px}
  .public-home-premium .home-v5-hero__brand-card{
    order:1!important;
    min-height:78px!important;
    padding:12px 16px!important;
    gap:12px;
  }
  .public-home-premium .home-v5-hero__brand-mark{width:44px;height:44px}
  .public-home-premium .home-v5-hero__brand-copy h1{font-size:25px!important}
  .public-home-premium .home-v5-hero__brand-copy p{font-size:9px;letter-spacing:.10em}
  .public-home-premium .home-v5-hero__brand-rule{width:42px;height:2px}
  .public-home-premium .home-v5-hero__image{
    order:2!important;
    aspect-ratio:1.16 / 1!important;
    min-height:315px!important;
    height:auto!important;
  }
  .public-home-premium .home-v5-hero-carousel__slide:before{
    background:
      linear-gradient(180deg,rgba(4,24,43,.10) 0%,rgba(4,24,43,.16) 34%,rgba(4,24,43,.82) 100%);
  }
  .public-home-premium .home-v5-hero-carousel__caption{
    left:18px;
    right:18px;
    top:auto;
    bottom:24px;
    width:auto;
    transform:none;
  }
  .public-home-premium .home-v5-hero-carousel__eyebrow{margin-bottom:8px;font-size:9px;letter-spacing:.12em}
  .public-home-premium .home-v5-hero-carousel__eyebrow:before{width:24px}
  .public-home-premium .home-v5-hero-carousel__caption h2{font-size:clamp(30px,9.6vw,40px);line-height:1}
  .public-home-premium .home-v5-hero-carousel__caption p{margin-top:10px;font-size:12px;line-height:1.45;max-width:92%}
  .public-home-premium .home-v5-hero-carousel__slide.is-active .home-v5-hero-carousel__caption{animation:homeBannerCaptionInMobile .58s ease both}
  @keyframes homeBannerCaptionInMobile{
    from{opacity:0;transform:translate3d(0,10px,0)}
    to{opacity:1;transform:translate3d(0,0,0)}
  }
  .public-home-premium .home-v5-hero__action-card{
    order:3!important;
    padding:14px 16px 16px!important;
    gap:12px!important;
  }
  .public-home-premium .home-v5-hero__lead{font-size:12.5px!important}
  .public-home-premium .home-v5-hero__actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .public-home-premium .home-v5-hero__action-card .home-v5-button{min-height:44px!important;padding-inline:10px!important;font-size:11px!important}
}
@media (max-width:430px){
  .public-home-premium .home-v5-hero__brand-rule{display:none}
  .public-home-premium .home-v5-hero__image{min-height:300px!important}
  .public-home-premium .home-v5-hero__actions{grid-template-columns:1fr!important}
}
@media (prefers-reduced-motion:reduce){
  .public-home-premium .home-v5-hero-carousel__slide.is-active .home-v5-hero-carousel__caption{animation:none!important}
}


/* Final production brand hierarchy — h15.
   Header carries the official logo. The body identity is a compact, centred one-line label. */
.public-home-premium .home-v5-hero__brand-card{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  padding:6px clamp(14px,2vw,24px)!important;
  text-align:center!important;
}
.public-home-premium .home-v5-hero__brand-mark,
.public-home-premium .home-v5-hero__brand-copy{display:none!important}
.public-home-premium .home-v5-hero__brand-line{
  min-width:0;
  max-width:100%!important;
  margin:0 auto!important;
  color:var(--brand-blue-900,#08233f)!important;
  font-family:var(--font-ui,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif)!important;
  font-size:clamp(15px,1.32vw,21px)!important;
  line-height:1.05!important;
  letter-spacing:-.018em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  font-weight:850!important;
  text-align:center!important;
}
.public-home-premium .home-v5-hero__brand-line span{
  display:inline!important;
  margin:0 .20em;
  color:var(--brand-green-700,#147a4a);
  font-weight:750;
}
.public-home-premium .home-v5-hero__brand-rule{display:none!important}
@media(max-width:760px){
  .public-home-premium .home-v5-hero__brand-card{min-height:38px!important;padding:5px 10px!important}
  .public-home-premium .home-v5-hero__brand-line{font-size:clamp(11.5px,3.35vw,15px)!important;letter-spacing:-.012em!important}
}
@media(max-width:430px){
  .public-home-premium .home-v5-hero__brand-card{min-height:34px!important;padding:4px 7px!important}
  .public-home-premium .home-v5-hero__brand-line{font-size:clamp(9.8px,3.0vw,12px)!important;letter-spacing:-.008em!important}
}

/* h16 — hero body brand strip removed.
   The ESS identity now lives in the site header and future hero/video media, not in a
   separate white card above the banner. This shortens the first screen and lets the
   campaign image become the immediate focal point. */
.public-home-premium .home-v5-hero{padding-top:8px!important}
.public-home-premium .home-v5-hero__stage{
  grid-template-rows:auto auto!important;
}
.public-home-premium .home-v5-hero__brand-card,
.public-home-premium .home-v5-hero__title-card{
  display:none!important;
}
.public-home-premium .home-v5-hero__image{
  grid-column:1!important;
  grid-row:1!important;
  order:1!important;
}
.public-home-premium .home-v5-hero__action-card{
  grid-column:1!important;
  grid-row:2!important;
  order:2!important;
}
@media(max-width:640px){
  .public-home-premium .home-v5-hero{padding-top:4px!important}
  .public-home-premium .home-v5-hero__image{order:1!important}
  .public-home-premium .home-v5-hero__action-card{order:2!important}
}
