@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/noto-serif-400.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/noto-serif-600.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/noto-serif-700.ttf") format("truetype");
}

:root {
  --ink: #17233b;
  --navy: #17375e;
  --navy-deep: #0d223c;
  --cyan: #00a9e0;
  --blue: #0072bc;
  --sky: #74c7eb;
  --purple: #92278f;
  --purple-deep: #6f257d;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --mist: #eef6fb;
  --line: rgba(23, 35, 59, 0.16);
  --shadow: 0 28px 80px rgba(13, 34, 60, 0.16);
  --radius: 8px;
  --max: 1180px;
  --font-body: "Cachet Pro", "Cachet", "Trebuchet MS", Arial, Helvetica, sans-serif;
  --font-heading: "Cachet Pro Bold", "Cachet Pro", "Cachet", "Trebuchet MS", Arial, Helvetica, sans-serif;
  --font-subheading: "Noto Serif", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1500;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  color: var(--paper);
  background: rgba(13, 34, 60, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  font-family: var(--font-heading);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 32px rgba(13, 34, 60, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 208px;
  min-width: 180px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand img,
.site-header.nav-open .brand img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav a,
.text-link {
  position: relative;
  text-decoration: none;
}

.site-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  color: var(--paper);
  background: var(--cyan);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
  box-shadow: 0 14px 28px rgba(0, 114, 188, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(0, 114, 188, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-secondary {
  color: var(--paper);
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 14px 28px rgba(146, 39, 143, 0.2);
}

.button-secondary:hover {
  background: var(--purple-deep);
}

.button-ghost {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: var(--navy-deep);
}

.hero-media,
.hero-overlay,
.hero-shape {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
  background-image: url("assets/images/hero-soft-opening.jpg");
  background-position: center center;
  background-size: cover;
  transform: scale(1.03);
  filter: grayscale(0.2) saturate(0.68);
}

.hero-overlay {
  z-index: -3;
  background:
    radial-gradient(circle at 74% 28%, rgba(146, 39, 143, 0.24), rgba(146, 39, 143, 0) 32%),
    linear-gradient(90deg, rgba(0, 114, 188, 0.78) 0%, rgba(13, 34, 60, 0.78) 42%, rgba(13, 34, 60, 0.68) 100%),
    linear-gradient(0deg, rgba(8, 23, 42, 0.64), rgba(8, 23, 42, 0.1));
}

.hero-shape-left {
  z-index: -2;
  right: auto;
  width: 42vw;
  background: var(--cyan);
  opacity: 0.88;
  clip-path: ellipse(58% 74% at 0% 16%);
}

.hero-shape-right {
  z-index: -2;
  left: auto;
  top: auto;
  width: 38vw;
  height: 34vh;
  background: var(--navy);
  clip-path: ellipse(75% 90% at 100% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7vw;
  right: -7vw;
  bottom: -26vh;
  height: 38vh;
  background: var(--cream);
  clip-path: ellipse(55% 70% at 50% 0%);
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(150px, 19vh, 210px) 0 140px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sky);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.impact-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.pathways {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: -88px auto 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pathway {
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background 160ms ease, transform 160ms ease;
}

.pathway:last-child {
  border-right: 0;
}

.pathway:hover {
  background: var(--mist);
}

.pathway-kicker {
  display: block;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pathway strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--navy);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.pathway span:last-child {
  display: block;
  color: rgba(23, 35, 59, 0.78);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) 0;
}

.split-section,
.childcare-section,
.form-section,
.locations-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(38px, 7vw, 86px);
  align-items: start;
}

.childcare-section {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  align-items: center;
}

.form-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  padding-top: 40px;
}

.section h2,
.impact-copy h2,
.final-cta h2 {
  color: var(--navy-deep);
  font-size: clamp(2.1rem, 4.5vw, 4.6rem);
}

.section-copy > p:not(.eyebrow),
.form-section p,
.impact-copy p,
.final-cta p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(23, 35, 59, 0.76);
  font-size: 1.08rem;
}

.membership-trial-image {
  width: min(100%, 620px);
  margin: 28px 0 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 59, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.membership-trial-image img {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-hero.membership-hero {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  gap: 20px;
  align-items: center;
  padding: 88px clamp(22px, 4vw, 34px) 22px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(0, 114, 188, 0.94), rgba(13, 34, 60, 0.92) 48%, rgba(146, 39, 143, 0.9)),
    var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.membership-hero-copy {
  max-width: 820px;
}

.page-hero.membership-hero h1 {
  color: var(--paper);
  font-size: clamp(2.35rem, 4vw, 2.9rem);
  line-height: 1.04;
}

.page-hero.membership-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 14px;
  font-size: 1rem;
}

.membership-hero-copy > p:not(.eyebrow) {
  display: none;
}

.membership-hero .hero-actions {
  gap: 10px;
  margin-top: 18px;
}

.membership-rate-panel {
  align-self: center;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 170px;
  padding: clamp(20px, 2.6vw, 28px);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(0, 114, 188, 0.92), rgba(146, 39, 143, 0.9)),
    var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.membership-rate-banner {
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 0;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.membership-rate-panel span,
.membership-rate-panel p {
  margin: 0;
}

.membership-rate-panel span {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-rate-panel strong {
  font-family: var(--font-heading);
  font-size: clamp(2.55rem, 4.2vw, 3.45rem);
  line-height: 0.9;
}

.membership-rate-banner-copy {
  display: none;
  gap: 6px;
  max-width: 560px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.membership-rate-banner-copy span {
  color: var(--paper);
  font-size: 1.02rem;
}

.membership-rate-banner-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.section.membership-builder-priority {
  padding-top: 18px;
}

.membership-plan-grid,
.membership-add-on-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.membership-plan-card,
.membership-add-on-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 59, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.08);
}

.membership-plan-card {
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.membership-plan-card.is-recommended {
  border-color: rgba(0, 169, 224, 0.74);
  box-shadow: 0 20px 54px rgba(0, 114, 188, 0.16);
  transform: translateY(-3px);
}

.membership-plan-card.is-recommended::after {
  content: "Best match";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--purple);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-plan-card h3,
.membership-add-on-grid strong {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  line-height: 1.1;
}

.membership-price {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.membership-price span {
  margin-left: 4px;
  color: rgba(23, 35, 59, 0.62);
  font-size: 0.98rem;
}

.membership-plan-card ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: rgba(23, 35, 59, 0.78);
}

.membership-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.membership-calculator-form {
  display: grid;
  gap: 22px;
}

.membership-calculator-form fieldset {
  display: grid;
  gap: 16px;
  padding: 24px;
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 59, 0.12);
  border-radius: var(--radius);
}

.membership-calculator-form legend {
  padding: 0 8px;
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 900;
}

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

.member-count-grid label {
  display: grid;
  gap: 8px;
  color: rgba(23, 35, 59, 0.74);
  font-weight: 900;
}

.member-count-grid input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 35, 59, 0.18);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 900;
}

.amenity-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.amenity-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  min-height: 88px;
  padding: 14px;
  background: rgba(0, 169, 224, 0.06);
  border: 1px solid rgba(0, 114, 188, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
}

.amenity-check input {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--purple);
}

.amenity-check span {
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
}

.amenity-check em {
  color: rgba(23, 35, 59, 0.65);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.25;
}

.amenity-check.is-included {
  cursor: default;
  background: rgba(146, 39, 143, 0.08);
  border-color: rgba(146, 39, 143, 0.2);
}

.membership-result {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--paper);
  background: var(--navy-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.membership-result h3,
.membership-result p,
.membership-result ul {
  margin: 0;
}

.membership-result h3 {
  font-family: var(--font-subheading);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.membership-result .panel-kicker {
  color: var(--cyan);
}

.result-price {
  display: block;
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1;
}

.result-average {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.result-breakdown {
  display: grid;
  gap: 8px;
  padding: 14px 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.result-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.membership-result .button {
  justify-self: start;
  margin-top: 4px;
}

.membership-add-on-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.membership-add-on-grid article span {
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-add-on-grid strong {
  font-size: 1.75rem;
}

.membership-add-on-grid p,
.membership-service-note {
  margin: 0;
  color: rgba(23, 35, 59, 0.72);
}

.membership-service-note {
  max-width: 780px;
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(0, 169, 224, 0.08);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
}

.lead-panel,
.tour-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.12);
}

.panel-kicker {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-panel h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: 2rem;
  line-height: 1.1;
}

.lead-panel-intro {
  margin: 0;
  color: rgba(23, 35, 59, 0.74);
  font-size: 1rem;
  line-height: 1.45;
}

.crm-form-panel {
  align-content: start;
}

.crm-form-embed {
  display: block;
  width: 100%;
  min-height: 360px;
}

.crm-form-embed iframe {
  width: 100% !important;
  min-height: 520px;
  border: 0;
}

.crm-form-embed form {
  display: grid;
  gap: 16px;
}

.crm-form-embed input,
.crm-form-embed select,
.crm-form-embed textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid rgba(23, 35, 59, 0.22);
  border-radius: var(--radius);
  outline: 0;
  font: inherit;
}

.crm-form-embed textarea {
  min-height: 120px;
  padding-block: 12px;
}

.crm-form-embed input:focus,
.crm-form-embed select:focus,
.crm-form-embed textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 134, 200, 0.16);
}

.crm-form-embed button,
.crm-form-embed input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: var(--paper);
  background: var(--cyan);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: rgba(23, 35, 59, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

fieldset {
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
  margin-bottom: 8px;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid rgba(23, 35, 59, 0.22);
  border-radius: var(--radius);
  outline: 0;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 134, 200, 0.16);
}

.check-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.form-note {
  margin: 0;
  color: rgba(23, 35, 59, 0.64);
  font-size: 0.88rem;
  font-weight: 700;
}

.detail-band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--navy-deep);
  color: var(--paper);
}

.detail-band h2 {
  max-width: 830px;
  color: var(--paper);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.program-card {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.program-card span {
  color: var(--sky);
  font-weight: 900;
}

.program-card h3 {
  margin: 26px 0 10px;
  color: var(--paper);
  font-family: var(--font-subheading);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
}

.program-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack img:last-child {
  aspect-ratio: 3 / 4;
  margin-bottom: -42px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 0;
}

.stats-row div {
  min-height: 108px;
  padding: 16px;
  background: var(--paper);
  border-left: 5px solid var(--purple);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(13, 34, 60, 0.08);
}

.stats-row strong {
  display: block;
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.stats-row span {
  display: block;
  margin-top: 8px;
  color: rgba(23, 35, 59, 0.7);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.tour-form .button,
.tour-form .form-note {
  grid-column: 1 / -1;
}

.impact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: stretch;
  min-height: 650px;
  margin-top: 48px;
  color: var(--paper);
  background: var(--navy-deep);
  overflow: hidden;
}

.impact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--purple);
  clip-path: ellipse(42% 70% at 0% 0%);
  opacity: 0.68;
}

.impact-hero img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.impact-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 96px);
}

.impact-copy h2,
.impact-copy p {
  color: var(--paper);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.impact-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.1);
}

.impact-grid strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1;
}

.impact-grid h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-family: var(--font-subheading);
  font-size: 1.25rem;
  font-weight: 700;
}

.impact-grid p {
  margin: 0;
  color: rgba(23, 35, 59, 0.72);
}

.locations-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  padding-top: 40px;
}

.branch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.branch-list button {
  min-height: 46px;
  padding: 0 16px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.branch-list button:hover,
.branch-list button.is-selected {
  color: var(--paper);
  background: var(--navy);
}

.final-cta {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 90px 20px;
  text-align: center;
  color: var(--paper);
  background:
    linear-gradient(rgba(13, 34, 60, 0.82), rgba(13, 34, 60, 0.82)),
    url("https://s3.amazonaws.com/reclique-core-csra/wp-content/_prev/2014/05/join-family.jpg") center / cover;
}

.final-cta h2,
.final-cta p {
  color: var(--paper);
}

.final-cta p {
  max-width: 680px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 52px);
  color: var(--paper);
  background: var(--navy-deep);
}

.site-footer p {
  max-width: 560px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  font-weight: 900;
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 16px 18px;
  color: var(--paper);
  background: var(--navy-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.locations-page .site-header,
.impact-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 32px rgba(13, 34, 60, 0.12);
}

.locations-page .brand img,
.impact-page .brand img {
  filter: none;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 158px 0 70px;
}

.page-hero h1,
.child-programs-section h2,
.childcare-guidance h2,
.dynamic-programs-section h2,
.impact-metrics-section h2,
.impact-pillars-section h2,
.impact-support-section h2,
.impact-programs-section h2,
.impact-volunteer-section h2,
.location-map-section h2,
.location-directory h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(23, 35, 59, 0.76);
  font-size: 1.12rem;
}

.page-hero .membership-rate-panel p,
.page-hero .membership-rate-banner-copy p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.child-programs-section,
.dynamic-programs-section,
.impact-metrics-section,
.impact-support-section,
.impact-programs-section,
.impact-volunteer-section,
.location-map-section,
.location-directory {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.section-intro {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-intro p:not(.eyebrow) {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(23, 35, 59, 0.74);
  font-size: 1rem;
}

.child-programs-section h2,
.childcare-guidance h2,
.dynamic-programs-section h2,
.impact-metrics-section h2,
.impact-pillars-section h2,
.impact-support-section h2,
.impact-programs-section h2,
.impact-volunteer-section h2,
.location-map-section h2,
.location-directory h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

.childcare-hero {
  align-items: center;
}

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

.child-program-card {
  display: grid;
  grid-template-rows: 178px 1fr;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.1);
}

.child-program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-program-card-body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 13px;
  padding: 22px;
}

.child-program-card-action {
  align-self: end;
  justify-self: start;
  margin-top: 2px;
  box-shadow: 0 10px 22px rgba(0, 114, 188, 0.18);
}

.program-type {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.child-program-card h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.12;
}

.child-program-card p:not(.program-type) {
  margin: 0;
  color: rgba(23, 35, 59, 0.74);
  font-size: 0.95rem;
  line-height: 1.45;
}

.branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: start;
  align-content: flex-start;
  align-items: flex-start;
}

.branch-tags span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  padding: 6px 9px;
  color: var(--navy-deep);
  white-space: nowrap;
  background: var(--mist);
  border: 1px solid rgba(0, 114, 188, 0.12);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.program-card-branches {
  display: grid;
  gap: 7px;
  align-self: start;
}

.dynamic-program-card .program-card-branches-label {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.program-facts {
  display: grid;
  gap: 8px;
  align-self: end;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.program-facts div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.program-facts dt {
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.childcare-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 86px;
  padding: clamp(26px, 4vw, 38px);
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(13, 34, 60, 0.96), rgba(0, 114, 188, 0.88)),
    url("assets/images/childcare-day-camp.svg") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.childcare-inquiry-section {
  scroll-margin-top: 110px;
  padding-top: 28px;
}

.childcare-inquiry-section .crm-form-panel {
  align-self: start;
}

.childcare-guidance h2,
.childcare-guidance .eyebrow {
  color: var(--paper);
}

.guidance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.childcare-cta {
  min-height: 480px;
  background:
    linear-gradient(rgba(13, 34, 60, 0.82), rgba(13, 34, 60, 0.82)),
    url("assets/images/childcare-overnight-camp.svg") center / cover;
}

.programs-hero {
  align-items: center;
}

.program-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.program-section-header .section-intro {
  margin-bottom: 0;
}

.program-section-action {
  align-self: center;
  justify-self: end;
  margin: 8px 0;
  white-space: nowrap;
}

.program-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, 0.55fr) minmax(270px, 0.9fr) minmax(270px, 0.9fr) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 24px;
}

.program-search-control,
.program-filter-control,
.program-class-day-control,
.program-class-type-control,
.program-type-filter,
.program-audience-filter,
.program-time-filter {
  min-width: 0;
}

.program-search-control,
.program-filter-control,
.program-class-day-control,
.program-class-type-control {
  display: grid;
  gap: 7px;
}

.program-filter-control > span,
.program-class-day-control > span,
.program-class-type-control > span,
.program-type-filter legend,
.program-audience-filter legend,
.program-time-filter legend {
  color: rgba(23, 35, 59, 0.68);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-tools input,
.program-tools select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(13, 34, 60, 0.07);
}

.program-tools select {
  cursor: pointer;
}

.program-mobile-filter-toggle {
  display: none;
}

.program-class-refinements {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(170px, 220px) minmax(220px, 320px);
  gap: 14px;
  align-items: start;
  justify-content: start;
  margin: -10px 0 24px;
  padding: 16px;
  background: rgba(238, 246, 251, 0.72);
  border: 1px solid rgba(0, 114, 188, 0.12);
  border-radius: var(--radius);
}

.program-class-refinements[hidden] {
  display: none;
}

.program-class-refinements select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(13, 34, 60, 0.07);
  cursor: pointer;
}

.program-type-filter,
.program-audience-filter,
.program-time-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  margin: 0;
  border: 0;
}

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

.program-class-day-control,
.program-class-type-control {
  align-self: start;
}

.program-type-filter legend,
.program-audience-filter legend,
.program-time-filter legend {
  grid-column: 1 / -1;
}

.program-type-filter label,
.program-audience-filter label,
.program-time-filter label {
  position: relative;
  display: block;
  min-width: 0;
}

.program-type-filter input,
.program-audience-filter input,
.program-time-filter input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.program-type-filter span,
.program-audience-filter span,
.program-time-filter span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 0 12px;
  color: var(--navy);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(13, 34, 60, 0.07);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
}

.program-type-filter input:checked + span,
.program-audience-filter input:checked + span,
.program-time-filter input:checked + span {
  color: var(--paper);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.program-type-filter input:focus-visible + span,
.program-audience-filter input:focus-visible + span,
.program-time-filter input:focus-visible + span {
  outline: 3px solid rgba(0, 169, 224, 0.34);
  outline-offset: 2px;
}

.program-count {
  min-width: 118px;
  padding: 13px 16px;
  color: var(--paper);
  text-align: center;
  background: var(--navy-deep);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 900;
}

@media (max-width: 1060px) {
  .page-hero.membership-hero,
  .membership-builder-grid {
    grid-template-columns: 1fr;
  }

  .membership-result {
    position: static;
  }

  .membership-rate-banner {
    grid-template-columns: 1fr;
  }

  .membership-rate-banner-copy {
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .membership-plan-grid,
  .membership-add-on-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-section-header {
    grid-template-columns: 1fr;
  }

  .program-section-action {
    justify-self: start;
  }

  .program-tools {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  }

  .program-search-control,
  .program-type-filter,
  .program-audience-filter,
  .program-count {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page-hero.membership-hero {
    gap: 16px;
    padding-top: 96px;
    padding-bottom: 20px;
  }

  .page-hero.membership-hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.6rem);
  }

  .page-hero.membership-hero p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 1rem;
  }

  .membership-hero-copy > p:not(.eyebrow),
  .membership-rate-banner-copy p {
    display: none;
  }

  .membership-rate-banner {
    min-height: auto;
    padding: 16px;
  }

  .membership-rate-panel strong {
    font-size: clamp(2.7rem, 14vw, 3.6rem);
  }

  .membership-hero .hero-actions {
    display: none;
  }

  .membership-rate-banner-copy {
    padding-top: 12px;
  }

  .member-count-grid,
  .amenity-check-grid,
  .membership-plan-grid,
  .membership-add-on-grid {
    grid-template-columns: 1fr;
  }

  .membership-rate-panel,
  .membership-calculator-form fieldset,
  .membership-result,
  .membership-plan-card,
  .membership-add-on-grid article {
    padding: 20px;
  }

  .program-tools {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-auto-flow: row dense;
    gap: 10px;
    margin-bottom: 16px;
  }

  .program-class-refinements {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: -4px 0 18px;
    padding: 10px;
  }

  .program-section-action {
    width: 100%;
    white-space: normal;
  }

  .program-type-filter,
  .program-audience-filter {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .program-time-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .program-search-control {
    order: 1;
    grid-column: 1 / -1;
  }

  .program-filter-control {
    display: none;
    order: 5;
    grid-column: 1 / -1;
  }

  .program-audience-filter {
    display: none;
    order: 6;
  }

  .dynamic-programs-section.is-mobile-filters-open .program-filter-control,
  .dynamic-programs-section.is-mobile-filters-open .program-audience-filter {
    display: grid;
  }

  .dynamic-programs-section:not(.is-mobile-filters-open) .program-class-refinements {
    display: none;
  }

  .program-type-filter {
    order: 2;
  }

  .program-mobile-filter-toggle {
    display: inline-flex;
    order: 4;
    grid-column: 2;
    align-self: end;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    color: var(--paper);
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(13, 34, 60, 0.07);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
  }

  .program-count {
    display: grid;
    order: 3;
    grid-column: 1;
    align-self: end;
    min-width: 86px;
    min-height: 42px;
    place-items: center;
    padding: 0 10px;
    font-size: 0.82rem;
    line-height: 1;
  }

  .program-filter-control > span,
  .program-class-day-control > span,
  .program-class-type-control > span,
  .program-type-filter legend,
  .program-audience-filter legend,
  .program-time-filter legend {
    font-size: 0.68rem;
  }

  .program-tools input,
  .program-tools select,
  .program-class-refinements select {
    min-height: 42px;
    padding: 0 11px;
  }

  .program-type-filter,
  .program-audience-filter,
  .program-time-filter {
    gap: 5px;
  }

  .program-type-filter span,
  .program-audience-filter span,
  .program-time-filter span {
    min-height: 40px;
    padding: 0 6px;
    font-size: 0.68rem;
  }
}

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

.dynamic-program-card {
  display: grid;
  grid-template-rows: 168px 1fr;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.1);
}

.dynamic-program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-program-card-body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 13px;
  padding: 22px;
}

.program-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.program-card-topline .program-type {
  margin: 0;
}

.program-card-topline span {
  padding: 5px 8px;
  color: var(--paper);
  background: var(--cyan);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.dynamic-program-card h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  line-height: 1.12;
}

.dynamic-program-card p:not(.program-type) {
  margin: 0;
  color: rgba(23, 35, 59, 0.74);
  font-size: 0.94rem;
  line-height: 1.45;
}

.program-card-details {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.program-card-details div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.program-card-details dt {
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card-details dd {
  margin: 0;
  color: rgba(23, 35, 59, 0.78);
  font-size: 0.9rem;
  line-height: 1.25;
}

.program-card-link {
  align-self: end;
  justify-self: start;
  margin-top: 4px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
}

.program-card-link::after {
  content: " ->";
}

.program-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  color: rgba(23, 35, 59, 0.76);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.program-skeleton {
  min-height: 370px;
  background:
    linear-gradient(100deg, rgba(238, 246, 251, 0.72), rgba(255, 255, 255, 0.95), rgba(238, 246, 251, 0.72)),
    var(--paper);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.programs-guidance {
  background:
    linear-gradient(120deg, rgba(13, 34, 60, 0.96), rgba(146, 39, 143, 0.82)),
    url("assets/images/program-community.svg") center / cover;
}

.programs-cta {
  min-height: 480px;
  background:
    linear-gradient(rgba(13, 34, 60, 0.82), rgba(13, 34, 60, 0.82)),
    url("assets/images/program-swim.svg") center / cover;
}

.location-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(236px, 300px);
  gap: 18px;
  align-items: start;
}

.location-map-controls {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 14px;
  position: sticky;
  top: 104px;
}

.location-map-shell {
  position: relative;
  z-index: 0;
  isolation: isolate;
  grid-column: 1;
  grid-row: 1;
  padding: clamp(12px, 2vw, 18px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location-amenity-filter,
.location-visible-branches {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13, 34, 60, 0.08);
}

.location-amenity-filter label,
.location-visible-branches h3 {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.location-amenity-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}

.location-amenity-filter select {
  width: 100%;
  min-height: 42px;
  padding: 0 42px 0 14px;
  color: var(--navy-deep);
  font: 900 0.94rem/1 var(--font-heading);
  background: #fff;
  border: 1px solid rgba(23, 35, 59, 0.16);
  border-radius: 8px;
}

.location-amenity-filter p {
  margin: 0;
  color: rgba(23, 35, 59, 0.7);
  font-size: 0.84rem;
  line-height: 1.35;
}

.location-amenity-filter .button {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  font-size: 0.86rem;
}

.location-amenity-filter button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.location-branch-chip-list {
  display: flex;
  max-height: 390px;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.location-branch-chip {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 7px 9px;
  color: var(--navy-deep);
  text-align: left;
  background: #fff;
  border: 1px solid rgba(23, 35, 59, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(13, 34, 60, 0.06);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.location-branch-chip:hover,
.location-branch-chip:focus-visible,
.location-branch-chip.is-active {
  background: rgba(146, 39, 143, 0.07);
  border-color: rgba(146, 39, 143, 0.46);
  box-shadow: 0 12px 26px rgba(146, 39, 143, 0.14);
}

.location-branch-chip:focus-visible {
  outline: 3px solid rgba(0, 163, 224, 0.34);
  outline-offset: 2px;
}

.location-branch-chip:hover,
.location-branch-chip.is-active {
  transform: translateY(-1px);
}

.location-branch-chip span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.location-branch-chip.is-active span {
  background: var(--purple);
}

.location-branch-chip b {
  overflow-wrap: anywhere;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.05;
}

.location-branch-chip-empty {
  margin: 0;
  color: rgba(23, 35, 59, 0.7);
  font-size: 0.88rem;
  line-height: 1.35;
}

.real-location-map {
  width: 100%;
  height: clamp(520px, 62vw, 650px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 59, 0.12);
  border-radius: var(--radius);
  background: #e7edf2;
}

.legacy-location-map {
  display: none;
}

.leaflet-container {
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-container,
.leaflet-container * {
  box-sizing: border-box;
}

.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-tooltip-pane,
.leaflet-popup-pane {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-map-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-tile {
  border: 0;
  max-width: none;
  user-select: none;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-control {
  position: relative;
  clear: both;
  float: left;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-left .leaflet-control {
  float: left;
}

.leaflet-top {
  top: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-top .leaflet-control {
  margin-top: 14px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 14px;
}

.leaflet-left .leaflet-control {
  margin-left: 14px;
}

.leaflet-right .leaflet-control {
  margin-right: 14px;
}

.leaflet-control-zoom {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 59, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13, 34, 60, 0.14);
}

.leaflet-control-zoom a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.leaflet-popup {
  position: absolute;
  z-index: 720;
  text-align: left;
  filter: drop-shadow(0 24px 42px rgba(13, 34, 60, 0.22));
}

.leaflet-popup-close-button {
  display: grid;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--paper);
  border: 1px solid rgba(23, 35, 59, 0.14);
  border-radius: 50%;
  font: 22px/1 var(--font-heading);
  text-decoration: none;
}

.leaflet-popup-tip-container {
  display: none;
}

.leaflet-control-attribution {
  padding: 4px 7px;
  color: rgba(23, 35, 59, 0.74);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius) 0 0 0;
  font-size: 0.68rem;
  line-height: 1.2;
}

.leaflet-control-attribution a {
  color: var(--blue);
}

.ymca-leaflet-marker {
  display: grid;
  width: 44px;
  height: 48px;
  place-items: center;
  color: var(--paper);
}

.ymca-leaflet-marker span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #2f9e44;
  border: 3px solid var(--paper);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 26px rgba(13, 34, 60, 0.26);
  transform: rotate(-45deg);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ymca-leaflet-marker b {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  transform: rotate(45deg);
}

.ymca-leaflet-marker.is-highlighted {
  z-index: 1200 !important;
}

.ymca-leaflet-marker.is-highlighted span {
  box-shadow:
    0 0 0 7px rgba(146, 39, 143, 0.18),
    0 18px 34px rgba(13, 34, 60, 0.28);
  transform: rotate(-45deg) scale(1.16);
}

.ymca-leaflet-marker.activity-low span {
  background: #2f9e44;
}

.ymca-leaflet-marker.activity-brand span {
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 114, 188, 0.28);
}

.ymca-leaflet-marker.activity-moderate {
  color: var(--navy-deep);
}

.ymca-leaflet-marker.activity-moderate span {
  background: #f6c343;
  box-shadow: 0 12px 28px rgba(176, 124, 0, 0.28);
}

.ymca-leaflet-marker.activity-peak span {
  background: #f47b20;
  box-shadow: 0 12px 30px rgba(190, 92, 16, 0.34);
}

.leaflet-tile-pane {
  filter: saturate(0.96) contrast(1.02);
}

.activity-map-legend {
  display: grid;
  gap: 6px;
  min-width: 168px;
  padding: 12px 14px;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 35, 59, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(13, 34, 60, 0.18);
  font-family: var(--font-body);
}

.activity-map-legend strong {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-map-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(23, 35, 59, 0.76);
  font-size: 0.8rem;
  line-height: 1;
}

.activity-map-legend i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.activity-map-legend small {
  margin-top: 4px;
  color: rgba(23, 35, 59, 0.64);
  font-size: 0.74rem;
}

.activity-map-legend .low {
  background: #2f9e44;
}

.activity-map-legend .moderate {
  background: #f6c343;
}

.activity-map-legend .peak {
  background: #f47b20;
}

.leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(13, 34, 60, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(13, 34, 60, 0.24);
}

.leaflet-popup-content {
  width: min(330px, calc(100vw - 48px)) !important;
  margin: 0;
  background: var(--paper);
}

.leaflet-popup-tip {
  display: none;
}

.map-popup-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.map-popup-card h3 {
  margin: 0;
  padding-right: 30px;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: 1.22rem;
  line-height: 1.12;
}

.map-popup-card p {
  margin: 0;
  color: rgba(23, 35, 59, 0.9);
  font-size: 0.92rem;
  line-height: 1.35;
}

.map-popup-card a {
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
}

.activity-readout {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--mist);
  border: 1px solid rgba(23, 35, 59, 0.1);
  border-left: 5px solid #2f9e44;
  border-radius: 8px;
}

.activity-readout.activity-moderate {
  border-left-color: #f6c343;
}

.activity-readout.activity-peak {
  border-left-color: #f47b20;
}

.activity-readout p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
}

.activity-readout p span {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: #2f9e44;
  border-radius: 50%;
}

.activity-readout.activity-moderate p span {
  background: #f6c343;
}

.activity-readout.activity-peak p span {
  background: #f47b20;
}

.map-popup-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-popup-detail {
  display: grid;
  gap: 6px;
}

.map-popup-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-popup-card li {
  padding: 5px 8px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid rgba(0, 114, 188, 0.11);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.15;
}

.map-popup-card .location-see-more {
  font-size: 0.82rem;
}

.location-map {
  position: relative;
  min-height: 650px;
  overflow: visible;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 52% 34%, rgba(116, 199, 235, 0.2), rgba(116, 199, 235, 0) 30%),
    radial-gradient(circle at 82% 68%, rgba(146, 39, 143, 0.12), rgba(146, 39, 143, 0) 26%),
    linear-gradient(135deg, #eef6fb 0%, #ffffff 52%, #f4eef7 100%);
  border: 1px solid rgba(23, 35, 59, 0.12);
}

.location-map::before,
.location-map::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.location-map::before {
  left: 0;
  top: -16%;
  width: 36%;
  height: 68%;
  background: rgba(0, 169, 224, 0.16);
  transform: rotate(-18deg);
}

.location-map::after {
  right: 0;
  bottom: -18%;
  width: 38%;
  height: 62%;
  background: rgba(23, 55, 94, 0.14);
  transform: rotate(-12deg);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-lines path {
  fill: none;
  stroke: rgba(23, 35, 59, 0.18);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 12 16;
}

.map-lines .river {
  stroke: rgba(0, 169, 224, 0.46);
  stroke-width: 11;
  stroke-dasharray: none;
}

.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(23, 35, 59, 0.5);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-label-nw {
  left: 7%;
  top: 8%;
}

.map-label-center {
  left: 48%;
  top: 47%;
}

.map-label-east {
  right: 7%;
  top: 54%;
}

.map-label-south {
  left: 44%;
  bottom: 7%;
}

.location-marker {
  position: absolute;
  z-index: 5;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.pin {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--purple);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(13, 34, 60, 0.22);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 900;
}

.location-marker:nth-of-type(2n) .pin {
  background: var(--cyan);
}

.location-marker:nth-of-type(3n) .pin {
  background: var(--blue);
}

.pin-name {
  max-width: 122px;
  padding: 5px 8px;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(13, 34, 60, 0.12);
  font-family: var(--font-heading);
  font-size: 0.73rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.location-popup {
  position: absolute;
  z-index: 12;
  left: 0;
  top: calc(100% + 12px);
  display: none;
  width: min(330px, calc(100vw - 48px));
  gap: 8px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 59, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.popup-left .location-popup {
  left: auto;
  right: 0;
}

.location-popup strong {
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: 1.14rem;
  line-height: 1.15;
}

.location-popup span {
  color: rgba(23, 35, 59, 0.74);
  font-size: 0.88rem;
  line-height: 1.35;
}

.location-popup em {
  margin-top: 6px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.location-marker:hover,
.location-marker:focus-visible,
.location-marker.is-active {
  z-index: 20;
  outline: 0;
}

.location-marker:hover .location-popup,
.location-marker:focus-visible .location-popup,
.location-marker.is-active .location-popup {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.location-marker:hover .pin,
.location-marker:focus-visible .pin,
.location-marker.is-active .pin {
  transform: scale(1.08);
}

.location-directory {
  padding-top: 10px;
}

.locations-page .location-map-section {
  padding-top: 138px;
}

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

.location-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(13, 34, 60, 0.09);
}

.location-card h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: 1.34rem;
  line-height: 1.15;
}

.location-card p {
  margin: 0;
  color: rgba(23, 35, 59, 0.72);
  font-size: 0.94rem;
}

.location-card a {
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
}

.location-card .location-card-cta {
  align-self: end;
  justify-self: start;
  margin-top: auto;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 163, 224, 0.2);
}

.location-card .location-card-cta:hover {
  color: #fff;
}

.location-card-detail {
  display: grid;
  gap: 8px;
}

.location-card-detail strong {
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.location-card-detail ul {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-card-detail li {
  padding: 6px 10px;
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  background: rgba(0, 163, 224, 0.08);
  border: 1px solid rgba(0, 163, 224, 0.18);
  border-radius: 999px;
}

.location-see-more {
  justify-self: start;
  min-height: 0;
  padding: 0;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.location-see-more:hover,
.location-see-more:focus-visible {
  color: var(--purple);
}

body.is-location-detail-modal-open {
  overflow: hidden;
}

.location-detail-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.location-detail-modal[hidden] {
  display: none;
}

.location-detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(13, 34, 60, 0.64);
  border: 0;
  cursor: pointer;
}

.location-detail-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: min(86vh, 860px);
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(13, 34, 60, 0.34);
  outline: 0;
}

.location-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 38px;
  padding: 9px 14px;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 35, 59, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(13, 34, 60, 0.12);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.location-detail-close:hover,
.location-detail-close:focus-visible {
  color: var(--purple);
  border-color: rgba(146, 39, 143, 0.28);
}

.location-detail-header {
  display: grid;
  gap: 10px;
  padding: clamp(28px, 5vw, 46px) clamp(22px, 5vw, 46px);
  padding-right: clamp(94px, 12vw, 126px);
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--purple));
}

.location-detail-header .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.location-detail-header h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
}

.location-detail-header p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.location-detail-header a {
  justify-self: start;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
}

.location-detail-body {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px) clamp(22px, 5vw, 46px) clamp(28px, 5vw, 46px);
}

.location-detail-section {
  display: grid;
  gap: 12px;
}

.location-detail-section h3 {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.location-detail-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-detail-chip-list li {
  padding: 7px 11px;
  color: var(--navy-deep);
  background: rgba(0, 163, 224, 0.08);
  border: 1px solid rgba(0, 163, 224, 0.18);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.15;
}

.location-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}

.location-card-empty {
  grid-column: 1 / -1;
}

.locations-cta {
  min-height: 460px;
}

.impact-page-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
}

.impact-page-visual {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.impact-page-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.impact-page-visual div {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--paper);
}

.impact-page-visual strong {
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.05;
}

.impact-page-visual span {
  color: rgba(23, 35, 59, 0.72);
  font-weight: 800;
  line-height: 1.35;
}

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

.impact-stat-grid article,
.impact-support-grid article,
.impact-volunteer-grid article,
.impact-volunteer-requirements {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.1);
}

.impact-stat-grid article {
  min-height: 220px;
  padding: 26px;
}

.impact-stat-grid strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

.impact-stat-grid h3,
.impact-support-grid h3,
.impact-program-grid h3,
.impact-volunteer-grid h3,
.impact-volunteer-requirements h3 {
  margin: 18px 0 10px;
  color: var(--navy-deep);
  font-family: var(--font-subheading);
  font-size: 1.3rem;
  line-height: 1.12;
}

.impact-stat-grid p,
.impact-support-grid p,
.impact-program-grid p,
.impact-volunteer-grid p,
.impact-volunteer-requirements p {
  margin: 0;
  color: rgba(23, 35, 59, 0.74);
  line-height: 1.45;
}

.impact-pillars-section {
  width: 100%;
  max-width: none;
  padding: 84px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--navy-deep);
}

.impact-pillars-section h2,
.impact-pillars-section .section-intro p:not(.eyebrow) {
  color: var(--paper);
}

.impact-pillar-grid,
.impact-support-grid,
.impact-program-grid,
.impact-volunteer-grid {
  display: grid;
  gap: 18px;
}

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

.impact-pillar-grid article {
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.impact-pillar-grid span {
  color: var(--sky);
  font-family: var(--font-heading);
  font-weight: 900;
}

.impact-pillar-grid h3 {
  margin: 28px 0 10px;
  color: var(--paper);
  font-family: var(--font-subheading);
  font-size: 1.45rem;
  line-height: 1.12;
}

.impact-pillar-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.impact-support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-support-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 280px;
  padding: 24px;
}

.impact-support-grid h3 {
  margin: 0;
}

.impact-support-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.15;
}

.impact-support-grid a,
.impact-program-grid a {
  align-self: end;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
}

.impact-support-grid a::after,
.impact-program-grid a::after {
  content: " ->";
}

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

.impact-program-grid article {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  min-height: 220px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(13, 34, 60, 0.1);
}

.impact-program-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.impact-program-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.impact-program-grid h3 {
  margin: 0;
}

.impact-volunteer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.impact-volunteer-copy {
  position: sticky;
  top: 118px;
}

.impact-volunteer-copy p:not(.eyebrow) {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(23, 35, 59, 0.76);
  font-size: 1.05rem;
}

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

.impact-volunteer-grid article,
.impact-volunteer-requirements {
  padding: 24px;
}

.impact-volunteer-grid h3,
.impact-volunteer-requirements h3 {
  margin-top: 0;
}

.impact-volunteer-requirements {
  grid-column: 2;
}

.impact-volunteer-requirements .feature-list {
  margin-top: 16px;
}

.impact-volunteer-requirements p {
  margin-top: 18px;
  font-weight: 800;
}

.impact-guidance {
  background:
    linear-gradient(120deg, rgba(13, 34, 60, 0.9), rgba(146, 39, 143, 0.76)),
    url("assets/images/impact-y-on-the-fly-orange-van.jpg") center / cover;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 11px;
    color: inherit;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.nav-open .menu-toggle {
    background: var(--mist);
    border-color: var(--line);
  }

  .menu-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .site-header.nav-open .site-nav {
    gap: 0;
    padding-top: 16px;
  }

  .site-header.nav-open .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .header-actions {
    gap: 12px;
    padding-bottom: 8px;
  }

  .pathways,
  .program-grid,
  .child-program-grid,
  .dynamic-program-grid,
  .impact-grid,
  .impact-stat-grid,
  .impact-pillar-grid,
  .impact-support-grid,
  .impact-program-grid {
    grid-template-columns: 1fr;
  }

  .pathway {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pathway:last-child {
    border-bottom: 0;
  }

  .split-section,
  .childcare-section,
  .form-section,
  .locations-section,
  .impact-hero,
  .impact-page-hero,
  .impact-volunteer-section {
    grid-template-columns: 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .child-program-card {
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .childcare-guidance {
    grid-template-columns: 1fr;
  }

  .program-section-header,
  .program-tools {
    grid-template-columns: 1fr;
  }

  .dynamic-program-card {
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .location-map-layout {
    grid-template-columns: 1fr;
  }

  .location-map-shell {
    grid-column: 1;
    grid-row: 1;
  }

  .location-map-controls {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: minmax(0, 0.8fr) minmax(220px, 1fr);
    position: static;
  }

  .location-branch-chip-list {
    max-height: 240px;
  }

  .guidance-actions {
    justify-content: flex-start;
  }

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

  .impact-hero img {
    min-height: 360px;
  }

  .impact-volunteer-copy {
    position: static;
  }

  .impact-volunteer-requirements {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .brand {
    width: 170px;
    min-width: 150px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-shape-left {
    width: 76vw;
  }

  .pathways {
    width: min(100% - 24px, var(--max));
    margin-top: -64px;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding-block: 72px;
  }

  .hero-actions,
  .stats-row,
  .tour-form {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img,
  .image-stack img:last-child {
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
  }

  .tour-form {
    display: grid;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .child-programs-section,
  .dynamic-programs-section,
  .impact-metrics-section,
  .impact-support-section,
  .impact-programs-section,
  .impact-volunteer-section,
  .location-map-section,
  .location-directory {
    width: min(100% - 32px, var(--max));
  }

  .page-hero {
    padding-top: 130px;
    padding-bottom: 52px;
  }

  .location-map {
    min-height: 560px;
  }

  .child-program-grid {
    gap: 14px;
  }

  .dynamic-program-grid {
    gap: 14px;
  }

  .child-program-card {
    grid-template-columns: 1fr;
    grid-template-rows: 164px 1fr;
  }

  .dynamic-program-card {
    grid-template-columns: 1fr;
    grid-template-rows: 158px 1fr;
  }

  .impact-page-visual img {
    aspect-ratio: 4 / 3;
  }

  .impact-program-grid article {
    grid-template-columns: 1fr;
  }

  .impact-program-grid img {
    aspect-ratio: 4 / 3;
  }

  .child-program-card-body {
    padding: 18px;
  }

  .dynamic-program-card-body {
    padding: 18px;
  }

  .program-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .childcare-guidance {
    width: min(100% - 32px, var(--max));
    margin-bottom: 72px;
  }

  .pin {
    width: 34px;
    height: 34px;
  }

  .pin-name,
  .map-label {
    display: none;
  }

  .location-popup {
    width: min(300px, calc(100vw - 42px));
    padding: 16px;
  }

  .location-detail-modal {
    padding: 12px;
  }

  .location-detail-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .location-detail-close {
    top: 10px;
    right: 10px;
  }

  .location-detail-header {
    padding: 58px 20px 24px;
  }

  .location-detail-body {
    padding: 20px;
  }

  .location-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .locations-page .location-map-section {
    padding-top: 118px;
  }

  .location-map-controls {
    grid-template-columns: 1fr;
  }

  .location-amenity-filter-row {
    grid-template-columns: 1fr;
  }

  .location-amenity-filter .button {
    width: 100%;
  }

  .location-branch-chip-list {
    max-height: none;
    flex-flow: row wrap;
    overflow: visible;
    padding-right: 0;
  }

  .location-branch-chip {
    width: auto;
    max-width: 100%;
  }

  .location-card-grid {
    grid-template-columns: 1fr;
  }
}
