/* Photographic refinement of the established KOMU-E blue and gold identity. */
:root{--paper:#fffefa;--sky:#edf5f6;--line:#d9e3e4;--ink:#173c4a;--muted:#48616b}
body{font-size:18px;line-height:1.8}
h1,h2,h3{font-weight:500}
.wrap{width:min(1200px,calc(100% - 80px))}
.utility{font-size:12px;letter-spacing:.02em}
.utility .wrap{min-height:49px;padding-block:7px}
.header-bar{min-height:96px;gap:22px}
.brand small{max-width:200px;font-size:11px}
nav{gap:21px;font-size:14px}
.nav-support{padding:12px 17px;border-radius:6px}
.btn{border-radius:6px;min-height:50px;padding:12px 23px}
.band{padding-block:88px}
.tint{background:#f1f5f3}
.hero{padding:64px 0 72px;background:#edf5f6}
.heroin{grid-template-columns:1.08fr .92fr;gap:64px;align-items:center}
.hero h1{font-size:clamp(40px,4.25vw,58px);line-height:1.16;max-width:none;letter-spacing:-.035em;margin-bottom:22px}
.hero .tag{font-size:18px;line-height:1.55;max-width:39ch;margin-bottom:25px;color:var(--blue)}
.hero h2{font-size:16px;line-height:1.5;margin-bottom:12px}
.hero p:not(.tag){font-size:16px;line-height:1.8}
.hero .acts{margin-top:26px}
.editorial-photo{margin:0;min-width:0;align-self:start}
.editorial-photo>img{display:block;width:100%;height:auto;object-fit:cover;border-radius:12px;background:#dfe9e7}
.hero-photo{align-self:center}
.hero-photo>img{aspect-ratio:4/5;object-position:50% 50%;box-shadow:0 20px 40px #183b4914}
.story-layout{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.story-copy{padding-block:16px}
.story-copy h2{max-width:18ch}
.story-copy p{color:var(--muted)}
.learning-photo{align-self:center}
.learning-photo>img{aspect-ratio:1.08;object-position:40% 50%}
.two{grid-template-columns:1fr 1.35fr;gap:80px}
.two h2{max-width:18ch}
.faculty-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px}
.faculty-layout p{color:var(--muted);max-width:28ch}
.faculty-layout .grid{grid-template-columns:1fr 1fr;align-self:start;margin-top:0;gap:0 28px;border:0}
.faculty-layout .tile{margin:0;padding:23px 0;border-top:1px solid var(--line);border-bottom:0;font-size:23px;min-height:92px}
.faculty-layout .tile:nth-last-child(-n+2){border-bottom:1px solid var(--line)}
.deep{padding-block:64px;background:#173c4a}
.deep .wrap{display:grid;grid-template-columns:.65fr 1.65fr;gap:60px;align-items:center}
.deep h2{margin:0;font-size:28px;max-width:8ch}
.impact{gap:38px;align-items:center}
.impact strong{font-size:clamp(48px,6vw,72px)}
.impact p{font-size:16px;line-height:1.8}
.support-section{background:#f6f3eb}
.support-layout{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:88px}
.support-layout h2{max-width:17ch}
.support-layout p{color:var(--muted)}
.support-photo{align-self:center}
.support-photo>img{aspect-ratio:16/9;object-position:center}
.phead{padding-block:56px;background:#edf5f6}
.phead h1{font-size:clamp(36px,4vw,54px);max-width:18ch}
.phead p{font-size:20px;line-height:1.7;max-width:52ch}
.page-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:72px;align-items:center}
.page-heading-copy{padding-block:16px}
.page-photo{align-self:center}
.page-photo>img{aspect-ratio:1.65;object-position:center 40%}
body[data-page=admissions] .page-photo>img{object-position:center 42%}
body[data-page=teachers] .page-photo>img,body[data-page=volunteer] .page-photo>img{object-position:35% 40%}
.rows>div{padding-block:30px}
.rows dt{font-size:25px}
body[data-page=faculties] main>.band .rows>div{grid-template-columns:.8fr 1.5fr;gap:64px}
.contact{padding:32px 36px;border-radius:12px;background:#edf5f6}
.form-layout{gap:72px;grid-template-columns:1fr 1.55fr}
.form-intro h2{max-width:17ch}
.enquiry-form{padding:40px;box-shadow:0 14px 36px #173c4909}
.form-field input,.form-field textarea,.form-field select{background:#fcfdfb;border-color:#a1b4ba;border-radius:6px}
.form-grid{gap:26px 22px}
.site-footer{padding-top:70px}
.site-footer .brand img{background:#fffefa;border-radius:50%;padding:3px}
.footer-grid{gap:40px;grid-template-columns:1.25fr .8fr .95fr 1.15fr}
.footer-bottom{padding-block:24px}
[dir=rtl] .hero h1{max-width:15ch;font-size:clamp(34px,4vw,52px);line-height:1.55;letter-spacing:0}
[dir=rtl] .hero p:not(.tag){line-height:1.95}
[dir=rtl] .faculty-layout .tile{margin:0;padding-inline:0;font-size:22px}
[dir=rtl] .two h2{max-width:19ch}
@media(hover:hover){
 .faculty-layout .tile:hover{padding-inline-start:12px}
 }
@media(prefers-reduced-motion:no-preference){
 .hero-photo>img{animation:photo-arrive .85s var(--ease-out) both}
 @keyframes photo-arrive{from{clip-path:inset(0 0 4% 0 round 12px);transform:translateY(10px)}to{clip-path:inset(0 round 12px);transform:translateY(0)}}
}
@media(max-width:1150px){
 .header-bar{gap:16px}.brand small{max-width:165px}nav{gap:14px;font-size:13px}
 .heroin{gap:40px}.story-layout,.page-intro{gap:48px}
 .hero h1{font-size:48px}.faculty-layout{gap:48px}
 .deep .wrap{gap:32px;grid-template-columns:.5fr 1.5fr}.impact{gap:28px}.impact strong{font-size:54px}
 .footer-grid{gap:28px}
}
@media(max-width:1000px){
 .wrap{width:calc(100% - 48px)}
 .header-bar{min-height:84px}.brand small{max-width:210px}
 nav{font-size:16px;gap:0}
 .hero{padding-block:48px}.heroin{gap:32px;grid-template-columns:1.1fr .9fr}
 .hero h1{font-size:42px}.hero-photo>img{aspect-ratio:.65}
 .hero .acts{gap:10px}.hero .btn{font-size:14px;padding-inline:17px}
 .band{padding-block:64px}.two{gap:40px}
 .story-layout{gap:36px}.story-copy h2{font-size:30px}
 .faculty-layout{grid-template-columns:1fr;gap:36px}.faculty-layout p{max-width:60ch}
 .deep .wrap{grid-template-columns:1fr;gap:28px}.deep h2{max-width:none}
 .support-layout{gap:40px;grid-template-columns:1.15fr .85fr}
 .page-intro{gap:36px}.phead h1{font-size:40px}.phead p{font-size:18px}
 .form-layout{grid-template-columns:1fr;gap:32px}
 .enquiry-form{padding:32px}.footer-grid{grid-template-columns:1fr 1fr}
 [dir=rtl] nav{gap:0}
}
@media(max-width:700px){
 .wrap{width:calc(100% - 40px)}
 .hero{padding-block:36px 44px}.heroin{grid-template-columns:1fr;gap:30px}
 .hero h1{font-size:44px;max-width:13ch}.hero .tag{font-size:17px}
 .hero-photo{width:100%;max-width:none;grid-row:auto}
 .hero-photo>img{aspect-ratio:1.2;object-position:50% 35%;box-shadow:none}
 .hero p:not(.tag){font-size:16px}
 .hero .btn{font-size:15px}
 .band{padding-block:48px}.two,.pair,.story-layout,.support-layout{grid-template-columns:1fr;gap:28px}
 .two h2,.story-copy h2,.support-layout h2{max-width:none}
 .story-copy{padding:0}.learning-photo{grid-row:2}
 .learning-photo>img{aspect-ratio:1.3}
 .faculty-layout .grid{column-gap:20px}
 .faculty-layout .tile{font-size:20px;min-height:88px;padding-block:20px}
 .impact{display:block}.impact strong{display:block;font-size:60px;margin-bottom:20px}
 .deep .wrap{gap:24px}.deep h2{font-size:27px}
 .support-photo>img{aspect-ratio:16/9;object-position:center}
 .page-intro{grid-template-columns:1fr;gap:24px}
 .page-heading-copy{padding:0}.phead{padding-block:36px}.phead h1{font-size:38px}
 .page-photo>img{aspect-ratio:1.9}
 .page-photo{width:100%}
 body[data-page=faculties] main>.band .rows>div{grid-template-columns:1fr;gap:12px}
 .rows dt{font-size:23px}.contact{padding:26px 22px}
 .enquiry-form{padding:26px 20px}.form-grid{gap:20px}
 .site-footer{padding-top:48px}.footer-grid{gap:32px 22px}
 .brand small{max-width:190px}
 [dir=rtl] .hero h1{font-size:36px;max-width:none}
 [dir=rtl] .faculty-layout .tile{font-size:19px}
 [dir=rtl] .two h2{max-width:none}
}

/* The About introduction displays the complete university seal. */
.page-logo{width:min(100%,300px);justify-self:center;align-self:center}
.page-logo>img{aspect-ratio:auto;object-fit:contain;border-radius:0;background:transparent}
@media(max-width:700px){.page-logo{width:min(65%,230px)}}

/* Preserve the full teaching collage and its embedded text at every breakpoint. */
body[data-page=teachers] .page-photo>img,
body[data-page=faculties] .page-photo>img{aspect-ratio:auto;object-fit:contain;object-position:center}

/* Direct access to the student portal, including on small screens. */
.utility .utility-actions>.student-login{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:4px 12px;border:1px solid #91abb5;border-radius:5px;color:#fff;text-decoration:none;white-space:nowrap;font-weight:600;transition:background-color .2s ease,border-color .2s ease}
.utility .utility-actions>.student-login:hover{background:#2d505e;border-color:#e4f2f6}
@media(max-width:1100px){.utility-actions>a:not(.student-login){display:none}}
@media(max-width:640px){.utility-actions{gap:10px}.utility .language-label{display:none}.language-switcher{margin-inline-start:0}.utility .utility-actions>.student-login{padding-inline:10px;font-size:12px}}
