.school-page {
  --school-ink: #263b35;
  --school-muted: #60736b;
  --school-green: #4d8f76;
  --school-green-dark: #315f50;
  --school-line: #dce9e3;
  display: grid;
  width: min(100%, 1320px);
  min-width: 0;
  gap: clamp(32px, 4vw, 56px);
  margin: 0 auto;
  color: var(--school-ink);
}

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

.school-page > *,
.school-hero > *,
.school-section > * {
  min-width: 0;
}

.school-page h1,
.school-page h2,
.school-page h3,
.school-page p {
  margin-top: 0;
}

.school-page h1,
.school-page h2,
.school-page h3 {
  color: var(--school-ink);
  letter-spacing: -0.032em;
}

.school-page h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
}

.school-page h3 {
  font-weight: 900;
  line-height: 1.2;
}

.school-page p,
.school-page li {
  color: var(--school-muted);
  line-height: 1.62;
}

.school-eyebrow {
  margin-bottom: 12px;
  color: var(--school-green) !important;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.school-section {
  scroll-margin-top: 24px;
}

.school-section__heading {
  max-width: 850px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.school-section__heading > p:last-child {
  margin: 0 auto;
  font-size: clamp(16px, 1.55vw, 19px);
}

.school-section__heading--left {
  max-width: none;
  margin: 0 0 clamp(26px, 3.5vw, 40px);
  text-align: left;
}

.school-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.school-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  padding: 14px 23px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.school-button--primary {
  border: 1px solid #4b8d74;
  background: linear-gradient(135deg, #5fa285, #4c8f76);
  color: #fff;
  box-shadow: 0 14px 28px rgba(70, 133, 107, 0.22);
}

.school-button--primary:hover,
.school-button--primary:focus-visible {
  border-color: #3d785f;
  background: linear-gradient(135deg, #55977b, #3f8068);
  color: #fff;
}

.school-button--secondary {
  border: 1px solid #c5dcd2;
  background: rgba(255, 255, 255, 0.88);
  color: var(--school-green-dark);
  box-shadow: 0 10px 24px rgba(64, 103, 87, 0.08);
}

.school-button--secondary:hover,
.school-button--secondary:focus-visible {
  border-color: #93bbaa;
  background: #f4fbf7;
  color: #244c3f;
}

.school-hero {
  overflow: hidden;
  border: 1px solid #dcece5;
  border-radius: clamp(30px, 4vw, 48px);
  padding: clamp(32px, 5vw, 68px);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 221, 171, 0.5), transparent 27%),
    radial-gradient(circle at 10% 100%, rgba(191, 229, 215, 0.42), transparent 32%),
    linear-gradient(140deg, #fffdf8 0%, #f7fcf9 56%, #eef8f3 100%);
  box-shadow: 0 28px 64px rgba(57, 91, 77, 0.1);
}

.school-hero .breadcrumbs {
  margin-bottom: 24px;
}

.school-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
}

.school-hero__heading {
  align-self: center;
}

.school-hero__top > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 390px;
  align-self: start;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(50, 78, 66, 0.1));
}

.school-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.046em;
}

.school-hero__body {
  width: 100%;
  margin-top: 18px;
}

.school-hero__lead {
  margin-bottom: 0;
  color: #3f514c !important;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 750;
}

.school-hero__body > p:not(.editorial-author) {
  font-size: 16px;
}

.school-hero .school-actions {
  margin-top: 27px;
}

.school-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.school-hero__facts li {
  display: grid;
  gap: 3px;
  border-left: 4px solid #6fa98f;
  padding-left: 13px;
}

.school-hero__facts strong {
  color: var(--school-ink);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.1;
}

.school-hero__facts span {
  color: var(--school-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.school-hero .editorial-author {
  margin: 20px 0 0;
}

.school-anchor-nav {
  position: sticky;
  z-index: 8;
  top: 10px;
  display: flex;
  width: fit-content;
  min-height: 0;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: -34px auto -6px;
  border: 1px solid rgba(197, 220, 210, 0.9);
  border-radius: 19px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.09);
  backdrop-filter: blur(13px);
}

.school-anchor-nav a {
  border-radius: 12px;
  padding: 9px 13px;
  color: #47645b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.school-anchor-nav a:hover,
.school-anchor-nav a:focus-visible {
  background: #e7f5ed;
  color: var(--school-green-dark);
}

.school-skills__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.school-skill-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(67, 97, 85, 0.08);
  border-radius: 30px;
  padding: 20px 22px 25px;
  background: #fff0e5;
}

.school-skill-card--yellow { background: #fff7d9; }
.school-skill-card--blue { background: #eaf4fb; }
.school-skill-card--green { background: #eaf6e9; }
.school-skill-card--lavender { background: #f0edfb; }
.school-skill-card--rose { background: #fff0f2; }

.school-skill-card img {
  display: block;
  width: 100%;
  height: 250px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(72, 69, 57, 0.09));
}

.school-skill-card h3 {
  margin-bottom: 9px;
  font-size: 23px;
}

.school-skill-card p {
  margin: 0;
  font-size: 14px;
}

.school-games {
  border-radius: 42px;
  padding: clamp(32px, 5vw, 64px);
  background: #f4f9f6;
}

.school-selections__list {
  display: grid;
  gap: 26px;
}

.school-selection {
  border: 1px solid #dce8e2;
  border-radius: 29px;
  padding: clamp(22px, 3.2vw, 36px);
  background: #fff;
  box-shadow: 0 16px 38px rgba(55, 88, 74, 0.07);
}

.school-selection__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.school-selection__heading > div {
  max-width: 780px;
}

.school-selection__number {
  margin-bottom: 7px !important;
  color: #e28a58 !important;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.school-selection__heading h3 {
  margin-bottom: 9px;
  font-size: clamp(25px, 2.7vw, 36px);
}

.school-selection__heading p:last-child {
  margin: 0;
  font-size: 15px;
}

.school-selection__heading > a {
  display: inline-flex;
  min-height: 46px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bed9cc;
  border-radius: 14px;
  padding: 11px 16px;
  background: #f1faf5;
  color: var(--school-green-dark);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.school-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.school-game-grid .game-card-shell,
.school-game-grid .game-card {
  min-width: 0;
  height: 100%;
}

.school-game-grid .game-card {
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 24px rgba(51, 76, 67, 0.08);
}

.school-game-grid .game-card__image {
  width: 100%;
  max-width: 100%;
  min-height: 145px;
  aspect-ratio: 16 / 10;
  padding: 0;
}

.school-game-grid .game-card-body {
  gap: 6px;
  padding: 14px;
}

.school-game-grid .game-card__title {
  font-size: 17px;
}

.school-game-grid .game-card__skill {
  display: -webkit-box;
  min-height: 34px;
  margin: 0;
  overflow: hidden;
  color: #62736d;
  font-size: 12px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.school-game-grid .game-card__skill span {
  color: #3d725f;
  font-weight: 900;
}

.school-selection__empty,
.school-selections__empty {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 18px;
  padding: 24px;
  background: #f6faf8;
  text-align: center;
}

.school-all-games {
  margin-top: 38px;
  border-top: 1px solid #d6e5dd;
  padding-top: 36px;
}

.school-all-games .school-section__heading {
  margin-bottom: 24px;
}

.school-all-games h3 {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 39px);
}

.school-practice {
  position: relative;
  display: block;
  border: 1px solid #dbe9e3;
  border-radius: 36px;
  padding: clamp(28px, 4vw, 50px);
  background: linear-gradient(140deg, #f2faf6, #fff8ee);
}

.school-practice__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.school-practice .school-section__heading {
  max-width: 980px;
  margin-right: 0;
  margin-left: 0;
}

.school-practice__art {
  position: absolute;
  z-index: 0;
  top: 24px;
  right: 28px;
  width: clamp(150px, 17vw, 230px);
  pointer-events: none;
}

.school-practice__art img {
  display: block;
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(72, 69, 57, 0.1));
}

.school-practice__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-practice__steps li {
  min-height: 100%;
  border: 1px solid #e1e9e5;
  border-radius: 21px;
  padding: 18px 16px;
  background: #fffdf9;
}

.school-practice__steps li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 13px;
  background: var(--school-green);
  color: #fff;
  font-weight: 950;
}

.school-practice__steps h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.school-practice__steps p {
  margin: 0;
  font-size: 13px;
}

.school-callout {
  margin: 19px 0 22px;
  border-left: 4px solid #e59a68;
  border-radius: 0 17px 17px 0;
  padding: 15px 18px;
  background: #fff4e5;
  color: #465a53 !important;
  font-weight: 750;
}

.school-age__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.school-age__grid article {
  border: 1px solid #dfe9e4;
  border-radius: 25px;
  padding: 25px;
  background: #fffdf9;
  box-shadow: 0 12px 28px rgba(55, 84, 72, 0.055);
}

.school-age__grid article > span {
  display: inline-flex;
  margin-bottom: 17px;
  border-radius: 13px;
  padding: 9px 12px;
  background: #dff2e8;
  color: var(--school-green-dark);
  font-size: 13px;
  font-weight: 950;
}

.school-age__grid article:nth-child(2) > span { background: #fff0dc; color: #b06b3e; }
.school-age__grid article:nth-child(3) > span { background: #e9effb; color: #5575a3; }

.school-age__grid h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.school-age__grid p {
  margin: 0;
  font-size: 14px;
}

.school-honest {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  border-radius: 36px;
  padding: clamp(28px, 4vw, 50px);
  background: #fff7e9;
}

.school-honest__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.school-honest__columns > div {
  border: 1px solid #f0dfc9;
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.school-honest__columns > div + div {
  border-color: #d8e8e0;
  background: rgba(243, 250, 246, 0.8);
}

.school-honest__columns h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.school-honest__columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.school-honest__columns li {
  font-size: 14px;
}

.school-proof {
  border-radius: 36px;
  padding: clamp(30px, 5vw, 64px);
  background: linear-gradient(135deg, #edf8f2 0%, #fff5e8 100%);
}

.school-proof__content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.school-proof__content > p:not(.school-eyebrow):not(.school-proof__author) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: 17px;
}

.school-proof__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 28px 0 20px;
}

.school-proof__stats > div {
  display: grid;
  min-height: 120px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(168, 204, 188, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.school-proof__stats strong {
  color: var(--school-green-dark);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 950;
  line-height: 1;
}

.school-proof__stats span {
  color: var(--school-muted);
  font-size: 13px;
  font-weight: 850;
}

.school-proof__author {
  margin-bottom: 20px;
  font-size: 13px !important;
  font-weight: 750;
}

.school-faq {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.school-faq__list {
  display: grid;
  gap: 10px;
}

.school-faq details {
  border: 1px solid #dfe9e4;
  border-radius: 18px;
  padding: 0 20px;
  background: #fffdf9;
}

.school-faq summary {
  cursor: pointer;
  padding: 19px 34px 19px 0;
  color: var(--school-ink);
  font-weight: 900;
  line-height: 1.4;
}

.school-faq details p {
  margin: 0;
  border-top: 1px solid #e6ede9;
  padding: 15px 0 20px;
  font-size: 14px;
}

.school-final {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #fff0dc, #f1f8f4);
}

.school-final__content {
  max-width: 700px;
}

.school-final__content > p:not(.school-eyebrow) {
  font-size: 17px;
}

.school-final img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(76, 69, 56, 0.12));
}

@media (max-width: 1080px) {
  .school-skills__grid,
  .school-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .school-page {
    gap: 38px;
  }

  .school-hero__top,
  .school-honest,
  .school-faq,
  .school-final {
    grid-template-columns: 1fr;
  }

  .school-practice {
    padding: 32px 28px;
  }

  .school-practice__art {
    top: 18px;
    right: 18px;
    width: 170px;
  }

  .school-practice__art img {
    max-height: 210px;
  }

  .school-practice .school-section__heading {
    max-width: calc(100% - 165px);
  }

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

  .school-hero__top > img {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  .school-anchor-nav {
    position: static;
    margin: -30px auto -8px;
  }

  .school-faq .school-section__heading {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .school-page {
    gap: 30px;
  }

  .school-page h2 {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .school-hero,
  .school-games,
  .school-practice,
  .school-honest,
  .school-proof,
  .school-final {
    border-radius: 27px;
    padding: 24px 18px;
  }

  .school-hero h1 {
    font-size: clamp(34px, 10vw, 45px);
  }

  .school-practice {
    display: flex;
    flex-direction: column;
    padding: 22px 18px 24px;
  }

  .school-practice__art {
    position: static;
    order: -1;
    width: min(100%, 190px);
    margin: -8px auto 4px;
  }

  .school-practice__art img {
    max-height: 190px;
  }

  .school-practice .school-section__heading {
    max-width: none;
  }

  .school-hero__body {
    margin-top: 13px;
  }

  .school-actions,
  .school-actions .school-button,
  .school-practice .school-button {
    width: 100%;
  }

  .school-button {
    min-height: 50px;
  }

  .school-hero__facts,
  .school-skills__grid,
  .school-game-grid,
  .school-practice__steps,
  .school-age__grid,
  .school-honest__columns,
  .school-proof__stats {
    grid-template-columns: 1fr;
  }

  .school-hero__facts li {
    min-height: 48px;
  }

  .school-anchor-nav {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-inline: 0;
    padding: 7px;
    scrollbar-width: none;
  }

  .school-anchor-nav a {
    flex: 0 0 auto;
  }

  .school-skill-card {
    border-radius: 23px;
    padding: 16px;
  }

  .school-skill-card img {
    height: 220px;
  }

  .school-selection {
    border-radius: 23px;
    padding: 18px;
  }

  .school-game-grid .game-card__image {
    min-height: 180px;
  }

  .school-selection__heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .school-selection__heading > a {
    justify-self: stretch;
  }

  .school-practice__steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .school-practice__steps li > span {
    margin: 0;
  }

  .school-age__grid article,
  .school-honest__columns > div {
    padding: 18px;
  }

  .school-final {
    text-align: center;
  }
}

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

html[data-theme="dark"] .school-page {
  --school-ink: #edf7f2;
  --school-muted: #b7c7c0;
  --school-line: #355047;
}

html[data-theme="dark"] .school-eyebrow {
  color: #8fd1ae !important;
}

html[data-theme="dark"] .school-hero__lead {
  color: var(--school-muted) !important;
}

html[data-theme="dark"] .school-hero,
html[data-theme="dark"] .school-practice,
html[data-theme="dark"] .school-final {
  border-color: var(--school-line);
  background: #20352f;
}

html[data-theme="dark"] .school-games,
html[data-theme="dark"] .school-proof {
  background: #1c302a;
}

html[data-theme="dark"] .school-honest {
  background: #3b3028;
}

html[data-theme="dark"] .school-anchor-nav {
  border-color: #3c574e;
  background: rgba(30, 49, 43, 0.92);
}

html[data-theme="dark"] .school-anchor-nav a {
  color: #c2d7ce;
}

html[data-theme="dark"] .school-button--secondary,
html[data-theme="dark"] .school-selection,
html[data-theme="dark"] .school-practice__steps li,
html[data-theme="dark"] .school-age__grid article,
html[data-theme="dark"] .school-faq details {
  border-color: var(--school-line);
  background: #253d36;
  color: var(--school-ink);
}

html[data-theme="dark"] .school-skill-card {
  border-color: var(--school-line);
  background: #3b3530;
}

html[data-theme="dark"] .school-skill-card--blue,
html[data-theme="dark"] .school-skill-card--green,
html[data-theme="dark"] .school-skill-card--lavender {
  background: #2f3d3a;
}

html[data-theme="dark"] .school-selection__heading > a,
html[data-theme="dark"] .school-selection__empty,
html[data-theme="dark"] .school-selections__empty,
html[data-theme="dark"] .school-honest__columns > div,
html[data-theme="dark"] .school-proof__stats > div {
  border-color: var(--school-line);
  background: #2a443c;
}

html[data-theme="dark"] .school-selection__heading > a {
  color: #a5d9c0;
}

html[data-theme="dark"] .school-honest__columns > div + div {
  background: #263f38;
}

html[data-theme="dark"] .school-callout {
  background: #4a3b2d;
  color: #ead9c8 !important;
}

html[data-theme="dark"] .school-faq details p {
  border-color: var(--school-line);
}

html[data-theme="dark"] .school-all-games {
  border-color: var(--school-line);
}

html[data-theme="dark"] .school-game-grid .game-card__skill {
  color: var(--muted);
}

html[data-theme="dark"] .school-game-grid .game-card__skill span {
  color: #a5d9c0;
}

/* Sound automation landing reuses the school page design system and artwork. */
.sound-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sound-picker__group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #dbe9e3;
  border-radius: 29px;
  padding: clamp(22px, 3vw, 32px);
  background: #eaf6e9;
  box-shadow: 0 14px 34px rgba(55, 88, 74, 0.065);
}

.sound-picker__group--blue {
  border-color: #d9e8f1;
  background: #eaf4fb;
}

.sound-picker__group--peach {
  border-color: #efe0d5;
  background: #fff0e5;
}

.sound-picker__label {
  margin-bottom: 8px !important;
  color: var(--school-green) !important;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sound-picker__group h3 {
  margin-bottom: 9px;
  font-size: clamp(23px, 2.5vw, 31px);
}

.sound-picker__group > p:not(.sound-picker__label) {
  margin-bottom: 22px;
  font-size: 14px;
}

.sound-picker__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.sound-picker__links a {
  display: inline-flex;
  min-height: 45px;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(79, 124, 106, 0.2);
  border-radius: 14px;
  padding: 7px 12px 7px 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--school-green-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.sound-picker__links a:hover,
.sound-picker__links a:focus-visible {
  border-color: #87b7a3;
  background: #fff;
  color: #244c3f;
}

.sound-picker__links span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: #d9eee4;
  color: #315f50;
  font-size: 15px;
  font-weight: 950;
}

.sound-picker__group--blue .sound-picker__links span {
  background: #dcecf7;
  color: #477193;
}

.sound-picker__group--peach .sound-picker__links span {
  background: #f9dfca;
  color: #a7653d;
}

.sound-readiness__note {
  max-width: 920px;
  margin: 22px auto 0;
}

.sound-stages {
  border-radius: 36px;
  padding: clamp(30px, 5vw, 56px);
  background: linear-gradient(145deg, #fff8ed, #f2faf6);
}

.sound-stages__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sound-stages__grid li {
  min-width: 0;
  border: 1px solid #e4e9e6;
  border-radius: 22px;
  padding: 20px 17px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(55, 84, 72, 0.045);
}

.sound-stages__grid li > span {
  display: inline-flex;
  margin-bottom: 15px;
  border-radius: 11px;
  padding: 7px 10px;
  background: #dff2e8;
  color: var(--school-green-dark);
  font-size: 12px;
  font-weight: 950;
}

.sound-stages__grid li:nth-child(even) > span {
  background: #ffead2;
  color: #aa673f;
}

.sound-stages__grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.sound-stages__grid p {
  margin: 0;
  font-size: 13px;
}

.sound-specialist {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  overflow: hidden;
  border: 1px solid #dce9e3;
  border-radius: 36px;
  padding: clamp(28px, 4.5vw, 52px);
  background: #f1f8f4;
}

.sound-specialist__art {
  align-self: stretch;
  border-radius: 28px;
  padding: clamp(18px, 3vw, 30px);
  background: #e2f1ea;
}

.sound-specialist__art img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(72, 69, 57, 0.1));
}

.sound-specialist__content > p:not(.school-eyebrow) {
  font-size: 16px;
}

.sound-specialist__content .school-button {
  margin-top: 7px;
}

@media (max-width: 1080px) {
  .sound-stages__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sound-picker__grid {
    grid-template-columns: 1fr;
  }

  .sound-picker__group {
    padding: 24px;
  }

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

  .sound-specialist {
    grid-template-columns: 1fr;
  }

  .sound-specialist__art img {
    max-height: 330px;
  }
}

@media (max-width: 620px) {
  .sound-picker__group,
  .sound-stages,
  .sound-specialist {
    border-radius: 25px;
    padding: 20px 18px;
  }

  .sound-picker__links a {
    flex: 1 1 118px;
  }

  .sound-stages__grid {
    grid-template-columns: 1fr;
  }

  .sound-stages__grid li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }

  .sound-stages__grid li > span {
    align-self: start;
    justify-content: center;
    margin: 0;
  }

  .sound-specialist__art {
    border-radius: 21px;
  }

  .sound-specialist__content .school-button {
    width: 100%;
  }
}

html[data-theme="dark"] .sound-picker__group,
html[data-theme="dark"] .sound-stages,
html[data-theme="dark"] .sound-specialist {
  border-color: var(--school-line);
  background: #20352f;
}

html[data-theme="dark"] .sound-picker__group--blue,
html[data-theme="dark"] .sound-picker__group--peach {
  background: #293b37;
}

html[data-theme="dark"] .sound-picker__links a,
html[data-theme="dark"] .sound-stages__grid li {
  border-color: var(--school-line);
  background: #2a443c;
  color: #b9e1ce;
}

html[data-theme="dark"] .sound-picker__links span {
  background: #38584e;
  color: #cde9dc;
}

html[data-theme="dark"] .sound-specialist__art {
  background: #2a443c;
}

.sound-hero .school-hero__heading {
  align-self: start;
}

.sound-hero .school-hero__heading .school-hero__lead {
  margin-top: 22px;
  margin-bottom: 0;
}

.sound-hero__support {
  margin: 14px 0 0;
  color: var(--school-muted) !important;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55 !important;
}

.sound-hero .school-hero__body {
  margin-top: 28px;
}

/* Articulation and breathing landing reuses the same editorial system. */
.gymnastics-hero .school-hero__heading {
  align-self: start;
}

.gymnastics-hero__support {
  margin: 14px 0 0;
  color: var(--school-muted) !important;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55 !important;
}

.gymnastics-hero .school-hero__body {
  margin-top: 26px;
}

.gymnastics-directions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gymnastics-direction {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9e8e1;
  border-radius: 30px;
  padding: clamp(20px, 3vw, 32px);
  background: #edf8f2;
  box-shadow: 0 14px 34px rgba(55, 88, 74, 0.065);
}

.gymnastics-direction--breathing {
  border-color: #d9e8f1;
  background: #eaf4fb;
}

.gymnastics-direction > img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(72, 69, 57, 0.09));
}

.gymnastics-direction h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.4vw, 31px);
}

.gymnastics-direction p:not(.school-eyebrow),
.gymnastics-direction li {
  font-size: 14px;
}

.gymnastics-direction ul {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding-left: 20px;
}

.gymnastics-direction a {
  display: inline-flex;
  min-height: 45px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bcd8cb;
  border-radius: 14px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--school-green-dark);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.gymnastics-direction a:hover,
.gymnastics-direction a:focus-visible {
  border-color: #89b6a3;
  background: #fff;
  color: #244c3f;
}

.gymnastics-mechanics {
  border-radius: 36px;
  padding: clamp(30px, 5vw, 56px);
  background: linear-gradient(145deg, #eef7fb, #f4faf6 52%, #fff7e9);
}

.gymnastics-mechanics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.gymnastics-mechanics__grid article {
  border: 1px solid #dde9e4;
  border-radius: 22px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(55, 84, 72, 0.045);
}

.gymnastics-mechanics__grid span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 11px;
  padding: 7px 10px;
  background: #dff2e8;
  color: var(--school-green-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gymnastics-mechanics__grid article:nth-child(even) span {
  background: #e3eff8;
  color: #4a7191;
}

.gymnastics-mechanics__grid h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.gymnastics-mechanics__grid p {
  margin: 0;
  font-size: 13px;
}

.gymnastics-practice .school-practice__heading {
  padding-right: 0;
}

@media (max-width: 1080px) {
  .gymnastics-directions__grid {
    grid-template-columns: 1fr;
  }

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

  .gymnastics-mechanics__grid article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .gymnastics-direction {
    grid-template-columns: 1fr;
  }

  .gymnastics-direction > img {
    height: min(58vw, 260px);
  }
}

@media (max-width: 620px) {
  .gymnastics-direction,
  .gymnastics-mechanics {
    border-radius: 25px;
    padding: 20px 18px;
  }

  .gymnastics-direction a {
    width: 100%;
  }

  .gymnastics-mechanics__grid {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .gymnastics-direction,
html[data-theme="dark"] .gymnastics-mechanics {
  border-color: var(--school-line);
  background: #20352f;
}

html[data-theme="dark"] .gymnastics-direction--breathing {
  background: #293b37;
}

html[data-theme="dark"] .gymnastics-direction a,
html[data-theme="dark"] .gymnastics-mechanics__grid article {
  border-color: var(--school-line);
  background: #2a443c;
  color: #b9e1ce;
}
