:root {
  --ink: #122332;
  --muted: #5f7180;
  --line: #d8e4e7;
  --paper: #fbfcfb;
  --mist: #eaf5f1;
  --teal: #087d82;
  --teal-dark: #075e68;
  --sage: #8fb8a2;
  --coral: #df6f58;
  --navy: #173957;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 35, 50, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 251, 0.9);
  border-bottom: 1px solid rgba(216, 228, 231, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(8, 125, 130, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal-dark);
  border-color: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-btn:hover { transform: translateY(-1px); border-color: var(--teal); }
.icon-btn.accent { background: var(--teal); border-color: var(--teal); color: var(--white); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }

.search-panel {
  display: none;
  gap: 10px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.search-panel.open { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.search-panel label { font-weight: 800; color: var(--navy); }
.search-panel div { display: flex; gap: 10px; }
.search-panel input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(22px, 5vw, 64px) clamp(18px, 5vw, 72px);
}

.hero-media {
  min-height: 70vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img,
.wide-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--navy);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--navy);
}

h3 { line-height: 1.2; color: var(--navy); }
p { color: var(--muted); }

.hero-content > p:not(.eyebrow) {
  max-width: 610px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-actions,
.search-panel div {
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--line); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px) 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  padding: 24px;
  background: var(--white);
}

.trust-strip strong {
  display: block;
  color: var(--coral);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.program-list,
.article-grid,
.values-grid,
.contact-layout {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.compact { max-width: 620px; }

.feature-grid,
.values-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.article-card,
.values-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(18, 35, 50, 0.06);
}

.feature-card img,
.article-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature-card div,
.article-card div,
.values-grid article {
  padding: 24px;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 14px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.85rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(46px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.split-copy { max-width: 660px; }

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--white) 28%, var(--teal) 32%);
  border: 2px solid var(--teal);
}

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

.image-stack img {
  height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack img:last-child {
  height: 390px;
  margin-bottom: -38px;
}

.band {
  background: linear-gradient(90deg, var(--mist), #f8f4ef);
}

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

.pathway-grid a {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(8, 125, 130, 0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 850;
}

.pathway-grid span,
.tag {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding: clamp(52px, 9vw, 112px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 70px);
  background: linear-gradient(120deg, var(--mist), var(--paper) 55%, #f8f4ef);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
}

.program-list {
  display: grid;
  gap: 28px;
}

.program-row {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.program-row.reverse {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
}

.program-row.reverse img { order: 2; }
.program-row img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.article-card.featured img { height: 100%; min-height: 410px; }
.article-card a { color: var(--teal-dark); font-weight: 900; }

.about-intro .wide-photo {
  height: 560px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.timeline div {
  padding: 28px;
  border-left: 4px solid var(--teal);
  background: rgba(255,255,255,0.7);
}

.timeline span {
  display: block;
  color: var(--coral);
  font-size: 2rem;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(18, 35, 50, 0.06);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 36px);
}

.form-row { display: grid; gap: 8px; }
.form-row label { color: var(--navy); font-weight: 850; }
.contact-aside { overflow: hidden; }
.contact-aside img { width: 100%; height: 290px; object-fit: cover; }
.contact-aside div { padding: 26px; }
.contact-aside a { color: var(--teal-dark); font-weight: 900; overflow-wrap: anywhere; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255,255,255,0.78);
  background: var(--navy);
}

.site-footer p { max-width: 430px; color: rgba(255,255,255,0.72); margin: 14px 0 0; }
.footer-brand { color: var(--white); }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .main-nav {
    position: fixed;
    inset: 75px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .hero,
  .split-section,
  .page-hero,
  .contact-layout,
  .program-row,
  .program-row.reverse {
    grid-template-columns: 1fr;
  }
  .program-row.reverse img { order: 0; }
  .hero-media { min-height: 460px; }
  .trust-strip,
  .feature-grid,
  .values-grid,
  .article-grid,
  .timeline,
  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .image-stack img,
  .image-stack img:last-child,
  .about-intro .wide-photo {
    height: 420px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .site-header { gap: 12px; padding: 12px 14px; }
  .brand span:last-child { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-mark { width: 34px; height: 34px; }
  .icon-btn { width: 38px; height: 38px; }
  .hero { min-height: auto; padding-top: 18px; }
  .hero-media { min-height: 360px; }
  h1 { font-size: clamp(2rem, 12vw, 3.1rem); }
  .trust-strip,
  .feature-grid,
  .values-grid,
  .article-grid,
  .timeline,
  .pathway-grid,
  .search-panel.open,
  .image-stack {
    grid-template-columns: 1fr;
  }
  .article-card.featured { grid-column: span 1; }
  .article-card.featured img,
  .feature-card img,
  .article-card img,
  .program-row img {
    min-height: 0;
    height: 300px;
  }
  .image-stack img,
  .image-stack img:last-child {
    height: 320px;
  }
  .site-footer { flex-direction: column; }
}

/* Refined medical brand direction */
:root {
  --ink: #10202a;
  --muted: #607481;
  --line: #d9e5e8;
  --paper: #f7faf9;
  --mist: #e8f4f2;
  --teal: #0b7c88;
  --teal-dark: #075d68;
  --coral: #cf654f;
  --navy: #102f4a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(13, 42, 58, 0.14);
}

body {
  background:
    linear-gradient(180deg, #f7faf9 0%, #ffffff 42%, #f4f8f7 100%);
  overflow-x: hidden;
}

.site-header {
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(16, 47, 74, 0.06);
}

.brand {
  font-size: 1.05rem;
}

.brand-mark {
  background: var(--navy);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 3px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 0 var(--white);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 16px;
  background: var(--white);
  border-radius: 999px;
}

.brand-mark {
  font-size: 0;
}

.main-nav {
  padding: 8px 12px;
  border: 1px solid rgba(217, 229, 232, 0.9);
  border-radius: 999px;
  background: rgba(247, 250, 249, 0.82);
  font-size: 0.9rem;
}

.main-nav a {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: var(--teal-dark);
  border-color: transparent;
}

.icon-btn {
  border-radius: 999px;
}

.icon-btn.accent {
  background: var(--coral);
  border-color: var(--coral);
}

.search-panel {
  position: sticky;
  top: 70px;
  z-index: 19;
  box-shadow: 0 12px 24px rgba(16, 47, 74, 0.08);
}

.clinical-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: var(--navy);
}

.clinical-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.clinical-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 47, 74, 0.94) 0%, rgba(16, 47, 74, 0.72) 42%, rgba(16, 47, 74, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 47, 74, 0.55), rgba(16, 47, 74, 0.06));
}

.clinical-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.42fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(72px, 12vw, 146px) clamp(18px, 6vw, 82px) clamp(34px, 6vw, 78px);
}

.clinical-hero-copy {
  max-width: 820px;
  min-width: 0;
}

.clinical-hero .eyebrow,
.clinical-hero h1,
.clinical-hero-copy p {
  color: var(--white);
}

.clinical-hero .eyebrow {
  color: #bde9e4;
}

.clinical-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 6.4vw, 6.7rem);
  line-height: 0.94;
  max-width: 950px;
}

.clinical-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.hero-intake {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 28px 70px rgba(0,0,0,0.24);
  min-width: 0;
}

.hero-intake .panel-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-intake h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.hero-intake ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-intake li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-intake strong {
  color: var(--navy);
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-bar div {
  min-height: 148px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
}

.metrics-bar span {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-weight: 950;
}

.metrics-bar strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 1.12rem;
}

.metrics-bar p {
  max-width: 360px;
  margin: 0;
  font-size: 0.96rem;
}

.service-showcase {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.service-showcase .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 26px;
  max-width: none;
  align-items: start;
}

.service-showcase .section-heading h2 {
  margin: 0;
  max-width: 940px;
}

.service-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.service-board article {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(16, 47, 74, 0.08);
}

.service-board article:first-child {
  grid-row: span 2;
}

.service-board article:first-child img {
  height: 460px;
}

.service-board img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-board article > div {
  padding: 24px;
}

.service-board a,
.topic-columns a {
  color: var(--teal-dark);
  font-weight: 900;
}

.diagnostic-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: var(--navy);
}

.diagnostic-band h2,
.diagnostic-band h3,
.diagnostic-band .eyebrow {
  color: var(--white);
}

.diagnostic-band p {
  color: rgba(255,255,255,0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
}

.process-list article {
  min-height: 240px;
  padding: 28px;
  background: rgba(255,255,255,0.08);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 950;
}

.image-led-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.image-led-media {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 16px;
  align-items: end;
}

.image-led-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-led-media img:first-child {
  height: 430px;
}

.topic-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.topic-columns a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(16, 47, 74, 0.92), rgba(11, 124, 136, 0.72)),
    url("assets/images/wellness.jpg") center / cover;
  color: var(--white);
}

.page-hero h1,
.page-hero .eyebrow,
.page-hero p {
  color: var(--white);
}

.program-row,
.article-card,
.feature-card,
.values-grid article,
.contact-form,
.contact-aside {
  box-shadow: 0 16px 38px rgba(16, 47, 74, 0.08);
}

.program-row {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-row img {
  height: 480px;
}

.article-card img {
  height: 290px;
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(16, 47, 74, 0.98), rgba(7, 93, 104, 0.95));
}

@media (max-width: 1100px) {
  .clinical-hero-overlay,
  .diagnostic-band,
  .image-led-section,
  .service-showcase .section-heading {
    grid-template-columns: 1fr;
  }

  .clinical-hero-overlay {
    align-items: center;
  }

  .hero-intake {
    max-width: 560px;
  }

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

  .service-board article:first-child {
    grid-row: auto;
  }
}

@media (max-width: 980px) {
  .main-nav {
    border-radius: 8px;
    padding: 18px;
    background: var(--white);
  }

  .main-nav a {
    border-radius: 8px;
  }

  .clinical-hero,
  .clinical-hero-overlay {
    min-height: auto;
  }

  .clinical-hero-overlay {
    padding-top: 82px;
  }

  .metrics-bar,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-board {
    grid-template-columns: 1fr;
  }

  .service-board article,
  .service-board article:first-child {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .clinical-hero::after {
    background: linear-gradient(180deg, rgba(16, 47, 74, 0.92), rgba(16, 47, 74, 0.76));
  }

  .clinical-hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.7rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .clinical-hero-overlay,
  .clinical-hero-copy,
  .hero-intake {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .clinical-hero-overlay {
    max-width: 360px;
    margin: 0;
    padding-left: 30px;
    padding-right: 18px;
  }

  .clinical-hero-copy p:not(.eyebrow) {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .clinical-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .clinical-hero .btn {
    width: 100%;
  }

  .hero-intake h2 {
    font-size: 1.45rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-intake,
  .service-board article > div {
    padding: 20px;
  }

  .service-board img,
  .service-board article:first-child img,
  .image-led-media img,
  .image-led-media img:first-child,
  .program-row img {
    height: 300px;
  }

  .image-led-media,
  .topic-columns {
    grid-template-columns: 1fr;
  }

  .metrics-bar div {
    min-height: 0;
  }
}

/* Final responsive polish: consistent media, buttons, and footer */
.btn {
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.96rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(16, 47, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(16, 47, 74, 0.14);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-color: var(--teal);
}

.btn-light {
  background: rgba(255,255,255,0.94);
  border-color: rgba(255,255,255,0.72);
  color: var(--navy);
}

.search-panel .btn,
.contact-form .btn {
  border-radius: 8px;
  box-shadow: none;
}

.feature-card,
.article-card,
.service-board article,
.program-row,
.contact-aside,
.values-grid article {
  border-radius: 10px;
}

.feature-card img,
.article-card img,
.service-board img,
.program-row img,
.contact-aside img,
.about-intro .wide-photo,
.image-led-media img,
.image-stack img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--mist);
}

.feature-card img,
.article-card img,
.service-board img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.service-board article:first-child img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.article-card.featured img {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 12;
}

.program-row {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  align-items: stretch;
}

.program-row.reverse {
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 0.92fr);
}

.program-row img {
  height: auto;
  aspect-ratio: 16 / 10;
  align-self: stretch;
}

.program-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.contact-aside img {
  height: auto;
  aspect-ratio: 16 / 10;
}

.about-intro .wide-photo {
  height: auto;
  aspect-ratio: 16 / 12;
}

.image-led-media img,
.image-led-media img:first-child,
.image-stack img,
.image-stack img:last-child {
  height: auto;
  aspect-ratio: 4 / 5;
  margin: 0;
}

.image-led-media img:last-child,
.image-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.clinical-hero > img {
  object-position: center;
}

.article-card,
.feature-card,
.service-board article {
  display: flex;
  flex-direction: column;
}

.article-card > div,
.feature-card > div,
.service-board article > div {
  flex: 1;
}

.article-card.featured {
  display: grid;
  align-items: stretch;
}

.article-card.featured > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 981px) {
  .article-card.featured img {
    height: 100%;
    aspect-ratio: auto;
  }
}

.site-footer {
  display: block;
  padding: clamp(38px, 6vw, 70px) clamp(18px, 5vw, 72px) 24px;
  color: rgba(255,255,255,0.78);
  background:
    linear-gradient(135deg, rgba(16, 47, 74, 0.98), rgba(7, 93, 104, 0.96)),
    var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) minmax(220px, 0.9fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.footer-about p,
.footer-contact p {
  max-width: 430px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.72);
}

.footer-brand {
  color: var(--white);
}

.site-footer .footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-items: start;
}

.site-footer .footer-links h2,
.footer-contact h2 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.82);
  font-weight: 750;
}

.site-footer .footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .program-row,
  .program-row.reverse {
    grid-template-columns: 1fr;
  }

  .program-row.reverse img {
    order: 0;
  }

  .program-row img {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 640px) {
  .btn {
    width: 100%;
    min-height: 48px;
  }

  .feature-card img,
  .article-card img,
  .service-board img,
  .service-board article:first-child img,
  .article-card.featured img,
  .program-row img,
  .contact-aside img,
  .about-intro .wide-photo {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .image-led-media img,
  .image-led-media img:first-child,
  .image-stack img,
  .image-stack img:last-child {
    height: auto;
    aspect-ratio: 16 / 10;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
