body:not(.page-home) .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 29px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: -.01em;
}

body:not(.page-home) .breadcrumb a {
  text-decoration: none;
}

body:not(.page-home) .breadcrumb a:hover {
  color: var(--red);
}

body:not(.page-home) .breadcrumb [aria-current] {
  color: var(--navy);
  font-weight: 650;
}

body:not(.page-home) .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5.4vw, 88px);
  padding-block: 64px 92px;
  color: var(--ink);
  background: var(--paper);
}

body:not(.page-home) .page-hero > * {
  min-width: 0;
}

body:not(.page-home) .page-hero .eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .035em;
}

body:not(.page-home) .page-hero h1 {
  margin-top: 24px;
  max-width: 700px;
  color: var(--navy);
  font-size: clamp(42px, 4.15vw, 64px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.065em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body:not(.page-home) .page-hero h1 em {
  color: var(--red);
  font-style: normal;
}

body:not(.page-home) .page-hero .lede {
  max-width: 580px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

body:not(.page-home) .page-hero .actions {
  gap: 10px;
  margin-top: 32px;
}

body:not(.page-home) .page-hero .button {
  gap: 16px;
  padding-inline: 19px;
  font-size: 13px;
}

body:not(.page-home) .hero-note {
  max-width: 590px;
  margin-top: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

body:not(.page-home) .hero-art {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafd;
}

body:not(.page-home) .hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  overflow: hidden;
}

body:not(.page-home) .hero-art [fill="#063f32"] {
  fill: var(--navy);
}

body:not(.page-home) .hero-art [stroke="#063f32"] {
  stroke: var(--navy);
}

body:not(.page-home) .hero-art svg > rect:first-of-type,
body:not(.page-home) .hero-art [fill="#f5f5f1"] {
  fill: #f0f0f5;
}

body:not(.page-home) .hero-art text[fill="#fff"],
body:not(.page-home) .hero-art g[fill="#fff"] {
  fill: var(--navy);
}

body:not(.page-home) .hero-art [fill="#b8d5c8"],
body:not(.page-home) .hero-art [fill="#5c6670"] {
  fill: #606176;
}

body:not(.page-home) .hero-art [fill="#b4f5bf"] {
  fill: var(--red);
}

body:not(.page-home) .hero-art [stroke="#b4f5bf"] {
  stroke: var(--red);
}

body:not(.page-home) .hero-art [stroke="#729b87"],
body:not(.page-home) .hero-art [stroke="#c8d0d6"],
body:not(.page-home) .hero-art [stroke="#b9c1c7"] {
  stroke: #c4c5d2;
}

body.page-phonics .hero-art circle[fill="#b4f5bf"] {
  fill: #f8dce0;
}

body.page-elementary .hero-art path[stroke="#063f32"] {
  stroke: #fff;
}

body:not(.page-home) .art-note {
  margin: 13px 4px 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 550;
  line-height: 1.6;
  letter-spacing: .105em;
}

body:not(.page-home) .accent-rule {
  border-left: 3px solid var(--red);
  padding-left: 25px;
}

body:not(.page-home) .text-list {
  margin-block: 22px 0;
  padding-left: 21px;
  color: var(--muted);
}

body:not(.page-home) .text-list li {
  padding-left: 5px;
  margin-block: 12px;
  line-height: 1.85;
}

body:not(.page-home) .text-list li::marker {
  color: var(--red);
}

body:not(.page-home) .text-list a {
  color: var(--ink);
  text-decoration-color: #b4b5c2;
}

body:not(.page-home) .text-list a:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

body.page-phonics #sources {
  border-top: 1px solid var(--line);
}

body.page-phonics #sources .text-list {
  max-width: 1000px;
  padding-left: 0;
  list-style: none;
}

body.page-phonics #sources .text-list li {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

body.page-visit .phone-large {
  display: inline-block;
  max-width: 100%;
  color: var(--navy);
  font-size: clamp(32px, 3.1vw, 49px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.045em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

body.page-visit .phone-large:hover {
  color: var(--red);
}

body.page-visit .phone-large + .subtle {
  margin-top: 9px;
  font-size: 12px;
}

body.page-visit .contact-info {
  margin: 30px 0 0;
  border-top: 1px solid var(--navy);
}

body.page-visit .contact-info > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
}

body.page-visit .contact-info dt {
  color: var(--muted);
  font-weight: 500;
}

body.page-visit .contact-info dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

body.page-visit .map-panel {
  align-self: start;
  padding: clamp(28px, 3.4vw, 50px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  background: var(--wash);
}

body.page-visit .map-panel h3 {
  color: var(--navy);
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.5;
  letter-spacing: -.04em;
}

body.page-visit .map-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

body.page-visit .map-panel .actions {
  margin-top: 26px;
  margin-bottom: 30px;
}

body.page-visit .map-panel > p:last-child {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

body.page-visit #booking,
body.page-visit #fees {
  border-top: 1px solid var(--line);
}

body.page-visit #booking > p {
  max-width: 850px;
}

body.page-visit #booking .actions {
  margin-block: 28px;
}

body.page-visit #fees .contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

body.page-visit #fees .contact-info > div {
  display: block;
  padding: 30px 0;
  border-bottom: 0;
}

body.page-visit #fees .contact-info > div + div {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

body.page-visit #fees .contact-info dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

body.page-visit #fees .contact-info dd {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -.05em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.page-visit .resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

body.page-visit .resource-links > a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 33px 26px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

body.page-visit .resource-links > a + a {
  border-left: 1px solid var(--line);
}

body.page-visit .resource-links > a:hover {
  background: var(--wash);
  color: var(--red);
}

body.page-visit .resource-links strong {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -.035em;
}

body.page-visit .resource-links span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  body:not(.page-home) .page-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 36px;
    padding-block: 48px 72px;
  }

  body:not(.page-home) .page-hero h1 {
    font-size: clamp(36px, 4.8vw, 51px);
  }

  body:not(.page-home) .page-hero .lede {
    font-size: 15px;
  }

  body:not(.page-home) .page-hero .button {
    gap: 10px;
    padding-inline: 16px;
    font-size: 12px;
  }

  body.page-visit .resource-links > a {
    padding-inline: 20px;
  }

  body.page-visit .resource-links strong {
    font-size: 17px;
  }
}

@media (max-width: 800px) {
  body:not(.page-home) .page-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding-block: 42px 60px;
  }

  body:not(.page-home) .page-hero h1 {
    max-width: 650px;
    font-size: clamp(38px, 6.6vw, 52px);
  }

  body:not(.page-home) .page-hero .hero-art {
    width: min(100%, 430px);
    justify-self: center;
    padding: 10px;
  }

  body:not(.page-home) .page-hero .lede {
    font-size: 16px;
  }

  body:not(.page-home) .page-hero .button {
    font-size: 13px;
    padding-inline: 18px;
  }

  body.page-visit .map-panel {
    padding: 30px;
  }

  body.page-visit .resource-links {
    grid-template-columns: 1fr;
  }

  body.page-visit .resource-links > a {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
  }

  body.page-visit .resource-links > a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  body:not(.page-home) .breadcrumb {
    gap: 10px;
    padding-top: 22px;
    font-size: 11px;
  }

  body:not(.page-home) .page-hero {
    gap: 34px;
    padding-block: 36px 48px;
  }

  body:not(.page-home) .page-hero .eyebrow {
    font-size: 10px;
    letter-spacing: .02em;
  }

  body:not(.page-home) .page-hero h1 {
    margin-top: 22px;
    font-size: clamp(32px, 8.4vw, 46px);
    line-height: 1.28;
    letter-spacing: -.06em;
  }

  body:not(.page-home) .page-hero .lede {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.85;
  }

  body:not(.page-home) .page-hero .actions {
    margin-top: 26px;
    gap: 8px;
  }

  body:not(.page-home) .page-hero .button {
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 15px;
    gap: 12px;
    font-size: 12px;
  }

  body:not(.page-home) .page-hero .actions > .button:first-child {
    flex-basis: 100%;
  }

  body:not(.page-home) .page-hero .actions > .button:not(:first-child) {
    flex: 1 1 auto;
  }

  body:not(.page-home) .hero-note {
    margin-top: 21px;
    font-size: 11px;
  }

  body:not(.page-home) .art-note {
    font-size: 8px;
    letter-spacing: .06em;
  }

  body:not(.page-home) .accent-rule {
    padding-left: 18px;
  }

  body:not(.page-home) .text-list {
    padding-left: 18px;
  }

  body.page-visit .contact-info > div {
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 15px;
    font-size: 13px;
    padding-block: 16px;
  }

  body.page-visit .map-panel {
    padding: 26px 22px;
  }

  body.page-visit .map-panel .button {
    width: 100%;
  }

  body.page-visit #fees .contact-info {
    grid-template-columns: 1fr;
  }

  body.page-visit #fees .contact-info > div {
    padding-block: 25px;
  }

  body.page-visit #fees .contact-info > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  body.page-visit #fees .contact-info dd {
    font-size: 32px;
  }

  body.page-visit .resource-links > a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-visit .resource-links > a {
    transition: none;
  }
}
