/* =================================================================
   MIDTOWN HEALING CENTER
   Brand system sampled directly from the logo + business card.
   Blues on white. Clean, rounded, confident.
   ================================================================= */

:root {
  /* ---- Brand blues (sampled from logo + card) ---- */
  --ink:        #103979;  /* headings: royal navy from the card wordmark */
  --navy:       #143A76;  /* primary: buttons, key accents (logo dark bar) */
  --navy-deep:  #0E2A55;  /* hover, deep panels */
  --accent:     #2F62A8;  /* brighter blue: eyebrows, links, stat numbers, toggles */
  --steel:      #81ACBF;  /* logo mid bar: supporting lines, secondary */
  --lightblue:  #B8D1DF;  /* logo light bar: soft fills, node dots */
  --blue-pale:  #DCEAF2;  /* pale blue fill */

  /* ---- Neutrals ---- */
  --white:      #FFFFFF;  /* primary background */
  --tint:       #F1F6F9;  /* alternating section background */
  --tint-2:     #E9F1F6;
  --hairline:   #DCE6ED;  /* borders, dividers */

  /* ---- Text ---- */
  --body:       #45556E;  /* blue-grey body */
  --muted:      #738299;  /* secondary text */
  --on-dark:    #E6EEF6;  /* text on navy panels */
  --on-dark-mute:#A9C0D6;

  /* ---- Elevation (cool-tinted) ---- */
  --shadow-sm: 0 1px 2px rgba(16,42,90,.06), 0 1px 3px rgba(16,42,90,.05);
  --shadow-md: 0 8px 22px rgba(16,42,90,.08), 0 2px 6px rgba(16,42,90,.05);
  --shadow-lg: 0 26px 60px rgba(16,42,90,.14), 0 8px 22px rgba(16,42,90,.07);
  --shadow-navy: 0 34px 70px rgba(14,42,85,.30), 0 10px 24px rgba(14,42,85,.18);

  /* ---- Radius ---- */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;

  /* ---- Gradients (contained navy surfaces) ---- */
  --grad-card-navy: linear-gradient(160deg, #1E4E92 0%, #0E2A55 100%);

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: 5%;
  --section-y: clamp(72px, 8vw, 120px);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.01em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------- Type scale ---------------- */
.display-xl { font-size: clamp(2.2rem, 4.8vw, 3.4rem); line-height: 1.12; }
.display-l  { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.16; }
.eyebrow { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--body); max-width: 52ch; margin: 0 0 28px; }

/* ---------------- Accessibility ---------------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0; font-size: 0.98rem;
  padding: 13px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn__arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 1rem; transition: transform .25s var(--ease); }
.btn--ghost .btn__arrow { background: rgba(16,42,90,.1); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------------- Media slots ---------------- */
.media-slot { position: relative; overflow: hidden; border-radius: var(--r-lg); background: radial-gradient(120% 120% at 50% 0%, var(--tint) 0%, var(--blue-pale) 100%); border: 1px solid var(--hairline); display: grid; place-items: center; isolation: isolate; }
.media-slot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.media-slot__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; color: var(--navy); background: rgba(255,255,255,.88); border: 1px solid var(--hairline); padding: 5px 10px; border-radius: var(--r-pill); }
.media-slot__play { position: relative; z-index: 2; width: 76px; height: 76px; border-radius: 50%; border: none; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease), background-color .25s var(--ease); }
.media-slot__play:hover { transform: scale(1.06); background: var(--navy-deep); }
.media-slot__play svg { margin-left: 3px; }

/* ---------------- Nav ---------------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.05; font-size: 1.08rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__sub { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; text-transform: none; color: var(--steel); }
.nav__links { display: flex; gap: 30px; font-family: var(--font-display); font-weight: 500; font-size: 0.96rem; color: var(--ink); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links-cta { display: none; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--ink); white-space: nowrap; font-size: 0.96rem; }
.nav__phone:hover { color: var(--accent); }
.nav__phone svg { color: var(--accent); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: var(--r-sm); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Section rhythm ---------------- */
.stats, .how, .diff, .team, .reviews, .faq, .cta { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--pale { background: var(--blue-pale); }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------------- Hero ---------------- */
.hero { background: var(--white); padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .lead { margin-top: 20px; }
.hero__panel { display: grid; }
.media-slot--hero { aspect-ratio: 5 / 5.4; width: 100%; }
.meridian-figure { width: min(78%, 320px); height: auto; }

/* ---------------- Stat band ---------------- */
.stats { padding-block: clamp(44px, 5vw, 76px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat { position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -16px; top: 12%; height: 76%; border-left: 1px solid var(--hairline); }
.stat__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }

/* ---------------- How it works ---------------- */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.how__steps { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.how-step { text-align: left; width: 100%; background: var(--tint); border: 1px solid transparent; border-radius: var(--r-md); padding: 22px 26px; cursor: pointer; font-family: inherit; transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.how-step:hover { background: var(--tint-2); }
.how-step.is-active { background: var(--white); border-color: var(--hairline); box-shadow: var(--shadow-md); }
.how-step__head { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.how-step:not(.is-active) .how-step__head { color: var(--muted); }
.how-step__no { color: var(--accent); font-size: 0.95rem; font-weight: 700; }
.how-step__body { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: var(--body); transition: max-height .4s var(--ease), opacity .35s var(--ease), margin-top .35s var(--ease); }
.how-step.is-active .how-step__body { max-height: 220px; opacity: 1; margin-top: 12px; }
/* Per-step image: hidden on desktop (desktop uses the right-side .how__visual); revealed inside the active card on mobile. */
.how-step__img { display: none; width: 100%; border-radius: var(--r-md); margin-top: 14px; }
.how__visual { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-xl); background: radial-gradient(120% 120% at 50% 10%, var(--white) 0%, var(--tint) 70%); border: 1px solid var(--hairline); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.how-icon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.how-icon.is-active { opacity: 1; }

/* ---------------- The Difference ---------------- */
.diff__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.diff-card { display: flex; flex-direction: column; gap: 16px; }
.diff-card__media { position: relative; aspect-ratio: 1 / 1.04; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, var(--white), var(--tint)); border: 1px solid var(--hairline); display: grid; place-items: center; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.diff-card:hover .diff-card__media { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.diff-card__icon { width: 42%; z-index: 1; }
.diff-card__panel { position: absolute; inset: 0; z-index: 4; background: var(--grad-card-navy); color: var(--on-dark); padding: 30px; display: flex; align-items: center; transform: translateY(101%); transition: transform .45s var(--ease); }
.diff-card__panel p { margin: 0; font-size: 1rem; line-height: 1.6; }
.diff-card.is-open .diff-card__panel { transform: translateY(0); }
.diff-card__toggle { position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(255,255,255,.96); cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.diff-card__toggle::before, .diff-card__toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .25s var(--ease); }
.diff-card__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.diff-card.is-open .diff-card__toggle { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.diff-card.is-open .diff-card__toggle::before, .diff-card.is-open .diff-card__toggle::after { background: #fff; }
.diff-card.is-open .diff-card__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.diff-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--ink); padding-inline: 4px; }

/* ---------------- Team (carousel) ---------------- */
.team__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.team__head .section-head { margin-bottom: 0; }
.team__nav { display: flex; gap: 12px; flex: none; }
.carousel-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--hairline); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease); }
.carousel-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.carousel-arrow:disabled { opacity: .4; cursor: default; transform: none; background: #fff; color: var(--ink); }
.team__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.team__viewport::-webkit-scrollbar { display: none; }
.team__track { display: flex; gap: 26px; }
.member { flex: 0 0 calc((100% - 52px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 0; }
.member__media { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 120% at 50% 10%, var(--white), var(--tint)); border: 1px solid var(--hairline); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.member__initials { font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; color: var(--lightblue); }
.member__panel { position: absolute; inset: 0; z-index: 4; background: var(--grad-card-navy); color: var(--on-dark); padding: 26px; display: flex; align-items: center; transform: translateY(101%); transition: transform .45s var(--ease); }
.member__panel p { margin: 0; font-size: 0.96rem; line-height: 1.55; }
.member.is-open .member__panel { transform: translateY(0); }
.member__toggle { position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(255,255,255,.96); cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.member__toggle::before, .member__toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .25s var(--ease); }
.member__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.member.is-open .member__toggle { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.member.is-open .member__toggle::before, .member.is-open .member__toggle::after { background: #fff; }
.member.is-open .member__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.member__name { margin: 14px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--ink); line-height: 1.25; }
.member__role { margin: 4px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.35; }
.member__school { margin: 3px 0 0; color: var(--steel); font-size: 0.85rem; font-weight: 500; line-height: 1.35; }
.member__degree { margin: 3px 0 0; color: var(--muted); font-size: 0.82rem; font-style: italic; line-height: 1.4; }
.member__degree a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.team__note { margin-top: 28px; color: var(--muted); font-size: 0.9rem; }

/* ---------------- Testimonials ---------------- */
.reviews__feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.reviews__feature-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); margin-bottom: 18px; line-height: 1.18; }
.media-slot--video { aspect-ratio: 16 / 10; width: 100%; box-shadow: var(--shadow-md); }
.reviews { padding-bottom: clamp(40px, 5vw, 60px); }
.reviews__embed { min-height: 200px; margin-top: clamp(56px, 7vw, 96px); }

/* ---------------- FAQ ---------------- */
.faq { padding-top: clamp(48px, 6vw, 72px); }
.faq__wrap { max-width: 860px; }
.faq__sub { color: var(--muted); margin-top: 10px; }
.faq__sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__sub a:hover { color: var(--navy); }
.faq__list { display: flex; flex-direction: column; gap: 18px; }
.faq-item { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .25s var(--ease); }
.faq-item.is-open { box-shadow: var(--shadow-sm); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 32px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-item__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-item__icon::before, .faq-item__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--steel); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .25s var(--ease); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item.is-open .faq-item__icon::before, .faq-item.is-open .faq-item__icon::after { background: var(--accent); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item__a p { margin: 0; padding: 0 32px 28px; color: var(--body); max-width: 64ch; }

/* ---------------- Closing CTA ---------------- */
.cta__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.media-slot--cta { aspect-ratio: 4 / 4.4; width: 100%; }
.media-slot--cta .meridian-figure { width: min(70%, 260px); }
.cta__line { width: 200px; margin-bottom: 22px; }
.cta__line svg { height: 18px; width: 100%; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--white); padding-block: clamp(56px, 7vw, 88px) 40px; position: relative; border-top: 1px solid var(--hairline); }
.footer__brandrow { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__tagline { max-width: 42ch; color: var(--muted); margin: 0; }
.footer__rule { border: none; border-top: 1px solid var(--hairline); margin: 36px 0; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__col h4 { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: var(--body); margin-bottom: 10px; font-size: 0.96rem; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { margin: 40px 0 6px; color: var(--muted); font-size: 0.8rem; max-width: 78ch; line-height: 1.6; }
.footer__copy { margin: 0; color: var(--muted); font-size: 0.86rem; }
.footer__top { position: absolute; right: var(--gutter); bottom: 40px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline); background: #fff; display: grid; place-items: center; color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.footer__top:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ============================================================ RESPONSIVE ============================================================ */
/* Collapse the nav to a hamburger before the full row gets cramped */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--white); border-bottom: 1px solid var(--hairline); padding: 16px var(--gutter) 24px; }
  .nav.is-open .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .nav.is-open .nav__links .nav__links-cta { display: inline-flex; justify-content: center; border-bottom: none; padding: 14px 24px; margin-top: 12px; }
}
@media (max-width: 980px) { .member { flex-basis: calc((100% - 26px) / 2); } }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .media-slot--hero { aspect-ratio: 16 / 11; }
  .meridian-figure { width: min(58%, 260px); }
  .how__grid { grid-template-columns: 1fr; }
  .how__visual { display: none; }
  .how-step.is-active .how-step__img { display: block; }
  .team__head { flex-direction: column; align-items: flex-start; }
  .reviews__feature { grid-template-columns: 1fr; }
  .reviews__feature-copy { order: -1; }
  .cta__inner { grid-template-columns: 1fr; }
  .media-slot--cta { max-width: 360px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__top { position: static; margin-top: 32px; }
}
@media (max-width: 400px) {
  /* On the narrowest phones, collapse the header phone to its icon so it always
     fits beside the logo + hamburger. Still a tappable tel: link. */
  .nav__phone span { display: none; }
  .nav__phone { padding: 8px; }
}
@media (max-width: 620px) {
  .stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--hairline); padding-top: 24px; }
  .member { flex-basis: 84%; }
  .btn--lg { width: 100%; justify-content: center; }
  .cta__actions { width: 100%; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .team__viewport { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
