:root {
  --navy: #1b2631;
  --navy-deep: #121a22;
  --cream: #fdfbf7;
  --cream-soft: #f7f3ec;
  --gold: #c5b49e;
  --gold-dark: #b09a82;
  --charcoal: #2c333a;
  --white: #ffffff;
  --header-h: 100px;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(197, 180, 158, 0.25);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.footer-logo {
  width: 80px;
  height: 80px;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.main-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  text-align: right;
}

.header-cta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  line-height: 1.2;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.header-cta-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.header-location {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 15rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.header-location svg {
  flex-shrink: 0;
  color: #ffffff !important;
  stroke: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("images/hero-sunset.jpg")
    center 45% / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18, 26, 34, 0.72) 0%,
    rgba(18, 26, 34, 0.48) 45%,
    rgba(18, 26, 34, 0.28) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--white);
  max-width: 18ch;
  line-height: 1.18;
}

.hero-sub {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  max-width: 36rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  max-width: 28rem;
}

.hero-divider span {
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.hero-services {
  margin: 0 0 1.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-services span {
  color: var(--gold);
  margin: 0 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero-video {
  position: relative;
  justify-self: end;
  width: min(100%, 380px);
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(197, 180, 158, 0.45);
  background: #121a22;
  color: var(--white);
  overflow: hidden;
}

.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #121a22;
  display: none;
}

.hero-video.is-playing .hero-video-el {
  display: block;
  z-index: 2;
}

.hero-video-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background:
    linear-gradient(rgba(18, 26, 34, 0.55), rgba(18, 26, 34, 0.62)),
    url("images/video-intro-poster.jpg") center / cover no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.hero-video-play:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero-video.is-playing .hero-video-play {
  display: none;
}

.play-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  padding-left: 4px;
}

.video-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.video-label strong {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.video-label small {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* Values bar */
.values-bar {
  background: var(--navy);
  color: var(--white);
}

.values-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem;
  text-align: left;
}

.value-item:not(:last-child) {
  border-right: 1px solid rgba(197, 180, 158, 0.35);
}

.value-item span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Home statement */
.home-statement {
  background: var(--cream-soft);
  padding: 3.25rem 1.5rem;
  border-bottom: 1px solid rgba(197, 180, 158, 0.35);
}

.home-statement-inner {
  max-width: 52rem;
}

.home-statement p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--navy);
  text-align: center;
}

/* Shared home prose sections */
.home-prose {
  background: var(--white);
  padding: 4.5rem 1.5rem;
}

.home-prose--cream {
  background: var(--cream);
}

.home-prose--split {
  background: var(--cream-soft);
}

.home-prose-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.home-prose-inner h2,
.continuum h2,
.family-services h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--navy);
  letter-spacing: 0.02em;
}

.home-prose-inner p,
.continuum-copy p,
.home-split p,
.family-services-grid p {
  margin: 0 0 1rem;
  color: #4a5158;
  line-height: 1.7;
}

.home-prose-inner p:last-child,
.continuum-copy p:last-child,
.home-split p:last-child {
  margin-bottom: 0;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.section-eyebrow--center {
  text-align: center;
}

.star-divider--center {
  text-align: center;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.home-split h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
}

.continuum a,
.home-split a,
.family-services a,
.program-link {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.continuum a:hover,
.home-split a:hover,
.family-services a:hover,
.program-link:hover {
  color: var(--navy);
}

.program-link {
  color: #e8d7b8;
}

.program-link:hover {
  color: var(--white);
}

/* Continuum */
.continuum {
  background: var(--white);
  padding: 4.75rem 1.5rem;
  text-align: center;
}

.continuum-copy {
  max-width: 46rem;
  margin: 0 auto 2.75rem;
  text-align: left;
}

.continuum-flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.continuum-flow li:not(.continuum-arrow) {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(197, 180, 158, 0.55);
  background: var(--cream);
  text-align: center;
}

.continuum-flow strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.continuum-flow span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #5a6168;
}

.continuum-arrow {
  color: var(--gold-dark);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.15rem 0;
}

/* Family of services */
.family-services {
  background: var(--navy);
  color: var(--white);
  padding: 4.75rem 1.5rem;
  text-align: center;
}

.family-services h2 {
  color: var(--white);
}

.family-services .section-lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
}

.family-services .star-divider svg {
  fill: #c5b49e;
}

.family-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  text-align: left;
  max-width: 52rem;
  margin: 0 auto;
}

.family-services-grid h3 {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.family-services-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(197, 180, 158, 0.55);
  padding-bottom: 0.15rem;
}

.text-link:hover {
  color: var(--white) !important;
  border-bottom-color: var(--white);
}

/* Challenges */
.challenges {
  background: var(--cream);
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.challenges h2 {
  text-align: center;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: var(--navy);
  letter-spacing: 0.02em;
}

.challenges h2 em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  color: var(--gold-dark);
  font-family: var(--serif);
}

.section-lead {
  text-align: center;
  max-width: 40rem;
  margin: 1rem auto 2.75rem;
  color: #5a6168;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem 1rem;
}

.challenge-grid article {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.challenge-grid h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--cream-soft);
}

.about-media {
  min-height: 420px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  position: relative;
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.about-content::before {
  content: "SR";
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  font-family: var(--serif);
  font-size: 12rem;
  font-weight: 700;
  color: rgba(197, 180, 158, 0.12);
  line-height: 1;
  pointer-events: none;
}

.about-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  letter-spacing: 0.02em;
}

.star-divider {
  margin: 1rem 0 1.25rem;
}

.about-content p {
  margin: 0 0 1rem;
  max-width: 34rem;
  color: #4a5158;
}

.about-content .btn {
  align-self: flex-start;
  margin-top: 0.75rem;
}

/* Program */
.program {
  position: relative;
  padding: 4.5rem 1.5rem 3.5rem;
  color: var(--white);
  overflow: hidden;
}

.program-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 26, 34, 0.88), rgba(18, 26, 34, 0.9)),
    url("images/program-arena.jpg")
    center / cover no-repeat;
}

.program .section-inner {
  position: relative;
  z-index: 1;
}

.program-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.program-heading span {
  width: min(120px, 18vw);
  height: 1px;
  background: var(--gold);
}

.program-heading h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.25rem 0.75rem;
}

.program-grid article {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.program-grid h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  max-width: 9.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CTA banner */
.cta-banner {
  background: var(--gold);
}

.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--navy);
  letter-spacing: 0.03em;
}

.cta-text p {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: #3d444b;
  font-size: 0.95rem;
}

.cta-phone {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.6rem;
  text-align: center;
  min-width: 230px;
  transition: background 0.2s ease;
}

.cta-phone:hover {
  background: var(--navy-deep);
}

.cta-phone span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.cta-phone strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-brand span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--gold);
}

.footer-brand small {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  max-width: 18rem;
}

.footer-brand a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  font-weight: 600;
  -webkit-tap-highlight-color: rgba(197, 180, 158, 0.35);
}

.footer-brand a:hover,
.footer-brand a:focus-visible {
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-legal {
  text-align: right;
  font-size: 0.75rem;
}

.footer-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: rgba(197, 180, 158, 0.12);
  border: 1px solid rgba(197, 180, 158, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-phone:hover {
  background: rgba(197, 180, 158, 0.2);
  border-color: var(--gold);
}

.footer-phone-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.footer-phone strong {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
}

.footer-email {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  word-break: break-all;
}

a.footer-email:hover {
  color: var(--white);
}

.footer-links {
  margin-bottom: 0.65rem;
}

.footer-legal a:hover {
  color: var(--gold);
}

.confidential {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(197, 180, 158, 0.2);
  padding: 1rem 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.72rem;
  opacity: 0.65;
}

/* Mobile */
@media (max-width: 1024px) {
  .challenge-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 2rem;
  }

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

  .gallery img:nth-child(4),
  .gallery img:nth-child(5) {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(197, 180, 158, 0.25);
    gap: 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    color: rgba(255, 255, 255, 0.92);
  }

  .header-cta {
    display: flex;
    order: 3;
    grid-column: 1 / -1;
    align-items: center;
    width: 100%;
  }

  .header-cta-label {
    font-size: 0.7rem;
  }

  .header-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .header-location {
    justify-content: center;
    max-width: none;
    text-align: center;
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.25rem;
  }

  .hero-video {
    justify-self: start;
    width: 100%;
    max-width: 420px;
  }

  .values-inner {
    grid-template-columns: 1fr;
  }

  .value-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(197, 180, 158, 0.35);
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 3rem 1.5rem;
  }

  .home-split,
  .family-services-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-brand small {
    margin-left: auto;
    margin-right: auto;
    max-width: 20rem;
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .footer-brand a {
    display: inline;
    padding: 0.15rem 0;
  }

  .footer-legal {
    text-align: center;
  }

  .footer-phone {
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-email {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-brand small {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    max-width: 16.5rem;
  }

  .footer-brand a {
    display: inline;
    padding: 0.2rem 0;
    line-height: 1.5;
  }

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

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

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery img:nth-child(5) {
    display: none;
  }

  .gallery img {
    height: 160px;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-services {
    letter-spacing: 0.04em;
  }
}
