/* ============================================================
   Woodlands Medical Group — Luxury Editorial Design System
   Cadet — slate-blue · warm sand · cool paper · Fraunces + Work Sans
   Self-contained (no CDNs).
   ============================================================ */

@import url("../fonts/fonts.css");

/* ---------- Tokens ---------- */
:root {
  /* Ink / neutrals — Cadet (slate-blue) */
  --ink: #1c2a36;        /* slate ink — headings */
  --ink-deep: #131d26;   /* deep slate — dark sections */
  --charcoal: #44515c;   /* cool body text */
  --muted: #6e7a85;      /* cool grey — secondary */

  /* Cool backgrounds */
  --cream: #fafbfc;      /* page */
  --ivory: #f1f3f6;      /* alt section */
  --sand: #eaeef3;       /* cool panel */
  --sand-2: #e1e7ee;
  --line: #e1e5eb;       /* cool hairline */

  /* Accents — slate-blue primary, warm sand secondary */
  --brass: #3e5a73;      /* primary slate-blue (named --brass for legacy) */
  --brass-deep: #2e465c; /* hover */
  --accent-sand: #c6a983;/* warm sand accent */
  --accent-sand-deep: #ab8c62;
  --terra: #b5613b;      /* error */
  --emerald: #2f8f6f;    /* success */

  /* Type */
  --font-display: "Zodiak", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --measure: 1080px;
  --gutter: clamp(22px, 5vw, 72px);
  --nav-h: 78px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Effects */
  --shadow-sm: 0 2px 18px -10px rgba(13, 36, 64, 0.18);
  --shadow: 0 30px 70px -40px rgba(13, 36, 64, 0.4);
  --shadow-lg: 0 50px 100px -50px rgba(6, 15, 28, 0.55);
  --ring: 0 0 0 3px rgba(176, 141, 87, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--brass); color: #fff; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.04; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 500; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; }
p { color: var(--charcoal); }
strong { font-weight: 600; color: var(--ink); }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--charcoal); font-weight: 400; }
.serif-accent { font-style: italic; color: var(--brass); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; margin-inline: auto; }
.section { padding-block: clamp(50px, 7vw, 96px); position: relative; }
.section--tight { padding-block: clamp(38px, 5vw, 66px); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink-deep); color: #cdd6e2; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fdfaf3; }
.section--ink p { color: #9fb0c4; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.section--ink .eyebrow { color: var(--accent-sand); }
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.6vw, 46px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 22px; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brass); --fg: #fff; --bd: var(--brass);
  display: inline-flex; align-items: center; gap: 11px;
  padding: 15px 30px; border-radius: 6px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--font-body); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.5s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(13,36,64,.55); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { --bg: var(--brass); --bd: var(--brass); --fg: #fff; }
.btn--brass:hover { --bg: var(--brass-deep); --bd: var(--brass-deep); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(13,36,64,0.28); }
.btn--outline:hover { --bd: var(--ink); --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,0.45); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--lg { padding: 18px 38px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 4px; border-bottom: 1px solid var(--brass);
  transition: gap 0.4s var(--ease), color 0.3s;
}
.textlink svg { width: 15px; height: 15px; color: var(--brass); transition: transform 0.4s var(--ease); }
.textlink:hover { gap: 14px; color: var(--brass); }
.textlink:hover svg { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 40px -28px rgba(13,36,64,.4); }
.nav { height: var(--nav-h); max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  padding: 10px 16px; border-radius: 100px; position: relative; transition: color 0.25s;
}
.nav-links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-links a:hover { color: var(--brass); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: 12px 20px; font-size: 0.72rem; }

/* burger */
.burger { display: none; width: 46px; height: 46px; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--cream);
  padding: calc(var(--nav-h) + 26px) var(--gutter) 44px; display: flex; flex-direction: column;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform 0.55s var(--ease), opacity 0.3s, visibility 0.3s; overflow-y: auto; }
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; color: var(--ink);
  padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--brass); }
.mobile-nav .m-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.mobile-nav .btn { justify-content: center; }
.mobile-nav .m-phone { border: none; font-family: var(--font-body); font-size: 1rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 18px; padding: 0; }

/* ============================================================
   Scroll-scrub hero ("walk into the doors")
   ============================================================ */
.scrollhero { position: relative; height: 420vh; background: var(--ink-deep); }
.scrollhero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scrollhero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink-deep); }
.scrollhero__veil { position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(96deg, rgba(8,16,28,0.86) 0%, rgba(8,16,28,0.66) 26%, rgba(8,16,28,0.34) 48%, rgba(8,16,28,0.06) 72%, rgba(8,16,28,0) 88%),
    linear-gradient(180deg, rgba(8,16,28,0.5) 0%, rgba(8,16,28,0.12) 28%, rgba(8,16,28,0.12) 60%, rgba(8,16,28,0.7) 100%); }
.scrollhero__layer { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end;
  pointer-events: none; }
.scrollhero__layer .container { width: 100%; }
.scrollhero__layer .inner { pointer-events: auto; max-width: 880px; padding-bottom: clamp(58px, 13vh, 140px); }
.scrollhero h1 { color: #fff; font-weight: 500; font-size: clamp(1.9rem, 3.7vw, 3rem); line-height: 1.07;
  text-shadow: 0 2px 44px rgba(8,16,28,0.6), 0 1px 5px rgba(8,16,28,0.4); }
.scrollhero h1 .gold { color: #e7c896; font-style: italic; }
.scrollhero .kicker { color: rgba(255,255,255,0.86); letter-spacing: 0.3em; text-shadow: 0 1px 18px rgba(8,16,28,0.7); }
.scrollhero .sub { color: rgba(247,244,238,0.92); font-size: clamp(1.05rem,1.4vw,1.3rem); margin-top: 24px; max-width: 540px; text-shadow: 0 1px 22px rgba(8,16,28,0.7); }
.scrollhero .btn-row { margin-top: 36px; pointer-events: auto; }

/* intro layer fades out as you enter; arrival layer fades in */
#heroIntro { transition: opacity 0.2s linear; }
#heroArrival { opacity: 0; transition: opacity 0.2s linear; }

.scrollhero__cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,0.7);
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; }
.scrollhero__cue .ln { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0.7), transparent);
  position: relative; overflow: hidden; }
.scrollhero__cue .ln::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: #fff; animation: cuemove 2s var(--ease) infinite; }
@keyframes cuemove { 0% { top: -50%; } 100% { top: 100%; } }

.hero-loader { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: var(--ink-deep); transition: opacity 0.6s ease; }
.hero-loader.hidden { opacity: 0; pointer-events: none; }
.hero-loader .mark { font-family: var(--font-display); font-style: italic; color: var(--accent-sand); font-size: 2rem;
  letter-spacing: 0.04em; opacity: 0.9; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ============================================================
   Intro statement
   ============================================================ */
.statement { font-family: var(--font-display); font-weight: 500; color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2.15rem); line-height: 1.32; letter-spacing: -0.005em; }
.statement .muted { color: var(--muted); }
.statement em { font-style: italic; color: var(--brass); }

/* ============================================================
   Pillars (3 core disciplines)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: clamp(34px, 4vw, 52px) clamp(22px, 2.4vw, 40px); border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease); position: relative; }
.pillar:nth-child(3n) { border-right: none; }
.pillar:hover { background: var(--ivory); }
.pillar__num { font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: 1.2rem; }
.pillar h3 { margin: 18px 0 12px; }
.pillar p { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.pillar .textlink { font-size: 0.74rem; }

/* ============================================================
   Split / editorial feature
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: var(--radius); }
.split__media .frame-line { display: none; }
.check-list { display: grid; gap: 16px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.check-list .ck { flex-shrink: 0; width: 22px; height: 22px; color: var(--brass); margin-top: 3px; }
.check-list .ck svg { width: 22px; height: 22px; }

/* ============================================================
   Promise band — stats
   ============================================================ */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.promise { text-align: center; }
.promise__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 6vw, 5rem);
  color: #fff; line-height: 1; }
.promise__num .suffix { color: var(--accent-sand); }
.section--ink .promise__num { color: #fdfaf3; }
.promise__label { margin-top: 14px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #9fb0c4; }
.promise__rule { width: 30px; height: 1px; background: var(--accent-sand); margin: 18px auto 0; }

/* ============================================================
   Quote / testimonial
   ============================================================ */
.quote { max-width: 980px; margin-inline: auto; text-align: center; }
.quote__stars { display: flex; gap: 5px; justify-content: center; color: var(--accent-sand); margin-bottom: 30px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.32; color: var(--ink); letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-family: var(--font-body);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   Service detail rows (services page)
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: center;
  padding-block: clamp(34px, 5vw, 62px); border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail--rev .svc-detail__media { order: 2; }
.svc-detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.svc-detail__media .ph { aspect-ratio: 4/3; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--sand); color: var(--brass); }
.svc-detail__media .ph svg { width: 76px; height: 76px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.tag { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--cream);
  color: var(--ink); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; transition: border-color 0.3s, color 0.3s; }
a.tag:hover { border-color: var(--brass); color: var(--brass); }
.tag--brass { border-color: rgba(176,141,87,0.4); color: var(--brass-deep); background: rgba(176,141,87,0.06); }

/* ============================================================
   Service cards (compact, used where needed)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.svc-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-icon { width: 52px; height: 52px; color: var(--brass); margin-bottom: 22px; }
.svc-icon svg { width: 52px; height: 52px; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.svc-card .textlink { margin-top: auto; font-size: 0.72rem; }

/* ============================================================
   Locations
   ============================================================ */
.loc-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 38px; }
.loc-search { position: relative; flex: 1; min-width: 250px; max-width: 420px; }
.loc-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--brass); }
.loc-search input { width: 100%; padding: 14px 14px 14px 30px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; font: inherit; color: var(--ink); transition: border-color 0.3s; }
.loc-search input::placeholder { color: var(--muted); }
.loc-search input:focus { outline: none; border-bottom-color: var(--brass); }
.loc-count { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.loc-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 26px; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.loc-card.is-hidden { display: none; }
.loc-map { aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; border: 1px solid var(--line);
  margin-bottom: 20px; background: var(--ivory); }
.loc-map__frame { width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(1) contrast(1.05); transition: filter 0.5s var(--ease); }
.loc-card:hover .loc-map__frame { filter: grayscale(0.4) contrast(1.03); }
.loc-card__hours { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: -4px 0 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.loc-card__hours strong { color: var(--ink); font-weight: 600; }

/* ---- Homepage: hours banner + location tiles ---- */
.hours-banner { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center;
  width: fit-content; max-width: 920px; margin: 0 auto clamp(24px, 3.4vw, 36px); padding: 18px 30px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px; }
.hours-banner__times { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.95rem; color: var(--charcoal); line-height: 1.5; }
.hours-banner__ico { color: var(--brass); flex-shrink: 0; display: grid; place-items: center; }
.hours-banner__ico svg { width: 22px; height: 22px; }
.hours-banner strong { color: var(--ink); font-weight: 600; }
.hours-banner__note { font-size: 0.8rem; color: var(--muted); font-style: italic; }
#locations .section-head { max-width: none; }
#locations .section-head h2 { white-space: nowrap; }
@media (max-width: 560px) { #locations .section-head h2 { white-space: normal; } }
.loc-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.loc-tile { display: flex; flex-direction: column; gap: 5px; padding: 18px 18px 16px; background: var(--cream);
  border: 1px solid var(--line); border-radius: 8px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.loc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brass); }
.loc-tile__city { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--ink); }
.loc-tile__addr { font-size: 0.8rem; color: var(--muted); line-height: 1.45; flex: 1; }
.loc-tile__phone { margin-top: 8px; font-weight: 600; font-size: 0.92rem; color: var(--brass); display: flex; align-items: center; gap: 7px; }
.loc-tile__phone::before { content: "\260E"; font-size: 1rem; line-height: 1; }

/* ---- Contact: all-locations directory ---- */
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; border-top: 1px solid var(--line); }
.dir-row { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 2px; border-bottom: 1px solid var(--line); transition: padding-left 0.3s var(--ease); }
.dir-row:hover { padding-left: 8px; }
.dir-city { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.dir-row:hover .dir-city { color: var(--brass); }
.dir-num { font-weight: 600; color: var(--brass); font-size: 0.95rem; white-space: nowrap; }

@media (max-width: 1024px) { .loc-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .loc-tiles { grid-template-columns: repeat(2, 1fr); }
  .hours-banner { flex-direction: column; gap: 8px; } .dir-grid { grid-template-columns: 1fr; } }
@media (max-width: 430px) { .loc-tiles { grid-template-columns: 1fr; } }
.loc-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.loc-card address { font-style: normal; color: var(--muted); font-size: 0.96rem; line-height: 1.6; margin-bottom: 20px; }
.loc-card__links { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.loc-card__links a { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; color: var(--ink); transition: color 0.25s; }
.loc-card__links a:hover { color: var(--brass); }
.loc-card__links svg { width: 16px; height: 16px; color: var(--brass); flex-shrink: 0; }
.loc-empty { grid-column: 1/-1; text-align: center; padding: 50px 20px; color: var(--muted); display: none; }
.loc-empty.show { display: block; }

/* ============================================================
   Team (refined)
   ============================================================ */
.team-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.provider { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start;
  padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.provider:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.provider__photo { width: 150px; height: 180px; border-radius: var(--radius); object-fit: cover; background: var(--sand); }
.provider__ph { width: 150px; height: 180px; border-radius: var(--radius); display: grid; place-items: center;
  background: linear-gradient(160deg, var(--ink), var(--ink-deep)); color: var(--brass);
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem; }
.provider__cred { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.provider h3 { font-size: 1.7rem; line-height: 1.1; }
.provider__role { color: var(--muted); font-size: 0.92rem; margin: 4px 0 14px; }
.provider__bio { font-size: 0.95rem; color: var(--charcoal); line-height: 1.65; }
.team-roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px;
  border-top: 1px solid var(--line); }
.roster-item { background: transparent; padding: 20px 0; border-bottom: 1px solid var(--line); }
.roster-item h4 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.roster-item .cred { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }
.roster-item .role { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.team-group-title { font-family: var(--font-display); font-weight: 500; color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.4rem); margin: clamp(46px,6vw,72px) 0 30px; display: flex; align-items: baseline; gap: 18px; }
.team-group-title .idx { font-size: 0.9rem; font-style: italic; color: var(--brass); }
.team-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   Insurance list
   ============================================================ */
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0;
  border-top: 1px solid var(--line); }
.ins-item { display: flex; align-items: center; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--line);
  font-weight: 500; color: var(--ink); font-size: 0.96rem; }
.ins-item svg { width: 18px; height: 18px; color: var(--brass); flex-shrink: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink-deep); padding: clamp(54px, 8vw, 96px) clamp(28px,5vw,64px); text-align: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background: radial-gradient(700px 360px at 50% -10%, var(--accent-sand), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band .eyebrow { color: var(--accent-sand); }
.cta-band h2 { color: #fdfaf3; max-width: 760px; margin: 0 auto 18px; }
.cta-band p { color: #9fb0c4; max-width: 560px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }

/* ============================================================
   Contact / forms
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(38px, 5vw, 80px); align-items: start; }
.contact-info .ci-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:first-child { padding-top: 0; }
.ci-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.ci-item p, .ci-item a { color: var(--ink); font-size: 1.05rem; font-family: var(--font-display); }
.ci-item a:hover { color: var(--brass); }
.ci-item .sub { color: var(--muted); font-size: 0.9rem; font-family: var(--font-body); }

.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px; }
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 2px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; font: inherit; color: var(--ink); transition: border-color 0.3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: 0.92rem; margin-bottom: 20px; }
.form-msg.ok { display: block; background: rgba(47,143,111,0.12); color: var(--emerald); }
.form-msg.err { display: block; background: rgba(181,97,59,0.12); color: var(--terra); }
.form-card .btn { width: 100%; justify-content: center; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* contact-info icons + location pins (icon-box markup) */
.contact-info .ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon, .loc-pin { flex-shrink: 0; width: 46px; height: 46px; border-radius: 8px; display: grid;
  place-items: center; background: var(--ivory); border: 1px solid var(--line); color: var(--brass); }
.ci-icon svg, .loc-pin svg { width: 22px; height: 22px; }
.ci-item > div:last-child { flex: 1; }
.loc-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.loc-card__top h3 { margin-bottom: 0; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero { position: relative; padding: calc(var(--nav-h) + 86px) 0 70px; background: var(--ivory);
  border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero__inner { max-width: 800px; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
  display: flex; gap: 10px; align-items: center; }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb span { opacity: 0.5; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero .lead { margin-top: 22px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink-deep); color: #9fb0c4; padding-top: clamp(64px, 9vw, 110px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); padding-bottom: 56px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 22px; background: #fff;
  padding: 11px 15px; border-radius: 8px; box-sizing: content-box; }
.footer-brand p { color: #8295ab; max-width: 300px; font-size: 0.96rem; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.16); color: #cdd6e2; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.footer-social a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fdfaf3; font-family: var(--font-body); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: #9fb0c4; font-size: 0.95rem; transition: color 0.25s, padding-left 0.3s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; margin-bottom: 14px; color: #9fb0c4; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent-sand); flex-shrink: 0; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 26px 0; display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #71839a; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   Scroll reveals
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="fade"] { transform: none; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 200; background: var(--brass); width: 0%; }

/* legal / prose */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 42px 0 16px; }
.legal h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--charcoal); margin-bottom: 15px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.legal a { color: var(--brass); font-weight: 600; }
.legal .updated { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* 404 */
.error-wrap { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 50px) 0 90px; }
.error-wrap .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(6rem, 20vw, 13rem); line-height: 1; color: var(--brass); font-style: italic; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .svc-grid, .loc-grid, .team-roster { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; }
  .team-feature { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta .btn--make-payment { display: none; }
}
@media (max-width: 860px) {
  .split, .split--rev .split__media, .contact-wrap, .svc-detail, .svc-detail--rev .svc-detail__media { grid-template-columns: 1fr; }
  .split--rev .split__media, .svc-detail--rev .svc-detail__media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 40px; }
  .scrollhero { height: 360vh; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid, .loc-grid, .team-roster, .form-row, .footer-top, .team-feature { grid-template-columns: 1fr; }
  .provider { grid-template-columns: 1fr; }
  .provider__photo, .provider__ph { width: 120px; height: 144px; }
  .nav-cta .btn--appointment .full { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}
