/* Homepage sections only - site chrome lives in styles.css */
.page-home-edu{
  --edu-ink:var(--text);
  --edu-muted:var(--muted);
  --edu-line:var(--stroke);
  --edu-paper:var(--bg);
  --edu-panel:var(--bg-2);
  /* Two alternating homepage bands — warm cream/yellow (Contour-style). */
  --edu-band-a:var(--bg);
  --edu-band-b:#F3F1EC;
  --edu-soft:var(--edu-band-b);
  --edu-grad-purple:rgba(107,76,224,.08);
  --edu-grad-gold:rgba(232,184,75,.1);
  --edu-grad-purple-strong:rgba(107,76,224,.07);
  --edu-grad-gold-strong:rgba(232,184,75,.08);
  --edu-trust-wash-start:rgba(232,184,75,.09);
  --edu-trust-wash-end:rgba(107,76,224,.09);
  --edu-sans:'Plus Jakarta Sans',Helvetica,Arial,sans-serif;
  --edu-display:'Plus Jakarta Sans',Helvetica,Arial,sans-serif;
}
@media (prefers-color-scheme:dark){
  .page-home-edu{
    --edu-band-b:#0C0C15;
    --edu-soft:var(--edu-band-b);
    --edu-grad-purple:rgba(124,77,255,.12);
    --edu-grad-gold:rgba(232,184,75,.1);
    --edu-grad-purple-strong:rgba(124,77,255,.12);
    --edu-grad-gold-strong:rgba(232,184,75,.08);
    --edu-trust-wash-start:rgba(232,184,75,.12);
    --edu-trust-wash-end:rgba(124,77,255,.14);
  }
}

/* Alternating section backgrounds (A = page cream, B = warmer yellow-cream + brand shine) */
.page-home-edu .edu-band-a{background:var(--edu-band-a);}
.page-home-edu .edu-band-b{
  background:
    radial-gradient(700px 320px at 100% 0%,var(--edu-grad-purple),transparent 55%),
    radial-gradient(620px 280px at 0% 100%,var(--edu-grad-gold),transparent 55%),
    var(--edu-band-b);
}
.page-home-edu .locations-section.edu-band-b{
  background:
    radial-gradient(720px 280px at 12% 0%,rgba(232,184,75,.1),transparent 55%),
    radial-gradient(640px 260px at 88% 100%,rgba(107,76,224,.08),transparent 55%),
    var(--edu-band-b);
}
.page-home-edu #reviews.edu-band-b{
  background:
    radial-gradient(800px 360px at 50% 0%,var(--edu-grad-purple-strong),transparent 60%),
    radial-gradient(640px 280px at 100% 100%,var(--edu-grad-gold-strong),transparent 55%),
    var(--edu-band-b);
}
.page-home-edu .locations-section{border-top:0;}

/* Full-bleed photo hero + achievements card */
.page-home-edu .edu-hero{
  position:relative;
  min-height:min(78vh,680px);
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}
.page-home-edu .edu-hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.page-home-edu .edu-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 42%;
  transform:scale(1.02);
  animation:eduHeroDrift 22s ease-in-out alternate infinite;
  will-change:transform;
}
.page-home-edu .edu-hero-media::before{
  content:"";
  position:absolute;
  inset:-10%;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(circle at 82% 18%,rgba(124,77,255,.34),transparent 44%),
    radial-gradient(circle at 14% 78%,rgba(232,184,75,.28),transparent 42%);
  filter:blur(26px);
  opacity:.85;
}
.page-home-edu .edu-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:
    linear-gradient(105deg,rgba(12,14,20,.8) 0%,rgba(14,12,24,.52) 48%,rgba(16,12,28,.26) 100%),
    linear-gradient(0deg,rgba(12,14,20,.52) 0%,rgba(12,14,20,.12) 58%,rgba(18,12,28,.24) 100%);
}
.page-home-edu .edu-hero .wrap{
  position:relative;
  z-index:3;
  width:100%;
  padding-top:72px;
  padding-bottom:44px;
}
.page-home-edu .edu-hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  grid-template-rows:auto auto;
  gap:28px;
  align-items:center;
}
.page-home-edu .edu-hero-copy{grid-column:1;grid-row:1;padding:0;}
.page-home-edu .edu-hero .hero-card{grid-column:2;grid-row:1 / -1;align-self:center;}
.page-home-edu .edu-hero .hero-ctas{grid-column:1;grid-row:2;align-self:start;}
.page-home-edu .edu-hero h1{
  max-width:22ch;
  font-size:clamp(36px,5.2vw,58px);
  font-weight:700;
  color:#fff !important;
  text-shadow:none;
  margin:0 0 14px;
  letter-spacing:-.035em;
  line-height:1.08;
  animation:eduRise .75s ease both;
}
.page-home-edu .edu-hero .hero-lead{
  white-space:nowrap;
}
.page-home-edu .edu-hero .hero-for-line,
.page-home-edu .edu-hero .hero-for-line-live{
  display:contents;
}
.page-home-edu .edu-hero .hero-lead-sub::before{
  content:" ";
}
.page-home-edu .edu-hero .type-line{
  display:grid;
  width:max-content;
  max-width:100%;
  min-width:0;
  margin-top:.08em;
}
.page-home-edu .edu-hero .type-line::after{
  content:"medical school entry.";
  visibility:hidden;
  grid-area:1/1;
  pointer-events:none;
  user-select:none;
  white-space:nowrap;
  font-size:inherit;
  line-height:inherit;
  letter-spacing:inherit;
}
.page-home-edu .edu-hero .type-line-live{
  grid-area:1/1;
  min-width:0;
  white-space:nowrap;
}
.page-home-edu .edu-hero .type-wrap{
  display:inline;
  color:#fff;
  background:linear-gradient(100deg,rgba(232,184,75,.34),rgba(124,77,255,.28));
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  padding:.04em .14em;
  border-radius:4px;
}
.page-home-edu .edu-hero .type-cursor{
  display:inline-block;
  width:3px;
  height:.85em;
  background:var(--gold-soft);
  margin-left:5px;
  border-radius:1px;
  transform:translateY(2px);
  box-shadow:none;
  animation:blink 1s step-end infinite;
}
.page-home-edu .edu-hero .lede{
  max-width:42ch;
  font-size:clamp(15px,1.35vw,17px);
  line-height:1.55;
  color:rgba(255,255,255,.86);
  text-shadow:none;
  margin:0 0 22px;
  font-weight:500;
  animation:eduRise .75s .1s ease both;
}
.page-home-edu .edu-hero .hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  animation:eduRise .75s .18s ease both;
}
.page-home-edu .btn-short{display:none;}
.page-home-edu .btn-full{display:inline;}
.page-home-edu .edu-hero .btn-ghost{
  color:#fff;
  border-color:rgba(255,255,255,.4);
}
.page-home-edu .edu-hero .btn-ghost:hover{
  background:rgba(255,255,255,.1);
  color:#fff;
}
.page-home-edu .edu-hero .btn-primary{
  box-shadow:0 10px 26px -12px rgba(201,154,58,.55),0 0 32px -14px rgba(124,77,255,.42);
}
.page-home-edu .edu-hero .hero-ctas .btn-primary{
  background:linear-gradient(180deg,#F3DC96 0%,#E0BC5C 48%,#C99A3A 100%);
  color:#1a1208;
  border:1px solid rgba(255,255,255,.42);
  box-shadow:0 14px 32px -10px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.18) inset;
}
.page-home-edu .edu-hero .hero-ctas .btn-ghost{
  background:rgba(12,14,20,.42);
  border-color:rgba(255,255,255,.5);
  color:#fff;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.page-home-edu .edu-hero .hero-card{
  margin:0 0 0 auto;
  max-width:520px;
  border-radius:28px;
  background:linear-gradient(160deg,rgba(17,18,28,.42) 0%,rgba(17,18,28,.26) 100%);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 28px 56px -30px rgba(0,0,0,.64),inset 0 1px 0 rgba(255,255,255,.2);
  backdrop-filter:blur(10px) saturate(1.1);
  -webkit-backdrop-filter:blur(10px) saturate(1.1);
}
.page-home-edu .edu-hero .hc-stats-row{
  display:flex;
  flex-direction:column;
}
.page-home-edu .edu-hero .hc-title,
.page-home-edu .edu-hero .hc-flbl{
  color:rgba(234,236,246,.92);
}
.page-home-edu .edu-hero .hc-feature{
  border-bottom-color:rgba(255,255,255,.2);
}
.page-home-edu .edu-hero .hc-fsub{
  color:var(--gold-soft);
}
.page-home-edu .edu-hero .hc-feature:last-of-type{
  padding-bottom:0;
  margin-bottom:0;
  border-bottom:0;
}

/* Trust strip */
.page-home-edu .edu-trust{
  position:relative;
  background:rgba(255,255,255,.78);
  border-bottom:1px solid var(--edu-line);
  padding:28px 0;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.page-home-edu .edu-trust::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,var(--edu-trust-wash-start),transparent 38%,var(--edu-trust-wash-end));
}
.page-home-edu .edu-trust-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.page-home-edu .edu-trust-item{
  text-align:center;
  padding:4px 10px;
  border-left:0;
  border-image:none;
}
.page-home-edu .edu-trust-item .num{
  font-size:clamp(28px,3vw,36px);
  font-weight:800;
  line-height:1;
  letter-spacing:-.04em;
  background:linear-gradient(100deg,var(--gold-soft),var(--gold) 45%,var(--purple-soft));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.page-home-edu .edu-trust-item .lbl{
  margin-top:8px;
  font-size:13px;
  color:var(--edu-muted);
  line-height:1.35;
  font-weight:500;
}

/* Sections */
.page-home-edu .edu-section{padding:72px 0;}
.page-home-edu .edu-section.tight{padding:56px 0;}
.page-home-edu .edu-section--muted{background:inherit;}
.page-home-edu .section-head{
  max-width:560px;
  margin-bottom:28px;
}
.page-home-edu .section-head.center{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.page-home-edu .section-head h2{
  font-size:clamp(28px,3.6vw,42px);
  margin:0 0 10px;
  color:var(--edu-ink);
  font-weight:700;
}
.page-home-edu .section-head p{
  margin:0;
  color:var(--edu-muted);
  font-size:16px;
  line-height:1.5;
}

/* Tutor scroll marquee */
.page-home-edu .edu-tutors-section{
  padding:80px 0 72px;
}
.page-home-edu .edu-tutors-intro{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:28px;
}
.page-home-edu .edu-tutors-intro h2{
  font-size:clamp(28px,3.6vw,42px);
  font-weight:700;
  margin:0 0 10px;
}
.page-home-edu .edu-tutors-intro p{max-width:44ch;margin:0;color:var(--edu-muted);font-size:15.5px;line-height:1.5;}
.page-home-edu .card-link{
  font-family:var(--edu-sans);
  font-weight:700;
  font-size:14px;
}
.page-home-edu .edu-marquee{
  padding:8px 0 4px;
  overflow:hidden;
  position:relative;
  background:transparent;
  border:0;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 5%,#000 95%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 5%,#000 95%,transparent 100%);
}
.page-home-edu .edu-marquee .marquee{
  display:flex;
  gap:14px;
  width:max-content;
  animation:eduMarquee 52s linear infinite;
  padding:6px 0;
}
.page-home-edu .edu-marquee:hover .marquee{animation-play-state:paused;}
@keyframes eduMarquee{to{transform:translateX(-50%);}}
.page-home-edu .edu-marquee .chip{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:7px 14px 7px 7px;
  border-radius:999px;
  white-space:nowrap;
  border:1px solid var(--edu-line);
  background:rgba(255,255,255,.88);
  box-shadow:0 10px 24px -16px rgba(18,20,26,.22);
  font-size:15px;
  color:var(--edu-ink);
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-home-edu .edu-marquee .chip:hover{
  transform:translateY(-2px);
  border-color:rgba(232,184,75,.4);
  box-shadow:0 14px 28px -16px rgba(107,76,224,.28);
}
.page-home-edu .edu-marquee .chip-av{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
  object-position:center 15%;
  flex:0 0 56px;
  display:block;
  background:var(--edu-soft);
  border:2px solid rgba(255,255,255,.95);
  box-shadow:0 2px 8px rgba(15,12,28,.12);
}
.page-home-edu .edu-marquee .chip b{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-weight:700;
  font-size:15px;
  letter-spacing:-.01em;
}
.page-home-edu .edu-marquee .chip .score{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-weight:700;
  font-size:12.5px;
  padding:6px 11px;
  border-radius:999px;
  letter-spacing:.01em;
  color:var(--gold-deep);
  background:linear-gradient(100deg,rgba(232,184,75,.16),rgba(107,76,224,.1));
  border:1px solid rgba(232,184,75,.35);
}

/* Plans - separate soft cards */
.page-home-edu .edu-plans{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  border:0;
  background:transparent;
  box-shadow:none;
  border-radius:0;
  overflow:visible;
}
.page-home-edu .edu-plan{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:24px 22px;
  border:1px solid var(--edu-line);
  border-right:1px solid var(--edu-line);
  border-radius:16px;
  background:var(--edu-panel);
  color:inherit;
  box-shadow:0 12px 28px -22px rgba(18,20,26,.18);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-home-edu .edu-plan:last-child{border-right:1px solid var(--edu-line);}
.page-home-edu .edu-plan:hover{
  background:linear-gradient(180deg,#fff,rgba(247,240,255,.75));
  border-color:rgba(124,77,255,.22);
  transform:translateY(-2px);
  box-shadow:0 18px 36px -22px rgba(107,76,224,.22),0 0 28px -20px rgba(232,184,75,.25);
}
.page-home-edu .edu-plan-tier{
  font-family:var(--edu-sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:linear-gradient(100deg,var(--gold-soft),var(--purple-soft));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.page-home-edu .edu-plan-price{font-size:28px;font-weight:700;}
.page-home-edu .edu-plan-price strong{font-weight:800;}
.page-home-edu .edu-plan p{
  margin:0;
  color:var(--edu-muted);
  font-size:14.5px;
  line-height:1.45;
  flex:1;
}
.page-home-edu .edu-plan .card-link{margin-top:8px;}
.page-home-edu .edu-plans-note{
  margin:18px 0 0;
  color:var(--edu-muted);
  font-size:14px;
}

/* Services */
.page-home-edu .edu-services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.page-home-edu .edu-service{display:block;color:inherit;padding-top:14px;border-top:2px solid transparent;border-image:linear-gradient(90deg,var(--gold-soft),var(--purple-soft)) 1;}
.page-home-edu .edu-service-kicker{
  display:block;
  font-family:var(--edu-sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
  background:linear-gradient(100deg,var(--gold),var(--purple-soft));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.page-home-edu .edu-service h3{font-size:22px;margin:0 0 8px;font-weight:700;}
.page-home-edu .edu-service p{
  margin:0 0 10px;
  color:var(--edu-muted);
  font-size:15px;
  line-height:1.45;
}

/* Online / in-person compact mosaic */
.page-home-edu .edu-tutoring-section{padding:58px 0;}
.page-home-edu .edu-tutoring-layout{
  display:flex;
  flex-direction:column;
  gap:20px;
  align-items:start;
}
.page-home-edu .edu-tutoring-section .edu-split-copy{
  max-width:720px;
  margin:0 auto;
  text-align:center;
}
.page-home-edu .edu-tutoring-section .edu-split-copy h2{
  margin-bottom:8px;
  font-size:clamp(26px,3.2vw,38px);
}
.page-home-edu .edu-tutoring-section .edu-split-copy p{
  margin:0 0 14px;
  font-size:15px;
  line-height:1.45;
}
.page-home-edu .edu-tutoring-section .edu-split-copy .cta-row{
  justify-content:center;
}
.page-home-edu .edu-tutoring-mosaic{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:10px;
  width:min(100%,980px);
  margin:0 auto;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot--wide{
  grid-column:1;
  grid-row:1;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot--person:nth-of-type(2){
  grid-column:2;
  grid-row:1;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot--person:nth-of-type(3){
  grid-column:3;
  grid-row:1;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person):nth-of-type(4){grid-column:1;grid-row:2;}
.page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person):nth-of-type(5){grid-column:2;grid-row:2;}
.page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person):nth-of-type(6){grid-column:3;grid-row:2;}
.page-home-edu .edu-tutoring-mosaic .edu-shot{
  margin:0;
  overflow:hidden;
  border-radius:14px;
  background:#ddd;
  box-shadow:0 16px 30px -22px rgba(107,76,224,.24);
}
.page-home-edu .edu-tutoring-mosaic .edu-shot img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot--wide img{
  aspect-ratio:16/10;
  min-height:200px;
  max-height:240px;
  object-position:center 12%;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot--person img{
  aspect-ratio:16/10;
  min-height:200px;
  max-height:240px;
  object-position:center 22%;
}
.page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person) img{
  aspect-ratio:16/10;
  min-height:200px;
  max-height:240px;
}

/* Legacy split + gallery (other pages) */
.page-home-edu .edu-split{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:36px;
  align-items:start;
}
.page-home-edu .edu-split-copy h2{
  margin-bottom:10px;
  font-size:clamp(28px,3.6vw,42px);
  font-weight:700;
}
.page-home-edu .edu-split-copy p{
  margin:0 0 18px;
  color:var(--edu-muted);
  font-size:16px;
  line-height:1.5;
}
.page-home-edu .edu-split-copy .cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.page-home-edu .edu-media{display:flex;flex-direction:column;gap:10px;max-width:460px;margin-left:auto;}
.page-home-edu .edu-photo-pair{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:10px;
}
.page-home-edu .edu-online-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:20px;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.page-home-edu .edu-shot{
  margin:0;
  overflow:hidden;
  border-radius:14px;
  background:#ddd;
  box-shadow:0 14px 28px -22px rgba(107,76,224,.24);
}
.page-home-edu .edu-shot img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.page-home-edu .edu-shot--lady img{aspect-ratio:16/10;object-position:center 20%;}
.page-home-edu .edu-photo-pair .edu-shot:not(.edu-shot--lady) img{aspect-ratio:4/5;object-position:center 25%;}
.page-home-edu .edu-online-gallery .edu-shot img{aspect-ratio:16/9;}
.page-home-edu .edu-online-gallery .edu-shot--wide{
  grid-column:1 / -1;
}
.page-home-edu .edu-online-gallery .edu-shot--wide img{
  aspect-ratio:2.35/1;
  max-height:min(32vh,300px);
  object-position:center 12%;
}

/* Steps */
.page-home-edu .edu-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.page-home-edu .edu-step{
  border-top:2px solid transparent;
  border-image:linear-gradient(90deg,var(--gold-soft),var(--purple-soft),transparent) 1;
  padding-top:16px;
}
.page-home-edu .edu-step .no{
  font-family:var(--edu-sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  margin-bottom:8px;
  background:linear-gradient(100deg,var(--gold),var(--purple-soft));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.page-home-edu .edu-step h3{font-size:20px;margin:0 0 6px;font-weight:700;}
.page-home-edu .edu-step p{margin:0;color:var(--edu-muted);font-size:15px;line-height:1.45;}
.page-home-edu .home-steps-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

/* Reviews */
.page-home-edu #reviews{
  border-top:1px solid var(--edu-line);
  padding-top:72px;
  padding-bottom:72px;
}
.page-home-edu .tst-card,
.page-home-edu .survey-item,
.page-home-edu .google-cta{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(107,76,224,.12);
  box-shadow:0 14px 30px -24px rgba(107,76,224,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-radius:16px;
}
.page-home-edu .tst-card::after,
.page-home-edu .survey-item::after,
.page-home-edu .google-cta::after{display:none;}
.page-home-edu .tst-card .result{
  background:transparent;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
  padding:0;
  font-family:var(--edu-sans);
  font-weight:800;
  background-image:linear-gradient(100deg,var(--gold-soft),var(--purple-soft));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Referral CTA spacing (styles from styles.css) */
.page-home-edu .cta-strip{padding:20px 0;}
.page-home-edu .cta-strip + .cta-strip,
.page-home-edu .home-referral{padding-top:0;}
.page-home-edu .home-referral{padding-bottom:40px;}

@keyframes eduHeroDrift{
  from{transform:scale(1.02) translate3d(0,0,0);}
  to{transform:scale(1.05) translate3d(-.8%,-.4%,0);}
}
@keyframes eduRise{
  from{opacity:0;transform:translateY(10px);}
  to{opacity:1;transform:translateY(0);}
}

@media (prefers-reduced-motion:reduce){
  .page-home-edu .edu-hero-media img,
  .page-home-edu .edu-hero h1,
  .page-home-edu .edu-hero .lede,
  .page-home-edu .edu-hero .hero-ctas{animation:none !important;}
}

/* Dark mode - homepage sections */
@media (prefers-color-scheme:dark){
  .page-home-edu .edu-hero-media::before{
    background:
      radial-gradient(circle at 82% 18%,rgba(124,77,255,.42),transparent 44%),
      radial-gradient(circle at 14% 78%,rgba(232,184,75,.3),transparent 42%);
    opacity:.95;
  }
  .page-home-edu .edu-hero-media::after{
    background:
      linear-gradient(105deg,rgba(7,7,12,.86) 0%,rgba(10,8,18,.58) 48%,rgba(12,10,22,.32) 100%),
      linear-gradient(0deg,rgba(7,7,12,.62) 0%,rgba(7,7,12,.16) 58%,rgba(14,10,24,.3) 100%);
  }
  .page-home-edu .edu-hero .hero-card{
    background:linear-gradient(160deg,rgba(17,18,28,.52) 0%,rgba(17,18,28,.34) 100%);
    border-color:rgba(255,255,255,.22);
    backdrop-filter:blur(10px) saturate(1.1);
    -webkit-backdrop-filter:blur(10px) saturate(1.1);
    box-shadow:0 28px 56px -30px rgba(0,0,0,.64),inset 0 1px 0 rgba(255,255,255,.16);
  }
  .page-home-edu .edu-trust{
    background:rgba(14,14,22,.82);
    border-bottom-color:var(--edu-line);
  }
  .page-home-edu .edu-plan{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.1);
    box-shadow:0 12px 28px -22px rgba(0,0,0,.55);
  }
  .page-home-edu .edu-plan:last-child{border-right-color:rgba(255,255,255,.1);}
  .page-home-edu .edu-plan:hover{
    background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(124,77,255,.08));
    border-color:rgba(168,139,255,.28);
    box-shadow:0 18px 36px -22px rgba(0,0,0,.55),0 0 28px -18px rgba(124,77,255,.35);
  }
  .page-home-edu .edu-shot{
    background:#1a1a24;
    box-shadow:0 16px 34px -24px rgba(0,0,0,.65);
  }
  .page-home-edu #reviews{border-top-color:var(--edu-line);}
  .page-home-edu .tst-card,
  .page-home-edu .survey-item,
  .page-home-edu .google-cta{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.1);
    box-shadow:0 14px 30px -24px rgba(0,0,0,.55);
  }
  .page-home-edu .edu-marquee .chip{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.12);
    box-shadow:0 12px 28px -18px rgba(0,0,0,.55);
    color:var(--edu-ink);
  }
  .page-home-edu .edu-marquee .chip-av{
    border-color:rgba(255,255,255,.16);
    box-shadow:0 2px 10px rgba(0,0,0,.35);
  }
  .page-home-edu .edu-marquee .chip .score{
    color:var(--gold-soft);
    background:linear-gradient(100deg,rgba(232,184,75,.14),rgba(124,77,255,.12));
    border-color:rgba(232,184,75,.3);
  }
}

@media (max-width:980px){
  .page-home-edu .edu-hero-grid,
  .page-home-edu .edu-trust-grid,
  .page-home-edu .edu-plans,
  .page-home-edu .edu-services,
  .page-home-edu .edu-steps,
  .page-home-edu .edu-split{grid-template-columns:1fr 1fr;}
  .page-home-edu .edu-tutoring-layout{grid-template-columns:1fr;gap:16px;}
  .page-home-edu .edu-hero-grid{grid-template-columns:1fr;}
  .page-home-edu .edu-hero-copy,
  .page-home-edu .edu-hero .hero-card,
  .page-home-edu .edu-hero .hero-ctas{
    grid-column:1;
    grid-row:auto;
  }
  .page-home-edu .edu-hero .hero-card{align-self:auto;}
  .page-home-edu .edu-online-gallery{grid-template-columns:1fr 1fr;}
  .page-home-edu .edu-online-gallery .edu-shot--wide{grid-column:1 / -1;}
  .page-home-edu .edu-plan{border-right:1px solid var(--edu-line);}
  .page-home-edu .edu-split{gap:22px;}
  .page-home-edu .edu-tutors-intro{flex-direction:column;align-items:flex-start;}
  .page-home-edu .edu-hero .hero-card{
    margin:0 auto;
    width:100%;
    max-width:380px;
  }
  .page-home-edu .edu-hero .wrap{
    padding-top:48px;
  }
  .page-home-edu .edu-hero .hero-lead{
    display:block;
    white-space:normal;
    line-height:1.04;
  }
  .page-home-edu .edu-hero h1{
    font-size:clamp(34px,9.4vw,44px);
    max-width:100%;
    margin:0 0 12px;
    line-height:1.05;
    letter-spacing:-.04em;
    overflow-wrap:break-word;
  }
  .page-home-edu .edu-hero .hero-for-line{
    display:grid;
    width:100%;
    max-width:100%;
    min-width:0;
    margin-top:.06em;
    line-height:1.08;
  }
  .page-home-edu .edu-hero .hero-for-line::after{
    content:"for medical school entry.";
    visibility:hidden;
    grid-area:1/1;
    pointer-events:none;
    user-select:none;
    white-space:normal;
    font-size:inherit;
    line-height:inherit;
    letter-spacing:inherit;
  }
  .page-home-edu .edu-hero .hero-for-line-live{
    display:block;
    grid-area:1/1;
    min-width:0;
    max-width:100%;
  }
  .page-home-edu .edu-hero .hero-lead-sub{
    display:inline;
    font-size:inherit;
    line-height:inherit;
    margin-top:0;
  }
  .page-home-edu .edu-hero .hero-lead-sub::before{
    content:none;
  }
  .page-home-edu .edu-hero .type-line{
    display:inline;
    margin-top:0;
    width:auto;
  }
  .page-home-edu .edu-hero .type-line::after{
    content:none;
  }
  .page-home-edu .edu-hero .type-line-live{
    display:inline;
    white-space:normal;
  }
  .page-home-edu .edu-hero .hero-ctas{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:8px;
    margin-top:0;
    margin-bottom:0;
  }
  .page-home-edu .edu-hero .hero-ctas .btn{
    flex:1 1 0;
    width:auto;
    justify-content:center;
  }
}
@media (max-width:720px){
  .page-home-edu .edu-hero{
    min-height:auto;
    align-items:flex-start;
  }
  .page-home-edu .edu-hero .wrap{
    padding-top:46px;
    padding-bottom:10px;
  }
  .page-home-edu .edu-hero-grid{
    grid-template-columns:1fr;
    grid-template-rows:none;
    gap:14px;
  }
  .page-home-edu .edu-hero-copy,
  .page-home-edu .edu-hero .hero-card,
  .page-home-edu .edu-hero .hero-ctas{
    grid-column:1;
    grid-row:auto;
  }
  .page-home-edu .edu-hero .hero-card{align-self:auto;}
  .page-home-edu .edu-hero-copy{min-width:0;}
  .page-home-edu .edu-hero h1{
    font-size:clamp(36px,10vw,46px);
    max-width:100%;
    margin:0 0 10px;
    line-height:1.04;
    letter-spacing:-.04em;
    overflow-wrap:break-word;
  }
  .page-home-edu .edu-hero .lede{
    font-size:14px;
    line-height:1.45;
    margin-bottom:16px;
    max-width:none;
  }
  .page-home-edu .edu-hero .hero-ctas{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:8px;
    margin-top:0;
    margin-bottom:0;
  }
  .page-home-edu .edu-hero .hero-ctas .btn{
    flex:1 1 0;
    width:auto;
    justify-content:center;
    padding:12px 10px;
    font-size:13px;
    gap:6px;
    white-space:nowrap;
  }
  .page-home-edu .edu-hero .hero-ctas .btn-primary{
    font-size:13px;
    font-weight:800;
    box-shadow:0 16px 34px -12px rgba(0,0,0,.68),0 0 0 1px rgba(255,255,255,.22) inset;
  }
  .page-home-edu .btn-full{display:none;}
  .page-home-edu .btn-short{display:inline;}
  .page-home-edu .edu-hero .hero-ctas .btn svg{
    width:14px;
    height:14px;
    flex-shrink:0;
  }
  .page-home-edu .edu-hero .hero-card{
    margin:0 auto;
    width:100%;
    max-width:none;
    padding:14px 14px 12px;
    border-radius:16px;
  }
  .page-home-edu .edu-hero .hc-stats-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    align-items:stretch;
  }
  .page-home-edu .edu-hero .hc-title{
    margin-bottom:10px;
    font-size:10px;
    gap:7px;
    justify-content:center;
    text-align:center;
  }
  .page-home-edu .edu-hero .hc-title svg{width:14px;height:14px;}
  .page-home-edu .edu-hero .hc-stats-row .hc-feature{
    padding:0 8px 0 0;
    margin:0;
    border-bottom:0;
    align-items:center;
    text-align:center;
  }
  .page-home-edu .edu-hero .hc-stats-row .hc-feature + .hc-feature{
    padding:0 0 0 8px;
    border-left:1px solid rgba(255,255,255,.2);
  }
  .page-home-edu .edu-hero .hc-fnum{font-size:28px;}
  .page-home-edu .edu-hero .hc-fsub{font-size:12px;margin-top:2px;}
  .page-home-edu .edu-hero .hc-flbl{
    font-size:12px;
    gap:8px;
    margin-top:6px;
    justify-content:center;
  }
  .page-home-edu .edu-hero .hc-flbl .ic{width:26px;height:26px;border-radius:8px;}
  .page-home-edu .edu-hero .hc-flbl .ic svg{width:13px;height:13px;}

  .page-home-edu .edu-trust{padding:14px 0;}
  .page-home-edu .edu-trust-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px;
  }
  .page-home-edu .edu-trust-item{
    text-align:center;
    padding:10px 8px;
    border:1px solid var(--edu-line);
    border-radius:12px;
    background:rgba(255,255,255,.55);
  }
  .page-home-edu .edu-trust-item .num{font-size:22px;}
  .page-home-edu .edu-trust-item .lbl{
    margin-top:4px;
    font-size:11px;
    line-height:1.3;
  }

  .page-home-edu .edu-plans,
  .page-home-edu .edu-services,
  .page-home-edu .edu-steps,
  .page-home-edu .edu-split,
  .page-home-edu .edu-photo-pair{grid-template-columns:1fr;}
  .page-home-edu .edu-tutoring-section{padding:36px 0;}
  .page-home-edu .edu-tutoring-layout{gap:14px;}
  .page-home-edu .edu-tutoring-section .edu-split-copy{text-align:center;}
  .page-home-edu .edu-tutoring-section .edu-split-copy h2{font-size:clamp(24px,7vw,32px);}
  .page-home-edu .edu-tutoring-section .edu-split-copy p{margin-bottom:12px;font-size:14px;}
  .page-home-edu .edu-tutoring-section .edu-split-copy .cta-row{justify-content:center;}
  .page-home-edu .edu-tutoring-mosaic{
    grid-template-columns:repeat(3,1fr);
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot--wide{
    grid-column:1 / -1;
    grid-row:auto;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot--wide img{
    aspect-ratio:16/10;
    min-height:120px;
    max-height:170px;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot--person:nth-of-type(2),
  .page-home-edu .edu-tutoring-mosaic .edu-shot--person:nth-of-type(3){
    grid-column:auto;
    grid-row:auto;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person):nth-of-type(4),
  .page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person):nth-of-type(5),
  .page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person):nth-of-type(6){
    grid-column:auto;
    grid-row:auto;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot--person img{
    aspect-ratio:16/10;
    min-height:120px;
    max-height:170px;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot:not(.edu-shot--wide):not(.edu-shot--person) img{
    aspect-ratio:16/10;
    min-height:120px;
    max-height:170px;
  }
  .page-home-edu .edu-tutoring-mosaic .edu-shot{border-radius:10px;}
  .page-home-edu .edu-media{max-width:none;margin-left:0;}
  .page-home-edu .edu-online-gallery{
    grid-template-columns:1fr 1fr;
    margin-top:14px;
    gap:8px;
    max-width:none;
  }
  .page-home-edu .edu-online-gallery .edu-shot--wide{grid-column:1 / -1;}
  .page-home-edu .edu-online-gallery .edu-shot--wide img{
    aspect-ratio:16/9;
    max-height:220px;
  }
  .page-home-edu .edu-shot--lady img,
  .page-home-edu .edu-photo-pair .edu-shot:not(.edu-shot--lady) img,
  .page-home-edu .edu-online-gallery .edu-shot img{aspect-ratio:16/10;}
  .page-home-edu .edu-shot{border-radius:14px;}

  .page-home-edu .edu-section{padding:40px 0;}
  .page-home-edu .edu-section.tight{padding:32px 0;}
  .page-home-edu .edu-tutors-section{padding:36px 0 32px;}
  .page-home-edu .edu-tutors-intro{margin-bottom:18px;}
  .page-home-edu .edu-tutors-intro h2{font-size:clamp(24px,7vw,32px);margin:0 0 8px;}
  .page-home-edu .edu-tutors-intro p{font-size:14px;}
  .page-home-edu .section-head{margin-bottom:20px;}
  .page-home-edu .section-head h2{font-size:clamp(24px,7vw,32px);}
  .page-home-edu .edu-steps{gap:12px;}
  .page-home-edu .edu-step{padding:16px;}
  .page-home-edu .edu-marquee .chip{gap:8px;padding:5px 10px 5px 5px;font-size:13px;}
  .page-home-edu .edu-marquee .chip-av{width:40px;height:40px;flex-basis:40px;}
  .page-home-edu .edu-marquee .chip b{font-size:13px;}
  .page-home-edu .edu-marquee .chip .score{font-size:11px;padding:4px 8px;}
  .page-home-edu .cta-box{padding:22px;}
  .page-home-edu .home-steps-cta{gap:8px;}
  .page-home-edu .home-steps-cta .btn{padding:11px 14px;font-size:13px;}
  .page-home-edu #reviews .tst-grid{grid-template-columns:1fr;gap:12px;}
}

@media (prefers-color-scheme:dark) and (max-width:720px){
  .page-home-edu .edu-trust-item{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.14);
  }
}
@media (prefers-color-scheme:dark) and (max-width:720px){
  .page-home-edu .edu-trust-item{background:rgba(255,255,255,.04);}
}
