/* =========================================================
   North Oakland Family Counseling Center — Theme Styles
   Palette:
   - Misty Purple  (#5C5470)
   - Dull Rose     (#BA758A)
   - Dairy Cream   (#F7E7BD)
   - Matte Sage    (#93A888)

   Layout:
   - Desktop header: logo left, nav centered, CTA right
   - Mobile header: hamburger + drawer (nav hidden)
   - Hero: full-width image with gradient overlay
   - Alternating tinted sections for visual rhythm
   - Wide container for a premium feel
   ========================================================= */

/* =========================
   Tokens
   ========================= */
:root{
  --misty:#5C5470;
  --rose:#BA758A;
  --cream:#F7E7BD;
  --sage:#93A888;

  --ink:#1A1821;
  --muted:rgba(26,24,33,.72);

  --bg:#FCF7EA;
  --bg-2:#FFFCF3;

  --card:rgba(255,255,255,.92);
  --stroke:rgba(26,24,33,.10);

  --tint-cream:rgba(247,231,189,.45);
  --tint-rose:rgba(186,117,138,.12);
  --tint-sage:rgba(147,168,136,.18);

  --shadow-1:0 10px 24px rgba(26,24,33,.08);
  --shadow-2:0 22px 60px rgba(26,24,33,.10);

  --radius:18px;
  --radius-sm:14px;

  --container:1320px;

  --font-sans:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  --font-serif:ui-serif,Georgia,"Times New Roman",Times,serif;

  --ease:cubic-bezier(.2,.8,.2,1);
}

/* =========================
   Base + safety
   ========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; max-width:100%; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--ink);
  background:
    radial-gradient(1100px 520px at 10% -10%, rgba(186,117,138,.14), transparent 62%),
    radial-gradient(900px 420px at 92% 0%, rgba(92,84,112,.12), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height:100vh;
  font-size:16px;
  line-height:1.6;
  max-width:100%;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,textarea,select{ font-family:inherit; }
.panel,.grid,.container{ min-width:0; }

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

/* =========================
   Sections / layout
   ========================= */
.section{ padding:78px 0; }
.section--sand,
.section--cream{ background:var(--tint-cream); }
.section--rose{ background:var(--tint-rose); }
.section--sage{ background:var(--tint-sage); }

.grid{ display:grid; gap:24px; }
.cols-2{ grid-template-columns:repeat(2,1fr); }
.cols-3{ grid-template-columns:repeat(3,1fr); }

.hr{ height:1px; background:rgba(26,24,33,.10); margin:18px 0; border:0; }

/* =========================
   Typography
   ========================= */
.h1{
  font-family:var(--font-serif);
  font-size:clamp(36px, 4.2vw, 58px);
  line-height:1.03;
  letter-spacing:-0.02em;
  margin:0 0 14px;
}
.h2{
  font-family:var(--font-serif);
  font-size:clamp(22px, 3vw, 36px);
  letter-spacing:-0.015em;
  margin:0 0 12px;
}
.h3{ font-size:18px; margin:0 0 10px; }

.lede{
  font-size:16px;
  line-height:1.78;
  color:var(--muted);
  margin:0;
  max-width:86ch;
}
.small{ font-size:13px; color:var(--muted); line-height:1.65; }

/* Site headings color system */
.h1,.h2,.h3,h1,h2,h3,h4{
  font-family:"Playfair Display", var(--font-serif);
  color:#4C2C72;
}
/* Hero headings stay white */
.hero .h1,.hero .h2,
.page-hero .h1{ color:#fff; }

/* =========================
   Pills
   ========================= */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(92,84,112,.26);
  background:rgba(92,84,112,.10);
  color:rgba(26,24,33,.80);
  font-size:13px;
  backdrop-filter:blur(8px);
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  border:1px solid rgba(26,24,33,.14);
  padding:12px 16px;
  cursor:pointer;
  user-select:none;
  font-weight:800;
  letter-spacing:.01em;
  transition:transform .12s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
  transform:translateZ(0);
  max-width:100%;
}
.btn:active{ transform:translateY(1px); }

.btn-primary{
  background:linear-gradient(135deg, var(--misty) 0%, var(--rose) 100%);
  color:#fff;
  border-color:rgba(92,84,112,.35);
  box-shadow:0 16px 34px rgba(92,84,112,.18);
}
.btn-primary:hover{
  box-shadow:0 20px 46px rgba(92,84,112,.22);
  transform:translateY(-1px);
}

.btn-ghost{
  background:rgba(255,255,255,.92);
  color:var(--ink);
}
.btn-ghost:hover{
  background:rgba(255,255,255,1);
  border-color:rgba(26,24,33,.18);
  box-shadow:var(--shadow-1);
  transform:translateY(-1px);
}

.icon{ width:18px; height:18px; opacity:.95; }

/* Focus */
:focus-visible{
  outline:3px solid rgba(186,117,138,.40);
  outline-offset:2px;
}

/* Skip link */
.skip-link{
  position:absolute; top:10px; left:10px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  color:#111;
  transform:translateY(-150%);
  transition:transform .2s var(--ease);
  z-index:1000;
}
.skip-link:focus{ transform:translateY(0); }

/* Panels */
.panel{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(26,24,33,.10);
  border-radius:var(--radius);
  box-shadow:var(--shadow-1);
  padding:30px;
}
.panel--tight{ padding:22px; }
.list{ margin:0; padding-left:18px; color:var(--muted); line-height:1.75; }
.list li{ margin:6px 0; }

/* =========================
   Hero
   ========================= */
.hero{
  position:relative;
  padding:140px 0 130px;
  color:#fff;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(110deg,
      rgba(92,84,112,.76) 0%,
      rgba(186,117,138,.52) 38%,
      rgba(92,84,112,.72) 100%
    ),
    url("./images/north-oakland-family-clarkston-mi.webp");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 450px at 18% 15%, rgba(186,117,138,.24), transparent 60%),
    radial-gradient(900px 500px at 82% 65%, rgba(147,168,136,.18), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.10));
}
.hero .container{ position:relative; z-index:2; }
.hero-inner{ max-width:760px; }
.hero .lede{ color:rgba(255,255,255,.92); }

.hero-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-badges{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:rgba(255,255,255,.92);
  font-size:13px;
}
.hero-badges span{
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  backdrop-filter:blur(10px);
}

/* =========================
   Simple Page Hero
   ========================= */
.page-hero{
  position:relative;
  padding:96px 0 82px;
  color:#fff;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(110deg,
      rgba(92,84,112,.78) 0%,
      rgba(186,117,138,.50) 38%,
      rgba(92,84,112,.74) 100%
    ),
    url("./images/north-oakland-family-clarkston-mi.webp");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.page-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 450px at 18% 15%, rgba(186,117,138,.20), transparent 60%),
    radial-gradient(900px 500px at 82% 65%, rgba(147,168,136,.14), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.12));
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero .h1{ margin-bottom:10px; }
.page-hero .lede{ color:rgba(255,255,255,.92); max-width:70ch; }
.page-hero .hero-actions{ margin-top:16px; }

/* =========================
   Header + mobile drawer
   ========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(252,247,234,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(26,24,33,.08);
  transition:box-shadow .22s var(--ease), background .22s var(--ease);
}
.site-header.is-scrolled{
  box-shadow:0 14px 40px rgba(26,24,33,.10);
  background:rgba(252,247,234,.92);
}

.site-nav{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  padding:18px 0;
  gap:24px;
}

.site-brand{ display:flex; align-items:center; }
.site-logo{
  height:62px;
  width:auto;
  max-width:none;
  object-fit:contain;
  transform:none;
  display:block;
}

.site-menu{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:22px;
}
.site-menu a{
  font-family:"Inter", var(--font-sans);
  font-size:15px;
  font-weight:500;
  letter-spacing:.02em;
  color:rgba(26,24,33,.70);
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  transition:background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.site-menu a:hover{
  background:rgba(76,44,114,.08);
  border-color:rgba(76,44,114,.18);
  color:#4C2C72;
  transform:translateY(-1px);
}
.site-menu a[aria-current="page"]{
  background:rgba(76,44,114,.14);
  border-color:rgba(76,44,114,.28);
  color:#4C2C72;
  font-weight:600;
}

.site-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
}
.site-cta-btn{ border-radius:999px; padding:12px 16px; }

/* Hamburger */
.menu-btn{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(26,24,33,.14);
  background:rgba(255,255,255,.92);
  cursor:pointer;
  transition:transform .12s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
  display:none;
  align-items:center;
  justify-content:center;
  color:#4C2C72;
}
.menu-btn:hover{ box-shadow:var(--shadow-1); transform:translateY(-1px); }
.menu-btn svg{ display:block; }

/* Drawer */
.mobile-drawer{
  display:none;
  padding:0 0 16px;
}
.mobile-drawer[hidden]{ display:none !important; }
.mobile-drawer a.is-empty{ display:none !important; }

.mobile-drawer .inner{
  padding-top:10px;
  display:grid;
  gap:10px;
}
.mobile-drawer .inner > a{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(26,24,33,.10);
  background:rgba(255,255,255,.94);
}
.mobile-drawer .drawer-cta{
  margin-top:auto;
  padding-top:12px;
  display:grid;
  gap:10px;
}
.mobile-drawer .drawer-cta .btn{ width:100%; }

/* =========================
   Footer
   ========================= */
.site-footer{
  background:
    radial-gradient(1200px 600px at 15% 15%, rgba(186,117,138,.18), transparent 55%),
    radial-gradient(900px 450px at 90% 0%, rgba(147,168,136,.14), transparent 55%),
    linear-gradient(180deg, #272233 0%, #171420 100%);
  color:rgba(255,255,255,.90);
  padding:78px 0 28px;
  border-top:1px solid rgba(255,255,255,.08);
}

.footer-top{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:52px;
  align-items:start;
}

.footer-headline{
  font-family:var(--font-serif);
  font-size:clamp(30px, 3.2vw, 46px);
  line-height:1.08;
  letter-spacing:-0.02em;
  margin:5px 0 34px;
  color:rgba(255,255,255,.92);
}

.footer-cols{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:28px;
}

.footer-col h4{
  margin:0 0 14px;
  font-size:15px;
  color:rgba(255,255,255,.92);
  letter-spacing:.03em;
}

.footer-rows{ display:grid; gap:10px; }
.footer-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:rgba(255,255,255,.68);
  font-size:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.footer-row span:last-child{ color:rgba(255,255,255,.92); font-weight:700; }

.footer-links a{
  display:block;
  padding:9px 0;
  color:rgba(255,255,255,.70);
  font-size:14px;
  line-height:1.65;
  transition:color .2s var(--ease), transform .2s var(--ease);
}
.footer-links a:hover{ color:rgba(255,255,255,.94); transform:translateX(2px); }

/* Contact text */
.footer-contact .label{
  font-size:12px;
  color:rgba(255,255,255,.55);
  letter-spacing:.06em;
  text-transform:uppercase;
}
.footer-contact-item{
  margin-bottom:12px;
  color:rgba(255,255,255,.80);
  font-size:14px;
  line-height:1.65;
}
.footer-contact a{ color:rgba(255,255,255,.88); }
.footer-contact a:hover{ color:rgba(255,255,255,.98); }

/* CTA */
.footer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:12px 16px;
  min-height:44px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(186,117,138,.26), rgba(92,84,112,.18));
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.92);
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
  transition:transform .12s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.footer-cta:hover{ box-shadow:0 18px 34px rgba(0,0,0,.22); transform:translateY(-1px); }
.footer-cta:active{ transform:translateY(1px); }
.footer-cta .icon{
  flex:0 0 auto;
  width:16px;
  height:16px;
  opacity:.95;
  margin-left:8px;
}

.footer-bottom{
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  color:rgba(255,255,255,.55);
  font-size:13px;
  line-height:1.6;
}

/* Footer brand block: centered logo + address under it (desktop + mobile safe) */
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.footer-logo-row{ display:flex; justify-content:center; margin-top:14px; }
.footer-logo{ height:68px; width:auto; display:block; opacity:.95; }

.footer-address{
  margin-top:14px;
  max-width:48ch;
}
.footer-address a{
  display:inline-block;
  color:rgba(255,255,255,.86);
  font-size:15px;
  line-height:1.75;
  text-decoration:none;
}
.footer-address a:hover{ color:rgba(255,255,255,.96); text-decoration:underline; }
.footer-directions{
  display:block;
  margin-top:10px;
  font-size:14px;
  font-weight:700;
  color:rgba(255,255,255,.92);
  text-decoration:none;
}
.footer-directions:hover{ text-decoration:underline; }

/* If you still use these classes in the footer contact column */
.footer-address-link{
  display:inline-block;
  color:rgba(255,255,255,.92);
  text-decoration:none;
}
.footer-address-link:hover{ color:rgba(255,255,255,.98); text-decoration:underline; }

/* =========================
   Forms (base)
   ========================= */
.field{ display:grid; gap:8px; min-width:0; }
label, form label, .field label{
  font-size:16px;
  line-height:1.35;
  color:rgba(26,24,33,.70);
}

/* Controls */
.input, input, select, textarea{
  width:100%;
  max-width:100%;
  border-radius:14px;
  border:1px solid rgba(26,24,33,.12);
  background:rgba(255,255,255,.96);
  color:var(--ink);
  padding:12px 12px;
  outline:none;
  font-size:17px;
  line-height:1.45;
  transition:box-shadow .2s var(--ease), border-color .2s var(--ease);
}
textarea{ min-height:120px; resize:vertical; }
textarea.input{ min-height:140px; }
.input:focus, input:focus, select:focus, textarea:focus{
  border-color:rgba(186,117,138,.45);
  box-shadow:0 0 0 4px rgba(186,117,138,.14);
}
::placeholder{ font-size:16px; opacity:.8; }

/* Select caret */
select.input{
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(26,24,33,.55) 50%),
    linear-gradient(135deg, rgba(26,24,33,.55) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px),
    calc(100% - 42px) 50%;
  background-size:6px 6px, 6px 6px, 1px 50%;
  background-repeat:no-repeat;
}

.form-help{
  font-size:15px;
  color:rgba(26,24,33,.62);
  line-height:1.6;
}
.form-status{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(26,24,33,.10);
  background:rgba(255,255,255,.72);
  display:none;
  font-size:15px;
  line-height:1.6;
}
.form-status.is-success{
  display:block;
  border-color:rgba(147,168,136,.28);
  background:rgba(147,168,136,.16);
}
.form-status.is-error{
  display:block;
  border-color:rgba(186,117,138,.30);
  background:rgba(186,117,138,.14);
}

/* Hide honeypot field completely */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Contact form layout */
.form-grid{ display:grid; gap:14px; margin-top:14px; }
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  min-width:0;
}

/* Make form button readable */
form .btn, form button.btn{ font-size:16px; }

/* Contact page misc */
.contact-layout{ align-items:start; }
.callout{
  margin-top:16px;
  padding:14px 16px;
  border-radius:var(--radius);
  border:1px solid rgba(26,24,33,.10);
  background:rgba(147,168,136,.14);
  color:rgba(26,24,33,.82);
  line-height:1.65;
}
.quick-callout{
  font-size:13px;
  color:rgba(26,24,33,.70);
}
.quick-callout a{ font-weight:800; color:#4C2C72; }
.quick-callout a:hover{ text-decoration:underline; }

/* Office details grid */
.details-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
  min-width:0;
}
.detail{
  display:flex;
  gap:12px;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(26,24,33,.10);
  box-shadow:0 10px 24px rgba(26,24,33,.06);
  width:100%;
  max-width:100%;
  overflow:hidden;
  min-width:0;
}
.detail--full{ grid-column:1 / -1; max-width:100%; }
.detail__icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(76,44,114,.10);
  border:1px solid rgba(76,44,114,.18);
  color:#4C2C72;
  font-size:18px;
  flex:0 0 40px;
  min-width:40px;
}
.detail__label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:rgba(26,24,33,.56);
}
.detail__value{
  margin-top:3px;
  font-weight:700;
  color:rgba(26,24,33,.88);
  line-height:1.35;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.detail__value a{
  color:#4C2C72;
  text-decoration:none;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.detail__value a:hover{ text-decoration:underline; }

/* Areas served + map */
.areas-wrap{
  display:grid;
  gap:24px;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}
.areas-list{
  margin:12px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px 14px;
}
.areas-list li{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(26,24,33,.10);
  color:rgba(26,24,33,.86);
  box-shadow:var(--shadow-1);
}
.map-embed{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(26,24,33,.10);
  box-shadow:var(--shadow-2);
  background:rgba(255,255,255,.70);
}
.map-embed iframe{
  width:100%;
  height:360px;
  border:0;
  display:block;
}

/* Premium images */
.image-card{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(26,24,33,.10);
  box-shadow:var(--shadow-2);
  background:rgba(255,255,255,.70);
  min-height:420px;
}
.image-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.image-band{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(26,24,33,.10);
  box-shadow:var(--shadow-2);
  margin:18px 0 22px;
}
.image-band img{ width:100%; height:360px; object-fit:cover; display:block; }
.image-band--short img{ height:240px; }

/* Reviews */
.review{ padding:2px 0; }
.stars{
  font-size:22px;
  line-height:1;
  letter-spacing:3px;
  color:var(--cream);
  text-shadow:none;
  -webkit-text-stroke:0.6px rgba(26,24,33,.22);
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.18));
  margin-bottom:10px;
}

/* Insurance pills */
.insurance-block{ margin-top:16px; }
.insurance-block .h3{ margin:0 0 10px; font-size:15px; }
.insurance-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.pill-insurance{
  background:rgba(92,84,112,.08);
  border:1px solid rgba(92,84,112,.22);
  color:#4C2C72;
  font-size:12px;
  padding:6px 10px;
  font-weight:600;
  backdrop-filter:none;
}
.insurance-note{ margin-top:10px; color:rgba(26,24,33,.65); }

/* About stats */
.about-split{ align-items:stretch; }
.stats-band{
  border-radius:calc(var(--radius) + 6px);
  padding:26px;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(186,117,138,.20), transparent 60%),
    radial-gradient(900px 420px at 90% 100%, rgba(147,168,136,.18), transparent 60%),
    rgba(255,255,255,.82);
  border:1px solid rgba(26,24,33,.10);
  box-shadow:var(--shadow-2);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.stat{
  padding:16px;
  border-radius:16px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(26,24,33,.10);
  box-shadow:0 10px 24px rgba(26,24,33,.06);
}
.stat__value{
  font-family:"Playfair Display", var(--font-serif);
  color:#4C2C72;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-0.02em;
}
.stat__label{
  margin-top:6px;
  font-size:12px;
  color:rgba(26,24,33,.70);
  line-height:1.45;
}
.values-row{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.value-pill{
  padding:14px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(26,24,33,.10);
  box-shadow:0 10px 24px rgba(26,24,33,.06);
}
.value-pill strong{
  display:block;
  font-family:"Playfair Display", var(--font-serif);
  color:#4C2C72;
  font-size:16px;
  margin-bottom:6px;
}
.value-pill span{
  font-size:13px;
  color:rgba(26,24,33,.72);
  line-height:1.6;
}
/* About map height */
.map-embed iframe{ height:390px; }

/* =========================
   Responsive
   ========================= */
@media (max-width:980px){
  body{ font-size:17px; }

  .cols-2,.cols-3{ grid-template-columns:1fr; }

  /* Header mobile */
  .site-nav{ grid-template-columns:1fr auto; }
  .site-menu{ display:none; }
  .menu-btn{ display:inline-flex; }
  .site-cta-btn{ display:none !important; } /* hide Appointment in header on mobile */

  .mobile-drawer{
    display:flex;
    flex-direction:column;
  }

  .site-logo{ height:48px; }

  .areas-wrap{ grid-template-columns:1fr; }
  .areas-list{ grid-template-columns:1fr; }

  .image-card{ min-height:260px; }
  .image-band img{ height:260px; }
  .hero{ padding:120px 0 110px; }

  /* Footer becomes stacked */
  .footer-top{ grid-template-columns:1fr; gap:24px; }
  .footer-cols{ grid-template-columns:1fr; gap:14px; }

  /* Hide headline on mobile */
  .footer-headline{ display:none; }

  /* Bigger logo on mobile */
  .footer-logo{ height:64px; }

  /* Footer typography accessibility */
  .site-footer{
    padding:56px 0 22px;
    font-size:16px;
    line-height:1.75;
  }
  .footer-col{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    padding:14px;
  }
  .footer-col h4{ font-size:16px; margin:0 0 10px; letter-spacing:.02em; }
  .footer-row{ font-size:15px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.12); }
  .footer-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 12px;
  }
  .footer-links a{
    font-size:15px;
    padding:10px 10px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    color:rgba(255,255,255,.88);
  }
  .footer-links a:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.16);
  }
  .footer-contact-item{
    margin-bottom:14px;
    padding:10px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    font-size:15px;
    line-height:1.55;
  }
  .footer-contact .label{ font-size:12px; margin-bottom:6px; color:rgba(255,255,255,.60); }
  .footer-contact a{ font-weight:800; color:rgba(255,255,255,.96); }

  .footer-cta{
    margin-top:8px;
    font-size:16px;
    padding:14px 16px;
    border-radius:16px;
  }

  .footer-bottom{
    margin-top:18px;
    padding-top:14px;
    font-size:14px;
    justify-content:center;
    text-align:center;
  }

  /* Footer brand block centered (logo + address + directions on new line) */
  .footer-logo-row{ margin-top:0; }
  .footer-address{ max-width:none; text-align:center; }
  .footer-address a{ font-size:15px; }
  .footer-directions{ font-size:15px; margin-top:8px; }

  /* Contact details grid stacks */
  .details-grid{ grid-template-columns:1fr; }

  /* Form rows stack on small screens */
  .form-row{ grid-template-columns:1fr; }
}

@media (max-width:820px){
  .forms-grid{ grid-template-columns:1fr; }
}

@media (max-width:680px){
  /* Mobile CTA buttons: consistent spacing + full width */
  .hero-actions,
  .panel .hero-actions,
  .panel .actions,
  .cta-row{
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .hero-actions .btn,
  .panel .btn,
  .cta-row .btn{
    width:100%;
    justify-content:center;
  }
  /* Fallback if gap ever gets overridden */
  .hero-actions .btn + .btn{ margin-top:12px; }
}

@media (max-width:520px){
  .container{ width:calc(100% - 24px); }
  .panel{ padding:20px; }

  /* Tap target boost */
  .input, input, select, textarea{ padding:14px 12px; }
}

@media (min-width:981px){
  /* Desktop footer CTA: prevent giant pill */
  .footer-cta{ font-size:15px; max-width:300px; }

  /* Desktop brand presence already handled by footer-logo/address sizes above */
}

/* Values row + stats grid collapse */
@media (max-width:980px){
  .stats-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .values-row{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .stats-grid{ grid-template-columns:1fr; }
}
/* =========================
   Footer Directions — hard fix
   ========================= */

/* Make sure the directions link is always clickable */
.footer-directions{
  display: inline-flex;
  width: fit-content;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* If you’re using the clickable “card” pattern */
.footer-contact-item--directions{
  position: relative;
  cursor: pointer;
}

/* Prevent a parent overlay/stacking context from blocking clicks */
.footer-contact-item--directions a{
  position: relative;
  z-index: 2;
}

/* If you have a wrapper like .footer-address, keep it clean */
.footer-address .footer-directions{
  display: inline-flex;
}

/* Optional: make it obvious it’s a link */
.footer-directions{
  text-decoration: none;
}
.footer-directions:hover{
  text-decoration: underline;
}
/* =========================
   Mobile button spacing — bulletproof
   ========================= */
@media (max-width: 680px){

  /* Force vertical stack for any “button row” containers */
  .hero-actions,
  .drawer-cta,
  .panel .hero-actions,
  .panel .actions,
  .cta-row{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
  }

  /* Guaranteed spacing even if gap is overridden */
  .hero-actions > * + *,
  .drawer-cta > * + *,
  .panel .hero-actions > * + *,
  .panel .actions > * + *,
  .cta-row > * + *{
    margin-top: 12px !important;
  }

  /* Full-width buttons */
  .hero-actions .btn,
  .drawer-cta .btn,
  .panel .btn,
  .cta-row .btn{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   Team page headshot cards
   ========================= */
.section-intro{
  max-width:880px;
  margin:0 0 28px;
}
.eyebrow{
  margin:0 0 8px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#4C2C72;
}
.team-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}
.team-card{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:22px;
  padding:22px;
  border-radius:calc(var(--radius) + 8px);
  background:rgba(255,255,255,.94);
  border:1px solid rgba(26,24,33,.10);
  box-shadow:var(--shadow-1);
  overflow:hidden;
}
.team-card--featured{
  grid-column:1 / -1;
  grid-template-columns:250px 1fr;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(186,117,138,.13), transparent 62%),
    rgba(255,255,255,.96);
}
.team-photo{
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(92,84,112,.13), rgba(186,117,138,.16));
  border:1px solid rgba(26,24,33,.10);
  box-shadow:0 16px 36px rgba(26,24,33,.08);
}
.team-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 35%;
}
.team-photo--edward img{ object-position:center 31%; }
.team-photo--lizz img{ object-position:center 38%; }
.team-photo--michael img{ object-position:center 34%; }
.team-photo--placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
}
.team-photo--placeholder::after{
  content:"Headshot coming soon";
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.74);
  color:rgba(26,24,33,.68);
  font-size:11px;
  font-weight:700;
  text-align:center;
  backdrop-filter:blur(10px);
}
.team-photo--placeholder span{
  font-family:"Playfair Display", var(--font-serif);
  font-size:44px;
  color:#4C2C72;
  opacity:.72;
}
.team-card__body p{
  color:var(--muted);
  margin:0 0 12px;
  line-height:1.7;
}
.team-role{
  margin:0 0 4px !important;
  font-size:13px;
  font-weight:800;
  color:#4C2C72 !important;
  letter-spacing:.02em;
}
.team-name{
  font-size:clamp(24px, 2.5vw, 32px);
  margin-bottom:10px;
}
.specialty-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.specialty-tags span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  background:rgba(92,84,112,.08);
  border:1px solid rgba(92,84,112,.16);
  color:#4C2C72;
  font-size:12px;
  font-weight:700;
}
.team-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:28px;
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(147,168,136,.18), transparent 60%),
    rgba(255,255,255,.94);
}
.team-cta .btn{ flex:0 0 auto; }

@media (max-width:1040px){
  .team-grid{ grid-template-columns:1fr; }
  .team-card--featured{ grid-template-columns:190px 1fr; }
}
@media (max-width:680px){
  .team-card,
  .team-card--featured{
    grid-template-columns:1fr;
    padding:18px;
  }
  .team-photo{
    max-width:260px;
  }
  .team-cta{
    flex-direction:column;
    align-items:stretch;
  }
}

/* Patient forms: compact, responsive PDF links */
.forms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;}
.form-card{display:flex;align-items:center;gap:14px;min-width:0;padding:16px;border:1px solid var(--stroke);border-radius:var(--radius-sm);background:#fff;transition:border-color .2s,background .2s;}
.form-card:hover{border-color:var(--misty);background:#faf8fc;}
.form-card:focus-visible{outline:3px solid var(--misty);outline-offset:3px;}
.form-card__icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:10px;background:rgba(92,84,112,.10);color:var(--misty);}
.form-card .form-icon{display:block;width:24px;height:24px;max-width:24px;max-height:24px;}
.form-card__body{flex:1;min-width:0;}
.form-card__title{font-weight:700;font-size:16px;line-height:1.35;overflow-wrap:anywhere;}
.form-card__meta{font-size:13px;color:var(--muted);margin-top:4px;}
.form-card__cta{flex:none;font-size:13px;font-weight:700;color:#fff;background:var(--misty);padding:8px 12px;border-radius:8px;white-space:nowrap;}
@media(max-width:900px){.forms-grid{grid-template-columns:1fr;}}
@media(max-width:480px){.forms-grid{gap:10px;}.form-card{gap:10px;padding:12px;}.form-card__icon{width:36px;height:36px;flex-basis:36px;}.form-card__cta{padding:7px 8px;font-size:12px;}.form-card__title{font-size:14px;}.panel:has(.forms-grid){padding:16px;}}

/* Keep square portraits independent of biography height. */
.team-card { align-items:start; }
.team-photo { align-self:start; justify-self:center; min-width:0; height:auto; aspect-ratio:1 / 1; }
.team-photo img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.team-photo--edward img, .team-photo--lizz img, .team-photo--michael img, .team-photo--hannah img { object-position:50% 50%; }
@media(max-width:680px){ .team-photo { justify-self:center; } }
