/* SDM PU College — site styles (moved out of index.html). Linked from index.html as assets/css/style.css?v=…;
   run tools/prepare-upload.mjs after editing so browsers pick up the new version. */
:root{
  --teal:#013b3d;
  --coral:#e26a51;
  --coral-dark:#cf583f;
  --gold:#ecb21f;
  --cream:#f0e0cc;
  --cream-light:#fff8ee;
  --chip:#e9dac6;
  --ink:#1f2a2b;
  --text:#5b6162;
  --muted:#8a8f90;
  --line:#d8c9b6;
  --max:1140px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{overflow-anchor:none}   /* the shrinking sticky header must not trigger scroll-anchoring corrections */
/* Nothing may widen the page past the screen (slide-in reveals, hero triangles); on mobile Safari a
   wider page pushes the fixed WhatsApp / back-to-top buttons half off-screen. clip keeps the desktop
   sticky Methodology working; hidden is the fallback for older Safari (sticky is desktop-only anyway). */
main{overflow-x:hidden;overflow-x:clip}
body{font-family:"Montserrat",system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
.container{max-width:var(--max);margin:0 auto;padding:0 24px}
.h-ubuntu{font-family:"Ubuntu",sans-serif;font-weight:700;letter-spacing:-.01em;line-height:1.12;color:var(--teal)}
h2.h-ubuntu{font-size:clamp(32px,3.6vw,48px)}
.coral{color:var(--coral)}
.gold{color:var(--gold)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:600;font-size:14px;padding:11px 25px;border:1.5px solid transparent;cursor:pointer;transition:background .2s,transform .2s,color .2s}
.btn:hover{transform:translateY(-1px)}
.btn-coral{background:var(--coral);color:#fff}
.btn-coral:hover{background:var(--coral-dark)}
.btn-outline{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-gold{background:var(--gold);color:var(--teal)}
.btn-gold:hover{background:#f4c240}
.btn-teal{background:var(--teal);color:#fff}
.btn-teal:hover{background:#05545a}
.tag{display:inline-block;background:var(--coral);color:#fff;font-weight:600;font-size:13px;border-radius:999px;padding:7px 17px}

/* ---------- Header ---------- */
header{position:sticky;top:0;z-index:50;background:#fff;transition:box-shadow .2s}
header.scrolled{box-shadow:0 2px 18px rgba(1,59,61,.08)}
.nav{display:flex;align-items:center;justify-content:space-between;height:110px;transition:height .2s}
header.scrolled .nav{height:80px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:34px;width:auto}
.brand i{width:1.5px;height:36px;background:var(--teal);opacity:.6}
.brand span{font-family:"Ubuntu",sans-serif;font-weight:500;color:var(--teal);font-size:11px;line-height:1.3}
.brand small{display:block;font-family:"Ubuntu",sans-serif;font-weight:700;font-size:11px;color:var(--teal);margin-top:1px}
.menu{display:flex;gap:28px;list-style:none;font-size:13px;font-weight:500;color:var(--ink);margin-left:auto;margin-right:46px}
.nav-apply{font-size:13px;padding:9px 20px}
.menu a:hover{color:var(--coral)}
.m-extra{display:none}
/* header logo (the image already includes the college name) */
.brand img.brand-v2{height:62px}
.burger{display:none;position:relative;z-index:3;background:var(--cream);border:0;cursor:pointer;width:46px;height:46px;border-radius:50%;margin-left:10px;transition:background .3s}
.burger span{position:absolute;right:13px;height:2.5px;border-radius:2px;background:var(--teal);transition:transform .4s cubic-bezier(.22,.61,.36,1),width .4s cubic-bezier(.22,.61,.36,1),top .4s cubic-bezier(.22,.61,.36,1)}
.burger span:nth-child(1){top:17px;width:20px}
.burger span:nth-child(2){top:26px;width:12px}
.burger:hover span:nth-child(2){width:20px}
.burger[aria-expanded="true"]{background:var(--coral)}
.burger[aria-expanded="true"] span{background:#fff;width:20px;top:21.5px}
.burger[aria-expanded="true"] span:nth-child(1){transform:rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){transform:rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{padding:12px 0 70px;overflow:hidden;overflow:clip}   /* hidden = fallback for iOS < 16 */
/* desktop: text | girl + triangle | "Admissions open" beside her head — all inside the standard
   container, so the hero lines up with the header (logo on the left, Apply Now on the right) */
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"text fig";align-items:center;column-gap:16px;min-height:calc(100svh - 330px)}
.hero-grid > div:first-child{grid-area:text}
.hero-grid > .hero-visual{grid-area:fig}
.hero .hero-adm{grid-area:adm;align-self:start;margin:clamp(60px,7vw,104px) 0 0 -36px;position:relative;z-index:2}
/* "Admissions open" sits under Apply Now in the text column */
.hero-adm-l{margin-top:18px;font-family:"Montserrat",sans-serif;font-weight:800;font-size:clamp(18px,1.6vw,24px);line-height:1.08;letter-spacing:-.01em;text-transform:uppercase;color:var(--gold)}
/* SDM + BASE logos side by side on a teal panel */
.hero-lockup{display:flex;width:max-content;align-items:center;margin-top:clamp(28px,3.4vw,48px);padding:clamp(14px,1.4vw,18px) clamp(18px,2vw,26px);background:var(--teal);border-radius:6px;transition:transform .3s var(--ease-out),box-shadow .3s}
.hero-lockup img{height:clamp(34px,3.4vw,46px);width:auto;display:block}
.hero-lockup:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(1,59,61,.25)}
.hero-adm-l > span{display:block}
/* phone-only copy of the Apply Now button, shown under "Admissions open" (the text-column one hides) */
.hero .hero-adm-cta{display:none;margin-top:18px;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;line-height:1.5}
.hero-adm-l em{font-style:normal;color:var(--coral)}
/* hero carousel: slides stack in one grid cell and cross-fade; the track is as tall as the tallest slide */
.hero-track{display:grid}
.hero-slide{grid-area:1/1;display:grid;align-items:start;min-width:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s linear .7s}
.hero-slide.is-on{opacity:1;visibility:visible;transition:opacity .7s ease}
.hero-slide > .container{width:100%}   /* auto side margins would otherwise shrink it to its content (0 for the banner) */
.hero-ctrl{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:22px}
.hero-dots{display:flex;gap:2px}
.hero-dot{width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.hero-dot::before{content:"";width:10px;height:10px;border-radius:999px;background:rgba(1,59,61,.22);transition:width .3s var(--ease-out),background .3s}
.hero-dot{position:relative}
.hero-dot.is-on{width:38px}
/* active dot = a pale track that fills with coral over the slide's time (--hero-delay is set by the script) */
.hero-dot.is-on::before{width:30px;background:rgba(226,106,81,.25)}
.hero-dot.is-on::after{content:"";position:absolute;left:4px;top:50%;width:30px;height:10px;margin-top:-5px;border-radius:999px;background:var(--coral);animation:heroDotFill var(--hero-delay,5s) linear both}
@keyframes heroDotFill{from{clip-path:inset(0 100% 0 0 round 999px)}to{clip-path:inset(0 0 0 0 round 999px)}}
/* pause / play: the dot's fill is the slideshow timer, so pausing its animation pauses the slideshow */
.hero.paused .hero-dot.is-on::after{animation-play-state:paused}
.hero-pause{width:28px;height:28px;padding:0;border:0;border-radius:999px;background:rgba(1,59,61,.08);color:var(--teal);cursor:pointer;display:grid;place-items:center;transition:background .2s}
.hero-pause:hover{background:rgba(1,59,61,.16)}
.hero-pause:focus-visible{outline:2px solid var(--coral);outline-offset:2px}
.hero-pause svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hero-pause .i-play{display:none;fill:currentColor;stroke-width:2}
.hero-pause[aria-pressed="true"] .i-pause{display:none}
.hero-pause[aria-pressed="true"] .i-play{display:block}
html:not(.js) .hero-pause{display:none}
/* slide 2: BASE banner. White corner top-left, coral panel down the right, teal band across the middle
   (over the coral), coral strip with the CTA below it; everything is placed in % of the banner and
   text sized in cqw so it scales as one picture */
.b2{position:relative;container-type:inline-size;aspect-ratio:2/1;background:#fff;overflow:hidden}
.b2 > span{position:absolute;display:block}
.b2-coral{left:31%;right:0;top:0;bottom:0;background:var(--coral);z-index:1}
.b2-teal{left:0;right:0;top:56%;bottom:21%;background:var(--teal);z-index:2}   /* above the coral panel */
.b2-tri{left:21%;width:10%;top:12%;height:44%;background:var(--gold);clip-path:polygon(100% 0,100% 100%,0 100%)}
.b2-ring{left:15%;top:10%;width:6.5%;aspect-ratio:1;border:1.5px solid var(--gold);border-radius:50%}
.b2-dot{left:9%;top:7%;width:1.5%;aspect-ratio:1;background:var(--gold);border-radius:50%}
.b2-dot-sm{left:8.5%;top:37%;width:.8%}
.b2-arc{left:-4.5%;top:47%;width:9%;aspect-ratio:1;border:1.5px solid var(--gold);border-radius:50%;z-index:3}
.b2-tri,.b2-ring,.b2-dot{z-index:1}
.b2-photo{position:absolute;left:6%;bottom:0;width:50%;height:auto;z-index:4}
.b2-copy{position:absolute;left:53%;right:4%;top:9%;z-index:4}
.b2-h{font-family:"Ubuntu",sans-serif;font-weight:700;color:#fff;font-size:5cqw;line-height:1.14;letter-spacing:-.01em;white-space:nowrap}
.b2-base{position:absolute;left:53%;right:4%;top:56%;bottom:21%;z-index:4;display:flex;align-items:center;gap:2.6cqw}
.b2-base img{width:26cqw;height:auto;transition:transform .3s var(--ease-out);transform-origin:left center}
.b2-base:hover img{transform:scale(1.04)}
.b2-base span{color:rgba(255,255,255,.8);font-size:max(11px,1.3cqw);font-weight:400;line-height:1.25}
.b2-cta{position:absolute;left:53%;right:4%;bottom:0;height:21%;z-index:4;display:flex;align-items:center;gap:2.4cqw}
.b2-btn{background:var(--gold);color:var(--teal);font-weight:700;font-size:max(11px,1.1cqw);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:.6cqw 1.5cqw;white-space:nowrap;transition:transform .3s var(--ease),box-shadow .3s}
.b2-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(1,59,61,.25)}
.b2-cta span{color:rgba(255,255,255,.85);font-size:max(11px,1.15cqw);line-height:1.3}
/* phones: stack it — coral headline panel, teal lockup band, photo on white, coral CTA strip */
@media (max-width:760px){
  .b2{aspect-ratio:auto;display:flex;flex-direction:column;background:linear-gradient(#fff 0 calc(100% - 120px),var(--coral) 0)}
  .b2 > span{display:none}
  .b2-copy,.b2-base,.b2-photo,.b2-cta{position:static}
  .b2-copy{order:1;background:var(--coral);padding:28px 22px 24px}
  .b2-h{font-size:clamp(28px,8.5vw,38px);white-space:normal}
  .b2-base{order:2;background:var(--teal);padding:16px 22px;gap:14px;flex-wrap:wrap}
  .b2-base img{width:clamp(170px,52vw,230px)}
  .b2-base span{font-size:13px}
  .b2-photo{order:3;width:100%;margin-top:16px}
  .b2-cta{order:4;height:auto;padding:16px 22px 20px;flex-wrap:wrap;gap:10px 14px}
  .b2-btn{font-size:12px;padding:8px 16px}
  .b2-cta span{font-size:13px}
}
.hero h1{font-size:clamp(40px,3.7vw,54px);margin-bottom:18px;white-space:nowrap}
.hero .hero-kicker{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--coral);margin-bottom:14px;max-width:none;line-height:1.4}
.hero p{font-size:18px;color:var(--text);max-width:400px;line-height:1.68;margin-bottom:24px}
.hero-visual{text-align:center;display:flex;flex-direction:column;align-items:center}
.hero-visual{position:relative}
/* decorative triangles behind the figure: rise a little once as the hero appears, then stay put */
.hero-tris{position:absolute;inset:-12% -18%;z-index:0;overflow:hidden;pointer-events:none}
.hero-tris-track{position:absolute;left:0;right:0;top:50%;translate:0 -50%}
.hero-tris-track img{display:block;width:100%;height:auto;animation:trisRise 2.4s cubic-bezier(.22,.61,.36,1) .5s both}
@keyframes trisRise{from{transform:translateY(48px);opacity:0}to{transform:none;opacity:1}}
.hero-visual .naac{position:relative;z-index:1}
/* Plain block (not flex) and a locked 2:3 photo: Safari sized the flex-item image differently, which
   changed the figure's height and so the triangle's proportions. Triangle = figure width = 1.25 × photo. */
.hero-figure{position:relative;z-index:1;width:clamp(300px,30vw,380px);max-width:100%;display:block}
.hero-figure::before{content:"";position:absolute;left:0;right:0;bottom:0;height:70%;background:var(--gold);clip-path:polygon(50% 0,100% 100%,0 100%);z-index:0}
.hero-figure img{position:relative;z-index:1;display:block;width:80%;height:auto;aspect-ratio:2/3;margin:0 auto}
.naac{font-weight:700;font-size:clamp(20px,1.9vw,28px);color:var(--teal);line-height:1;margin-top:20px;white-space:nowrap}
.naac b{color:var(--gold);font-weight:700}

/* ---------- Intro ---------- */
.intro{padding:20px 0 120px}
.intro-grid{display:grid;grid-template-columns:735px 1fr;gap:54px;align-items:end;max-width:1340px;margin:0 auto;padding-right:24px}
.intro-grid img{width:100%;aspect-ratio:16/9.5;object-fit:cover}
.intro h2{margin-bottom:22px}
.intro p{color:var(--text);font-size:17px;line-height:1.75;max-width:480px;letter-spacing:.01em}

/* ---------- Streams ---------- */
.streams{padding:40px 0 110px}
.streams h2{text-align:center}
.stream-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:70px 0 56px}
.stream{position:relative;border-radius:24px;aspect-ratio:360/468;display:flex;flex-direction:column;perspective:1400px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .25s}
.stream:hover{transform:translateY(-6px)}
.stream:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
.stream-inner{position:relative;flex:1;min-height:0;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);transform-style:preserve-3d;transition:transform .8s var(--ease-out)}
.stream.flipped .stream-inner{transform:rotateY(180deg)}
.stream-face{grid-area:1/1;position:relative;border-radius:24px;overflow:hidden;display:flex;flex-direction:column;min-height:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.stream.sci .stream-front{background:#014042}
.stream.com .stream-front{background:#e26845}
.stream.art .stream-front{background:#fcb908}
.stream h3{font-weight:700;color:#fff;font-size:clamp(32px,3.4vw,46px);text-align:center;padding:26px 0 10px;letter-spacing:-.01em}
.stream img{flex:1;width:100%;object-fit:contain;object-position:center;min-height:0;padding:2% 9% 9%}
.stream-back{transform:rotateY(180deg);padding:clamp(18px,2.4vw,32px) clamp(16px,2.4vw,32px) 56px;overflow:hidden;text-align:left;color:var(--teal);--rule:rgba(1,59,61,.16)}
.stream.sci .stream-back{background:#014042;color:#fff;--rule:rgba(255,255,255,.2)}
.stream.com .stream-back{background:#e26845;color:#fff;--rule:rgba(255,255,255,.3)}
.stream.art .stream-back{background:#fcb908}
.stream-back{font-size:clamp(12px,1vw,14px)}
.stream-title{font-weight:700;font-size:2.2em;line-height:1.1;letter-spacing:-.01em;margin-bottom:.5em}
.stream-back > p:not(.stream-title){font-size:1em;line-height:1.5;padding-bottom:.9em;border-bottom:1px solid var(--rule)}
.stream-back li{list-style:none;padding:.8em 0;border-bottom:1px solid var(--rule);font-size:1em;line-height:1.4}
.stream-back li:last-child{border-bottom:0}
.stream-back strong{display:block;font-weight:700;letter-spacing:.04em;margin-bottom:2px}
.stream-flip{position:absolute;right:18px;bottom:18px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.1);transition:transform .4s var(--ease-out),background .3s}
.stream-front .stream-flip{background:rgba(255,255,255,.85)}
.stream-flip svg{width:18px;height:18px;fill:none;stroke:var(--teal);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.stream.sci .stream-back .stream-flip svg,.stream.com .stream-back .stream-flip svg{stroke:#fff}
.stream.sci .stream-back .stream-flip,.stream.com .stream-back .stream-flip{background:rgba(255,255,255,.2)}
.stream:hover .stream-flip{transform:rotate(-90deg)}
/* tablets & phones: taller cards so the flipped side has room for readable text
   (the illustration is contained on a matching background, so the extra height just adds padding) */
@media (max-width:1000px){
  .stream{aspect-ratio:360/540}
}
/* narrow three-up cards (tablet): drop the tagline so the combinations stay readable */
@media (min-width:561px) and (max-width:1000px){
  .stream-back > p:not(.stream-title){display:none}
  .stream-title{padding-bottom:.4em;border-bottom:1px solid var(--rule);margin-bottom:0}
  .stream-flip{width:32px;height:32px;right:12px;bottom:12px}
  .stream-back{padding-bottom:48px}
}
.stream-notes{display:grid;grid-template-columns:1fr 1fr;gap:120px;color:var(--text);font-size:17px;line-height:1.4;margin-bottom:34px}
.btn-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

/* ---------- BASE + Tracks ---------- */
.warm{background:linear-gradient(180deg,#fff 0,var(--cream) 140px,var(--cream) calc(100% - 260px),#fff 100%);padding:130px 0 150px}
.base-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.base h2{font-size:clamp(40px,5vw,66px);line-height:1.1;white-space:nowrap}
.base-head{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:18px}
.base-head img{width:clamp(160px,16vw,220px);height:auto}
.base-head p{color:var(--teal);font-weight:600;font-size:18px;line-height:1.35;max-width:340px}
.base-copy{color:var(--text);font-size:18px;line-height:1.35}
.base-copy b{color:var(--teal);font-weight:500}
.tracks{margin-top:190px;text-align:center}
.tracks .sub{color:var(--text);font-size:17px;line-height:1.75;max-width:640px;margin:8px auto 0}
/* cards extend up to 100px past the content edge, but never closer than 24px to the screen edge */
.track-grid{display:grid;grid-template-columns:465px 1fr;gap:24px;margin:56px max(-100px, calc(24px + (1092px - 100vw) / 2)) 52px;text-align:left}
.track{border:1px solid var(--coral);border-radius:32px;padding:30px 34px 34px}
.track-title{display:flex;align-items:center;gap:22px;margin-bottom:38px;padding-left:62px}
.track.com .track-title{padding-left:0;margin-bottom:46px}
.track-title img{width:58px;height:58px;object-fit:contain}
.track-title h3{font-weight:700;font-size:32px;letter-spacing:.06em;color:var(--teal);line-height:1.1}   /* "COMMERCE / & ARTS" runs to two lines */
.track h4{font-size:20px;font-weight:700;color:var(--ink);line-height:1.35;margin-bottom:24px}
.ticks{list-style:none}
.ticks li{display:flex;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14.5px;color:var(--ink);line-height:1.65}
.ticks li:last-child{border:0}
.ticks li svg{flex:0 0 15px;margin-top:5px;color:#1aa38f}
.com-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.yr{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--ink)}
.yr-sub{font-size:13px;color:var(--muted);margin-bottom:12px}
.trk{color:var(--coral);font-weight:700;font-size:13px;margin:8px 0 10px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips span{background:var(--chip);border-radius:999px;padding:6px 11px;font-size:12.5px;color:#444;line-height:1.4;white-space:nowrap}
.track.com{padding:30px 22px 34px 26px}
.com-grid{grid-template-columns:1.05fr 1fr;gap:20px}
.btn-big{font-size:20px;font-weight:500;padding:12px 44px}

/* ---------- Methodology ---------- */
.method{padding:70px 0 140px}
.method-grid{display:grid;grid-template-columns:400px 1fr;gap:40px;align-items:center}
/* bigger photo: the carousel also reaches into the right page gutter when the window has room */
.method-grid > .carousel{margin-right:calc(-1 * clamp(0px, (100vw - var(--max)) / 2, 80px))}
.method-title span{display:block}
.method .big{font-family:"Ubuntu",sans-serif;font-weight:700;color:var(--teal);font-size:clamp(60px,6.5vw,88px);line-height:1}
.method .sub-title{font-family:"Ubuntu",sans-serif;font-weight:700;color:var(--coral);font-size:clamp(36px,3.6vw,48px);line-height:1.1}
.method .desc{color:var(--text);font-size:17px;line-height:1.75;margin:12px 0 26px;max-width:360px}
.method h3{font-size:34px;font-weight:700;color:var(--teal);line-height:1.35;margin-bottom:28px}
/* text panels swap with the carousel; stacked in one grid cell so the height never jumps */
.method-panels{display:grid}
.method-panel{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .5s var(--ease-out),transform .6s var(--ease-out),visibility 0s .6s}
.method-panel.on{opacity:1;visibility:visible;transform:none;transition:opacity .6s var(--ease-out) .15s,transform .7s var(--ease-out) .15s,visibility 0s}
/* heading slider controls */
/* dots sit centred just below the photo; absolutely placed so the arrows stay centred on the photo */
.method-nav{position:absolute;left:0;right:0;top:100%;margin-top:14px;display:flex;justify-content:center}
/* scroll-driven headings (desktop): the section is one screen tall per heading and its content
   stays pinned under the header while you scroll through it; JS adds .scrolly and sets --steps */
.method.scrolly{padding:0;height:calc(var(--steps,3) * (100vh - 80px))}
.method.scrolly .method-pin{position:sticky;top:80px;height:calc(100vh - 80px);display:flex;align-items:center}
.method.scrolly .method-pin > .container{width:100%}
.method-dots{display:flex;align-items:center;gap:2px}
/* 28px tap area around a small dot; the active dot stretches into a pill */
.method-dots button{border:0;background:none;cursor:pointer;padding:12px 8px;min-height:40px;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
.method-dots button::before{content:"";display:block;width:10px;height:10px;border-radius:999px;background:rgba(1,59,61,.2);transition:width .4s var(--ease-out),background .3s}
.method-dots button:hover::before{background:rgba(1,59,61,.4)}
.method-dots button.on::before{width:28px;background:var(--gold)}
.method-dots button:focus-visible{outline:2px solid var(--teal);outline-offset:1px;border-radius:999px}
.method ul{list-style:none;display:grid;gap:12px}
.method li{display:flex;gap:16px;align-items:center;color:var(--muted);font-weight:500;font-size:17px;letter-spacing:-.02em}
.method li::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--gold);flex:0 0 9px;margin-left:6px}
.carousel{position:relative;padding:0 42px}
.car-btn{position:absolute;top:50%;transform:translateY(-50%);background:none;border:0;cursor:pointer;color:var(--gold);padding:6px;transition:transform .3s var(--ease),color .25s,opacity .25s}
.car-btn svg{width:28px;height:44px}
.car-prev{left:0}.car-next{right:0}
.car-prev:hover{transform:translate(-4px,-50%)}
.car-next:hover{transform:translate(4px,-50%)}
.car-btn:hover{color:var(--coral)}
.car-btn:disabled{opacity:.25;cursor:default;pointer-events:none}
.slides{position:relative;aspect-ratio:636/470;overflow:hidden}
.slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s}
.slides img.on{opacity:1}

/* ---------- Campus ---------- */
.campus h2{color:var(--coral)}
.campus-icons{display:flex;justify-content:space-between;align-items:flex-end;margin:46px 0 22px}
.campus-icons button{background:none;border:0;cursor:pointer;padding:6px;border-radius:10px;transition:transform .2s}
.campus-icons button:hover,.campus-icons button.on{transform:translateY(-4px)}
/* every icon sits in the same frame and scales to fit it (keeping its shape), so wide and tall
   icons read as the same size */
.campus-icons img{width:64px;height:64px;object-fit:contain}
/* the sports & culture drawing fills less of its square than the others (70% vs ~90% wide), so
   enlarge it to match their visual size */
.campus-icons img.ci-boost{transform:scale(1.14)}
.campus-hero{position:relative;height:clamp(300px,36vw,505px);overflow:hidden}
.campus-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s}
.campus-hero img.on{opacity:1}
.campus-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(1,59,61,.75) 0,rgba(1,59,61,0) 32%)}
/* caption slides under the active icon; JS sets --cx (caption offset) and --dx (dot offset inside it) */
.campus-cap{position:absolute;z-index:2;top:20px;left:0;color:#fff;white-space:nowrap;transform:translateX(var(--cx,20vw));transition:transform .7s var(--ease-out)}
.campus-cap i{display:block;width:13px;height:13px;border-radius:50%;background:#fff;margin:0 0 14px;transform:translateX(var(--dx,0px));transition:transform .7s var(--ease-out)}
.campus-cap h3{font-size:clamp(15px,1.4vw,20px);font-weight:700}
/* stats marquee: two identical sets slide left by one set width, then loop seamlessly */
.stat-band{background:var(--coral);padding:40px 0;overflow:hidden}
.marquee-track{display:flex;width:max-content;animation:marquee 32s linear infinite}
.stat-band:hover .marquee-track{animation-play-state:paused}
.marquee-set{display:flex;align-items:center;flex-shrink:0}
.marquee-set p{color:#fff;font-weight:700;font-size:clamp(18px,1.9vw,27px);white-space:nowrap}
.marquee-set i{font-style:normal;color:var(--gold);font-size:clamp(14px,1.3vw,18px);margin:0 clamp(28px,4vw,56px)}
.stat-band b{color:var(--teal)}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- Clubs ---------- */
.clubs{padding:120px 0 80px;background:linear-gradient(180deg,#fff 0,#fff 72%,var(--cream) 100%)}
.clubs h2{text-align:center}
.club-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:30px 20px;margin-top:62px;text-align:center}
.club img{height:80px;width:auto;margin:0 auto 18px;transition:transform .25s}
.club:hover img{transform:scale(1.08)}
.club h3{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:4px}
.club p{font-size:14px;color:var(--text);line-height:1.6;max-width:215px;margin:0 auto}

/* ---------- Cream block (proud + experiences) ---------- */
.cream{background:var(--cream)}
.proud{padding:30px 0 100px}
.proud .wrap{max-width:1086px;margin:0 auto;padding:0 24px}
.label-row{display:flex;align-items:center;gap:18px;font-weight:700;font-size:16px;color:var(--ink);border-bottom:1px solid var(--line);padding-bottom:10px;margin:42px 0 20px}
.label-row img{height:34px;width:auto}
.label-row.first{margin-top:52px}
.toppers{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;text-align:center}
.topper img{width:100%;max-width:190px;aspect-ratio:1;border-radius:50%;object-fit:cover;background:#fff;margin:0 auto 18px}
.topper h3{font-size:15px;font-weight:700;color:var(--ink)}
.topper p{font-size:13px;color:var(--text);margin:2px 0}
.topper b{color:var(--coral);font-size:15px;font-weight:700}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.stats div{border-top:3px solid var(--teal);padding-top:22px}
.stats div:nth-child(2){border-color:var(--coral)}
.stats div:nth-child(3){border-color:var(--gold)}
.stats strong{display:block;font-size:clamp(28px,2.6vw,36px);font-weight:800;color:var(--teal);line-height:1.15;margin-bottom:10px}
.stats span{display:block;font-size:15px;color:var(--teal)}
.stats small{display:block;font-size:13px;color:var(--muted);margin-top:10px}

.exp{padding:30px 0 50px}
.exp .wrap{max-width:1086px;margin:0 auto;padding:0 24px}
.exp .lead{color:var(--text);font-size:18px;margin-top:20px}
.orient{background:#fff;border-radius:14px;padding:26px 36px;font-size:16.5px;line-height:1.6;color:var(--ink);margin:34px 0 30px}
.orient b{color:var(--coral);font-weight:700}
.facilities{display:grid;grid-template-columns:repeat(5,1fr);gap:22px;margin-bottom:14px}
.fac img{width:100%;aspect-ratio:190/142;object-fit:cover;border-radius:14px;margin-bottom:12px;transition:transform .3s}
.fac:hover img{transform:translateY(-4px)}
.fac p{text-align:center;font-weight:700;font-size:15px;color:var(--ink);line-height:1.3}

/* ---------- Hostel ---------- */
.hostel-wrap{padding:16px 58px 0}
.hostel{background:var(--coral);border-radius:38px;padding:60px 0 64px;box-shadow:0 18px 40px rgba(120,60,30,.18)}
.hostel .wrap{max-width:1086px;margin:0 auto;padding:0 24px}
.hostel h2{color:#fff;margin-bottom:12px}
.hostel .facilities{margin:0 0 28px}
/* desktop: all 7 cards in one row (tablet/phone rules below wrap them) */
@media (min-width:1001px){
  .hostel .facilities{grid-template-columns:repeat(7,1fr);gap:14px}
  .hostel .fac img{border-radius:12px;margin-bottom:10px}
  .hostel .fac p{font-size:13.5px}
}
/* the cards open a full-size photo viewer */
.hostel .fac{cursor:zoom-in;border-radius:14px}
.hostel .fac:focus-visible{outline:3px solid #fff;outline-offset:4px}
.lb{padding:0;border:0;background:transparent;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;overflow:hidden}
.lb[open]{display:grid;place-items:center}
.lb::backdrop{background:rgba(0,22,23,.9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lb[open] .lb-fig{animation:admPopIn .35s cubic-bezier(.2,.9,.3,1.1)}
.lb-fig{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px}
.lb-fig img{display:block;max-width:calc(100vw - 160px);max-height:calc(100dvh - 130px);width:auto;height:auto;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.45);background:#123}
.lb-fig figcaption{color:#fff;font:700 16px/1.3 "Montserrat",sans-serif;text-align:center}
.lb-fig figcaption span{display:block;margin-top:4px;font-weight:500;font-size:13px;color:rgba(255,255,255,.65)}
.lb-close{position:fixed;top:18px;right:18px}
.lb-nav{position:fixed;top:50%;translate:0 -50%;width:50px;height:50px;border:0;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;cursor:pointer;transition:background .2s}
.lb-nav:hover{background:var(--coral)}
.lb-nav:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lb-nav svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lb-prev{left:20px}
.lb-next{right:20px}
@media (max-width:760px){
  .lb-fig img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 190px)}
  .lb-nav{top:auto;bottom:22px;translate:none}
  .lb-prev{left:calc(50% - 64px)}
  .lb-next{right:calc(50% - 64px)}
}
.hostel .fac p{color:#fff}

/* ---------- Legacy ---------- */
.legacy{background:linear-gradient(180deg,var(--cream) 0,var(--cream) 110px,#fff 340px);padding:110px 0 140px}
/* wide layout: text ~45% / photo ~55%, slim margins, photo top-aligned with the heading */
.legacy-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);align-items:start;gap:clamp(40px,4.9vw,90px);padding:0 3vw 0 5.2vw;max-width:1920px;margin-inline:auto}
.legacy-text p{color:var(--text);font-size:17px;line-height:1.78;margin:24px 0 30px;max-width:480px}
.legacy-quote{margin:28px 0 clamp(24px,2vw,32px)}
.legacy-quote blockquote{margin:0}
.legacy-quote p{margin:0;max-width:none;font-size:clamp(17px,1.36vw,24px);line-height:1.65}
.legacy-quote figcaption{margin-top:clamp(14px,1.2vw,20px);color:var(--text);font-size:clamp(17px,1.36vw,24px)}
.legacy-grid > img{width:100%;aspect-ratio:700/468;object-fit:cover}
.leaders{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1080px;margin:88px auto 0;padding:0 24px;text-align:center}
.leader img{width:140px;height:140px;border-radius:50%;object-fit:cover;margin:0 auto 20px}
.leader h3{font-size:13px;font-weight:700;color:var(--ink);line-height:1.4;white-space:nowrap}
.leader p{font-size:13px;color:var(--text);margin-top:2px}

/* ---------- Apply ---------- */
.apply-wrap{background:var(--cream);position:relative}
.apply{background:var(--teal);color:#fff;clip-path:polygon(0 0,100% 0,100% 60%,0 100%);padding:46px 0 130px}
.apply h2{color:#fff}
.apply .lead{font-size:17.5px;line-height:1.75;color:#e9f0ef;max-width:460px;margin:52px 0 34px}
.apply .tag{font-size:17px;padding:13px 21px;font-weight:600}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;align-items:end;margin-top:-90px}
.step{max-width:235px}
.step:nth-child(2){margin-bottom:78px}
.step:nth-child(3){margin-bottom:156px}
.step:nth-child(4){margin-bottom:234px}
.step img{height:46px;width:auto;margin-bottom:38px}
.step small{display:block;font-weight:700;font-size:13px;color:#c9d6d5}
.step h3{font-size:20px;font-weight:700;margin-bottom:6px}
.step p{font-size:13px;line-height:1.7;color:#e3ebea}

/* ---------- Contact ---------- */
.contact{background:var(--cream);padding:0 0 46px}
.contact-grid{display:grid;grid-template-columns:1fr 586px;gap:80px;align-items:start;max-width:1200px}
.contact-left{padding-top:24px;padding-left:30px}
.contact-left h2{font-size:clamp(34px,3.6vw,48px);margin-bottom:28px}
.contact-left .lead{color:var(--text);font-size:18px;line-height:1.7;max-width:420px}
.c-list{list-style:none;margin:42px 0 34px;display:grid;gap:22px}
.c-list li{display:flex;gap:16px}
.c-list svg{flex:0 0 17px;width:17px;height:17px;margin-top:4px;color:var(--teal)}
.c-list small{display:block;font-size:13px;font-weight:700;letter-spacing:.12em;color:#555;margin-bottom:4px}
.c-list a{text-decoration:underline;text-underline-offset:3px}
.c-list span,.c-list a{font-size:15px;color:var(--ink)}
.map{display:block;border-radius:14px;overflow:hidden;max-width:486px}
.map img{width:100%}
.form-card{background:var(--cream-light);border-radius:32px;padding:44px 37px 70px;margin-top:-40px;position:relative;z-index:2}
.form-card h3{font-size:21px;font-weight:700;color:var(--ink);margin-bottom:22px}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:13px;align-items:start}
.field{margin-bottom:16px}
.field label,.glabel{display:block;font-size:12px;font-weight:600;color:#444;margin-bottom:6px}
.field input,.field select{width:100%;font:inherit;font-size:14px;height:44px;padding:0 14px;border:1px solid #e3d6c4;border-radius:12px;background:#fff;color:var(--ink);appearance:none}
.field select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center}
.field input:focus,.field select:focus{outline:none;border-color:var(--coral);box-shadow:0 0 0 3px rgba(226,106,81,.15)}
.opts{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.opts label{display:inline-flex;align-items:center;gap:10px;background:#efe4d4;border-radius:999px;padding:9px 15px;font-size:13.5px;color:#333;cursor:pointer}
.opts input{accent-color:var(--coral);width:14px;height:14px;margin:0}
.form-card .btn{width:100%;height:46px;font-size:14.5px;margin-top:2px}
.note{font-size:12px;color:#666;line-height:1.7;margin-top:30px}
/* validation */
.field label em{font-style:normal;color:var(--coral)}
.err{display:block;min-height:0;font-size:12px;font-weight:600;color:#c2402a;margin-top:5px}
.err:empty{display:none}
.field.invalid input,.field.invalid select{border-color:#c2402a;background:#fff6f4}
.field.invalid input:focus,.field.invalid select:focus{box-shadow:0 0 0 3px rgba(194,64,42,.15)}
.form-alert{background:#fde3da;color:#9c2f1c;border-left:4px solid #c2402a;border-radius:10px;padding:11px 14px;font-size:13.5px;font-weight:600;margin:-6px 0 18px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.btn.loading{opacity:.75;cursor:progress}
.btn.loading::before{content:"";width:14px;height:14px;margin-right:10px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.thanks:focus{outline:none}
.thanks{display:none;text-align:center;padding:60px 10px 20px}
.thanks .tick{width:70px;height:70px;border-radius:50%;background:var(--gold);display:grid;place-items:center;margin:0 auto 18px}
.thanks h3{margin-bottom:8px}
.thanks p{color:var(--text);margin-bottom:22px;font-size:15px}
.thanks .btn{width:auto;padding:0 28px}

/* ---------- Footer ---------- */
footer{background:var(--coral);color:#fff;padding:64px 0 28px;font-size:14px}
footer .wrap{max-width:1086px;margin:0 auto;padding:0 24px}
.f-cols{display:grid;grid-template-columns:auto 1fr 1fr;gap:32px 70px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.45)}
.f-follow{margin-top:14px}
.f-menu{display:grid;gap:10px;align-content:start;padding-top:2px}
.f-menu a{text-decoration:underline;text-underline-offset:3px}
.f-cols h2{font-size:13.5px;font-weight:700;color:#fbd8cd;margin-bottom:12px}
.f-cols p,.f-cols a{line-height:1.6;color:#fff}
.f-cols ul{list-style:none}
.f-cols a:hover{text-decoration:underline}
.u{text-decoration:underline;text-underline-offset:3px}
.f-cols > div{padding-right:30px}
.f-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:20px}
.copy{font-size:12px;color:#fbd8cd}
.f-social{display:flex;align-items:center;gap:18px;font-size:13.5px}
.f-social span{font-weight:700;color:#fbd8cd}
.f-social a:hover{text-decoration:underline}

/* ---------- Back to top ---------- */
/* WhatsApp */
.wa{position:fixed;right:24px;bottom:24px;z-index:61;display:flex;align-items:center;gap:10px}
.wa-btn{position:relative;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(37,211,102,.4);transition:transform .3s cubic-bezier(.22,.61,.36,1),background .25s}
.wa-btn svg{width:30px;height:30px}
.wa-btn::before{content:"";position:absolute;inset:0;border-radius:50%;background:#25d366;z-index:-1;animation:waPulse 2.4s ease-out infinite}
@keyframes waPulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.6);opacity:0}}
.wa-cap{background:#fff;color:var(--teal);font-weight:700;font-size:13.5px;padding:9px 16px;border-radius:999px;box-shadow:0 6px 18px rgba(1,59,61,.14);white-space:nowrap;transition:transform .3s cubic-bezier(.22,.61,.36,1),opacity .3s}
.wa:hover .wa-btn{transform:scale(1.08);background:#1ebe5b}
.wa:hover .wa-cap{transform:translateX(-4px)}
/* back-to-top sits above the WhatsApp button */
.to-top{position:fixed;right:29px;bottom:96px;z-index:60;width:48px;height:48px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(1,59,61,.25);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s,background .2s}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--coral)}
.to-top svg{width:20px;height:20px}
@media (max-width:560px){
  /* keep clear of the iPhone home indicator / rounded corners */
  .wa{right:calc(16px + env(safe-area-inset-right, 0px));bottom:calc(16px + env(safe-area-inset-bottom, 0px))}
  .wa-btn{width:52px;height:52px}
  .wa-btn svg{width:27px;height:27px}
  .wa-cap{font-size:12px;padding:7px 13px}
  /* on phones the "Prefer to talk Now" label covers content: show it at the top, fold to the icon once scrolling */
  header.scrolled ~ .wa .wa-cap{opacity:0;transform:translateX(8px);pointer-events:none}
  .to-top{right:calc(20px + env(safe-area-inset-right, 0px));bottom:calc(80px + env(safe-area-inset-bottom, 0px));width:44px;height:44px}
}
body.menu-open .wa,body.menu-open .to-top{opacity:0;pointer-events:none}

/* ---------- Motion ---------- */
:root{--ease:cubic-bezier(.22,.61,.36,1);--ease-out:cubic-bezier(.16,1,.3,1)}
section[id],main[id]{scroll-margin-top:84px}

/* scroll reveal (with variants + JS-driven stagger via --d) */
/* only hidden once JS is running (html.js), so the page still shows if scripts fail */
.reveal{transition:opacity .8s var(--ease-out),transform .9s var(--ease-out);transition-delay:var(--d,0s)}
.js .reveal{opacity:0;transform:translateY(28px)}
.js .reveal.from-left{transform:translateX(-40px)}
.js .reveal.from-right{transform:translateX(40px)}
.js .reveal.zoom{transform:scale(.94)}
.js .reveal.in{opacity:1;transform:none}

/* scroll progress */
.progress{position:fixed;bottom:0;left:0;height:3px;width:100%;background:var(--coral);transform-origin:0 50%;transform:scaleX(0);z-index:70;pointer-events:none}

/* hero intro */
.hero h1 .ln{display:block;overflow:hidden;padding-bottom:.06em}
.hero h1 .ln > span{display:inline-block;transform:translateY(105%);animation:lineUp 1s var(--ease-out) forwards}
.hero h1 .ln:nth-child(2) > span{animation-delay:.12s}
@keyframes lineUp{to{transform:none}}
.hero-figure{animation:floaty 6s ease-in-out 1.2s infinite}
@keyframes floaty{0%,100%{translate:0 0}50%{translate:0 -10px}}
.naac b{display:inline-block;background:linear-gradient(90deg,var(--gold) 0,#f7d36b 50%,var(--gold) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shine 4s linear 1.5s infinite}
@keyframes shine{to{background-position:-200% 0}}

/* nav link underline + active state */
.menu a{position:relative;transition:color .25s}
.menu a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--coral);border-radius:2px;transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease)}
.menu a:hover::after,.menu a.active::after{transform:scaleX(1);transform-origin:left}
.menu a.active{color:var(--coral)}
@media (max-width:1000px){
  .menu a::after{display:none}
  .brand{position:relative;z-index:3}
  /* full-screen panel */
  .menu{display:flex;flex-direction:column;justify-content:flex-start;gap:6px;position:fixed;inset:0;z-index:2;margin:0;padding:110px 32px 40px;background:var(--cream);overflow-y:auto;
        clip-path:circle(0 at calc(100% - 46px) 40px);visibility:hidden;transition:clip-path .65s var(--ease-out),visibility 0s .65s}
  .menu.open{clip-path:circle(150% at calc(100% - 46px) 40px);visibility:visible;transition:clip-path .7s var(--ease-out),visibility 0s}
  .menu > li{opacity:0;transform:translateY(24px);transition:opacity .4s,transform .5s var(--ease-out)}
  /* centre vertically when there's room, scroll from the top when there isn't */
  .menu > li:first-child{margin-top:auto}
  .menu > li:last-child{margin-bottom:auto}
  .menu.open > li{opacity:1;transform:none}
  .menu.open > li:nth-child(1){transition-delay:.15s}.menu.open > li:nth-child(2){transition-delay:.2s}
  .menu.open > li:nth-child(3){transition-delay:.25s}.menu.open > li:nth-child(4){transition-delay:.3s}
  .menu.open > li:nth-child(5){transition-delay:.35s}.menu.open > li:nth-child(6){transition-delay:.4s}
  .menu.open > li:nth-child(7){transition-delay:.45s}.menu.open > li:nth-child(8){transition-delay:.5s}
  .menu > li:not(.m-extra) > a{display:inline-block;font-family:"Ubuntu",sans-serif;font-weight:700;font-size:clamp(30px,8vw,44px);color:var(--teal);line-height:1.25;transition:color .25s,transform .3s var(--ease)}
  .menu > li:not(.m-extra) > a:hover,.menu > li > a.active{color:var(--coral);transform:translateX(8px)}
  .m-extra{display:block}
  /* logo-version links sit as a small list under "Home" */
  .sub{position:static;min-width:0;padding:2px 0 6px 4px;background:none;box-shadow:none;opacity:1;visibility:visible;transform:none}
  .sub::before{display:none}
  .menu .sub a{padding:3px 0;font-size:15px;color:var(--text)}
  .menu .sub a:hover,.menu .sub a:focus-visible{background:none}
  .brand img.brand-v2{height:52px}
  .m-cta{margin-top:26px}
  .m-cta .btn{font-size:16px;padding:14px 32px}
  .m-info{display:flex;flex-direction:column;gap:6px;margin-top:30px;padding-top:22px;border-top:1px solid var(--line);font-size:14px;color:var(--text)}
  .m-info span{font-weight:700;color:var(--coral)}
  .m-info a:hover{color:var(--teal)}
  body.menu-open{overflow:hidden}
}
@keyframes dropIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* buttons */
.btn{position:relative;overflow:hidden;transition:background .25s,color .25s,transform .3s var(--ease),box-shadow .3s var(--ease),opacity .8s var(--ease-out);transition-delay:var(--d,0s)}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(1,59,61,.16)}
.btn:active{transform:translateY(0) scale(.97);box-shadow:none}
.btn::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);transition:left .7s var(--ease)}
.btn:hover::after{left:130%}
.btn-outline::after{display:none}
.tag{transition:transform .3s var(--ease),box-shadow .3s}
.tag:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(226,106,81,.3)}

/* stream cards */
.stream{transition:transform .6s var(--ease-out),box-shadow .45s var(--ease-out),opacity .8s var(--ease-out);transition-delay:var(--d,0s)}
.stream img{transition:transform .8s var(--ease-out)}
.stream:hover{transform:translateY(-8px);box-shadow:0 22px 40px rgba(1,59,61,.18)}
.stream:not(.flipped):hover img{transform:scale(1.06)}
.stream h3{transition:letter-spacing .4s var(--ease)}
.stream:not(.flipped):hover h3{letter-spacing:.01em}

/* track cards + chips */
.track{transition:background .35s,box-shadow .35s var(--ease),transform .6s var(--ease-out),opacity .8s var(--ease-out);transition-delay:var(--d,0s)}
.track:hover{background:rgba(255,255,255,.35);box-shadow:0 16px 34px rgba(226,106,81,.12);transform:translateY(-4px)}
.chips span{transition:background .25s,color .25s,transform .25s var(--ease)}
.chips span:hover{background:var(--teal);color:#fff;transform:translateY(-2px)}
.ticks li{transition:padding-left .3s var(--ease)}
.ticks li:hover{padding-left:6px}

/* methodology carousel */
.slides img{transition:opacity .9s var(--ease),transform 6s linear;transform:scale(1.06)}
.slides img.on{transform:scale(1)}
.method li{transition:color .25s,transform .3s var(--ease)}
.method li:hover{color:var(--teal);transform:translateX(4px)}

/* campus tabs */
.campus-icons button{position:relative;transition:transform .35s var(--ease-out)}
.campus-icons button::after{content:"";position:absolute;left:50%;bottom:-10px;width:28px;height:3px;border-radius:3px;background:var(--coral);transform:translateX(-50%) scaleX(0);transition:transform .35s var(--ease-out)}
.campus-icons button.on::after{transform:translateX(-50%) scaleX(1)}
/* autoplay: the active underline fills up as a timer; when it completes, JS shows the next facility.
   Pausing the animation pauses the slideshow (hover, keyboard focus, off-screen). */
.campus-icons.autoplay button.on::after{animation:campusTick 5s linear forwards}
.campus-icons.autoplay.paused button.on::after{animation-play-state:paused}
@keyframes campusTick{from{transform:translateX(-50%) scaleX(0)}to{transform:translateX(-50%) scaleX(1)}}
.campus-hero img{transition:opacity .8s var(--ease),transform 1.2s var(--ease-out);transform:scale(1.04)}
.campus-hero img.on{transform:scale(1)}
.campus-cap h3{transition:opacity .35s,transform .45s var(--ease-out)}
.campus-cap h3.swap{opacity:0;transform:translateY(10px)}

/* clubs, toppers, facilities, leaders */
.club{transition:transform .6s var(--ease-out),opacity .8s var(--ease-out);transition-delay:var(--d,0s)}
.club:hover{transform:translateY(-6px)}
.club img{transition:transform .5s var(--ease-out)}
.club:hover img{transform:scale(1.1) rotate(-4deg)}
.topper img{transition:transform .45s var(--ease-out),box-shadow .45s}
.topper:hover img{transform:translateY(-6px);box-shadow:0 0 0 5px var(--gold),0 16px 30px rgba(1,59,61,.15)}
.stats div{transition:transform .6s var(--ease-out),opacity .8s var(--ease-out);transition-delay:var(--d,0s)}
.stats div:hover{transform:translateY(-4px)}
.fac{display:block}
.fac img{transition:transform .5s var(--ease-out),box-shadow .5s,filter .5s}
.fac:hover img{transform:translateY(-6px);box-shadow:0 14px 26px rgba(0,0,0,.18);filter:saturate(1.15)}
.leader img{transition:transform .45s var(--ease-out),box-shadow .45s}
.leader:hover img{transform:translateY(-6px);box-shadow:0 0 0 5px var(--cream),0 16px 30px rgba(1,59,61,.18)}
.legacy-grid > img,.intro-grid > img{transition:transform 1.2s var(--ease-out)}

/* steps */
.step img{transition:transform .45s var(--ease-out)}
.step:hover img{transform:translateY(-6px) scale(1.06)}

/* contact + form */
.c-list li svg{transition:transform .3s var(--ease),color .25s}
.c-list li:hover svg{transform:scale(1.15);color:var(--coral)}
.map img{transition:transform .8s var(--ease-out)}
.map:hover img{transform:scale(1.04)}
.field input,.field select{transition:border-color .25s,box-shadow .25s,background .25s}
.field input:hover,.field select:hover{border-color:#d4c3ab}
.opts label{transition:background .25s,transform .25s var(--ease),box-shadow .25s}
.opts label:hover{background:#e7d8c4;transform:translateY(-1px)}
.opts label:has(input:checked){background:#fde3da;box-shadow:inset 0 0 0 1.5px var(--coral)}
#formBody,.thanks{transition:opacity .4s,transform .5s var(--ease-out)}
.fade-out{opacity:0;transform:translateY(-10px)}
.thanks.show{display:block;animation:popIn .6s var(--ease-out)}
.thanks .tick{animation:tickPop .6s var(--ease-out) .15s both}
@keyframes popIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes tickPop{0%{transform:scale(0)}70%{transform:scale(1.15)}100%{transform:scale(1)}}

/* footer links */
footer a{transition:opacity .25s,color .25s}
/* bigger tap area for footer links on touch screens without changing the layout */
@media (pointer:coarse){ footer a{padding:6px 0} }
.f-menu a:hover,.f-social a:hover{color:var(--teal)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
  .hero h1 .ln > span{transform:none}
  .hero-pause{display:none}                /* nothing moves by itself, so nothing to pause */
  /* static, wrapped stats instead of the marquee */
  .marquee-track{width:auto;justify-content:center;padding:0 24px}
  .marquee-set{flex-wrap:wrap;justify-content:center;gap:8px 0}
  .marquee-set + .marquee-set,.marquee-set i:last-child{display:none}
  html{scroll-behavior:auto}
}

/* ---------- Responsive ---------- */
@media (max-width:1240px){
  .track-grid{margin-left:0;margin-right:0;grid-template-columns:1fr}
  .intro-grid{grid-template-columns:1.25fr 1fr}
  .contact-grid{grid-template-columns:1fr 1fr;gap:40px}
  .f-cols{grid-template-columns:auto 1fr 1fr;gap:28px 32px}
  .hostel-wrap{padding:16px 24px 0}
}
@media (min-width:1001px) and (max-width:1240px){
  .menu{gap:20px;margin-right:28px}
}
/* Tablet landscape & below: hamburger menu, lighter spacing */
@media (max-width:1000px){
  .burger{display:block}
  .nav{height:80px}
  .nav-apply{margin-left:auto}
  .hero{padding:24px 0 60px}
  .hero h1{white-space:normal}
  .hero-figure{margin-right:0;width:min(360px,100%)}
  .naac{font-size:clamp(22px,3vw,30px)}
  /* tablet: text with "Admissions open" beneath it on the left, girl on the right */
  .hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-areas:"text fig";row-gap:28px}
  .intro{padding-bottom:80px}
  .intro-grid{gap:36px;padding-left:24px}
  .streams{padding-bottom:80px}
  .stream-grid{gap:18px;margin:48px 0 40px}
  .stream-notes{gap:40px}
  .warm{padding:90px 0 110px}
  .base h2{white-space:normal}
  .base-grid{grid-template-columns:1fr;gap:28px}
  .base-copy{max-width:640px}
  .track-title{padding-left:0}
  .tracks{margin-top:110px}
  .method{padding:40px 0 90px}
  .method-grid{grid-template-columns:1fr;gap:40px}
  .method-grid > .carousel{margin-right:0}
  .campus-icons img{width:52px;height:52px}
  .stat-band{padding:30px 0}
  .marquee-track{animation-duration:26s}
  .clubs{padding:90px 0 60px}
  .toppers,.facilities{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}
  .toppers > *,.facilities > *{flex:0 0 calc((100% - 44px)/3)}
  .toppers > *{flex-basis:calc((100% - 22px)/2)}   /* four toppers: 2 × 2 */
  .legacy{padding:80px 0 100px}
  .leaders{margin-top:64px}
  .stats div{text-align:center;padding:22px 8px 0}
  .label-row{justify-content:center}
  .steps{grid-template-columns:1fr 1fr;margin-top:50px;align-items:start;gap:36px 30px}
  .step:nth-child(n){margin-bottom:0}
  .step img{margin-bottom:22px}
  .apply{clip-path:polygon(0 0,100% 0,100% 90%,0 100%);padding-bottom:120px}
  .contact-grid{gap:32px}
  .contact-left{padding-top:30px;padding-left:0}
  .form-card{margin-top:0;padding:36px 28px 40px}
}
@media (max-width:860px){
  .contact-grid{grid-template-columns:1fr}
  .contact-left .lead{max-width:560px}
  .form-card{width:100%;max-width:640px}
}
/* Tablet portrait & below: single-column content blocks */
@media (max-width:760px){
  .hero-grid,.intro-grid,.base-grid,.legacy-grid,.contact-grid,.com-grid{grid-template-columns:1fr}
  .hero-grid{min-height:0;grid-template-areas:"text" "fig";row-gap:24px}
  .hero-adm-l{margin-top:8px;font-size:clamp(24px,7vw,32px);text-align:center}  .hero-grid > div:first-child > .tag{display:none}
  .hero .hero-adm-cta{display:inline-block}
  .hero-visual{align-items:center}
  .hero-figure{margin:0 auto;width:min(320px,90%)}
  .naac{margin-top:14px}
  .intro{padding:0 0 64px}
  .intro-grid{padding:0 24px;gap:28px}
  .streams{padding:24px 0 64px}
  .stream-notes{grid-template-columns:1fr;gap:14px}
  .warm{padding:70px 0 90px}
  .base-grid{gap:28px}
  .tracks{margin-top:80px}
  .track-title{padding-left:0;margin-bottom:24px}
  .track.com .track-title{margin-bottom:24px}
  .com-grid > div:last-child{padding-top:0 !important}
  .com-grid > div:first-child > div{margin-top:24px !important}
  .method{padding:24px 0 70px}
  .clubs{padding:70px 0 50px}
  .club-grid{grid-template-columns:repeat(2,1fr);margin-top:40px}
  .proud{padding-bottom:70px}
  /* centre the standalone section buttons */
  .exp .btn-teal,.hostel .btn-gold,.legacy-text .btn-gold{display:flex;width:fit-content;margin-inline:auto}
  .stats{grid-template-columns:1fr;gap:22px;padding:0 24px}
  .stats div{padding:20px 0 4px}
  .legacy{padding:60px 0 80px}
  .legacy-grid{gap:32px}
  .legacy-text{padding:0 24px}
  .leaders{grid-template-columns:1fr 1fr;gap:36px 16px;margin-top:56px}
  .leader:last-child:nth-child(odd){grid-column:1/-1}   /* odd one out sits centred on its own row */
  .contact-left{padding-top:50px}
  .f-cols{grid-template-columns:1fr 1fr;gap:28px 20px}
  .f-cols > div{grid-column:span 2;padding-right:0}
}
/* Phones */
@media (max-width:560px){
  .container,.proud .wrap,.exp .wrap,.hostel .wrap,footer .wrap{padding:0 16px}
  .intro-grid{padding:0 16px}
  .nav-apply{display:none}
  .naac{white-space:normal;font-size:26px}
  .hero{padding:16px 0 48px}
  .hero p{font-size:16px}
  /* stream cards become a swipeable row */
  .stream-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:36px -16px 32px;padding:0 16px 6px;scrollbar-width:none}
  .stream-grid::-webkit-scrollbar{display:none}
  .stream{flex:0 0 78%;scroll-snap-align:center}
  .stream h3{font-size:30px;padding:18px 0 6px}
  .toppers,.facilities{gap:18px 14px}
  .stats{padding:0 12px}
  .toppers > *,.facilities > *{flex:0 0 calc((100% - 14px)/2)}
  .stat-band{padding:24px 0}
  .marquee-track{animation-duration:20s}
  .orient{padding:20px 22px;font-size:15px}
  .track{padding:24px 20px}
  .track-title h3{font-size:24px}
  .track-title img{width:46px;height:46px}
  .btn-big{font-size:17px;padding:12px 30px}
  .method .big{font-size:56px}
  .method h3{font-size:26px}
  .carousel{padding:0 30px}
  .hostel-wrap{padding:16px 12px 0}
  .hostel{border-radius:26px;padding:44px 0 46px}
  .legacy-text{padding:0 16px}
  .leader img{width:120px;height:120px}
  .leader h3{white-space:normal}
  .steps{grid-template-columns:1fr 1fr;gap:30px 18px}
  .step img{height:38px;margin-bottom:16px}
  .step h3{font-size:18px}
  .apply{padding:40px 0 110px}
  .apply .lead{margin:28px 0 24px}
  .frow{grid-template-columns:1fr}
  .form-card{padding:30px 20px 36px;border-radius:24px}
  .opts label{font-size:13px;padding:8px 13px}
  .contact-left{padding-top:36px}
  .map{max-width:none}
}

/* Side gutters for tablets & phones — one variable drives every section */
@media (max-width:1000px){
  :root{--g:40px}
  .container,.proud .wrap,.exp .wrap,.hostel .wrap,footer .wrap,.leaders{padding-left:var(--g);padding-right:var(--g)}
  .intro-grid,.legacy-text{padding-left:var(--g)}
  .legacy-grid{padding-left:0;padding-right:var(--g)}   /* .legacy-text carries the left gutter here */
  .hostel-wrap{padding:16px calc(var(--g) - 12px) 0}
}
@media (max-width:760px){
  .intro-grid,.legacy-text{padding-left:var(--g);padding-right:var(--g)}
  .legacy-grid{padding-right:0}   /* stacked: the photo stays full width */
  .stats{padding-left:0;padding-right:0}
}

/* ---------- Campus: labels + controls (hidden on desktop) ---------- */
.ci-l{display:none}
.campus-ctrl{display:none}
/* Campus on tablets & phones: swipeable labelled icon strip, swipeable photo, prev/next */
@media (max-width:760px){
  .campus-icons{justify-content:flex-start;align-items:stretch;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;margin:26px calc(var(--g) * -1) 12px;padding:4px var(--g) 8px;scroll-padding:0 var(--g);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent)}
  .campus-icons::-webkit-scrollbar{display:none}
  .campus-icons button{flex:0 0 auto;min-width:76px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;padding:10px 8px 14px;border-radius:14px;scroll-snap-align:center;-webkit-tap-highlight-color:transparent;transition:background .3s,transform .35s var(--ease-out)}
  .campus-icons button:hover,.campus-icons button.on{transform:none}
  .campus-icons button.on{background:rgba(226,106,81,.09)}
  .campus-icons button::after{bottom:6px;width:22px}
  .campus-icons img{width:40px;height:40px;max-width:none}
  .ci-l{display:block;font-size:11.5px;font-weight:600;line-height:1.2;color:var(--teal);white-space:nowrap}
  .campus-icons button.on .ci-l{color:var(--coral)}
  .campus-hero{height:clamp(230px,62vw,340px);touch-action:pan-y}
  .campus-cap{top:14px}
  .campus-cap i{width:11px;height:11px;margin-bottom:10px}
  .campus-cap h3{font-size:15px}
  .campus-ctrl{display:flex;align-items:center;gap:4px;position:absolute;z-index:2;right:12px;bottom:12px;padding:4px;border-radius:999px;background:rgba(1,59,61,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:13px;font-weight:600}
  .campus-ctrl span{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}
  .campus-ctrl button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .campus-ctrl button:active{background:rgba(255,255,255,.3)}
  .campus-ctrl svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
}
@media (max-width:560px){
  :root{--g:24px}
  .hostel-wrap{padding:16px 12px 0}
  .hostel .wrap{padding-left:20px;padding-right:20px}
  .stream-grid{margin-left:calc(var(--g) * -1);margin-right:calc(var(--g) * -1);padding-left:var(--g);padding-right:var(--g);scroll-padding:0 var(--g)}
}

/* ================= BASE highlights ================= */
/* 1. announcement bar (scrolls away above the sticky header) */
.announce{background:var(--teal);color:#fff;font-size:14px;line-height:1.4}
.announce[hidden]{display:none}
.announce-in{max-width:var(--max);margin:0 auto;padding:9px 52px 9px 24px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;position:relative;text-align:center}
.announce-new{background:var(--gold);color:var(--teal);font-weight:800;font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:999px}
.announce p{margin:0}
.announce p b{font-weight:700;color:#ffd77a}
.announce-link{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.announce-link:hover{color:var(--gold)}
.announce-close{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center;cursor:pointer}
.announce-close:hover{background:rgba(255,255,255,.25)}
.announce-close svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round}
/* 2. hero "In association with BASE" lockup */
.hero-assoc{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:max-content;color:var(--muted);font-family:"Montserrat",sans-serif;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1}
.hero-assoc img{height:clamp(42px,4.2vw,58px);width:auto;transition:transform .3s var(--ease-out);transform-origin:left center}
.hero-assoc:hover img{transform:scale(1.05)}
/* 3. Bengaluru → Ujire route */
.base-route{margin:36px 0 0;max-width:440px}
.base-route svg{display:block;width:100%;height:auto;overflow:visible}
.route-guide{stroke:rgba(1,59,61,.12);stroke-width:2;stroke-dasharray:2 9;stroke-linecap:round}
.route-line{stroke:var(--coral);stroke-width:3;stroke-dasharray:2 9;stroke-linecap:round}
.pin-from{fill:var(--teal)}
.pin-to{fill:var(--coral)}
.pin-pulse{fill:var(--coral);opacity:.25;transform-origin:50px 150px;animation:pinPulse 2.2s ease-out infinite}
@keyframes pinPulse{from{transform:scale(.6);opacity:.45}to{transform:scale(1.9);opacity:0}}
.route-label{font:600 14px "Montserrat",sans-serif;fill:var(--text)}
.route-label-to{font-weight:800;fill:var(--teal)}
.badge-bg{fill:#fff;filter:drop-shadow(0 6px 10px rgba(1,59,61,.18))}
.base-route figcaption{margin-top:6px;color:var(--text);font-size:15px;line-height:1.5;max-width:380px}
/* 3b. enquiry button in the BASE section */
.base-cta{margin-top:26px}
/* 4. "New" tag on the BASE Coaching menu item */
/* sits as a badge above the end of the label, so it adds no width to the crowded desktop menu */
.menu a{white-space:nowrap}
.nav-new{position:absolute;top:-13px;right:-16px;background:var(--gold);color:var(--teal);font:800 9px/1 "Montserrat",sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:3px 6px;border-radius:999px;pointer-events:none}
/* the 7-item menu is tight: keep the logo tagline and Apply Now on one line, and tighten the gaps */
@media (min-width:1001px){
  .brand{flex-shrink:0}
  .brand span,.nav-apply{white-space:nowrap}
  .nav-apply{flex-shrink:0}
  .menu{gap:20px;margin-left:auto;margin-right:28px;padding-left:24px}
}
/* mid-size desktops: tighter gaps and slightly smaller text so all seven items fit */
@media (min-width:1001px) and (max-width:1240px){
  .menu{gap:14px;margin-right:18px;font-size:12.5px}
}
/* in the full-screen mobile menu it sits inline after the big label */
@media (max-width:1000px){ .nav-new{position:static;display:inline-block;margin-left:10px;vertical-align:middle;font-size:11px;padding:4px 8px} }
/* 6. proof strip */
.base-proof{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:64px 0 0;padding:0}
.base-proof li{border-left:3px solid var(--gold);padding:4px 0 4px 18px}
.base-proof strong{display:block;font-family:"Ubuntu",sans-serif;font-weight:700;font-size:clamp(32px,3.4vw,46px);line-height:1.1;color:var(--teal)}
.base-proof span{display:block;margin-top:4px;color:var(--text);font-size:15px;line-height:1.45;max-width:260px}
/* 7. BASE card in the popup rotation */
/* .adm-pop-card.base-pop (not just .base-pop): must beat the admissions card's yellow background and
   full-width image rule, which come later in the stylesheet */
.adm-pop-card.base-pop{background:radial-gradient(circle at 85% 8%,rgba(236,178,31,.22) 0,transparent 42%),radial-gradient(circle at 10% 95%,rgba(226,106,81,.22) 0,transparent 45%),var(--teal)}
.adm-pop-card.base-pop .adm-pop-close{background:rgba(255,255,255,.14)}
.adm-pop-card .base-pop-logo img{display:block;width:auto;height:56px}
.base-pop-body{display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;padding:46px 28px 30px}
.base-pop-new{background:var(--gold);color:var(--teal);font:800 11px/1 "Montserrat",sans-serif;letter-spacing:.1em;text-transform:uppercase;padding:5px 11px;border-radius:999px}
.base-pop-logo{display:inline-block;margin:20px 0;padding:10px 14px;background:#fff;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.base-pop-title{margin:0 0 10px;font-family:"Ubuntu",sans-serif;font-weight:700;font-size:clamp(26px,7vw,34px);line-height:1.15}
.base-pop-title span{color:var(--gold)}
.base-pop-exams{margin:0 0 12px;font-weight:700;font-size:15px;letter-spacing:.04em;color:#ffd77a}
.base-pop-text{margin:0 0 22px;max-width:320px;font-size:15px;line-height:1.6;color:rgba(255,255,255,.86)}
@media (max-width:1000px){
  .base-route{margin-top:24px;max-width:400px}
}
/* the full-screen mobile menu starts at the top of the screen; with the bar above the header, the logo
   would sit lower than the menu expects and overlap "Home" — so the bar steps aside while the menu is open */
body.menu-open .announce{display:none}
@media (max-width:760px){
  .announce{font-size:13px}
  .announce-in{gap:6px 10px;padding:8px 46px 8px 16px}
  .hero-lockup{display:flex;width:max-content;margin:20px auto 0}   /* centred, like the admissions line below it */
  .hero-lockup img{height:32px}
  .base-route{max-width:none}
  .route-label{font-size:18px}     /* the SVG scales down on phones; keep labels readable */
  .base-proof{grid-template-columns:1fr;gap:18px;margin-top:44px}
}
/* small phones: shorter announcement (the exams are listed in the hero, BASE section and popup) */
@media (max-width:560px){
  .announce{font-size:12.5px}
  .announce-exams{display:none}
  .announce-new{font-size:10px;padding:3px 7px;flex:none}
  /* keep the bar to one line: no wrapping, "Know more" shrinks to its arrow, the text truncates if still too long */
  .announce-in{flex-wrap:nowrap;gap:8px;padding:7px 40px 7px 12px}
  .announce p{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .announce-more{display:none}
  .announce-link{flex:none;font-size:15px;line-height:1}
  .announce-close{right:8px;width:26px;height:26px}
}

/* ================= Enquiry: CTA card + multi-step modal ================= */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* card that takes the form's place on the page */
.enq-cta{background:var(--cream-light);border-radius:32px;padding:44px 40px;margin-top:-40px;position:relative;z-index:2}
.enq-cta-kicker{display:inline-block;background:#fde3da;color:var(--coral);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.enq-cta h3{font-size:26px;font-weight:700;color:var(--ink);margin:16px 0 10px}
.enq-cta p{color:var(--text);font-size:15.5px;line-height:1.6;margin-bottom:22px}
.enq-cta-steps{list-style:none;display:grid;gap:10px;margin:0 0 28px;padding:0}
.enq-cta-steps li{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--teal);font-size:15px}
.enq-cta-steps b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-size:13px;flex:0 0 30px}
.enq-cta .btn{width:100%;height:50px;font-size:15px}
/* ---- contact section (redesigned): intro + contact tiles | enquiry card / full-width map ---- */
.cv{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,470px);gap:40px 64px;align-items:start;padding-top:56px}
.cv-kicker{display:inline-block;background:#fde3da;color:var(--coral);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:6px 13px;border-radius:999px;margin-bottom:18px}
.cv-intro h2{font-size:clamp(34px,3.6vw,50px);line-height:1.16;margin-bottom:20px}
.cv-lead{color:var(--text);font-size:17px;line-height:1.7;max-width:500px;margin-bottom:28px}
.cv-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:560px}
.cv-tile:last-child:nth-child(odd){grid-column:1/-1}   /* odd count: the last tile (email) spans the row */
.cv-tile{display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;background:#fffaf3;box-shadow:0 1px 0 rgba(1,59,61,.06);border:1px solid rgba(1,59,61,.07);transition:transform .25s var(--ease-out),box-shadow .25s,border-color .25s}
.cv-tile:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(1,59,61,.1);border-color:rgba(226,106,81,.35)}
.cv-ic{flex:0 0 44px;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--teal);transition:background .25s,transform .25s var(--ease-out)}
.cv-ic svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cv-wa .cv-ic{background:#25d366}
.cv-wa .cv-ic svg{fill:#fff;stroke:none;width:22px;height:22px}
.cv-tile:hover .cv-ic{background:var(--coral);transform:rotate(-6deg)}
.cv-wa:hover .cv-ic{background:#1ebe5b}
.cv-tx{min-width:0}
.cv-tx small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a7066;margin-bottom:2px}
.cv-tx b{display:block;font-size:15px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* enquiry card (teal); .enq-cta.cv-card beats the plain .enq-cta card styles */
.enq-cta.cv-card{margin:0;padding:40px 38px 32px;border-radius:30px;color:#fff;background:radial-gradient(circle at 100% 0,rgba(236,178,31,.22) 0,transparent 45%),radial-gradient(circle at 0 100%,rgba(226,106,81,.2) 0,transparent 50%),var(--teal);box-shadow:0 30px 60px rgba(1,59,61,.22)}
.cv-card-kicker{display:inline-block;background:var(--gold);color:var(--teal);font-weight:800;font-size:11px;letter-spacing:.1em;text-transform:uppercase;padding:5px 11px;border-radius:999px}
.enq-cta.cv-card h3{color:#fff;font-family:"Ubuntu",sans-serif;font-size:30px;margin:16px 0 8px}
.enq-cta.cv-card > p{color:rgba(255,255,255,.82);font-size:15.5px;line-height:1.6;margin-bottom:24px}
.cv-timeline{list-style:none;margin:0 0 28px;padding:0;position:relative}
.cv-timeline li{display:flex;gap:14px;position:relative;padding-bottom:18px}
.cv-timeline li:last-child{padding-bottom:0}
.cv-timeline li:not(:last-child)::before{content:"";position:absolute;left:15px;top:32px;bottom:2px;width:2px;background:rgba(255,255,255,.2)}
.cv-timeline b{flex:0 0 32px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.35);color:#fff;font-size:13px}
.cv-timeline li:first-child b{background:var(--gold);border-color:var(--gold);color:var(--teal)}
.cv-timeline strong{display:block;font-size:15.5px;color:#fff;margin:5px 0 2px}
.cv-timeline span{font-size:13.5px;color:rgba(255,255,255,.7)}
.enq-cta.cv-card .btn{width:100%;height:54px;font-size:16px;gap:8px}
.cv-note{margin:14px 0 0;text-align:center;font-size:13px;color:rgba(255,255,255,.7)}
.cv-note a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
/* map strip */
.cv-visit{grid-column:1 / -1;position:relative;margin-top:24px}
.cv-map{display:block;border-radius:28px;overflow:hidden;height:300px}
.cv-map img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.cv-map:hover img{transform:scale(1.03)}
.cv-address{position:absolute;left:28px;bottom:28px;display:flex;gap:14px;max-width:420px;padding:18px 20px;border-radius:20px;background:rgba(255,250,243,.96);box-shadow:0 16px 36px rgba(1,59,61,.18)}
.cv-address small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a7066;margin-bottom:4px}
.cv-address p{margin:0 0 8px;font-size:14px;line-height:1.5;color:var(--ink)}
.cv-address a{font-size:14px;font-weight:700;color:var(--coral)}
.cv-address a:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:1000px){
  .cv{grid-template-columns:1fr;gap:36px;padding-top:44px}
  .enq-cta.cv-card{max-width:620px}
  .cv-tiles{max-width:none}
}
@media (max-width:560px){
  .cv-tiles{grid-template-columns:1fr}
  .enq-cta.cv-card{padding:32px 22px 26px;border-radius:24px}
  .enq-cta.cv-card h3{font-size:26px}
  .cv-map{height:220px;border-radius:22px}
  /* address card drops below the map on phones */
  .cv-address{position:static;max-width:none;margin-top:12px;box-shadow:none;border:1px solid rgba(1,59,61,.08)}
}
html:not(.js) .enq-cta.cv-card{display:none}

/* the dialog */
.enq-modal{padding:0;border:0;background:transparent;max-width:none;max-height:none;overflow:visible;margin:auto}
.enq-modal::backdrop{background:rgba(1,59,61,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.enq-modal[open] .enq-form{animation:admPopIn .45s cubic-bezier(.2,.9,.3,1.1)}
.enq-modal[open]::backdrop{animation:admPopFade .3s ease-out}
.enq-form{width:min(560px,calc(100vw - 24px));max-height:calc(100svh - 24px);overflow-y:auto;overscroll-behavior:contain;margin:0;padding:38px 36px 32px;border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.enq-form h3{padding-right:44px}
.enq-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border:0;border-radius:50%;background:#efe4d4;display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s}
.enq-close:hover{background:#e7d3bb;transform:rotate(90deg)}
.enq-close svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round}
/* progress */
.enq-progress{margin:-6px 0 22px}
.enq-steps{list-style:none;display:flex;justify-content:space-between;margin:0 0 10px;padding:0}
.enq-steps li{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:#9a8f80;transition:color .3s}
.enq-steps b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#efe4d4;color:#8a7f70;font-size:12px;transition:background .3s,color .3s}
.enq-steps li.on{color:var(--teal)}
.enq-steps li.on b{background:var(--teal);color:#fff}
.enq-steps li.done b{background:var(--gold);color:var(--teal)}
.enq-bar{height:4px;border-radius:4px;background:#efe4d4;overflow:hidden}
.enq-bar i{display:block;height:100%;width:33.34%;background:var(--coral);border-radius:4px;transition:width .45s var(--ease-out)}
.enq-steptext{margin:8px 0 0;font-size:12px;color:var(--text)}
/* steps: one visible at a time (only once JS is running) */
.enq-step{border:0;margin:0;padding:0;min-width:0}
.js .enq-step{display:none}
.js .enq-step.on{display:block;animation:enqStepIn .4s var(--ease-out)}
.js .enq-step.on.back{animation-name:enqStepBack}
@keyframes enqStepIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes enqStepBack{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
/* stream tiles */
.enq-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.enq-tile{position:relative;cursor:pointer}
.enq-tile input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.enq-tile span{display:flex;flex-direction:column;gap:4px;height:100%;padding:16px 12px;border-radius:16px;background:#fff;border:1.5px solid #e3d6c4;text-align:center;transition:border-color .2s,background .2s,transform .2s var(--ease),box-shadow .2s}
.enq-tile b{font-size:15px;color:var(--ink)}
.enq-tile small{font-size:11px;color:var(--text);letter-spacing:.02em}
.enq-tile:hover span{transform:translateY(-2px);border-color:#d4c3ab}
.enq-tile input:checked + span{border-color:var(--coral);background:#fff6f3;box-shadow:0 0 0 3px rgba(226,106,81,.15)}
.enq-tile.sci input:checked + span{border-color:#014042;background:#eef6f6;box-shadow:0 0 0 3px rgba(1,64,66,.15)}
.enq-tile.art input:checked + span{border-color:#d9a000;background:#fff8e6;box-shadow:0 0 0 3px rgba(236,178,31,.2)}
.enq-tile input:focus-visible + span{outline:2px solid var(--teal);outline-offset:2px}
.field.invalid .enq-tile span{border-color:#c2402a}
/* stream-specific combination + exam chips (shown for the chosen stream once JS runs) */
.enq-opt{margin-left:6px;font-weight:500;font-size:11px;color:#9a8f80;text-transform:lowercase}
.enq-cond{margin-top:4px}
.js .enq-cond{display:none}
.js .enq-cond.on{display:block;animation:enqStepIn .35s var(--ease-out)}
html:not(.js) .enq-cond::before{content:attr(data-for);display:block;font-weight:700;font-size:12px;color:var(--teal);margin:8px 0 6px}
/* consent */
.enq-consent{margin:6px 0 16px}
.field .enq-check{display:flex;gap:12px;align-items:flex-start;margin:0;cursor:pointer;font-size:13px;line-height:1.5;color:#333;font-weight:500}
/* .field .enq-check input: undo the text-box styling every input inside .field gets */
.field .enq-check input{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;padding:0;border:0;border-radius:3px;background:none;box-shadow:none;-webkit-appearance:checkbox;appearance:auto;accent-color:var(--coral);cursor:pointer}
.enq-check em{font-style:normal;color:var(--coral)}
.field.invalid .enq-check{color:#9c2f1c}
.field.invalid .enq-check input{outline:2px solid #c2402a;outline-offset:2px}
/* review summary on the last step */
.enq-review{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:4px 0 18px;padding:14px 16px;border-radius:14px;background:#fff;border:1px dashed #e3d6c4;font-size:13px}
.enq-review dt{color:var(--text)}
.enq-review dd{margin:0;font-weight:600;color:var(--ink);word-break:break-word}
/* nav buttons */
.enq-nav{display:flex;gap:10px;margin-top:6px}
.enq-form .enq-nav .btn{width:auto;flex:1;margin-top:0}
.enq-nav .enq-back{flex:0 0 auto;padding:0 22px}
.js .enq-nav #submitBtn{display:none}
.js .enq-form.last .enq-nav #submitBtn{display:inline-flex}
.js .enq-form.last .enq-next{display:none}
.enq-nav [hidden]{display:none!important}
/* without JavaScript: the dialog shows inline in the contact section as an ordinary form */
html:not(.js) .enq-cta,html:not(.js) .enq-close,html:not(.js) .enq-progress,html:not(.js) .enq-next,html:not(.js) .enq-back{display:none}
html:not(.js) .enq-modal{display:block;position:static;margin:40px auto 0;max-width:640px}
/* no-JS submit results: only the one the URL's #enq-… anchor points at is shown */
.nojs-msg{display:none}
html:not(.js) .nojs-msg:target{display:block;scroll-margin-top:110px}
html:not(.js) #enq-sent:target ~ *:not(.nojs-msg){display:none}   /* sent: hide the rest of the form so it isn't filled in again */
.nojs-msg.ok{background:#e3f3ec;color:#0f5a3d;border-left:4px solid #1f8a5b;border-radius:10px;padding:11px 14px;font-size:13.5px;font-weight:600;margin:-6px 0 18px}
@media (max-width:1000px){ .enq-cta{margin-top:0;padding:36px 28px} }
@media (max-width:560px){
  .enq-form{padding:30px 20px 24px;border-radius:22px}
  .enq-steps span{display:none}               /* numbers only on phones */
  .enq-tiles{grid-template-columns:1fr}
  .enq-tile span{flex-direction:row;justify-content:space-between;align-items:center;padding:14px 16px;text-align:left}
  .enq-cta{padding:30px 22px;border-radius:24px}
}

/* ================= Admissions popup ================= */
.adm-pop{padding:0;border:0;background:transparent;max-width:none;max-height:none;overflow:visible;margin:auto}
.adm-pop::backdrop{background:rgba(1,59,61,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
/* sized so the whole poster + button always fits the screen, on phones and short laptops alike */
.adm-pop-card{position:relative;width:min(420px,calc(100vw - 32px),calc((100svh - 150px) * 755 / 831));background:#efb317;border-radius:20px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.adm-pop-card img{display:block;width:100%;height:auto}
/* SDM + BASE lockup on a teal panel, laid over the poster's top-left corner (above "TWO") */
.adm-pop-card[data-variant="admissions"]{padding-top:7%}   /* yellow strip above the poster: room between the lockup and "TWO" */
.adm-pop-lockup{position:absolute;top:14px;left:5%;z-index:1;width:52%;padding:2.2% 3.6%;background:var(--teal);border-radius:8px}
.adm-pop-card .adm-pop-lockup img{width:100%}
.adm-pop-actions{display:flex;justify-content:center;padding:0 16px 22px;margin-top:-6px}
.adm-pop-cta{font-size:16px;padding:12px 34px}
.adm-pop-close{position:absolute;top:12px;right:12px;z-index:1;width:40px;height:40px;border:0;border-radius:50%;background:rgba(1,59,61,.88);display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s}
.adm-pop-close:hover{background:var(--coral);transform:rotate(90deg)}
.adm-pop-close:focus-visible,.adm-pop-cta:focus-visible{outline:3px solid #fff;outline-offset:3px}
.adm-pop-close svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round}
.adm-pop[open] .adm-pop-card{animation:admPopIn .5s cubic-bezier(.2,.9,.3,1.15)}
.adm-pop[open]::backdrop{animation:admPopFade .35s ease-out}
@keyframes admPopIn{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}
@keyframes admPopFade{from{opacity:0}}
body.popup-open{overflow:hidden}
body.popup-open .wa,body.popup-open .to-top{opacity:0;pointer-events:none}

/* ================= Motion layer (GSAP + ScrollTrigger + Lenis) =================
   Everything below only takes effect once the motion script runs (html.motion); without it
   (CDN blocked, reduced motion) the page keeps its plain CSS reveals. */
/* Lenis smooth scroll */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:clip}
/* hero: the yellow triangle grows up from its base during the intro (driven via --tri) */
.hero-figure::before{transform-origin:50% 100%;transform:scaleY(var(--tri,1))}
/* split headings: words rise from behind a line mask */
.motion .split-line{padding-bottom:.08em;margin-bottom:-.08em}
/* magnetic buttons ride on the independent `translate` property, so they never fight CSS transforms */
.magnetic{translate:var(--mx,0px) var(--my,0px)}
/* 3D tilt on the stream cards (fine pointers only); transform eases quickly while tracking */
@media (hover:hover) and (pointer:fine){
  .motion .stream:hover{transform:perspective(1000px) translateY(-8px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
  .motion .stream.tilting{transition:transform .15s linear,box-shadow .45s var(--ease-out)}
}

/* phones: trim the larger buttons so they sit comfortably in narrow columns (still ≥40px tall to tap) */
@media (max-width:560px){
  .btn{font-size:13.5px;padding:10px 20px}
  .btn-big{font-size:15px;padding:11px 24px}
  .apply .tag{font-size:15px;padding:10px 18px}
  .m-cta .btn{font-size:15px;padding:12px 26px}
  .adm-pop-cta{font-size:14.5px;padding:11px 26px}
  .hero .hero-adm-cta{font-size:14px}
  .b2-btn{font-size:11.5px;padding:8px 14px}
}
