.footer-grid{max-width:1210px;grid-template-columns:1.6fr .8fr .9fr 1fr;gap:45px}
.footer .brand{min-width:0}
.footer-description{font-size:11px!important;line-height:1.9;max-width:310px;color:#b2c0c4!important;margin:19px 0 18px!important}
.footer-school-line{display:flex;align-items:center;gap:10px;font-size:7px;letter-spacing:.15em;color:#d0b17d;font-weight:700}
.footer.premium-footer h4{font-family:'DM Sans',sans-serif;font-size:8px;letter-spacing:.2em;color:#d5b77f;margin:6px 0 17px}
.footer.premium-footer ul{gap:12px}
.footer.premium-footer a,.footer.premium-footer p{font-size:10px;color:#b8c4c8;line-height:1.8}
.footer.premium-footer a:hover{color:#fff}
.footer-placeholder{color:#809198!important;font-size:9px!important}
.footer-contact-link{display:inline-block;margin-top:8px;border-bottom:1px solid #8e7048;padding-bottom:4px}
.footer-bottom{max-width:1210px;border-top:1px solid #344650;margin-top:42px;padding-top:17px;font-size:8px;letter-spacing:.06em;color:#809198}
/* Login and role selection */
.premium-login{background:#f7f7f4;min-height:100vh;grid-template-columns:1fr 1fr}
.premium-login .login-story{padding:42px clamp(28px,6vw,92px);background:#142d3d;overflow:hidden;isolation:isolate}
.premium-login .login-story:after{display:none}
.login-orbit{position:absolute;z-index:-1;width:640px;height:640px;right:-330px;bottom:-280px;border:1px solid rgba(222,190,135,.2);border-radius:50%;box-shadow:0 0 0 55px rgba(222,190,135,.035),0 0 0 110px rgba(222,190,135,.025)}
.login-story-content{max-width:510px;margin:auto 0;position:relative;z-index:1}
.premium-login .login-story h1{font-size:clamp(39px,4.6vw,59px);font-weight:500;line-height:1.1;max-width:570px;margin:19px 0}
.premium-login .login-story-content p{font-size:13px;line-height:1.9;color:#b8c8cb;max-width:440px}
.login-story-facts{display:flex;gap:12px;align-items:center;margin-top:37px;font-size:8px;font-weight:700;letter-spacing:.16em;color:#d7bb88}
.login-story-facts i{width:3px;height:3px;border-radius:50%;background:#a98553}
.premium-login .story-bottom{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.16);padding-top:14px}
.premium-login .story-bottom>span{font-size:8px;color:#d0b17d;letter-spacing:.18em;font-weight:700}
.premium-login .story-bottom p{font-size:9px;color:#9aabb0;margin:6px 0 0}
.premium-login .login-form-area{padding:55px clamp(22px,5vw,76px)}
.login-panel{width:min(510px,100%);margin:auto}
.login-back{display:inline-block;color:#728087;font-size:10px;margin-bottom:45px}
.login-panel h2{font-size:42px!important;font-weight:500;line-height:1.15;margin:11px 0 9px!important}
.role-grid{gap:11px;margin:27px 0 21px}
.role-choice{position:relative;border:1px solid #e1e6e2;border-radius:3px;padding:18px 17px 18px 17px;min-height:128px;background:#fff;text-align:left}
.role-choice:hover,.role-choice.selected{border-color:#b9905b;background:#fff;box-shadow:0 10px 25px rgba(20,44,59,.06);transform:translateY(-2px)}
.role-choice .role-symbol{width:29px;height:29px;border-radius:50%;background:#f2eee6;color:#a77c43;display:grid;place-items:center;font-size:14px}
.role-choice strong{font-size:13px;margin:9px 0 3px;color:#1a3544}
.role-choice>span:last-of-type{font-size:9px;color:#7b878c;line-height:1.4}
.role-arrow{position:absolute;top:18px;right:16px;color:#bd945e;font-size:12px;font-weight:400}
.demo-warning{border-left:2px solid #c39351;background:#f0ede6;color:#6a706e;border-radius:0;padding:12px 14px;font-size:10px;line-height:1.7}
.demo-warning b{color:#354a54}
/* Portal UI */
.premium-portal{background:#f4f6f4;grid-template-columns:255px minmax(0,1fr)}
.premium-portal .sidebar{background:#142d3d;padding:22px 16px 18px}
.sidebar-top-brand{padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.14)}
.premium-portal .brand-crest{width:39px;height:43px;font-size:22px;background:#203f50}
.premium-portal .brand-name{font-size:20px!important}
.premium-portal .brand-place{font-size:8px!important;color:#d4b681!important}
.premium-portal .role-label{display:flex;align-items:center;gap:10px;margin:18px 2px 10px;padding:12px 9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:3px;color:#fff}
.role-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#d8bd8c;color:#243e4b;font-size:12px;font-weight:700}
.premium-portal .role-label small{display:block;color:#8fa2a8;font-size:7px;letter-spacing:.16em;margin-bottom:2px}
.premium-portal .role-label strong{font-size:11px}
.premium-portal .side-nav{gap:4px;margin-top:15px}
.premium-portal .side-nav button{display:flex;align-items:center;gap:11px;border-radius:3px;padding:11px 10px;font-size:10px;color:#bdcbd0;min-height:39px}
.premium-portal .side-nav button .side-icon{width:19px;color:#d5b77f;font-size:14px}
.premium-portal .side-nav button.active{background:#29485a;color:#fff;box-shadow:inset 2px 0 #d2ae75}
.premium-portal .side-nav button>b{margin-left:auto;color:#dfc18c}
.premium-portal .side-nav button:hover:not(.active){background:rgba(255,255,255,.07);color:#fff}
.premium-portal .sidebar-bottom{padding:14px 7px 0;display:grid;gap:6px}
.premium-portal .sidebar-bottom button{width:100%;border:0;background:transparent;color:#99abb0;text-align:left;padding:8px 4px;font-size:10px}
.premium-portal .sidebar-bottom button:hover{color:#fff}
.premium-portal .portal-topbar{height:77px;padding:0 30px;background:#fff;border-bottom:1px solid #e3e8e4}
.portal-breadcrumb{font-size:7px;color:#9ba6a5;letter-spacing:.17em;font-weight:700;margin-bottom:5px}
.portal-breadcrumb span{color:#c39a62;padding:0 7px}
.premium-portal .portal-title{font:500 22px 'Playfair Display',serif;color:#1a3544}
.premium-portal .icon-btn{border:1px solid #e2e8e3;border-radius:3px;background:#fff;width:35px;height:35px;color:#51656c}
.premium-portal .profile-mini .avatar{border-radius:50%;background:#e9ddc7;color:#7b5c31}
.premium-portal .profile-mini .identity strong{font-size:10px;color:#263e49}
.premium-portal .profile-mini .identity span{font-size:8px;color:#829094}
.premium-portal .btn.outline.small{padding:8px 12px;border-radius:3px;border-color:#dbe2de;color:#51636b;font-size:9px}
.premium-portal .demo-ribbon{background:#eef1ed;color:#78867e;padding:8px 30px;font-size:8px;letter-spacing:.02em;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e4e9e5}
.demo-ribbon>span:last-child{color:#909b97}
.ribbon-dot{width:5px;height:5px;border-radius:50%;background:#b58b53;display:inline-block}
.premium-portal .portal-content{max-width:1540px;padding:30px 32px 60px}
.premium-portal .welcome-row{align-items:flex-start;margin-bottom:22px}
.premium-portal .welcome-row h1{font-size:35px;font-weight:500;color:#193443;margin:3px 0 5px}
.premium-portal .welcome-row p{font-size:11px;color:#829094}
.premium-portal .demo-pill{border:1px solid #e6dccb;background:#f5f0e6;color:#967447;font-size:8px;letter-spacing:.1em;border-radius:2px;padding:6px 9px}
.premium-portal .stats-grid{gap:12px}
.premium-portal .stat-card,.premium-portal .panel{border:1px solid #e4e9e5;border-radius:4px;box-shadow:0 4px 15px rgba(20,44,59,.025)}
.premium-portal .stat-card{padding:19px}
.premium-portal .stat-card .stat-top{font-size:9px;color:#7c898c}
.premium-portal .stat-card strong{font-size:29px;font-weight:500;color:#183546}
.premium-portal .stat-card small{font-size:8px;color:#72917f}
.premium-portal .panel{padding:21px}
.premium-portal .panel-head h3{font-size:20px;font-weight:500;color:#203b49}
.premium-portal .table th{font-size:8px;letter-spacing:.13em;color:#839094}
.premium-portal .table td{font-size:10px;color:#52636a}
.premium-portal .tag{border-radius:2px;font-size:8px}
.premium-portal .tag.gold{background:#f5eee2;color:#967447}
.premium-portal .tag.blue{background:#ebf1f2;color:#5c7680}
.premium-portal .tag.red{background:#f6ece8;color:#9d6958}
.premium-portal .progress{background:#edf0ed;border-radius:2px;height:6px}
.premium-portal .progress span{background:#7f9b88;border-radius:2px}
.premium-portal .subject-row{font-size:10px;color:#596a70}
.premium-portal .task{gap:10px}
.premium-portal .task-copy strong{font-size:10px}
.premium-portal .task-copy span{font-size:9px}
.premium-portal .book-card{border-radius:3px;border-color:#e4e9e5}
.premium-portal .notice-pop{border-radius:3px;box-shadow:0 18px 45px rgba(20,44,59,.14)}
/* Small details and accessibility */
:focus-visible{outline:3px solid rgba(196,147,78,.55);outline-offset:3px}
@media(max-width:1000px){
 .nav-links{gap:14px}.nav-links a{font-size:10px}.nav-admission{display:none}.hero-premium{gap:28px;min-height:580px}.hero-premium h1{font-size:clamp(43px,5vw,60px)}.hero-visual{min-height:410px}.facts-grid{grid-template-columns:1.2fr repeat(4,1fr)}.fact-item{padding:6px 14px}.portal-feature-layout{gap:45px}.notices-layout{gap:45px}.footer-grid{grid-template-columns:1.35fr .8fr .9fr 1fr;gap:25px}
}
@media(max-width:760px){
 .top-note{padding:0 16px}.top-note-inner{height:28px;font-size:8px;gap:8px}.top-note-place{display:none}.site-header{height:72px}.nav-wrap{padding:0 17px}.brand{min-width:0}.brand-crest{width:38px;height:42px;font-size:21px}.brand-name{font-size:19px!important}.brand-place{font-size:7px!important;margin-top:5px!important}.nav-links,.nav-actions .nav-admission{display:none}.nav-wrap{gap:12px}.nav-portal{padding:10px 12px!important;font-size:9px!important}.menu-toggle{display:block;padding:7px 9px}.mobile-nav{top:72px}
 .hero-premium{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:51px 18px 0;min-height:0}.hero-copy-panel{padding:0 0 22px}.hero-premium h1{font-size:clamp(42px,10vw,55px);line-height:1.07;margin:19px 0 16px}.hero-premium .hero-copy{font-size:13px;line-height:1.8}.hero-premium .hero-actions{margin-top:22px;gap:16px}.hero-qualifiers{margin-top:27px;font-size:7px;gap:8px;letter-spacing:.13em}.hero-visual{min-height:340px;margin:0 0 45px}.hero-image-frame{inset:0 16px 18px 10px}.hero-visual-caption{padding:13px 16px;min-width:195px}.hero-visual-caption span:last-child{font-size:15px}.hero-seal{width:68px;height:74px;top:15px}.hero-seal span{font-size:19px}.hero-bottom-rule{left:18px;right:18px;height:37px;font-size:7px;letter-spacing:.13em}
 .section{padding:59px 18px}.intro-section{padding-top:64px;padding-bottom:64px}.intro-layout{grid-template-columns:1fr;gap:17px}.intro-aside{min-height:0;border:0;padding:0}.intro-vertical{display:none}.intro-main h2{font-size:34px;margin:13px 0 17px}.intro-bottom{display:block}.intro-bottom p{font-size:12px}.intro-bottom .text-link{display:inline-block;margin-top:19px}.facts-band{padding:29px 18px}.facts-grid{grid-template-columns:1fr 1fr;gap:0}.fact-lead{grid-column:1/-1;padding:0 0 18px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:10px}.fact-lead strong{font-size:20px}.fact-item{min-height:67px;padding:10px 9px;border-left:0;border-bottom:1px solid rgba(255,255,255,.1)}.fact-item:nth-child(even){border-left:1px solid rgba(255,255,255,.1)}.fact-item strong{font-size:25px}.fact-item span{font-size:8px}
 .section-heading-row{display:block;margin-bottom:25px}.section-heading-row h2{font-size:35px}.section-heading-row>p{font-size:11px;margin-top:14px}.academic-path{grid-template-columns:1fr 1fr}.academic-stage{min-height:195px;padding:17px 12px 18px 0}.academic-stage+.academic-stage{padding-left:13px}.academic-stage:nth-child(3){border-left:0;border-top:1px solid #dfe4e1}.academic-stage:nth-child(4){border-top:1px solid #dfe4e1}.stage-no{font-size:19px;margin-bottom:21px}.academic-stage h3{font-size:19px}.academic-stage p{font-size:10px}.section-link-row{gap:14px;font-size:7px;align-items:flex-start}.section-link-row .text-link{font-size:10px}
 .life-grid{grid-template-columns:1fr 1fr;grid-template-rows:230px 200px;gap:9px}.life-card-large{grid-column:1/-1}.life-card-copy{left:13px;bottom:15px}.life-card-copy h3{font-size:21px}.life-card-copy small{font-size:7px}.life-card-copy span{font-size:9px}.image-disclaimer{font-size:8px;line-height:1.6}
 .portal-feature{padding:58px 18px}.portal-feature-layout{grid-template-columns:1fr;gap:36px}.portal-feature-copy h2{font-size:38px}.portal-feature-copy p{font-size:12px}.portal-preview{max-width:470px;margin:0 auto;transform:none;padding:17px}.notices-section{padding:62px 18px}.notices-layout{grid-template-columns:1fr;gap:25px}.notices-layout h2{font-size:38px}.notices-intro{font-size:12px;margin-bottom:18px}.home-notice{gap:12px;padding:15px 1px}.home-notice-main strong{font-size:12px}.home-notice-main>span{font-size:9px}
 .admissions-band{padding:43px 18px}.admissions-layout{display:block}.admissions-layout h2{font-size:34px}.admissions-layout p{font-size:11px;line-height:1.7}.admissions-cta{margin-top:20px;display:inline-flex}
 .footer.premium-footer{padding:42px 18px 19px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.footer-brand-column{grid-column:1/-1}.footer-premium h4{font-size:7px}.footer-bottom{margin-top:26px;text-align:left;font-size:7px;line-height:1.7}.footer-bottom span{display:block;margin:4px 0}
 .premium-login{grid-template-columns:1fr}.premium-login .login-story{padding:26px 22px 23px;min-height:280px}.premium-login .login-story-content{margin:45px 0 26px}.premium-login .login-story h1{font-size:36px;margin:14px 0}.premium-login .login-story-content p{font-size:11px}.login-story-facts{margin-top:20px;font-size:7px;gap:7px}.premium-login .story-bottom{margin-top:auto}.premium-login .login-form-area{padding:34px 20px 52px}.login-back{margin-bottom:27px}.login-panel h2{font-size:36px!important}.role-grid{gap:9px;margin:21px 0}.role-choice{min-height:120px;padding:13px}.premium-portal{display:block}.premium-portal .sidebar{left:-275px;width:255px;z-index:25}.premium-portal .sidebar.open{left:0}.premium-portal .portal-topbar{height:68px;padding:0 14px}.premium-portal .portal-title{font-size:17px}.premium-portal .portal-content{padding:19px 14px 45px}.premium-portal .demo-ribbon{padding:7px 14px;font-size:7px;line-height:1.4;flex-wrap:wrap}.premium-portal .welcome-row{display:flex;flex-direction:column;gap:8px}.premium-portal .welcome-row h1{font-size:29px}.premium-portal .stats-grid{grid-template-columns:1fr 1fr;gap:8px}.premium-portal .stat-card{padding:13px}.premium-portal .stat-card strong{font-size:24px}.premium-portal .portal-grid,.premium-portal .portal-grid.equal{grid-template-columns:1fr}.premium-portal .portal-top-right{gap:7px}.premium-portal .profile-mini .identity,.premium-portal .portal-top-right>.btn{display:none}.premium-portal .portal-breadcrumb{font-size:6px}
}
@media(max-width:420px){
 .hero-premium h1{font-size:40px}.hero-visual{min-height:290px}.hero-qualifiers{font-size:6px;gap:6px}.hero-visual-caption{min-width:170px}.hero-visual-caption span:last-child{font-size:13px}.academic-stage h3{font-size:17px}.academic-stage p{font-size:9px}.fact-item span{font-size:7px}.life-grid{grid-template-rows:210px 175px}.portal-preview{padding:14px}.role-grid{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Keep the crest wordmark legible on the dark footer and portal panels. */
.footer.premium-footer .brand-name,
.premium-login .login-story .brand-name,
.premium-portal .sidebar .brand-name{color:#fff!important}
.footer.premium-footer .brand-place,
.premium-login .login-story .brand-place,
.premium-portal .sidebar .brand-place{color:#d4b681!important}
