:root{
  --navy-950:#08132b; --navy-900:#0b1a3d; --navy-800:#122b5c;
  --royal-600:#1657d8; --sky-400:#3b9eff; --sky-200:#cfe4ff;
  --paper:#f5f8fd; --paper-warm:#fbfaf7;
  --ink:#0b1a3d; --ink-soft:#5b6a8c;
  --gold:#e8a93b; --gold-deep:#a86a0d;
  --line:#e3e9f5;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif; color:var(--ink); background:var(--paper); line-height:1.6; overflow-x:hidden;}
h1,h2,h3,.display{font-family:'Sora',sans-serif;}
.mono{font-family:'JetBrains Mono',monospace;}
img,svg{display:block; max-width:100%;}
a{text-decoration:none; color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
.reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* -------- ribbon divider -------- */
.ribbon-divider{display:flex; justify-content:center; margin:0; position:relative; z-index:2;}
.ribbon-divider svg{width:220px; height:auto;}

/* -------- nav -------- */
header.nav{
  position:sticky; top:0; z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.navrow{display:flex; align-items:center; justify-content:space-between; padding:14px 32px; max-width:1180px; margin:0 auto;}
.navbrand{display:flex; align-items:center; gap:11px;}
.navbrand img{width:clamp(36px,4vw,48px); height:clamp(36px,4vw,48px); object-fit:contain; border-radius:4px;}
.navbrand .t{color:var(--navy-900); font-family:'Sora'; font-weight:800; font-size:14px; letter-spacing:0.3px; line-height:1.15;}
.navbrand .s{color:var(--ink-soft); font-size:9.5px; letter-spacing:1.6px; text-transform:uppercase; font-weight:600;}
.navlinks{display:flex; gap:30px; align-items:center;}
.navlinks a{color:var(--ink-soft); font-size:13.5px; font-weight:500; transition:color .15s;}
.navlinks a:hover{color:var(--ink);}
.nav-cta{display:flex; gap:10px;}
.btn{
  display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600;
  padding:10px 18px; border-radius:9px; cursor:pointer; border:none; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-gold{background:linear-gradient(135deg,#f0b94d,var(--gold)); color:var(--navy-950); box-shadow:0 8px 18px -8px rgba(232,169,59,0.6);}
.btn-outline{background:transparent; color:var(--navy-900); border:1px solid var(--line);}
.btn-outline:hover{border-color:var(--navy-900);}
.hero .btn-outline, .cta-banner .btn-outline{color:#fff; border-color:rgba(255,255,255,0.35);}
.hero .btn-outline:hover, .cta-banner .btn-outline:hover{border-color:#fff;}
.btn-navy{background:var(--navy-900); color:#fff; box-shadow:0 8px 18px -8px rgba(11,26,61,0.5);}
.btn-royal{background:linear-gradient(135deg,var(--royal-600),var(--sky-400)); color:#fff; box-shadow:0 8px 18px -8px rgba(22,87,216,0.5);}

/* -------- hero -------- */
.hero{
  position:relative; background:radial-gradient(ellipse at 20% 0%, #10265a 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color:#fff; padding:86px 0 60px; overflow:hidden;
}
.hero-watermark{position:absolute; right:-90px; top:-60px; opacity:0.08; width:clamp(300px,45vw,620px);}
.hero-inner{display:grid; grid-template-columns:1.05fr 0.95fr; gap:50px; align-items:center; position:relative; z-index:2;}
.eyebrow-ribbon{
  display:inline-flex; align-items:center; gap:8px; background:rgba(59,158,255,0.12);
  border:1px solid rgba(59,158,255,0.35); color:var(--sky-200); font-size:12px; font-weight:600;
  padding:7px 14px; border-radius:20px; letter-spacing:0.3px; margin-bottom:20px;
}
.eyebrow-ribbon .flame{width:12px; height:12px;}
.hero h1{font-size:44px; line-height:1.14; font-weight:800; letter-spacing:-0.5px; max-width:560px;}
.hero h1 .accent{color:var(--sky-400);}
.hero p.lead{margin-top:18px; font-size:15.5px; color:#b7c6f0; max-width:480px;}
.hero-ctas{display:flex; gap:12px; margin-top:30px; flex-wrap:wrap;}
.hero-stats{display:flex; gap:30px; margin-top:44px; flex-wrap:wrap;}
.hstat{border-left:2px solid rgba(59,158,255,0.4); padding-left:12px;}
.hstat .v{font-family:'Sora'; font-weight:800; font-size:22px;}
.hstat .l{font-size:11.5px; color:#8ea3d6; margin-top:2px;}

/* hero visual */
.hero-visual{position:relative; display:flex; align-items:center; justify-content:center;}
.crest-glow{position:absolute; width:340px; height:340px; background:radial-gradient(circle, rgba(59,158,255,0.28), transparent 70%); filter:blur(4px);}
.portal-card{
  position:relative; background:#fff; color:var(--ink); border-radius:16px; width:300px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.5); padding:20px; transform:rotate(-3deg);
}
.portal-card .pc-head{display:flex; align-items:center; gap:9px; margin-bottom:14px;}
.portal-card .pc-head svg{width:22px; height:22px;}
.portal-card .pc-head b{font-family:'Sora'; font-size:12.5px;}
.portal-row{display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid var(--line); font-size:12px;}
.portal-row:last-child{border-bottom:none;}
.portal-row .grade{font-family:'JetBrains Mono'; font-weight:700; color:var(--royal-600); font-size:12.5px;}
.pin-badge{
  position:absolute; top:-16px; right:-16px; background:var(--gold); color:var(--navy-950);
  font-family:'Sora'; font-weight:800; font-size:11px; padding:8px 12px; border-radius:10px; transform:rotate(6deg);
  box-shadow:0 10px 20px -8px rgba(232,169,59,0.6);
}

/* -------- sections general -------- */
section{padding:70px 0;}
.section-head{max-width:600px; margin:0 auto 42px; text-align:center;}
.eyebrow{font-size:12px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--royal-600); margin-bottom:10px;}
.section-head h2{font-size:30px; letter-spacing:-0.3px;}
.section-head p{color:var(--ink-soft); margin-top:12px; font-size:14.5px;}

/* -------- about -------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.about-copy p{color:var(--ink-soft); font-size:14.5px; margin-bottom:14px;}
.about-illustration{background:linear-gradient(160deg,#eaf2ff,#dceaff); border-radius:20px; padding:34px; position:relative; overflow:hidden;}
.about-illustration img{display:block; width:100%; height:auto; max-height:320px; object-fit:cover; border-radius:12px;}
.about-list{list-style:none; margin-top:18px;}
.about-list li{display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; font-size:14px; color:var(--ink);}
.about-list svg{width:17px; height:17px; color:var(--royal-600); flex:none; margin-top:2px;}

/* -------- academics -------- */
.prog-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:14px;}
.prog-card{
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 18px;
  text-align:left; position:relative; overflow:hidden;
}
.prog-card .period{font-family:'JetBrains Mono'; font-size:11px; color:var(--ink-soft); letter-spacing:0.5px;}
.prog-card h3{font-size:15.5px; margin:10px 0 8px;}
.prog-card p{font-size:12.5px; color:var(--ink-soft);}
.prog-card::before{content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg,var(--royal-600),var(--sky-400));}

/* -------- why rutero -------- */
.why-section{background:var(--navy-900); color:#fff; position:relative;}
.why-section .section-head .eyebrow{color:var(--sky-400);}
.why-section .section-head h2{color:#fff;}
.why-section .section-head p{color:#a9b8e2;}
.why-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:14px;}
.why-card{background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:22px 18px;}
.why-icon{width:38px; height:38px; border-radius:10px; background:rgba(59,158,255,0.15); display:flex; align-items:center; justify-content:center; margin-bottom:14px;}
.why-icon svg{width:19px; height:19px; color:var(--sky-400);}
.why-card h3{font-size:14.5px; margin-bottom:6px;}
.why-card p{font-size:12.5px; color:#a9b8e2;}
.portal-plug{
  margin-top:38px; display:flex; align-items:center; justify-content:space-between;
  background:rgba(59,158,255,0.08); border:1px solid rgba(59,158,255,0.25); border-radius:16px; padding:24px 28px; gap:20px; flex-wrap:wrap;
}
.portal-plug .p-text b{font-family:'Sora'; font-size:15px; display:block; margin-bottom:5px;}
.portal-plug .p-text span{font-size:13px; color:#a9b8e2;}

/* -------- testimonials -------- */
.test-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.test-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px; position:relative;}
.test-card .quote-mark{font-family:'Sora'; font-size:44px; color:var(--sky-200); line-height:0.5; margin-bottom:14px; display:block;}
.test-card p.q{font-size:13.5px; color:var(--ink); margin-bottom:18px;}
.test-who{display:flex; align-items:center; gap:10px;}
.test-avatar{width:36px; height:36px; border-radius:9px; background:linear-gradient(135deg,var(--royal-600),var(--sky-400)); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Sora'; font-weight:700; font-size:12px;}
.test-who .n{font-size:13px; font-weight:600;}
.test-who .r{font-size:11.5px; color:var(--ink-soft);}

/* -------- admissions cta -------- */
.cta-banner{
  background:linear-gradient(120deg,var(--navy-950),var(--navy-800));
  border-radius:22px; padding:50px 50px; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-banner::after{content:""; position:absolute; right:-60px; bottom:-80px; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle, rgba(232,169,59,0.18), transparent 70%);}
.cta-banner h2{font-size:26px; max-width:440px; position:relative; z-index:1;}
.cta-banner p{color:#a9b8e2; margin-top:10px; font-size:13.5px; max-width:420px; position:relative; z-index:1;}
.cta-actions{display:flex; gap:12px; position:relative; z-index:1; flex-wrap:wrap;}

/* -------- footer -------- */
footer{background:var(--navy-950); color:#8ea3d6; padding:56px 0 26px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px;}
.foot-brand{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.foot-brand img{width:clamp(70px,8vw,100px); height:clamp(70px,8vw,100px); object-fit:contain;}
.foot-brand .t{color:#fff; font-family:'Sora'; font-weight:800; font-size:14px;}
footer p{font-size:12.5px; line-height:1.7;}
footer h4{color:#fff; font-size:12.5px; text-transform:uppercase; letter-spacing:1px; margin-bottom:14px;}
footer ul{list-style:none;}
footer ul li{margin-bottom:9px; font-size:13px;}
footer ul li a:hover{color:#fff;}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,0.08); margin-top:40px; padding-top:22px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; font-size:12px;
}
.foot-motto{display:flex; align-items:center; gap:8px; color:#c3d1f2; font-family:'Sora'; font-size:12px; letter-spacing:0.5px;}
.foot-motto svg{width:16px; height:16px;}

@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{display:none;}
  .about-grid{grid-template-columns:1fr;}
  .prog-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .test-grid{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .navlinks{display:none;}
  .navbrand img{width:38px; height:38px;}
  .foot-brand img{width:36px; height:36px;}
}
