:root {
  --ink: #122654;
  --navy: #1B3A8C;
  --muted: #4c607b;
  --paper: #ffffff;
  --cyan: #00B4D8;
  --pale: #eef7fc;
  --card: #ffffff;
  --line: #d8e5f1;
  --theme-surface: #ffffff;
  --map-bg: #e7eef6;
  --float-shadow: 0 14px 36px rgba(18, 38, 84, 0.22);
  --lift-shadow: 0 12px 28px rgba(18, 38, 84, 0.12);
  --float-bar-space: calc(4.75rem + env(safe-area-inset-bottom));
  --header-h: 64px;
}

html[data-theme="dark"] {
  --ink: #e8eef8;
  --navy: #1B3A8C;
  --muted: #9aadc4;
  --paper: #1A1A2E;
  --cyan: #00B4D8;
  --pale: #23233a;
  --card: #23233a;
  --line: #343454;
  --theme-surface: #23233a;
  --map-bg: #2a2a42;
  --float-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  --lift-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
  scroll-padding-bottom: var(--float-bar-space);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "DM Sans", sans-serif;
}

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

a:focus-visible {
  outline: 3px solid #007b96;
  outline-offset: 5px;
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 60;
  background: white;
  color: var(--ink);
  padding: 12px 20px;
}

.skip-link:focus { top: 12px; }

.topbar {
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 6%;
  font-size: 13px;
}

.topbar a { color: #fff; }

.topbar a:hover {
  text-decoration: underline;
}

.topbar-appoint {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  justify-content: flex-end;
}

.topbar-sep {
  opacity: 0.7;
}

.topbar-call {
  display: none;
}

.topbar a:focus-visible,
.dark a:focus-visible,
.contact a:focus-visible {
  outline-color: #8be7fa;
}

body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6%;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

/* Header lockup: client monogram (untouched artwork) + typeset wordmark.
   The square full logo can't live in a nav bar, so the monogram carries
   the header and the full lockup lives in the footer. */
.brand-header {
  gap: 12px;
  min-height: 44px;
}

.brand-logo-mark {
  height: 62px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.brand-text {
  font-size: 17px;
  line-height: 1.15;
  color: var(--ink);
}

.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-top: 5px;
  color: var(--muted);
}

/* Footer: full official logo, no box — sits directly on the footer. */
.brand-footer .brand-logo-full {
  height: 118px;
  width: auto;
  max-width: 240px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Dark footer is near-black, so the logo's black wordmark needs a light
   plate behind it there; light mode stays box-free. */
html[data-theme="dark"] .brand-footer .brand-logo-full {
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
}

/* Dark theme: the navy's H needs a light plate behind it in the header. */
html[data-theme="dark"] .brand-logo-mark {
  background: #fff;
  border-radius: 10px;
  padding: 3px 7px;
}

html[data-theme="dark"] .brand-text {
  color: #fff;
}

html[data-theme="dark"] .brand-sub {
  color: #9aadc4;
}

header nav {
  display: flex;
  gap: 29px;
  font-size: 14px;
  font-weight: 600;
}

header nav a:hover,
header nav a[aria-current="page"] {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 17px 25px;
  background: var(--navy);
  color: white;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.button span {
  font-size: 23px;
  line-height: 1;
}

.button.small {
  padding: 13px 20px;
}

a.button:hover {
  background: #142f74;
  color: white;
  text-decoration: none;
}

.button.accent {
  background: var(--cyan);
  color: #10254e;
}

.button.accent:hover {
  background: #85e3f5;
  color: #10254e;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 5%;
  padding: 38px 8% 65px 6%;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.line {
  width: 28px;
  height: 3px;
  background: var(--cyan);
}

h1 {
  font-size: clamp(55px, 6.4vw, 94px);
  margin: 28px 0;
  line-height: 1.06;
  letter-spacing: -0.065em;
}

h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: normal;
  color: #1B3A8C;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 5px;
  text-underline-offset: 12px;
}

.hero-copy > p.hero-display {
  font-family: Manrope, sans-serif;
  font-size: clamp(55px, 6.4vw, 94px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.065em;
  margin: 28px 0 20px;
  color: var(--ink);
}

.hero-copy > p.hero-display em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: normal;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 5px;
  text-underline-offset: 12px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hero-copy > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 33px;
}

.actions .text-link {
  min-height: 44px;
}

.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 7px;
  text-decoration: none;
  transition: color 180ms ease;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover {
  color: var(--cyan);
  text-decoration: none;
}

.text-link:hover span {
  transform: translateX(4px);
}

.dark .text-link { color: white; }

.dark .text-link:hover { color: var(--cyan); }

.hero-note {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 42px;
}

.hero-note span:before {
  content: "✓";
  margin-right: 8px;
}

.hero-portrait {
  min-width: 0;
}

.hero-photo {
  height: 580px;
  position: relative;
  border-radius: 150px 12px 12px 12px;
  background: #e3edf7;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 19%;
}

.hero-slide img[src*="andrew.webp"] {
  object-position: 50% 20%;
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #102451cf);
  z-index: 2;
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  bottom: 76px;
  left: 32px;
  color: white;
  z-index: 3;
}

.photo-caption > span {
  font-size: 10px;
  letter-spacing: 0.13em;
}

.photo-caption strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 12px;
}

.portrait-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cyan);
  color: #10254e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 25px;
  z-index: 3;
  font-size: 14px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-dot {
  position: relative;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1.5px solid #10254e;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dot:after {
  content: "";
  position: absolute;
  inset: -10px;
}

.hero-dot.is-active {
  background: #10254e;
}

.hero-dot:focus-visible {
  outline: 2px solid #10254e;
  outline-offset: 3px;
}

.portrait-label a {
  font-size: 22px;
  color: #10254e;
}

.vertical-note {
  writing-mode: vertical-rl;
  position: absolute;
  right: 3%;
  font-size: 10px;
  letter-spacing: 0.19em;
  color: #506885;
}

.section { padding: 82px 6%; }

.care { background: var(--pale); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

h2 {
  font-size: clamp(33px, 3.6vw, 49px);
  margin-top: 18px;
}

.section-heading > p {
  max-width: 335px;
  color: var(--muted);
}

.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}

.care-card {
  padding: 35px 38px;
  background: white;
  border-radius: 10px;
  border-top: 3px solid var(--cyan);
  transition: transform 180ms ease, box-shadow 180ms ease, border-top-color 180ms ease;
}

a.care-card:hover,
a.care-card:active,
.care-card:hover,
.care-card:active {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--lift-shadow);
  border-top-color: var(--navy);
}

a.care-card:hover .symbol {
  color: var(--cyan);
}

.care-card.dark {
  background: var(--navy);
  color: white;
}

a.care-card.dark:hover,
a.care-card.dark:active,
.care-card.dark:hover,
.care-card.dark:active {
  border-top-color: var(--cyan);
  box-shadow: var(--lift-shadow);
}

a.care-card:hover .text-link {
  color: var(--cyan);
}

a.care-card:hover .text-link span {
  transform: translateX(4px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.number {
  font-size: 11px;
  letter-spacing: 0.14em;
}

.symbol {
  font-size: 27px;
  color: var(--navy);
  transition: color 180ms ease;
}

.dark .symbol { color: var(--cyan); }

.care-card h3 {
  font-size: clamp(27px, 2.8vw, 35px);
  margin: 25px 0 18px;
}

.care-card p {
  max-width: 430px;
  color: var(--muted);
}

.dark p { color: #e2edff; }

.tags,
.service-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 24px 0 34px;
  font-size: 14px;
}

.tags span {
  background: #e8f8fc;
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 30px;
}

.service-list span {
  border: 1px solid #91b8db;
  border-radius: 30px;
  padding: 6px 10px;
}

.team {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.team > div > p {
  color: var(--muted);
  margin: 24px 0;
}

.team > div > .text-link { margin-top: 10px; }

a.team-card,
.team-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.team-card {
  display: block;
}

a.team-card:hover,
a.team-card:active,
.team-card:hover,
.team-card:active {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--lift-shadow);
}

a.team-card:hover h3 {
  color: var(--cyan);
}

.team-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: 50% 19%;
  border-radius: 8px;
  transition: box-shadow 180ms ease;
}

.team-card img[src*="andrew.webp"] {
  object-position: 50% 20%;
}

a.team-card:hover img,
.team-card:hover img,
.team-card:active img {
  box-shadow: none;
}

.team-card h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
  margin-top: 19px;
  transition: color 180ms ease;
}

.team-card p {
  font-size: 14px !important;
  margin-top: 10px !important;
  color: var(--muted);
}

.start {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  border-top: 1px solid #d8e5f1;
}

.steps a {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #d8e5f1;
  padding: 23px 0;
  align-items: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

.steps a:first-child { padding-top: 0; }

.steps a:hover {
  text-decoration: none;
  transform: translateX(4px);
}

.steps a:hover h3 {
  color: var(--cyan);
}

.steps a:hover b {
  color: var(--cyan);
  transform: translateX(4px);
}

.steps a > span {
  font-size: 13px;
  color: #506885;
}

.steps h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  transition: color 180ms ease;
}

.steps p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.steps b {
  margin-left: auto;
  font-weight: 400;
  font-size: 23px;
  color: var(--navy);
  transition: color 180ms ease, transform 180ms ease;
}

.contact {
  background: var(--navy);
  color: white;
  text-align: center;
}

.contact > .eyebrow {
  justify-content: center;
  color: #8be7fa;
}

.contact h2 {
  font-size: clamp(33px, 4.6vw, 62px);
  margin: 22px 0 32px;
}

.contact-subtext {
  color: #e2edff;
  font-size: 18px;
  margin: -12px 0 28px;
}

.contact-bottom {
  border-top: 1px solid #5974b0;
  margin-top: 65px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  text-align: left;
  gap: 25px;
  font-size: 14px;
  color: #e2edff;
}

.contact-bottom a {
  align-self: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-bottom a:hover {
  color: var(--cyan);
  text-decoration: none;
}

footer {
  padding: 48px 6% 36px;
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(0, 2.4fr);
  gap: 40px 56px;
  align-items: start;
  border-top: 1px solid #d8e5f1;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  max-width: 22ch;
  line-height: 1.6;
  margin: 0;
}

.footer-brand .footer-blurb {
  max-width: 32ch;
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}

.footer-col h2 {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--navy);
  text-decoration-color: var(--cyan);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid #e6eef6;
  font-size: 12px;
  color: var(--muted);
}

.footer-meta a {
  color: var(--muted);
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--navy);
  text-decoration-color: var(--cyan);
}

.footer-meta a.footer-credit {
  font-size: 11px;
  color: #8a9bb0;
}

.footer-meta a.footer-credit:hover,
.footer-meta a.footer-credit:focus-visible {
  color: var(--navy);
  text-decoration-color: var(--cyan);
}

/* ==========================================================================
   Branded Photo Hero Banners (Client specifications)
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #102451;
  color: #ffffff;
}

.hero-banner.is-homepage {
  min-height: 560px;
}

.hero-banner.is-interior {
  min-height: 440px;
}

.hero-banner-photo-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-photo-left {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-photo-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.hero-banner-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 58, 140, 0.92) 0%,
    rgba(27, 58, 140, 0.82) 42%,
    rgba(27, 58, 140, 0.16) 66%,
    transparent 78%
  );
  z-index: 1;
}

.hero-banner-overlay-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
  z-index: 1;
}

.hero-banner-cyan-tint {
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background: rgba(0, 180, 216, 0.12);
  z-index: 1;
}

.hero-banner-divider-line {
  position: absolute;
  right: 37.5%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #00b4d8 20%, #00b4d8 80%, transparent);
  opacity: 0.7;
  z-index: 2;
}

.hero-banner-overlay-single {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 58, 140, 0.94) 0%,
    rgba(27, 58, 140, 0.84) 45%,
    rgba(27, 58, 140, 0.28) 72%,
    rgba(27, 58, 140, 0.10) 90%
  );
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 3;
  width: 58%;
  max-width: 820px;
  padding: 56px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner-content .crumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.hero-banner-content .crumbs a {
  color: #00d4f5;
  text-decoration: none;
}

.hero-banner-content .crumbs a:hover {
  text-decoration: underline;
}

.hero-banner-content .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #00b4d8;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-banner-content .eyebrow .line {
  width: 28px;
  height: 3px;
  background: #00b4d8;
}

.hero-banner-content h1,
.hero-banner-content .tagline {
  font-family: Manrope, sans-serif;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hero-banner-content h1 em,
.hero-banner-content .tagline em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  color: #85e3f5;
  text-decoration: none;
}

.hero-banner-content .credentials {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.hero-banner-content .divider {
  width: 48px;
  height: 3px;
  background: #00b4d8;
  margin: 0 0 18px;
  border-radius: 2px;
}

.hero-banner-content .subtext,
.hero-banner-content .descriptor,
.hero-banner-content .lede {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 580px;
}

.hero-banner-content .address-block {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0 0 24px;
}

.hero-banner-content .address-block strong {
  font-weight: 700;
  color: #ffffff;
}

.telehealth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.45);
  color: #00d4f5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  width: fit-content;
}

.telehealth-badge .dot {
  width: 7px;
  height: 7px;
  background: #00b4d8;
  border-radius: 50%;
  display: inline-block;
}

.hero-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-banner-actions .button {
  background: #00b4d8;
  color: #10254e;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-banner-actions .button:hover {
  background: #85e3f5;
  color: #10254e;
}

.hero-banner-actions .button.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-banner-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-banner-actions .text-link-banner {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: #00b4d8;
  text-underline-offset: 6px;
  transition: color 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-banner-actions .text-link-banner:hover {
  color: #00d4f5;
}

@media (max-width: 900px) {
  .hero-banner-photo-right,
  .hero-banner-cyan-tint,
  .hero-banner-divider-line,
  .hero-banner-overlay-right {
    display: none;
  }
  .hero-banner-overlay-left {
    background: linear-gradient(
      to bottom,
      rgba(27, 58, 140, 0.95) 0%,
      rgba(27, 58, 140, 0.90) 50%,
      rgba(27, 58, 140, 0.85) 100%
    );
  }
  .hero-banner-overlay-single {
    background: linear-gradient(
      to bottom,
      rgba(27, 58, 140, 0.95) 0%,
      rgba(27, 58, 140, 0.90) 50%,
      rgba(27, 58, 140, 0.85) 100%
    );
  }
  .hero-banner-content {
    width: 100%;
    max-width: none;
    padding: 44px 6%;
  }
  .hero-banner.is-homepage {
    min-height: auto;
  }
  .hero-banner.is-interior {
    min-height: auto;
  }
}

/* Interior pages */
.page-hero,
header.page-hero {
  display: block;
  padding: 48px 6% 28px;
  background: var(--pale);
  gap: 0;
}

.page-hero .crumbs {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.page-hero .crumbs a {
  color: var(--muted);
  transition: color 180ms ease;
}

.page-hero .crumbs a:hover {
  color: var(--navy);
  text-decoration: none;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 18px 0 16px;
  max-width: 18ch;
}

.page-hero .lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.start.start-page {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
  width: 100%;
}

.page-hero.is-center {
  text-align: center;
  padding-bottom: 40px;
}

.page-hero.is-center .crumbs,
.page-hero.is-center .eyebrow,
.page-hero.is-center h1,
.page-hero.is-center .lede {
  margin-left: auto;
  margin-right: auto;
}

.page-hero.is-center .eyebrow {
  justify-content: center;
}

.page-hero.is-center h1 {
  max-width: 46rem;
}

.page-hero.is-center .lede {
  max-width: 46rem;
}

.prose {
  padding: 40px 6% 70px;
  max-width: 760px;
  margin-inline: auto;
  width: calc(100% - 0px);
}

.prose h2 {
  font-size: 28px;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
}

.prose h3 {
  font-size: 20px;
  margin: 1.4rem 0 0.35rem;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--muted);
  margin: 0.7rem 0;
}

.prose a:not(.button):not(.text-link) {
  color: var(--navy);
  font-weight: 600;
  transition: color 180ms ease;
}

.prose a:not(.button):not(.text-link):hover {
  color: var(--cyan);
  text-decoration: none;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose img.bio {
  width: 220px;
  border-radius: 12px;
  margin: 0 0 1.2rem;
}

.staff-band {
  background: #f7fbfe;
  border-top: 1px solid #e4eef6;
  border-bottom: 1px solid #e4eef6;
}

.staff-profile {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: minmax(372px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.staff-portrait {
  position: sticky;
  top: 24px;
}

.staff-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 100px 16px 16px 16px;
  background: #e3edf7;
  display: block;
  box-shadow: 0 18px 40px rgba(18, 38, 84, 0.08);
}

.staff-portrait .staff-meta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.staff-portrait .role {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.staff-copy {
  padding-top: 8px;
}

.staff-copy.prose {
  padding: 0;
  max-width: none;
  margin: 0;
}

.intro-copy {
  padding-top: 15px;
  padding-bottom: 30px;
}

.faq {
  background: var(--pale);
}

.faq > h2 {
  max-width: 760px;
  margin: 18px 0 30px;
  font-size: clamp(34px, 4vw, 58px);
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid rgba(18, 38, 84, 0.18);
}

.faq-list details {
  border-bottom: 1px solid rgba(18, 38, 84, 0.18);
  padding: 20px 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 19px;
}

.faq-list details p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.staff-copy .lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 1.1rem;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #d8e5f1;
}

.staff-portrait.is-pair .pair-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.staff-portrait.is-pair .pair-photos a {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 180ms ease, transform 180ms ease;
}

.staff-portrait.is-pair .pair-photos a:hover,
.staff-portrait.is-pair .pair-photos a:active {
  text-decoration: none;
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--lift-shadow);
}

.staff-portrait.is-pair .pair-photos img {
  border-top-left-radius: 48px;
}

.detail-aside {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #e4eef6;
  border-radius: 16px;
  padding: 22px 22px 8px;
  box-shadow: 0 18px 40px rgba(18, 38, 84, 0.06);
}

.detail-aside .role {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.detail-aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-aside li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  padding: 14px 0;
  border-top: 1px solid #e4eef6;
}

.detail-aside li span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 3px;
}

.detail-aside li strong {
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
  overflow-wrap: normal;
  word-break: normal;
}

.detail-aside a {
  color: var(--navy);
  transition: color 180ms ease;
}

.detail-aside a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.callout,
.fees {
  background: var(--pale);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0;
}

.fees {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
}

.fees p { margin: 0; color: var(--ink); }

.fees strong {
  font-size: 1.35rem;
  color: var(--navy);
  font-family: Manrope, sans-serif;
}

.profile {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--pale);
  border-radius: 10px;
  padding: 0.8rem;
  margin: 0 0 1.5rem;
}

.profile img {
  width: 140px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  object-position: center 15%;
}

.profile p { margin: 0.3rem 0 0; }

.grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  padding: 10px 6% 70px;
}

.grid-cards .care-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.grid-cards .care-card .text-link { margin-top: auto; }

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 10px 6% 70px;
}

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem 1.4rem;
}

label {
  font-weight: 600;
  display: grid;
  gap: 0.3rem;
  color: var(--ink);
}

input,
textarea,
select {
  font: inherit;
  padding: 0.75rem 0.8rem;
  border: 1px solid #cfd7e4;
  border-radius: 8px;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.check {
  font-weight: 500;
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
}

.check input {
  width: auto;
  margin-top: 0.3rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

.when-field {
  display: grid;
  gap: 0.3rem;
}

.when {
  position: relative;
  display: block;
}

.when.is-ready input {
  padding-right: 2.7rem;
}

.when-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.when-toggle:hover,
.when-toggle[aria-expanded="true"] {
  background: var(--pale);
}

.when-pop {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, 100%);
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid #d5e3ef;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(18, 38, 84, 0.14);
}

.when-pop[hidden] {
  display: none !important;
}

.when-head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.when-title {
  margin: 0;
  text-align: center;
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.when-nav {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--pale);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.when-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.when-week,
.when-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.when-week span {
  padding: 4px 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.when-day {
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 600 14px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.when-day:hover:not(:disabled) {
  background: var(--pale);
}

.when-day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--cyan);
}

.when-day.is-picked {
  background: var(--navy);
  color: #fff;
}

.when-day:disabled {
  color: #b7c3d4;
  cursor: default;
}

.when-note {
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.when-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.when-slots[hidden] {
  display: none !important;
}

.when-time {
  padding: 6px 10px;
  border: 1px solid #d5e3ef;
  border-radius: 999px;
  background: var(--pale);
  color: var(--navy);
  font: 600 13px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.when-time:hover,
.when-time.is-picked {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.when-toggle:focus-visible,
.when-nav:focus-visible,
.when-day:focus-visible,
.when-time:focus-visible {
  outline: 3px solid #007b96;
  outline-offset: 2px;
}

.notice {
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
}

.notice.ok {
  background: #eef8f3;
  color: #0d6b45;
}

.notice.bad {
  background: #fff6ee;
  color: #8a3b12;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 10px 6% 70px;
}

.address-card {
  background: var(--navy);
  color: var(--white, #fff);
  border-radius: 16px;
  padding: 1.4rem;
}

.address-card h2 {
  font-size: 1.7rem;
  margin: 0 0 0.7rem;
  color: #fff;
}

.address-card a {
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease;
}

.address-card a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.address-card p {
  margin: 0.35rem 0;
  color: #e2edff;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.map-frame {
  --map-crop-top: 54px;
  position: relative;
  flex: 1 1 auto;
  min-height: 440px;
  border-radius: 16px;
  overflow: hidden;
  background: #e7eef6;
  border: 1px solid #e4eef6;
  box-shadow: 0 18px 40px rgba(18, 38, 84, 0.06);
}

.map-frame iframe {
  position: absolute;
  top: calc(var(--map-crop-top) * -1);
  left: 0;
  width: 100%;
  height: calc(100% + var(--map-crop-top));
  border: 0;
  filter: grayscale(0.45) saturate(0.55) contrast(1.04) brightness(1.03);
}

.map-wash {
  position: absolute;
  inset: 0;
  background: #1b3a8c;
  opacity: 0.1;
  mix-blend-mode: color;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(50% - (var(--map-crop-top) / 2));
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  color: inherit;
  text-decoration: none;
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: -11px;
}

.map-pin-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(18, 38, 84, 0.28);
}

.map-pin-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.45);
  animation: map-pulse 2.4s ease-out infinite;
}

.map-pin-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(18, 38, 84, 0.16);
}

.map-pin-label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #fff;
}

.map-card {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(18, 38, 84, 0.14);
}

.map-card:hover {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.map-card:focus-visible {
  outline: 3px solid #007b96;
  outline-offset: 3px;
}

@keyframes map-pulse {
  0% { transform: scale(0.65); opacity: 0.75; }
  100% { transform: scale(2.1); opacity: 0; }
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 0 6% 70px;
}

@media (min-width: 1600px) {
  body {
    max-width: 1600px;
    margin: auto;
  }
}

@media (max-width: 1050px) {
  header nav { gap: 17px; }
  .hero { gap: 30px; }
  .hero-photo { height: 520px; }
  .actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .team { gap: 23px; }
  .team-card img { height: 280px; }
  .team h2 { font-size: 36px; }
  .people-grid,
  .related,
  .grid-cards {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .eyebrow { font-size: 12px; letter-spacing: 0.08em; }

  .hero {
    grid-template-columns: 1fr;
    padding: 22px 5% 40px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(48px, 13vw, 65px);
    margin: 22px 0;
  }

  .hero-copy > p { font-size: 16px; }

  .hero-note {
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .hero-photo {
    height: 460px;
    border-top-left-radius: 110px;
  }

  .vertical-note { display: none; }

  .section { padding: 50px 5%; }

  .section-heading { display: block; }

  .section-heading > p { margin-top: 22px; }

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

  .care-card { padding: 27px; }

  .team {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .team > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 15px;
  }

  .team-card img { height: 245px; }

  .team-card h3 { font-size: 18px; }

  .team-card p { font-size: 16px !important; }

  .start {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 42px;
  }

  .contact-bottom a { overflow-wrap: anywhere; }

  .contact-subtext { font-size: 16px; }

  .photo-caption strong { font-size: 28px; }

  footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 5% 28px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col ul {
    gap: 0;
  }

  .footer-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-brand p {
    font-size: 16px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .desktop { display: none; }

  .page-hero,
  .prose,
  .grid-cards,
  .people-grid,
  .contact-grid,
  .related {
    padding-left: 5%;
    padding-right: 5%;
  }

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

  .staff-profile {
    width: calc(100% - 10%);
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .staff-portrait,
  .detail-aside {
    position: static;
  }

  .staff-portrait {
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .staff-portrait.is-pair {
    max-width: 420px;
  }

  .detail-aside {
    max-width: none;
  }

  .staff-portrait .staff-meta {
    justify-items: center;
  }

  .staff-portrait img {
    border-top-left-radius: 70px;
  }

  .staff-actions {
    justify-content: center;
  }

  .people-grid,
  .related,
  .grid-cards,
  .contact-grid,
  .profile {
    grid-template-columns: 1fr;
  }

  .map-frame { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-slide {
    transition: none;
  }

  .map-pin-pulse {
    animation: none;
    opacity: 0.35;
  }

  a.care-card,
  .care-card,
  a.team-card,
  .team-card,
  a.team-card img,
  .fees,
  .callout,
  .form,
  .address-card,
  .detail-aside,
  .profile,
  .staff-portrait img,
  .steps a,
  .steps a b,
  .steps h3,
  .text-link,
  .text-link span,
  .staff-portrait.is-pair .pair-photos a,
  .page-hero .crumbs a,
  .prose a:not(.button):not(.text-link),
  .detail-aside a,
  .address-card a,
  .contact-bottom a,
  .footer-col a,
  .footer-meta a,
  .team-card h3 {
    transition: none;
  }

  a.care-card:hover,
  a.care-card:active,
  .care-card:hover,
  .care-card:active,
  a.team-card:hover,
  a.team-card:active,
  .team-card:hover,
  .team-card:active,
  .steps a:hover,
  .staff-portrait.is-pair .pair-photos a:hover,
  .staff-portrait.is-pair .pair-photos a:active,
  .fees:hover,
  .fees:active,
  .callout:hover,
  .callout:active,
  .form:hover,
  .form:active,
  .address-card:hover,
  .address-card:active,
  .detail-aside:hover,
  .detail-aside:active,
  .profile:hover,
  .profile:active,
  .staff-portrait:not(.is-pair) img:hover,
  .staff-portrait:not(.is-pair) img:active {
    transform: none;
  }

  .text-link:hover span,
  a.care-card:hover .text-link span,
  .steps a:hover b {
    transform: none;
  }
}

/* Mobile-first responsive foundation */
body {
  overflow-x: hidden;
  overflow-x: clip;
}

.topbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding-inline:
    max(5%, env(safe-area-inset-left))
    max(5%, env(safe-area-inset-right));
}

.topbar > span {
  max-width: none;
  flex: 1 1 145px;
}

.topbar a:not(.topbar-call) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

body > header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header-h);
  padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  gap: 8px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

header .brand,
.header-tools {
  position: relative;
  z-index: 2;
}

header .brand {
  min-width: 0;
}

.brand-logo-mark {
  height: 40px;
}

.menu-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* Phone/tablet: theme lives inside the Menu so the clinic name has room. */
.theme-toggle-menu {
  display: none;
}

@media (max-width: 65.99rem) {
  .header-tools > .theme-toggle-bar {
    display: none;
  }

  .theme-toggle.theme-toggle-menu {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: flex-start;
    gap: 10px;
    min-height: 48px;
    padding: 10px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font: 600 15px/1.2 "DM Sans", sans-serif;
    color: var(--ink);
  }

  .theme-toggle-menu .theme-toggle-glyphs {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .theme-toggle-label {
    flex: 1 1 auto;
    text-align: left;
  }
}

.theme-toggle-glyphs {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
}

.menu-toggle:hover,
.menu-toggle:active,
.theme-toggle:hover,
.theme-toggle:active {
  background: rgba(27, 58, 140, 0.08);
}

.menu-toggle:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid #007b96;
  outline-offset: 3px;
}

.menu-toggle-icon {
  display: grid;
  gap: 5px;
  width: 18px;
}

.menu-toggle-icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  background: rgba(18, 24, 48, 0.45);
  cursor: pointer;
}

.nav-backdrop[hidden] {
  display: none;
}

.header-navigation {
  display: none;
}

.header-navigation.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 3;
  top: var(--header-bottom, var(--header-h));
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-bottom, var(--header-h)));
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 8px;
  width: auto;
  padding: 8px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(18, 38, 84, 0.16);
}

header .header-navigation nav {
  display: grid;
  order: 0;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 0;
}

header .header-navigation nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

header .header-navigation .button {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
}

body.menu-open {
  overflow: hidden;
}

.button {
  min-height: 44px;
}

.hero-copy > p.hero-display {
  font-size: clamp(2.65rem, 13vw, 4rem);
}

.page-hero h1,
header.page-hero h1 {
  font-size: clamp(2.15rem, 11vw, 3.25rem);
  overflow-wrap: anywhere;
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-top-left-radius: 88px;
}

.team {
  grid-template-columns: minmax(0, 1fr);
}

.team > div:first-child {
  grid-column: auto;
}

.team-card img {
  height: auto;
  aspect-ratio: 4 / 5;
}

.fees {
  grid-template-columns: minmax(0, 1fr);
}

.profile {
  grid-template-columns: minmax(0, 1fr);
}

.profile img {
  width: min(140px, 100%);
}

.when-day {
  height: 38px;
}

.map-card {
  right: auto;
  width: fit-content;
  max-width: calc(100% - 28px);
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  gap: 6px;
  line-height: 1.2;
}

.map-pin-label {
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

.portrait-label {
  gap: 12px;
}

.portrait-label strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 29.99rem) {
  .actions {
    align-items: stretch;
  }

  .actions .button {
    width: 100%;
  }

  .hero-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-banner-actions .button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-banner-actions .text-link-banner {
    align-self: center;
    justify-content: center;
    min-height: 44px;
  }

  .care-card {
    padding-inline: 22px;
  }
}

@media (min-width: 30rem) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team > div:first-child {
    grid-column: 1 / -1;
  }

  .team-card img {
    height: 245px;
    aspect-ratio: auto;
  }
}

@media (min-width: 48rem) {
  a[href^="mailto:"] {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero-copy > p.hero-display {
    font-size: clamp(3.6rem, 7vw, 5.5rem);
  }

  .page-hero h1,
  header.page-hero h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    overflow-wrap: normal;
  }

  .hero-photo {
    height: 520px;
    aspect-ratio: auto;
    border-top-left-radius: 130px;
  }

  .fees {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .profile {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .when-day {
    height: 42px;
  }
}

@media (min-width: 66rem) {
  html {
    scroll-padding-top: 30px;
  }

  body > header {
    position: static;
    display: flex;
    min-height: 0;
    padding: 22px 4%;
    gap: 18px;
    border-bottom: 0;
    background: transparent;
  }

  header .brand-logo-mark {
    height: 66px;
  }

  .brand-text {
    font-size: 18px;
  }

  .menu-toggle,
  .nav-backdrop {
    display: none;
  }

  .header-navigation,
  .header-navigation.is-open {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  header .header-navigation nav {
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    gap: 20px;
  }

  header .header-navigation nav a {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    font-size: 14px;
  }

  header .header-navigation .button {
    width: auto;
    min-height: 44px;
    margin-top: 0;
  }

  .hero-photo {
    height: 580px;
    border-top-left-radius: 150px;
  }

  .team {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .team > div:first-child {
    grid-column: auto;
  }

  .team-card img {
    height: 340px;
  }

  .header-tools {
    order: 0;
  }

  body > header .theme-toggle {
    order: 0;
  }
}

/* Header tools, theme toggle, floating book, site map */
.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.theme-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-icon-sun {
  opacity: 0;
  transform: rotate(-40deg) scale(0.7);
}

.theme-icon-moon {
  opacity: 1;
  transform: none;
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 1;
  transform: none;
}

html[data-theme="dark"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(40deg) scale(0.7);
}

.site-map {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.25rem;
  padding: 40px 6% 10px;
  align-items: stretch;
}

.site-map .address-card {
  min-height: 100%;
}

.site-map .map-frame {
  min-height: 320px;
}

.contact-grid-form {
  grid-template-columns: 1.15fr 0.85fr;
}

.form-hint {
  margin: -0.4rem 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-alt {
  margin: 1rem 0 0;
}

.address-note {
  margin-top: 1rem !important;
  font-size: 0.9rem;
  opacity: 0.85;
}

.start-zocdoc {
  padding: 0 6% 40px;
}

.float-book {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(18, 38, 84, 0.1);
  transition: transform 200ms ease;
}

@media (max-width: 47.99rem) {
  body:has(.hero-banner-actions) .float-book {
    transform: translateY(110%);
    pointer-events: none;
  }

  body.float-bar-live .float-book {
    transform: none;
    pointer-events: auto;
  }

  body.float-bar-live .hero-banner-actions .is-bar-duplicate {
    display: none;
  }
}

body.menu-open .float-book {
  transform: translateY(110%);
  pointer-events: none;
}

.float-book-primary,
.float-book-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  line-height: 1.15;
}

.float-book-primary {
  flex: 1 1 auto;
  max-width: 280px;
  flex-direction: column;
  gap: 2px;
  padding: 7px 12px;
  background: var(--navy);
  color: #fff;
}

.float-book-primary:hover,
.float-book-primary:active {
  background: #142f74;
  color: #fff;
}

.float-book-label {
  font-size: clamp(12.5px, 3.4vw, 14px);
  font-weight: 700;
}

.float-book-note {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.82;
}

.float-book-secondary {
  flex: 0 1 auto;
  gap: 6px;
  padding: 7px 12px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  font-size: clamp(12px, 3.3vw, 14px);
  font-weight: 600;
  white-space: nowrap;
}

.float-book-secondary:hover,
.float-book-secondary:active {
  background: rgba(27, 58, 140, 0.06);
  color: var(--navy);
}

.float-book-external {
  flex: 0 0 auto;
}

/* Inline Zocdoc badge (e.g. under the contact form). */
.form-alt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.zocdoc-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 6px;
}

.zocdoc-badge img {
  display: block;
  width: 140px;
  height: auto;
}

.zocdoc-badge:hover img {
  filter: brightness(1.06);
}

body {
  padding-bottom: var(--float-bar-space);
}

html[data-theme="dark"] body {
  background: var(--paper);
  color: var(--ink);
}

html[data-theme="dark"] .skip-link {
  background: var(--card);
  color: var(--ink);
}

html[data-theme="dark"] header,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .header-navigation nav,
html[data-theme="dark"] .care-card,
html[data-theme="dark"] .form,
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .callout,
html[data-theme="dark"] .facts,
html[data-theme="dark"] .staff-meta,
html[data-theme="dark"] footer {
  border-color: var(--line);
}

html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .theme-toggle {
  background: transparent;
  color: var(--ink);
  border: 0;
}

html[data-theme="dark"] .theme-toggle-menu {
  color: var(--ink);
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .menu-toggle:hover,
html[data-theme="dark"] .menu-toggle:active,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:active {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] header nav a:hover,
html[data-theme="dark"] header nav a[aria-current="page"],
html[data-theme="dark"] .text-link {
  color: var(--cyan);
}

html[data-theme="dark"] .hero-copy > p.hero-display em {
  color: var(--cyan);
}

html[data-theme="dark"] .care-card {
  background: var(--card);
  color: var(--ink);
}

html[data-theme="dark"] .care-card.dark {
  background: #243b6e;
  color: #fff;
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .staff-band,
html[data-theme="dark"] .contact-grid,
html[data-theme="dark"] .detail-band {
  background: transparent;
}

html[data-theme="dark"] .map-frame {
  background: var(--map-bg);
  border-color: var(--line);
}

html[data-theme="dark"] .map-wash {
  opacity: 0.18;
}

html[data-theme="dark"] .notice.ok {
  background: #1d3a2f;
  color: #9ee0bf;
}

html[data-theme="dark"] .notice.bad {
  background: #3a2a1d;
  color: #f0c39a;
}

html[data-theme="dark"] .form input,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .form select {
  background: #151528;
  color: var(--ink);
  border-color: var(--line);
}

html[data-theme="dark"] footer {
  background: #151528;
  color: var(--ink);
}

@media (max-width: 47.99rem) {
  .site-map,
  .contact-grid-form {
    grid-template-columns: 1fr;
  }

  .topbar-location,
  .topbar-appoint {
    display: none;
  }

  .topbar {
    justify-content: center;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 36px;
    font-size: 13px;
  }

  .topbar-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    font-weight: 600;
  }

  .topbar a {
    min-height: 36px;
  }

  .brand-header {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo-mark {
    height: 48px;
  }

  .brand-text {
    font-size: clamp(14px, 4.1vw, 16px);
    overflow: visible;
  }

  .brand-sub {
    letter-spacing: 0.14em;
  }

  .brand-footer .brand-logo-full {
    height: 100px;
  }
}

@media (max-width: 65.99rem) {
  html {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

  .brand-logo-mark {
    height: 40px;
  }
}

@media (min-width: 66rem) {
  .header-tools {
    display: contents;
  }

  body > header .theme-toggle-bar {
    order: 3;
    margin-left: 4px;
  }

  .theme-toggle-menu {
    display: none !important;
  }

  body > header .header-navigation {
    order: 2;
  }

  .site-map .map-frame {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-book,
  .menu-toggle-icon i,
  .theme-icon {
    transition: none;
  }
}

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

@media (max-width: 540px) {
  .hero-banner-content .eyebrow {
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    gap: 8px;
  }

  .hero-banner-content .eyebrow .line {
    width: 18px;
    flex: 0 0 18px;
  }
}

.fees,
.callout,
.form,
.address-card,
.detail-aside,
.profile,
.staff-portrait img {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fees:hover,
.fees:active,
.callout:hover,
.callout:active,
.form:hover,
.form:active,
.address-card:hover,
.address-card:active,
.detail-aside:hover,
.detail-aside:active,
.profile:hover,
.profile:active,
.staff-portrait:not(.is-pair) img:hover,
.staff-portrait:not(.is-pair) img:active {
  transform: translateY(-3px);
  box-shadow: var(--lift-shadow);
}

.care-card:hover,
.care-card:active,
.team-card:hover,
.team-card:active,
.fees:hover,
.callout:hover,
.profile:hover,
.address-card:hover {
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] .float-book {
  background: #151528;
  border-top-color: var(--line);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .float-book-primary {
  background: var(--cyan);
  color: #10254e;
}

html[data-theme="dark"] .float-book-primary:hover,
html[data-theme="dark"] .float-book-primary:active {
  background: #85e3f5;
  color: #10254e;
}

html[data-theme="dark"] .float-book-note {
  opacity: 0.8;
}

html[data-theme="dark"] .float-book-secondary {
  color: #e8eef8;
  border-color: #9aadc4;
}

html[data-theme="dark"] .float-book-secondary:hover,
html[data-theme="dark"] .float-book-secondary:active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

@media (max-width: 47.99rem) {
  .hero-banner-content .eyebrow {
    font-size: clamp(10.5px, 2.85vw, 12px);
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  a.text-link,
  .hero-banner-actions .text-link-banner,
  .address-card a,
  .contact-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .form .button {
    width: 100%;
    justify-content: space-between;
  }

  .footer-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
