/* Schools page. Every rule scoped under body.page-schools. */

/* ---------- page colour: the hero wall's own tan, pulled from the hero photo's wall so the page continues the room (Max, 11-09) ---------- */
body.page-schools {
  --page: #f6ebdc;
  --page-2: #f0e2cf;
  background: var(--page);
}
/* the photo melts into the oat instead of stopping on a hard edge */

/* ---------- for students: sits a little closer to the section above ---------- */
body.page-schools #students {
  padding-top: clamp(48px, 5.5vw, 84px);
}

/* ---------- co-founders: a letter on one sheet, signed by both at the foot ---------- */
body.page-schools .founders .letter-top {
  text-align: center;
}
body.page-schools .founders .letter-top h2 {
  margin-top: 14px;
}
body.page-schools .founders .letter-sheet {
  position: relative;
  max-width: 820px;
  margin: 56px auto 0;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 7vw, 96px) clamp(36px, 5vw, 64px);
  border-radius: 24px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.05),
    0 24px 48px -36px rgba(120, 50, 0, 0.28);
}
body.page-schools .founders .letter-body p {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--body);
  margin-top: 22px;
  text-wrap: pretty;
}
body.page-schools .founders .letter-body p:first-child {
  margin-top: 0;
  font-size: clamp(21px, 1.75vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-schools .founders .letter-body p:last-child {
  color: var(--ink);
  font-weight: 500;
}
body.page-schools .founders .sign {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin-top: 48px;
  font-size: 14.5px;
  color: var(--muted);
}
body.page-schools .founders .sign > span {
  display: flex;
  align-items: center;
  gap: 14px;
}
body.page-schools .founders .sign img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
}
body.page-schools .founders .sign b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}

/* ---------- hero: sized to Max's mockup (10-21), measured at 1450 wide ---------- */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side {
    padding-top: calc(var(--head) + 64px);
  }
  body.page-schools .band-hero.side > .wrap {
    max-width: 1600px;
    padding-inline: clamp(40px, 6.75vw, 128px);
  }
  body.page-schools .band-hero.side .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.377fr);
    gap: clamp(32px, 3.1vw, 60px);
  }
  body.page-schools .band-hero.side .label {
    font-size: 13px;
    letter-spacing: 0.24em;
    margin-bottom: 9px;
  }
  body.page-schools .band-hero.side h1 {
    font-size: clamp(52px, 5.25vw, 96px);
    font-weight: 600;
    line-height: 1.01;
    letter-spacing: -0.05em;
  }
  body.page-schools .band-hero.side .lede {
    margin-top: 30px;
    max-width: 500px;
    font-size: clamp(18px, 1.56vw, 28px);
    line-height: 1.46;
    color: var(--body);
  }
  body.page-schools .band-hero.side .actions {
    margin-top: 30px;
    gap: 20px;
  }
  body.page-schools .band-hero.side .btn {
    padding: 12px 26px;
    font-size: clamp(15px, 1.2vw, 20px);
  }
  body.page-schools .band-hero.side .btn svg {
    width: 20px;
    height: 20px;
  }
  body.page-schools .band-hero.side .proof-line {
    margin-top: 18px;
    font-size: clamp(15px, 1.2vw, 20px);
  }
  body.page-schools .band-hero.side .band-photo img {
    aspect-ratio: 1.394;
    max-height: none;
    border-radius: 18px;
  }
}

/* ---------- hero refinement (10-21, Max's comparison): three fixed lines, wider text column,
   photo top level with the label and stretched to the text column, heavier buttons, less brush ---------- */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side {
    background-position: center calc(100% + 13.5vw);
    padding-bottom: 7vw;
  }
  body.page-schools .band-hero.side .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }
  body.page-schools .band-hero.side .label {
    margin-bottom: 20px;
  }
  body.page-schools .band-hero.side h1 {
    font-size: clamp(47px, 4.95vw, 90px);
    font-weight: 500;
    letter-spacing: -0.045em;
  }
  body.page-schools .band-hero.side h1 span {
    display: block;
    white-space: nowrap;
  }
  body.page-schools .band-hero.side .lede {
    margin-top: 40px;
    max-width: 520px;
  }
  body.page-schools .band-hero.side .actions {
    margin-top: 44px;
    gap: 16px;
  }
  body.page-schools .band-hero.side .btn {
    padding: 16px 30px;
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 600;
  }
  body.page-schools .band-hero.side .btn.ghost {
    background: transparent;
    border: 1px solid var(--ink);
  }
  body.page-schools .band-hero.side .proof-line {
    margin-top: 28px;
    font-weight: 500;
    font-size: clamp(16px, 1.3vw, 21px);
  }
  body.page-schools .band-hero.side .band-photo {
    display: flex;
  }
  body.page-schools .band-hero.side .band-photo img {
    aspect-ratio: 1.187;
    height: auto;
    object-fit: cover;
    object-position: center 40%;
  }
}

/* ---------- How Capyo works (10-21, Max's notes): the product
   window owns its frame (thin inset, soft shadow), the running step reads orange ---------- */
body.page-schools #how {
  --how-ivory: var(--page);
}
/* layout from Max's reference (Desktop/Capyo-How-It-Works.html, 10-22): heading with a side note,
   then one box: the real platform journey on the brush-hills wash, the four steps stacked beside it */
body.page-schools #how .how-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
body.page-schools #how .how-title {
  font-size: clamp(38px, 3.7vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
body.page-schools #how .how-title + .lede {
  margin-top: 14px;
  max-width: none;
}
body.page-schools #how .how-note {
  max-width: 280px;
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
body.page-schools #how .how-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  margin-top: 36px;
  border-radius: 20px;
  background: var(--paper);
  overflow: hidden;
}
body.page-schools #how .how-vis {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 28px);
  background: #f6ead8;
  isolation: isolate;
}
body.page-schools #how .how-vis::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/assets/img/schools/how-texture.webp) center bottom/cover;
  opacity: 0.6;
  mix-blend-mode: multiply;
}
body.page-schools #how .pj {
  width: 100%;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
body.page-schools #how .pj .pj-win {
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.06),
    0 26px 50px -30px rgba(120, 50, 0, 0.38);
}
body.page-schools #how .pj .jr-stage {
  height: calc(312px * var(--s2, 1));
}
body.page-schools #how .pj .pj-canvas {
  top: calc(14px * var(--s2, 1));
  transform: scale(var(--s2, 1));
}
body.page-schools #how .how-steps {
  display: flex;
  align-items: center;
  padding: clamp(24px, 2.6vw, 36px) clamp(28px, 3.2vw, 46px);
}
body.page-schools #how .jr-steps {
  grid-template-columns: 1fr;
  gap: 2px;
  width: 100%;
  margin: 0;
}
body.page-schools #how .jr-steps .row-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 18px;
  padding: 10px 0;
}
body.page-schools #how .jr-steps .row-item::before,
body.page-schools #how .jr-steps .row-item::after {
  display: none;
}
body.page-schools #how .jr-steps .row-item .n {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
  box-shadow: inset 0 0 0 1px #d9b995;
}
body.page-schools #how .jr-steps .row-item.is-on .n {
  background: var(--orange);
  color: var(--paper);
  box-shadow: none;
}
body.page-schools #how .jr-steps .row-item h3 {
  align-self: center;
  font-size: 18px;
  margin: 0;
}
body.page-schools #how .jr-steps .row-item p {
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.5;
}
body.page-schools #how .jr-steps .row-item h3 {
  color: color-mix(in srgb, var(--ink) 62%, var(--paper));
  transition: color 0.35s ease;
}
body.page-schools #how .jr-steps .row-item.is-on h3 {
  color: var(--orange);
}
body.page-schools #how .jr-steps .row-item:not(.is-on):hover h3 {
  color: var(--ink);
}
@media (max-width: 1024px) {
  body.page-schools #how .how-top {
    display: block;
  }
  body.page-schools #how .how-note {
    margin-top: 14px;
  }
  body.page-schools #how .how-box {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
}
/* step 4 dialog: the chosen character sits inside its field, and the form spreads to meet the footer */
body.page-schools #how .pj .pj-chosen .av {
  clip-path: circle(50%);
}
body.page-schools #how .pj .pj-chosen .av img {
  height: 34px;
}
body.page-schools #how .pj .pj-ccf {
  margin-top: 22px;
}
body.page-schools #how .pj .pj-ccc {
  margin-top: 20px;
}

/* ---------- learning game: the question card is ours (it changes language), laid over the one in the recording ---------- */
body.page-schools #students .gx .g-q {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(86%, 300px);
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 24px 50px -24px rgba(20, 10, 0, 0.55);
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.96);
  transition:
    opacity 0.25s ease,
    transform 0.45s var(--ease);
  pointer-events: none;
}
body.page-schools #students .gx.q-on .g-q {
  opacity: 1;
  transform: translate(-50%, -50%);
}
body.page-schools #students .g-qh {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}
body.page-schools #students .g-qh b {
  margin-inline-start: auto;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.page-schools #students .g-q p {
  margin: 4px 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
body.page-schools #students .g-os {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
body.page-schools #students .g-os span {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 21, 0.1);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
body.page-schools #students .gx.q-ok .g-os .ok {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}
body.page-schools #students .gx.q-ok .g-qh b {
  opacity: 1;
}
/* tall enough to cover the recording's own card (70% of the frame height) */
body.page-schools #students .gx .g-q {
  display: flex;
  flex-direction: column;
  height: 78%;
  box-sizing: border-box;
}
body.page-schools #students .g-os {
  flex: 1;
  grid-auto-rows: 1fr;
}
body.page-schools #students .g-os span {
  height: auto;
}
body.page-schools #students .g-qh {
  flex-wrap: wrap;
  row-gap: 2px;
}
/* the chosen character's bump scales in place (the shared keyframe overwrote the centring translate, so the picture slid sideways) */
body.page-schools #how .pj .pj-chosen.is-in .av img {
  animation: sch-bump 0.5s var(--ease);
}
@keyframes sch-bump {
  40% {
    scale: 1.2;
  }
}
body.page-schools #how .pj .pj-chosen .av img {
  height: 31px;
  bottom: -1px;
  transform-origin: 50% 55%;
}
@keyframes sch-bump {
  40% {
    scale: 1.12;
  }
}

/* ---------- hero background: the new painted wash fills the whole hero section (Max, 10-22) ---------- */
body.page-schools .band-hero.side {
  background: #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
}
body.page-schools .band-hero.side .band-photo {
  position: relative;
}
body.page-schools .band-hero.side .hero-place {
  position: absolute;
  left: clamp(12px, 1.4vw, 22px);
  bottom: clamp(12px, 1.4vw, 22px);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  pointer-events: none;
}

/* ---------- co-founders (Max, 10-22): heading stays on the section, only the message is the letter, on the right ---------- */
@media (min-width: 1025px) {
  body.page-schools .founders > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 6vw, 110px);
    align-items: start;
    max-width: 1280px;
  }
  body.page-schools .founders .letter-top {
    text-align: left;
    position: sticky;
    top: calc(var(--head) + 40px);
  }
  body.page-schools .founders .letter-top h2 {
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1.04;
  }
  body.page-schools .founders .letter-sheet {
    margin: 0;
    max-width: none;
    padding: clamp(40px, 4.2vw, 64px) clamp(36px, 4.6vw, 72px) clamp(36px, 3.6vw, 52px);
  }
}
body.page-schools .founders .letter-photo {
  position: relative;
  margin: 36px 0 0;
  max-width: 520px;
}
body.page-schools .founders .letter-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 18px;
}
body.page-schools .founders .letter-photo .hero-place {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 1024px) {
  body.page-schools .founders .letter-photo {
    margin-inline: auto;
  }
}

/* ---------- hero: "See our most recent deployment" opens the Sierra Leone film in a dialog (Max, 10-22) ---------- */
body.page-schools .sl-play svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  width: 17px;
  height: 17px;
}
body.page-schools .sl-play:hover svg {
  transform: scale(1.1);
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side .actions {
    gap: 12px;
  }
  body.page-schools .band-hero.side .btn.sl-play {
    padding-inline: 20px;
    gap: 8px;
  }
}
body.page-schools .sl-film {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
  color: #f5f2ec;
}
body.page-schools .sl-film::backdrop {
  background: rgba(14, 12, 10, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.page-schools .sl-film[open] {
  animation: sl-in 0.35s var(--ease) both;
}
body.page-schools .sl-film[open]::backdrop {
  animation: sl-fade 0.35s ease both;
}
body.page-schools .sl-frame {
  position: relative;
  width: min(calc(100vw - 32px), calc(min(84vh, 860px) * 9 / 16));
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
body.page-schools .sl-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-schools .sl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s;
}
body.page-schools .sl-close:hover {
  background: rgba(20, 18, 16, 0.8);
}
body.page-schools .sl-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
body.page-schools .sl-cap {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245, 242, 236, 0.86);
}
@keyframes sl-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}
@keyframes sl-fade {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools .sl-film[open],
  body.page-schools .sl-film[open]::backdrop {
    animation: none;
  }
}

/* ====================================================================
   Framer card-system pass (Max, 10-22): one 1200 grid, section panels,
   one dark band, split FAQ, art CTA panel. Tone steps, no borders.
   ==================================================================== */
body.page-schools .section {
  padding-block: clamp(64px, 7vw, 104px);
}
body.page-schools .section > .wrap,
body.page-schools .closing > .wrap {
  width: min(1190px, 100% - 2 * var(--gutter));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
body.page-schools .sch-panel > .wrap,
body.page-schools section[aria-labelledby='faq-h'] > .wrap {
  background: var(--page-2);
  border-radius: 24px;
  padding: clamp(24px, 3.4vw, 48px);
}

/* how we deliver: header + steps inside the panel, cards one tone up, 16px gap, parallel curves */
body.page-schools #deliver .dline .n {
  box-shadow: 0 0 0 5px var(--page-2);
}
body.page-schools #deliver .dl-top {
  gap: 32px;
}
body.page-schools #deliver .modes {
  gap: 16px;
  margin-top: 40px;
}
body.page-schools #deliver .mode {
  padding: 10px 10px 28px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: none;
}
body.page-schools #deliver .mode figure {
  border-radius: 10px;
}
body.page-schools #deliver a.mode:hover,
body.page-schools #deliver a.mode:focus-visible {
  background: #fff;
  box-shadow: 0 18px 32px -24px rgba(120, 50, 0, 0.4);
}

/* feedback: the one dark band. Bento of quote cards, the real classroom photo as the big card */
body.page-schools .fieldboard {
  background: #1d130b;
  color: #f6ead8;
  padding-block: clamp(80px, 8vw, 120px);
}
body.page-schools .fieldboard .pin,
body.page-schools .fieldboard svg[aria-hidden] {
  display: none;
}
body.page-schools .fieldboard .fb-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 24px 64px;
  align-items: end;
  text-align: left;
  max-width: none;
  margin: 0;
}
body.page-schools .fieldboard .fb-head .label {
  grid-column: 1/-1;
  color: var(--orange-soft);
}
body.page-schools .fieldboard .fb-head h2 {
  color: #fbf1e2;
}
body.page-schools .fieldboard .fb-head h2 em {
  color: var(--orange-soft);
}
body.page-schools .fieldboard .fb-head p {
  margin: 0;
  align-self: last baseline;
  max-width: none;
  color: rgba(246, 234, 216, 0.68);
}
body.page-schools .fieldboard .fb-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  height: auto;
  margin-top: 48px;
}
body.page-schools .fieldboard .fb-photo {
  position: static;
  translate: none;
  rotate: none;
  width: auto;
  max-width: none;
  grid-column: 1/3;
  grid-row: 1/3;
  padding: 8px;
  border-radius: 20px;
  background: #2a1c11;
  box-shadow: none;
}
body.page-schools .fieldboard .fb-photo img {
  height: 100%;
  min-height: 340px;
  aspect-ratio: auto;
  border-radius: 12px;
  background: #2a1c11;
}
body.page-schools .fieldboard .note {
  position: static;
  rotate: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 28px 28px 24px;
  border-radius: 20px;
  background: #2a1c11;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
body.page-schools .fieldboard .note:hover {
  rotate: none;
}
body.page-schools .fieldboard .note blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: #f6ead8;
}
body.page-schools .fieldboard .note figcaption b {
  font-size: 14px;
  color: #fbf1e2;
}
body.page-schools .fieldboard .note figcaption span {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(246, 234, 216, 0.55);
}
body.page-schools .fieldboard .note.sticky {
  padding: 28px 28px 24px;
}
body.page-schools .fieldboard .note.sticky blockquote {
  flex: none;
  display: block;
}
body.page-schools .fieldboard .note.sticky figcaption {
  padding-top: 0;
}
body.page-schools .fieldboard .note.p5 {
  grid-column: 3/5;
  grid-row: 1;
  background: var(--orange);
  padding: 36px;
}
body.page-schools .fieldboard .note.p5 blockquote {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.28;
  color: #fff;
}
body.page-schools .fieldboard .note.p5 figcaption b {
  color: #fff;
}
body.page-schools .fieldboard .note.p5 figcaption span {
  color: rgba(255, 255, 255, 0.78);
}
body.page-schools .fieldboard .note.p1 {
  grid-column: 3;
  grid-row: 2;
}
body.page-schools .fieldboard .note.p2 {
  grid-column: 4;
  grid-row: 2;
}
body.page-schools .fieldboard .note.p3 {
  grid-column: 1/3;
  grid-row: 3;
}
body.page-schools .fieldboard .note.p4 {
  grid-column: 3/5;
  grid-row: 3;
}
body.page-schools .fieldboard .note.p3 blockquote,
body.page-schools .fieldboard .note.p4 blockquote {
  font-size: 24px;
}
@media (max-width: 1024px) {
  body.page-schools .fieldboard .fb-head {
    display: block;
  }
  body.page-schools .fieldboard .fb-head p {
    margin-top: 16px;
  }
  body.page-schools .fieldboard .fb-stage {
    grid-template-columns: 1fr;
  }
  body.page-schools .fieldboard .fb-photo,
  body.page-schools .fieldboard .note,
  body.page-schools .fieldboard .note.p1,
  body.page-schools .fieldboard .note.p2,
  body.page-schools .fieldboard .note.p3,
  body.page-schools .fieldboard .note.p4,
  body.page-schools .fieldboard .note.p5 {
    grid-column: auto;
    grid-row: auto;
    width: auto;
  }
  body.page-schools .fieldboard .fb-photo img {
    min-height: 0;
    aspect-ratio: 4/3;
  }
}

/* where we work: panel, rows run to the panel edges, flags are tone cards (pills are for buttons) */
body.page-schools .sch-flags > .wrap {
  overflow: hidden;
}
body.page-schools .sch-flags h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
body.page-schools .sch-flags .flag-reel {
  margin: 36px calc(-1 * clamp(24px, 3.4vw, 48px)) 0;
}
body.page-schools .sch-flags .flag {
  padding: 10px 22px 10px 10px;
  border-radius: 14px;
  background: var(--paper);
}
body.page-schools .sch-flags .flag span {
  font-size: clamp(17px, 1.4vw, 21px);
}

/* questions: headline left, accordion right, all inside one panel */
@media (min-width: 1025px) {
  body.page-schools section[aria-labelledby='faq-h'] > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: 48px;
    align-items: start;
  }
  body.page-schools section[aria-labelledby='faq-h'] .head-row {
    display: block;
    position: sticky;
    top: calc(var(--head) + 32px);
  }
  body.page-schools section[aria-labelledby='faq-h'] .head-row .link {
    display: inline-flex;
    margin-top: 24px;
  }
  body.page-schools section[aria-labelledby='faq-h'] .faq {
    margin-top: 0;
  }
}
body.page-schools section[aria-labelledby='faq-h'] .faq details {
  background: var(--paper);
}

/* closing: a rounded art panel, not a bare background */
body.page-schools .closing {
  background: var(--page);
  padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px);
}
body.page-schools .closing::before {
  display: none;
}
body.page-schools .closing > .wrap {
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px);
  border-radius: 24px;
  background: #f6d9b6 url('/assets/img/close-orange-wash.webp') right top/cover no-repeat;
  background-blend-mode: multiply;
  overflow: hidden;
}
body.page-schools .closing h2 {
  max-width: 720px;
}
body.page-schools .closing .lede {
  max-width: 560px;
}

/* revision (Max: deliver panel muddy, dark band not nice): light panels only, deliver bare, quotes on cream */
body.page-schools .sch-panel > .wrap,
body.page-schools section[aria-labelledby='faq-h'] > .wrap {
  background: var(--paper);
}
body.page-schools #deliver .dline .n {
  box-shadow: 0 0 0 5px var(--page);
}
body.page-schools #deliver .mode {
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-schools .sch-flags .flag,
body.page-schools section[aria-labelledby='faq-h'] .faq details {
  background: var(--page);
}
body.page-schools .sch-flags .flag {
  background: var(--page);
}
body.page-schools .fieldboard {
  background: none;
  color: inherit;
  padding-block: clamp(64px, 7vw, 104px);
}
body.page-schools .fieldboard .fb-head .label {
  color: var(--orange);
}
body.page-schools .fieldboard .fb-head h2 {
  color: var(--ink);
}
body.page-schools .fieldboard .fb-head h2 em {
  color: var(--orange);
}
body.page-schools .fieldboard .fb-head p {
  color: var(--muted);
}
body.page-schools .fieldboard .fb-photo {
  background: var(--paper);
}
body.page-schools .fieldboard .note {
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-schools .fieldboard .note blockquote {
  color: var(--ink);
}
body.page-schools .fieldboard .note figcaption b {
  color: var(--ink);
}
body.page-schools .fieldboard .note figcaption span {
  color: var(--muted);
}
body.page-schools .fieldboard .note.p5 {
  background: var(--orange);
  box-shadow: none;
}
body.page-schools .fieldboard .note.p5 blockquote,
body.page-schools .fieldboard .note.p5 figcaption b {
  color: #fff;
}
body.page-schools .fieldboard .note.p5 figcaption span {
  color: rgba(255, 255, 255, 0.8);
}

/* revision 3 (Max): deliver fits one screen, quotes get the hero's painted wash (varied crops, one plain),
   FAQ bare, letter lifted, closing uses the hero shading instead of the hard streak */
body.page-schools .section {
  padding-block: clamp(72px, 8vw, 120px);
}

/* how we deliver: header, steps and three cards inside one 758px screen */
body.page-schools #deliver {
  padding-block: clamp(40px, 4.5vw, 64px) clamp(56px, 6vw, 88px);
}
body.page-schools #deliver > .wrap {
  width: min(1070px, 100% - 2 * var(--gutter));
}
body.page-schools #deliver .dl-top {
  gap: 32px;
  align-items: end;
}
body.page-schools #deliver .dl-head h2 {
  font-size: clamp(34px, 3.3vw, 44px);
}
body.page-schools #deliver .dl-head .lede {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
  max-width: 500px;
}
body.page-schools #deliver .dline {
  gap: 14px;
  width: min(100%, 300px);
}
body.page-schools #deliver .dline h3 {
  font-size: 17px;
}
body.page-schools #deliver .modes {
  margin-top: 28px;
  gap: 16px;
}
body.page-schools #deliver .mode {
  padding: 8px 8px 20px;
  border-radius: 18px;
}
body.page-schools #deliver .mode figure {
  aspect-ratio: 16/9;
  border-radius: 10px;
}
body.page-schools #deliver .mode .label {
  margin: 16px 14px 4px;
  font-size: 11px;
}
body.page-schools #deliver .mode h3 {
  margin: 0 14px;
  font-size: 21px;
}
body.page-schools #deliver .mode p {
  margin: 6px 14px 0;
  font-size: 14.5px;
  line-height: 1.5;
}
body.page-schools #deliver .foot {
  margin: auto 14px 0;
  padding-top: 16px;
}
body.page-schools #deliver .kit li {
  font-size: 12.5px;
}
body.page-schools #deliver .dl-note {
  margin-top: 20px;
  font-size: 14.5px;
}

/* feedback: smaller again, quote cards carry the painted wash at different crops */
body.page-schools .fieldboard {
  padding-block: clamp(64px, 7vw, 96px);
}
body.page-schools .fieldboard > .wrap {
  width: min(1070px, 100% - 2 * var(--gutter));
}
body.page-schools .fieldboard .fb-stage {
  margin-top: 36px;
}
body.page-schools .fieldboard .note {
  padding: 22px 24px 20px;
  gap: 18px;
  background-color: #fff8ee;
  background-image: url('/assets/img/schools/hero-background.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}
body.page-schools .fieldboard .note blockquote {
  font-size: 18px;
  line-height: 1.4;
}
body.page-schools .fieldboard .note.p5 {
  background-image: none;
  background-color: var(--orange);
  padding: 28px;
}
body.page-schools .fieldboard .note.p5 blockquote {
  font-size: clamp(21px, 1.9vw, 26px);
}
body.page-schools .fieldboard .note.p1 {
  background-size: 320% auto;
  background-position: 8% 100%;
}
body.page-schools .fieldboard .note.p2 {
  background-image: none;
  background-color: var(--paper);
}
body.page-schools .fieldboard .note.p3 {
  background-size: 240% auto;
  background-position: 100% 100%;
}
body.page-schools .fieldboard .note.p4 {
  background-size: 200% auto;
  background-position: 30% 100%;
}
body.page-schools .fieldboard .note.p3 blockquote,
body.page-schools .fieldboard .note.p4 blockquote {
  font-size: 20px;
}
body.page-schools .fieldboard .fb-photo img {
  min-height: 300px;
}

/* where we work: the wash sits at the foot of the card behind the flags */
body.page-schools .sch-flags > .wrap {
  background: var(--paper) url('/assets/img/schools/hero-background.webp') center bottom/cover
    no-repeat;
}
body.page-schools .sch-flags .flag {
  background: rgba(255, 250, 242, 0.92);
}

/* questions: no panel, just cards on the page */
body.page-schools section[aria-labelledby='faq-h'] > .wrap {
  background: none;
  padding: 0;
  border-radius: 0;
}
body.page-schools section[aria-labelledby='faq-h'] .faq details {
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 14px 32px -26px rgba(120, 50, 0, 0.3);
}

/* co-founders letter: wash at the foot of the sheet, framed photo, bigger signatures */
body.page-schools .founders .letter-sheet {
  background: var(--paper) url('/assets/img/schools/hero-background.webp') center bottom/cover
    no-repeat;
  border-radius: 28px;
}
body.page-schools .founders .letter-body p:first-child {
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.42;
  letter-spacing: -0.02em;
}
body.page-schools .founders .sign {
  margin-top: 56px;
  gap: 20px 56px;
}
body.page-schools .founders .sign img {
  width: 60px;
  height: 60px;
}
body.page-schools .founders .letter-photo {
  padding: 8px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-schools .founders .letter-photo img {
  border-radius: 14px;
}
body.page-schools .founders .letter-photo .hero-place {
  left: 24px;
  bottom: 24px;
}

/* closing: the hero's soft shading, not the hard streak */
body.page-schools .closing > .wrap {
  background: #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
  background-blend-mode: normal;
  padding-block: clamp(56px, 6vw, 88px) clamp(96px, 10vw, 150px);
}
body.page-schools #deliver {
  padding-bottom: clamp(24px, 3vw, 40px);
}
body.page-schools .closing > .wrap {
  padding-bottom: clamp(80px, 8vw, 116px);
}

/* revision 4 (Max): deliver between the two sizes, feedback higher with photo cards, students a notch smaller, closing centred */
body.page-schools #students > .wrap {
  width: min(1100px, 100% - 2 * var(--gutter));
}
body.page-schools #students {
  padding-block: clamp(40px, 4.5vw, 64px) clamp(48px, 5vw, 72px);
}
body.page-schools #students h2 {
  font-size: clamp(38px, 3.6vw, 52px);
}

body.page-schools #deliver > .wrap {
  width: min(1100px, 100% - 2 * var(--gutter));
}
body.page-schools #deliver .dl-head h2 {
  font-size: clamp(38px, 3.8vw, 52px);
}
body.page-schools #deliver .dl-head .lede {
  font-size: 17.5px;
  line-height: 1.55;
}
body.page-schools #deliver .dline {
  width: min(100%, 340px);
  gap: 18px;
}
body.page-schools #deliver .dline h3 {
  font-size: 19px;
}
body.page-schools #deliver .modes {
  margin-top: 32px;
}
body.page-schools #deliver .mode figure {
  aspect-ratio: 16/10;
}
body.page-schools #deliver .mode .label {
  font-size: 12px;
  margin: 18px 16px 6px;
}
body.page-schools #deliver .mode h3 {
  margin: 0 16px;
  font-size: 25px;
}
body.page-schools #deliver .mode p {
  margin: 8px 16px 0;
  font-size: 16px;
  line-height: 1.5;
}
body.page-schools #deliver .foot {
  margin: auto 16px 0;
  padding-top: 18px;
}
body.page-schools #deliver .kit li {
  font-size: 13px;
}
body.page-schools #deliver .dl-note {
  font-size: 15.5px;
  margin-top: 24px;
}

/* feedback: sits higher, header tight, three real-photo cards */
body.page-schools .fieldboard {
  padding-block: clamp(24px, 3vw, 40px) clamp(56px, 6vw, 88px);
}
body.page-schools .fieldboard > .wrap {
  width: min(1100px, 100% - 2 * var(--gutter));
}
body.page-schools .fieldboard .fb-head {
  align-items: start;
  gap: 14px 64px;
}
body.page-schools .fieldboard .fb-head p {
  margin-top: 6px;
}
body.page-schools .fieldboard .fb-stage {
  margin-top: 32px;
}
body.page-schools .fieldboard .note.p1,
body.page-schools .fieldboard .note.p2 {
  background-image: none;
  background-color: var(--paper);
}
body.page-schools .fieldboard .note.p3,
body.page-schools .fieldboard .note.p4 {
  min-height: 240px;
  justify-content: flex-end;
  color: #fff;
  background-size: cover;
}
body.page-schools .fieldboard .note.p3 {
  background-image: linear-gradient(180deg, rgba(24, 12, 0, 0) 30%, rgba(24, 12, 0, 0.78)),
    url('/assets/img/sl-classroom-full.webp');
  background-position: center 45%;
}
body.page-schools .fieldboard .note.p4 {
  background-image: linear-gradient(180deg, rgba(24, 12, 0, 0) 30%, rgba(24, 12, 0, 0.78)),
    url('/assets/img/students-haiti.webp');
  background-position: center 25%;
}
body.page-schools .fieldboard .note.p3 blockquote,
body.page-schools .fieldboard .note.p4 blockquote,
body.page-schools .fieldboard .note.p3 figcaption b,
body.page-schools .fieldboard .note.p4 figcaption b {
  color: #fff;
}
body.page-schools .fieldboard .note.p3 figcaption span,
body.page-schools .fieldboard .note.p4 figcaption span {
  color: rgba(255, 255, 255, 0.82);
}

/* closing: centred */
body.page-schools .closing > .wrap {
  text-align: center;
}
body.page-schools .closing h2,
body.page-schools .closing .lede {
  margin-inline: auto;
}
body.page-schools .closing .actions {
  justify-content: center;
}
body.page-schools .sch-flags > .wrap {
  background: var(--paper) url('/assets/img/schools/where-hills.webp') center bottom/cover no-repeat;
}

/* for students: one rounded box like How Capyo works, hero wash behind the cards */
body.page-schools #students > .wrap {
  width: min(1190px, 100% - 2 * var(--gutter));
  background: #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 48px);
}
body.page-schools #students {
  padding-block: clamp(48px, 5vw, 72px);
}

body.page-schools #students > .wrap {
  position: relative;
}
/* heading placed by Max (10-22) */
@media (min-width: 1025px) {
  body.page-schools #students .stu-head > div:first-child {
    translate: 57px 22px;
  }
}

/* for students (Max, 10-22): title sits outside, the box wraps only the feature cards, like How Capyo works */
body.page-schools #students > .wrap {
  background: none;
  padding: 0;
  border-radius: 0;
}
body.page-schools #students .fcards {
  background: #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
  border-radius: 24px;
  padding: clamp(16px, 2vw, 28px);
  gap: 16px;
  margin-top: 36px;
}
body.page-schools #students .stu-more {
  margin-top: 20px;
}

/* for students (Max, 10-22, third try): only the title block sits in the rounded box, the cards float below it */
body.page-schools #students .fcards {
  background: none;
  border-radius: 0;
  padding: 0;
  gap: 20px;
  margin-top: 20px;
}
body.page-schools #students .stu-head {
  background: #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 48px);
}
@media (min-width: 1025px) {
  body.page-schools #students .stu-head > div:first-child {
    translate: none;
  }
}
@media (min-width: 1025px) {
  body.page-schools #students .stu-head {
    column-gap: 32px;
  }
  body.page-schools #students .stu-head > div:last-child {
    margin-right: -12px;
  }
  body.page-schools #students .langs {
    flex-wrap: nowrap;
  }
  body.page-schools #students .lang {
    padding: 6px 10px;
  }
  body.page-schools #students .langs-more {
    margin-left: 0;
  }
}
body.page-schools #students .stu-head {
  background:
    linear-gradient(rgba(255, 244, 230, 0.6), rgba(255, 244, 230, 0.6)),
    #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
}

/* what we bring: connector from the platform card down to the features */
body.page-schools #deliver .modes {
  position: relative;
}
body.page-schools #deliver .plat-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 0 calc(100% / 6 - 30px);
  height: 120px;
  margin-top: -4px;
}
body.page-schools #deliver .pl-line {
  flex: none;
  width: 60px;
  height: 120px;
  overflow: visible;
}
body.page-schools #deliver .pl-line path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
body.page-schools #deliver .pl-path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
body.page-schools #deliver .pl-head {
  opacity: 0;
  transition: opacity 0.3s ease 1.1s;
}
body.page-schools #deliver .plat-link.is-in .pl-path {
  stroke-dashoffset: 0;
}
body.page-schools #deliver .plat-link.is-in .pl-head {
  opacity: 1;
}
body.page-schools #deliver .pl-cap {
  align-self: center;
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
}
body.page-schools #deliver .pl-cap b {
  color: var(--ink);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools #deliver .pl-path {
    stroke-dashoffset: 0;
    transition: none;
  }
  body.page-schools #deliver .pl-head {
    opacity: 1;
    transition: none;
  }
}
@media (max-width: 1024px) {
  body.page-schools #deliver .plat-link {
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 8px;
  }
  body.page-schools #deliver .pl-line {
    height: 70px;
  }
  body.page-schools #deliver .pl-cap {
    text-align: center;
  }
}
body.page-schools #deliver .dl-note {
  margin: 0 auto 40px;
}
body.page-schools #deliver .plat-link {
  height: 96px;
  margin-bottom: 0;
}
body.page-schools #deliver .pl-line {
  height: 96px;
}
body.page-schools #deliver {
  padding-bottom: 0;
}
body.page-schools #how {
  padding-top: 44px;
}
body.page-schools #deliver .dl-note {
  margin: 72px auto 48px;
}
@media (max-width: 1024px) {
  body.page-schools #deliver .dl-note {
    margin: 44px auto 36px;
  }
}

/* every-deployment statements sit together under the cards, centered */
body.page-schools #deliver .dl-note {
  margin: 44px auto 0;
  max-width: 760px;
}
body.page-schools #deliver .plat-link {
  margin: 28px 0 0;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
body.page-schools #deliver .pl-line {
  height: 84px;
}
body.page-schools #deliver .pl-cap {
  text-align: center;
  max-width: 520px;
}
@media (max-width: 1024px) {
  body.page-schools #deliver .dl-note {
    margin: 36px auto 0;
  }
  body.page-schools #deliver .plat-link {
    margin: 24px 0 0;
  }
}

/* header centered, steps as one horizontal line */
body.page-schools #deliver .dl-top {
  grid-template-columns: 1fr;
  gap: 40px;
  justify-items: center;
  text-align: center;
}
body.page-schools #deliver .dl-head .lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}
body.page-schools #deliver .dline {
  justify-self: center;
  width: auto;
  max-width: 100%;
  display: flex;
  gap: 0;
  align-items: center;
}
body.page-schools #deliver .dline::before {
  display: none;
}
body.page-schools #deliver .dline li {
  gap: 12px;
  padding: 0 28px;
  position: relative;
}
body.page-schools #deliver .dline li + li::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 28px;
  height: 2px;
  margin-top: -1px;
  background: rgba(196, 78, 0, 0.32);
}
body.page-schools #deliver .dline h3 {
  white-space: nowrap;
}
@media (max-width: 1024px) {
  body.page-schools #deliver .dline {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
  }
  body.page-schools #deliver .dline li {
    padding: 0 16px;
  }
  body.page-schools #deliver .dline li + li::before {
    display: none;
  }
}
body.page-schools #deliver .modes {
  margin-top: 56px;
}

/* framer: the whole section is one rounded panel, cards sit inside as frame + well */
body.page-schools #deliver .dl-panel {
  background: var(--page-2);
  border-radius: 28px;
  padding: 64px 40px 44px;
}
body.page-schools #deliver .dl-top {
  gap: 32px;
}
body.page-schools #deliver .modes {
  margin-top: 44px;
  gap: 16px;
}
body.page-schools #deliver .mode {
  background: #fffaf2;
  border-radius: 20px;
  padding: 10px 10px 26px;
  box-shadow: none;
}
body.page-schools #deliver .mode figure {
  border-radius: 12px;
}
body.page-schools #deliver .dl-note {
  margin: 40px auto 0;
}
body.page-schools #deliver .dline .n {
  box-shadow: 0 0 0 5px var(--page-2);
}
body.page-schools #deliver .dline li + li::before {
  background: rgba(196, 78, 0, 0.4);
}
@media (max-width: 1024px) {
  body.page-schools #deliver .dl-panel {
    padding: 44px 16px 32px;
    border-radius: 22px;
  }
}

/* panel dropped (muddy on cream); steps become one white pill strip, more air */
body.page-schools #deliver .dl-panel {
  background: none;
  border-radius: 0;
  padding: 0;
}
body.page-schools #deliver .dl-top {
  gap: 36px;
}
body.page-schools #deliver .dline {
  background: var(--paper);
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 14px 30px -22px rgba(120, 50, 0, 0.3);
}
body.page-schools #deliver .dline .n {
  box-shadow: none;
}
body.page-schools #deliver .modes {
  margin-top: 48px;
}
@media (max-width: 1024px) {
  body.page-schools #deliver .dline {
    border-radius: 24px;
    padding: 16px 12px;
  }
}

/* adversarial pass: steps are what EVERY deployment does, so they live under the cards with the people line */
body.page-schools #deliver .modes {
  margin-top: 44px;
}
body.page-schools #deliver .dl-note {
  margin: 48px auto 0;
}
body.page-schools #deliver .dline {
  margin: 24px auto 0;
  background: none;
  box-shadow: none;
  padding: 0;
}
body.page-schools #deliver .dline li {
  padding: 0 22px;
}
body.page-schools #deliver .dline .n {
  box-shadow: none;
}
/* the question is the decision: lead with it, not tiny tracked caps */
body.page-schools #deliver .mode .label {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--orange);
  margin: 24px 16px 6px;
}
body.page-schools #deliver .plat-link {
  margin-top: 20px;
}
body.page-schools #deliver .pl-line {
  height: 64px;
}

/* steps back on top, between the intro and the cards, plain line */
body.page-schools #deliver .dline {
  margin: 0 auto;
}
body.page-schools #deliver .dl-top {
  gap: 36px;
}
body.page-schools #deliver .modes {
  margin-top: 52px;
}
body.page-schools #deliver .dl-note {
  margin: 48px auto 0;
}
body.page-schools #deliver .plat-link {
  margin-top: 24px;
}

/* platform card: down-arrow link into the platform section */
body.page-schools #deliver .learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-schools #deliver .learn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-schools #deliver a.mode:hover .learn svg {
  transform: translateY(4px);
}
body.page-schools #deliver .plat-link {
  margin-top: 28px;
  height: auto;
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools #deliver .learn svg {
    transition: none;
  }
}
body.page-schools #deliver {
  padding-bottom: clamp(48px, 6vw, 88px);
}

/* founders letter: every paragraph the same size, only the last one bold */
body.page-schools .founders .letter-body p,
body.page-schools .founders .letter-body p:first-child {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--body);
  font-weight: 400;
}
body.page-schools .founders .letter-body p:first-child {
  margin-top: 0;
}
body.page-schools .founders .letter-body p:last-child {
  color: var(--ink);
  font-weight: 700;
}

/* students / teachers: one section, two slides */
body.page-schools #students .stu-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(18, 24, 21, 0.06);
  margin-bottom: 28px;
}
body.page-schools #students .stu-tab {
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
body.page-schools #students .stu-tab:not(.is-on):hover {
  color: var(--ink);
}
body.page-schools #students .stu-tab.is-on {
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.08),
    0 8px 18px -12px rgba(120, 50, 0, 0.3);
}
body.page-schools #students .stu-tab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
body.page-schools #students .stu-slides {
  display: grid;
}
body.page-schools #students .stu-slide {
  grid-area: 1/1;
  min-width: 0;
  --stu-off: 0px;
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ease),
    visibility 0s;
}
body.page-schools #students .stu-slide:not(.is-on) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.7s var(--ease),
    visibility 0s 0.7s;
}
body.page-schools #students .stu-slide.is-prev {
  transform: translateX(-56px);
}
body.page-schools #students .stu-slide.is-next {
  transform: translateX(56px);
}
body.page-schools #students .stu-slide:not(.is-on) .rv {
  opacity: 1;
  transform: none;
}
/* empty teacher cards: same frame and well, soft bars where the words go */
body.page-schools #students .fcard .sk {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: rgba(18, 24, 21, 0.06);
  margin: 0 12px;
}
body.page-schools #students .fcard .sk.t {
  width: 34%;
  height: 16px;
  margin-top: 22px;
}
body.page-schools #students .fcard .sk.d {
  width: 72%;
  margin-top: 10px;
}
body.page-schools #students .fcard .sk.d.s {
  width: 48%;
  margin-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools #students .stu-slide,
  body.page-schools #students .stu-slide:not(.is-on) {
    transition: none;
  }
}
/* toggle sits inside the washed band, where the label used to be */
body.page-schools #students .stu-stage {
  position: relative;
}
body.page-schools #students .stu-tabs {
  position: absolute;
  z-index: 2;
  top: clamp(28px, 3.4vw, 48px);
  left: clamp(28px, 3.4vw, 48px);
  margin: 0;
}
body.page-schools #students .stu-head {
  padding-top: calc(clamp(28px, 3.4vw, 48px) + 64px);
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head {
    padding-top: calc(clamp(28px, 3.4vw, 48px) + 64px);
  }
}

/* heading stays; only the body text beside it and the cards change. Smaller toggle. */
body.page-schools #students .stu-sides {
  display: grid;
}
body.page-schools #students .stu-side {
  grid-area: 1/1;
  min-width: 0;
  transition: opacity 0.4s ease;
}
body.page-schools #students .stu-side:not(.is-on) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0s 0.25s;
}
body.page-schools #students .stu-tabs {
  padding: 3px;
  border-radius: 11px;
  gap: 2px;
}
body.page-schools #students .stu-tab {
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 8px;
}
body.page-schools #students .stu-head {
  padding-top: calc(clamp(28px, 3.4vw, 48px) + 50px);
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head {
    padding-top: calc(clamp(28px, 3.4vw, 48px) + 50px);
  }
}

/* locked (Max, 10-22): toggle centered at the top of the band, heading left, paragraph + pills right */
body.page-schools #students .stu-tabs {
  left: 50%;
  translate: -50% 0;
}
body.page-schools #students .stu-head,
body.page-schools #students .stu-head {
  padding-top: calc(clamp(28px, 3.4vw, 48px) + 70px);
}

/* locked from Max's drag session (10-22), desktop only; phones keep the natural flow */
@media (min-width: 1025px) {
  body.page-schools #students .stu-head {
    height: 346px;
    padding: 132px 64px 0 100px;
    align-items: start;
    column-gap: 96px;
    grid-template-columns: auto auto;
    justify-content: center;
  }
  body.page-schools #students #side-stu .langs {
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
  }
  body.page-schools #students #side-stu .lang,
  body.page-schools #students #side-tch .lang {
    white-space: nowrap;
  }
  body.page-schools #students .stu-head > div:last-child {
    margin-right: 0;
    padding-top: 0;
  }
  body.page-schools #students .stu-head > div:first-child {
    translate: none;
  }
  body.page-schools #students .stu-tabs {
    top: 40px;
    left: 50%;
    translate: -50% 0;
  }
  body.page-schools #students .stu-head h2 {
    translate: none;
    margin: 0;
    white-space: nowrap;
  }
  body.page-schools #students #side-stu .lede {
    translate: none;
    margin: 0;
    max-width: 28em;
    text-wrap: balance;
  }
  body.page-schools #students #side-stu .langs {
    translate: none;
    margin-top: 14px;
  }
  body.page-schools #students .stu-slides {
    margin-top: 12px;
  }
}

/* the cycling word keeps its own left edge when the heading is centered; edit mode can drop the forced line break */
body.page-schools #students .stu-head h2 .cycle {
  justify-items: start;
  text-align: start;
}
body.page-schools #students .stu-head h2[data-wide] br {
  display: none;
}
body.page-schools #students .stu-head h2 .wsp {
  display: none;
}
body.page-schools #students .stu-head h2[data-wide] .wsp {
  display: inline;
}

/* locked (Max, 10-22, from the edit-mode panel): students band positions */
@media (min-width: 1025px) {
  body.page-schools #students .stu-tabs {
    translate: calc(-50% + 17px) -12px;
  }
  body.page-schools #students .stu-head h2 {
    translate: calc(0px + 204px) -27px;
    width: 772px;
    max-width: none;
    white-space: normal;
    text-wrap: wrap;
    text-align: center;
  }
  body.page-schools #students #side-stu .lede {
    translate: calc(0px + -656px) 46px;
    width: 600px;
    text-align: center;
    max-width: none;
    white-space: normal;
    text-wrap: wrap;
  }
  body.page-schools #students #side-stu .langs {
    translate: calc(0px + -612px) 66px;
  }
  body.page-schools #students .stu-head h2 br {
    display: none;
  }
  body.page-schools #students .stu-head h2 .wsp {
    display: inline;
  }
}

@media (max-width: 1024px) {
  body.page-schools #students #side-stu .lede .lb {
    display: none;
  }
}

/* pass 3: hierarchy and copy. Hero quote is an outcome, the liaison card is gone, Haiti runs full width. */
body.page-schools .fieldboard .fb-photo {
  padding: 0;
  background: none;
  border-radius: 20px;
}
body.page-schools .fieldboard .fb-photo img {
  border-radius: 20px;
  height: 100%;
}
body.page-schools .fieldboard .note.p5 blockquote {
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 17ch;
}
body.page-schools .fieldboard .note.p2 blockquote {
  font-size: 17px;
  line-height: 1.4;
}
body.page-schools .fieldboard .note.p4 {
  grid-column: 1/5;
  grid-row: 3;
  position: relative;
  left: 0;
  bottom: auto;
  min-height: 300px;
  justify-content: center;
  padding: 36px 52% 36px 40px;
  color: var(--ink);
  background-color: #fff8ee;
  background-image: var(--soft), url('/assets/img/schools/hero-background.webp');
  background-size: cover;
  background-position: center bottom;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-schools .fieldboard .note.p4::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: 48%;
  border-radius: 14px;
  background: url('/assets/img/students-haiti.webp') center 12% / cover no-repeat;
}
body.page-schools .fieldboard .note.p4 blockquote {
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: var(--ink);
}
body.page-schools .fieldboard .note.p4 figcaption b {
  color: var(--ink);
}
body.page-schools .fieldboard .note.p4 figcaption span {
  color: var(--muted);
}
body.page-schools .fieldboard .note.p1,
body.page-schools .fieldboard .note.p2,
body.page-schools .fieldboard .note.p4 {
  --soft: linear-gradient(rgba(255, 251, 244, 0.84), rgba(255, 251, 244, 0.84));
  background-color: #fffbf4;
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.07),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-schools .fieldboard .note.p1,
body.page-schools .fieldboard .note.p2 {
  padding: 28px 30px 26px;
}
body.page-schools .fieldboard .note.p1 blockquote,
body.page-schools .fieldboard .note.p2 blockquote {
  font-size: 17px;
  line-height: 1.42;
}
body.page-schools .fieldboard .note.p1 figcaption span,
body.page-schools .fieldboard .note.p2 figcaption span,
body.page-schools .fieldboard .note.p4 figcaption span {
  color: #4f483f;
}
body.page-schools .fieldboard .note.p1 {
  background-image: var(--soft), url('/assets/img/schools/hero-background.webp');
  background-size: 260% auto;
  background-position: 15% 100%;
}
body.page-schools .fieldboard .note.p2 {
  background-image: var(--soft), url('/assets/img/schools/hero-background.webp');
  background-size: 260% auto;
  background-position: 90% 100%;
}
@media (max-width: 1024px) {
  body.page-schools .fieldboard .note.p4 {
    grid-column: auto;
    grid-row: auto;
    padding: 28px 28px 230px;
    justify-content: flex-start;
    min-height: 0;
  }
  body.page-schools .fieldboard .note.p4::after {
    top: auto;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    height: 200px;
  }
}

/* where we work (Max: card blends in): original look, plus a shadow and darker corners */
body.page-schools .sch-flags > .wrap {
  position: relative;
  isolation: isolate;
  box-shadow:
    0 2px 4px rgba(120, 50, 0, 0.08),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-schools .sch-flags > .wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 130% at 50% 45%, transparent 55%, rgba(205, 105, 30, 0.16) 100%),
    linear-gradient(rgba(255, 246, 232, 0.68), rgba(255, 246, 232, 0.68));
}
body.page-schools .sch-flags .flags-note {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--ink-2, #4a3a2c);
}
body.page-schools .sch-flags .flag {
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: 12px;
}
body.page-schools .sch-flags .flag img {
  width: 38px;
  height: 28px;
  border-radius: 6px;
}
body.page-schools .sch-flags .flag span {
  font-size: 17px;
}
body.page-schools .sch-flags .flag-reel {
  margin-top: 28px;
}
body.page-schools .sch-flags .flags-note {
  max-width: none;
}
body.page-schools .sch-flags .flags-note {
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: -0.01em;
}

/* teachers tab: same lede + pill positions as the students side */
@media (min-width: 1025px) {
  body.page-schools #students #side-tch .lede {
    translate: calc(0px + -656px) 46px;
    width: 600px;
    text-align: center;
    max-width: none;
    margin: 0;
    text-wrap: balance;
  }
  body.page-schools #students #side-tch .langs {
    translate: calc(0px + -612px) 66px;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
    margin-top: 14px;
  }
}

/* centred to the card at any desktop width (replaces the fixed pixel nudges above) */
@media (min-width: 1025px) {
  body.page-schools #students .stu-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 322px;
    padding: 100px 32px 0;
    column-gap: 0;
    row-gap: 0;
  }
  body.page-schools #students .stu-head > div:first-child,
  body.page-schools #students .stu-head > div:last-child {
    translate: none;
    margin: 0;
    padding-top: 0;
  }
  body.page-schools #students .stu-head h2 {
    translate: none;
    width: auto;
    white-space: nowrap;
    margin: 0;
  }
  body.page-schools #students .stu-head h2 br {
    display: none;
  }
  body.page-schools #students .stu-head h2 .wsp {
    display: inline;
  }
  body.page-schools #students .stu-sides {
    justify-items: center;
  }
  body.page-schools #students #side-stu .lede,
  body.page-schools #students #side-tch .lede {
    translate: none;
    width: auto;
    max-width: none;
    margin: 0;
    margin-top: 22px !important;
    text-align: center;
  }
  body.page-schools #students #side-stu .langs,
  body.page-schools #students #side-tch .langs {
    translate: none;
    justify-content: center;
    margin-top: 18px;
  }
  body.page-schools #students .stu-tabs {
    translate: -50% 0;
  }
}
/* the heading's word box hugs the current word so the whole line stays centred in the card */
body.page-schools #students .stu-head h2 .cycle {
  transition: width 0.5s var(--ease);
}

/* Approved homepage notes, 27 Oct: 1–6 and 8–17. The setup journey is excluded. */
body.page-schools {
  --school-accent-text: #9f3b00;
  --school-heading: clamp(36px, 4.15vw, 60px);
}
body.page-schools .band-hero.side > .wrap {
  width: min(1190px, 100% - 2 * var(--gutter));
  max-width: none;
  padding-inline: 0;
}
body.page-schools .band-hero .label,
body.page-schools .band-hero .proof-line,
body.page-schools #deliver .mode .label,
body.page-schools #deliver .dl-head .label,
body.page-schools #deliver .learn,
body.page-schools .section > .wrap > .label,
body.page-schools .how-top .label,
body.page-schools .fb-head .label,
body.page-schools .letter-top .label,
body.page-schools .head-row .label,
body.page-schools .closing .label {
  color: var(--school-accent-text);
}
body.page-schools #deliver .dl-head h2,
body.page-schools #how .how-title,
body.page-schools #students h2,
body.page-schools .fieldboard h2,
body.page-schools .sch-flags h2,
body.page-schools .founders .letter-top h2 {
  font-size: var(--school-heading);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
body.page-schools #deliver > .wrap {
  width: min(1190px, 100% - 2 * var(--gutter));
}
body.page-schools #how .how-top {
  display: block;
}
body.page-schools #how .how-note {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
}
/* Contain the parked slide at its own boundary, including during a tab switch. */
body.page-schools #students .stu-slides {
  overflow: clip;
  overflow-clip-margin: 6px;
}
/* Adapt the library's compact segmented tabs, keeping the existing accessible buttons. */
body.page-schools #students .stu-tabs {
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  white-space: nowrap;
}
body.page-schools #students .stu-tab {
  min-height: 48px;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 10px;
}
body.page-schools #students .lang,
body.page-schools #students button.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 13px;
  font-size: 15px;
  line-height: 1.3;
}
body.page-schools #students .lang.is-on {
  background: var(--school-accent-text);
  color: var(--paper);
}
/* Short quotes use content-sized rows, with a narrower jump to the lead quote. */
body.page-schools .fieldboard .fb-stage {
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
  gap: 20px;
}
body.page-schools .fieldboard .fb-photo {
  grid-column: 1;
  grid-row: 1/4;
  align-self: stretch;
}
body.page-schools .fieldboard .fb-photo img {
  min-height: 0;
  height: 100%;
  object-fit: cover;
}
body.page-schools .fieldboard .note.p5 {
  grid-column: 2;
  grid-row: 1;
  padding: 28px 30px;
}
body.page-schools .fieldboard .note.p1 {
  grid-column: 2;
  grid-row: 2;
}
body.page-schools .fieldboard .note.p2 {
  grid-column: 2;
  grid-row: 3;
}
body.page-schools .fieldboard .note.p1,
body.page-schools .fieldboard .note.p2 {
  padding: 24px 30px;
  gap: 18px;
  justify-content: flex-start;
}
body.page-schools .fieldboard .note.p1 blockquote,
body.page-schools .fieldboard .note.p2 blockquote {
  font-size: 22px;
  line-height: 1.35;
}
body.page-schools .fieldboard .note.p5 blockquote {
  font-size: 30px;
  line-height: 1.2;
  max-width: 22ch;
}
body.page-schools .fieldboard .note.p4 {
  grid-column: 1/-1;
  grid-row: 4;
  min-height: 260px;
}
body.page-schools .fieldboard .note.p4 blockquote {
  font-size: 28px;
  line-height: 1.25;
}
body.page-schools .sch-flags .flags-note {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 760px;
}
body.page-schools .sch-flags .flag-track {
  animation-play-state: paused;
}
body.page-schools .sch-flags .flag-reel.is-visible .flag-track {
  animation-play-state: running;
}
body.page-schools .sch-flags .flag-reel:hover .flag-track {
  animation-play-state: paused;
}
/* A still letter and photo share a balanced pair of columns. */
body.page-schools .founders .letter-top {
  position: static;
}
body.page-schools .founders .letter-body p,
body.page-schools .founders .letter-body p:first-child {
  font-size: clamp(17px, 1.31vw, 19px);
  line-height: 1.6;
}
body.page-schools .founders .letter-sheet {
  padding: clamp(24px, 2.5vw, 36px);
}
body.page-schools .founders .sign {
  margin-top: 32px;
  gap: 20px 28px;
}
/* Return to the FAQ and full-width closing used on the other schools pages. */
body.page-schools section[aria-labelledby='faq-h'] > .wrap {
  display: block;
  width: min(980px, 100%);
  max-width: 980px;
  padding-inline: var(--gutter);
}
body.page-schools section[aria-labelledby='faq-h'] .head-row {
  display: flex;
  position: static;
}
body.page-schools section[aria-labelledby='faq-h'] .head-row .link {
  margin-top: 0;
}
body.page-schools section[aria-labelledby='faq-h'] .faq {
  margin-top: 44px;
}
body.page-schools section[aria-labelledby='faq-h'] .faq details {
  background: rgba(255, 250, 242, 0.7);
  box-shadow: none;
}
body.page-schools section[aria-labelledby='faq-h'] .faq details[open] {
  background: var(--paper);
}
body.page-schools .closing {
  padding: clamp(100px, 11vw, 168px) 0;
  background: #fdebd8 url('/assets/img/close-orange-wash.webp') right top/cover no-repeat;
}
body.page-schools .closing::before {
  display: block;
}
body.page-schools .closing > .wrap {
  background: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  overflow: visible;
}
body.page-schools .closing h2 {
  max-width: 900px;
  margin-inline: 0;
}
body.page-schools .closing .lede {
  max-width: 600px;
  margin-inline: 0;
}
body.page-schools .closing .actions {
  justify-content: flex-start;
}
@media (min-width: 1025px) {
  body.page-schools .founders > .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
  }
  body.page-schools .founders .letter-photo {
    margin-top: 28px;
    max-width: none;
  }
  body.page-schools .founders .sign {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    font-size: clamp(12px, 1vw, 14.5px);
  }
  body.page-schools .founders .sign > span {
    min-width: 0;
    gap: 10px;
  }
  body.page-schools .founders .sign img {
    flex: none;
    width: clamp(40px, 3.6vw, 52px);
    height: clamp(40px, 3.6vw, 52px);
  }
  body.page-schools .founders .sign b {
    font-size: clamp(14px, 1.1vw, 16px);
  }
  body.page-schools #students .stu-head {
    height: auto;
    min-height: 322px;
    padding-bottom: 42px;
  }
}
@media (max-width: 1024px) {
  body.page-schools .fieldboard .fb-stage {
    grid-template-columns: 1fr;
  }
  body.page-schools .fieldboard .fb-photo,
  body.page-schools .fieldboard .note.p1,
  body.page-schools .fieldboard .note.p2,
  body.page-schools .fieldboard .note.p4,
  body.page-schools .fieldboard .note.p5 {
    grid-column: auto;
    grid-row: auto;
  }
  body.page-schools .fieldboard .fb-photo img {
    height: auto;
    aspect-ratio: 4/3;
  }
  body.page-schools .fieldboard .note.p4 {
    min-height: 0;
  }
  body.page-schools #students .stu-head {
    padding-top: 104px;
  }
  body.page-schools .founders .letter-sheet {
    padding: 28px;
    margin-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools .sch-flags .flag-reel {
    margin-inline: 0;
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
  body.page-schools .sch-flags .flag-track {
    animation: none;
    transform: none;
    width: auto;
  }
  body.page-schools .sch-flags .flag-track ul {
    padding: 0;
    gap: 12px;
    flex-wrap: wrap;
  }
  body.page-schools .sch-flags .flag-track ul[aria-hidden] {
    display: none;
  }
  body.page-schools .faq details,
  body.page-schools .faq summary i::before,
  body.page-schools .faq summary i::after {
    transition: none;
  }
}

/* Max's final pass: quiet audience switch, original right-hand setup note. */
body.page-schools #students .stu-tabs {
  padding: 3px;
  gap: 2px;
  border-radius: 11px;
}
body.page-schools #students .stu-tab {
  position: relative;
  min-height: 32px;
  padding: 6px 13px;
  font-size: 13px;
  line-height: 1.3;
  border-radius: 8px;
}
/* The compact visual keeps a generous hit area without enlarging the control. */
body.page-schools #students .stu-tab::before {
  content: '';
  position: absolute;
  inset: -6px 0;
}
body.page-schools #how .how-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
body.page-schools #how .how-note {
  flex: none;
  max-width: 280px;
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.55;
}
@media (min-width: 1025px) {
  body.page-schools #students .stu-tabs {
    top: 28px;
  }
  body.page-schools #students .stu-head {
    padding-top: 84px;
    padding-bottom: 32px;
    min-height: 300px;
  }
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head {
    padding-top: 90px;
  }
  body.page-schools #how .how-top {
    display: block;
  }
  body.page-schools #how .how-note {
    margin-top: 14px;
  }
}
/* Short, staggered entrances use the existing scroll observer. Product timelines
   and the excluded setup demonstration are deliberately outside this selector. */
.js body.page-schools .sch-enter.rv {
  transition-property: opacity, transform;
  transition-duration: 0.65s, 0.8s;
  transition-timing-function: var(--ease);
  transition-delay: var(--school-reveal-delay, 0ms);
}
.js body.page-schools .sch-enter.rv:not(.in) {
  transform: translateY(18px);
}
.js body.page-schools .sch-enter.rv-line > span > span {
  transition-duration: 0.8s;
  transition-delay: calc(var(--i, 0) * 80ms);
}
@media (prefers-reduced-motion: reduce) {
  .js body.page-schools .sch-enter.rv,
  .js body.page-schools .sch-enter.rv:not(.in) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js body.page-schools .sch-enter.rv-line > span > span {
    transform: none;
    transition: none;
  }
}

/* Real feedback reads as direct speech. */
body.page-schools .fieldboard .note blockquote {
  quotes: '“' '”' '‘' '’';
}
body.page-schools .fieldboard .note blockquote::before {
  content: open-quote;
}
body.page-schools .fieldboard .note blockquote::after {
  content: close-quote;
}

/* Hero copy, October 28: compact three-line headline and balanced image. */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: clamp(42px, 4.3vw, 76px);
    line-height: 1.04;
  }
  body.page-schools .band-hero.side {
    justify-content: flex-start;
    padding-top: calc(var(--head) + 64px);
    padding-bottom: 64px;
  }
  body.page-schools .band-hero.side > .wrap {
    width: min(1320px, 100% - 2 * var(--gutter));
  }
  body.page-schools .band-hero.side .hero-split {
    min-height: calc(100svh / 0.95 - var(--head) - 128px);
    align-items: stretch;
  }
  body.page-schools .band-hero.side .hero-split > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  body.page-schools .band-hero.side .band-photo {
    align-self: stretch;
    min-height: 440px;
  }
  body.page-schools .band-hero.side .band-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }
  body.page-schools .band-hero.side .hero-split .proof-line {
    margin-top: 28px;
  }
  body.page-schools .band-hero.side .lede {
    margin-top: 32px;
    max-width: 510px;
  }
  body.page-schools .band-hero.side .actions {
    margin-top: 30px;
  }
  body.page-schools .band-hero.side .proof-line {
    margin-top: 24px;
  }
}
@media (max-width: 1024px) {
  body.page-schools .band-hero.side h1 {
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
  body.page-schools .band-hero.side h1 span {
    display: inline;
    white-space: normal;
  }
  body.page-schools .band-hero.side .lede {
    margin-top: 24px;
    max-width: 480px;
    text-wrap: pretty;
  }
  body.page-schools .band-hero.side .actions {
    margin-top: 28px;
  }
}

/* Blank device composition preview requested by Max. */
body.page-schools .band-hero.side .hero-devices {
  mix-blend-mode: darken;
  align-self: start;
  min-height: 0;
  margin-top: 36px;
}
body.page-schools .band-hero.side .hero-devices img {
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3/2;
  object-fit: contain;
  border-radius: 0;
}
@media (max-width: 1024px) {
  body.page-schools .band-hero.side .hero-devices {
    margin-top: 0;
  }
}

/* Full-screen device hero: scale the composition to the available canvas. */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side > .wrap {
    width: min(1480px, 100% - 80px);
  }
  body.page-schools .band-hero.side .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
  }
  body.page-schools .band-hero.side h1 {
    font-size: clamp(46px, 5.05vw, 82px);
    line-height: 1.04;
  }
  body.page-schools .band-hero.side .lede {
    font-size: clamp(20px, 1.7vw, 26px);
    max-width: 550px;
    margin-top: 32px;
  }
  body.page-schools .band-hero.side .actions {
    margin-top: 36px;
  }
  body.page-schools .band-hero.side .hero-devices {
    margin-top: 0;
    align-self: center;
  }
  body.page-schools .band-hero.side .hero-devices img {
    width: 110%;
    max-width: none;
    margin-left: -5%;
  }
}

/* Real platform captures sit inside the device screens, keeping UI text crisp. */
body.page-schools .band-hero.side .hero-devices {
  mix-blend-mode: normal;
}
body.page-schools .hero-devices .device-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
}
body.page-schools .band-hero.side .hero-devices img {
  margin: 0;
  width: 100%;
  max-width: 100%;
}
body.page-schools .hero-devices .device-shell {
  mix-blend-mode: darken;
}
body.page-schools .hero-devices .device-screen {
  position: absolute;
  overflow: hidden;
  background: #fff;
}
body.page-schools .band-hero.side .hero-devices .device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: fill;
  border-radius: 0;
}
body.page-schools .hero-devices .laptop-screen {
  left: 13.4%;
  top: 12.15%;
  width: 67.7%;
  height: 57.5%;
  clip-path: polygon(0 0, 100% 0, 100% 46%, 97.2% 46%, 97.2% 100%, 0 100%);
}
body.page-schools .hero-devices .phone-screen {
  background: #fdfcfa;
  left: 80.55%;
  top: 39.45%;
  width: 13.55%;
  height: 46.8%;
  border-radius: 12% / 5.5%;
  transform: rotate(-0.7deg);
}
body.page-schools .hero-devices .phone-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 3.5%;
  background: #151515;
  border-radius: 0 0 7px 7px;
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: clamp(44px, 4.65vw, 76px);
  }
  body.page-schools .band-hero.side .hero-devices {
    align-self: start;
    margin-top: 0;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 110%;
    margin-left: -5%;
  }
}

body.page-schools .band-hero.side .hero-devices .phone-screen img {
  position: absolute;
  top: 4%;
  height: 96%;
}
body.page-schools #deliver .deployment-film-link {
  margin-top: 20px;
}
body.page-schools .hero-devices .device-shell {
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 86%, transparent 99%);
  mask-composite: intersect;
}

/* Hero spacing, 28 Oct: copy and devices share the header's left/right edges, block sits centred between nav and wash. */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side > .wrap {
    width: 100%;
    max-width: 1920px;
    padding-inline: var(--gutter);
  }
  body.page-schools .band-hero.side .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(24px, 3vw, 56px);
    align-items: center;
  }
  body.page-schools .band-hero.side .hero-devices {
    align-self: center;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 100%;
    margin-left: 0;
  }
  body.page-schools .band-hero.side {
    padding-top: calc(var(--head) + 40px);
    padding-bottom: 96px;
  }
}

/* Hero fit, 28 Oct: title and preview are the same height and the pair sits centred in one screen. */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side {
    min-height: calc(100svh / 0.95);
    display: flex;
    align-items: center;
    padding-top: calc(var(--head) + 16px);
    padding-bottom: 2vh;
  }
  body.page-schools .band-hero.side > .wrap {
    flex: none;
  }
  body.page-schools .band-hero.side .hero-split {
    min-height: 0;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: clamp(16px, 2vw, 40px);
  }
  body.page-schools .band-hero.side h1 {
    font-size: clamp(38px, 3.9vw, 66px);
  }
  body.page-schools .band-hero.side .label {
    margin-bottom: 14px;
  }
  body.page-schools .band-hero.side .lede {
    font-size: clamp(17px, 1.4vw, 22px);
    margin-top: 22px;
    max-width: 460px;
  }
  body.page-schools .band-hero.side .actions {
    margin-top: 26px;
  }
  body.page-schools .band-hero.side .btn {
    padding: 13px 24px;
    font-size: clamp(15px, 1.1vw, 18px);
  }
  body.page-schools .band-hero.side .proof-line {
    margin-top: 20px;
    font-size: clamp(15px, 1.1vw, 18px);
  }
  body.page-schools .hero-devices .device-canvas {
    width: 108%;
    margin-left: 0;
  }
}

/* Laptop scaled down so title and preview fit the screen together, right edge on the header's. */
@media (min-width: 1025px) {
  body.page-schools .hero-devices .device-canvas {
    width: 84%;
    margin-left: auto;
  }
  body.page-schools .band-hero.side {
    padding-top: calc(var(--head) + 40px);
    padding-bottom: 6vh;
  }
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side {
    padding-top: calc(var(--head) + 100px);
    padding-bottom: 0;
  }
}

/* Hero, Max's tweak-panel numbers (28 Oct), in vw so it holds at other widths: big title, copy inset to the content grid, large laptop. */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: 4.5vw;
  }
  body.page-schools .band-hero.side .lede {
    font-size: 1.7vw;
    max-width: 34vw;
  }
  body.page-schools .band-hero.side .hero-split > div:first-child {
    translate: 10.55vw -2.1vw;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: 2vw 0.7vw;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 96%;
    margin-left: auto;
  }
  body.page-schools .band-hero.side {
    padding-top: calc(var(--head) + 100px);
    padding-bottom: 0;
  }
}
/* centre the pair: equal side margins */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side .hero-split > div:first-child {
    translate: 5.6vw -2.1vw;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: -3vw 0.7vw;
  }
}
/* headline a touch smaller so "A learning platform" stops crowding the laptop */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: 3.95vw;
  }
}

/* Watch-the-deployment button: centred under the note, orange play badge on a paper pill. */
body.page-schools #deliver .deployment-film-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 28px auto 0;
  padding: 8px 26px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--paper, #fffaf2);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 24px -14px rgba(120, 50, 0, 0.35);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
body.page-schools #deliver .deployment-film-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 16px 30px -14px rgba(120, 50, 0, 0.45);
}
body.page-schools #deliver .deployment-film-link svg {
  order: -1;
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 12px 12px 12px 14px;
  border-radius: 50%;
  background: var(--orange, #c9510c);
  fill: #fff;
  transition: transform 0.25s var(--ease);
}
body.page-schools #deliver .deployment-film-link:hover svg {
  transform: scale(1.08);
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: 4.7vw;
  }
}
/* bigger headline: laptop steps right and down a size so the two stay clear */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side .hero-devices {
    translate: 0.5vw 0.7vw;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 92%;
  }
}
/* biggest headline: copy returns to the logo's left edge to make room */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: 5.5vw;
  }
  body.page-schools .band-hero.side .hero-split > div:first-child {
    translate: 0 -2.1vw;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: 1.4vw 0.7vw;
  }
}
/* three even lines ("Learning that / adapts to / every student.") allow a much bigger headline */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: 6.4vw;
    line-height: 1;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 98%;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: 0 0.7vw;
  }
}
/* equal side margins again (about 140px each at 1450): copy inset, laptop sized to fit beside it */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side .hero-split > div:first-child {
    translate: 5.4vw -2.1vw;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 84%;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: -2.8vw 0.7vw;
  }
}
/* headline size follows the other side heroes (site.css .band-hero.side h1) */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: clamp(44px, min(4.6vw, 8.4vh), 76px);
    line-height: 1.05;
  }
  body.page-schools .band-hero.side .lede {
    font-size: clamp(18px, 1.5vw, 24px);
    max-width: 30em;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 92%;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: -1vw 0.7vw;
  }
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side .hero-split > div:first-child {
    translate: 5.4vw 0;
  }
}
/* same headline rule as deployments and giving */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side h1 {
    font-size: clamp(47px, 4.95vw, 90px);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -0.045em;
  }
  body.page-schools .band-hero.side .hero-split > div:first-child {
    translate: 2.6vw 0;
  }
  body.page-schools .hero-devices .device-canvas {
    width: 88%;
  }
  body.page-schools .band-hero.side .hero-devices {
    translate: -2vw 0.7vw;
  }
}

/* Hero devices drawn in code: laptop = a lesson open beside the tutor chat, phone = the Capyo login. Each .dv is laid out at its design width (data-dv) and scaled to the screen by page-schools.js. */
body.page-schools .hero-devices .dv {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  font-family: var(--font-body, inherit);
  color: #101828;
  background: #f3f4f4;
  overflow: hidden;
}
body.page-schools .hero-devices .dv * {
  box-sizing: border-box;
  margin: 0;
}
body.page-schools .dv.lp {
  width: 360px;
  height: 204px;
  display: grid;
  grid-template-columns: 78px 1fr 118px;
  gap: 6px;
  padding: 6px;
}
body.page-schools .lp-nav,
body.page-schools .lp-lesson,
body.page-schools .lp-tutor {
  background: #fff;
  border-radius: 7px;
}
body.page-schools .lp-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 5px;
}
body.page-schools .lp-nav b {
  font-size: 8.5px;
  line-height: 1.2;
  text-align: center;
  padding: 0 2px 8px;
}
body.page-schools .lp-nav span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px;
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-schools .lp-nav span img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
body.page-schools .lp-nav .on {
  background: #e8ecf3;
  color: #17345e;
}
body.page-schools .lp-lesson {
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
}
body.page-schools .lp-lesson small {
  font-size: 8px;
  font-weight: 600;
  color: #6b7280;
}
body.page-schools .lp-lesson h3 {
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 3px 0 7px;
  font-weight: 700;
}
body.page-schools .lp-lesson p {
  font-size: 10px;
  line-height: 1.5;
  color: #374151;
}
body.page-schools .lp-lesson p b {
  color: #17345e;
}
body.page-schools .lp-ex {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0;
  padding: 8px 10px;
  border-radius: 7px;
  background: #eef2f8;
}
body.page-schools .lp-ex span,
body.page-schools .lp-ex b {
  font-size: 18px;
  font-weight: 700;
  color: #17345e;
  line-height: 1;
}
body.page-schools .lp-ex i {
  font-style: normal;
  font-size: 8.5px;
  color: #6b7280;
  flex: 1;
}
body.page-schools .lp-prog {
  margin-top: auto;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  margin-bottom: 4px;
}
body.page-schools .lp-prog i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: #17345e;
}
body.page-schools .lp-tutor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}
body.page-schools .lp-tutor header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
}
body.page-schools .lp-tutor header img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
}
body.page-schools .lp-tutor header b {
  font-size: 10px;
}
body.page-schools .lp-tutor .m {
  font-size: 9.5px;
  line-height: 1.4;
  padding: 6px 8px;
  border-radius: 8px;
}
body.page-schools .lp-tutor .me {
  align-self: flex-end;
  background: #17345e;
  color: #fff;
  border-bottom-right-radius: 2px;
}
body.page-schools .lp-tutor .ai {
  background: #f1f3f5;
  color: #1f2937;
  border-bottom-left-radius: 2px;
}
body.page-schools .lp-in {
  margin-top: auto;
  padding: 6px 8px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #d1d5db;
  font-size: 8.5px;
  color: #6b7280;
}
body.page-schools .dv.ph {
  width: 130px;
  height: 300px;
  background: #fdfcfa;
  padding: 22px 9px 0;
  display: flex;
  flex-direction: column;
}
body.page-schools .ph-art {
  width: 100%;
  aspect-ratio: 1/0.72;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 12px;
}
body.page-schools .dv.ph h3 {
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 12px 0 10px;
  color: #1f1b18;
}
body.page-schools .ph-f {
  margin-bottom: 8px;
}
body.page-schools .ph-f small {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
body.page-schools .ph-f span {
  display: block;
  padding: 7px 8px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px #d6d1cb;
  font-size: 9px;
  color: #6f6962;
}
body.page-schools .ph-go {
  margin-top: 2px;
  padding: 9px;
  border-radius: 7px;
  background: #c8664a;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}
body.page-schools .band-hero.side .hero-devices .dv img {
  display: block;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
body.page-schools .band-hero.side .hero-devices .lp-nav span img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
body.page-schools .band-hero.side .hero-devices .lp-tutor header img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-schools .band-hero.side .hero-devices .ph-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1/0.72;
  object-fit: cover;
  border-radius: 12px;
}
body.page-schools .hero-devices .dv.ph > * {
  flex: none;
}
body.page-schools .hero-devices .ph-art {
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
}
body.page-schools .band-hero.side .hero-devices .ph-art img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 0;
}
body.page-schools .dv.ph h3 {
  font-size: 17px;
  margin: 10px 0 8px;
}
body.page-schools .dv.lp {
  grid-template-columns: 88px 1fr 112px;
}
body.page-schools .lp-nav span {
  font-size: 8px;
  gap: 3px;
}
body.page-schools .lp-lesson h3 {
  font-size: 15px;
}
body.page-schools .band-hero.side .hero-devices .dv img {
  position: static;
  top: auto;
}
body.page-schools .dv.ph h3 {
  font-size: 15px;
  white-space: nowrap;
}
body.page-schools .lp-tutor {
  gap: 5px;
}
body.page-schools .lp-tutor header {
  padding-bottom: 3px;
}
body.page-schools .hero-devices .dv {
  box-sizing: border-box;
}
body.page-schools .dv.lp {
  grid-template-rows: minmax(0, 1fr);
}
body.page-schools .lp-lesson {
  padding: 10px 11px 9px;
}
body.page-schools .lp-lesson h3 {
  margin: 2px 0 5px;
}
body.page-schools .lp-ex {
  margin: 6px 0;
  padding: 6px 10px;
}
/* Hero level switcher: the same lesson and class game at four levels. */
body.page-schools .hero-devices .lp-frame,
body.page-schools .hero-devices .gm2 .qz {
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.page-schools .hero-devices .lp-frame.is-on,
body.page-schools .hero-devices .gm2 .qz.is-on {
  opacity: 1;
}
body.page-schools .hero-levels {
  position: absolute;
  z-index: 3;
  left: 47%;
  top: 92%;
  translate: -50% 0;
  display: flex;
  width: max-content;
  padding: 3px;
  border-radius: 999px;
  background: rgba(120, 60, 10, 0.07);
  font-size: 14px;
  line-height: 1;
}
body.page-schools .hero-levels button {
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.25s,
    box-shadow 0.25s;
}
body.page-schools .hero-levels button:hover {
  color: var(--ink);
}
body.page-schools .hero-levels button[aria-pressed='true'] {
  background: #fff;
  color: var(--orange);
  font-weight: 500;
  box-shadow:
    0 1px 2px rgba(30, 22, 12, 0.08),
    0 4px 12px -6px rgba(30, 22, 12, 0.18);
}
@media (max-width: 1024px) {
  body.page-schools .hero-levels {
    font-size: 12.5px;
    left: 50%;
  }
  body.page-schools .hero-levels button {
    padding: 7px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools .hero-devices .lp-frame,
  body.page-schools .hero-devices .gm2 .qz {
    transition: none;
  }
}
/* Laptop screen backing is black so any sub-pixel edge reads as bezel, never as a light line. */
body.page-schools .hero-devices .laptop-screen {
  background: #0a0a0a;
}
/* Screen box, 28 Oct: an even 22px bezel on all four sides of the lid's dark opening (lid interior x 187-1261, y 97-725 of 1536x1024; the photo's own display has a 25px top and 10px bottom bezel, which read uneven). Box x 209-1239, y 119-702; its aspect is locked to the 1200x679 screens so the fit is exact at every width. Notch = the phone's frame (x 1217, y 391). */
/* The photo's own display opening (x 204-1248, y 122-714) is a darker black than its bezel, so its uneven edge showed as faint lines; paint it bezel-tone so the only rectangle left is the even one. */
body.page-schools .hero-devices .device-canvas::before {
  content: '';
  position: absolute;
  left: 13.281%;
  top: 11.914%;
  width: 68.099%;
  height: 57.813%;
  background: #101010;
}
body.page-schools .hero-devices .laptop-screen {
  background: #101010;
}
body.page-schools .hero-devices .laptop-screen {
  left: 13.607%;
  top: 11.621%;
  width: 67.057%;
  height: auto;
  aspect-ratio: 1200/679;
  clip-path: polygon(0 0, 100% 0, 100% 46.4%, 97.7% 46.4%, 97.7% 100%, 0 100%);
}
/* Shell PNG cleaned 28 Oct (laptop-phone-dark-clean.png): both displays are solid bezel black, so no backing rect is needed (it also covered the phone's left edge). Phone screen sits 4px inside the phone's opening (x 1237-1449, y 403-884 of 1536x1024), notch matched to the photo's. */
body.page-schools .hero-devices .device-canvas::before {
  content: none;
}
body.page-schools .hero-devices .phone-screen {
  left: 80.794%;
  top: 39.746%;
  width: 13.281%;
  height: 46.191%;
  border-radius: 11% / 4.8%;
  transform: rotate(-0.5deg);
}
body.page-schools .hero-devices .phone-screen::after {
  left: 24.5%;
  width: 50.3%;
  height: 2.8%;
  background: #0c0c0c;
  border-radius: 0 0 9px 9px;
}
/* game fills the whole phone screen (300 design px wide, screen is 204x473 in the photo) so no light strip shows at the bottom */
body.page-schools .hero-devices .phone-screen {
  background: #0c0c0c;
}
body.page-schools .hero-devices .dv.gm2 {
  width: 300px;
  height: 696px;
}
body.page-schools .band-hero.side .hero-devices .phone-screen .gm2 img.bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
/* Laptop screen, 28 Oct: the shell has a transparent hole cut exactly at the photo's display (laptop-phone-hole.png). The screen layer sits behind the shell and covers the whole canvas; page-schools.js maps each 1200x679 screen onto the display's measured corners with one matrix3d, so the whole interface takes the photo's perspective together and the bezel clips it. */
body.page-schools .hero-devices .device-shell {
  position: relative;
  z-index: 1;
}
body.page-schools .hero-devices .laptop-screen {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  clip-path: none;
  background: transparent;
  z-index: 0;
}
body.page-schools .hero-devices .phone-screen {
  z-index: 2;
}
body.page-schools .hero-devices .dv.lp-back {
  width: 1200px;
  height: 679px;
  background: #101010;
}

/* Hero, 28 Oct: laptop + phone photo replaced by the teachers-page iPad, drawn in code and running off the right edge. The three level screens (1180x855, the iPad's landscape size) sit flat in it, scaled by page-schools.js, so they stay sharp at any size. */
body.page-schools .band-hero.side {
  overflow: clip;
}
body.page-schools .band-hero.side figure.hpad.hero-devices {
  --w: clamp(560px, 48vw, 820px);
  position: relative;
  margin: 0 calc(var(--w) * -0.5) 0 0;
  align-self: center;
  justify-self: end;
  width: var(--w);
  translate: none;
  mix-blend-mode: normal;
  min-height: 0;
}
body.page-schools .hpad-lid {
  padding: clamp(12px, 1.1vw, 18px);
  border-radius: clamp(26px, 2.6vw, 44px);
  background: #1b1c1e;
  box-shadow:
    inset 0 0 0 1.5px #3a3b3e,
    var(--shadow-lg);
}
body.page-schools .hpad-scr {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1180/855;
  border-radius: clamp(14px, 1.5vw, 26px);
  background: #f3f4f4;
}
body.page-schools .hpad-scr .dv {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side {
    position: relative;
  }
  body.page-schools .band-hero.side .wrap,
  body.page-schools .band-hero.side .hero-split {
    position: static;
  }
  body.page-schools .band-hero.side figure.hpad.hero-devices {
    position: absolute;
    left: 53.5%;
    top: calc(50% + 25px);
    width: 56.2%;
    translate: 0 -50%;
    margin: 0;
  }
}
@media (max-width: 1024px) {
  body.page-schools .band-hero.side figure.hpad.hero-devices {
    --w: 560px;
    margin: 28px -270px 0 0;
  }
}
/* only the bezel runs off the edge so Jim's tutor panel stays readable; level switcher sits under the iPad, centred on what shows */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hpad.hero-devices {
    left: 48%;
    width: 54%;
    top: calc(50% + 2px);
  }
  body.page-schools .band-hero.side .hero-levels {
    left: 48.5%;
    top: calc(100% + 16px);
  }
}
@media (max-width: 1024px) {
  body.page-schools .band-hero.side .hero-levels {
    position: static;
    translate: none;
    margin: 18px 0 0;
  }
}

/* Hero, 28 Oct (2): a browser window drawn in code. Its tabs are the level switcher (Grade school, High school, University); the screens sit flat at 1200x750 so they stay sharp. */
body.page-schools .band-hero.side figure.hbr.hero-devices {
  position: relative;
  margin: 0;
  translate: none;
  mix-blend-mode: normal;
  align-self: center;
  min-height: 0;
  width: 100%;
}
body.page-schools .hbr-win {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(40, 26, 12, 0.1),
    0 2px 4px rgba(40, 26, 12, 0.05),
    0 24px 60px -28px rgba(80, 40, 10, 0.35);
}
body.page-schools .hbr-top {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 44px;
  padding: 0 12px 0 16px;
  background: #efe9e1;
}
body.page-schools .hbr-dots {
  display: flex;
  gap: 7px;
  align-self: center;
}
body.page-schools .hbr-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dcd3c8;
}
body.page-schools .band-hero.side .hbr-tabs {
  position: static;
  translate: none;
  display: flex;
  gap: 2px;
  width: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 13px;
  line-height: 1;
  min-width: 0;
}
body.page-schools .band-hero.side .hbr-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 18px 0 12px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: #7a6f63;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition:
    background 0.25s,
    color 0.2s;
}
body.page-schools .band-hero.side .hbr-tabs button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}
body.page-schools .band-hero.side .hbr-tabs button[aria-pressed='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
body.page-schools .band-hero.side .hbr-tabs img {
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 4px;
  aspect-ratio: auto;
  position: static;
}
body.page-schools .hbr-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #eee8e1;
  color: #a39787;
}
body.page-schools .hbr-bar > svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-schools .hbr-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f5f1ec;
  font-size: 13px;
  color: #6f6458;
}
body.page-schools .hbr-url svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-schools .hbr-scr {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200/750;
  background: #f3f4f4;
}
body.page-schools .hbr-scr .dv {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
@media (max-width: 1024px) {
  body.page-schools .hbr-top {
    height: 38px;
    gap: 8px;
    padding-left: 12px;
  }
  body.page-schools .hbr-dots {
    display: none;
  }
  body.page-schools .band-hero.side .hbr-tabs {
    font-size: 11.5px;
    flex: 1;
  }
  body.page-schools .band-hero.side .hbr-tabs button {
    flex: 1;
    justify-content: center;
    height: 30px;
    padding: 0 6px;
    gap: 5px;
  }
  body.page-schools .band-hero.side .hbr-tabs img {
    width: 13px;
    height: 13px;
  }
  body.page-schools .hbr-bar {
    height: 32px;
  }
  body.page-schools .hbr-url {
    height: 22px;
    font-size: 11.5px;
  }
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hbr.hero-devices {
    width: 90%;
    justify-self: end;
  }
}
body.page-schools .band-hero.side .hbr-tabs img {
  object-fit: contain;
  border-radius: 0;
}
/* window shortened so the lesson card fills with no empty space under its buttons */
body.page-schools .hbr-scr {
  aspect-ratio: 1200/680;
}

/* Hero, 29 Oct: a front-on MacBook drawn in code (no photo, so nothing to blur or break). Lid = dark bezel with the screen flat inside; base = thin aluminium bar with the lid notch. The level pill sits under it. */
body.page-schools .band-hero.side figure.hlap.hero-devices {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  margin: 0;
  translate: none;
  mix-blend-mode: normal;
  align-self: center;
  min-height: 0;
}
body.page-schools .hlap-lid {
  position: relative;
  width: 93%;
  padding: 1.9% 1.9% 2.1%;
  border-radius: 1.6em 1.6em 0.5em 0.5em;
  background: linear-gradient(180deg, #171718, #0e0e0f);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 #2a2a2c;
}
body.page-schools .hlap-cam {
  position: absolute;
  left: 50%;
  top: 0.95%;
  width: 0.9%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: #0a0a0b;
  box-shadow:
    inset 0 0 0 1px #262628,
    0 0 0 1px #141415;
}
body.page-schools .hlap-scr {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200/750;
  border-radius: 0.55em;
  background: #f3f4f4;
  box-shadow: 0 0 0 1px #000;
}
body.page-schools .hlap-scr .dv {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
body.page-schools .hlap-base {
  position: relative;
  width: 100%;
  height: 1.35em;
  border-radius: 0 0 0.9em 0.9em;
  background: linear-gradient(180deg, #f1f1f3 0, #d7d7da 38%, #bfbfc3 70%, #8e8e93 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 0 #6f6f74,
    0 22px 40px -22px rgba(60, 35, 10, 0.5);
}
body.page-schools .hlap-base::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: linear-gradient(90deg, #b9b9be, #f4f4f6 6%, #e9e9ec 94%, #b9b9be);
}
body.page-schools .hlap-base i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 13%;
  height: 34%;
  translate: -50% 0;
  border-radius: 0 0 0.45em 0.45em;
  background: linear-gradient(180deg, #a6a6ab, #cfcfd3);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}
body.page-schools .hlap {
  font-size: clamp(8px, 0.7vw, 11px);
}
body.page-schools .band-hero.side .hlap .hero-levels {
  position: static;
  translate: none;
  margin-top: 22px;
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hlap.hero-devices {
    width: 108%;
    justify-self: end;
    margin-right: -4%;
  }
}
@media (max-width: 1024px) {
  body.page-schools .hlap {
    font-size: 7px;
  }
  body.page-schools .band-hero.side .hlap .hero-levels {
    margin-top: 16px;
  }
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hlap.hero-devices {
    width: 100%;
    margin-right: -1.5%;
  }
}
/* a touch smaller, per Max */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hlap.hero-devices {
    width: 92%;
    margin-right: 0;
  }
}

/* Tlap1 10-29: laptop ~12% smaller, right edge kept, more room between copy and screen */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hlap.hero-devices {
    width: 82%;
    justify-self: end;
    translate: 0 24px;
  }
  body.page-schools .band-hero.side .hero-levels {
    left: 50%;
  }
}
/* Max 10-29: laptop pulled in from the right edge by the same 2.6vw the copy is inset, so the hero sits balanced */
@media (min-width: 1025px) {
  body.page-schools .band-hero.side figure.hlap.hero-devices {
    margin-right: 2.6vw;
  }
}
body.page-schools .hlap-scr {
  background: #101010;
}
body.page-schools .hlap-scr .dv {
  background: transparent !important;
}
body.page-schools .hlap-scr {
  box-shadow: none;
}
/* Max 10-29: feedback subline sits on the heading's baseline, not up at its first line */
body.page-schools .fieldboard .fb-head p {
  align-self: end;
  margin: 0 0 10px;
}
/* Max 10-29: "Capyo serves..." on one line */
@media (min-width: 1025px) {
  body.page-schools .sch-flags .flags-note {
    max-width: none;
    white-space: nowrap;
  }
}
/* Max 10-29: no orange wash and no fade from the section above; a calm, centred close */
body.page-schools .closing {
  background: var(--page);
  padding: clamp(88px, 9vw, 140px) 0;
}
body.page-schools .closing::before {
  display: none;
}
body.page-schools .closing > .wrap {
  text-align: center;
}
body.page-schools .closing h2,
body.page-schools .closing .lede {
  margin-inline: auto;
}
body.page-schools .closing .lede {
  max-width: 640px;
}
body.page-schools .closing .actions {
  justify-content: center;
}
/* demo video is 16:9 */
body.page-schools .sl-frame {
  width: min(calc(100vw - 32px), calc(min(84vh, 900px) * 16 / 9), 1400px);
  aspect-ratio: 16/9;
  background: #faf8f5;
}
body.page-schools .sl-frame video {
  object-fit: contain;
}
/* How we deliver: as the step line scrolls up, the dash before each step fills, then that step lights up */
body.page-schools #deliver .dline li {
  --q: clamp(0, calc(var(--p, 1) * 4.4 - var(--k, 0)), 1);
}
body.page-schools #deliver .dline .n {
  opacity: calc(0.28 + clamp(0, calc((var(--q) - 0.45) / 0.55), 1) * 0.72);
  scale: calc(0.84 + clamp(0, calc((var(--q) - 0.45) / 0.55), 1) * 0.16);
}
body.page-schools #deliver .dline h3 {
  opacity: calc(0.4 + clamp(0, calc((var(--q) - 0.45) / 0.55), 1) * 0.6);
}
body.page-schools #deliver .dline li + li::before {
  transform-origin: 0 50%;
  scale: clamp(0, calc(var(--q) * 2.2), 1) 1;
}

/* Max 10-29 review: learners line sits closer under the heading */
body.page-schools .sch-flags .flags-note {
  margin-top: 6px;
}
/* Max 10-29 review 2: tutor explanation icons and the graph's equation in ink, not orange */
body.page-schools #students .xp .ic svg {
  color: var(--ink);
}
body.page-schools #students .gsvg .eq {
  fill: var(--ink);
}
/* Max 10-29 review 2: no light fringe where the dark high school / uni screens meet the rounded bezel */
body.page-schools .hlap-scr::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px #101010;
  pointer-events: none;
}
/* Max 10-29 review 3: the closing is the little card again, the hero's soft shading inside it, centred; nothing fades in from the section above */
body.page-schools .closing {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px);
  background: var(--page);
}
body.page-schools .closing::before,
body.page-schools .closing::after {
  display: none;
}
body.page-schools .closing > .wrap {
  position: relative;
  padding: clamp(56px, 6vw, 88px) clamp(28px, 5vw, 80px) clamp(96px, 10vw, 140px);
  border-radius: 24px;
  background: #fff1e0 url('/assets/img/schools/hero-background.webp') center bottom/cover no-repeat;
  overflow: hidden;
  text-align: center;
}
body.page-schools .closing h2 {
  max-width: 900px;
  margin-inline: auto;
}
body.page-schools .closing .lede {
  max-width: 620px;
  margin-inline: auto;
}
body.page-schools .closing .actions {
  justify-content: center;
}
body.page-schools .closing .lede {
  max-width: 700px;
  text-wrap: balance;
}

/* Hero level pill, refined: clean frosted track instead of the brown tint, crisper white thumb. */
body.page-schools .hero-levels {
  padding: 4px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(120, 60, 10, 0.06),
    0 8px 24px -12px rgba(120, 60, 10, 0.28);
}
body.page-schools .hero-levels button {
  font-weight: 500;
  color: rgba(18, 24, 21, 0.55);
  transition:
    color 0.2s cubic-bezier(0.2, 0, 0, 1),
    background-color 0.2s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1);
}
body.page-schools .hero-levels button:hover {
  color: var(--ink);
}
body.page-schools .hero-levels button[aria-pressed='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(18, 24, 21, 0.05),
    0 1px 2px rgba(18, 24, 21, 0.08),
    0 3px 8px -3px rgba(60, 35, 10, 0.18);
}
body.page-schools .hero-levels button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
@media (max-width: 1024px) {
  body.page-schools .br-desk {
    display: none;
  }
}
@media (min-width: 1025px) {
  body.page-schools .band-hero.side .lede {
    font-size: clamp(17px, 1.44vw, 21px);
  }
}
@media (min-width: 1025px) {
  body.page-schools #deliver .dl-note {
    max-width: none;
    text-wrap: nowrap;
  }
}

/* How Capyo works: tidy steps + tutor picker that fits */
body.page-schools #how .jr-steps .row-item p {
  text-wrap: balance;
}
body.page-schools #how .pj .pj-menu {
  bottom: 138px;
  gap: 0;
}
body.page-schools #how .pj .pj-opt {
  height: 38px;
}
body.page-schools #how .pj .pj-opt .av {
  width: 30px;
  height: 30px;
  clip-path: circle(50%);
}
body.page-schools #how .pj .pj-opt .av img {
  height: 48px;
  bottom: -13px;
}

/* Build your course: optical left edge for the big Y */
body.page-schools #how .how-title {
  margin-left: -0.06em;
}

/* 11-05 copy pass: the line under the headline is now one line; spread the freed space so the panel (same size) stays balanced */
@media (min-width: 1025px) {
  body.page-schools #students #side-stu .langs {
    position: relative;
  }
}
@media (max-width: 1024px) {
  body.page-schools #students #side-stu .langs {
    margin-top: 24px;
  }
}

/* 11-05 teacher cards, one system (Max): beige well + one white panel (same radius and soft shadow as the student Lessons card),
   initials avatars instead of cartoon faces, line icons instead of emoji/3D icons, mini Capy assistant, new book cover style */
body.page-schools #students #slide-tch .tav {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  background: #fde3cf;
  color: #9a3d00;
  box-shadow: none;
  overflow: hidden;
}
body.page-schools #students #slide-tch .tav[data-c='s'] {
  background: #f4e6c6;
  color: #7a5512;
}
body.page-schools #students #slide-tch .tav[data-c='g'] {
  background: #dcebd9;
  color: #2e6a3a;
}
body.page-schools #students #slide-tch .tav[data-c='b'] {
  background: #dbe7f3;
  color: #2c5784;
}
body.page-schools #students #slide-tch .tav[data-c='r'] {
  background: #f6dfe3;
  color: #8c3a4b;
}
body.page-schools #students #slide-tch .tav[data-c='k'] {
  background: var(--ink);
  color: #fff;
}

/* teaching assistant: mini Capy, no emoji pills, quiz file sits flat in the bubble, send button in ink */
body.page-schools #students #slide-tch .ta-hero {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3.5px rgba(18, 24, 21, 0.12);
}
body.page-schools #students #slide-tch .ta-av {
  box-shadow: 0 0 0 2px #fff;
}
body.page-schools #students #slide-tch .ta-pill {
  padding-left: 14px;
  padding-right: 14px;
}
body.page-schools #students #slide-tch .ta-file {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.1);
}
body.page-schools #students #slide-tch .ta-doc {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-schools #students #slide-tch .ta-go {
  background: var(--ink);
  opacity: 1;
}

/* class data: the list sits on one white panel, initials avatars, line status icons */
body.page-schools #students #slide-tch .cd-v {
  inset: 10px;
  padding: 12px 10px 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(120, 50, 0, 0.28);
}
body.page-schools #students #slide-tch .cd-av {
  width: 28px;
  height: 28px;
}
body.page-schools #students #slide-tch .cd-pic .cd-av {
  width: 40px;
  height: 40px;
  font-size: 15px;
}
body.page-schools #students #slide-tch .cd-lb svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-schools #students #slide-tch .ic-ok {
  stroke: #2e7d4a;
}
body.page-schools #students #slide-tch .ic-al {
  stroke: var(--orange);
}

/* textbook: cover set like the new Capyo book series (wordmark top, big title, Capy at the foot) */
body.page-schools #students #slide-tch .tb-face {
  display: flex;
  flex-direction: column;
}
body.page-schools #students #slide-tch .tb-face .tb-mk {
  order: 0;
  margin: 0 0 26px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  opacity: 0.9;
}
body.page-schools #students #slide-tch .tb-face strong {
  margin-top: 0;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
body.page-schools #students #slide-tch .tb-face small {
  margin-top: 12px;
  font-size: 24px;
  opacity: 0.85;
}
body.page-schools #students #slide-tch .tb-face {
  overflow: hidden;
}
body.page-schools #students #slide-tch .tb-capy {
  position: absolute;
  right: -4px;
  bottom: -14px;
  width: 178px;
  height: 178px;
  object-fit: contain;
}
body.page-schools #students #slide-tch .mini[dir='rtl'] .tb-capy {
  right: auto;
  left: -4px;
  transform: scaleX(-1);
}

/* live classes: initials tiles, the answer reads as text not a filled chip */
body.page-schools #students #slide-tch .ans {
  padding: 0 2px;
  background: none;
  color: var(--orange);
}

/* assignment overview: initials, line icons, same panel shadow as the rest */
body.page-schools #students #slide-tch .ao-ava {
  font-size: 13px;
}
body.page-schools #students #slide-tch .ao-st .ao-ava {
  font-size: 11px;
}
body.page-schools #students #slide-tch .ao-sum {
  box-shadow: 0 8px 20px -14px rgba(120, 50, 0, 0.28);
}
body.page-schools #students #slide-tch .ao-i svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease);
}
body.page-schools #students #slide-tch .ao-i .i0 {
  stroke: rgba(18, 24, 21, 0.3);
}
body.page-schools #students #slide-tch .ao-i .i1 {
  stroke: #2e7d4a;
}
body.page-schools #students #slide-tch .cd-row {
  height: 35px;
}
body.page-schools #students #slide-tch .cd-tl img {
  display: none;
}
/* 11-05 quiz file: one compact row (icon, name, count, Add to class), sized to its content */
body.page-schools #students #slide-tch .ta.s-say .ta-file {
  display: inline-flex;
}
body.page-schools #students #slide-tch .ta-file {
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: 8px;
  padding: 5px 5px 5px 9px;
  border-radius: 9px;
  white-space: nowrap;
}
body.page-schools #students #slide-tch .ta-doc {
  width: 16px;
  height: 16px;
}
body.page-schools #students #slide-tch .ta-acts {
  width: auto;
  margin: 0 0 0 6px;
}
body.page-schools #students #slide-tch .ta-file small {
  display: none;
}
body.page-schools #students #slide-tch .ta-acts em:first-child {
  display: none;
}
body.page-schools #students #slide-tch .ta-acts em:not(.pri) {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
@media (max-width: 1024px) {
  body.page-schools #students #slide-tch .ta-file small {
    display: none;
  }
  body.page-schools #students #slide-tch .ta-me,
  body.page-schools #students #slide-tch .ta-re {
    font-size: 13px;
    line-height: 1.3;
  }
  body.page-schools #students #slide-tch .ta-file {
    margin-top: 0;
  }
  body.page-schools #students #slide-tch .ta.s-say .ta-say {
    display: none;
  }
  body.page-schools #students #slide-tch .ta.s-say .ta-re {
    padding: 6px 6px 6px 12px;
  }
  body.page-schools #students #slide-tch .ta.s-say .ta-file {
    padding: 0;
    box-shadow: none;
  }
  body.page-schools #students #slide-tch .ta-file {
    gap: 5px;
  }
  body.page-schools #students #slide-tch .ta-doc {
    display: none;
  }
  body.page-schools #students #slide-tch .ta-acts {
    gap: 4px;
    margin-left: 4px;
  }
  body.page-schools #students #slide-tch .ta-acts em {
    padding: 4px 8px;
    font-size: 11.5px;
  }
}
/* 11-05 class data, direction A (Max): who needs you. Two white student cards with the reason, the rest of the class as a stack */
body.page-schools #students #slide-tch .cd-v.cd-list {
  inset: 0;
  padding: 14px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.page-schools #students #slide-tch .cd-hd {
  padding: 0 2px 10px;
}
body.page-schools #students #slide-tch .cd-hd b {
  font-weight: 600;
}
body.page-schools #students #slide-tch .cd-list .cd-row {
  height: auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(120, 50, 0, 0.28);
}
body.page-schools #students #slide-tch .cd-list .cd-av {
  width: 34px;
  height: 34px;
}
body.page-schools #students #slide-tch .cd-list .cd-nm {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
body.page-schools #students #slide-tch .cd-list .cd-nm b {
  font-size: 14px;
  font-weight: 600;
}
body.page-schools #students #slide-tch .cd-list .cd-nm small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
body.page-schools #students #slide-tch .cd-list .cd-g {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}
body.page-schools #students #slide-tch .cd-rest {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 2px 0;
  font-size: 13px;
  color: var(--muted);
}
body.page-schools #students #slide-tch .cd-stack {
  display: flex;
}
body.page-schools #students #slide-tch .cd-stack .cd-mini {
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 2px #f6ead8;
}
body.page-schools #students #slide-tch .cd-stack .cd-mini + .cd-mini {
  margin-left: -7px;
}
body.page-schools #students #slide-tch .cd-v.cd-one {
  background: #fff;
}
body.page-schools #students #slide-tch .cd-chip,
body.page-schools #students #slide-tch .cd-chip.warn {
  padding: 3px 8px;
  border-radius: 6px;
  background: #fdeedd;
  color: var(--orange);
  font-size: 11.5px;
}
body.page-schools #students #slide-tch .cd-who b {
  font-weight: 600;
}
body.page-schools #students #slide-tch .cd-v.cd-list {
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px;
}
body.page-schools #students #slide-tch .cd-list .cd-row {
  padding: 13px 14px;
  margin-bottom: 10px;
}
body.page-schools #students #slide-tch .cd-rest {
  margin-top: auto;
}
@media (max-width: 1024px) {
  body.page-schools #students #slide-tch .cd-list .cd-nm small {
    white-space: normal;
    line-height: 1.3;
  }
}
@media (max-width: 1024px) {
  body.page-schools #students #slide-tch .cd-list .cd-nm small {
    text-wrap: balance;
  }
}

/* 11-05 teacher tab layout 4 (Max pick): assistant runs the full height on the left, the other four in an even 2 by 2 */
@media (min-width: 1025px) {
  body.page-schools #students #slide-tch .fcards {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
  body.page-schools #students #slide-tch .fcard.wide {
    grid-column: auto;
    grid-row: span 2;
  }
  body.page-schools #students #slide-tch .fcard.wide .mini {
    flex: 1;
    height: auto;
    min-height: 252px;
  }
  /* tall card: the conversation sits in the middle at a reading size, not stuck to the floor */
  body.page-schools #students #slide-tch .ta-chat {
    justify-content: flex-end;
    gap: 14px;
    bottom: 92px;
    top: 24px;
  }
  body.page-schools #students #slide-tch .ta-me,
  body.page-schools #students #slide-tch .ta-re {
    font-size: 15.5px;
    line-height: 1.4;
  }
  body.page-schools #students #slide-tch .ta-me {
    padding: 11px 16px;
  }
  body.page-schools #students #slide-tch .ta-re {
    padding: 12px 16px;
  }
  body.page-schools #students #slide-tch .ta-av {
    width: 38px;
    height: 38px;
  }
  body.page-schools #students #slide-tch .ta-hero {
    width: 84px;
    height: 84px;
  }
  body.page-schools #students #slide-tch .ta-h {
    font-size: 24px;
  }
  body.page-schools #students #slide-tch .ta-empty {
    gap: 12px;
  }
  body.page-schools #students #slide-tch .ta-in {
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 52px;
  }
  body.page-schools #students #slide-tch .tb-ok {
    white-space: nowrap;
    font-size: 11.5px;
  }
  body.page-schools #students #slide-tch .tb-cover {
    width: 112px;
  }
  body.page-schools #students #slide-tch .tb-st {
    transform: scale(calc(112 / 380));
  }
  body.page-schools #students #slide-tch .ta-chat {
    top: 84px;
  }
  body.page-schools #students #slide-tch .ta-top {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.45s ease,
      transform 0.45s ease;
  }
  body.page-schools #students #slide-tch .ta.s-chat .ta-top {
    opacity: 1;
    transform: none;
  }
  body.page-schools #students #slide-tch .ta-top img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
  body.page-schools #students #slide-tch .ta-top span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }
  body.page-schools #students #slide-tch .ta-top b {
    font-size: 14.5px;
    font-weight: 600;
  }
  body.page-schools #students #slide-tch .ta-top small {
    font-size: 12.5px;
    color: var(--muted);
  }
}
@media (max-width: 1024px) {
  body.page-schools #students #slide-tch .ta-top {
    display: none;
  }
}
body.page-schools #students #slide-tch .cd-list .cd-nm small {
  white-space: normal;
  text-wrap: balance;
  line-height: 1.3;
}

/* 11-05 student tab gets the same layout 4 (Max): subject tutor tall on the left, the other four in an even 2 by 2 */
@media (min-width: 1025px) {
  body.page-schools #students #slide-stu .fcards {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
  body.page-schools #students #slide-stu .fcard.wide {
    grid-column: auto;
    grid-row: span 2;
  }
  body.page-schools #students #slide-stu .fcard.wide .mini {
    flex: 1;
    height: auto;
    min-height: 252px;
  }
}
/* 11-05 tall tutor card (Tsec1): same anatomy as the teacher card. Name pill on top, the chat sits above the message box,
   and the tutor's work (the graph, the history notes) arrives as a white panel while the conversation lifts out of its way. */
body.page-schools #students #slide-stu .tu-top,
body.page-schools #students #slide-stu .tu-in {
  display: none;
}
@media (min-width: 1025px) {
  body.page-schools #students #slide-stu .tu-top {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
  }
  body.page-schools #students #slide-stu .tu-top img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 50%;
    background: #efdcc0;
    box-shadow: 0 0 0 2px #fff;
  }
  body.page-schools #students #slide-stu .tu-top span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }
  body.page-schools #students #slide-stu .tu-top b {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
  }
  body.page-schools #students #slide-stu .tu-top small {
    font-size: 12.5px;
    color: var(--muted);
  }
  body.page-schools #students #slide-stu .tu-in {
    display: flex;
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 52px;
    z-index: 3;
  }
  body.page-schools #students #slide-stu .tu-in .ta-ph {
    font-size: 14.5px;
  }
  /* the chat: full width, anchored above the message box, student on the right, tutor on the left */
  body.page-schools #students #slide-stu .tut .tc-chat {
    left: 22px;
    right: 22px;
    top: 84px;
    bottom: 92px;
    width: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    opacity: 1;
    transform: none;
    pointer-events: none;
    transition: transform 0.8s var(--ease);
  }
  body.page-schools #students #slide-stu .tut .tc-q {
    justify-content: flex-end;
  }
  body.page-schools #students #slide-stu .tut .bub {
    font-size: 15.5px;
    line-height: 1.4;
    padding: 11px 16px;
    text-wrap: balance;
  }
  body.page-schools #students #slide-stu .tut .bub.me {
    align-self: auto;
    border-radius: 20px;
    border-bottom-right-radius: 6px;
  }
  body.page-schools #students #slide-stu .tut .tc-a .bub {
    border-bottom-left-radius: 6px;
  }
  body.page-schools #students #slide-stu .tut .tc-row img,
  body.page-schools #students #slide-stu .tut .tc-row .ava {
    width: 38px;
    height: 38px;
  }
  body.page-schools #students #slide-stu .tut.s-g .tc-chat {
    opacity: 1;
    transform: translateY(-282px);
  }
  body.page-schools #students #slide-stu .tut.s-g .sc-hist .tc-chat {
    transform: translateY(-240px);
  }
  /* the graph: a white panel in the lower half, drawn for that shape so every label and tick is inside it */
  body.page-schools #students #slide-stu .tut .gsvg {
    top: auto;
    left: 22px;
    right: 22px;
    bottom: 92px;
    width: auto;
    height: 270px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px -14px rgba(120, 50, 0, 0.28);
    transform: translateY(14px);
    transition:
      opacity 0.5s ease,
      transform 0.8s var(--ease);
  }
  body.page-schools #students #slide-stu .tut.s-g .gsvg {
    transform: none;
  }
  body.page-schools #students #slide-stu .gsvg .tk text {
    font-size: 12px;
  }
  body.page-schools #students #slide-stu .gsvg .eq {
    font-size: 17px;
  }
  body.page-schools #students #slide-stu .gsvg .pt text {
    font-size: 13px;
  }
  /* the history notes: the same white panel, the follow-up question under it */
  body.page-schools #students #slide-stu .xp {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 92px;
    width: auto;
    max-width: none;
    transform: translateY(14px);
    transition:
      opacity 0.5s ease 0.2s,
      transform 0.8s var(--ease) 0.2s;
  }
  body.page-schools #students #slide-stu .tut.s-g .xp {
    transform: none;
  }
  body.page-schools #students #slide-stu .xp > img {
    display: none;
  }
  body.page-schools #students #slide-stu .xp .xcol {
    width: 100%;
    gap: 10px;
  }
  body.page-schools #students #slide-stu .xp .xb {
    width: 100%;
    border-radius: 14px;
    padding: 14px 16px;
  }
  body.page-schools #students #slide-stu .xp ol {
    gap: 8px;
  }
  body.page-schools #students #slide-stu .xp li {
    font-size: 15.5px;
  }
  body.page-schools #students #slide-stu .xp .xq {
    border-radius: 20px;
    border-bottom-left-radius: 6px;
    font-size: 15.5px;
    font-weight: 500;
    padding: 11px 16px;
  }
}
/* phone: the history notes fit inside the 252px card (they overflowed the top before) */
@media (max-width: 600px) {
  body.page-schools #students #slide-stu .xp {
    max-width: 94%;
    gap: 8px;
  }
  body.page-schools #students #slide-stu .xp img {
    width: 44px;
    height: 44px;
  }
  body.page-schools #students #slide-stu .xp .xb {
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.3;
  }
  body.page-schools #students #slide-stu .xp ol {
    gap: 5px;
  }
  body.page-schools #students #slide-stu .xp li {
    gap: 10px;
  }
  body.page-schools #students #slide-stu .xp .ic {
    width: 34px;
    height: 34px;
  }
  body.page-schools #students #slide-stu .xp .ic svg {
    width: 21px;
    height: 21px;
  }
  body.page-schools #students #slide-stu .xp .xq {
    padding: 8px 14px;
    font-size: 14.5px;
    border-radius: 16px;
    border-bottom-left-radius: 6px;
  }
}

/* 11-05 section head, Max pick A (Tsec1): no panel, no wash. Headline left, line and language chips right, tabs sit on the cards. */
body.page-schools #students .stu-stage {
  display: flex;
  flex-direction: column;
}
body.page-schools #students .stu-head,
body.page-schools #students .stu-head {
  background: none;
  border-radius: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 0;
  align-items: end;
  text-align: start;
  justify-content: stretch;
}
body.page-schools #students .stu-head > div:first-child,
body.page-schools #students .stu-head > div:last-child {
  translate: none;
  margin: 0;
  padding: 0;
}
body.page-schools #students .stu-head h2 {
  translate: none;
  margin: 0;
  width: auto;
  max-width: none;
  white-space: normal;
  text-align: start;
  font-size: clamp(40px, 4.4vw, 66px);
  line-height: 0.98;
}
body.page-schools #students .stu-head h2 br {
  display: block;
}
body.page-schools #students .stu-head h2 .wsp {
  display: none;
}
body.page-schools #students .stu-head h2[data-wide] br {
  display: block;
}
body.page-schools #students .stu-head h2[data-wide] .wsp {
  display: none;
}
body.page-schools #students .stu-sides {
  justify-items: start;
}
body.page-schools #students .stu-side .lede {
  max-width: none;
  margin: 0 0 4px;
  text-wrap: pretty;
}
body.page-schools #students #side-stu .langs,
body.page-schools #students #side-tch .langs {
  position: static;
  translate: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  max-width: none;
  margin-top: 18px;
  white-space: normal;
}
body.page-schools #students .lang,
body.page-schools #students button.lang {
  min-height: 40px;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.09);
}
body.page-schools #students .lang:not(.is-on):hover {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.3);
}
body.page-schools #students .lang.is-on {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
body.page-schools #students .langs-more {
  margin: 0 0 0 4px;
  font-size: 15px;
  color: var(--muted);
}
body.page-schools #students .stu-tabs {
  position: static;
  translate: none;
  top: auto;
  left: auto;
  margin: 40px 0 0;
  align-self: flex-start;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.09);
}
body.page-schools #students .stu-tab {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
}
body.page-schools #students .stu-tab.is-on {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
body.page-schools #students .fcards {
  margin-top: 16px;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    min-height: 0;
    height: auto;
    row-gap: 0;
  }
  body.page-schools #students .stu-head h2 {
    font-size: clamp(38px, 9.6vw, 48px);
  }
  body.page-schools #students .stu-side .lede {
    margin-top: 18px;
  }
  body.page-schools #students .stu-tabs {
    margin-top: 28px;
    align-self: flex-start;
  }
  body.page-schools #students .fcards {
    margin-top: 16px;
  }
}
body.page-schools #students .stu-side {
  align-self: end;
}
body.page-schools #students .lang,
body.page-schools #students button.lang {
  padding: 8px 12px;
  font-size: 14.5px;
  min-height: 38px;
}
body.page-schools #students #side-stu .langs,
body.page-schools #students #side-tch .langs {
  gap: 6px;
}
body.page-schools #students .langs-more {
  white-space: nowrap;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-sides {
    margin-top: 18px;
  }
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head > div:last-child {
    margin-top: 18px;
  }
}

/* 11-05 section head, Max pick 3 of the lab (Tsec1): centered and quiet. One line of type, one muted line of languages, text tabs. */
body.page-schools #students .stu-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 0;
}
body.page-schools #students .stu-head > div:first-child,
body.page-schools #students .stu-head > div:last-child {
  margin: 0;
  padding: 0;
  width: 100%;
}
body.page-schools #students .stu-head h2 {
  text-align: center;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  white-space: nowrap;
}
body.page-schools #students .stu-head h2 br,
body.page-schools #students .stu-head h2[data-wide] br {
  display: none;
}
body.page-schools #students .stu-head h2 .wsp,
body.page-schools #students .stu-head h2[data-wide] .wsp {
  display: inline;
}
body.page-schools #students .stu-sides {
  justify-items: center;
  margin-top: 20px;
}
body.page-schools #students .stu-side {
  align-self: start;
  text-align: center;
}
body.page-schools #students .stu-side .lede {
  margin: 0;
  text-align: center;
}
body.page-schools #students #side-stu .langs,
body.page-schools #students #side-tch .langs {
  justify-content: center;
  gap: 0 16px;
  margin-top: 12px;
  align-items: baseline;
}
body.page-schools #students .lang,
body.page-schools #students button.lang {
  min-height: 0;
  min-width: 0;
  padding: 2px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 16px;
  color: var(--muted);
}
body.page-schools #students .lang:not(.is-on):hover {
  background: none;
  box-shadow: none;
  color: var(--ink);
}
body.page-schools #students .lang.is-on {
  background: none;
  color: var(--ink);
  font-weight: 600;
  box-shadow: none;
}
body.page-schools #students .langs-more {
  margin: 0;
  font-size: 16px;
}
body.page-schools #students .stu-tabs {
  align-self: center;
  margin: 48px 0 0;
  padding: 0;
  gap: 32px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.page-schools #students .stu-tab {
  min-height: 0;
  padding: 0 0 10px;
  border-radius: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--muted);
  background: none;
}
body.page-schools #students .stu-tab.is-on {
  background: none;
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--orange);
}
body.page-schools #students .stu-tab:not(.is-on):hover {
  color: var(--ink);
}
body.page-schools #students .fcards {
  margin-top: 18px;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head {
    align-items: center;
  }
  body.page-schools #students .stu-head h2 {
    font-size: clamp(34px, 9vw, 48px);
    white-space: normal;
    line-height: 1.02;
  }
  body.page-schools #students .stu-head > div:last-child {
    margin-top: 16px;
  }
  body.page-schools #students #side-stu .langs,
  body.page-schools #students #side-tch .langs {
    gap: 4px 14px;
  }
  body.page-schools #students .stu-tabs {
    margin-top: 36px;
    align-self: center;
  }
}

/* 11-05 Max: the section is split in two. #students = title + tabs + cards. #languages (after Early feedback) = the language line and the language row. */
body.page-schools #students .stu-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
  min-height: 0;
  height: auto;
}
body.page-schools #students .stu-head h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1;
  white-space: normal;
  text-wrap: balance;
  max-width: 14em;
}
body.page-schools #students .stu-tabs {
  margin-top: 36px;
}
body.page-schools #languages .lg-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.page-schools #languages h2 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center;
}
body.page-schools #languages h2 em {
  font-style: normal;
  color: var(--orange);
}
body.page-schools #languages h2 .cycle {
  justify-items: start;
  text-align: start;
}
body.page-schools #languages h2 br {
  display: none;
}
body.page-schools #languages h2 .wsp {
  display: inline;
}
body.page-schools #languages .lede {
  margin: 22px auto 0;
  max-width: 640px;
  text-align: center;
  text-wrap: pretty;
}
body.page-schools #languages .langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 22px;
}
body.page-schools #languages .lang,
body.page-schools #languages button.lang {
  border: 0;
  padding: 2px 0;
  background: none;
  font: inherit;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}
body.page-schools #languages .lang:hover {
  color: var(--ink);
}
body.page-schools #languages .lang.is-on {
  color: var(--ink);
  font-weight: 600;
}
body.page-schools #languages .lang:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
body.page-schools #languages .langs-more {
  font-size: 16px;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-head h2 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.02;
  }
  body.page-schools #students .stu-tabs {
    margin-top: 28px;
  }
  body.page-schools #languages h2 {
    font-size: clamp(34px, 9.4vw, 48px);
    line-height: 1.02;
    white-space: normal;
  }
  body.page-schools #languages h2 br {
    display: block;
  }
  body.page-schools #languages h2 .wsp {
    display: none;
  }
  body.page-schools #languages .lede {
    margin-top: 16px;
  }
}
body.page-schools #languages {
  padding-bottom: clamp(40px, 5vw, 72px);
}
body.page-schools #languages .lede {
  max-width: 720px;
}

/* 11-05 Max: no separate language section. One big line under the cards says it, the language row under that switches the cards above. */
body.page-schools #languages {
  display: none;
}
body.page-schools #students .stu-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: clamp(48px, 5vw, 72px);
}
body.page-schools #students .stu-big {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}
body.page-schools #students .stu-big em {
  font-style: normal;
  color: var(--orange);
}
body.page-schools #students .stu-big .cycle {
  justify-items: start;
  text-align: start;
}
body.page-schools #students .stu-lang .langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 18px;
}
body.page-schools #students .stu-lang .lang,
body.page-schools #students .stu-lang button.lang {
  border: 0;
  min-height: 0;
  min-width: 0;
  padding: 2px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}
body.page-schools #students .stu-lang .lang:hover {
  color: var(--ink);
  background: none;
  box-shadow: none;
}
body.page-schools #students .stu-lang .lang.is-on {
  color: var(--ink);
  font-weight: 600;
  background: none;
  box-shadow: none;
}
body.page-schools #students .stu-lang .langs-more {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-lang {
    margin-top: 40px;
  }
  body.page-schools #students .stu-big {
    font-size: clamp(28px, 7.4vw, 40px);
    white-space: normal;
    text-wrap: balance;
  }
}

/* 11-05 Max "fix this": the tabs are the title. Screen-reader heading stays, the two big words do the job on screen. */
body.page-schools #students .stu-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
body.page-schools #students .stu-tabs {
  margin: 0;
  gap: clamp(28px, 3vw, 48px);
  align-self: center;
  justify-content: center;
}
body.page-schools #students .stu-tab {
  padding: 0 0 12px;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: rgba(18, 24, 21, 0.28);
  transition:
    color 0.35s ease,
    box-shadow 0.35s ease;
}
body.page-schools #students .stu-tab:not(.is-on):hover {
  color: rgba(18, 24, 21, 0.55);
}
body.page-schools #students .stu-tab.is-on {
  color: var(--ink);
  box-shadow: inset 0 -4px 0 var(--orange);
}
body.page-schools #students .stu-tab::before {
  inset: -10px -8px;
}
body.page-schools #students .fcards {
  margin-top: 40px;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-tabs {
    gap: 20px;
    margin: 0;
  }
  body.page-schools #students .stu-tab {
    font-size: clamp(26px, 7.2vw, 34px);
    padding-bottom: 8px;
  }
  body.page-schools #students .stu-tab.is-on {
    box-shadow: inset 0 -3px 0 var(--orange);
  }
  body.page-schools #students .fcards {
    margin-top: 28px;
  }
}
body.page-schools #students .stu-big {
  white-space: normal;
  text-wrap: balance;
  max-width: 960px;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}
@media (max-width: 1024px) {
  body.page-schools #students .stu-big {
    font-size: clamp(22px, 5.8vw, 30px);
  }
}

/* 11-10 T9303 (Max): deliver sits a little lower under the hero */
body.page-schools #deliver {
  padding-top: clamp(56px, 6.8vw, 104px);
}
/* 11-10 T9303 (Max): step bar folded into the body copy */
body.page-schools #deliver .dl-top {
  gap: 0;
}
body.page-schools #deliver .dl-head .lede {
  max-width: 840px;
  margin-top: 16px;
  text-wrap: balance;
}

/* 11-10 T9303 (Max mockup): build-your-course steps: big titles on a rail, the live step lifts into a soft orange pill and alone shows its line */
body.page-schools #how .jr-steps {
  position: relative;
  gap: 6px;
  padding: 0 6px;
}
body.page-schools #how .jr-steps::before {
  content: '';
  position: absolute;
  left: calc(6px + 22px + 18px - 1px);
  top: 40px;
  bottom: 40px;
  width: 2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--orange) 18%, var(--paper));
}
body.page-schools #how .jr-steps .row-item {
  position: relative;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto 0fr;
  column-gap: 22px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 22px;
  cursor: pointer;
  transition:
    background-color 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-schools #how .jr-steps .row-item.is-on {
  grid-template-rows: auto 1fr;
  background: color-mix(in srgb, var(--orange) 9%, var(--paper));
}
body.page-schools #how .jr-steps .row-item .n {
  grid-row: 1;
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  font-size: 15px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--orange) 34%, var(--paper));
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    scale 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-schools #how .jr-steps .row-item.is-on .n {
  background: var(--orange);
  color: var(--paper);
  box-shadow: none;
  scale: 1.12;
}
body.page-schools #how .jr-steps .row-item h3 {
  grid-column: 2;
  font-size: clamp(22px, 1.8vw, 27px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.15;
  color: color-mix(in srgb, var(--ink) 78%, var(--paper));
}
body.page-schools #how .jr-steps .row-item p {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 340px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.page-schools #how .jr-steps .row-item.is-on p {
  margin-top: 8px;
  opacity: 1;
  transition: opacity 0.4s ease 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools #how .jr-steps .row-item,
  body.page-schools #how .jr-steps .row-item p,
  body.page-schools #how .jr-steps .row-item .n {
    transition: none;
  }
}
@media (max-width: 1024px) {
  body.page-schools #how .jr-steps .row-item {
    padding: 14px 16px;
  }
  body.page-schools #how .jr-steps::before {
    left: calc(6px + 16px + 18px - 1px);
  }
  body.page-schools #how .jr-steps .row-item h3 {
    font-size: 21px;
  }
  body.page-schools #how .jr-steps .row-item p {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  body.page-schools #how .how-steps {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.page-schools #how .jr-steps {
    padding: 0;
  }
  body.page-schools #how .jr-steps::before {
    left: calc(14px + 18px - 1px);
  }
  body.page-schools #how .jr-steps .row-item {
    padding: 12px 14px;
    column-gap: 16px;
  }
  body.page-schools #how .jr-steps .row-item h3 {
    font-size: 19px;
  }
}
/* 11-10 T9303 (Max): less orange, lighter titles: white lift instead of orange pill, ink number and title */
body.page-schools #how .jr-steps::before {
  background: rgba(60, 36, 16, 0.12);
}
body.page-schools #how .jr-steps .row-item.is-on {
  background: #fff;
  box-shadow:
    0 1px 2px rgba(80, 40, 10, 0.05),
    0 12px 28px -18px rgba(80, 40, 10, 0.28);
}
body.page-schools #how .jr-steps .row-item .n {
  color: color-mix(in srgb, var(--ink) 55%, var(--paper));
  box-shadow: inset 0 0 0 1.5px rgba(60, 36, 16, 0.16);
}
body.page-schools #how .jr-steps .row-item.is-on .n {
  background: var(--ink);
  color: #fff;
}
body.page-schools #how .jr-steps .row-item h3 {
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 55%, var(--paper));
}
body.page-schools #how .jr-steps .row-item.is-on h3 {
  color: var(--ink);
}
body.page-schools #how .jr-steps .row-item:not(.is-on):hover h3 {
  color: color-mix(in srgb, var(--ink) 80%, var(--paper));
}
/* 11-10 T9303 (Max): active number back to orange, the one accent in the list */
body.page-schools #how .jr-steps .row-item.is-on .n {
  background: var(--orange);
  color: #fff;
}
/* 11-10 T9303 (Max): build-your-course animation: Capyo mark on the analyze card, magnifier on Analyze, no pulsing, buttons orange = action, ink = secondary */
body.page-schools #how .pj .pj-mark {
  width: 24px;
  height: 24px;
  background: var(--orange);
  -webkit-mask: url(/assets/img/schools/capyo-mark.png) center/contain no-repeat;
  mask: url(/assets/img/schools/capyo-mark.png) center/contain no-repeat;
}
body.page-schools #how .pj .pj-pico::after,
body.page-schools #how .pj .pj-step i::after {
  animation: none;
  opacity: 0;
}
body.page-schools #how .pj .pj-skip {
  color: var(--ink);
}
body.page-schools #how .pj .pj-create {
  background: var(--orange);
}
body.page-schools #how .pj .pj-step .pj-mark {
  width: 17px;
  height: 17px;
  background: currentColor;
}
/* 11-10 T9303 (Max): curriculum map sits higher, rows a touch closer, room under unit 4 */
body.page-schools #how .pj .pj-map {
  top: 62px;
}
body.page-schools #how .pj .pj-u4 {
  top: 116px;
}
body.page-schools #how .pj .p3d {
  height: 11px;
}
body.page-schools #how .pj .p3h {
  top: 105px;
}
body.page-schools #how .pj .p4u {
  top: 105px;
  height: 11px;
}
body.page-schools #how .pj .b3 {
  top: 94px;
}

/* 11-10 T5383: #students feature list works like #how: only the active item shows its line */
@media (min-width: 1025px) {
  body.page-schools #students.v-a .sx-list .sx-it {
    grid-template-rows: auto 0fr;
    transition:
      background-color 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
      box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
      grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  body.page-schools #students.v-a .sx-list .sx-it.is-on {
    grid-template-rows: auto 1fr;
  }
  body.page-schools #students.v-a .sx-list .sx-it {
    align-content: center;
  }
  /* Max 11-10: no ring round the active card, and even padding so title + line sit centred in it */
  body.page-schools #students.v-a .sx-list .sx-it {
    min-height: 0;
    padding: 20px 20px;
  }
  body.page-schools #students.v-a .sx-list .sx-it.is-on {
    box-shadow: 0 18px 36px -30px rgba(120, 50, 0, 0.35);
  }
  body.page-schools #students.v-a .sx-list .sx-it img {
    align-self: center;
    margin-block: -14px;
  } /* icon adds no height, so a closed row is title-high and the title centres on the icon */
  body.page-schools #students.v-a .sx-list .sx-it b {
    align-self: center;
  }
  body.page-schools #students.v-a .sx-list .sx-it span {
    grid-row: 2;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  body.page-schools #students.v-a .sx-list .sx-it.is-on span {
    opacity: 1;
    transition: opacity 0.4s ease 0.15s;
  }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  body.page-schools #students.v-a .sx-list .sx-it,
  body.page-schools #students.v-a .sx-list .sx-it span {
    transition: none;
  }
}

/* Max 11-10: build-your-course steps were oversized next to the rest of the site; title and body back to the site scale */
body.page-schools #how .jr-steps .row-item h3:not(#_) {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
}
body.page-schools #how .jr-steps .row-item p:not(#_) {
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 360px;
}
body.page-schools #how .jr-steps .row-item:not(#_) {
  grid-template-columns: 32px 1fr;
  column-gap: 18px;
  padding: 14px 20px;
}
body.page-schools #how .jr-steps .row-item .n:not(#_) {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
body.page-schools #how .jr-steps .row-item.is-on p:not(#_) {
  margin-top: 0;
  line-height: 1.45;
}
body.page-schools #how .jr-steps .row-item h3:not(#_) {
  line-height: 1.1;
}
/* 12 Nov (Max): FAQ split like the students page, title left and questions right */
@media (min-width: 1025px) {
  body.page-schools section[aria-labelledby='faq-h'] > .wrap:not(#_):not(#_):not(#_) {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: 48px;
    align-items: start;
    width: min(1190px, calc(100% - 2 * var(--gutter)));
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
  body.page-schools section[aria-labelledby='faq-h'] .head-row:not(#_) {
    display: block;
    position: sticky;
    top: calc(var(--head) + 32px);
  }
  body.page-schools section[aria-labelledby='faq-h'] .head-row .link:not(#_) {
    display: inline-flex;
    margin-top: 24px;
  }
  body.page-schools section[aria-labelledby='faq-h'] .faq:not(#_) {
    margin-top: 0;
  }
}
body.page-schools section[aria-labelledby='faq-h'] .faq details {
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 14px 32px -26px rgba(120, 50, 0, 0.3);
}

/* 11-15 T4f10 (Max): original layout kept (photo left, steps right, paper card around both). Capyo icons replace the numbers, the rail goes with them. The live step takes the page cream, a tone step on the paper card, instead of white on white. Pacing: the title centres on its icon, so the open card gets the same air under the text as above the title, and the line sits close under its title. */
body.page-schools #how .jr-steps::before {
  display: none;
}
body.page-schools #how .jr-steps .row-item:not(#_) {
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  padding: 14px 20px;
  transition:
    background-color 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    padding-bottom 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-schools #how .jr-steps .row-item.is-on:not(#_) {
  background: var(--page);
  box-shadow: none;
  padding-bottom: 25px;
}
body.page-schools #how .jr-steps .row-item .si {
  grid-row: 1;
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.35s ease;
}
body.page-schools #how .jr-steps .row-item.is-on .si {
  opacity: 1;
}
body.page-schools #how .jr-steps .row-item:not(.is-on):hover .si {
  opacity: 0.85;
}
body.page-schools #how .jr-steps .row-item.is-on p:not(#_) {
  margin-top: -5px;
  line-height: 1.45;
}
@media (max-width: 600px) {
  body.page-schools #how .jr-steps .row-item:not(#_) {
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    padding: 12px 14px;
  }
  body.page-schools #how .jr-steps .row-item.is-on:not(#_) {
    padding-bottom: 22px;
  }
  body.page-schools #how .jr-steps .row-item .si {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools #how .jr-steps .row-item:not(#_),
  body.page-schools #how .jr-steps .row-item .si {
    transition: none;
  }
}
