:root{
  --ink:#12303B;
  --teal:#1F6F78;
  --teal-dark:#17565D;
  --teal-light:#7CC6C9;
  --mist:#EAF3F2;
  --paper:#FBFDFD;
  --line:#CFE0DF;
  --muted:#4A6670;
  --care:#C93A52;
  --care-dark:#A82C42;
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5rem}
body{margin:0;font-family:var(--sans);font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--paper)}
img,svg{max-width:100%;display:block}
a{color:var(--teal-dark)}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.15;margin:0}
h2{font-size:clamp(1.7rem,3.4vw,2.4rem);margin-bottom:.6rem}
h3{font-size:1.25rem}
p{margin:0 0 1rem}
:focus-visible{outline:3px solid var(--care);outline-offset:3px;border-radius:2px}
.wrap{width:min(1120px,92%);margin-inline:auto}
.section{padding:clamp(2rem,4.5vw,3.25rem) 0}
.section.tint{background:var(--mist)}
.lede{color:var(--muted);max-width:60ch}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.6rem 1rem;z-index:100}
.skip:focus{left:0}

/* buttons */
.btn{display:inline-block;font:600 1rem/1 var(--sans);padding:.95rem 1.4rem;border-radius:6px;border:2px solid transparent;text-decoration:none;cursor:pointer}
.btn-care{background:var(--care);color:#fff}
.btn-care:hover{background:var(--care-dark)}
.btn-line{border-color:currentColor;color:inherit;background:transparent}
.btn-line:hover{background:rgba(255,255,255,.12)}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:linear-gradient(135deg,#1c6a73 0%,#17565D 45%,#12303B 100%)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:0}
.brand{display:flex;align-items:center;gap:.9rem;min-width:0;text-decoration:none;color:#fff;background:transparent;padding:.5rem .8rem .5rem 0;position:relative;z-index:2}
.badge{flex:none;display:block;line-height:0}
.brand .logo{width:60px;height:auto;display:block;filter:drop-shadow(0 3px 8px rgba(0,0,0,.45))}
.mark{flex:none;display:block;line-height:0}
.mark img{width:64px;height:auto;display:block;filter:drop-shadow(0 3px 8px rgba(0,0,0,.45))}
.brand b{font-family:var(--serif);font-weight:600;font-size:1.15rem;line-height:1.1;display:block;color:#fff}
.brand small{display:block;color:#d3eeef;font-weight:600;font-size:1.05rem;margin-top:.2rem}
.nav ul{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.nav li{display:flex;align-items:center}
.nav li+li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--care);margin:0 1.1rem;flex:none}
.nav a{color:var(--ink);text-decoration:none;font-weight:600;font-size:1rem;padding:.9rem 0;border-bottom:3px solid transparent}
.nav a:hover{border-bottom-color:var(--teal)}
.sub-toggle{font-family:var(--sans);font-weight:600;font-size:1rem;color:var(--ink);background:none;border:0;border-bottom:3px solid transparent;padding:.9rem 0;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem}
.sub-toggle:hover{border-bottom-color:var(--teal)}
.sub-toggle svg{width:10px;height:6px;transition:transform .2s}
.has-sub.open .sub-toggle svg{transform:rotate(180deg)}
.has-sub{position:relative}
.nav .sub{display:none;flex-direction:column;align-items:stretch;position:absolute;top:100%;left:-1rem;min-width:230px;margin:0;padding:.5rem 0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:0 0 12px 12px;box-shadow:0 18px 30px -12px rgba(18,48,59,.35);z-index:60}
.nav .sub li{display:block}
.nav .sub li::before{display:none}
.nav .sub a{display:block;padding:.7rem 1.2rem;border-bottom:0;font-weight:500;white-space:nowrap}
.nav .sub a:hover{background:var(--mist)}
.has-sub:hover .sub,.has-sub:focus-within .sub,.has-sub.open .sub{display:flex}
.header-cta{display:flex;align-items:center;gap:.6rem}
.menu-btn{display:none;flex-direction:column;align-items:center;justify-content:center;width:46px;height:46px;padding:0;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.55);border-radius:10px;cursor:pointer}
.menu-btn .bar{display:block;width:22px;height:2px;border-radius:2px;background:#fff;transition:transform .2s ease,opacity .2s ease}
.menu-btn .bar+.bar{margin-top:5px}
.menu-btn[aria-expanded="true"] .bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .bar:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* hero */
.hero{position:relative;overflow:hidden;color:#fff;padding:clamp(2.2rem,5vw,3.5rem) 0 clamp(2.2rem,5vw,3.5rem);background:linear-gradient(90deg,rgba(14,38,48,.9) 0%,rgba(14,38,48,.72) 45%,rgba(14,38,48,.38) 100%),url("../img/hero.jpg") center 45%/cover no-repeat,var(--ink)}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.hero h1{font-size:clamp(2.4rem,5.6vw,4.3rem);letter-spacing:-.01em;margin-bottom:1.1rem;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.hero p.lede{color:#c6dedd;font-size:1.15rem}
.ecg{width:100%;height:auto;margin:1.4rem 0 1.6rem}
.ecg path{fill:none;stroke:var(--teal-light);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:trace 3s ease-out .3s forwards}
@keyframes trace{to{stroke-dashoffset:0}}
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-actions .btn-line{color:#fff}

.glass-stage{position:relative;isolation:isolate}
.glass-stage::before,.glass-stage::after{display:none}
.glass-stage::before,.glass-stage::after{content:"";position:absolute;border-radius:50%;z-index:-1}
.glass-stage::before{width:210px;height:210px;right:-60px;top:-50px;background:radial-gradient(circle at 35% 35%,#2a8a94,#1F6F78 70%)}
.glass-stage::after{width:190px;height:190px;left:-55px;bottom:-45px;background:radial-gradient(circle at 60% 40%,#d9566c,#C93A52 70%)}
.enquiry{position:relative;color:#fff;border-radius:18px;padding:1.7rem;
  background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.04)),rgba(14,38,48,.5);
  -webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%);
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 24px 48px -12px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.45)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.enquiry{background:rgba(18,48,59,.95)}}
.enquiry h2{font-size:1.5rem;margin-bottom:.3rem}
.enquiry p.small{font-size:.92rem;color:#dcebea}
.field{margin-bottom:.9rem}
.field label{display:block;font-weight:600;font-size:.92rem;margin-bottom:.3rem}
.field input,.field select{width:100%;font:inherit;padding:.75rem .8rem;border:1px solid rgba(255,255,255,.4);border-radius:10px;background-color:rgba(10,30,38,.35);color:#fff}
.field input::placeholder{color:rgba(255,255,255,.65)}
.field select{-webkit-appearance:none;appearance:none;padding-right:2.4rem;background-repeat:no-repeat;background-position:right .9rem center;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='white' stroke-width='2'/></svg>")}
.field select option{color:#12303B;background:#fff}
.field input:focus,.field select:focus{border-color:#fff;outline:2px solid #fff;outline-offset:1px}
.enquiry .btn{width:100%;text-align:center}

/* principal */
.principal{overflow:hidden}
.principal .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2.5rem,5vw,4.5rem);align-items:center}
.portrait{position:relative;width:100%;max-width:360px;margin-inline:auto}
.portrait::before{content:"";position:absolute;inset:16px -16px -16px 16px;border-radius:20px;background:var(--teal)}
.portrait .frame{position:relative;aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:#dcebea url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100' preserveAspectRatio='xMidYMid slice'><rect width='80' height='100' fill='%23dcebea'/><circle cx='40' cy='38' r='15' fill='%237aa6a8'/><path d='M10 100c0-24 13-38 30-38s30 14 30 38z' fill='%237aa6a8'/></svg>") center/cover no-repeat;box-shadow:0 24px 40px -18px rgba(18,48,59,.55)}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.principal .pull{font-family:var(--serif);font-size:clamp(1.3rem,2.6vw,1.7rem);line-height:1.4;margin:0 0 1.2rem;padding-left:1.1rem;border-left:4px solid var(--care)}
.principal .body{color:var(--muted);max-width:62ch}
.sign{margin-top:1.4rem}
.sign b{display:block;font-family:var(--serif);font-size:1.2rem}
.sign span{color:var(--muted);font-size:.95rem}

/* approvals */
.approvals{border-bottom:1px solid var(--line);background:#fff}
.approvals .wrap{display:flex;flex-wrap:wrap;gap:.6rem 2rem;align-items:center;padding:1.1rem 0}
.approvals strong{font-size:.95rem}
.approvals span.tag{border:1px solid var(--line);border-radius:999px;padding:.3rem .9rem;font-size:.92rem;color:var(--muted)}

/* about */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.about-more{text-align:center;margin:2rem 0 0}
.btn-teal{background:var(--teal-dark);color:#fff}
.btn-teal:hover{background:var(--ink)}
.facts{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.facts li{display:flex;gap:1rem;justify-content:space-between;padding:1rem 0;border-bottom:1px solid var(--line)}
.facts b{font-family:var(--serif);font-size:1.15rem}
.facts span{color:var(--muted);text-align:right}

/* programs */
.programs-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.2rem}
.prog{display:grid;grid-template-columns:1.6fr .7fr 1.2fr auto;gap:1rem 2rem;align-items:center;padding:1.4rem 0;border-top:1px solid var(--line)}
.prog:last-child{border-bottom:1px solid var(--line)}
.prog p{margin:.3rem 0 0;color:var(--muted);font-size:.98rem}
.prog dt{font-size:.82rem;color:var(--muted)}
.prog dd{margin:0;font-weight:600}
.prog a.more{font-weight:600;white-space:nowrap}

/* clinical */
.clinical .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,5vw,4rem)}
.clin-list{display:grid;gap:1.4rem}
.clin-list div{border-left:4px solid var(--teal);padding-left:1.1rem}
.clin-list h3{margin-bottom:.25rem}
.clin-list p{margin:0;color:var(--muted)}

/* admissions steps */
.steps{list-style:none;margin:1.4rem 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;counter-reset:s}
.steps li{counter-increment:s;border-top:4px solid var(--teal);padding-top:1rem}
.steps li::before{content:"Step " counter(s);display:block;font-size:.85rem;font-weight:600;color:var(--teal-dark);margin-bottom:.3rem}
.steps h3{font-size:1.1rem;margin-bottom:.3rem}
.steps p{font-size:.96rem;color:var(--muted);margin:0}
.dates{margin-top:1.4rem;padding:1.1rem 1.3rem;background:#fff;border:1px solid var(--line);border-radius:8px}

/* campus slider (coverflow) */
.gallery{background:linear-gradient(180deg,var(--mist) 0%,var(--paper) 100%);overflow:hidden}
.flow{--w:clamp(240px,52vw,540px);position:relative;height:calc(var(--w)*.72 + 1.5rem);margin-top:1.4rem;touch-action:pan-y}
.slide{position:absolute;top:50%;left:50%;width:var(--w);height:calc(var(--w)*.72);border-radius:12px;overflow:hidden;cursor:pointer;
  background:linear-gradient(135deg,var(--g1,#1F6F78),var(--g2,#12303B));
  box-shadow:0 20px 34px -16px rgba(18,48,59,.5);
  transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .55s,filter .55s}
.slide::before{content:"";position:absolute;inset:0;opacity:.2;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M13.5 4h5v9.5H28v5h-9.5V28h-5v-9.5H4v-5h9.5z' fill='white'/></svg>") center 38%/26% no-repeat}
.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide .cap{position:absolute;left:0;right:0;bottom:0;padding:3rem 1.1rem 1rem;background:linear-gradient(transparent,rgba(0,0,0,.82))}
.slide .cap h3{font-size:clamp(1.05rem,2.4vw,1.5rem);margin-bottom:.2rem}
.slide .cap p{margin:0;font-size:.88rem;color:#e3efee;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.slide[data-pos="0"]{transform:translate(-50%,-50%);z-index:5;cursor:default}
.slide[data-pos="1"]{transform:translate(calc(-50% + var(--w)*.5),-50%) scale(.82);z-index:4;filter:brightness(.82)}
.slide[data-pos="-1"]{transform:translate(calc(-50% - var(--w)*.5),-50%) scale(.82);z-index:4;filter:brightness(.82)}
.slide[data-pos="2"]{transform:translate(calc(-50% + var(--w)*.78),-50%) scale(.64);z-index:3;filter:brightness(.7)}
.slide[data-pos="-2"]{transform:translate(calc(-50% - var(--w)*.78),-50%) scale(.64);z-index:3;filter:brightness(.7)}
.slide[data-pos="far"]{transform:translate(-50%,-50%) scale(.5);opacity:0;pointer-events:none;z-index:1}
.flow-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:10;width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);box-shadow:0 8px 18px -8px rgba(18,48,59,.45);display:grid;place-items:center;cursor:pointer}
.flow-btn:hover{background:var(--teal);border-color:var(--teal);color:#fff}
.flow-btn svg{width:22px;height:22px}
.flow-btn.prev{left:.6rem}
.flow-btn.next{right:.6rem}
.dots{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin:1.2rem auto 0;padding:0 1rem;max-width:420px}
.dots button{width:10px;height:10px;padding:0;border:0;border-radius:6px;background:rgba(18,48,59,.22);cursor:pointer;transition:width .3s,background .3s}
.dots button[aria-current="true"]{width:26px;background:var(--teal)}

/* news ticker (What's New) */
.news-wrap{display:grid;grid-template-columns:1fr minmax(0,460px);gap:clamp(2rem,5vw,4rem);align-items:center}
.ticker{background:linear-gradient(160deg,#1F6F78,#12303B);color:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 40px -20px rgba(18,48,59,.6)}
.ticker-head{display:flex;align-items:center;gap:.8rem;padding:1rem 1.2rem}
.ticker-head h3{font-size:1.4rem;margin-right:auto;color:#fff}
.ticker a{color:#fff;text-decoration:none}
.ticker-head a,.ticker-foot a{font-weight:600;font-size:.95rem}
.ticker-head a:hover,.ticker-foot a:hover{text-decoration:underline}
.tick-btn{width:34px;height:34px;border-radius:8px;border:1px solid rgba(255,255,255,.55);background:transparent;color:#fff;display:none;place-items:center;cursor:pointer}
.is-live .tick-btn{display:grid}
.tick-btn svg{width:14px;height:14px}
.ticker-view{height:340px;overflow:auto;padding:.4rem 1.2rem 0;-webkit-mask-image:linear-gradient(transparent,#000 6%,#000 92%,transparent);mask-image:linear-gradient(transparent,#000 6%,#000 92%,transparent)}
.is-live .ticker-view{overflow:hidden}
.tick-list{list-style:none;margin:0;padding:0}
.tick-list li{position:relative;padding:0 0 1.25rem 1.5rem;font-weight:600;line-height:1.45}
.tick-list li::before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;background:#bfe3e4}
.tick-list a:hover{text-decoration:underline}
.new{display:inline-block;margin-left:.35rem;padding:.05rem .55rem;border-radius:999px;background:var(--care);font-size:.78rem;font-weight:700;color:#fff}
.is-live .ticker-roll{animation:tickroll var(--dur,25s) linear infinite}
.ticker.paused .ticker-roll,.is-live .ticker-view:hover .ticker-roll{animation-play-state:paused}
@keyframes tickroll{to{transform:translateY(-50%)}}
.ticker-foot{display:flex;justify-content:space-between;padding:.9rem 1.2rem;border-top:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.2)}

/* testimonials */
.quotes{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:1.5rem}
blockquote{margin:0;padding-left:1.2rem;border-left:4px solid var(--care)}
blockquote p{font-family:var(--serif);font-size:1.2rem;line-height:1.5}
blockquote footer{color:var(--muted);font-size:.92rem}

/* faq */
.faq{max-width:780px;margin-top:1.5rem}
details{border-top:1px solid var(--line);padding:1rem 0}
details:last-child{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:600;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--teal)}
details[open] summary::after{content:"\2212"}
details p{margin:.7rem 0 0;color:var(--muted)}


/* footer */
footer.site-footer{background:var(--ink);color:#c6dedd;padding:2.2rem 0 1.2rem;font-size:.97rem}
footer.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2rem}
footer.site-footer h3{color:#fff;font-size:1.05rem;margin-bottom:.7rem}
footer.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
footer.site-footer a{color:#c6dedd}
footer.site-footer a:hover{color:#fff}
.legal{margin-top:1.4rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.18);font-size:.88rem}

/* whatsapp button */
.wa{position:fixed;right:1rem;bottom:1rem;z-index:60;display:flex;align-items:center;gap:.5rem;background:#1c7a4a;color:#fff;text-decoration:none;font-weight:600;padding:.8rem 1.1rem;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.wa svg{width:22px;height:22px}

/* responsive */
@media (min-width:961px){
  .site-header{position:relative;background:#fff;border-bottom:1px solid var(--line)}
  .header-cta{display:none}
  .site-header .wrap{width:min(1320px,94%)}
  .brand{margin-bottom:-2.2rem;gap:.9rem;padding:.7rem 1.3rem .7rem 1rem;border-radius:0 0 18px 18px;background:linear-gradient(135deg,#1c6a73 0%,#17565D 45%,#12303B 100%);box-shadow:0 24px 40px -14px rgba(18,48,59,.6)}
  .brand .logo{width:92px}
  .brand b{font-size:1.7rem;white-space:nowrap}
  .brand small{font-size:1.5rem;white-space:nowrap;margin-top:.25rem}
  .nav li+li::before{margin:0 .9rem}
  .nav a,.nav .sub-toggle{font-size:1.05rem;white-space:nowrap}
  .hero{padding-top:5.5rem}
}
@media (min-width:961px) and (max-width:1300px){
  .site-header .wrap{gap:1rem}
  .brand{margin-bottom:-2rem;gap:.9rem;padding:.7rem 1.3rem .8rem 1rem}
  .brand .logo{width:72px}
  .brand b{font-size:1.4rem}
  .brand small{font-size:1.2rem}
  .nav a,.nav .sub-toggle{font-size:.9rem}
  .nav li+li::before{margin:0 .55rem}
}
@media (max-width:960px){
  .hero{background:linear-gradient(180deg,rgba(14,38,48,.82),rgba(14,38,48,.6)),url("../img/hero.jpg") center bottom/cover no-repeat,var(--ink)}
  .site-header .wrap{padding:.4rem 0}
  .nav li+li::before{display:none}
  .has-sub{flex-direction:column;align-items:stretch}
  .sub-toggle{width:100%;justify-content:space-between;padding:.8rem 0}
  .nav .sub,.has-sub:hover .sub,.has-sub:focus-within .sub{display:none;position:static;min-width:0;border:0;box-shadow:none;border-radius:0;padding:0 0 .4rem 1rem}
  .has-sub.open .sub{display:flex}
  .hero .wrap,.about-grid,.clinical .wrap,.principal .wrap,.news-wrap{grid-template-columns:1fr}
  .portrait{max-width:300px}
  .prog{grid-template-columns:1fr 1fr;}
  .prog>div:first-child{grid-column:1/-1}
  .steps{grid-template-columns:1fr 1fr}
  footer.site-footer .cols{grid-template-columns:1fr 1fr}
  .menu-btn{display:flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 4%}
  .nav.open{display:block}
  .nav ul{flex-direction:column;gap:0}
  .nav a{display:block;padding:.8rem 0}
  .header-cta .btn{display:none}
}
@media (max-width:600px){
  .mark img{width:56px}
  .brand .logo{width:50px}
  .brand b{font-size:1.05rem}
  .brand small{font-size:1rem}
  .quotes,.steps,footer.site-footer .cols{grid-template-columns:1fr}
  .wa span{display:none}
  .wa{padding:.9rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ecg path{animation:none;stroke-dashoffset:0}
  .menu-btn .bar{transition:none}
  .slide{transition:none}
}

/* current page in menu */
.nav a[aria-current="page"]{border-bottom-color:var(--teal)}
.more-row{text-align:center;margin:1.6rem 0 0}

/* gallery page */
.page-hero{position:relative;overflow:hidden;text-align:center;background:#fff;color:var(--ink);padding:clamp(5.5rem,11vw,7.2rem) 0 clamp(.6rem,2vw,1rem)}
.page-hero::before{content:"";position:absolute;left:0;right:0;top:0;height:120px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='120' viewBox='0 0 360 120'><g fill='none' stroke='rgb(31,111,120)' stroke-opacity='.2' stroke-width='1.2'><path d='M0 70L30 40H80L110 70L80 100H30Z'/><path d='M110 70L140 40H190L220 70L190 100H140Z'/><path d='M220 70L250 40H300L330 70L300 100H250Z'/><path d='M30 40L55 12H105L140 40'/><path d='M190 40L215 12H265L300 40'/><path d='M330 70L360 40'/></g><g fill='none' stroke='rgb(201,58,82)' stroke-opacity='.28' stroke-width='1.2'><path d='M140 100L165 118'/><path d='M80 40L105 12'/><path d='M250 100L275 118'/></g><g fill='rgb(124,198,201)' fill-opacity='.28'><circle cx='30' cy='40' r='7'/><circle cx='110' cy='70' r='12'/><circle cx='190' cy='40' r='6'/><circle cx='300' cy='100' r='10'/><circle cx='330' cy='70' r='5'/></g><g fill='none' stroke='rgb(31,111,120)' stroke-opacity='.35' stroke-width='1.2'><circle cx='80' cy='40' r='5'/><circle cx='220' cy='70' r='6'/><circle cx='140' cy='100' r='4'/><circle cx='55' cy='12' r='4'/><circle cx='265' cy='12' r='5'/></g><g fill='rgb(201,58,82)' fill-opacity='.22'><circle cx='165' cy='118' r='6'/><circle cx='105' cy='12' r='4'/><circle cx='275' cy='118' r='5'/></g></svg>") center top/360px 120px repeat-x;-webkit-mask-image:linear-gradient(#000 35%,transparent 100%);mask-image:linear-gradient(#000 35%,transparent 100%)}
.page-hero .wrap{position:relative}
.page-hero h1{font-size:clamp(2.1rem,4.6vw,3.1rem);margin:0 0 .35rem}
.page-hero p{margin:0;color:var(--muted)}
.crumb{font-size:.92rem;margin-bottom:.5rem !important}
.crumb a{color:var(--teal-dark)}
.photo-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.ph{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;border-radius:12px;overflow:hidden;cursor:zoom-in;background:linear-gradient(135deg,#1F6F78,#12303B);box-shadow:0 16px 28px -16px rgba(18,48,59,.5)}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ph:hover img{transform:scale(1.05)}
.ph .cap{position:absolute;left:0;right:0;bottom:0;padding:2rem .9rem .7rem;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff;font-weight:600;text-align:left}
.ph.empty{cursor:default;display:grid;place-items:center;color:rgba(255,255,255,.5)}
.ph.empty svg{width:34%;height:auto}
.empty-note{margin:1.4rem 0 0;color:var(--muted)}
.lb{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(10,24,30,.93);padding:1rem}
.lb[hidden]{display:none}
.lb figure{margin:0;max-width:min(1100px,88vw);text-align:center;color:#fff}
.lb img{max-width:100%;max-height:78vh;border-radius:8px;display:block;margin:0 auto}
.lb figcaption{margin-top:.8rem;font-weight:600}
.lb button{position:absolute;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.12);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;display:grid;place-items:center}
.lb button:hover{background:var(--teal)}
.lb-close{top:1rem;right:1rem}
.lb-prev{left:1rem;top:50%;transform:translateY(-50%)}
.lb-next{right:1rem;top:50%;transform:translateY(-50%)}
@media (max-width:600px){
  .photo-grid{grid-template-columns:repeat(2,1fr);gap:.6rem}
  .ph .cap{font-size:.82rem;padding:1.4rem .6rem .5rem}
  .lb-prev{left:.4rem}.lb-next{right:.4rem}
}

/* admissions page */
.doc-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.checklist{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.7rem}
.checklist li{position:relative;padding-left:1.8rem}
.checklist li::before{content:"\2713";position:absolute;left:0;top:0;color:var(--teal);font-weight:700}
.info-box{background:var(--mist);border-radius:14px;padding:1.5rem}
.info-box h3{margin-bottom:.8rem}
.info-box dl{margin:0}
.info-box dt{font-size:.88rem;color:var(--muted);margin-top:.8rem}
.info-box dd{margin:0;font-weight:600}
.apply-band{color:#fff;padding:clamp(2.2rem,5vw,3.5rem) 0;background:linear-gradient(135deg,#1c6a73 0%,#17565D 45%,#12303B 100%)}
.apply-band .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.apply-band p{color:#d3eeef}
.apply-band a{color:#fff}

/* events page */
.event-list{list-style:none;margin:0;padding:0}
.event{display:grid;grid-template-columns:5.5rem 1fr auto;gap:1.2rem;align-items:start;padding:1.3rem 0;border-top:1px solid var(--line)}
.event:last-child{border-bottom:1px solid var(--line)}
.event .when{text-align:center;line-height:1.1}
.event .when b{display:block;font-family:var(--serif);font-size:2.1rem;color:var(--teal)}
.event .when span{font-size:.85rem;color:var(--muted)}
.event h3{font-size:1.2rem}
.event p{margin:.3rem 0 0;color:var(--muted)}
.event .more{font-weight:600;white-space:nowrap}

@media (max-width:960px){
  .doc-grid,.apply-band .wrap{grid-template-columns:1fr}
}
@media (max-width:600px){
  .event{grid-template-columns:4.2rem 1fr}
  .event .more{grid-column:2}
}


/* clickable notices */
.event{position:relative}
.event .stretch{color:inherit;text-decoration:none}
.event .stretch::after{content:"";position:absolute;inset:0}
.event.has-link{cursor:pointer;transition:background .2s}
.event.has-link:hover{background:var(--mist)}
.event.has-link:hover .stretch{text-decoration:underline}
.event .more{color:var(--teal-dark)}

/* enquiry form messages */
.form-msg{margin:.9rem 0 0;font-weight:600;font-size:.95rem;line-height:1.45}
.form-msg:empty{display:none}
.form-msg.ok{color:#c4f2d6}
.form-msg.err{color:#ffd1d8}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.enquiry .btn:disabled{opacity:.7;cursor:wait}
