/* =========================================================
   PPT Tutorials — base tokens
   Logo palette: red / yellow / blue, used only as accents
   on a white canvas.
   ========================================================= */
:root {
  --red:    #E23744;
  --yellow: #F5B301;
  --blue:   #1E5EFF;

  --red-soft:    #FDEDEE;
  --yellow-soft: #FEF5E0;
  --blue-soft:   #ECF1FF;

  --ink:    #12141A;
  --body:   #565E70;
  --muted:  #8A92A4;
  --line:   #E9ECF2;
  --paper:  #FFFFFF;
  --paper-2:#FAFBFD;

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:28px;

  --shadow-sm: 0 1px 2px rgba(18,20,26,.05), 0 4px 12px rgba(18,20,26,.04);
  --shadow-md: 0 2px 4px rgba(18,20,26,.04), 0 14px 32px rgba(18,20,26,.07);
  --shadow-lg: 0 30px 70px rgba(18,20,26,.12);

  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.eyebrow__dot--blue   { background: var(--blue); }
.eyebrow__dot--yellow { background: var(--yellow); }
.eyebrow__dot--red    { background: var(--red); }

.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .34em;
  border-radius: 4px; z-index: -1;
}
.mark--red::after  { background: var(--red);    opacity: .22; }
.mark--blue::after { background: var(--blue);   opacity: .18; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(18,20,26,.05); }

.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.02em; }
.brand__name-accent { color: var(--blue); }
.brand__tag { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 12px; border-radius: 10px;
  font-size: .935rem; font-weight: 600; color: var(--body);
  transition: color .2s var(--ease), background-color .2s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); background: var(--paper-2); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--red);
}
.nav__cta { margin-left: 10px; padding: 11px 20px; font-size: .9rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .28s var(--ease), opacity .18s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__scrim { position: fixed; inset: 0; z-index: 90; background: rgba(18,20,26,.35); backdrop-filter: blur(2px); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 76px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 60%;
  background: radial-gradient(70% 100% at 78% 0%, rgba(30,94,255,.05), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center;
}

.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.05rem); letter-spacing: -.035em; }
.hero__title .mark { z-index: 1; }
.hero__lead { margin-top: 22px; font-size: 1.09rem; max-width: 50ch; }
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats { display: flex; gap: 44px; margin: 46px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.stat dt { font-size: 1.85rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat dd { margin: 7px 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---- hero image + decoration ---- */
.hero__media { position: relative; justify-self: center; width: 100%; max-width: 480px; }

.blob { position: absolute; border-radius: 50%; filter: blur(.5px); z-index: 0; }
.blob--yellow {
  width: 300px; height: 300px; right: -46px; top: -34px;
  background: var(--yellow); opacity: .18;
}
.blob--blue {
  width: 210px; height: 210px; left: -54px; bottom: -34px;
  background: var(--blue); opacity: .12;
}
.blob--sm { width: 190px; height: 190px; }
.dot--red {
  position: absolute; z-index: 3; left: -14px; top: 54px;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--red); opacity: .92;
  box-shadow: 0 14px 30px rgba(226,55,68,.32);
}

.portrait {
  position: relative; z-index: 2; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 11px 16px; box-shadow: var(--shadow-md);
}
.badge span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.badge b { font-size: .95rem; color: var(--ink); font-weight: 800; }
.badge small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.badge__icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: .95rem;
}
.badge__icon--yellow { background: var(--yellow-soft); color: #C08A00; }
.badge__icon--blue   { background: var(--blue-soft);   color: var(--blue); }
.badge--top    { bottom: 118px; right: -30px; }
.badge--bottom { bottom: 28px;  left: -38px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 104px 0; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.section__head { max-width: 640px; margin-bottom: 54px; }
.section__title { font-size: clamp(1.85rem, 3.3vw, 2.6rem); }
.section__sub { margin-top: 16px; font-size: 1.05rem; }

/* ---- offer tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.tile {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tile::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.tile:hover::after { transform: scaleX(1); }

.tile__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.tile__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile__icon--red    { background: var(--red-soft);    color: var(--red); }
.tile__icon--yellow { background: var(--yellow-soft); color: #C08A00; }
.tile__icon--blue   { background: var(--blue-soft);   color: var(--blue); }

/* tint the top rule to match each tile's icon */
.tile:has(.tile__icon--red)    { color: var(--red); }
.tile:has(.tile__icon--yellow) { color: var(--yellow); }
.tile:has(.tile__icon--blue)   { color: var(--blue); }

.tile__title { font-size: 1.2rem; margin-bottom: 9px; }
.tile__text  { font-size: .96rem; color: var(--body); }
.tile__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: .88rem; font-weight: 700; color: var(--ink);
}
.tile__link i { font-style: normal; transition: transform .25s var(--ease); }
.tile:hover .tile__link i { transform: translateX(4px); }

/* ---- programmes (under the tiles) ---- */
.programmes { margin-top: 56px; }
.programmes__head { margin-bottom: 26px; }
.programmes__title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 26px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.prog::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: currentColor; }
.prog--red { color: var(--red); }
.prog--blue { color: var(--blue); }
.prog--yellow { color: var(--yellow); }
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.prog__tag {
  align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--muted); margin-bottom: 16px;
}
.prog__title { font-size: 1.3rem; margin-bottom: 10px; }
.prog__text { font-size: .95rem; color: var(--body); }
.prog__list { display: grid; gap: 8px; margin: 18px 0 22px; }
.prog__list li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--body); }
.prog__list li b { color: var(--ink); }
.prog__list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.prog__links { display: grid; gap: 8px; margin-top: auto; }
.prog__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
  font-size: .88rem; font-weight: 800; color: var(--ink);
}
.prog__link i { font-style: normal; transition: transform .25s var(--ease); }
.prog__link:hover i { transform: translateX(4px); }

/* ---- schools we've taught (under the tiles) ---- */
.schools {
  margin-top: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px;
}
.schools__head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.schools__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.schools__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.schools__title { font-size: 1.18rem; }
.schools__sub { margin-top: 6px; font-size: .95rem; }

.schools__grid { display: grid; gap: 26px; padding-top: 26px; }
.school-group__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.school-group__label--red    { background: var(--red-soft);    color: var(--red); }
.school-group__label--blue   { background: var(--blue-soft);   color: var(--blue); }
.school-group__label--yellow { background: var(--yellow-soft); color: #A87700; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: .875rem; font-weight: 600; color: var(--body);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

/* =========================================================
   RESULTS
   ========================================================= */
.results {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}

.results__tabs {
  display: flex; gap: 6px; padding: 12px;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.results__tabs::-webkit-scrollbar { height: 5px; }
.results__tabs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.rtab {
  flex: 0 0 auto; font: inherit; font-size: .875rem; font-weight: 700; color: var(--body);
  background: transparent; border: 1.5px solid transparent; border-radius: 999px;
  padding: 9px 17px; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.rtab:hover { background: #fff; border-color: var(--line); color: var(--ink); }
.rtab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.rpanel { padding: 34px 32px 36px; }
.rpanel[hidden] { display: none; }

.rpanel__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.rpanel__title { font-size: 1.32rem; }
.rpanel__note { margin-top: 6px; font-size: .95rem; }

.rstats { display: flex; gap: 12px; flex-wrap: wrap; }
.rstat {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 18px; min-width: 116px;
}
.rstat b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.rstat span { font-size: .78rem; font-weight: 600; color: var(--muted); }

.rcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.rcard {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.rcard::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--blue); opacity: 0; transition: opacity .3s var(--ease);
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.rcard:hover::before { opacity: 1; }
.rcard--top { background: linear-gradient(180deg, var(--yellow-soft), #fff 62%); border-color: #F4E3B4; }
.rcard--top::before { background: var(--yellow); }

.rcard__rank {
  position: absolute; top: 14px; right: 16px;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #A87700;
}
.rcard__score { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.035em; line-height: 1; }
.rcard__name  { margin-top: 12px; font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.rcard__meta  { margin-top: 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ---- headline strip above the tabs ---- */
.rsum {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 22px;
}
.rsum:empty { display: none; }
.rsum__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.rsum__item b { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.rsum__item span { font-size: .88rem; font-weight: 600; color: var(--muted); }

/* ---- section pills inside a year ---- */
.rsubtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rsubtab {
  font: inherit; font-size: .82rem; font-weight: 700; color: var(--body);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 14px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.rsubtab:hover { border-color: var(--ink); color: var(--ink); }
.rsubtab[aria-selected="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.rsection[hidden] { display: none; }
.rsection__title { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.rsection__note { font-size: .93rem; margin-bottom: 20px; max-width: 70ch; }
.rsection .rcards + .chart, .rsection .rcards + .rpanel__figure { margin-top: 26px; }

/* ---- charts ---- */
.chart { margin-top: 26px; }
.chart:first-child { margin-top: 0; }
.chart__title { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; letter-spacing: -.01em; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; font-size: .8rem; font-weight: 600; color: var(--body); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend__swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend__swatch--a { background: #9AA3B5; }
.legend__swatch--b { background: var(--blue); }

.bars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bar {
  display: grid; grid-template-columns: minmax(130px, 200px) 1fr 56px;
  align-items: center; gap: 12px; font-size: .88rem;
}
.bar__name { font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { display: block; height: 12px; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--blue); }
.bar__val { font-weight: 800; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.bars--pair .bar { grid-template-columns: minmax(130px, 200px) 1fr 132px; }
.bar__tracks { display: grid; gap: 3px; }
.bar__fill--a { background: #9AA3B5; }
.bar__fill--b { background: var(--blue); }
.bar__val--pair { display: inline-flex; justify-content: flex-end; align-items: center; gap: 6px; }
.bar__val--pair > span:first-child { color: var(--muted); font-weight: 700; }
.bar__val--pair > span:first-child::after { content: "→"; margin-left: 6px; color: var(--muted); font-weight: 600; }
.bar__delta {
  font-style: normal; font-size: .72rem; font-weight: 800; padding: 2px 7px; border-radius: 999px;
  background: #E6F6EC; color: #1B7F3B;
}
.bar__delta--down { background: var(--red-soft); color: var(--red); }

.dist__sum { font-size: .92rem; color: var(--body); margin-bottom: 12px; }
.dist__sum b { color: var(--ink); font-weight: 800; }
.dist__bar { display: flex; gap: 2px; height: 34px; border-radius: 8px; overflow: hidden; }
.dist__seg { display: grid; place-items: center; min-width: 4px; color: #fff; font-size: .8rem; font-weight: 800; }
.dist__seg--1 { background: #0B2E9E; }
.dist__seg--2 { background: var(--blue); }
.dist__seg--3 { background: #4F80FF; }
.dist__seg--4 { background: #7DA0FF; color: var(--ink); }
.dist__seg--5 { background: #A6BEFF; color: var(--ink); }
.dist__seg--6 { background: #C9D8FF; color: var(--ink); }
.dist__seg--7 { background: #E4ECFF; color: var(--ink); }
.dist__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.dist__legend li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--body); font-weight: 600; }
.dist__legend b { color: var(--ink); font-weight: 800; }
.dist__legend small { color: var(--muted); font-size: .78rem; }
.dist__swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.rpanel__figure {
  margin: 22px 0 0; max-width: 720px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-2);
}
.rpanel__figure img { width: 100%; height: auto; }
.rpanel__figure figcaption { padding: 12px 18px; font-size: .84rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); }

.rpanel__empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 40px 24px; text-align: center; color: var(--muted); font-weight: 600;
  background: var(--paper-2);
}

/* =========================================================
   TESTIMONIALS / PARENTS
   ========================================================= */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.section__head--row .section__sub { max-width: 52ch; }

.stars { color: var(--yellow); font-size: .95rem; letter-spacing: .12em; }

.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}
.avatar--red    { background: var(--red-soft);    color: var(--red); }
.avatar--blue   { background: var(--blue-soft);   color: var(--blue); }
.avatar--yellow { background: var(--yellow-soft); color: #A87700; }

.avatar--img { object-fit: cover; background: var(--paper-2); }
.avatar-pair { display: flex; flex-shrink: 0; }
.avatar-pair .avatar { box-shadow: 0 0 0 2px var(--ink); }
.avatar-pair .avatar + .avatar { margin-left: -12px; }

/* masonry via columns — cards vary a lot in length */
.quotes { columns: 3; column-gap: 20px; }
.quotes > .quote-card { break-inside: avoid; margin-bottom: 20px; }
.quotes > .quote-card[hidden] { display: none; }

.quote-card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

/* long write-ups are clamped until "Read more" */
.quote-card.is-clamped .quote-card__text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden;
}
.quote-card.is-expanded .quote-card__text { display: block; -webkit-line-clamp: unset; }
.quote-card__more {
  align-self: flex-start; margin-top: 10px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .84rem; font-weight: 800; color: var(--blue);
}
.quote-card__more:hover { text-decoration: underline; }

.quotes__more { display: flex; justify-content: center; margin-top: 8px; }
.quotes__more .btn svg { transition: transform .25s var(--ease); }
.quotes__more .btn:hover svg { transform: translateY(2px); }
.quotes__more .btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.quote-card__mark {
  position: absolute; top: 6px; right: 22px;
  font-size: 4.4rem; line-height: 1; font-weight: 800; color: var(--line);
  pointer-events: none; user-select: none;
}
.quote-card__text { position: relative; margin-top: 12px; font-size: .97rem; color: var(--body); }
.quote-card__who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 22px;
}
.quote-card__who span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.quote-card__who b { font-size: .94rem; color: var(--ink); font-weight: 800; }
.quote-card__who small { font-size: .78rem; color: var(--muted); font-weight: 600; }

.quote-card--red    { border-top: 3px solid var(--red); }
.quote-card--blue   { border-top: 3px solid var(--blue); }
.quote-card--yellow { border-top: 3px solid var(--yellow); }

/* ---- parents ---- */
.parents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.parent-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.parent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.parent-card__text {
  margin: 14px 0 0; font-size: .97rem; color: var(--body);
  border-left: 3px solid var(--line); padding-left: 16px;
}
.parent-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.parent-card__who span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.parent-card__who b { font-size: .94rem; color: var(--ink); font-weight: 800; }
.parent-card__who small { font-size: .78rem; color: var(--muted); font-weight: 600; }

.parent-card--wide { grid-column: span 2; }

.parent-card--feature {
  grid-row: span 2; grid-column: span 1;
  background: var(--ink); border-color: var(--ink);
  position: relative; overflow: hidden;
}
.parent-card--feature::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px;
  border-radius: 50%; background: var(--blue); opacity: .3; filter: blur(8px); pointer-events: none;
}
.parent-card--feature .parent-card__text {
  color: rgba(255,255,255,.9); font-size: 1.1rem; line-height: 1.6;
  border-left-color: rgba(255,255,255,.24);
}
.parent-card--feature .parent-card__who b { color: #fff; }
.parent-card--feature .parent-card__who small { color: rgba(255,255,255,.6); }
.parent-card--feature .parent-card__who { position: relative; }

/* =========================================================
   NOTES
   ========================================================= */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.note-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.note-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 170px;
  border-radius: 50%; background: currentColor; opacity: .06; pointer-events: none;
}
.note-card:has(.note-card__icon--red)    { color: var(--red); }
.note-card:has(.note-card__icon--blue)   { color: var(--blue); }
.note-card:has(.note-card__icon--yellow) { color: var(--yellow); }
.note-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.note-card__icon {
  position: relative; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.note-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.note-card__icon--red    { background: var(--red-soft);    color: var(--red); }
.note-card__icon--blue   { background: var(--blue-soft);   color: var(--blue); }
.note-card__icon--yellow { background: var(--yellow-soft); color: #C08A00; }

.note-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.note-card__text  { font-size: .96rem; color: var(--body); }
.note-card__list  { display: grid; gap: 9px; margin: 20px 0 24px; }
.note-card__list li { position: relative; padding-left: 26px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.note-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper-2); color: currentColor;
  font-size: .64rem; font-weight: 800; display: grid; place-items: center;
}
.note-card__link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 800; color: var(--ink);
}
.note-card__link i { font-style: normal; transition: transform .25s var(--ease); }
.note-card:hover .note-card__link i { transform: translateX(4px); }

/* notes with link groups */
.notes--links .note-card { padding-bottom: 26px; }
.note-card__group {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 20px 0 8px;
}
.note-card__note { font-size: .82rem; color: var(--muted); margin: -4px 0 8px; }
.note-card__links { display: grid; gap: 2px; }
.note-card__links a {
  display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 9px;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.note-card__links a:hover { background: var(--paper-2); color: var(--blue); }
.note-card__links a::after { content: " ↗"; color: var(--muted); font-size: .8em; }

/* =========================================================
   FAQ — myths vs facts
   ========================================================= */
.faqs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.faq-card__num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: .82rem; font-weight: 800;
}
.faq-card__num--red    { background: var(--red-soft);    color: var(--red); }
.faq-card__num--blue   { background: var(--blue-soft);   color: var(--blue); }
.faq-card__num--yellow { background: var(--yellow-soft); color: #A87700; }
.faq-card__body { display: flex; flex-direction: column; gap: 5px; }
.faq-card__q { font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; }
.faq-card__a { font-size: .86rem; font-weight: 700; color: var(--blue); }
.faq-card__a i { font-style: normal; display: inline-block; transition: transform .25s var(--ease); }
.faq-card:hover .faq-card__a i { transform: translateX(4px); }

/* about — credentials under the photo */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 0; }
.creds div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.creds dt { font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.creds dd { margin: 4px 0 0; font-size: .74rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.about__text { margin-top: 14px; font-size: .98rem; }
.split__copy .section__sub em { color: var(--ink); font-style: italic; }
.split__copy .hero__actions { margin-top: 28px; }

/* dark variant for the featured parent quote */
.quote-card--dark { background: var(--ink); border-color: var(--ink); border-top: 3px solid var(--blue); }
.quote-card--dark .quote-card__text { color: rgba(255,255,255,.9); }
.quote-card--dark .quote-card__mark { color: rgba(255,255,255,.14); }
.quote-card--dark .quote-card__who b { color: #fff; }
.quote-card--dark .quote-card__who small { color: rgba(255,255,255,.6); }
.quote-card--dark .quote-card__more { color: #8FB0FF; }
.quote-card .stars { margin-top: 2px; }
.quote-card .stars + .quote-card__text { margin-top: 10px; }
.chart__foot { margin-top: 10px; font-size: .82rem; color: var(--muted); font-weight: 600; }

/* =========================================================
   BLOG (legacy card styles, kept for future posts)
   ========================================================= */
.blogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.blog-card__thumb {
  display: grid; place-items: center; height: 148px;
  font-size: 3.4rem; font-weight: 800; color: #fff; opacity: .95;
}
.blog-card__thumb span { transform: translateY(-2px); transition: transform .35s var(--ease); }
.blog-card:hover .blog-card__thumb span { transform: translateY(-6px) scale(1.06); }
.blog-card__thumb--red    { background: linear-gradient(135deg, #E23744, #F4737D); }
.blog-card__thumb--blue   { background: linear-gradient(135deg, #1E5EFF, #6D95FF); }
.blog-card__thumb--yellow { background: linear-gradient(135deg, #F5B301, #FFD469); }

.blog-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 12px;
}
.blog-card__cat {
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.blog-card__cat--red    { background: var(--red-soft);    color: var(--red); }
.blog-card__cat--blue   { background: var(--blue-soft);   color: var(--blue); }
.blog-card__cat--yellow { background: var(--yellow-soft); color: #A87700; }

.blog-card__title { font-size: 1.12rem; line-height: 1.3; }
.blog-card__title a { transition: color .2s var(--ease); }
.blog-card:hover .blog-card__title a { color: var(--blue); }
.blog-card__text { margin-top: 10px; font-size: .93rem; }
.blog-card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: .86rem; font-weight: 800; color: var(--ink);
}
.blog-card__link i { font-style: normal; transition: transform .25s var(--ease); }
.blog-card:hover .blog-card__link i { transform: translateX(4px); }

/* ---- split (placeholder section 1) ---- */
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: center; }
.split__media { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.split__media .blob--yellow { right: -30px; top: -26px; }
.split__frame {
  position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; aspect-ratio: 4/5;
}
.split__frame img { width: 100%; height: 100%; object-fit: cover; }

/* about — landscape group photo instead of the portrait frame */
.split__media--wide { max-width: 560px; }
.split__frame--photo { aspect-ratio: 3 / 2; margin: 0; display: flex; flex-direction: column; }
.split__frame--photo img { flex: 1; min-height: 0; }
.split__frame--photo figcaption {
  padding: 10px 16px; font-size: .8rem; font-weight: 600; color: var(--muted);
  border-top: 1px solid var(--line); background: #fff;
}

.ticks { margin: 26px 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 0 0 104px; }
.cta__inner {
  position: relative; overflow: hidden;
  max-width: var(--container);
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg);
  padding: 62px 60px;
}
.cta__head { position: relative; max-width: 52ch; }

/* the two ways to get in touch */
.cta__choices {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 34px;
}
.choice {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 26px 26px 24px;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.choice:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.choice__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
}
.choice__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.choice--wa .choice__icon { background: #25D366; }
.choice--wa .choice__icon svg { stroke: #0B3D1E; }
.choice__body { display: flex; flex-direction: column; }
.choice__step {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 7px;
}
.choice__title { font-size: 1.12rem; font-weight: 800; color: #fff; letter-spacing: -.01em; line-height: 1.25; }
.choice__text { margin-top: 8px; font-size: .93rem; color: rgba(255,255,255,.72); line-height: 1.55; }
.choice__cta { margin-top: 16px; font-size: .9rem; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.choice__cta i { font-style: normal; transition: transform .25s var(--ease); }
.choice:hover .choice__cta i { transform: translateX(4px); }
.cta__grid {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14);
}
.cta__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 22px 22px 20px; display: flex; flex-direction: column;
}
.cta__card-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; margin-bottom: 14px; }
.cta__card-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta__card h4 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.cta__card p { color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.55; }
.cta__card a { margin-top: 12px; align-self: flex-start; font-size: .86rem; font-weight: 800; color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.cta__card a + a { margin-top: 6px; }
.cta__card a i { font-style: normal; transition: transform .25s var(--ease); }
.cta__card a:hover i { transform: translateX(4px); }
.cta__inner::before,
.cta__inner::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta__inner::before { width: 320px; height: 320px; right: -80px; top: -140px;  background: var(--blue);   opacity: .28; filter: blur(10px); }
.cta__inner::after  { width: 190px; height: 190px; right: 170px; bottom: -110px; background: var(--yellow); opacity: .22; filter: blur(10px); }
.cta__title { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); max-width: 20ch; }
.cta__text  { margin-top: 12px; color: rgba(255,255,255,.72); max-width: 44ch; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions .btn--primary { background: #fff; color: var(--ink); }
.cta__actions .btn--primary:hover { background: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-top: 62px; background: var(--paper-2); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.15fr; gap: 44px; padding-bottom: 48px; }
.footer__brand p { margin-top: 16px; font-size: .93rem; max-width: 34ch; }
.footer__brand .brand { margin-bottom: 4px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.footer__col a { font-size: .94rem; font-weight: 600; color: var(--body); transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--blue); }
.footer__hours { font-size: .88rem; color: var(--muted); }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__link { padding: 9px 9px; font-size: .9rem; }
  .brand__tag { display: none; }
  .hero__inner { gap: 48px; }
  .badge--top { right: -10px; }
  .badge--bottom { left: -14px; }
}

/* --- tablet / mobile nav drawer --- */
@media (max-width: 1024px) {
  /* No overflow-x on html/body here: an overflow value on an ancestor makes
     that ancestor the sticky scroll container, which stops the navbar from
     sticking. The drawer below is hidden in place instead of off-canvas, so
     there is no sideways overflow left to clip. */

  /* The navbar must not create a containing block for the fixed drawer.
     backdrop-filter does exactly that, which anchored the menu to the
     navbar's box and parked it at the top of the page. */
  .nav {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed; z-index: 95; top: var(--nav-h); right: 0;
    width: min(340px, 86vw); height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-left: 1px solid var(--line);
    box-shadow: -18px 0 40px rgba(18,20,26,.10);
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    /* hidden in place — never past the right edge — so it adds no scroll */
    opacity: 0; visibility: hidden; transform: translateX(14px);
    transition: opacity .24s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 14px; font-size: 1.02rem; border-radius: 12px; }
  .nav__link.is-active { background: var(--paper-2); }
  .nav__link.is-active::after { left: 14px; right: auto; width: 18px; bottom: 8px; }
  .nav__cta { margin: 16px 0 0; }

  /* hero stacks */
  .hero { padding: 48px 0 76px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { max-width: 620px; }
  .hero__media { max-width: 420px; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split__media { order: -1; max-width: 380px; }

  .tiles { grid-template-columns: repeat(2, 1fr); }

  /* new sections */
  .rcards { grid-template-columns: repeat(2, 1fr); }
  .rpanel { padding: 28px 24px 30px; }
  .notes, .blogs { grid-template-columns: repeat(2, 1fr); }
  .quotes { columns: 2; }
  .prog-grid { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .parents { grid-template-columns: repeat(2, 1fr); }
  .parent-card--feature, .parent-card--wide { grid-row: auto; grid-column: 1 / -1; }
  .parent-card--feature .parent-card__text { font-size: 1.05rem; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .notes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .section { padding: 72px 0; }

  .hero__title { letter-spacing: -.03em; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { gap: 0; justify-content: space-between; margin-top: 38px; }
  .stat dt { font-size: 1.5rem; }
  .stat dd { font-size: .78rem; }

  .badge { padding: 9px 13px; }
  .badge--top { bottom: 96px; right: -6px; }
  .badge--bottom { bottom: 14px; left: -8px; }
  .blob--yellow { width: 220px; height: 220px; right: -30px; }
  .blob--blue { width: 160px; height: 160px; left: -34px; }
  .dot--red { width: 46px; height: 46px; left: -8px; top: 38px; }

  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 26px 24px; }

  /* new sections */
  .schools { padding: 26px 22px; }
  .schools__head { gap: 13px; }
  .schools__grid { gap: 22px; }
  .chip { font-size: .82rem; padding: 6px 12px; }

  .results { border-radius: var(--radius); }
  .results__tabs { padding: 10px; gap: 5px; }
  .rtab { font-size: .82rem; padding: 8px 14px; }
  .rpanel { padding: 24px 20px 26px; }
  .rpanel__head { align-items: flex-start; gap: 16px; }
  .rstats { width: 100%; }
  .rstat { flex: 1 1 46%; min-width: 0; padding: 11px 14px; }
  .rcards { grid-template-columns: 1fr; gap: 14px; }

  .rsum { grid-template-columns: 1fr; gap: 10px; }
  .rsum__item { padding: 14px 18px; }
  .rsum__item b { font-size: 1.4rem; }
  .bar, .bars--pair .bar { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .bar__name { grid-column: 1 / -1; font-size: .84rem; }
  .bar__val { font-size: .84rem; }
  .dist__bar { height: 30px; }
  .dist__legend { gap: 6px 16px; }

  .section__head--center { text-align: left; }
  .section__head--row { align-items: flex-start; }
  .parents, .notes, .blogs, .faqs { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .creds { grid-template-columns: 1fr 1fr; }
  .creds div:last-child { grid-column: 1 / -1; }
  .prog { padding: 26px 22px 22px; border-radius: var(--radius); }
  .faq-card { padding: 16px 18px; gap: 14px; }
  .parent-card--feature .parent-card__text { font-size: 1rem; }
  .note-card { padding: 28px 24px 26px; border-radius: var(--radius); }
  .blog-card__thumb { height: 124px; font-size: 2.8rem; }

  .cta { padding-bottom: 72px; }
  .cta__inner { padding: 44px 24px; border-radius: 24px; }
  .cta__grid { grid-template-columns: 1fr; margin-top: 32px; padding-top: 28px; }
  .cta__choices { grid-template-columns: 1fr; margin-top: 26px; }
  .choice { padding: 22px 20px; gap: 14px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__base { justify-content: flex-start; }
}

@media (max-width: 400px) {
  .brand__name { font-size: 1.02rem; }
  .badge--bottom { display: none; }
}

/* =========================================================
   MOTION / PRINT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
