.schools-page {
  background:
    radial-gradient(circle at 78% 7%, rgba(140, 23, 29, .2), transparent 27rem),
    #050505;
}

.schools-topbar {
  background: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .28));
}

.schools-hero,
.schools-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.schools-hero {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .78fr);
  gap: 58px;
  align-items: center;
  padding: 116px 0 72px;
}

.schools-hero-copy {
  display: grid;
  gap: 19px;
}

.schools-hero-copy h1 {
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: .98;
}

.schools-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
}

.schools-primary {
  width: fit-content;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.schools-hero-photo,
.schools-photo,
.teacher-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

.schools-hero-photo {
  transform: rotate(2deg);
}

.schools-hero-photo img,
.schools-photo img,
.teacher-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.schools-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.narrow-heading {
  max-width: 790px;
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.benefit-grid,
.program-grid,
.two-card-grid,
.practical-grid {
  display: grid;
  gap: 14px;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-grid li,
.program-grid article,
.two-card-grid article,
.practical-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 244, 230, .055);
}

.benefit-grid li {
  padding: 18px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
}

.section-close {
  max-width: 820px;
  margin-top: 28px;
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.program-grid article,
.two-card-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.program-grid h4 {
  margin: 6px 0 -7px;
  color: var(--cream);
  font-size: 14px;
}

.program-grid ul,
.program-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--soft);
  line-height: 1.7;
}

.program-grid p,
.two-card-grid p {
  font-size: 16px;
}

.talent-card {
  border-color: rgba(140, 23, 29, .72) !important;
  background: linear-gradient(160deg, rgba(140, 23, 29, .22), rgba(255, 244, 230, .045)) !important;
}

.two-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talent-section,
.teacher-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 56px;
  align-items: center;
}

.talent-copy,
.teacher-copy,
.final-cta > div {
  display: grid;
  gap: 18px;
}

.highlight-line {
  color: var(--cream);
  font-size: 20px;
  font-weight: 700;
}

.teacher-section {
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1fr);
}

.teacher-photo {
  overflow: visible;
  border-radius: 50%;
  box-shadow: none;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practical-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.practical-grid > div {
  padding: 20px;
}

.practical-grid dt {
  margin-bottom: 7px;
  color: var(--cream);
  font-weight: 700;
}

.practical-grid dd {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding: 42px;
  border: 1px solid rgba(255, 244, 230, .22);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(8, 47, 85, .72), rgba(140, 23, 29, .32));
}

@media (max-width: 920px) {
  .schools-hero,
  .program-grid,
  .talent-section,
  .teacher-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .schools-hero-photo,
  .schools-photo,
  .teacher-photo {
    width: min(480px, 86%);
    justify-self: center;
    transform: none;
  }

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

@media (max-width: 620px) {
  .schools-hero,
  .schools-section {
    width: calc(100% - 28px);
  }

  .schools-hero {
    min-height: auto;
    padding: 102px 0 62px;
  }

  .schools-section {
    padding: 66px 0;
  }

  .benefit-grid,
  .compact-grid,
  .two-card-grid,
  .practical-grid {
    grid-template-columns: 1fr;
  }

  .schools-hero-photo,
  .schools-photo,
  .teacher-photo {
    width: 100%;
  }

  .final-cta {
    width: calc(100% - 28px);
    padding: 24px;
  }
}
