/* ==========================================================================
   MBA STRATEGY — PREMIUM CONSULTING WEBSITE
   Design system: Near-black editorial ground, off-white counter-sections,
   electric-blue used sparingly as a signal color, Manrope + Inter type,
   Instrument Serif for editorial accent moments.
   ========================================================================== */

/* Fonts are loaded asynchronously in the HTML head */

/* ---------- Design Tokens ---------- */
:root{
  --black: #090909;
  --charcoal: #151515;
  --charcoal-2: #1c1c1c;
  --offwhite: #F5F4F0;
  --white: #FFFFFF;
  --grey: #999999;
  --grey-dim: #6b6b6b;
  --line-dark: rgba(245,244,240,0.12);
  --line-dark-strong: rgba(245,244,240,0.22);
  --line-light: rgba(9,9,9,0.10);
  --line-light-strong: rgba(9,9,9,0.20);
  --blue: #146EF5;
  --blue-dim: #0f4fb0;

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', serif;

  --container: 1360px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(.16,.84,.24,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: auto; }
body{ margin:0; }
h1,h2,h3,h4,p,figure{ margin:0; }
ul{ list-style:none; margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:none; cursor:pointer; padding:0; }
img{ max-width:100%; display:block; }
input,textarea{ font:inherit; }

body{
  background: var(--black);
  color: var(--offwhite);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

::selection{ background: var(--blue); color: var(--white); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible{
  outline: 1.5px solid var(--blue);
  outline-offset: 4px;
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:'';
  width: 16px;
  height: 1px;
  background: var(--blue);
  display:inline-block;
}

.accent{ color: var(--blue); }
.serif{ font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.section-label{
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* mask-reveal target lines (populated via JS split) */
.reveal-line{ overflow:hidden; display:block; }
.reveal-line > span{ display:inline-block; will-change: transform; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring{
  position: fixed;
  top:0; left:0;
  pointer-events:none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-dot{ width:6px; height:6px; background: var(--offwhite); }
.cursor-ring{
  width:34px; height:34px;
  border: 1px solid var(--offwhite);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.cursor-ring.is-active{ width:60px; height:60px; border-color: var(--blue); }
body.no-cursor .cursor-dot,
body.no-cursor .cursor-ring{ display:none; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress{
  position: fixed;
  top:0; left:0;
  height: 2px;
  width: 100%;
  z-index: 1001;
  background: transparent;
}
.scroll-progress span{
  display:block;
  height:100%;
  width: 0%;
  background: var(--blue);
  transform-origin: left;
}

/* ---------- Navigation ---------- */
.site-nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  box-sizing: border-box;
  padding: 0 var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition: height .4s var(--ease), min-height .4s var(--ease), max-height .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
  overflow: hidden;
}
.site-nav.is-scrolled{
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  background: rgba(9,9,9,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-logo{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* No overflow or max-height here — .site-nav's overflow:hidden is the hard cap */
}
.nav-logo img,
#siteLogoImg {
  /* Big enough to read, hard-capped so navbar height NEVER grows */
  height: 55px;
  max-height: 68px !important;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
.nav-logo .dot{ color: var(--blue); }

.nav-links{
  display:flex;
  align-items:center;
  gap: 40px;
}
.nav-link{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--offwhite);
  position: relative;
  padding: 4px 0;
}
.nav-link::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:100%; height:1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after{ transform: scaleX(1); transform-origin: left; }

.nav-cta{
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line-dark-strong);
  padding: 11px 22px;
  border-radius: 100px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover{ background: var(--blue); border-color: var(--blue); color: var(--white); }

.nav-toggle{
  display:none;
  width: 26px; height: 18px;
  position: relative;
  z-index: 1002;
}
.nav-toggle span{
  position:absolute; left:0; right:0; height:1px;
  background: var(--offwhite);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top:0; }
.nav-toggle span:nth-child(2){ top:8px; }
.nav-toggle span:nth-child(3){ top:16px; }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset:0;
  background: var(--black);
  z-index: 999;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav .nav-link{ font-size: 32px; font-family: var(--font-display); font-weight: 600; display:block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .nav-cta{ margin-top: 30px; display:inline-block; }

/* ---------- Buttons ---------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 17px 30px;
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary{ background: var(--offwhite); color: var(--black); }
.btn-primary::before{
  content:'';
  position:absolute; inset:0;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
  z-index:-1;
}
.btn-primary:hover::before{ transform: translateY(0); }
.btn-primary:hover{ color: var(--white); }

.btn-ghost{
  border: 1px solid var(--line-dark-strong);
  color: var(--offwhite);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--offwhite); }

.btn-ghost.on-light{ border-color: var(--line-light-strong); color: var(--black); }
.btn-ghost.on-light:hover{ border-color: var(--black); }

.btn-dark{ background: var(--black); color: var(--offwhite); }
.btn-dark::before{
  content:'';
  position:absolute; inset:0;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
  z-index:-1;
}
.btn-dark:hover::before{ transform: translateY(0); }

.btn-arrow{ font-size: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow{ transform: translate(3px,-3px); }

/* ---------- Sections base ---------- */
section{ position: relative; }
.on-dark{ background: var(--black); color: var(--offwhite); }
.on-charcoal{ background: var(--charcoal); color: var(--offwhite); }
.on-light{ background: var(--offwhite); color: var(--black); }

.pad{ padding: clamp(90px, 12vw, 160px) 0; }
.pad-top{ padding-top: clamp(90px, 12vw, 160px); }
.pad-bot{ padding-bottom: clamp(90px, 12vw, 160px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 160px var(--gutter) 0;
  position: relative;
  background: var(--black);
}
.hero-network{
  position:absolute;
  top:0; right:0;
  width: min(56vw, 900px);
  height: 100vh;
  z-index:0;
  opacity: 0.9;
}
.hero-network svg{ width:100%; height:100%; }
.hero-grid{
  position: relative;
  z-index:2;
  display:grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  align-items: end;
  padding-bottom: 90px;
  border-top: 1px solid var(--line-dark);
  padding-top: 46px;
}
.hero-eyebrow{ margin-bottom: 28px; }
.hero-headline{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero-headline .serif{ font-size: 1.02em; }
.hero-side{
  display:flex;
  flex-direction:column;
  gap: 34px;
  padding-bottom: 10px;
}
.hero-copy{
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 420px;
}
.hero-ctas{ display:flex; gap: 14px; flex-wrap:wrap; }
.hero-credibility{
  display:flex;
  align-items:center;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: var(--grey);
  letter-spacing: 0.01em;
}
.hero-credibility strong{ color: var(--offwhite); font-weight: 600; }
.hero-scroll-cue{
  position:absolute;
  left: var(--gutter);
  bottom: 26px;
  display:flex;
  align-items:center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  z-index: 3;
}
.hero-scroll-cue .line{
  width: 1px; height: 34px;
  background: var(--line-dark-strong);
  position: relative;
  overflow: hidden;
}
.hero-scroll-cue .line::after{
  content:'';
  position:absolute;
  left:0; top:-100%;
  width:100%; height:100%;
  background: var(--blue);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ top:-100%; }
  50%{ top:0; }
  100%{ top:100%; }
}
@keyframes fade{
  from{ opacity:0; transform:translateY(12px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem{
  background: var(--charcoal);
}
.problem-head{
  display:grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gutter);
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line-dark);
}
.problem-title{
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.problem-sub{
  color: var(--grey);
  font-size: 15px;
  line-height: 1.7;
  align-self: end;
  max-width: 420px;
}
.problem-list{ margin-top: 4px; }
.problem-row{
  display:grid;
  grid-template-columns: 90px 1fr 40px;
  align-items:center;
  gap: var(--gutter);
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  transition: padding .4s var(--ease);
}
.problem-row .idx{
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--grey-dim);
  font-weight: 600;
}
.problem-row .txt{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--offwhite);
  transition: color .35s var(--ease);
}
.problem-row .mark{
  font-size: 22px;
  color: var(--grey-dim);
  transition: transform .4s var(--ease), color .35s var(--ease);
  justify-self:end;
}
.problem-row .detail{
  grid-column: 2 / 3;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
  opacity: 0;
  color: var(--grey);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 560px;
}
.problem-row.is-open .detail{ max-height: 120px; opacity:1; margin-top: 14px; }
.problem-row.is-open .mark{ transform: rotate(45deg); color: var(--blue); }
.problem-row:hover .txt{ color: var(--blue); }

/* ==========================================================================
   PROCESS ("HOW WE WORK")
   ========================================================================== */
.process{ background: var(--black); }
.process-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: var(--gutter);
  padding-bottom: 60px;
}
.process-track{
  display:grid;
  grid-template-columns: 60px 1fr;
  gap: var(--gutter);
}
.process-line-wrap{ position: relative; }
.process-line-bg{
  position:absolute;
  left: 50%;
  top:0; bottom:0;
  width:1px;
  background: var(--line-dark);
  transform: translateX(-50%);
}
.process-line-fill{
  position:absolute;
  left: 50%;
  top:0;
  width:1px;
  height: 0%;
  background: var(--blue);
  transform: translateX(-50%);
}
.process-steps{ display:flex; flex-direction:column; }
.process-step{
  display:grid;
  grid-template-columns: 100px 1fr;
  gap: var(--gutter);
  padding: 40px 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0.38;
  transition: opacity .5s var(--ease);
}
.process-step:last-child{ border-bottom:none; }
.process-step.is-active{ opacity:1; }
.process-num{
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-dim);
  transition: color .4s var(--ease);
  padding-top: 4px;
}
.process-step.is-active .process-num{ color: var(--blue); }
.process-body h3{
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.process-body p{
  color: var(--grey);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 520px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.process-step.is-active .process-body p{ max-height: 120px; opacity:1; margin-top: 4px; }
.process-node{
  position:absolute;
  left:50%; top: 44px;
  width:9px; height:9px;
  border-radius:50%;
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark-strong);
  transform: translateX(-50%);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.process-step.is-active .process-node{
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(20,110,245,0.16);
}

/* ==========================================================================
   WE HANDLE / YOU FOCUS  (split composition)
   ========================================================================== */
.split{
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.split-panels{
  position:relative;
  height:100%;
  display:flex;
}
.split-panel{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 0 var(--gutter);
  overflow: hidden;
  transition: none;
}
.split-handle{
  width: 90%;
  flex: 0 0 90%;
}
.split-focus{
  width: 10%;
  flex: 0 0 10%;
  background: var(--blue);
  color: var(--white);
}
.split-label{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.split-focus .split-label{ position:absolute; left:50%; top:50%; transform: translate(-50%,-50%) rotate(180deg); writing-mode: vertical-rl; }
.split-eyebrow{ margin-bottom: 26px; }
.split-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 34px;
}
.split-items{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 40px;
  max-width: 980px;
}
.split-items li{
  font-size: 14px;
  color: var(--grey);
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(14px);
}
.split-percent{
  position:absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--line-dark-strong);
  line-height:1;
}
.split-focus-inner{
  display:none;
}
.split-focus.is-expanded{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 0 40px;
}
.split-focus.is-expanded .split-label{ display:none; }
.split-focus.is-expanded .split-focus-inner { display: block; opacity: 1; }
.split-focus-inner .split-title{ color: var(--white); }
.split-focus-inner .split-items li{ color: rgba(255,255,255,0.92); border-top-color: rgba(255,255,255,0.3); font-weight: 500; opacity: 1 !important; transform: none !important; }

@media (max-width: 900px) {
  .split { height: auto; min-height: auto; padding: 40px 0; }
  .split-panels { flex-direction: column; }
  .split-handle, .split-focus { width: 100% !important; flex: 1 1 100% !important; padding: 40px var(--gutter); }
  .split-focus .split-label { display: none; }
  .split-focus .split-focus-inner { display: block !important; opacity: 1 !important; }
  .split-focus-inner .split-title { color: var(--white) !important; display: block !important; }
  .split-items li { opacity: 1 !important; transform: none !important; }
  .split-percent { display: none; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services{ background: var(--charcoal); }
.services-head{
  display:grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gutter);
  padding-bottom: 60px;
}
.service-item{
  border-top: 1px solid var(--line-dark);
}
.service-item:last-child{ border-bottom: 1px solid var(--line-dark); }
.service-trigger{
  width:100%;
  display:grid;
  grid-template-columns: 70px 1fr 200px 30px;
  align-items:center;
  gap: var(--gutter);
  padding: 30px 0;
  text-align:left;
}
.service-trigger .idx{ font-family: var(--font-display); font-size:13px; color: var(--grey-dim); font-weight:600; }
.service-trigger .name{
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.service-trigger .tag{
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform:uppercase;
  color: var(--grey);
  justify-self: end;
  text-align:right;
}
.service-trigger .plus{
  font-size: 20px;
  color: var(--grey);
  transition: transform .4s var(--ease), color .3s var(--ease);
  justify-self:end;
}
.service-item.is-open .plus{ transform: rotate(135deg); color: var(--blue); }
.service-item.is-open .service-trigger .name,
.service-trigger:hover .name{ color: var(--blue); }
.service-panel{
  max-height:0;
  overflow:hidden;
  transition: max-height .5s var(--ease);
}
.service-panel-inner{
  display:grid;
  grid-template-columns: 70px 1fr 230px;
  gap: var(--gutter);
  padding-bottom: 34px;
}
.service-panel-inner p{
  color: var(--grey);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 540px;
}
.service-panel-inner .service-meta{
  font-size: 12px;
  color: var(--grey-dim);
  line-height: 1.8;
}

/* ==========================================================================
   RESULTS
   ========================================================================== */
.results{ background: var(--black); }
.results-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: var(--gutter);
  padding-bottom: 60px;
  flex-wrap:wrap;
}
.results-filters{ display:flex; gap:10px; flex-wrap:wrap; }
.filter-btn{
  font-size: 12.5px;
  font-weight:600;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-dark-strong);
  color: var(--grey);
  transition: all .3s var(--ease);
}
.filter-btn.is-active,
.filter-btn:hover{ color: var(--black); background: var(--offwhite); border-color: var(--offwhite); }

.stat-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 70px;
}
.stat{
  padding: 44px var(--gutter) 44px 0;
  border-right: 1px solid var(--line-dark);
}
.stat:last-child{ border-right:none; padding-right:0; }
.stat-num{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height:1;
  display:flex;
  align-items:baseline;
  gap: 4px;
}
.stat-num .accent{ font-size: 0.55em; }
.stat-label{ margin-top: 14px; color: var(--grey); font-size: 13.5px; }

.school-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.school-cell{
  background: var(--black);
  padding: 30px 26px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  transition: background .35s var(--ease);
}
.school-cell:hover{ background: var(--charcoal); }
.school-rank{ font-size: 11px; letter-spacing: 0.1em; text-transform:uppercase; color: var(--blue); font-weight:700; }
.school-name{ font-family: var(--font-display); font-weight:700; font-size: 18px; letter-spacing: -0.01em; }
.school-detail{ font-size: 12.5px; color: var(--grey); }
.school-cell[data-cat]{ display:flex; }
.school-cell.is-hidden{ display:none; }

/* ==========================================================================
   WHY US COMPARISON
   ========================================================================== */
.compare{ background: var(--charcoal); }
.compare-head{ padding-bottom: 60px; max-width: 640px; }
.compare-grid{ position:relative; }
.compare-row{
  display:grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items:center;
  border-top: 1px solid var(--line-dark);
}
.compare-row:last-child{ border-bottom: 1px solid var(--line-dark); }
.compare-col{
  padding: 30px var(--gutter) 30px 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.compare-col.old{ color: var(--grey-dim); text-decoration: line-through; text-decoration-color: rgba(153,153,153,0.35); text-decoration-thickness: 1px; }
.compare-col.new{ color: var(--offwhite); padding-left: var(--gutter); padding-right:0; }
.compare-vs{
  text-align:center;
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.compare-row:hover .old{ opacity:0.5; }
.compare-row:hover .new{ color: var(--blue); }

/* ==========================================================================
   RESOURCES
   ========================================================================== */
.resources{ background: var(--black); }
.resources-head{
  display:grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gutter);
  padding-bottom: 60px;
}
.resource-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.resource-card{
  background: var(--black);
  padding: 38px 30px;
  display:flex;
  flex-direction:column;
  gap: 24px;
  min-height: 300px;
  justify-content:space-between;
  transition: background .4s var(--ease);
  position: relative;
  overflow:hidden;
}
.resource-card:hover{ background: var(--charcoal); }
.resource-cat{ font-size: 11px; letter-spacing: 0.1em; text-transform:uppercase; color: var(--blue); font-weight:700; }
.resource-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.resource-desc{ font-size: 13.5px; color: var(--grey); line-height: 1.65; }
.resource-cta{
  font-size: 12.5px;
  font-weight: 600;
  display:flex;
  align-items:center;
  gap: 8px;
}
.resource-cta .btn-arrow{ font-size: 14px; transition: transform .3s var(--ease); }
.resource-card:hover .resource-cta .btn-arrow{ transform: translate(3px,-3px); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials{ background: var(--charcoal); overflow:hidden; }
.testi-head{ padding-bottom: 60px; }
.testi-stage{
  position: relative;
  min-height: 320px;
}
.testi-item{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition: opacity .6s var(--ease);
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: var(--gutter);
  align-items:center;
}
.testi-item.is-active{ opacity:1; visibility:visible; position:relative; }
.testi-quote{
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.testi-meta{ border-left: 1px solid var(--line-dark); padding-left: 30px; }
.testi-name{ font-family: var(--font-display); font-weight:700; font-size: 18px; margin-bottom: 6px; }
.testi-school{ font-size: 13px; color: var(--blue); margin-bottom: 14px; }
.testi-result{ font-size: 12.5px; color: var(--grey); line-height: 1.6; }
.testi-nav{ display:flex; align-items:center; gap: 22px; margin-top: 50px; }
.testi-dots{ display:flex; gap: 8px; }
.testi-dot{ width:6px; height:6px; border-radius:50%; background: var(--line-dark-strong); transition: background .3s, width .3s; }
.testi-dot.is-active{ background: var(--blue); width: 18px; border-radius: 3px; }
.testi-arrows{ display:flex; gap: 10px; margin-left: auto; }
.testi-arrow{
  width: 44px; height: 44px;
  border-radius:50%;
  border: 1px solid var(--line-dark-strong);
  display:flex; align-items:center; justify-content:center;
  font-size: 16px;
  transition: border-color .3s, background .3s;
}
.testi-arrow:hover{ background: var(--blue); border-color: var(--blue); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{ background: var(--black); }
.faq-grid{ display:grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); }
.faq-list{ border-top: 1px solid var(--line-dark); }
.faq-item{ border-bottom: 1px solid var(--line-dark); }
.faq-q{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 20px;
  padding: 26px 0;
  text-align:left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-q .plus{ font-size:18px; color: var(--grey); flex:none; transition: transform .4s var(--ease), color .3s; }
.faq-item.is-open .plus{ transform: rotate(135deg); color: var(--blue); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition: max-height .5s var(--ease);
}
.faq-a p{
  padding-bottom: 26px;
  color: var(--grey);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 560px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta{
  background: var(--offwhite);
  color: var(--black);
  text-align:center;
  padding: clamp(120px, 16vw, 220px) var(--gutter);
}
.final-cta-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 900px;
  margin: 0 auto 28px;
}
.final-cta-sub{
  font-size: 16px;
  color: var(--grey-dim);
  max-width: 480px;
  margin: 0 auto 46px;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background: var(--offwhite);
  color: var(--black);
  padding: 40px var(--gutter) 46px;
  border-top: 1px solid var(--line-light-strong);
}
.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo{ font-family: var(--font-display); font-weight:800; font-size: 20px; }
.footer-logo .dot{ color: var(--blue); }
.footer-cols{ display:flex; gap: 70px; flex-wrap:wrap; }
.footer-col h4{ font-size: 12px; text-transform:uppercase; letter-spacing:0.1em; color: var(--grey-dim); margin-bottom: 16px; font-weight:600; }
.footer-col a{ display:block; font-size: 13.5px; padding: 6px 0; color: var(--black); opacity:0.8; }
.footer-col a:hover{ opacity:1; color: var(--blue); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line-light-strong);
  font-size: 12px;
  color: var(--grey-dim);
  flex-wrap:wrap;
  gap: 10px;
}

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */
.blog-hero{
  padding: 190px var(--gutter) 90px;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}
.blog-hero-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 800px;
}
.blog-hero-sub{ margin-top: 24px; color: var(--grey); max-width: 460px; font-size: 15px; line-height: 1.6; }

.blog-toolbar{
  background: var(--black);
  padding: 30px var(--gutter);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: var(--gutter);
  flex-wrap:wrap;
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9,9,9,0.86);
}
.blog-categories{ display:flex; gap: 8px; flex-wrap:wrap; }
.cat-btn{
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-dark-strong);
  color: var(--grey);
  transition: all .3s var(--ease);
}
.cat-btn.is-active, .cat-btn:hover{ background: var(--offwhite); color: var(--black); border-color: var(--offwhite); }
.blog-search{
  display:flex;
  align-items:center;
  gap: 10px;
  border-bottom: 1px solid var(--line-dark-strong);
  padding-bottom: 8px;
  min-width: 220px;
}
.blog-search input{
  background:transparent;
  border:none;
  color: var(--offwhite);
  font-size: 13.5px;
  width: 100%;
  outline:none;
}
.blog-search input::placeholder{ color: var(--grey-dim); }
.blog-search svg{ flex:none; opacity:0.6; }

.featured{
  background: var(--black);
  padding: 70px var(--gutter) 30px;
}
.featured-card{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items:stretch;
  border: 1px solid var(--line-dark);
  padding: 46px;
  position: relative;
  overflow: hidden;
}
.featured-visual{
  background: linear-gradient(145deg, var(--charcoal-2), var(--black));
  border: 1px solid var(--line-dark);
  min-height: 320px;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow:hidden;
}
.featured-body{ display:flex; flex-direction:column; justify-content:center; gap: 20px; }
.featured-tag{ font-size: 11px; letter-spacing:0.1em; text-transform:uppercase; color: var(--blue); font-weight:700; }
.featured-title{ font-family: var(--font-display); font-weight:700; font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.1; }
.featured-desc{ color: var(--grey); font-size: 14.5px; line-height: 1.7; max-width: 480px; }
.featured-meta{ display:flex; gap: 18px; font-size: 12.5px; color: var(--grey-dim); }

.blog-grid-section{ background: var(--black); padding: 40px var(--gutter) 140px; }
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.article-card{
  background: var(--black);
  padding: 34px 28px;
  display:flex;
  flex-direction:column;
  gap: 18px;
  min-height: 300px;
  transition: background .4s var(--ease);
}
.article-card:hover{ background: var(--charcoal); }
.article-thumb{
  height: 130px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, var(--charcoal-2), var(--black));
  position: relative;
  overflow:hidden;
}
.article-thumb::after{
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(circle at 30% 30%, rgba(20,110,245,0.28), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.article-card:hover .article-thumb::after{ opacity:1; }
.article-cat{ font-size: 11px; letter-spacing:0.1em; text-transform:uppercase; color: var(--blue); font-weight:700; }
.article-title{ font-family: var(--font-display); font-weight:700; font-size: 18px; letter-spacing:-0.01em; line-height:1.3; flex:1; }
.article-meta{ display:flex; gap: 14px; font-size: 12px; color: var(--grey-dim); }
.blog-grid-empty{ text-align:center; padding: 80px 0; color: var(--grey); grid-column: 1 / -1; display:none; }

.blog-loadmore{ display:flex; justify-content:center; padding-top: 60px; }

/* ==========================================================================
   ANIMATION UTILITY CLASSES (GSAP hooks — base hidden states)
   ========================================================================== */
.gsap-fade-up{ opacity: 0; transform: translateY(28px); }
.gsap-fade{ opacity: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-network{ width: 70vw; opacity:0.5; }
  .problem-head{ grid-template-columns: 1fr; gap: 20px; }
  .problem-sub{ align-self:auto; }
  .split-items{ grid-template-columns: repeat(2,1fr); }
  .services-head{ grid-template-columns: 1fr; gap: 20px; }
  .resources-head{ grid-template-columns: 1fr; gap: 20px; }
  .resource-grid, .school-grid{ grid-template-columns: repeat(2, 1fr); }
  .testi-item{ grid-template-columns: 1fr; }
  .testi-meta{ border-left:none; padding-left:0; border-top: 1px solid var(--line-dark); padding-top:20px; }
  .faq-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: repeat(2,1fr); }
  .featured-card{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .process-head{ flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero{ padding-top: 130px; }
  .hero-headline{ font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-network{ width: 100vw; opacity: 0.35; top: 60px; }
  .stat-row{ grid-template-columns: 1fr; }
  .stat{ border-right:none; border-bottom: 1px solid var(--line-dark); padding: 30px 0; }
  .stat:last-child{ border-bottom:none; }
  .school-grid, .resource-grid, .blog-grid{ grid-template-columns: 1fr; }
  .compare-row{ grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .compare-vs{ text-align:left; }
  .compare-col.new{ padding-left:0; }
  .split{ height: auto; min-height: 100vh; }
  .split-panels{ flex-direction:column; height:auto; }
  .split-handle, .split-focus{ width:100%; flex:none; padding: 50px var(--gutter); }
  .split-label{ writing-mode: horizontal-tb; transform:none; }
  .split-focus .split-label{ position:static; transform:none; }
  .split-items{ grid-template-columns: 1fr 1fr; }
  .split-percent{ display:none; }
  .process-track{ grid-template-columns: 1fr; }
  .process-line-wrap{ display:none; }
  .process-step{ grid-template-columns: 50px 1fr; }
  .service-trigger{ grid-template-columns: 40px 1fr 24px; }
  .service-trigger .tag{ display:none; }
  .service-panel-inner{ grid-template-columns: 40px 1fr; }
  .service-panel-inner .service-meta{ display:none; }
  .footer-cols{ gap: 34px; }
  .blog-toolbar{ flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   STRATEGY CALL BOOKING MODAL
   ========================================================================== */
.booking-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}
.booking-modal-overlay.is-active {
  opacity: 1; visibility: visible;
}

.booking-modal {
  background: #0f0f1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%; max-width: 620px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(20, 110, 245, 0.15);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.booking-modal-overlay.is-active .booking-modal {
  transform: scale(1) translateY(0);
}

.booking-modal-header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.booking-modal-title {
  font-size: 20px; font-weight: 700; color: #fff;
  letter-spacing: -0.4px; margin-bottom: 4px;
}
.booking-modal-sub {
  font-size: 13px; color: rgba(232, 232, 240, 0.6); line-height: 1.4;
}
.booking-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.booking-modal-close:hover {
  color: #fff; background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.25);
}

.booking-modal-body {
  flex: 1; overflow-y: auto;
  padding: 24px 28px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.booking-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.booking-group { display: flex; flex-direction: column; gap: 6px; }
.booking-group.full { grid-column: 1 / -1; }

.booking-group label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: rgba(232, 232, 240, 0.5);
}
.booking-group input,
.booking-group select,
.booking-group textarea {
  width: 100%;
  background: #161628;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.booking-group input:focus,
.booking-group select:focus,
.booking-group textarea:focus {
  border-color: #146EF5;
  box-shadow: 0 0 0 3px rgba(20, 110, 245, 0.25);
}
.booking-group select { cursor: pointer; }
.booking-group select option { background: #161628; color: #fff; }

.btn-submit-booking {
  width: 100%; margin-top: 20px;
  background: #146EF5;
  color: #fff;
  border: none; border-radius: 12px;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(20, 110, 245, 0.4);
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit-booking:hover {
  opacity: 0.92; transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(20, 110, 245, 0.55);
}

.booking-success-msg {
  display: none; text-align: center; padding: 30px 10px;
}
.booking-success-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(0, 199, 122, 0.15); border: 1px solid rgba(0, 199, 122, 0.4);
  color: #00c77a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: bold;
}
.booking-success-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.booking-success-sub { font-size: 14px; color: rgba(232,232,240,0.65); line-height: 1.5; }

@media (max-width: 600px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-modal-body { padding: 18px 20px 24px; }
  .booking-modal-header { padding: 18px 20px 14px; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 38px;
  right: 38px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  border: none;
  outline: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 14px rgba(0, 0, 0, 0.4);
}
.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

@media (max-width: 600px) {
  .whatsapp-float-btn {
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================================================
   PAGE PRELOADER — Animated ring loader (no logo dependency)
   ========================================================================== */
.page-preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: #090909;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-preloader.is-loaded {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.preloader-content {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px;
}

/* Spinning ring SVG container */
.preloader-icon {
  width: 80px; height: 80px;
}
@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}
.preloader-ring {
  transform-origin: center;
  animation: preloaderDash 1.8s ease-in-out infinite, preloaderSpin 1.4s linear infinite;
}
@keyframes preloaderDash {
  0%   { stroke-dasharray: 20 194; stroke-dashoffset: 0; }
  50%  { stroke-dasharray: 100 114; stroke-dashoffset: -40; }
  100% { stroke-dasharray: 20 194; stroke-dashoffset: -214; }
}

/* Wordmark below spinner */
.preloader-wordmark {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,244,240,0.5);
}
.preloader-accent {
  color: var(--blue, #146EF5);
  font-weight: 800;
}

/* Progress bar */
.preloader-bar {
  width: 120px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; position: relative;
}
.preloader-bar span {
  display: block; height: 100%; width: 45%; background: var(--blue, #146EF5);
  animation: preloaderSlide 1.4s ease-in-out infinite alternate;
  border-radius: 2px;
}
@keyframes preloaderSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(230%); }
}

/* Logo image in nav/footer when set via admin — hard cap prevents nav growing */
.nav-logo img, #siteLogoImg {
  max-height: 68px !important;
}
.footer-logo img {
  height: auto; max-height: 50px; width: auto; object-fit: contain; display: block;
}
