/* Homepage sections only. The approved transparent hero header is untouched. */
.sms-home{--modern-ink:#0c2941;--modern-muted:#516273;--modern-cream:#f5f2e9;--modern-gold:#ddb54d;--modern-green:#086a4d}
.sms-home :is(.home-section,.home-admissions){isolation:isolate}
.sms-home :is(.home-section-heading,.home-feature-heading) .home-eyebrow{display:inline-flex;align-items:center;gap:11px;color:#a07620;font-size:11px;font-weight:800;letter-spacing:.19em;text-transform:uppercase}
.sms-home :is(.home-section-heading,.home-feature-heading) .home-eyebrow:before{content:"";display:block;width:25px;height:2px;background:currentColor}
.sms-home .home-section-heading h2{max-width:850px;letter-spacing:-.035em;line-height:1.08}
.sms-home .home-section-heading p:not(.home-eyebrow){max-width:690px;color:var(--modern-muted);line-height:1.7}
.sms-home .home-text-link{transition:color .2s ease,border-color .2s ease}
.sms-home :is(.home-column-card,.programme-card,.faculty-feature,.editorial-item,.intro-content-card){transition:transform .3s ease,box-shadow .3s ease}
.sms-home :is(.home-column-card,.programme-card,.faculty-feature,.editorial-item,.intro-content-card):hover{transform:translateY(-5px)}
.sms-home :is(.home-column-card,.programme-card,.faculty-feature,.intro-content-card):focus-within{outline:2px solid var(--modern-gold);outline-offset:3px}

/* Leadership opens the editorial journey after the hero. */
.sms-home .home-feature-trio[data-home-section="leadership"].cms-bg-theme{background:linear-gradient(135deg,#eef3f0 0%,#f9f8f3 68%,#e9ede6 100%)}
.sms-home .home-feature-trio[data-home-section="leadership"]{position:relative;overflow:hidden;padding-block:clamp(62px,7vw,110px)}
.sms-home .home-feature-trio[data-home-section="leadership"]:before{content:"";position:absolute;width:460px;height:460px;right:-150px;top:-210px;border:1px solid #0c294116;border-radius:50%;box-shadow:0 0 0 75px #0c294107,0 0 0 150px #0c294106;pointer-events:none;transform:translate3d(0,var(--home-parallax,0px),0)}
.sms-home .home-vc-panel{border-radius:18px;background:linear-gradient(120deg,#123453,#0c2941);box-shadow:0 25px 65px #0c29412b;overflow:hidden}
.sms-home .home-feature-grid.is-single .home-vc-panel{grid-template-columns:minmax(220px,33%) minmax(0,1fr);gap:12px clamp(30px,5vw,82px);padding:clamp(26px,4vw,58px)}
.sms-home .home-feature-grid.is-single .home-vc-panel .home-vc-portrait{height:100%;min-height:320px;max-height:470px;border:0;border-radius:10px;object-position:center 22%}
.sms-home .home-vc-panel h2{font-size:clamp(2rem,3.2vw,3.5rem);letter-spacing:-.035em}
.sms-home .home-vc-panel .home-vc-quote{font:400 clamp(1.06rem,1.6vw,1.34rem)/1.65 Georgia,serif;color:#f5f5ec}
.sms-home .home-vc-panel .home-vc-identity{border-color:#ffffff35}
.sms-home .home-vc-panel .home-feature-more{color:#f4ce71;text-decoration:none;border-bottom:1px solid currentColor;width:max-content}

/* Campus story: text, selected section photo, and CMS cards remain peer columns. */
.sms-home .home-intro.cms-bg-theme{background:var(--modern-cream)}
.sms-home .home-intro{position:relative;overflow:hidden;padding-block:clamp(72px,8vw,120px)}
.sms-home .home-intro:before{content:"";position:absolute;inset:0 0 auto;height:140px;background:linear-gradient(180deg,#fff8,transparent);pointer-events:none}
.sms-home .intro-composite-grid{position:relative;gap:clamp(18px,2.4vw,34px)}
.sms-home .intro-primary{display:flex;flex-direction:column;justify-content:center;padding:clamp(22px,2.7vw,38px);border:0;border-top:4px solid var(--modern-gold);border-radius:14px;background:#fffdf8;box-shadow:0 25px 55px #0c294112}
.sms-home .intro-primary h2{font-size:clamp(2rem,3vw,3.35rem);letter-spacing:-.045em}
.sms-home .intro-primary :is(h2,.intro-copy,.home-text-link),.sms-home .intro-content-copy :is(h3,p,.home-text-link){color:var(--modern-ink)}
.sms-home .intro-primary .intro-copy{font:400 clamp(1rem,1.25vw,1.2rem)/1.7 Georgia,serif;color:#364f61}
.sms-home .intro-primary .home-text-link{margin-top:auto;align-self:flex-start}
.sms-home .intro-media-card{position:relative;min-height:340px;border-radius:14px;box-shadow:0 25px 55px #0c294120;overflow:hidden}
.sms-home .intro-media-card img{height:100%;max-height:none;object-fit:cover;transform:translate3d(0,var(--home-parallax,0px),0) scale(1.08);transition:transform .15s linear}
.sms-home .intro-content-card{border:0;border-radius:14px;box-shadow:0 25px 55px #0c294112}
.sms-home .intro-content-image{transform:translate3d(0,var(--home-parallax,0px),0) scale(1.04);transition:transform .15s linear}
.sms-home .intro-content-copy{position:relative;z-index:1;background:#fff;padding:clamp(20px,2.3vw,32px)}
.sms-home .intro-content-copy h3{letter-spacing:-.025em}
.sms-home .home-intro .intro-layout{position:relative}

/* Academic catalogue alternates spacious typography with confident cards. */
.sms-home .home-programmes.cms-bg-theme,.sms-home .home-faculties.cms-bg-theme{background:#f6f8f7}
.sms-home .home-programmes,.sms-home .home-faculties{padding-block:clamp(74px,8vw,116px)}
.sms-home .programme-filters{gap:18px;padding:18px 24px 24px;background:#fff;border:1px solid #dce7e2;border-radius:12px;margin-bottom:28px}
.sms-home .programme-card{position:relative;overflow:hidden;min-height:275px;border:1px solid #d9e4df;border-top:4px solid var(--modern-green);border-radius:14px;box-shadow:0 14px 32px #0c29410c}
.sms-home .programme-card:after{content:"";position:absolute;right:-43px;bottom:-45px;width:150px;height:150px;border:1px solid #0c294112;border-radius:50%;pointer-events:none}
.sms-home .programme-card h3{font-size:clamp(1.4rem,1.8vw,1.95rem);line-height:1.24;letter-spacing:-.025em}
.sms-home .faculty-grid{gap:clamp(16px,2vw,30px)}
.sms-home .faculty-feature{position:relative;min-height:285px;border-radius:14px;background:#143657;box-shadow:0 18px 38px #0c294119}
.sms-home .faculty-feature:nth-child(4n+2){background:#0d624f}
.sms-home .faculty-feature:nth-child(4n+3){background:#1c4569}
.sms-home .faculty-feature:nth-child(4n+4){background:#244d42}
.sms-home .faculty-feature:after{content:"";position:absolute;inset:auto -55px -115px auto;width:250px;height:250px;border:1px solid #ffffff21;border-radius:50%;pointer-events:none}
.sms-home .faculty-feature>div{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,3vw,44px)}
.sms-home .faculty-feature h3{font-size:clamp(1.65rem,2.15vw,2.45rem);letter-spacing:-.035em}
.sms-home .faculty-feature .home-text-link{align-self:flex-start;color:#f3d178}
.sms-home .faculty-mark{position:absolute;right:20px;bottom:0;font-size:clamp(100px,14vw,190px);color:#ffffff13}

/* Admissions is a clear, high-contrast call to action. */
.sms-home .home-admissions.cms-bg-theme{background:radial-gradient(circle at 88% 18%,#285376 0%,#123653 38%,#09263f 80%)}
.sms-home .home-admissions{padding-block:clamp(76px,8vw,120px)}
.sms-home .home-admissions:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 57%,#ffffff06 57% 69%,transparent 69%);pointer-events:none;transform:translate3d(0,var(--home-parallax,0px),0)}
.sms-home .home-admissions .admissions-layout{position:relative;z-index:1;gap:clamp(36px,6vw,100px)}
.sms-home .home-admissions h2{max-width:710px;font-size:clamp(3rem,4.5vw,5.3rem);letter-spacing:-.055em;line-height:1.04}
.sms-home .home-admissions p:not(.home-eyebrow){max-width:570px;font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.75}
.sms-home .home-admissions .admission-steps{padding:clamp(20px,3vw,36px);border:1px solid #ffffff3b;border-radius:16px;background:#ffffff0d;backdrop-filter:blur(8px)}
.sms-home .home-admissions .admission-steps{grid-template-columns:1fr;gap:0}
.sms-home .home-admissions.cms-bg-light{background:#fff;color:var(--modern-ink)}
.sms-home .home-admissions.cms-bg-light :is(h2,p,.home-text-link,.admission-steps>a){color:var(--modern-ink)}
.sms-home .home-admissions.cms-bg-light .admission-steps{border-color:#d8e4e1;background:#f5f8f7;backdrop-filter:none}
.sms-home .admission-steps>a{align-items:center;gap:20px;transition:padding-left .2s ease,background .2s ease}
.sms-home .admission-steps>a:hover{padding-left:10px;background:#ffffff0b}
.sms-home .admission-steps span{font-weight:800;color:#f4d47b}

/* Each editorial chapter has a different visual role; all copy and images are CMS supplied. */
.sms-home .home-editorial:not(.cms-spacing-compact):not(.cms-spacing-spacious){padding-block:clamp(72px,8vw,118px)}
.sms-home .home-editorial .editorial-grid{gap:clamp(18px,2.5vw,34px)}
.sms-home .home-editorial .editorial-item{position:relative;min-width:0;border-radius:14px;overflow:hidden}
.sms-home .home-editorial .editorial-item>img{border-radius:10px}
.sms-home .home-editorial .editorial-copy p{line-height:1.7}
.sms-home .home-research.cms-bg-theme{background:#103d37;color:#fff}
.sms-home .home-research{position:relative;overflow:hidden}
.sms-home .home-research:before{content:"";position:absolute;width:48vw;height:48vw;max-width:700px;max-height:700px;border:1px solid #ffffff12;border-radius:50%;right:-10%;top:-50%;box-shadow:0 0 0 90px #ffffff06,0 0 0 180px #ffffff04;transform:translate3d(0,var(--home-parallax,0px),0);pointer-events:none}
.sms-home .home-research .sms-shell{position:relative;z-index:1}
.sms-home .home-research.cms-bg-image:after{content:"";position:absolute;inset:0;background:#082e29bc;pointer-events:none}
.sms-home .home-research :is(h2,h3,.home-eyebrow,.home-text-link){color:#fff}
.sms-home .home-research .home-eyebrow{color:#f0d07b}
.sms-home .home-research .home-section-heading p,.sms-home .home-research .editorial-copy p{color:#d9e6e0}
.sms-home .home-research .editorial-item{padding:clamp(26px,4vw,52px);border:1px solid #ffffff36;background:#ffffff12;box-shadow:0 22px 50px #051d1a24}
.sms-home .home-research .editorial-grid:has(>.editorial-item:only-child){grid-template-columns:minmax(0,1fr)}
.sms-home .home-research .editorial-item:only-child{display:flex;align-items:center;min-height:330px}
.sms-home .home-research .editorial-item:only-child .editorial-copy{position:relative;z-index:1;max-width:750px}
.sms-home .home-research .editorial-item:only-child:after{content:"";position:absolute;width:370px;height:370px;right:4%;top:50%;border:1px solid #ffffff28;border-radius:50%;box-shadow:0 0 0 46px #ffffff08,0 0 0 92px #ffffff05;transform:translateY(-50%);pointer-events:none}
.sms-home .home-research .editorial-item>img{object-fit:cover;transform:translate3d(0,var(--home-parallax,0px),0) scale(1.06)}
.sms-home .home-research .editorial-copy h3{font-size:clamp(1.7rem,2.4vw,2.6rem)}
.sms-home .home-research .editorial-copy .home-text-link{border-color:#f0d07b;color:#f0d07b}
.sms-home .home-research.cms-bg-light{color:var(--modern-ink)}
.sms-home .home-research.cms-bg-light :is(h2,h3,.home-eyebrow,.home-text-link){color:var(--modern-ink)}
.sms-home .home-research.cms-bg-light .home-section-heading p,.sms-home .home-research.cms-bg-light .editorial-copy p{color:var(--modern-muted)}
.sms-home .home-research.cms-bg-light .editorial-item{border-color:#d5e2dd;background:#f2f7f4;box-shadow:none}
.sms-home .home-student_life.cms-bg-theme{background:#f1eee5}
.sms-home .home-student_life .editorial-item{padding:clamp(28px,4vw,58px);border:0;border-left:5px solid var(--modern-gold);background:#fffdf9;box-shadow:0 22px 50px #0c294110}
.sms-home .home-student_life .editorial-grid:has(>.editorial-item:only-child){grid-template-columns:minmax(0,1fr)}
.sms-home .home-student_life .editorial-item:only-child{display:flex;align-items:center;min-height:340px}
.sms-home .home-student_life .editorial-item:only-child .editorial-copy{position:relative;z-index:1;max-width:780px}
.sms-home .home-student_life .editorial-item:only-child:after{content:"";position:absolute;right:-8%;top:-60%;width:600px;height:600px;border:1px solid #ba9c5a3b;border-radius:50%;box-shadow:0 0 0 50px #ba9c5a12,0 0 0 100px #ba9c5a0b;pointer-events:none}
.sms-home .home-student_life .editorial-item h3{font-size:clamp(1.8rem,2.6vw,3rem);letter-spacing:-.04em}
.sms-home .home-student_life .editorial-copy :is(h3,p,.home-text-link),.sms-home .home-support .editorial-copy :is(h3,p,.home-text-link){color:var(--modern-ink)}
.sms-home .home-student_life .editorial-item>img{max-height:360px;object-fit:cover}
.sms-home .home-support.cms-bg-theme{background:#e9f0f2}
.sms-home .home-support .editorial-item{padding:clamp(26px,3vw,42px);border:1px solid #ccdcdf;background:#fff;box-shadow:0 20px 45px #0c29410c}
.sms-home .home-support .editorial-index{border:0;padding:0;color:var(--modern-green);font:400 3rem/1 Georgia,serif}
.sms-home .home-support .editorial-item h3{font-size:clamp(1.55rem,2.1vw,2.35rem)}
.sms-home .home-editorial:not(.home-research):not(.home-student_life):not(.home-support) .editorial-item{border-bottom:0;box-shadow:0 12px 34px #0c29410e}
.sms-home .home-editorial:not(.home-research):not(.home-student_life):not(.home-support) .editorial-copy{padding:clamp(20px,2.4vw,30px)}
.sms-home .home-editorial .section-placement-media,.sms-home .home-editorial .section-feature-image{border-radius:14px;overflow:hidden}
.sms-home .home-editorial.cms-image-placement-background.cms-bg-image{background-attachment:fixed;background-position:center;background-size:cover}

/* Closing contact section is a clean, useful destination. */
.sms-home .home-contact.cms-bg-theme{background:#f8faf8}
.sms-home .home-contact{padding-block:clamp(75px,8vw,115px)}
.sms-home .home-contact .contact-layout{gap:clamp(28px,5vw,80px);align-items:center}
.sms-home .home-contact h2{font-size:clamp(2.8rem,4.2vw,4.7rem);letter-spacing:-.05em}
.sms-home .home-contact address{padding:clamp(28px,3.5vw,48px);border:0;border-top:4px solid var(--modern-gold);border-radius:14px;background:#143653;color:#fff;box-shadow:0 22px 50px #0c294124}
.sms-home .home-contact address :is(p,a,small){color:#fff;line-height:1.7}
.sms-home .home-contact address a:hover{color:#f2d276}
.sms-home section.cms-spacing-compact{padding-block:28px}
.sms-home section.cms-spacing-spacious{padding-block:110px}

@media(max-width:900px){
  .sms-home .home-feature-grid.is-single .home-vc-panel{gap:18px 30px}
  .sms-home .intro-composite-grid{grid-template-columns:repeat(min(var(--section-columns,2),2),minmax(0,1fr))}
  .sms-home .home-admissions .admissions-layout{gap:28px}
  .sms-home .home-editorial.cms-image-placement-background.cms-bg-image{background-attachment:scroll}
}
@media(max-width:600px){
  .sms-home .home-feature-trio[data-home-section="leadership"],.sms-home .home-intro,.sms-home .home-programmes,.sms-home .home-faculties,.sms-home .home-admissions,.sms-home .home-editorial:not(.cms-spacing-compact):not(.cms-spacing-spacious),.sms-home .home-contact{padding-block:48px}
  .sms-home .home-feature-grid.is-single .home-vc-panel{display:flex;flex-direction:column;padding:22px}
  .sms-home .home-feature-grid.is-single .home-vc-panel .home-vc-portrait{width:100%;height:280px;min-height:0}
  .sms-home .intro-composite-grid{grid-template-columns:1fr}
  .sms-home .intro-media-card{min-height:260px}
  .sms-home .intro-media-card img{max-height:340px}
  .sms-home .programme-filters{padding:16px}
  .sms-home .faculty-feature{min-height:240px}
  .sms-home .faculty-feature>div{padding:28px}
  .sms-home .home-admissions h2{font-size:clamp(2.6rem,10vw,4rem)}
  .sms-home .home-research .editorial-item,.sms-home .home-student_life .editorial-item,.sms-home .home-support .editorial-item{padding:24px}
  .sms-home .home-contact .contact-layout{align-items:stretch}
  .sms-home .home-contact address{padding:24px}
  .sms-home section.cms-spacing-compact{padding-block:30px}
  .sms-home section.cms-spacing-spacious{padding-block:72px}
}
@media(prefers-reduced-motion:reduce){
  .sms-home :is(.home-column-card,.programme-card,.faculty-feature,.editorial-item,.intro-content-card){transition:none}
  .sms-home :is(.home-column-card,.programme-card,.faculty-feature,.editorial-item,.intro-content-card):hover{transform:none}
  .sms-home :is(.intro-media-card img,.intro-content-image,.home-research .editorial-item>img){transform:none;transition:none}
  .sms-home .home-editorial.cms-image-placement-background.cms-bg-image{background-attachment:scroll}
}
