:root {
  --green: #074421;
  --green-2: #2a5a28;
  --leaf: #507a22;
  --navy: #032f5a;
  --gold: #ebbc4c;
  --cream: #e6d9ad;
  --paper: #f8f8f8;
  --white: #f8f8f8;
  --ink: #032f5a;
  --muted: #2a5a28;
  --line: #e6d9ad;
  --shadow: 0 18px 45px rgba(3, 47, 90, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  clip: auto;
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 68, 33, 0.1);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(3, 47, 90, 0.12);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-brand img {
  width: 180px;
  height: 70px;
  object-fit: contain;
}

.custom-logo-link img {
  width: 180px;
  height: 70px;
  object-fit: contain;
}

.site-brand__text {
  display: grid;
  gap: 0;
  min-width: 0;
  text-decoration: none;
}

.site-brand__text strong {
  color: var(--green);
  font-size: 1rem;
  line-height: 1.15;
  white-space: nowrap;
}

.site-brand__text small {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
}

.menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.menu a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  flex: 0 0 auto;
}

.button .icon {
  margin-right: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--green), var(--navy));
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(7, 68, 33, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(7, 68, 33, 0.28);
}

.button--small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.button--light {
  color: var(--green);
  background: var(--white);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 760px;
  padding: 138px 0 96px;
  color: var(--white);
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(3, 47, 90, 0.88), rgba(7, 68, 33, 0.72) 52%, rgba(7, 68, 33, 0.25)),
    linear-gradient(0deg, rgba(3, 47, 90, 0.42), rgba(3, 47, 90, 0.1));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: max(16px, calc((100vw - var(--container)) / 2)) auto;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.entry h1,
.entry h2 {
  margin: 0;
  color: inherit;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  padding: 0;
  margin: 54px 0 0;
}

.hero__stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero__stats dt {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.hero__stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.intro-band {
  background: var(--green);
  color: var(--white);
}

.intro-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.intro-band__grid > div {
  display: grid;
  gap: 6px;
  padding: 30px;
  background: var(--green);
}

.intro-band strong {
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1.2;
}

.intro-band span {
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: 88px 0;
}

.section--muted {
  background: var(--cream);
}

.split-grid,
.program-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 48px;
  align-items: center;
}

.split-grid--reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.split-copy h2,
.section-heading h2,
.program-grid h2,
.contact-grid h2 {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.split-copy p,
.section-heading p,
.program-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px var(--green);
}

.image-panel,
.program-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img,
.program-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 68, 33, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: 50%;
  padding: 11px;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 188, 76, 0.8);
  box-shadow: var(--shadow);
}

.service-card__mark {
  display: inline-flex;
  margin: 0 0 16px 10px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.section--program {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
}

.section--program .section-kicker,
.section--program h2,
.section--program p {
  color: inherit;
}

.section--program p {
  color: rgba(255, 255, 255, 0.86);
}

.program-list,
.journey-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.program-list div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  color: var(--white);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.program-list .icon {
  color: var(--gold);
  flex: 0 0 auto;
}

.substance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.substance-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--green);
  font-weight: 900;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section--feature {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 18%, rgba(235, 188, 76, 0.24), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--green));
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
}

.section--feature h2,
.section--feature p {
  color: inherit;
}

.section--feature p {
  color: rgba(255, 255, 255, 0.86);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid div {
  min-height: 138px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.metric-grid strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
}

.metric-grid__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  padding: 10px;
}

.metric-grid div > span:not(.metric-grid__icon) {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.facility-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 68, 33, 0.06);
}

.facility-card__icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  color: var(--navy);
  background: var(--gold);
  border: 2px solid var(--leaf);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(248, 248, 248, 0.5);
}

.facility-card strong {
  color: var(--navy);
  line-height: 1.25;
}

.journey-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.journey-list__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  font-weight: 900;
  background: var(--gold);
  border-radius: 50%;
}

.journey-list strong {
  color: var(--navy);
}

.admissions-section {
  background: var(--white);
}

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

.admission-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 68, 33, 0.06);
}

.admission-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  padding: 11px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: 50%;
}

.admission-card > span {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--gold);
  font-weight: 900;
}

.admission-card h3 {
  margin: 24px 0 12px;
  color: var(--navy);
  line-height: 1.25;
}

.admission-card p {
  margin: 0;
  color: var(--muted);
}

.testimonial-section {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial-card::before {
  display: block;
  margin-bottom: 16px;
  color: var(--leaf);
  content: "Review";
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 700;
}

.testimonial-card figcaption {
  margin-top: 22px;
  color: var(--navy);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 68, 33, 0.06);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
}

.contact-section {
  background: var(--white);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list > span {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-list .icon {
  color: var(--green);
  flex: 0 0 auto;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.search-field {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.search-field:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(235, 188, 76, 0.32);
}

.honeypot {
  display: none !important;
}

.form-notice {
  padding: 12px 14px;
  margin: 0;
  font-weight: 800;
  border-radius: var(--radius);
}

.form-notice--success {
  color: var(--green);
  background: var(--cream);
}

.form-notice--error {
  color: var(--navy);
  background: var(--cream);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 58px 0 34px;
}

.site-footer__brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.site-footer__brand img {
  width: 180px;
  height: 88px;
  object-fit: contain;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  line-height: 1.25;
}

.site-footer p {
  margin: 0;
}

.footer-menu {
  display: grid;
  gap: 9px;
}

.footer-menu a {
  color: inherit;
  text-decoration: none;
}

.footer-menu--links a {
  color: var(--white);
  font-weight: 800;
}

.footer-menu--icons li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-menu--icons .icon {
  color: var(--gold);
  flex: 0 0 auto;
  margin-top: 0.16em;
}

.footer-menu a:hover {
  color: var(--gold);
}

.site-footer__bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.95rem;
}

.content-area {
  padding: 140px 0 80px;
}

.content-grid {
  display: grid;
  gap: 32px;
}

.entry {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.entry--center {
  text-align: center;
}

.entry__header h1,
.entry__header h2 {
  color: var(--green);
}

.entry__header a {
  text-decoration: none;
}

.entry__meta {
  color: var(--muted);
  font-weight: 700;
}

.entry__thumb img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 20px 0;
  border-radius: var(--radius);
}

.entry__content > *:first-child {
  margin-top: 0;
}

.entry__content > *:last-child {
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.nav-links a,
.page-numbers,
.search-submit {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.search-submit {
  color: var(--white);
  background: var(--green);
  cursor: pointer;
}

.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__content {
  animation: hero-in 760ms ease both;
}

.hero__stats div {
  animation: stat-rise 700ms ease both;
}

.hero__stats div:nth-child(2) {
  animation-delay: 120ms;
}

.hero__stats div:nth-child(3) {
  animation-delay: 220ms;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stat-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .header-actions {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-self: end;
  }
}

@media (max-width: 860px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 78px;
  }

  .site-brand img,
  .custom-logo-link img {
    width: 148px;
    height: 58px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .menu {
    display: grid;
    gap: 4px;
  }

  .menu a {
    min-height: 42px;
  }

  .hero {
    min-height: 700px;
    padding: 118px 0 60px;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(3, 47, 90, 0.86), rgba(7, 68, 33, 0.58));
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero__stats,
  .intro-band__grid,
  .service-grid,
  .substance-grid,
  .site-footer__grid,
  .feature-grid,
  .facility-grid,
  .testimonial-grid,
  .faq-grid,
  .admission-grid {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .split-grid--reverse,
  .program-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-brand__text strong {
    max-width: 160px;
    white-space: normal;
  }

  .hero {
    min-height: 720px;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .search-form {
    flex-direction: column;
  }

  .button,
  .search-submit {
    width: 100%;
  }

  .hero__stats div,
  .intro-band__grid > div,
  .service-card,
  .contact-form,
  .entry {
    padding: 22px;
  }

  .site-footer__brand {
    display: grid;
  }
}
