/* Island Scholars: a spacious, editorial identity for primary learning. */
:root{--navy:#153d72;--red:#db2140;--blue:#1473d2;--muted:#586d85;--line:#dfe8f2;--radius:12px;--cream:#f5f9ff;--ink:#153d72}
body{font-family:'Nunito','DM Sans',Arial,sans-serif;color:var(--ink);line-height:1.7;background:#ffffff}h1,h2,h3,h4{font-family:'Nunito',Arial,sans-serif;font-weight:800;letter-spacing:-.025em}h2{font-size:clamp(29px,3.1vw,43px);line-height:1.2}p{line-height:1.75}.wrap{width:min(1280px,calc(100% - 96px))}.section{padding-block:100px}.eyebrow{color:#276bc1;font-size:11px;letter-spacing:2px;font-weight:700;margin-bottom:20px}.section-heading{gap:48px;margin-bottom:42px;align-items:end}.section-heading>div{max-width:680px}.section-heading p{font-size:15px}.button,.outline-button,.card-cta{border-radius:6px;box-shadow:none;font-weight:600}.button{background:var(--ink);padding:17px 25px;font-size:14px}.button:hover{background:#0954ac}.outline-button{border-color:#afc9e7;color:var(--ink);background:transparent;padding:13px 20px;font-size:13px}.text-link{font-size:14px;font-weight:700;border-bottom:1px solid #a8beda;padding-block:9px}.button-row{gap:26px;flex-wrap:wrap}a:focus-visible,button:focus-visible{outline:3px solid #c37937;outline-offset:5px}.site-topbar{background:var(--ink);color:#fff;padding:8px 0}.topbar-center{display:none}.topbar-inner{justify-content:space-between}.topbar-slogan,.topbar-dashboard-link{font-size:11px;letter-spacing:.3px}.site-header{height:104px;box-shadow:none;background:#ffffff;border-bottom:1px solid var(--line);backdrop-filter:none}.brand img{max-height:74px;max-width:145px}.header-inner nav{gap:30px}.header-inner nav a{font-weight:600;font-size:14px}.search-button{background:#edf5ff;border:0}.header-actions .button{background:var(--ink);padding:13px 23px}.mega-menu{border-top:1px solid var(--line);box-shadow:0 18px 35px #153d7212;background:#ffffff}.mega-link-card{border-radius:6px}.mega-link-card small{font-size:12px}.mega-icon-pill{border-radius:6px}.scholar-hero{background:var(--cream);padding:70px 0 76px}.scholar-hero-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:64px;align-items:center}.scholar-hero h1{font-size:clamp(42px,4.4vw,66px);line-height:1.12;margin-bottom:26px;letter-spacing:-.055em}.scholar-hero h1 em{font-style:normal;color:#db2140}.scholar-hero-copy>p{font-size:17px;max-width:495px;margin-bottom:30px}.scholar-hero-visual{position:relative;padding-bottom:0}.scholar-hero-visual>img{height:530px;width:100%;object-fit:cover;object-position:49% center;border-radius:110px 10px 10px 10px}.hero-caption{display:flex;align-items:center;gap:12px;background:#ffffff;padding:19px 20px;border:1px solid var(--line);border-radius:0 0 8px 8px;font-size:13px;font-weight:600}.hero-caption>span:last-child{margin-left:auto;font-size:9px;letter-spacing:1px}.hero-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:44px;border-top:1px solid #c8d9ed;padding-top:25px}.hero-paths a{display:flex;gap:12px;align-items:start}.hero-paths b{font-size:24px;color:#db2140;font-family:'Nunito',sans-serif;font-weight:800}.hero-paths span{font-size:12px;line-height:1.6}.learning-values{background:var(--ink);color:white;padding:34px 0}.learning-values>.wrap{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:30px;align-items:center}.learning-values p{color:#e6f1ff;line-height:1.6;font-size:16px;margin:0}.learning-values a{display:flex;gap:18px;align-items:center;font-size:14px}.learning-values svg{color:#ffcd39;width:28px;height:28px}.learning-values small{display:block;color:#dceaff;font-size:11px;margin-top:3px}.journey-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.journey-card{background:#fff7dd;border:1px solid #e2e9f3;border-radius:8px;padding:27px 22px;display:flex;flex-direction:column;transition:transform .2s,background .2s}.journey-card:nth-child(2){background:#eaf3ff}.journey-card:nth-child(3){background:#f0ecff}.journey-card:nth-child(4){background:#fff0e9}.journey-card:nth-child(5){background:#ffedf1}.journey-card:hover{transform:translateY(-5px);border-color:#4088d9}.journey-number{font-family:'Nunito',sans-serif;font-size:43px;font-weight:800;line-height:1;margin-bottom:32px;color:#2472c5}.journey-card .eyebrow{font-size:9px;margin-bottom:12px}.journey-card h3{font-size:20px;line-height:1.35;min-height:54px}.journey-card p{font-size:14.5px;line-height:1.55;margin-bottom:24px}.journey-link{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;gap:8px}.journey-link svg{width:17px}.learning-journey+.section{border-top:1px solid var(--line)}.subjects-grid{gap:20px;grid-template-columns:repeat(3,1fr)}.subject-card{display:grid;grid-template-columns:55px 1fr 28px;gap:4px 20px;text-align:left;border-radius:8px;background:#fff;border:1px solid var(--line);padding:28px}.subject-icon{grid-row:1/3;margin:0;align-self:center}.subject-card h3{font-size:19px;margin:0}.subject-card p{grid-column:2;font-size:13px;max-width:none;min-height:0;margin:0}.circle-arrow{grid-column:3;grid-row:1/3;align-self:center;background:transparent;color:var(--ink)}.subject-icon svg{width:36px;height:36px}.standard-strip{padding:28px;background:var(--cream);border-radius:6px;margin-top:30px}.standard-buttons a{border-radius:4px;padding:11px 18px}.real-section.full-width-popout{margin:0;padding:90px 0;background:#eef6ff;overflow:hidden}.real-popout-bg{display:none}.real-section-grid{display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:center;width:min(1280px,calc(100% - 96px));margin:auto;min-height:0}.real-popout-visual-col{width:100%;position:relative;min-height:0;height:auto}.real-learning-banner-img{position:static;width:100%;height:440px;object-fit:cover;mask-image:none;-webkit-mask-image:none;border-radius:8px 80px 8px 8px}.real-popout-copy-col{width:auto;padding:0;max-width:none}.real-popout-visual-col .photo-label{top:auto;bottom:20px;left:20px;border-radius:4px}.feature-line{margin-top:26px}.feature-line p{font-size:14px}.feature-line h3{font-size:16px}.feature-icon{background:#fff;color:var(--ink);border-radius:6px}.cards-grid{gap:26px}.activity-card{border-radius:8px;border-color:var(--line);box-shadow:none}.card-art{height:190px}.card-body{padding:25px}.card-body h3{font-size:20px;line-height:1.35}.card-body p{font-size:14px}.tag,.standard-label{font-size:11px}.card-cta{padding:11px 16px;font-size:12px;background:var(--ink)}.staff-home-section{padding:96px 0;background:var(--cream)}.faculty-heading-wrap{text-align:left;margin-bottom:44px;max-width:700px}.faculty-title{font-size:clamp(30px,3vw,43px);color:var(--ink)}.faculty-eyebrow{color:#276bc1}.faculty-subtitle{font-size:15px;line-height:1.8}.staff-cards-grid{gap:24px}.faculty-card{border-radius:8px;box-shadow:none;border:1px solid var(--line);background:#fff}.faculty-card-visual{background:#eaf3ff;border-radius:0;height:245px}.faculty-stage-img{object-fit:cover;object-position:top;width:100%;height:100%;transform:none}.faculty-card-content{padding:25px}.faculty-card h3{font-size:21px}.faculty-icon-circle{display:none}.faculty-card p{font-size:13px;line-height:1.7}.school-campus-section{padding:96px 0;background:#ffffff}.map-card-wrapper{border-radius:8px;box-shadow:none;border:1px solid var(--line)}.map-campus-bar{background:#eef6ff;padding:30px;gap:25px}.registration-split{gap:65px;margin-top:85px;align-items:start}.registration-info-side h2{font-size:36px;line-height:1.25}.registration-info-side>p{font-size:15px}.registration-form-card{padding:36px;border-radius:8px;background:var(--cream);box-shadow:none;border:1px solid var(--line)}.reg-hl-card{background:transparent;border:0;padding:16px 0}.reg-hl-icon{background:#eaf3ff;color:var(--ink);border-radius:6px}.reg-direct-help{background:#eef6ff;border-color:var(--line);border-radius:6px}.reg-submit-btn{background:var(--ink);border-radius:6px;padding:17px}.reg-form-grid{gap:20px}.reg-field input,.reg-field select,.reg-field textarea,input,select,textarea{border-radius:5px;border-color:#c7d5e7}.rewards-wrap-section{margin:0;padding:70px 0;background:#edf5ff}.rewards-banner-card{background:transparent;box-shadow:none;border-radius:0;min-height:280px}.rewards-left-visual{display:none}.rewards-center-copy{width:46%;padding:0}.rewards-title-wrap h2{font-size:40px;color:var(--ink)}.rewards-right-badges{width:48%;gap:18px}.reward-badge-card{transform:none!important;border-radius:8px;box-shadow:none}.rewards-spark-icon{display:none}.island-cta{padding:95px 0;min-height:360px}.island-cta-title{font-size:clamp(32px,3.8vw,52px)}.doodle-sun-wrap{display:none}.site-footer{background:#123467;padding:70px 0 0}.footer-grid{gap:60px}.site-footer h3{font-size:14px;letter-spacing:0}.site-footer .footer-grid a{font-size:13px;line-height:1.8}.footer-tagline{font-size:16px}.footer-bottom{margin-top:50px;padding-block:25px;font-size:11px;border-color:#ffffff24}.page-banner{padding:76px 0;background:#eef6ff;color:var(--ink);border-bottom:1px solid var(--line)}.page-banner h1{font-size:clamp(36px,4.5vw,60px);line-height:1.15;color:var(--ink)}.page-banner p{font-size:17px;max-width:700px;color:var(--muted)}.catalog-section{padding-block:64px 96px}.filters{padding:30px;gap:20px;border:1px solid var(--line);background:var(--cream);border-radius:8px;margin-bottom:40px}.filters label{font-size:13px}.filters input,.filters select{padding:12px}.auth-left-col{background:var(--cream)!important}.auth-submit-btn{background:var(--ink)!important;border-radius:6px}.auth-quote-card{border-radius:8px}.dashboard-shell,.admin-shell{font-family:'DM Sans',sans-serif}dialog{border-radius:12px}::selection{background:#ffdf7e;color:#153d72}
@media(min-width:1500px){.scholar-hero{padding-block:90px}.scholar-hero-grid{gap:80px}}
@media(max-width:1100px){.wrap{width:calc(100% - 56px)}.scholar-hero-grid{gap:35px}.scholar-hero h1{font-size:46px}.scholar-hero-visual>img{height:490px}.hero-caption>span:last-child{display:none}.header-inner{gap:20px}.header-inner nav{gap:18px}.journey-grid{gap:12px}.journey-card{padding:22px 16px}.journey-card h3{font-size:17px}.learning-values>.wrap{gap:20px}.real-section-grid{width:calc(100% - 56px);gap:40px}.cards-grid{grid-template-columns:repeat(2,1fr)}.staff-cards-grid{display:grid;grid-template-columns:repeat(2,1fr)}.registration-split{gap:35px}.subjects-grid{gap:14px}.subject-card{padding:23px 18px;gap:10px;grid-template-columns:38px 1fr 22px}}
@media(max-width:800px){.section,.staff-home-section,.school-campus-section{padding-block:65px}.site-header{height:85px}.brand img{max-height:61px}.header-inner nav{display:none;position:absolute;top:100%;left:0;right:0;height:auto;background:#ffffff;padding:22px 28px;max-height:75vh;overflow:auto;border-bottom:1px solid var(--line)}.header-inner nav.open{display:flex;flex-direction:column;align-items:stretch;gap:10px}.menu-toggle{display:block}.mega-menu{display:none!important}.header-inner nav .nav-item-mega{height:auto}.header-actions{gap:10px}.topbar-left{display:block}.topbar-slogan{font-size:10px}.topbar-dashboard-link{font-size:10px}.scholar-hero{padding:45px 0 50px}.scholar-hero-grid{grid-template-columns:1fr;gap:40px}.scholar-hero h1{font-size:clamp(40px,7vw,57px);max-width:630px}.scholar-hero-copy>p{max-width:580px}.scholar-hero-visual>img{height:400px;border-radius:65px 8px 0 0}.hero-paths{max-width:560px;margin-top:32px}.hero-caption>span:last-child{display:block}.learning-values>.wrap{grid-template-columns:repeat(2,1fr);gap:28px}.journey-grid{grid-template-columns:repeat(2,1fr);gap:18px}.journey-card:last-child{grid-column:1/-1}.journey-card h3{font-size:22px;min-height:0}.journey-number{margin-bottom:24px}.journey-card{padding:26px}.section-heading{align-items:start;flex-direction:column;gap:20px}.subjects-grid{grid-template-columns:repeat(2,1fr)}.standard-strip{align-items:start;flex-direction:column}.standard-buttons{flex-wrap:wrap}.real-section-grid{grid-template-columns:1fr;gap:40px}.real-section.full-width-popout{padding-block:65px}.real-learning-banner-img{height:380px}.real-popout-copy-col h2{font-size:36px}.registration-split{grid-template-columns:1fr;display:grid}.registration-form-card{padding:30px}.map-campus-bar{display:grid;grid-template-columns:repeat(2,1fr)}.rewards-banner-card{display:flex;flex-direction:column;gap:35px}.rewards-center-copy,.rewards-right-badges{width:100%;position:static}.rewards-right-badges{justify-content:start}.footer-grid{grid-template-columns:repeat(2,1fr);gap:40px}.footer-bottom{gap:16px;flex-wrap:wrap}.page-banner{padding:60px 0}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.auth-left-col{padding:28px!important}}
@media(max-width:500px){.wrap,.real-section-grid{width:calc(100% - 40px)}.topbar-left{display:none}.topbar-inner{justify-content:center}.header-actions .button{padding:10px 14px;font-size:12px}.header-actions .search-button{width:35px;height:35px}.brand img{max-width:110px}.header-inner{gap:12px}.scholar-hero h1{font-size:41px}.scholar-hero-copy>p{font-size:16px}.scholar-hero .eyebrow{font-size:9px;letter-spacing:1.5px}.button-row{gap:16px}.hero-paths{gap:10px}.hero-paths a{display:block}.hero-paths b{display:block;margin-bottom:7px}.hero-paths span{font-size:12px}.scholar-hero-visual>img{height:310px}.hero-caption{padding:15px 12px;font-size:11px}.hero-caption>span:last-child{font-size:8px}.learning-values>.wrap{grid-template-columns:1fr;gap:22px}.learning-values p{border-bottom:1px solid #ffffff25;padding-bottom:22px}.journey-grid{grid-template-columns:1fr}.journey-card:last-child{grid-column:auto}.journey-card{display:grid;grid-template-columns:1fr 45px;gap:0 12px}.journey-number{grid-column:2;grid-row:1/4;align-self:start}.journey-card p{grid-column:1}.journey-link{grid-column:1/-1}.subjects-grid,.cards-grid,.staff-cards-grid{grid-template-columns:1fr}.subject-card{grid-template-columns:45px 1fr 25px;padding:25px}.subject-card h3{font-size:20px}.subject-card p{font-size:14px}.standard-buttons{gap:8px}.standard-buttons a{padding:9px 12px}.card-art{height:210px}.real-learning-banner-img{height:300px}.photo-label{font-size:11px;padding:12px}.map-campus-bar{grid-template-columns:1fr}.registration-info-side h2{font-size:30px}.registration-form-card{padding:24px}.reg-form-grid{grid-template-columns:1fr}.reg-field{grid-column:1/-1}.reg-direct-help{flex-direction:column;gap:15px;align-items:start}.rewards-right-badges{gap:8px}.reward-badge-card{padding:12px 8px;min-width:0;flex:1}.reward-badge-card strong{font-size:10px}.badge-icon-wrap{width:60px;height:60px}.footer-grid{gap:35px 25px}.footer-brand-col{grid-column:1/-1}.filters{grid-template-columns:1fr;padding:24px}.filters>*{min-width:0}.page-banner h1{font-size:38px}.section-heading br{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Bring legacy, specifically scoped components into the shared visual system. */
.topbar-right .topbar-dashboard-link{background:transparent;box-shadow:none;border:0}.topbar-right .topbar-dashboard-link:hover{background:#ffffff15}.header-inner nav a[aria-current]{color:#ce2141}#faculty{padding:96px 0;background:var(--cream)}#faculty .faculty-heading-wrap{max-width:760px;margin-bottom:42px}#faculty .staff-cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;overflow:visible}#faculty .faculty-card{border-radius:8px;box-shadow:none;border-color:var(--line)}#faculty .faculty-card-content{padding:27px 23px}#faculty .faculty-role{color:#bc2441;font-size:12px}#faculty .faculty-exp-line{color:#586d85}#faculty .faculty-subject-pill{color:var(--ink);border-radius:4px}#faculty .faculty-quote-card{background:#f2f7ff;border-left-color:#ffc72e;min-height:125px}#faculty .faculty-bio-btn{border-radius:5px;background:#fff;border-color:#bad0e9;color:var(--ink)}#faculty .faculty-bio-btn:hover{background:var(--ink);color:white}.page-banner::before{background:linear-gradient(90deg,#edf5ff 35%,#edf5ffdd 70%,#edf5ff66)}.page-banner .wrap{position:relative;z-index:1}.page-banner .eyebrow{color:#276bc1}.detail-layout{gap:48px;padding-block:64px}.detail-main,.detail-sidebar,.panel{border-radius:8px;border-color:var(--line);box-shadow:none}.calendar-controls-bar{border-radius:8px}.cal-btn,.segmented-control,.cal-pill{border-radius:5px}.cal-pill.active,.view-btn.active,.layout-btn.active{background:var(--ink);color:#fff}.auth-left-col{flex:0 0 43%;width:43%;padding:48px!important}.auth-right-col{flex:0 0 57%;width:57%}.auth-form-title{color:var(--ink)}.auth-input-wrapper input{border-radius:5px}.auth-quote-text{color:var(--ink)}
@media(max-width:1100px){#faculty .staff-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#faculty{padding:65px 0}.auth-left-col{flex:0 0 100%;width:100%;padding:32px!important}.auth-right-col{display:none}.detail-layout{gap:28px}.split{gap:35px}}
@media(max-width:500px){#faculty .staff-cards-grid{grid-template-columns:1fr}#faculty .faculty-quote-card{min-height:0}.auth-left-col{padding:24px!important}.cal-toggles-group{flex-wrap:wrap}.cal-filter-bar{gap:15px}}
.reg-direct-help strong{color:var(--ink)}.reg-direct-help span{color:var(--muted)}.reg-hl-card{box-shadow:none}.reg-submit-btn,.auth-submit-btn{box-shadow:none!important}.reg-submit-btn:hover,.auth-submit-btn:hover{background:#0954ac!important}.rewards-banner-card{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.rewards-center-copy{width:100%;max-width:510px;grid-column:auto}.rewards-center-copy p{max-width:480px;font-size:16px}.rewards-right-badges{width:100%;display:flex;justify-content:flex-end;padding:0;gap:22px}.reward-badge-card{flex:1;max-width:160px;padding:26px 18px}.rewards-title-wrap h2{max-width:none}.reg-direct-btn{border-radius:5px}.school-campus-section .eyebrow{color:#276bc1!important}section[id]{scroll-margin-top:110px}
@media(max-width:800px){.rewards-banner-card{grid-template-columns:1fr;gap:35px}.rewards-right-badges{justify-content:flex-start}.reward-badge-card{max-width:160px}.rewards-title-wrap h2{font-size:36px}}
@media(max-width:500px){.rewards-right-badges{gap:10px}.reward-badge-card{padding:18px 10px}.rewards-center-copy p{font-size:15px}}
/* Logo-inspired colour and full-width photographic hero. */
.button,.header-actions .button,.card-cta,.reg-submit-btn{background:#d91e3c;color:#fff}
.button:hover,.header-actions .button:hover{background:#bc1732}
.auth-submit-btn{background:#d91e3c!important}
.learning-values{background:#1269ca}.site-topbar{background:#145db1}
.scholar-hero{position:relative;isolation:isolate;overflow:hidden;background:#edf5ff;padding:0;min-height:700px;min-height:min(820px,calc(100svh - 110px));display:flex;align-items:center}
.scholar-hero-grid{display:block;position:static;padding-block:75px}
.scholar-hero-visual{position:absolute;inset:0;z-index:-2;padding:0;width:100%;height:100%}
.scholar-hero-visual>img{width:100%;height:100%;border-radius:0;object-fit:cover;object-position:center 43%}
.scholar-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f2f8ff 0%,rgba(242,248,255,.98) 22%,rgba(242,248,255,.90) 37%,rgba(242,248,255,.56) 49%,rgba(242,248,255,.08) 65%,transparent 80%)}
.scholar-hero-copy{max-width:570px;width:49%}.scholar-hero h1{font-size:clamp(44px,4.5vw,67px);line-height:1.13}.scholar-hero h1 em{color:#d91e3c}.scholar-hero-copy>p{color:#3c5674;font-size:17px;max-width:465px}.scholar-hero .eyebrow{color:#1764b9}.scholar-hero .button{box-shadow:0 7px 22px #d91e3c22}.hero-paths{border-color:#b8cce1;margin-top:35px;padding-top:23px}.hero-paths b{color:#1769c6}.hero-paths a:nth-child(2) b{color:#c62643}.hero-paths a:nth-child(3) b{color:#a76c00}.hero-paths span{color:#304d70}.hero-caption{position:absolute;bottom:30px;right:48px;border:1px solid #ffffffb3;background:#fffffff0;border-radius:8px;padding:14px 20px;box-shadow:0 6px 24px #153d7210}.hero-caption>span:last-child{margin-left:20px}.journey-card:nth-child(1) .journey-number{color:#946900}.journey-card:nth-child(3) .journey-number{color:#7652bf}.journey-card:nth-child(4) .journey-number{color:#c65027}.journey-card:nth-child(5) .journey-number{color:#ce2141}
@media(min-width:1500px){.scholar-hero{padding:0}.scholar-hero-grid{padding-block:95px}}
@media(max-width:1100px){.scholar-hero-copy{width:53%}.scholar-hero h1{font-size:48px}.scholar-hero .button-row{gap:16px}.scholar-hero::after{background:linear-gradient(90deg,#f2f8ff 0%,#f2f8fff5 25%,#f2f8ffd9 43%,#f2f8ff33 72%,transparent)}.hero-caption{right:28px}}
@media(max-width:800px){.scholar-hero{min-height:740px;padding:0}.scholar-hero-grid{padding-block:55px 100px}.scholar-hero-copy{width:75%;max-width:560px}.scholar-hero h1{font-size:49px}.scholar-hero-visual>img{height:100%;border-radius:0;object-position:60% center}.scholar-hero::after{background:linear-gradient(90deg,#f2f8fff7 0%,#f2f8ffe6 45%,#f2f8ff66 100%)}.hero-caption{bottom:25px;right:28px;left:28px;width:max-content;max-width:calc(100% - 56px)}}
@media(max-width:500px){.scholar-hero{min-height:820px;align-items:flex-start}.scholar-hero-grid{padding-block:45px 220px}.scholar-hero-copy{width:100%}.scholar-hero h1{font-size:42px;max-width:340px}.scholar-hero-copy>p{font-size:16px}.scholar-hero::after{background:linear-gradient(180deg,#f2f8fffa 0%,#f2f8fff5 35%,#f2f8ffda 60%,#f2f8ff33 85%,#f2f8ff00 100%)}.scholar-hero-visual>img{object-position:62% center}.hero-caption{bottom:20px;left:20px;right:20px;max-width:calc(100% - 40px);padding:12px;font-size:11px}.hero-caption>span:last-child{margin-left:8px;font-size:8px}.hero-paths{margin-top:28px}.hero-paths a{display:flex;gap:10px}.hero-paths b{font-size:21px}.hero-paths span{font-size:11px}}
/* Fill the opening viewport, including the blue benefits bar. */
.home-opening {
  min-height: calc(100svh - var(--opening-header-height, 142px));
  display: grid;
  grid-template-rows: 1fr auto;
}
.home-opening .scholar-hero { min-height: 0; }
@media (min-width: 801px) {
  .home-opening .scholar-hero-grid { padding-block: clamp(28px, 5vh, 75px); }
}
@media (min-width: 801px) and (max-height: 850px) {
  .home-opening .scholar-hero-grid { padding-block: 24px; }
  .home-opening .scholar-hero h1 { font-size: clamp(38px, 3.8vw, 52px); margin-bottom: 18px; }
  .home-opening .scholar-hero .eyebrow { margin-bottom: 14px; }
  .home-opening .scholar-hero-copy > p { margin-bottom: 20px; font-size: 16px; }
  .home-opening .hero-paths { margin-top: 22px; padding-top: 16px; }
  .home-opening .learning-values { padding-block: 24px; }
}
/* Subject discovery: colourful photographic bento cards. */
.subjects-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.subjects-grid .subject-bento {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--subject);
  color: #fff;
  text-align: left;
  box-shadow: 0 5px 18px #153d720b;
}
.subjects-grid .subject-bento:nth-child(1),
.subjects-grid .subject-bento:nth-child(6) { grid-column: span 2; }
.subject-bento-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.subject-bento::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--subject) 48%, transparent) 0%,
    color-mix(in srgb, var(--subject) 65%, transparent) 36%,
    color-mix(in srgb, var(--subject) 68%, #101529) 100%);
}
.subjects-grid .subject-bento .subject-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 0 42px;
  border: 1px solid #ffffff70;
  border-radius: 12px;
  background: #ffffff18;
  color: #fff;
}
.subject-bento .subject-icon svg { width: 26px; height: 26px; }
.subject-bento-copy { padding-right: 28px; max-width: 440px; }
.subjects-grid .subject-bento h3 { color: #fff; font-size: 27px; margin: 0 0 9px; line-height: 1.2; }
.subjects-grid .subject-bento p { color: #fff; font-size: 14px; line-height: 1.6; margin: 0; max-width: none; }
.subjects-grid .subject-bento .circle-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  color: white;
  background: #ffffff15;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transform: none !important;
  transition: none !important;
}
.subjects-grid .subject-bento .circle-arrow svg,
.subject-card .circle-arrow svg {
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  transform: none !important;
  transition: none !important;
  flex-shrink: 0 !important;
}
.subjects-grid .subject-bento:hover .circle-arrow,
.subjects-grid .subject-bento:hover .circle-arrow svg,
.subject-card:hover .circle-arrow,
.subject-card:hover .circle-arrow svg {
  transform: none !important;
  transition: none !important;
}
.subjects-grid .subject-bento:hover { transform: translateY(-4px); box-shadow: 0 12px 26px #153d7220; }
.subject-bento:hover .subject-bento-image { transform: scale(1.045); }
.subject-bento:focus-visible { outline: 3px solid #153d72; outline-offset: 5px; }
@media(max-width:1100px) {
  .subjects-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .subjects-grid .subject-bento:nth-child(1),.subjects-grid .subject-bento:nth-child(6) { grid-column: auto; }
  .subjects-grid .subject-bento { min-height: 290px; padding: 24px; }
  .subjects-grid .subject-bento h3 { font-size: 25px; }
}
@media(max-width:800px) {
  .subjects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
}
@media(max-width:500px) {
  .subjects-grid { grid-template-columns: 1fr; }
  .subjects-grid .subject-bento { min-height: 260px; }
}
.subjects-grid .subject-bento .subject-icon { align-self: flex-start; }
.subject-bento-copy { padding-right: 34px; }
/* Full-width island learning banner with raised, transparent portraits. */
.real-section.full-width-popout {
  position: relative;
  isolation: isolate;
  overflow: visible;
  margin-top: 155px;
  padding: 0;
  background: #1269ca;
}
.real-section.full-width-popout .real-popout-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(110deg, #287ddd 0%, #1269ca 55%, #105dbb 100%);
  opacity: 1;
}
.real-section.full-width-popout::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #1269ca08 0%, #1269ca22 29%, #1269caaf 46%, #1269caf5 61%, #1269ca 100%);
}
.real-section.full-width-popout .real-section-grid {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 560px;
  gap: 0;
}
.real-section.full-width-popout .real-popout-visual-col {
  position: absolute;
  top: -175px;
  bottom: 0;
  left: calc((min(1280px, 100vw - 96px) - 100vw) / 2);
  width: min(70vw, 1180px);
  height: auto;
  z-index: 0;
}
.real-section.full-width-popout .real-learning-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(90deg,#000 0%,#000 78%,transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 78%,transparent 100%);
}
.real-section.full-width-popout .photo-label { display: none; }
.real-section.full-width-popout .real-popout-copy-col {
  position: relative;
  z-index: 2;
  width: 46%;
  max-width: 570px;
  padding: 65px 0;
  color: #fff;
}
.real-popout-copy-col h2 { color: #fff; font-size: clamp(32px,3vw,44px); }
.real-popout-copy-col > .eyebrow { color: #ffe18a; }
.real-popout-copy-col > p, .real-popout-copy-col .feature-line p { color: #e6f1ff; }
.real-popout-copy-col .feature-line h3 { color: #fff; }
.real-popout-copy-col .feature-icon { color: #fff; background: #ffffff20; border: 1px solid #ffffff40; }
.real-popout-copy-col .button { background: #fff; color: #145db1; }
.real-popout-copy-col .button:hover { background: #ffdf7e; color: #153d72; }
@media(min-width:1800px) {
  .real-section.full-width-popout .real-popout-visual-col { left: calc((1280px - 100vw) / 2); width: 65vw; }
}
@media(max-width:1100px) and (min-width:801px) {
  .real-section.full-width-popout .real-popout-visual-col { left: -28px; width: 68vw; top: -135px; }
  .real-section.full-width-popout .real-popout-copy-col { width: 48%; padding-block: 45px; }
}
@media(max-width:800px) {
  .real-section.full-width-popout { margin-top: 130px; }
  .real-section.full-width-popout .real-section-grid { display: block; padding-top: 280px; }
  .real-section.full-width-popout .real-popout-visual-col { top: -125px; left: -28px; width: 100vw; height: 460px; bottom: auto; }
  .real-section.full-width-popout .real-learning-banner-img { object-fit: cover; object-position: center top; mask-image: linear-gradient(#000 70%,transparent); -webkit-mask-image: linear-gradient(#000 70%,transparent); }
  .real-section.full-width-popout::after { background: linear-gradient(180deg,transparent 0%,#1269ca33 180px,#1269ca 340px); }
  .real-section.full-width-popout .real-popout-copy-col { width: 100%; max-width: none; padding: 35px 0 55px; }
}
@media(max-width:500px) {
  .real-section.full-width-popout { margin-top: 85px; }
  .real-section.full-width-popout .real-popout-visual-col { top: -80px; left: -20px; height: 320px; }
  .real-section.full-width-popout .real-section-grid { padding-top: 200px; }
  .real-section.full-width-popout::after { background: linear-gradient(180deg,transparent 0%,#1269ca22 100px,#1269ca 250px); }
  .real-popout-copy-col h2 { font-size: 33px; }
}
.real-section.full-width-popout .real-section-grid { z-index: auto; }
/* Coordinate subject cards with the softer Next Steps palette. */
.journey-card .eyebrow {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  font-weight: 800;
}
.subjects-grid .subject-bento {
  border-radius: 8px;
  --bento-color: #ba607d;
}
.subjects-grid .subject-bento:nth-child(2) { --bento-color: #6095ce; }
.subjects-grid .subject-bento:nth-child(3) { --bento-color: #6f9b88; }
.subjects-grid .subject-bento:nth-child(4) { --bento-color: #ba984f; }
.subjects-grid .subject-bento:nth-child(5) { --bento-color: #9980c2; }
.subjects-grid .subject-bento:nth-child(6) { --bento-color: #cc8c72; }
.subject-bento::after {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bento-color) 48%, transparent) 0%,
    color-mix(in srgb, var(--bento-color) 65%, transparent) 35%,
    color-mix(in srgb, var(--bento-color) 56%, #152338) 100%);
}
.subjects-grid .subject-bento .subject-icon { border-radius: 8px; }
/* Keep the cutout portraits in front of the blue background gradient. */
.real-section.full-width-popout::after { z-index: -1; }
.real-section.full-width-popout .real-popout-visual-col { z-index: 0; }
.real-section.full-width-popout .real-learning-banner-img {
  mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

@media (max-width: 800px) {
  .real-section.full-width-popout .real-learning-banner-img {
    mask-image: linear-gradient(#000 0%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 0%, #000 82%, transparent 100%);
  }
}
/* Richer coordinated colours, with clear text and less haze over imagery. */
.journey-card { background: #ffecab; border-color: #edda98; }
.journey-card:nth-child(2) { background: #cfe5ff; border-color: #bad7f7; }
.journey-card:nth-child(3) { background: #e1d6ff; border-color: #d0c1f5; }
.journey-card:nth-child(4) { background: #ffdac8; border-color: #f2c6b0; }
.journey-card:nth-child(5) { background: #ffd5e0; border-color: #efbbc9; }
.journey-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #334d6b;
}
.subjects-grid .subject-bento { --bento-color: #ce2851; }
.subjects-grid .subject-bento:nth-child(2) { --bento-color: #1268ce; }
.subjects-grid .subject-bento:nth-child(3) { --bento-color: #168454; }
.subjects-grid .subject-bento:nth-child(4) { --bento-color: #ad790e; }
.subjects-grid .subject-bento:nth-child(5) { --bento-color: #7942bc; }
.subjects-grid .subject-bento:nth-child(6) { --bento-color: #cf542d; }
.subject-bento::after {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bento-color) 18%, transparent) 0%,
    color-mix(in srgb, var(--bento-color) 40%, transparent) 32%,
    color-mix(in srgb, var(--bento-color) 85%, #152338) 100%);
}
/* Keep feature copy legible where the foreground portrait meets the text. */
.real-popout-copy-col .feature-line {
  background: #105dbbf2;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
  gap: 14px;
}
.real-popout-copy-col .feature-line p { color: #fff; }
.real-popout-copy-col .feature-icon { flex-shrink: 0; }
/* Rewards banner: foreground student interacting dynamically with rewards content. */
.rewards-wrap-section {
  margin-top: 60px;
  padding: 0;
  overflow: visible;
  position: relative;
}
.rewards-wrap-section .rewards-banner-card {
  display: grid;
  grid-template-columns: 290px minmax(280px, 1fr) 375px;
  gap: 42px;
  min-height: 360px;
  align-items: center;
  position: relative;
}
.rewards-wrap-section .rewards-left-visual {
  display: block;
  position: relative;
  align-self: stretch;
  grid-row: auto;
  height: 100%;
  min-height: 360px;
  margin: 0;
}
.boy-interaction-group {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.rewards-wrap-section .rewards-boy-img {
  position: absolute;
  bottom: 0;
  left: 48%;
  transform: translateX(-50%);
  height: 410px;
  width: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  filter: drop-shadow(0 14px 26px rgba(9, 38, 77, 0.12));
  cursor: pointer;
  z-index: 2;
}
.rewards-wrap-section:hover .rewards-boy-img,
.rewards-boy-img:hover {
  transform: translateX(-50%) scale(1.03);
  filter: drop-shadow(0 18px 30px rgba(9, 38, 77, 0.18));
}

/* Floating interactive speech bubble pointing from boy toward the headline */
.boy-speech-bubble {
  position: absolute;
  top: 15px;
  left: 54%;
  z-index: 4;
  background: #ffffff;
  padding: 8px 14px 8px 12px;
  border-radius: 14px;
  border: 1.5px solid #d0e4f7;
  box-shadow: 0 10px 24px rgba(9, 38, 77, 0.10);
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 220px;
  animation: boyBubbleFloat 3.8s ease-in-out infinite;
  transform-origin: bottom left;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}
.boy-speech-bubble:hover,
.rewards-banner-card:hover .boy-speech-bubble {
  border-color: #2563eb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}
.bubble-sparkle {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  animation: starPulse 2.4s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.bubble-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.bubble-label {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0284c7;
}
.bubble-text {
  font-size: 12px;
  font-weight: 700;
  color: #09264d;
  line-height: 1.3;
}
/* Speech bubble pointer */
.boy-speech-bubble .bubble-tail {
  position: absolute;
  bottom: -7px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1.5px solid #d0e4f7;
  border-bottom: 1.5px solid #d0e4f7;
  transform: rotate(45deg);
}

/* Thumbs-up Badge Tag floating near his hand */
.boy-thumbs-tag {
  position: absolute;
  bottom: 125px;
  right: -8px;
  z-index: 4;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: boyTagLevitate 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}
.boy-thumbs-tag .thumbs-icon {
  font-size: 13px;
  animation: starSpin 3.5s linear infinite;
}

/* Shimmering Star Particles around his gesture */
.boy-sparkles {
  position: absolute;
  bottom: 175px;
  right: 25px;
  z-index: 3;
  pointer-events: none;
}
.sparkle-star {
  position: absolute;
  color: #f59e0b;
  font-size: 16px;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.4));
  animation: starTwinkle 2.5s ease-in-out infinite;
}
.sparkle-star.s1 { top: -25px; left: 10px; font-size: 18px; color: #fbbf24; animation-delay: 0s; }
.sparkle-star.s2 { top: 5px; left: 35px; font-size: 14px; color: #3b82f6; animation-delay: 0.8s; }
.sparkle-star.s3 { top: -45px; left: 30px; font-size: 15px; color: #10b981; animation-delay: 1.5s; }

@keyframes boyBubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes boyTagLevitate {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.03); }
}
@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); }
}
@keyframes starSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.rewards-wrap-section .rewards-center-copy { padding: 42px 0; width: 100%; }
.rewards-wrap-section .rewards-title-wrap h2 { font-size: 36px; }

/* Interactive Badges on the right */
.rewards-wrap-section .rewards-right-badges {
  width: 100%;
  padding: 0;
  gap: 16px;
  display: flex;
  align-items: center;
  perspective: 600px;
}
.rewards-wrap-section .reward-badge-card {
  min-width: 0;
  width: 114px;
  padding: 22px 14px;
  background: #ffffff;
  border-radius: 16px;
  text-align: center;
  border: 1.5px solid #dce8f4;
  box-shadow: 0 10px 22px rgba(9, 38, 77, 0.07);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  outline: none;
}
.rewards-wrap-section .reward-badge-card.badge-tilt-1 {
  transform: rotate(-4deg);
}
.rewards-wrap-section .reward-badge-card.badge-tilt-2 {
  transform: translateY(-8px);
}
.rewards-wrap-section .reward-badge-card.badge-tilt-3 {
  transform: rotate(4deg);
}
.rewards-wrap-section .reward-badge-card:hover,
.rewards-wrap-section .reward-badge-card:focus-visible {
  transform: translateY(-14px) scale(1.08);
  box-shadow: 0 18px 36px rgba(9, 38, 77, 0.16);
  z-index: 5;
}
.rewards-wrap-section .reward-badge-card.badge-tilt-1:hover {
  border-color: #f59e0b;
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.25);
}
.rewards-wrap-section .reward-badge-card.badge-tilt-2:hover {
  border-color: #10b981;
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.25);
}
.rewards-wrap-section .reward-badge-card.badge-tilt-3:hover {
  border-color: #2563eb;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}

@media(max-width:1100px) {
  .rewards-wrap-section .rewards-banner-card { grid-template-columns: 240px minmax(0,1fr); gap: 0 45px; }
  .rewards-wrap-section .rewards-left-visual { grid-row: 1 / 3; }
  .rewards-wrap-section .rewards-boy-img { height: 430px; }
  .boy-speech-bubble { top: 12px; left: auto; right: -20px; max-width: 195px; }
  .boy-thumbs-tag { bottom: 120px; right: -5px; }
  .rewards-wrap-section .rewards-center-copy { padding: 35px 0 24px; }
  .rewards-wrap-section .rewards-right-badges { grid-column: 2; padding-bottom: 30px; justify-content: flex-start; }
}
@media(max-width:650px) {
  .rewards-wrap-section { margin-top: 60px; }
  .rewards-wrap-section .rewards-banner-card { grid-template-columns: 1fr; gap: 0; }
  .rewards-wrap-section .rewards-left-visual { grid-row: auto; height: 280px; }
  .rewards-wrap-section .rewards-boy-img { height: 320px; }
  .boy-speech-bubble {
    display: none;
  }
  .boy-thumbs-tag {
    bottom: 85px;
    right: calc(50% - 125px);
  }
  .boy-sparkles {
    bottom: 135px;
    right: calc(50% - 105px);
  }
  .rewards-wrap-section .rewards-center-copy { padding: 24px 0 20px; text-align: center; max-width: none; }
  .rewards-wrap-section .rewards-right-badges { grid-column: 1; padding-bottom: 35px; justify-content: center; }
}
/* Active navigation uses text colour, without an underline bar. */
.header-inner nav a[aria-current]::after { content: none; display: none; }
/* Align the catalogue action with the filter input row. */
.filters input,
.filters select,
.filters > .button {
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
}
.filters > .button {
  align-self: end;
  padding: 0 24px;
  margin: 0;
  border-radius: 5px;
  line-height: 1.2;
}
/* Align interior banner copy with the shared content container. */
.page-banner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-banner > .wrap {
  width: min(1280px, calc(100% - 96px)) !important;
  max-width: 1280px !important;
  padding-inline: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-inline: auto !important;
  text-align: left;
  z-index: 2;
  box-sizing: border-box;
}
.page-banner .eyebrow,
.page-banner h1,
.page-banner p {
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left;
}
@media (max-width: 1100px) {
  .wrap,
  .page-banner > .wrap {
    width: calc(100% - 56px) !important;
  }
}
@media (max-width: 800px) {
  .wrap,
  .page-banner > .wrap {
    width: calc(100% - 48px) !important;
  }
}
@media (max-width: 500px) {
  .wrap,
  .page-banner > .wrap {
    width: calc(100% - 40px) !important;
  }
}

/* ==========================================================================
   MEGA MENU - VISUAL CARD (FULL BLEED COVER & PERFECT ALIGNMENT)
   ========================================================================== */
.mega-menu-inner {
  align-items: start !important;
}
.mega-visual-column {
  display: flex !important;
  flex-direction: column !important;
  height: 290px !important;
}
.mega-visual-column .mega-col-heading {
  height: 22px !important;
  margin-bottom: 18px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.mega-visual-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(16, 61, 120, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #09264d !important;
  isolation: isolate;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease !important;
}
.mega-visual-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(9, 38, 77, 0.18) !important;
  border-color: rgba(255, 195, 40, 0.4) !important;
}
.mega-visual-card .mega-card-img-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1 !important;
  margin: 0 !important;
}
.mega-visual-card .mega-card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mega-visual-card:hover .mega-card-img-wrap img {
  transform: scale(1.05) !important;
}
.mega-visual-card .mega-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 38, 77, 0.15) 0%,
    rgba(9, 38, 77, 0.1) 25%,
    rgba(9, 38, 77, 0.55) 55%,
    rgba(7, 26, 53, 0.92) 80%,
    rgba(5, 18, 38, 0.98) 100%
  );
  pointer-events: none;
  transition: background 0.3s ease;
}
.mega-visual-card:hover .mega-card-img-wrap::after {
  background: linear-gradient(
    180deg,
    rgba(9, 38, 77, 0.1) 0%,
    rgba(9, 38, 77, 0.05) 25%,
    rgba(9, 38, 77, 0.5) 55%,
    rgba(7, 26, 53, 0.88) 80%,
    rgba(5, 18, 38, 0.96) 100%
  );
}
.mega-visual-card .mega-card-tag {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
  background: rgba(9, 38, 77, 0.82) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.mega-visual-card .mega-card-info {
  position: relative !important;
  z-index: 2 !important;
  padding: 16px 16px 16px !important;
  margin-top: auto !important;
  background: transparent !important;
  box-sizing: border-box !important;
}
.mega-visual-card .mega-card-info strong {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 5px !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
}
.mega-visual-card:hover .mega-card-info strong {
  color: #ffc328 !important;
}
.mega-visual-card .arrow-shift {
  display: inline-block !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  margin-left: 4px !important;
}
.mega-visual-card:hover .arrow-shift {
  transform: translateX(4px) !important;
  color: #ffc328 !important;
}
.mega-visual-card .mega-card-info p {
  font-size: 11.5px !important;
  color: #dbeafe !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   CONSISTENT RIGHT ARROWS & MICRO-ANIMATION
   ========================================================================== */
.arrow-shift,
.arrow {
  display: inline-block !important;
  margin-left: 6px !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1 !important;
  vertical-align: baseline !important;
}

/* Shift arrow to the right on hover */
a:hover .arrow-shift,
a:hover .arrow,
button:hover .arrow-shift,
button:hover .arrow,
.button:hover .arrow-shift,
.button:hover .arrow,
.outline-button:hover .arrow-shift,
.outline-button:hover .arrow,
.text-link:hover .arrow-shift,
.text-link:hover .arrow,
.card-cta:hover .arrow-shift,
.card-cta:hover > span,
.faculty-bio-btn:hover .arrow-shift,
.faculty-bio-btn:hover .arrow,
.reg-submit-btn:hover .arrow-shift,
.journey-card:hover .arrow-shift,
.island-cta-btn:hover .arrow-shift {
  transform: translateX(5px) !important;
}

/* Ensure SVG arrows inside buttons or links also have matching spacing and shift */
.button > svg:not(.grad-cap-icon),
.outline-button > svg,
.journey-link > svg {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.button:hover > svg:not(.grad-cap-icon),
.outline-button:hover > svg,
.journey-card:hover .journey-link > svg {
  transform: translateX(5px);
}

/* Button row alignment */
.button-row {
  display: flex !important;
  align-items: center !important;
}

/* Text link typography (no underline) */
.text-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: var(--navy, #09264d) !important;
  text-decoration: none !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  padding: 0 !important;
  transition: color 0.2s ease !important;
}
.text-link:hover {
  color: #0068ff !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

/* ==========================================================================
   ANIMATE ON SCROLL (AOS) - DESKTOP ONLY (> 1024px)
   Completely disabled on Tablet and Mobile view (<= 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
  [data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.72s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  [data-aos="fade-up"] {
    transform: translateY(28px);
  }
  [data-aos="fade-down"] {
    transform: translateY(-28px);
  }
  [data-aos="fade-right"] {
    transform: translateX(-32px);
  }
  [data-aos="fade-left"] {
    transform: translateX(32px);
  }
  [data-aos="zoom-in"] {
    transform: scale(0.92);
  }
  [data-aos="fade"] {
    transform: none;
  }

  /* Revealed state when scrolled into view */
  [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none;
  }

  /* Stagger delays */
  [data-aos-delay="50"]  { transition-delay: 50ms; }
  [data-aos-delay="60"]  { transition-delay: 60ms; }
  [data-aos-delay="70"]  { transition-delay: 70ms; }
  [data-aos-delay="80"]  { transition-delay: 80ms; }
  [data-aos-delay="100"] { transition-delay: 100ms; }
  [data-aos-delay="120"] { transition-delay: 120ms; }
  [data-aos-delay="140"] { transition-delay: 140ms; }
  [data-aos-delay="150"] { transition-delay: 150ms; }
  [data-aos-delay="160"] { transition-delay: 160ms; }
  [data-aos-delay="180"] { transition-delay: 180ms; }
  [data-aos-delay="200"] { transition-delay: 200ms; }
  [data-aos-delay="210"] { transition-delay: 210ms; }
  [data-aos-delay="220"] { transition-delay: 220ms; }
  [data-aos-delay="240"] { transition-delay: 240ms; }
  [data-aos-delay="250"] { transition-delay: 250ms; }
  [data-aos-delay="280"] { transition-delay: 280ms; }
  [data-aos-delay="300"] { transition-delay: 300ms; }
  [data-aos-delay="320"] { transition-delay: 320ms; }
  [data-aos-delay="350"] { transition-delay: 350ms; }
  [data-aos-delay="400"] { transition-delay: 400ms; }
}

/* Card hover movement animations */
.journey-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease !important;
}
.journey-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 14px 28px rgba(18, 52, 103, 0.12) !important;
  border-color: #2472c5 !important;
}
.subjects-grid .subject-bento:hover {
  transform: translateY(-5px) !important;
}

/* TABLET AND MOBILE VIEW: COMPLETELY DISABLED */
@media (max-width: 1024px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }
}

/* ACCESSIBILITY: PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   BRAND TYPOGRAPHY: Nunito headings matching Island Scholars rounded logo
   ========================================================================== */
h1, h2, h3, h4,
.section-heading h2,
.faculty-title,
.scholar-hero h1,
.journey-card h3,
.subject-card h3,
.activity-card h3,
.page-banner h1,
.rewards-title-wrap h2,
.island-cta-title,
.registration-info-side h2 {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

.hero-paths b,
.journey-number {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   HEADER NAVIGATION: Equal gaps between link parents & exact caret spacing
   ========================================================================== */
.header-inner nav {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  height: 100% !important;
}

.header-inner nav .nav-item {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-inner nav .nav-item.nav-item-mega {
  position: static !important;
}

.header-inner nav > .nav-item > a,
.header-inner nav .mega-parent-link {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  font-family: 'Nunito', 'DM Sans', Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--navy, #09264d) !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: color 0.18s ease !important;
}

.header-inner nav > .nav-item > a:hover,
.header-inner nav .mega-parent-link:hover {
  color: #db2140 !important;
}

.header-inner nav > .nav-item > a[aria-current="page"],
.header-inner nav .mega-parent-link[aria-current="page"] {
  color: #db2140 !important;
}

/* Caret symbol: preserves the exact 8px spacing between link text and caret */
.header-inner nav .mega-chevron {
  width: 10px !important;
  height: 10px !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

@media (max-width: 800px) {
  .header-inner nav {
    gap: 12px !important;
  }
  .header-inner nav .nav-item {
    height: auto !important;
    width: 100% !important;
  }
  .header-inner nav > .nav-item > a,
  .header-inner nav .mega-parent-link {
    height: auto !important;
    padding-block: 8px !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   MEGA MENU LINK CARDS: Enhanced icon spacing & minimal clean subtitles
   ========================================================================== */
.mega-link-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 12px !important;
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all 0.18s ease !important;
}

.mega-link-card:hover {
  background: #f4f8fd !important;
  transform: translateX(3px) !important;
}

.mega-icon-pill {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mega-icon-pill svg {
  width: 20px !important;
  height: 20px !important;
}

.mega-link-card > div {
  min-width: 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.mega-link-card strong {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'Nunito', 'DM Sans', Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: var(--navy, #09264d) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mega-link-card:hover strong {
  color: var(--red, #db2140) !important;
}

.mega-link-card small {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 2px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}


/* Mobile layout and navigation: override legacy desktop header sizing. */
.mobile-submenu-toggle { display: none; }
@media(max-width:960px) {
  body.mobile-menu-open { overflow: hidden; }
  .site-header .header-inner { gap: 16px; }
  .site-header .menu-toggle { display: grid; place-items:center; width:44px; height:44px; flex-shrink:0; }
  .site-header .header-inner #navigation {
    display:none!important; position:fixed!important; top:var(--menu-top,120px)!important;
    bottom:0!important; left:0!important; right:0!important; width:100%!important;
    height:calc(100dvh - var(--menu-top,120px))!important; max-height:none!important;
    padding:16px 20px 36px!important; margin:0!important; overflow-y:auto!important;
    overflow-x:hidden!important; background:#fff!important; box-shadow:0 12px 24px #153d7220;
    border:0; z-index:1100; overscroll-behavior:contain; align-items:stretch!important;
  }
  .site-header .header-inner #navigation.open { display:block!important; }
  #navigation > a, #navigation > .nav-item { display:block!important; width:100%!important; height:auto!important; }
  #navigation > a, #navigation > .nav-item > a { min-height:52px; padding:16px 10px!important; font-size:16px!important; }
  .site-header .header-inner #navigation .nav-item-mega { position:relative!important; display:block!important; height:auto!important; width:100%!important; border-bottom:1px solid #e6edf6; }
  .site-header .header-inner #navigation .mega-parent-link { display:flex!important; width:calc(100% - 52px)!important; height:auto!important; min-height:54px!important; padding:16px 10px!important; font-size:16px!important; }
  #navigation .mega-parent-link .mega-chevron { display:none!important; }
  #navigation .mobile-submenu-toggle { display:grid; place-items:center; position:absolute; top:5px; right:0; width:44px; height:44px; border:1px solid #dfe8f2; border-radius:6px; background:#f1f6ff; color:#153d72; font-size:24px; }
  .site-header #navigation .mega-menu { display:none!important; position:static!important; width:100%!important; height:auto!important; max-height:none!important; padding:16px 8px!important; margin:0 0 12px!important; opacity:1!important; visibility:visible!important; transform:none!important; background:#f6f9ff!important; box-shadow:none!important; pointer-events:auto!important; }
  .site-header #navigation .mobile-expanded > .mega-menu { display:block!important; }
  #navigation .mega-menu-inner { display:grid!important; grid-template-columns:minmax(0,1fr)!important; width:100%!important; padding:0!important; gap:24px!important; }
  #navigation .mega-visual-column { display:none!important; }
  #navigation .mega-link-card { height:auto!important; min-height:64px!important; padding:10px 6px!important; }
  #navigation .mega-link-card strong,#navigation .mega-link-card small { white-space:normal!important; overflow:visible!important; }
  #navigation .mega-col-heading { margin:0 6px 8px; }
}
@media(max-width:800px) {
  .wrap, .real-section-grid { max-width:calc(100% - 40px); }
  .header-actions { flex-shrink:0; }
  .header-actions .button { display:none; }
  .hero-paths,.learning-values a,.map-campus-item,.reg-field,.registration-split>* { min-width:0; }
  .real-section.full-width-popout .real-popout-visual-col { width:calc(100% + 40px); left:-20px; }
  .rewards-wrap-section .rewards-boy-img { max-width:100%; object-fit:contain; }
  .rewards-wrap-section .rewards-banner-card { max-width:calc(100% - 40px); }
  .rewards-right-badges .reward-badge-card { width:auto; }
  .island-cta-content { max-width:100%; }
  .button,.outline-button { white-space:normal; text-align:center; }
  .footer-bottom,.footer-legal-links { flex-wrap:wrap; }
  .map-campus-item span,.reg-direct-help span { overflow-wrap:anywhere; }
  .content-layout,.split,.registration-split { grid-template-columns:minmax(0,1fr); }
  .filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filters input,.filters select { min-width:0; width:100%; }
}
@media(max-width:500px) {
  .filters { grid-template-columns:minmax(0,1fr); }
  .scholar-hero .hero-paths a { flex-direction:column; gap:4px; }
  .scholar-hero h1 { font-size:clamp(34px,10.5vw,42px); }
  .real-section.full-width-popout .real-popout-copy-col { padding-top:30px; }
  .feature-line { align-items:flex-start; }
  .teacher-dialog-inner { display:block; }
  .teacher-modal-content { padding:24px; }
}

/* Keep search suggestions and results within narrow screens. */
.search-modal-input-wrap,
.search-modal-input,
.search-result-info { min-width:0; }
.search-modal-input { flex:1; }
.search-quick-tags { flex-wrap:wrap; overflow-x:visible; }
.search-result-info { overflow-wrap:anywhere; }
@media(max-width:680px) {
  .search-modal { margin-top:16px; max-height:calc(100dvh - 32px); }
  .search-modal[open] { display:flex; flex-direction:column; }
  .search-modal-header { padding:16px; gap:10px; flex-shrink:0; }
  .search-modal-input-wrap { gap:8px; }
  .search-modal-input { font-size:16px; }
  .search-modal-close { width:44px; height:44px; }
  .search-quick-tags { padding:12px 16px; flex-shrink:0; }
  .search-quick-tag-btn { min-height:36px; max-width:100%; white-space:normal; }
  .search-results-box { min-height:0; padding:10px; }
  .search-result-item { flex-wrap:wrap; gap:8px; padding:12px; }
  .search-result-info { flex:1 1 180px; }
  .search-empty-state { padding:24px 12px; }
}

@media(max-width:680px) {
  .search-quick-tags { display:none; }
}

.faculty-slide-arrow,.faculty-slide-status { display:none; }
#faculty .faculty-card[hidden] { display:none; }
@media(max-width:680px) {
  .faculty-slider { position:relative; padding-inline:30px; }
  #faculty .faculty-slider .staff-cards-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  #faculty .faculty-slider .faculty-card { width:100%; min-width:0; }
  #faculty .faculty-slider .faculty-card-content { padding:22px 18px; }
  .faculty-slide-arrow {
    display:grid; place-items:center; position:absolute; top:130px;
    width:44px; height:44px; border:1px solid #c8d9ed; border-radius:50%;
    background:#fff; color:#153d72; font-size:32px; line-height:1;
    padding:0; box-shadow:0 3px 12px #153d7214; z-index:2; cursor:pointer;
  }
  .faculty-slide-prev { left:-14px; }
  .faculty-slide-next { right:-14px; }
  .faculty-slide-status { display:block; text-align:center; margin:18px 0 0; font-size:13px; color:#586d85; }
}

@media(max-width:680px) {
  #faculty .faculty-slider .staff-cards-grid { overflow:hidden; }
  #faculty .faculty-slider .faculty-card { grid-area:1 / 1; align-self:start; }
}

/* Invisible slides still size the shared grid row, preventing layout shifts. */
@media(max-width:680px) {
  #faculty .faculty-slider .faculty-card { align-self:stretch; }
  #faculty .faculty-slider .faculty-card[hidden] {
    display:block; visibility:hidden; pointer-events:none;
  }
}

.faculty-slide-arrow svg {
  display:block;
  width:20px;
  height:20px;
  margin:0;
  flex-shrink:0;
}

/* Keep card actions aligned to the bottom regardless of copy length. */
.activity-card { display:flex; flex-direction:column; }
.activity-card > .card-art { flex-shrink:0; }
.activity-card > .card-body {
  flex:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto 1fr auto;
  align-items:start;
}
.activity-card .card-body > .tag { justify-self:start; }
.activity-card .card-body > .standard-label { justify-self:end; }
.activity-card .card-body > h3,
.activity-card .card-body > p,
.activity-card .card-body > .card-cta { grid-column:1 / -1; }
.activity-card .card-body > .card-cta { align-self:end; justify-self:start; }

/* Hover feedback must remain smooth even when mobile scroll reveals are disabled. */
.activity-card,
.journey-card,
.subjects-grid .subject-bento,
#faculty .faculty-card {
  transition:transform .38s cubic-bezier(.22,.61,.36,1),
    box-shadow .38s ease, border-color .3s ease, background-color .3s ease,
    opacity .5s ease !important;
}
.activity-card.aos-animate,
.journey-card.aos-animate,
.subjects-grid .subject-bento.aos-animate,
#faculty .faculty-card.aos-animate { transition-delay:0s !important; }
@media(hover:hover) and (pointer:fine) {
  .activity-card:hover { transform:translateY(-5px) !important; }
}
/* Touch scrolling should not trigger sticky mouse-hover movement. */
@media(hover:none), (pointer:coarse) {
  .activity-card:hover,
  .journey-card:hover,
  .subjects-grid .subject-bento:hover,
  #faculty .faculty-card:hover { transform:none !important; }
  .subject-bento:hover .subject-bento-image { transform:none; }
}
@media(prefers-reduced-motion:reduce) {
  .activity-card,.journey-card,.subjects-grid .subject-bento,#faculty .faculty-card {
    transition:none !important;
  }
  .activity-card:hover,.journey-card:hover,.subjects-grid .subject-bento:hover {
    transform:none !important;
  }
}

/* Apply easing to the resting state so hover entry and exit both animate. */
button,
.button,
.outline-button,
.card-cta,
.standard-buttons a,
.faculty-bio-btn,
.reg-submit-btn,
.auth-submit-btn,
.island-cta-btn {
  transition:background-color .32s ease-in-out, color .32s ease-in-out,
    border-color .32s ease-in-out, box-shadow .32s ease-in-out,
    transform .32s cubic-bezier(.22,.61,.36,1) !important;
  transition-delay:0s !important;
}
@media(prefers-reduced-motion:reduce) {
  button,.button,.outline-button,.card-cta,.standard-buttons a,
  .faculty-bio-btn,.reg-submit-btn,.auth-submit-btn,.island-cta-btn {
    transition:none !important;
  }
}

/* Keep the hero badge above the photo gradient. */
.scholar-hero .hero-caption { z-index:1; color:#153d72; background:#fff; }
@media(max-width:500px) {
  .scholar-hero .hero-caption { gap:8px; flex-wrap:wrap; }
  .scholar-hero .hero-caption > span:last-child { color:#345777; }
}

@media(max-width:800px) {
  .journey-card .journey-link .arrow-shift {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:28px;
    height:28px;
    font-size:24px;
    font-weight:700;
    line-height:1;
  }
}
