/* ==========================================================================
   CJOMS Homepage
   ========================================================================== */

:root {
  --navy: #16313a;
  --navy-deep: #0f242b;
  --teal: #2f6f73;
  --teal-light: #a9d1cf;
  --cream: #f6f2ec;
  --sand: #ebe3d6;
  --sand-light: #e9e0d2;
  --body: #3c5258;
  --gray-light: #d6dedd;
  --gray-muted: #a6b4b3;
  --star: #c0683f;
  --white: #ffffff;
  --hover: #fbf8f3;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1240px;
  --gutter: 32px;
  --section: 110px;

  --line: rgba(22, 49, 58, .08);
  --line-strong: rgba(22, 49, 58, .25);
  --shadow-card: 0 18px 40px -18px rgba(15, 36, 43, .35);
  --shadow-panel: 0 30px 60px -40px rgba(15, 36, 43, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 150ms ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--teal); text-decoration: none; transition: color var(--fast), background-color var(--fast), border-color var(--fast); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 12px 18px; border-radius: 2px; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--cream); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--teal-light); }

.h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.01em;
  text-wrap: balance;
}
.h2--light { color: var(--white); }

.body { margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); text-wrap: pretty; }
.body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.stars--lg { font-size: 22px; letter-spacing: 3px; }

.arrow { display: inline-block; transition: transform 250ms var(--ease); }

.more { font-size: 14px; font-weight: 600; color: var(--teal); display: inline-flex; gap: 6px; align-items: center; }
.more--light { color: var(--teal-light); }

.text-link {
  font-weight: 600; font-size: 15px; color: var(--navy);
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
  display: inline-flex; gap: 8px; align-items: center;
}
.text-link:hover { color: var(--teal); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link--light { color: var(--cream); }
.text-link--light:hover { color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 2px; border: 1.5px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.3;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast), transform 200ms var(--ease);
}
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--sm { padding: 11px 17px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--teal); color: var(--white); }

.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }

.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: var(--white); color: var(--navy); }

.btn--ghost-light { border-color: rgba(246, 242, 236, .85); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Utility bar ---------- */

.utility { background: var(--navy-deep); color: var(--sand-light); font-size: 13px; line-height: 1.5; }
.utility__inner {
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.utility__phones, .utility__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.utility a { color: var(--sand-light); }
.utility a:hover { color: var(--white); }
.utility strong { color: var(--white); font-weight: 600; }
.utility__hours { display: inline-flex; align-items: center; gap: 8px; }
.utility__hours svg { width: 14px; height: 14px; fill: none; stroke: var(--teal-light); stroke-width: 1.4; }
.utility__link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 236, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 250ms ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(15, 36, 43, .5); }
.header__inner {
  display: flex; gap: 16px 32px; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; transition: padding 250ms ease;
}
.header.is-scrolled .header__inner { padding-top: 10px; padding-bottom: 10px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__logo { height: 46px; width: auto; transition: height 250ms ease; }
.header.is-scrolled .brand__logo { height: 40px; }

/* Original wordmark lockup (alt-index.html) */
.brand__mark { width: 40px; height: 40px; object-fit: contain; }
.brand__word { font-family: var(--serif); font-size: 34px; letter-spacing: .04em; line-height: 1; font-weight: 500; }
.brand__caption {
  display: flex; flex-direction: column;
  font-size: 11px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
  border-left: 1px solid rgba(22, 49, 58, .2); padding-left: 14px;
}
.footer__brand .brand { color: var(--white); }
.footer__brand .brand__word { font-size: 36px; }

.nav__list { display: flex; gap: 6px 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav__item { position: relative; }
.nav__item > a { color: var(--navy); display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; position: relative; white-space: nowrap; }
.nav__item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease);
}
.nav__item > a:hover, .nav__item:focus-within > a { color: var(--teal); }
.nav__item > a:hover::after, .nav__item:focus-within > a::after { transform: scaleX(1); }
.has-menu > a::before {
  content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}

.nav__menu {
  position: absolute; top: calc(100% + 8px); left: -20px; min-width: 250px;
  list-style: none; margin: 0; padding: 10px 0;
  background: var(--white); border-top: 3px solid var(--teal);
  box-shadow: 0 24px 50px -24px rgba(15, 36, 43, .45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms var(--ease), visibility 200ms;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__menu--wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; }
.has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 9px 22px; color: var(--navy); font-size: 14.5px; font-weight: 500; }
.nav__menu a:hover { background: var(--hover); color: var(--teal); }

.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--navy); border-radius: 2px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle__bars span { height: 1.5px; background: var(--navy); transition: transform 250ms var(--ease), opacity 200ms; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 88vh, 860px);
  display: flex; align-items: center;
  background: var(--navy-deep); color: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 36, 43, .92) 0%, rgba(15, 36, 43, .72) 38%, rgba(15, 36, 43, .28) 72%, rgba(15, 36, 43, .38) 100%),
    linear-gradient(0deg, rgba(15, 36, 43, .6) 0%, rgba(15, 36, 43, 0) 35%);
}
.hero__lines {
  position: absolute; inset: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none;
}
.hero__lines span { border-left: 1px solid rgba(246, 242, 236, .07); }
.hero__lines span:last-child { border-right: 1px solid rgba(246, 242, 236, .07); }

.hero__inner {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 56px; align-items: end;
  padding-top: 96px; padding-bottom: 150px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 700px; }
.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(44px, 6vw, 84px); line-height: 1.01; letter-spacing: -.015em; text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--teal-light); font-weight: 300; }
.hero__lede { margin: 0; font-size: 19px; line-height: 1.6; max-width: 520px; color: rgba(246, 242, 236, .9); text-wrap: pretty; }

.rating { display: flex; align-items: center; gap: 14px; padding-top: 4px; font-size: 14px; }
.rating .stars { font-size: 18px; }
.rating--light { color: rgba(246, 242, 236, .8); }
.rating--light strong { color: var(--white); }

.hero__panel {
  justify-self: end; width: 100%; max-width: 360px;
  background: rgba(15, 36, 43, .42);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(246, 242, 236, .14); border-left: 4px solid var(--teal-light);
}
.hero__badge { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px 22px; border-bottom: 1px solid rgba(246, 242, 236, .14); }
.hero__badge-title { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--white); }
.hero__badge-copy { font-size: 14px; line-height: 1.55; color: rgba(246, 242, 236, .82); }
.hero__offices { list-style: none; margin: 0; padding: 8px 28px 14px; }
.hero__offices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(246, 242, 236, .1); font-size: 14px;
}
.hero__offices li:last-child { border-bottom: 0; }
.hero__office-name { color: rgba(246, 242, 236, .75); letter-spacing: .06em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.hero__offices a { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__offices a:hover { color: var(--teal-light); }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: 88px; z-index: 2;
  width: 40px; height: 40px; border-radius: 2px; cursor: pointer;
  background: rgba(15, 36, 43, .4); border: 1px solid rgba(246, 242, 236, .3);
  display: grid; place-items: center; color: var(--cream);
  transition: background-color var(--fast);
}
.video-toggle:hover { background: rgba(15, 36, 43, .7); }
.video-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.video-toggle .icon-play { fill: currentColor; stroke: none; display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

/* ---------- Quick links ---------- */

.quick { position: relative; z-index: 3; margin-top: -64px; }
.quick__panel {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); outline: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}
.quick__cell {
  position: relative; background: var(--white); color: var(--navy);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 10px;
}
.quick__cell::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--ease);
}
.quick__cell:hover { background: var(--hover); color: var(--navy); }
.quick__cell:hover::before { transform: scaleX(1); }
.quick__cell:hover .arrow, .svc:hover .arrow, .doc:hover .arrow { transform: translateX(4px); }
.quick__num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--teal); }
.quick__title { font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.quick__copy { font-size: 15px; line-height: 1.55; color: var(--body); }
.quick__cell .more { margin-top: auto; padding-top: 8px; }

/* ---------- Intro ---------- */

.intro {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 72px; align-items: center; padding-top: 120px; padding-bottom: 80px;
}
.intro__mosaic {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 16px; height: 540px;
}
.intro__frame {
  position: absolute; inset: -22px 22px 22px -22px; border: 1px solid rgba(47, 111, 115, .35); z-index: -1;
}
.intro__mosaic figure { overflow: hidden; background: var(--sand); }
.intro__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.intro__a { grid-row: 1 / span 2; }
.intro__a img { height: 112%; margin-top: -6%; will-change: transform; }
.intro__tile {
  position: relative; overflow: hidden;
  background: var(--teal); color: var(--cream); padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.intro__tile-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(246, 242, 236, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.intro__tile-lines path { vector-effect: non-scaling-stroke; }
.intro__year { position: relative; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 300; }
.intro__year-copy { position: relative; font-size: 14px; line-height: 1.45; }

.intro__copy { display: flex; flex-direction: column; gap: 22px; }
.intro__copy .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Stats ---------- */

.stats { padding-bottom: 110px; }
.stats__grid {
  margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.stats__item { padding: 28px 28px 0 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats__item + .stats__item { padding-left: 28px; border-left: 1px solid var(--line); }
.stats__item dt { font-size: 14px; color: var(--body); line-height: 1.4; }
.stats__item dd { margin: 0; font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; font-weight: 300; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ---------- Section head ---------- */

.section-head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 660px; }

/* ---------- Services ---------- */

.services { background: var(--sand); position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.svc {
  background: var(--cream); border-top: 3px solid var(--teal); color: var(--navy);
  display: flex; flex-direction: column; gap: 22px; padding-bottom: 30px;
  transition: background-color 250ms ease, transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.svc:hover { background: var(--white); color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.svc__media { position: relative; height: 260px; overflow: hidden; background: var(--sand-light); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__num {
  position: absolute; left: 0; bottom: 0; background: var(--cream); color: var(--teal);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 10px 14px;
  transition: background-color 250ms ease;
}
.svc:hover .svc__num { background: var(--white); }
.svc__body { padding: 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.svc__copy { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.svc .more { margin-top: auto; padding-top: 6px; }

.chips { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 16px 28px; align-items: start; }
.chips__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); padding-top: 11px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line-strong); color: var(--navy); background: transparent;
  padding: 10px 18px; border-radius: 2px; font-size: 14.5px; font-weight: 500; line-height: 1.4;
}
.chip:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ---------- Ticker ---------- */

.ticker { background: var(--sand); border-top: 1px solid rgba(22, 49, 58, .1); overflow: hidden; padding: 30px 0 34px; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 60s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); color: rgba(22, 49, 58, .55); white-space: nowrap; line-height: 1.1; }
.ticker i { width: 9px; height: 9px; background: var(--teal); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Doctors ---------- */

.doctors { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate; }
.doctors__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(169, 209, 207, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 209, 207, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 0%, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 0%, #000 20%, transparent 80%);
}
.doctors__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1140px) { .doctors__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 720px) { .doctors__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .doctors__list { grid-template-columns: 1fr; } }
.doc { display: flex; flex-direction: column; gap: 18px; color: var(--cream); }
.doc:hover { color: var(--white); }
.doc__photo {
  position: relative; height: 280px; overflow: hidden;
  background: linear-gradient(180deg, #f4f1ec 0%, #e6e0d6 100%);
}
.doc__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal-light);
  transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease);
}
.doc:hover .doc__photo::after { transform: scaleX(1); }
.doc__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
  mix-blend-mode: multiply; transition: transform 900ms var(--ease);
}
.doc:hover .doc__photo img { transform: scale(1.04); }
.doc__body { display: flex; flex-direction: column; gap: 6px; }
.doc__name { font-family: var(--serif); font-size: 23px; color: var(--white); line-height: 1.15; }
.doc__cred { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); font-weight: 600; }
.doc__bio { font-size: 15px; line-height: 1.6; color: var(--gray-light); }
.doc .more { padding-top: 8px; }

/* ---------- Reviews ---------- */

.reviews {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px 48px; align-items: stretch;
}
.reviews__summary { display: flex; flex-direction: column; gap: 18px; }
.reviews__score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.reviews__num { font-family: var(--serif); font-size: 104px; line-height: .9; font-weight: 300; }
.reviews__basis { font-size: 17px; color: var(--body); }
.reviews__bar { height: 3px; background: var(--line); position: relative; overflow: hidden; max-width: 280px; }
.reviews__bar span { position: absolute; inset: 0; background: var(--star); transform-origin: left; transform: scaleX(0); transition: transform 1400ms var(--ease) 300ms; }
.reviews__bar.is-visible span { transform: scaleX(1); }
.reviews__summary .btn-row { margin-top: 10px; }

.review {
  position: relative; overflow: hidden;
  background: var(--white); border-top: 3px solid var(--navy);
  padding: 36px 34px; display: flex; flex-direction: column; gap: 22px;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.review__mark {
  position: absolute; right: 18px; top: -26px; font-family: var(--serif); font-size: 180px; line-height: 1;
  color: rgba(47, 111, 115, .1); pointer-events: none;
}
.review blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.4; text-wrap: pretty; position: relative; }
.review figcaption { font-size: 14px; color: var(--body); margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.review figcaption strong { color: var(--navy); }
.review figcaption a { margin-left: auto; font-weight: 600; font-size: 13.5px; }

/* ---------- Locations ---------- */

.locations { background: var(--white); }
.hours { display: flex; gap: 14px; font-size: 15px; line-height: 1.6; color: var(--body); }
.hours svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--teal); stroke-width: 1.3; flex: none; }
.hours div { display: flex; flex-direction: column; }
.hours strong { color: var(--navy); }

.locations__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office {
  display: flex; flex-direction: column; background: var(--cream); border-top: 3px solid var(--teal);
  transition: box-shadow 350ms var(--ease);
}
.office:hover { box-shadow: var(--shadow-card); }
.office__map { position: relative; height: 240px; background: var(--sand); overflow: hidden; }
.office__map iframe { border: 0; width: 100%; height: 100%; display: block; filter: grayscale(.35) contrast(.95); transition: filter 400ms ease; }
.office:hover .office__map iframe { filter: grayscale(0); }
.office__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.office__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.office__name a { color: var(--navy); }
.office__name a:hover { color: var(--teal); }
.office__addr { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.office__tel { margin: 0; font-size: 15px; line-height: 1.7; color: var(--body); }
.office__tel a { font-weight: 600; color: var(--navy); }
.office__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* ---------- CTA ---------- */

.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--teal); color: var(--white);
  padding: 80px 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center;
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform: scale(1.7); transform-origin: 50% 100%; }
.cta__tint {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(47, 111, 115, .96) 0%, rgba(47, 111, 115, .86) 45%, rgba(22, 49, 58, .7) 100%);
}
.cta__copy { display: flex; flex-direction: column; gap: 18px; }
.cta__copy p { margin: 0; font-size: 17px; line-height: 1.6; color: #f1f5f4; max-width: 480px; }
.cta__actions { display: flex; flex-direction: column; gap: 10px; }
.cta__call {
  display: flex; justify-content: space-between; gap: 16px;
  background: var(--cream); color: var(--navy); padding: 18px 24px; border-radius: 2px;
  font-weight: 600; font-size: 16px; position: relative; overflow: hidden;
}
.cta__call span:last-child { font-variant-numeric: tabular-nums; }
.cta__call::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal);
  transform: scaleY(0); transition: transform 250ms var(--ease);
}
.cta__call:hover { background: var(--white); color: var(--navy); }
.cta__call:hover::before { transform: scaleY(1); }
.cta .btn--ghost-light:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Footer ---------- */

.footer { background: var(--navy-deep); color: var(--gray-light); position: relative; overflow: hidden; }
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px;
  padding-top: 88px; padding-bottom: 48px; position: relative; z-index: 1;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.6; }
.footer__brand .brand__logo { height: 44px; }
.footer__social { display: flex; gap: 16px; font-size: 14px; font-weight: 600; }
.footer__social a { color: var(--white); }
.footer__social a:hover { color: var(--teal-light); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__head { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal-light); margin-bottom: 4px; line-height: 1.5; }
.footer__col a { color: var(--gray-light); width: fit-content; }
.footer__col a:hover { color: var(--white); }
.footer__towns { margin: 0; line-height: 1.7; }

.footer__word {
  font-family: var(--serif); font-weight: 300; letter-spacing: .04em; line-height: .78;
  font-size: clamp(80px, 24vw, 330px); text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(169, 209, 207, .14);
  padding-top: .1em; user-select: none; pointer-events: none;
}

.footer__bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(214, 222, 221, .15);
  padding-top: 24px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13px; color: var(--gray-muted); background: var(--navy-deep);
}
.footer__bottom div { display: flex; gap: 22px; }
.footer__bottom a { color: var(--gray-muted); }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.nav__item.is-active > a { color: var(--teal); }
.nav__item.is-active > a::after { transform: scaleX(1); }

/* ---------- Page hero ---------- */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-deep); color: var(--cream);
  min-height: 400px; display: flex; align-items: flex-end;
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 36, 43, .94) 0%, rgba(15, 36, 43, .78) 45%, rgba(15, 36, 43, .4) 100%),
    linear-gradient(0deg, rgba(15, 36, 43, .55) 0%, rgba(15, 36, 43, 0) 50%);
}
.page-hero__inner { width: 100%; padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.page-hero__title {
  margin: 0; max-width: 820px; font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance;
}
.page-hero__title em { font-style: italic; font-weight: 300; color: var(--teal-light); }
.page-hero__lede { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: rgba(246, 242, 236, .88); text-wrap: pretty; }

.crumbs { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: rgba(246, 242, 236, .7); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-top: 1.3px solid currentColor; border-right: 1.3px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: rgba(246, 242, 236, .8); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--teal-light); }

/* ---------- Page layout ---------- */

.page {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start;
  padding-top: 88px; padding-bottom: 40px;
}
.page--wide { grid-template-columns: minmax(0, 1fr); }

/* ---------- Prose ---------- */

.prose { max-width: 780px; color: var(--body); font-size: 17px; line-height: 1.75; }
.prose--wide { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.005em;
  margin: 56px 0 18px; text-wrap: balance;
}
.prose h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 25px; line-height: 1.25; margin: 40px 0 12px; }
.prose h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin: 32px 0 10px; }
.prose p { margin: 0 0 20px; text-wrap: pretty; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(47, 111, 115, .45); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 24px; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; padding-left: 40px; }
.prose ol > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .1em;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--teal);
}
.prose li ul { margin: 10px 0 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 48px 0; }

.prose .lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.45; color: var(--navy); margin-bottom: 28px; }

.prose figure { margin: 36px 0; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { font-size: 14px; color: var(--body); margin-top: 10px; }

.prose blockquote {
  margin: 32px 0; padding: 28px 32px; background: var(--white); border-left: 4px solid var(--teal);
  font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--navy);
}

.callout { margin: 36px 0; padding: 28px 30px; background: var(--white); border-top: 3px solid var(--teal); box-shadow: var(--shadow-card); }
.callout > :last-child { margin-bottom: 0; }
.callout h3, .callout h2 { margin-top: 0; }
.callout--sand { background: var(--sand); box-shadow: none; }
.callout--navy { background: var(--navy); color: var(--gray-light); border-top-color: var(--teal-light); box-shadow: none; }
.callout--navy h2, .callout--navy h3, .callout--navy strong { color: var(--white); }
.callout--navy a { color: var(--teal-light); }

.prose .btn { text-decoration: none; }
.prose .btn-row { margin: 28px 0; }

/* Two-column list */
.prose .cols { columns: 2; column-gap: 40px; }
.prose .cols li { break-inside: avoid; }

/* Tables */
.table-wrap { margin: 32px 0; overflow-x: auto; border-top: 3px solid var(--teal); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.prose th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--teal); padding: 18px 20px; border-bottom: 1px solid var(--line-strong); background: var(--hover); }
.prose td { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose td:first-child { font-family: var(--serif); font-size: 19px; color: var(--navy); min-width: 170px; }
.prose tr:last-child td { border-bottom: 0; }

/* Info / step cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin: 32px 0; }
.card { background: var(--white); border-top: 3px solid var(--teal); padding: 24px 24px 26px; }
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.card__num { display: block; font-size: 12px; letter-spacing: .14em; font-weight: 600; color: var(--teal); margin-bottom: 10px; }

/* Link grid (section index pages) */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); outline: 1px solid var(--line); margin: 32px 0 40px; }
.prose .link-grid a {
  background: var(--white); padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.4;
}
.prose .link-grid a::after { content: "→"; color: var(--teal); transition: transform 250ms var(--ease); }
.prose .link-grid a:hover { background: var(--hover); color: var(--teal); }
.prose .link-grid a:hover::after { transform: translateX(4px); }

/* FAQ */
.faq { margin: 28px 0 36px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: 9px;
  background: linear-gradient(var(--teal), var(--teal)) center / 100% 1.5px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 1.5px 100% no-repeat;
  transition: transform 250ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq__body { padding: 0 0 18px; }

/* Media + text split inside prose */
.split { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; margin: 8px 0 32px; }
.split img { width: 100%; height: auto; background: linear-gradient(180deg, #f4f1ec 0%, #e6e0d6 100%); mix-blend-mode: multiply; }

/* Badges row */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.badge { border: 1px solid var(--line-strong); padding: 7px 14px; border-radius: 2px; font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .04em; }

/* Doctor grid on inner pages */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin: 28px 0 48px; }
.prose .doc-card { display: flex; flex-direction: column; gap: 14px; color: var(--navy); text-decoration: none; }
.doc-card__photo { height: 280px; overflow: hidden; background: linear-gradient(180deg, #f4f1ec 0%, #e6e0d6 100%); }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; mix-blend-mode: multiply; transition: transform 900ms var(--ease); }
.prose .doc-card:hover img { transform: scale(1.04); }
.doc-card__name { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.doc-card__cred { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-top: -8px; }

.emeritus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); outline: 1px solid var(--line); margin: 24px 0; }
.emeritus div { background: var(--white); padding: 20px 22px; font-family: var(--serif); font-size: 20px; color: var(--navy); }
.emeritus span { display: block; font-family: var(--sans); font-size: 13px; color: var(--body); }

/* Reviews list */
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin: 28px 0 40px; }
.review-list figure { margin: 0; background: var(--white); border-top: 3px solid var(--navy); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.review-list blockquote { margin: 0; padding: 0; background: none; border: 0; font-size: 19px; line-height: 1.5; }
.review-list figcaption { margin-top: auto; font-size: 14px; color: var(--body); }
.review-list figcaption strong { color: var(--navy); }
.letters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin: 24px 0; }
.letters > div { background: var(--sand); padding: 28px 30px; font-size: 16px; }
.letters p { margin-bottom: 12px; }

/* Office detail */
.office-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); outline: 1px solid var(--line); margin: 28px 0 36px; }
.office-detail > div { background: var(--white); padding: 24px 26px; }
.office-detail h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); font-family: var(--sans); }
.office-detail p { margin: 0; font-size: 16px; line-height: 1.65; }
.map-embed { margin: 28px 0; border-top: 3px solid var(--teal); background: var(--sand); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.25); }

.saturdays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 32px; }
.saturdays > div { background: var(--white); border-top: 3px solid var(--teal); padding: 22px 24px; }
.saturdays h3 { margin: 0 0 10px; font-size: 22px; }
.saturdays ul { margin: 0; }
.saturdays li { margin-bottom: 4px; font-size: 15.5px; }

.prose .locations__grid { margin: 28px 0 40px; }
.prose .office__name { margin: 0; }
.prose .office__name a, .prose .office .btn { text-decoration: none; }
.prose .office__addr, .prose .office__tel { margin: 0; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 28px 0 40px; }
.video-grid figure { margin: 0; background: var(--white); }
.video-grid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-grid figcaption { padding: 16px 20px; font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 0; }

.video-placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); color: var(--cream);
  font-family: var(--serif); font-size: 22px; position: relative;
}
.video-placeholder::after {
  content: ""; width: 0; height: 0; margin-left: 6px;
  border-left: 22px solid rgba(246, 242, 236, .9); border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.video-placeholder span { position: absolute; bottom: 16px; left: 20px; font-size: 15px; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; }

/* Sitemap */
.sitemap > ul { columns: 2; column-gap: 48px; }
.sitemap > ul > li { break-inside: avoid; margin-bottom: 18px; }
.sitemap > ul > li > a { font-family: var(--serif); font-size: 22px; color: var(--navy); text-decoration: none; }
.sitemap ul ul { margin: 8px 0 0; }
.sitemap ul ul li { margin-bottom: 4px; font-size: 15.5px; }
@media (max-width: 720px) { .sitemap > ul { columns: 1; } }

/* Forms */
.form { margin: 28px 0 40px; background: var(--white); border-top: 3px solid var(--teal); padding: 36px 36px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form__full { grid-column: 1 / -1; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend, .form label > span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--navy); margin-bottom: 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy);
  padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--cream);
  transition: border-color var(--fast), background-color var(--fast);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form textarea { min-height: 130px; resize: vertical; }
.form h3 { grid-column: 1 / -1; margin: 12px 0 -4px; font-size: 22px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices label span {
  display: inline-block; margin: 0; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 2px;
  font-size: 14.5px; font-weight: 500; color: var(--navy); letter-spacing: 0; cursor: pointer;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast);
}
.choices input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.choices input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form__note { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.6; color: var(--body); margin: 0; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Sidebar ---------- */

.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border-top: 3px solid var(--teal); padding: 26px 26px 24px; }
.side-card--dark { background: var(--navy); border-top-color: var(--teal-light); color: var(--gray-light); display: flex; flex-direction: column; gap: 14px; }
.side-card__title { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--white); }
.side-card--dark p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.side-card__hours { font-size: 13px; color: var(--gray-muted); text-align: center; }
.side-phones { list-style: none; margin: 4px 0; padding: 0; }
.side-phones li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(214, 222, 221, .14); font-size: 14px; }
.side-phones span { color: var(--gray-muted); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 600; }
.side-phones a { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.side-phones a:hover { color: var(--teal-light); }

.side-menu { padding: 10px 0 14px; }
.side-menu > a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 14px 26px 12px; font-family: var(--serif); font-size: 22px; color: var(--navy); border-bottom: 1px solid var(--line);
}
.side-menu > a span { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.side-menu ul { list-style: none; margin: 0; padding: 6px 0 0; }
.side-menu li a { display: block; padding: 8px 26px; font-size: 14.5px; line-height: 1.4; color: var(--navy); border-left: 3px solid transparent; }
.side-menu li a:hover { color: var(--teal); background: var(--hover); }
.side-menu li.is-current > a, .side-menu > a.is-current { color: var(--teal); }
.side-menu li.is-current > a { border-left-color: var(--teal); background: var(--hover); font-weight: 600; }
.side-menu li ul { padding: 2px 0 6px; }
.side-menu li li a { padding-left: 44px; font-size: 14px; color: var(--body); }

/* ---------- Homepage: treatment spotlights ---------- */

.focus { padding-top: var(--section); padding-bottom: 40px; }
.focus__intro { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.focus__intro .section-head__text { max-width: 700px; }
.focus__intro p { margin: 0; max-width: 420px; color: var(--body); font-size: 17px; line-height: 1.7; }
.focus__item {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line-strong);
}
.focus__item:nth-child(even) .focus__media { order: 2; }
.focus__media { position: relative; height: 460px; }
.focus__media img { width: 100%; height: 100%; object-fit: cover; }
.focus__media::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(47, 111, 115, .35); z-index: -1; }
.focus__item:nth-child(even) .focus__media::before { inset: 20px 20px -20px -20px; }
.focus__num {
  position: absolute; left: 0; top: 0; background: var(--cream); color: var(--teal);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 12px 16px;
}
.focus__body { display: flex; flex-direction: column; gap: 18px; }
.focus__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.01em; }
.focus__body p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); }
.focus__points { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.focus__points li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--navy); font-weight: 500; }
.focus__points li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }
.focus__body .btn-row { margin-top: 6px; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1320px) {
  .nav__list { gap: 6px 22px; font-size: 14.5px; }
  .brand__logo { height: 42px; }
  .header.is-scrolled .brand__logo { height: 38px; }
  .brand__caption { display: none; }
}

@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; }
  .header__inner { position: relative; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(15, 36, 43, .4);
    padding: 8px var(--gutter) 24px; max-height: calc(100vh - 80px); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; font-size: 17px; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item > a { padding: 14px 0; width: 100%; justify-content: space-between; }
  .nav__item > a::after { display: none; }
  .nav__menu, .nav__menu--wide {
    position: static; min-width: 0; display: none; grid-template-columns: 1fr;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0;
    background: transparent; padding: 0 0 12px;
  }
  .has-menu:hover .nav__menu { display: none; }
  .nav__item.is-open .nav__menu { display: grid; }
  .nav__item.is-open > a::before { transform: rotate(-135deg); margin-top: 3px; }
  .nav__menu a { padding: 8px 14px; font-size: 15px; color: var(--body); }
  .nav__mobile-cta { display: flex; margin-top: 20px; width: 100%; }

  .hero__inner { grid-template-columns: 1fr; align-items: start; padding-bottom: 140px; }
  .hero__panel { justify-self: start; max-width: 520px; }
  .hero__lines { grid-template-columns: repeat(2, 1fr); }
  .hero__lines span:nth-child(3) { display: none; }

  .quick__panel { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* Offices: three across, or straight to one column — never 2 + 1 */
@media (max-width: 860px) {
  .locations__grid { grid-template-columns: 1fr; }
  .office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .office__map { height: auto; min-height: 260px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section: 80px; }
  .header__cta { display: none; }
  .brand__logo, .header.is-scrolled .brand__logo { height: 34px; }
  .header .brand__word { font-size: 30px; }
  .hero { min-height: 0; }
  .hero__inner { padding-top: 64px; padding-bottom: 120px; gap: 40px; }
  .hero__lede { font-size: 17px; }
  .video-toggle { bottom: 78px; }
  .quick { margin-top: -56px; }
  .quick__panel { grid-template-columns: 1fr; }
  .intro { padding-top: 88px; gap: 56px; }
  .intro__mosaic { height: 440px; }
  .intro__frame { inset: -14px 14px 14px -14px; }
  .intro__year { font-size: 48px; }
  .stats { padding-bottom: 80px; }
  .stats__item { padding-right: 14px; }
  .stats__item + .stats__item { padding-left: 14px; }
  .stats__item:nth-child(3) { padding-left: 0; }
  .chips { grid-template-columns: 1fr; }
  .chips__label { padding-top: 0; }
  .office { display: flex; }
  .office__map { height: 220px; min-height: 0; }
  .cta { padding: 56px 24px; }
  .reviews__num { font-size: 88px; }
  .review { padding: 30px 26px; }
  .review blockquote { font-size: 21px; }
  .utility__meta { display: none; }
  .utility__inner { justify-content: center; }
  .utility__phones { gap: 4px 18px; justify-content: center; }
  .utility__phones strong { display: none; }
  .utility__phones a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(233, 224, 210, .4); }
  .utility__phones::before { content: "Call:"; color: var(--teal-light); font-weight: 600; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(15, 36, 43, .78) 0%, rgba(15, 36, 43, .7) 55%, rgba(15, 36, 43, .9) 100%);
  }
  .hero__lines { display: none; }
}

@media (max-width: 1140px) {
  .page { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
  .focus__item { gap: 48px; }
}

@media (max-width: 860px) {
  .focus__item { grid-template-columns: 1fr; padding: 44px 0; }
  .focus__item:nth-child(even) .focus__media { order: 0; }
  .focus__media { height: 340px; margin-right: 20px; }
  .focus__item:nth-child(even) .focus__media { margin: 0 0 0 20px; }
  .saturdays { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-hero { min-height: 320px; }
  .page-hero__inner { padding-top: 56px; padding-bottom: 44px; }
  .page-hero__lede { font-size: 16.5px; }
  .page { padding-top: 56px; }
  .prose { font-size: 16.5px; }
  .prose h2 { margin-top: 44px; }
  .prose .cols { columns: 1; }
  .split { grid-template-columns: 1fr; }
  .split img { max-width: 260px; }
  .form { grid-template-columns: 1fr; padding: 26px 20px; }
  .focus__points { grid-template-columns: 1fr; }
  .focus__media { height: 260px; }
  .prose td:first-child { min-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
