/* New Hope + Coast Chiropractic
   Brand: Oct 2026 logo package (Claudia McKenzie). Palette and fonts below are from both brand kits. */

@font-face { font-family: "Aller"; src: url("/fonts/aller-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aller"; src: url("/fonts/aller-400i.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Aller"; src: url("/fonts/aller-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* brand kit */
  --brown: #4c3e35;
  --teal: #6da9b7;
  --aqua: #afd1d6;
  --sand: #e7d8c3;
  --cream: #f4efe7;
  /* derived for accessible text and states */
  --teal-ink: #2f6774;      /* teal darkened for text on cream/white (AA) */
  --brown-soft: #6b5a4e;
  --white: #ffffff;
  --line: rgba(76, 62, 53, 0.14);

  --font-body: "Aller", "Segoe UI", system-ui, sans-serif;
  --font-head: "Raleway", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(76, 62, 53, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--brown);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
.inline-photo { width: 100%; max-width: min(380px, 100%); border-radius: var(--radius); }
.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; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--brown); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brown); color: var(--cream); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 0.8em; display: block; }
.lead { font-size: 1.2rem; color: var(--brown-soft); }
.center { text-align: center; }
.muted { color: var(--brown-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 999px; padding: 0.85em 1.5em; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover { background: #3a2f28; color: var(--white); }
.btn-teal { background: var(--aqua); color: var(--brown); }
.btn-teal:hover { background: var(--white); color: var(--brown); }
.btn-outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--brown); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* top bar */
.topbar { background: var(--brown); color: var(--cream); font-size: 0.9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar strong { font-family: var(--font-head); font-weight: 700; color: var(--aqua); margin-right: 6px; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; position: static; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand img.nh { height: 44px; width: auto; }
.brand img.cc { height: 30px; width: auto; }
.brand .plus { width: 1px; height: 38px; background: var(--line); }
.tb-status { font-style: normal; margin-left: 8px; color: var(--aqua); font-size: 0.82rem; }
.tb-status.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8fd19e; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(143, 209, 158, 0.25); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { margin: 0; position: static; }
.nav-trigger, .nav-link { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--brown); background: none; border: 0; cursor: pointer; text-decoration: none; padding: 10px 13px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; line-height: 1.2; }
.nav-trigger .chev { width: 11px; height: 8px; transition: transform .2s ease; color: var(--teal-ink); }
.nav-item.open > .nav-trigger, .nav-trigger:hover, .nav-link:hover { background: var(--cream); color: var(--brown); }
.nav-item.open > .nav-trigger .chev { transform: rotate(180deg); }
.nav-item.is-current > .nav-trigger, .nav-item.is-current > .nav-link { box-shadow: inset 0 -3px 0 var(--teal-ink); border-radius: 10px 10px 0 0; }
.nav-book { position: relative; margin-left: 10px; }
.btn.book-trigger { padding: 0.72em 1.25em; border-radius: 999px; background: var(--brown); color: var(--cream); }
.nav-book.open > .btn.book-trigger, .btn.book-trigger:hover { background: #3a2f28; color: var(--white); }
.menu-toggle, .nav-mobile-foot { display: none; }

/* mega panels (desktop) */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(76, 62, 53, 0.16); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; z-index: 60; }
.nav-item.open > .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
.mega-inner { padding-top: 34px; padding-bottom: 38px; }
.mega h2 { font-size: 1.3rem; margin-bottom: 0.4em; }
.mega-scrim { position: fixed; inset: 0; top: auto; height: 0; background: rgba(59, 48, 41, 0.28); opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.site-header.mega-open .mega-scrim { top: var(--hdr-b, 124px); bottom: 0; height: auto; opacity: 1; pointer-events: auto; z-index: 55; }
@media (min-width: 1061px) { .mega { max-height: calc(100vh - var(--hdr-b, 124px)); overflow-y: auto; } }

.mm-clinics-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 34px; align-items: start; }
.mm-intro p { color: var(--brown-soft); margin-bottom: 8px; }
.coast-map { width: 100%; height: auto; margin: 6px 0 14px; overflow: visible; }
.coast-map text { font-family: var(--font-body); font-size: 15px; fill: var(--brown-soft); }
.coast-map text.faint { fill: #6b5a4e; }
.coast-map .pin-label { font-family: var(--font-head); font-weight: 800; font-size: 17px; fill: var(--brown); }
.nav-item.open .coast-route { animation: route 1.2s ease-out both; }
@keyframes route { from { stroke-dashoffset: 120; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.mm-clinic { display: flex; flex-direction: column; }
.mm-clinic-photo { position: relative; display: block; border-radius: 160px 160px 14px 14px; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--aqua); }
.mm-clinic-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .5s ease; }
.mm-clinic-photo:hover img { transform: scale(1.04); }
.mm-clinic-logo { height: 34px; width: auto; margin: 18px 0 8px; object-fit: contain; object-position: left; }
.mm-clinic-logo.cc { height: 24px; margin: 22px 0 13px; }
.mm-status { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--brown-soft); }
.mm-status.is-open { color: #2e6b3f; }
.mm-status.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3f9a5a; margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 4px rgba(63, 154, 90, 0.16); }
.mm-addr { font-size: 0.95rem; color: var(--brown-soft); margin-bottom: 14px; }
.mm-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mm-actions .btn { padding: 0.7em 1.2em; font-size: 0.95rem; }
.mm-link { font-family: var(--font-head); font-weight: 700; color: var(--teal-ink); font-size: 0.95rem; }

.mm-care-grid, .mm-team-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.mm-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; }
.mm-service { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--brown); }
.mm-service:hover { background: var(--cream); color: var(--brown); }
.mm-service img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; transition: border-radius .25s ease; }
.mm-service:hover img { border-radius: 18px; }
.mm-service strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.mm-service small { display: block; color: var(--brown-soft); font-size: 0.88rem; line-height: 1.35; margin-top: 3px; }
.mm-rail { background: var(--cream); border-radius: 18px; padding: 22px 24px; }
.mm-rail ul { list-style: none; padding: 0; margin: 0 0 18px; }
.mm-rail li { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 0.97rem; display: flex; justify-content: space-between; gap: 10px; }
.mm-rail li span { color: var(--teal-ink); font-size: 0.85rem; font-family: var(--font-head); font-weight: 700; }
.mm-rail p { color: var(--brown-soft); font-size: 0.97rem; }
.mm-rail .btn { padding: 0.65em 1.2em; font-size: 0.95rem; }
.mm-team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mm-person { text-decoration: none; color: var(--brown); text-align: center; }
.mm-person img { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 18%; margin: 0 auto 10px; background: var(--aqua); box-shadow: 0 0 0 0 var(--teal); transition: box-shadow .2s ease; }
.mm-person:hover img { box-shadow: 0 0 0 5px var(--aqua); }
.mm-person strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; }
.mm-person small { color: var(--brown-soft); font-size: 0.86rem; }

.book-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: var(--white); border-radius: 16px; box-shadow: 0 20px 40px rgba(76, 62, 53, 0.2); padding: 16px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; z-index: 70; }
.nav-book.open > .book-pop { visibility: visible; opacity: 1; transform: none; transition: opacity .16s ease, transform .16s ease; }
.book-pop p { font-size: 0.9rem; color: var(--brown-soft); margin: 2px 4px 10px; }
.book-pop a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--brown); }
.book-pop a:hover { background: var(--cream); color: var(--brown); }
.book-pop .pop-pin { flex-shrink: 0; width: 26px; height: 32px; }
.book-pop strong { display: block; font-family: var(--font-head); }
.book-pop small { color: var(--brown-soft); }

@media (max-width: 1180px) and (min-width: 1061px) {
  .mm-clinics-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .mm-services { grid-template-columns: repeat(2, 1fr); }
  .nav-trigger, .nav-link { padding: 10px 9px; font-size: 0.94rem; }
}

/* mobile drawer */
@media (max-width: 1060px) {
  .site-header > .wrap { min-height: 70px; }
  .brand img.nh { height: 36px; }
  .brand img.cc { height: 24px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; background: var(--cream); color: var(--brown); border: 0; border-radius: 12px; padding: 10px 14px; cursor: pointer; font-size: 1rem; position: relative; z-index: 82; }
  .burger { width: 18px; height: 14px; position: relative; display: inline-block; }
  .burger i { position: absolute; left: 0; right: 0; height: 2px; background: var(--brown); border-radius: 2px; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
  .burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
  .menu-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 0; top: var(--nav-top, 70px); background: var(--white); z-index: 80; padding: 8px var(--gutter) 28px; border-top: 1px solid var(--line); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; display: flex; flex-direction: column; }
  .nav.open { transform: none; visibility: visible; transition: transform .25s ease; }
  body.nav-locked { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-trigger, .nav-link { width: 100%; justify-content: space-between; font-size: 1.25rem; font-weight: 700; padding: 18px 4px; border-radius: 0; }
  .nav-item.is-current > .nav-trigger, .nav-item.is-current > .nav-link { box-shadow: none; color: var(--teal-ink); }
  .nav-trigger:hover, .nav-link:hover, .nav-item.open > .nav-trigger { background: none; }
  .nav-book { display: none; }
  .mega { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; display: none; transition: none; }
  .nav-item.open > .mega { display: block; }
  .mega-inner { padding: 0 0 22px; }
  .mega .wrap { padding: 0; }
  .mm-clinics-grid, .mm-care-grid, .mm-team-grid { grid-template-columns: 1fr; gap: 18px; }
  .mm-intro h2, .mm-intro p, .mm-intro .mm-link { display: none; }
  .mm-intro p.mm-both { display: block; margin: 0 0 10px; font-size: 0.95rem; color: var(--brown-soft); }
  .coast-map { margin: 0; }
  .mm-clinic { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; background: var(--cream); border-radius: 16px; padding: 14px; }
  .mm-clinic-photo { width: 78px; height: 78px; aspect-ratio: auto; border-radius: 50%; flex-shrink: 0; }
  .mm-clinic > :not(.mm-clinic-photo) { flex-basis: calc(100% - 96px); }
  .mm-clinic-logo, .mm-clinic-logo.cc { margin: 6px 0 4px; height: 26px; }
  .mm-clinic-logo.cc { height: 18px; margin: 12px 0 8px; }
  .mm-addr { margin-bottom: 8px; }
  .mm-actions { flex-basis: 100% !important; }
  .mm-services { grid-template-columns: 1fr; gap: 2px; }
  .mm-service { padding: 8px 4px; }
  .mm-service img { width: 52px; height: 52px; }
  .mm-team { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .mm-person img { max-width: 84px; }
  .mm-rail { padding: 18px; }
  .mega-scrim { display: none; }
  .nav-mobile-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .nav-mobile-foot .btn { justify-content: center; }
  .nav-mobile-foot p { grid-column: 1 / -1; text-align: center; margin: 8px 0 0; font-size: 0.95rem; }
}
@media (max-width: 520px) {
  .brand { gap: 10px; }
  .brand img.nh { height: 30px; }
  .brand img.cc { height: 19px; }
  .brand .plus { height: 28px; }
  .topbar .wrap { justify-content: center; font-size: 0.82rem; }
  .tb-status { display: none; }
  .mt-label { display: none; }
  .nav-mobile-foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* sections */
section { padding: clamp(56px, 8vw, 100px) 0; }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-aqua { background: #dcebed; }
.section-brown { background: var(--brown); color: var(--cream); }
.section-brown h2, .section-brown h3 { color: var(--cream); }
.section-brown a { color: var(--aqua); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.wave { display: block; width: 100%; height: 48px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 90px); background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-media { position: relative; }
.hero-media img { border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.hero-media { margin: 0 0 30px; }
.hero-media .mark { position: absolute; width: 88px; height: 88px; aspect-ratio: 1; object-fit: contain; box-sizing: border-box; right: -18px; top: 14%; background: var(--white); border-radius: 50%; padding: 16px; box-shadow: var(--shadow); }
.hero-names { position: absolute; left: 4%; right: 4%; bottom: -30px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.hero-names::before { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; border-top: 2px dashed var(--teal); opacity: .8; z-index: -1; }
.hn { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 10px 16px 10px 12px; box-shadow: 0 10px 26px rgba(76, 62, 53, 0.16); text-decoration: none; color: var(--brown); line-height: 1.25; transition: transform .16s ease; }
.hn:hover { transform: translateY(-2px); color: var(--brown); }
.hn-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(109, 169, 183, 0.22); }
.hn strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.hn small { display: block; font-size: 0.84rem; color: var(--brown-soft); white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-names { gap: 8px; left: 3%; right: 3%; }
  .hn { flex: 1 1 0; min-width: 0; padding: 9px 10px; gap: 8px; }
  .hn strong { white-space: normal; font-size: 0.92rem; }
  .hn-long { display: none; }
}
@media (max-width: 520px) {
  .hero-media { margin-bottom: 0; }
  .hero-names { position: static; margin-top: 14px; gap: 8px; }
  .hero-names::before { display: none; }
  .hn { flex: 1 1 0; min-width: 0; padding: 9px 10px; gap: 8px; box-shadow: none; background: var(--white); border: 1px solid var(--line); }
  .hn strong { font-size: 0.88rem; white-space: normal; }
  .hn small { font-size: 0.8rem; }
  .hn-long { display: none; }
}
.hero .lead { max-width: 560px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; font-size: 0.95rem; color: var(--brown-soft); }
.hero-facts li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-facts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  .hero-media .mark { width: 64px; height: 64px; right: 10px; top: 12px; padding: 12px; }
}

/* page hero (inner pages) */
.page-hero { background: var(--white); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.page-hero.no-media .wrap { display: block; max-width: 860px; }
.page-hero img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.crumbs { font-size: 0.88rem; margin-bottom: 14px; color: var(--brown-soft); }
.crumbs a { color: var(--brown-soft); }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* location cards */
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.loc-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: flex; flex-direction: column; border-top: 6px solid var(--teal); }
.loc-card .logo { height: 56px; width: auto; margin-bottom: 18px; object-fit: contain; object-position: left; }
.loc-card .logo.cc { height: 36px; margin: 10px 0 28px; }
.loc-card h3 { margin-bottom: 4px; }
.loc-card dl { margin: 14px 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.98rem; }
.loc-card dt { font-family: var(--font-head); font-weight: 700; }
.loc-card dd { margin: 0; }
.loc-card .btn-row { margin-top: auto; }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } .loc-card { padding: 24px; } }

.hours { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours th { font-family: var(--font-head); font-weight: 700; padding-right: 18px; white-space: nowrap; }

/* cards & grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: var(--brown); transition: transform .2s ease; }
a.card:hover { transform: translateY(-3px); color: var(--brown); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .body { padding: 22px 24px 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--brown-soft); font-size: 0.98rem; }
.card .more { display: inline-block; margin-top: 12px; font-family: var(--font-head); font-weight: 700; color: var(--teal-ink); }

/* split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; object-position: center top; aspect-ratio: 5 / 4; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 110px; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.aside h3 { font-size: 1.1rem; }
.aside .btn { width: 100%; justify-content: center; margin-top: 10px; }
.aside p { font-size: 0.95rem; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }

/* team */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start; }
[id] { scroll-margin-top: 110px; }
.team figure { margin: 0; text-align: center; }
.team img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; margin: 0 auto 14px; width: 100%; max-width: 260px; background: var(--aqua); box-shadow: var(--shadow); }
.team figcaption strong { display: block; font-family: var(--font-head); font-weight: 700; }
.team figcaption span { font-size: 0.9rem; color: var(--brown-soft); }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); gap: 28px 22px; } }
@media (max-width: 520px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 22px 24px 22px 76px; position: relative; box-shadow: var(--shadow); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--brown); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.steps strong { font-family: var(--font-head); display: block; margin-bottom: 4px; }

/* faq */
.faq details { background: var(--white); border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(76, 62, 53, 0.06); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; }
.faq h2 { margin-top: 1.4em; }

/* cta band */
.cta-band { background: var(--brown); color: var(--cream); border-radius: var(--radius); padding: clamp(30px, 5vw, 54px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--cream); margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: var(--sand); }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }
.cta-band .wave-mark { position: absolute; right: -40px; bottom: -6px; width: 360px; opacity: 0.18; pointer-events: none; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* notice */
.note { background: #dcebed; border-left: 5px solid var(--teal); border-radius: 12px; padding: 16px 20px; font-size: 0.97rem; }

/* map */
.map { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--aqua); }

/* footer */
.site-footer { background: #3b3029; color: var(--sand); padding: 64px 0 28px; font-size: 0.96rem; }
.site-footer h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 12px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--aqua); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 0.8fr; gap: 36px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-grid img.cc { height: 26px; margin: 8px 0 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(231, 216, 195, 0.2); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.86rem; color: #cbbba4; }
.footer-bottom a { color: #cbbba4; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* funnel pages */
.funnel-header { background: var(--white); border-bottom: 1px solid var(--line); }
.funnel-header .wrap { display: flex; justify-content: center; padding-top: 18px; padding-bottom: 18px; }
.funnel-main { padding: clamp(36px, 6vw, 70px) 0; }
.funnel-box { max-width: 760px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 5vw, 48px); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.choice a { display: block; text-decoration: none; color: var(--brown); border: 2px solid var(--line); border-radius: 14px; padding: 20px; transition: border-color .15s ease, background .15s ease; }
.choice a:hover { border-color: var(--teal); background: var(--cream); color: var(--brown); }
.choice strong { font-family: var(--font-head); font-size: 1.1rem; display: block; }
@media (max-width: 600px) { .choice { grid-template-columns: 1fr; } }

/* full-bleed photo hero (home) */
.hero-photo { position: relative; padding: 0; min-height: clamp(560px, 84vh, 860px); display: flex; align-items: center; background: var(--cream); overflow: hidden; }
.hero-photo .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 18%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(244,239,231,.97) 0%, rgba(244,239,231,.9) 36%, rgba(244,239,231,.55) 50%, rgba(244,239,231,0) 64%); }
.hero-photo .wrap { position: relative; z-index: 2; display: block; width: 100%; padding-block: clamp(48px, 7vw, 96px); }
.hero-photo .hero-copy { max-width: 560px; }
.hero-photo .hero-tags { position: absolute; z-index: 2; right: clamp(16px, 4vw, 64px); bottom: clamp(20px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 1100px) and (min-width: 961px) {
  .hero-photo::before { background: linear-gradient(90deg, rgba(244,239,231,.97) 0%, rgba(244,239,231,.92) 40%, rgba(244,239,231,.35) 49%, rgba(244,239,231,0) 54%); }
  .hero-photo .hero-copy { max-width: 420px; }
}
@media (max-width: 960px) {
  .hero-photo { display: block; min-height: 0; --ph: clamp(640px, 110vw, 900px); }
  .hero-photo::before { display: none; }
  .hero-photo .hero-bg { position: relative; display: block; height: var(--ph); }
  .hero-photo .hero-bg img { object-position: 50% 40%; }
  .hero-photo .wrap { position: static; padding-block: 0; }
  .hero-photo .hero-head { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 26px max(var(--gutter), env(safe-area-inset-right, 0px)) 72px max(var(--gutter), env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, rgba(244,239,231,.96) 0%, rgba(244,239,231,.88) 58%, rgba(244,239,231,0) 100%); }
  .hero-photo .hero-head h1 { margin-bottom: 0; }
  .hero-photo .hero-body { padding-block: 26px 44px; }
  .hero-photo .hero-tags { top: calc(var(--ph) - 72px); bottom: auto; right: var(--gutter); left: var(--gutter); justify-content: space-between; }
}
.hero-photo .hero-tags .hn { flex: 0 0 auto; }
.hero-photo .hero-tags .hn strong, .hero-photo .hero-tags .hn small { white-space: nowrap; }
@media (max-width: 520px) {
  .hero-photo .hero-tags { gap: 8px; }
  .hero-photo .hero-tags .hn { padding: 8px 11px 8px 9px; gap: 7px; border: 0; box-shadow: 0 6px 18px rgba(76, 62, 53, 0.18); }
  .hero-photo .hero-tags .hn strong { font-size: 0.8rem; }
  .hero-photo .hero-tags .hn small { font-size: 0.74rem; }
  .hero-photo .hero-tags .hn-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(109, 169, 183, 0.22); }
}
@media (max-width: 370px) {
  .hero-photo .hero-tags { gap: 6px; }
  .hero-photo .hero-bg img { object-position: 50% 46%; }
  .hero-photo .hero-tags .hn { padding: 7px 9px; }
  .hero-photo .hero-tags .hn-dot { display: none; }
  .hero-photo .hero-tags .hn strong { font-size: 0.76rem; }
  .hero-photo .hero-tags .hn small { font-size: 0.7rem; }
}
@media (max-width: 860px) { .page-hero img.hero-full { max-width: min(480px, 100%); } }

/* about: taller story photo */
.split img.story-photo { aspect-ratio: 4 / 5; object-position: 50% 30%; max-height: 720px; }

/* first visit: steps pop in one at a time (only when JS runs and motion is allowed) */
.steps.will-animate li { opacity: 0; transform: translateY(22px) scale(.96); }
.steps.will-animate.in li { animation: step-in .55s cubic-bezier(.2,.8,.25,1) both; animation-delay: calc(var(--i, 0) * 450ms); }
.steps.will-animate.in li::before { animation: step-num .45s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i, 0) * 450ms + 180ms); }
@keyframes step-in { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes step-num { from { transform: scale(.3); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .steps.will-animate li { opacity: 1; transform: none; } }
@media (max-width: 960px) { .split img.tall-photo { max-width: min(480px, 100%); max-height: none !important; aspect-ratio: 4 / 5 !important; } }
@media print { .steps.will-animate li, .steps.will-animate li::before { opacity: 1; transform: none; animation: none; } }

/* clinic pages: the waiting room photo, shown large beside the intro */
.page-hero.clinic-hero .wrap { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.page-hero.clinic-hero .wrap > img { width: 100%; aspect-ratio: 3 / 4; max-height: 760px; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 860px) { .page-hero.clinic-hero .wrap { grid-template-columns: 1fr; } .page-hero.clinic-hero .wrap > img { max-width: min(520px, 100%); max-height: none; } }

/* keep times and phone numbers on one line */
.hours td, a[href^="tel:"] { white-space: nowrap; }
