/* Self-hosted fonts (latin subset, from Google Fonts, SIL Open Font License). */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url('/assets/fonts/dm-sans-latin.woff2') format('woff2')}
@font-face{font-family:'DM Sans';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-sans-italic-latin.woff2') format('woff2')}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-display-latin.woff2') format('woff2')}
@font-face{font-family:'DM Serif Display';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-display-italic-latin.woff2') format('woff2')}
:root{
  --color-primary:#1a8a7d;
  --color-primary-light:#2bb5a5;
  --color-primary-dark:#0e6b61;
  --color-primary-50:#e8f6f4;
  --color-primary-100:#c5ebe6;
  --color-white:#ffffff;
  --color-off-white:#faf9f7;
  --color-cream:#f5f2ee;
  --color-sand:#e8e2da;
  --color-warm-gray:#9a9490;
  --color-charcoal:#2d2926;
  --color-dark:#1a1715;
  --color-accent:#e07c5a;
  --color-accent-hover:#c9663f;
  --color-accent-light:#fdf0eb;
  --color-success:#3a9e6e;
  --color-text-primary:#2d2926;
  --color-text-secondary:#5e5853;
  --color-text-muted:#9a9490;
  --color-border:#e0dbd5;
  --shadow-sm:0 1px 3px rgba(45,41,38,.06);
  --shadow-md:0 4px 12px rgba(45,41,38,.08);
  --shadow-lg:0 8px 30px rgba(45,41,38,.12);
  --shadow-xl:0 20px 60px rgba(45,41,38,.15);
  --shadow-card-hover:0 12px 40px rgba(26,138,125,.15);
  --section-padding:clamp(3rem,8vw,6rem);
  --content-max-width:1200px;
  --content-narrow:800px;
  --line-length-max:65ch;
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;
  --radius-full:9999px;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --duration-fast:200ms;
  --duration-normal:400ms;
  --duration-slow:600ms;
  --topbar-h:58px;
  --header-h:80px;
  --header-stack-h:calc(var(--topbar-h) + var(--header-h));
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html{overflow-x:clip}
body{
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
  font-size:clamp(.9375rem,1.5vw,1.0625rem);
  line-height:1.7;
  color:var(--color-text-secondary);
  background:var(--color-off-white);
  overflow-x:clip;
}
#main{padding-top:var(--header-stack-h);
}
img{max-width:100%;height:auto;display:block}
a{color:var(--color-primary);text-decoration:none;transition:color var(--duration-fast) var(--ease-out)}
a:hover{color:var(--color-primary-dark)}
button{font-family:inherit;cursor:pointer;border:none;background:none}
h1,h2,h3{font-family:'DM Serif Display',Georgia,'Times New Roman',serif;color:var(--color-charcoal);font-weight:400}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
h1{font-size:clamp(2.25rem,5vw,3.75rem);line-height:1.1;letter-spacing:-.01em}
h2{font-size:clamp(1.75rem,3.5vw,2.75rem);line-height:1.15;letter-spacing:-.005em}
h3{font-size:clamp(1.25rem,2.5vw,1.75rem);line-height:1.3}
.kicker{display:inline-block;font-family:'DM Sans',system-ui,sans-serif;font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.16em;color:var(--color-primary)}
p{max-width:var(--line-length-max)}
.container{max-width:var(--content-max-width);margin:0 auto;padding:0 1.5rem;width:100%}
.section{padding:var(--section-padding) 0;position:relative}

/* ============ TOP CONTACT BAR ============ */
.top-bar{
  background:var(--color-primary);
  color:var(--color-white);
  font-size:.75rem;
  padding:.3rem 0;
  position:fixed;
  top:0;left:0;right:0;
  z-index:1001;
  letter-spacing:.02em;
  border-bottom:1px solid rgba(255,255,255,.08);
  will-change:transform;
}
.top-bar.hidden{transform:translateY(-100%)}
.top-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.top-bar-info{display:flex;gap:2rem;align-items:center;flex-wrap:wrap}
.top-bar-info a,.top-bar-info span{color:rgba(255,255,255,.8);display:inline-flex;align-items:center;gap:.5rem}
.top-bar-info a:hover{color:var(--color-white)}
.top-bar-info svg{width:13px;height:13px;flex-shrink:0;opacity:.7}

/* ============ FIXED HEADER ============ */
.site-header{
  position:fixed;
  top:var(--topbar-h);
  left:0;right:0;
  z-index:1000;
  padding:.875rem 0;
  transition:background-color var(--duration-normal) var(--ease-out),box-shadow var(--duration-normal) var(--ease-out);
  background:var(--color-charcoal);
  border-bottom:1px solid rgba(255,255,255,.06);
  will-change:transform;
}
.site-header.scrolled{
  background:rgba(15,12,10,.95);
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  box-shadow:0 6px 32px rgba(0,0,0,.32);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.25rem}
.brand{display:inline-flex;align-items:center;gap:.75rem;flex-shrink:0}
.brand img{display:block;height:auto;width:auto;max-height:48px;filter:brightness(0) invert(1)}
.nav-desktop{display:flex;align-items:center;gap:.125rem;flex:1;justify-content:center;flex-wrap:nowrap}
.nav-item{position:relative}
.nav-link{
  display:inline-flex;align-items:center;gap:.25rem;
  padding:.5rem .625rem;
  font-size:.8125rem;font-weight:500;color:rgba(255,255,255,.88);letter-spacing:.01em;
  border-radius:var(--radius-sm);
  white-space:nowrap;
  transition:all var(--duration-fast) var(--ease-out);
}
.nav-link:hover{color:var(--color-white);background:rgba(255,255,255,.10)}
.nav-link svg{width:10px;height:10px;opacity:.6;transition:transform var(--duration-fast) var(--ease-out)}
.nav-item:hover .nav-link svg{transform:rotate(180deg)}
.dropdown{
  position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(8px);
  min-width:240px;
  background:var(--color-white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  padding:.625rem;
  opacity:0;visibility:hidden;
  transition:all var(--duration-fast) var(--ease-out);
  border:1px solid var(--color-border);
}
.dropdown::before{
  content:'';position:absolute;top:-6px;left:50%;transform:translateX(-50%) rotate(45deg);
  width:12px;height:12px;background:var(--color-white);
  border-left:1px solid var(--color-border);border-top:1px solid var(--color-border);
}
.nav-item:hover .dropdown,.nav-item:focus-within .dropdown{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.dropdown a{
  display:block;padding:.625rem .875rem;
  font-size:.875rem;color:var(--color-text-primary);
  border-radius:var(--radius-sm);
  transition:all var(--duration-fast) var(--ease-out);
}
.dropdown a:hover{background:var(--color-primary-50);color:var(--color-primary);padding-left:1.125rem}
.dropdown-group-label{
  display:block;padding:.5rem .875rem .25rem;
  font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;
  color:var(--color-text-muted);
}
.header-cta{display:flex;align-items:center;gap:.875rem;flex-shrink:0}
.header-phone{display:inline-flex;align-items:center;gap:.4rem;font-size:.875rem;font-weight:600;color:rgba(255,255,255,.92)}
.header-phone:hover{color:var(--color-white)}
.header-phone svg{width:14px;height:14px;color:var(--color-primary-light)}
.cta-primary{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.875rem 1.75rem;
  background:var(--color-accent);
  color:var(--color-white);
  font-family:'DM Sans',system-ui,sans-serif;
  font-weight:600;font-size:.9375rem;letter-spacing:.005em;
  border:2px solid transparent;
  border-radius:var(--radius-full);
  transition:all var(--duration-fast) var(--ease-out);
  box-shadow:0 2px 8px rgba(224,124,90,.3);
}
.cta-primary:hover{background:var(--color-accent-hover);color:var(--color-white);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(224,124,90,.4)}
.cta-primary svg{width:16px;height:16px;transition:transform var(--duration-fast) var(--ease-out)}
.cta-primary:hover svg{transform:translateX(3px)}
@keyframes pulseGlow{
  0%,100%{box-shadow:0 3px 10px rgba(224,124,90,.4)}
  50%{box-shadow:0 5px 32px rgba(224,124,90,.75)}
}
.header-cta > .cta-primary{animation:pulseGlow 3s ease-in-out infinite}
.header-cta > .cta-primary:hover{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
  .header-cta > .cta-primary{animation:none}
}
.cta-secondary{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.875rem 1.75rem;
  background:transparent;color:var(--color-primary);
  font-family:'DM Sans',system-ui,sans-serif;
  font-weight:600;font-size:.9375rem;
  border:2px solid var(--color-primary);
  border-radius:var(--radius-full);
  transition:all var(--duration-fast) var(--ease-out);
}
.cta-secondary:hover{background:var(--color-primary);color:var(--color-white);transform:translateY(-2px);box-shadow:0 6px 20px rgba(26,138,125,.3)}
.cta-secondary svg{width:16px;height:16px}

/* hamburger */
.hamburger{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:var(--radius-sm);background:transparent}
.hamburger span{display:block;width:22px;height:2px;background:var(--color-white);position:relative;transition:background var(--duration-fast) var(--ease-out),transform var(--duration-fast) var(--ease-out)}
.hamburger span::before,.hamburger span::after{content:'';position:absolute;left:0;width:22px;height:2px;background:var(--color-white);transition:background var(--duration-fast) var(--ease-out),transform var(--duration-fast) var(--ease-out)}
.hamburger span::before{top:-7px}
.hamburger span::after{top:7px}

.mobile-menu{
  position:fixed;top:0;left:0;right:0;bottom:0;
  background:rgba(45,41,38,.4);
  backdrop-filter:blur(4px);
  z-index:1100;
  opacity:0;visibility:hidden;
  transition:all var(--duration-normal) var(--ease-out);
}
.mobile-menu.open{opacity:1;visibility:visible}
.mobile-menu-panel{
  position:absolute;top:0;right:0;bottom:0;
  width:min(360px,90vw);
  background:var(--color-white);
  padding:1.5rem;
  overflow-y:auto;
  transform:translateX(100%);
  transition:transform var(--duration-normal) var(--ease-out);
  display:flex;flex-direction:column;
}
.mobile-menu.open .mobile-menu-panel{transform:translateX(0)}
.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}
.mobile-menu-header img{height:38px;width:auto}
.mobile-menu-close{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--color-cream)}
.mobile-menu-close svg{width:18px;height:18px;color:var(--color-charcoal)}
.mobile-nav{padding:1.5rem 0;flex:1}
.mobile-nav-section{margin-bottom:1.5rem}
.mobile-nav-section-title{font-family:'DM Sans';font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.14em;color:var(--color-primary);margin-bottom:.5rem;padding-left:.25rem}
.mobile-nav-section a{display:block;padding:.625rem .25rem;font-size:.9375rem;color:var(--color-text-primary);border-bottom:1px solid var(--color-cream)}
.mobile-nav-section a:hover{color:var(--color-primary);background:var(--color-primary-50);padding-left:.75rem}
.mobile-menu-footer{padding-top:1rem;border-top:1px solid var(--color-border);display:flex;flex-direction:column;gap:.75rem}
.mobile-menu-footer .cta-primary{justify-content:center;width:100%}

/* ============ HERO ============ */
.hero-section{
  position:relative;
  min-height:85vh;
  background-image:url('/assets/hero-doctors.jpg');
  background-size:cover;
  background-position:center 0%;
  background-repeat:no-repeat;
  overflow:hidden;
  isolation:isolate;
}
.hero-headline{
  position:absolute;
  top:.75%;
  left:0;
  right:0;
  margin-inline:auto;
  width:max-content;
  max-width:calc(100% - 3rem);
  transform:translate3d(0,-12px,0);
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  z-index:2;
  background:rgba(26,23,21,0.42);
  backdrop-filter:blur(22px) saturate(1.35);
  -webkit-backdrop-filter:blur(22px) saturate(1.35);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:14px;
  padding:.85rem 1.75rem;
  box-shadow:
    0 10px 36px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.10);
  opacity:0;
  animation:headlineIn .6s cubic-bezier(0.16,1,0.3,1) 1.35s forwards;
}
@keyframes headlineIn{
  to{opacity:1;transform:translate3d(0,0,0)}
}
.hero-section::after{
  content:'';
  position:absolute;
  top:5.5%;
  left:50%;
  width:60px;
  height:30px;
  border-radius:100px;
  background:rgba(43,181,165,.3);
  filter:blur(30px);
  opacity:0;
  pointer-events:none;
  z-index:1;
  transform:translate3d(-50%,-50%,0);
  will-change:opacity,width,height;
  animation:headlineGlow 1.7s cubic-bezier(0.165,0.84,0.44,1) 1s forwards;
}
@keyframes headlineGlow{
  0%{width:60px;height:30px;opacity:0}
  14.1%{opacity:1}
  24.6%{width:520px;height:90px;opacity:.9}
  86.6%{width:520px;height:90px;opacity:.9}
  100%{width:520px;height:90px;opacity:0}
}
.hero-headline h1{
  font-family:'DM Serif Display',Georgia,serif;
  color:#fff;
  font-size:clamp(1.75rem,3.8vw,2.75rem);
  font-weight:400;
  line-height:1.1;
  letter-spacing:-.005em;
  margin:0;
  text-align:center;
  text-shadow:0 1px 6px rgba(0,0,0,.35);
}
@supports (background-image:url('/assets/hero-doctors.webp')){
  .hero-section{background-image:url('/assets/hero-doctors.webp')}
  @media (max-width:768px){
    .hero-section{background-image:url('/assets/hero-doctors-768.webp')}
  }
  @media (min-width:769px) and (max-width:1280px){
    .hero-section{background-image:url('/assets/hero-doctors-1280.webp')}
  }
}
.hero-section::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(
    to top,
    rgba(26, 23, 21, 0.4) 0%,
    rgba(26, 23, 21, 0.12) 30%,
    rgba(26, 23, 21, 0.03) 50%,
    transparent 70%
  );
  pointer-events:none;z-index:1;
}

/* Glass badges: deep glassmorphism with 3D depth */
.glass-badge{
  position:absolute;
  z-index:2;
  display:inline-flex;align-items:center;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(20px) saturate(1.4);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:50px;
  padding:.6rem 1.5rem;
  color:#fff;
  font-family:'DM Sans',system-ui,sans-serif;
  font-size:.9rem;font-weight:500;letter-spacing:.02em;
  white-space:nowrap;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.25),
    0 1px 2px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  opacity:0;
  transform:perspective(800px) rotateX(8deg) translateY(15px);
  animation:badgeIn .6s cubic-bezier(0.16,1,0.3,1) forwards;
  transition:background .4s cubic-bezier(0.16,1,0.3,1),box-shadow .4s cubic-bezier(0.16,1,0.3,1),transform .4s cubic-bezier(0.16,1,0.3,1),border-color .4s cubic-bezier(0.16,1,0.3,1);
  will-change:transform;
  transform-style:preserve-3d;
  backface-visibility:hidden;
}
.glass-badge:hover{
  background:rgba(255,255,255,0.18);
  border-color:rgba(43,181,165,0.45);
  transform:perspective(800px) rotateX(0deg) translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(43,181,165,0.35),
    0 0 28px rgba(43,181,165,0.55),
    0 0 64px rgba(43,181,165,0.3),
    0 10px 34px rgba(0,0,0,0.32),
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.1),
    inset 0 0 20px rgba(43,181,165,0.12);
}
.glass-badge-doctor{
  background:rgba(26,23,21,0.2);
  border-left:2px solid rgba(26,138,125,0.6);
  padding:.75rem 1.75rem;
  font-size:.95rem;
}
.glass-badge-doctor:hover{
  background:rgba(26,23,21,0.28);
  border-left-color:rgba(43,181,165,1);
}
@keyframes badgeIn{
  to{opacity:1;transform:perspective(800px) rotateX(2deg) translateY(0)}
}

/* Badge row: flex layout prevents zoom overlap */
.hero-badges{
  position:absolute;
  z-index:2;
  top:calc(62% + 46px);
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:1.25rem;
  width:max-content;
  max-width:calc(100% - 3rem);
}
.hero-badges .glass-badge{
  position:relative;
  top:auto;left:auto;right:auto;bottom:auto;
}
.hero-badges .glass-badge:nth-child(1){animation-delay:.35s}
.hero-badges .glass-badge:nth-child(2){animation-delay:.85s}

/* Hero CTAs anchored bottom-left */
.hero-ctas{
  position:absolute;
  bottom:calc(8% - 26px);left:5%;
  z-index:2;
  display:flex;gap:1rem;flex-wrap:wrap;align-items:center;
}
.hero-ctas .cta-secondary{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(10px) saturate(1.2);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
  border:2px solid #fff;color:#fff;
}
.hero-ctas .cta-secondary:hover{background:#fff;color:var(--color-charcoal);border-color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.25);backdrop-filter:none;-webkit-backdrop-filter:none}

/* ============ TRUST BAR ============ */
.trust-bar{
  background:linear-gradient(135deg,var(--color-primary-50) 0%,#dff1ee 100%);
  padding:2.25rem 0;
  border-top:1px solid rgba(26,138,125,.1);
  border-bottom:1px solid rgba(26,138,125,.1);
}
.trust-row{
  display:grid;grid-template-columns:1fr 1fr;
  gap:.875rem 2.5rem;
  max-width:880px;margin:0 auto;
  align-items:center;justify-items:center;
}
.trust-item{
  display:inline-flex;align-items:center;gap:.75rem;
  font-size:.9375rem;color:var(--color-primary-dark);font-weight:500;
  letter-spacing:.005em;
  position:relative;
}
.trust-item::before{
  content:'';
  width:7px;height:7px;border-radius:50%;
  background:var(--color-primary);
  flex-shrink:0;
  box-shadow:0 0 0 3px rgba(26,138,125,.15);
}

/* ============ SECTION HEADERS ============ */
.section-header{text-align:center;max-width:780px;margin:0 auto clamp(2.5rem,5vw,4rem)}
.section-header.left{text-align:left;margin-left:0}
.section-header .kicker{margin-bottom:.875rem}
.section-header h2{margin-bottom:1rem}
.section-header p{color:var(--color-text-secondary);font-size:1.0625rem;line-height:1.7;margin:0 auto;max-width:65ch}
.section-header.left p{margin:0;max-width:60ch}

/* ============ SERVICES ============ */
.services-section{background:var(--color-white);position:relative}
.services-section::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(to right,transparent,var(--color-border),transparent);
}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.service-card{
  position:relative;
  background:var(--color-white);
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  padding:2.25rem 1.75rem 1.75rem;
  display:flex;flex-direction:column;
  gap:.75rem;
  transition:transform var(--duration-normal) var(--ease-out),box-shadow var(--duration-normal) var(--ease-out),border-color var(--duration-normal) var(--ease-out);
  will-change:transform;
  text-decoration:none;color:inherit;
  overflow:hidden;
}
.service-card::before{
  content:'';
  position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-light) 45%,var(--color-accent) 100%);
  transform:scaleX(.35);transform-origin:left center;
  transition:transform var(--duration-slow) var(--ease-out);
}
.service-card:hover{box-shadow:var(--shadow-card-hover);border-color:transparent}
.service-card:hover::before{transform:scaleX(1)}
.service-card-num{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:1rem;
  color:var(--color-primary);
  letter-spacing:.05em;
  margin-bottom:.25rem;
}
.service-icon{
  width:64px;height:64px;
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--color-primary);
  margin-bottom:.25rem;
  position:relative;
}
.service-icon::after{
  content:'';position:absolute;inset:-6px -8px;border-radius:var(--radius-md);
  background:radial-gradient(circle at 30% 30%,rgba(43,181,165,.16),rgba(224,124,90,.08) 60%,transparent 80%);
  opacity:.55;
  transition:opacity var(--duration-normal) var(--ease-out),transform var(--duration-normal) var(--ease-out);
  z-index:0;
}
.service-card:hover .service-icon::after{opacity:1;transform:scale(1.08)}
.service-icon svg{width:56px;height:56px;position:relative;z-index:1;display:block}
.service-card h3{font-size:1.375rem;color:var(--color-charcoal);line-height:1.25}
.service-card p{font-size:.9375rem;line-height:1.65;color:var(--color-text-secondary);margin-bottom:.5rem;flex:1}
.service-card-more{
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.875rem;font-weight:600;color:var(--color-primary);
  letter-spacing:.01em;
  margin-top:auto;
}
.service-card-more svg{width:14px;height:14px;transition:transform var(--duration-fast) var(--ease-out)}
.service-card:hover .service-card-more{color:var(--color-primary-dark)}
.service-card:hover .service-card-more svg{transform:translateX(4px)}

/* ============ ABOUT / WHO WE ARE ============ */
.about-section{background:var(--color-off-white);position:relative}
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.about-image-wrap{position:relative}
.about-image-wrap::before{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:-6px;
  width:6px;
  border-radius:3px 0 0 3px;
  background:var(--color-accent);
  z-index:1;
  pointer-events:none;
  box-shadow:0 0 0 rgba(224,124,90,0);
  transition:box-shadow var(--duration-normal) var(--ease-out);
}
.about-image-wrap:hover::before{
  box-shadow:0 0 14px 2px rgba(224,124,90,.55), 0 0 28px 4px rgba(224,124,90,.3);
}
@media (max-width:768px){
  .about-image-wrap::before{left:-4px;width:4px;border-radius:2px 0 0 2px}
}
.about-image{
  position:relative;aspect-ratio:4/3;border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow-lg);
  clip-path:inset(0 0 0 0);
  transition:clip-path 1s var(--ease-out);
}
.reveal-section .about-image{clip-path:inset(0 0 100% 0)}
.reveal-section.revealed .about-image{clip-path:inset(0 0 0 0)}
.about-image img{width:100%;height:100%;object-fit:cover}
.about-badge{
  position:absolute;bottom:-1.5rem;right:-1rem;
  background:var(--color-primary);
  color:var(--color-white);
  padding:1.25rem 1.5rem;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  display:flex;align-items:center;gap:.875rem;
}
.about-badge .num{font-family:'DM Serif Display',Georgia,serif;font-size:2rem;line-height:1;color:var(--color-white)}
.about-badge .label{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;line-height:1.4;opacity:.9}
.about-text .kicker{margin-bottom:.75rem}
.about-text h2{margin-bottom:1.5rem;max-width:none;line-height:1.18;font-size:clamp(1.625rem,3vw,2.375rem)}
.about-text p{margin-bottom:1.125rem;line-height:1.75}
.about-text p:last-of-type{margin-bottom:1.75rem}
.about-text .cta-primary{margin-top:.5rem}
.about-ctas{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-top:.5rem}

/* ============ DOCTORS ============ */
.doctors-section{
  background:linear-gradient(180deg,var(--color-cream) 0%,var(--color-off-white) 100%);
  position:relative;
}
.doctors-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:center}
.doctors-text .kicker{margin-bottom:.75rem}
.doctors-text h2{margin-bottom:1.25rem}
.doctors-intro{font-size:1.0625rem;line-height:1.7;margin-bottom:1rem}
.doctors-tagline{font-style:italic;color:var(--color-primary);font-family:'DM Serif Display',Georgia,serif;font-size:1.125rem;margin-bottom:2rem;line-height:1.5}
.doctor-card{
  background:var(--color-white);
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  padding:1.25rem 1.5rem;
  margin-bottom:1rem;
  transition:all var(--duration-normal) var(--ease-out);
}
.doctor-card:hover{border-color:var(--color-primary-100);box-shadow:var(--shadow-md);transform:translateX(4px)}
.doctor-card h3{font-size:1.25rem;margin-bottom:.25rem;color:var(--color-charcoal)}
.doctor-card .role{font-family:'DM Sans';font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--color-primary);display:block;margin-bottom:.625rem}
.doctor-card p{font-size:.9375rem;line-height:1.6;margin-bottom:.875rem}
.doctor-card-link{display:inline-flex;align-items:center;gap:.4rem;font-size:.8125rem;font-weight:600;color:var(--color-primary);letter-spacing:.02em;text-transform:uppercase}
.doctor-card-link svg{width:12px;height:12px;transition:transform var(--duration-fast) var(--ease-out)}
.doctor-card-link:hover svg{transform:translateX(4px)}
.doctors-gallery-cta{margin-top:1.5rem}

.doctors-image-wrap{position:relative}
.doctors-image{
  display:block;
  aspect-ratio:3/4;border-radius:var(--radius-lg);overflow:hidden;
  background:var(--color-cream);
  border:3px solid transparent;
  box-shadow:var(--shadow-xl);
  transition:all .4s var(--ease-out);
}
.doctors-image img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.doctors-image:hover{
  border-color:var(--color-primary);
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 18px 50px rgba(26,138,125,.28);
}
.doctors-image:hover img{transform:scale(1.04)}
.doctors-image-deco{
  position:absolute;top:1.5rem;left:-1.5rem;
  width:80px;height:80px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--color-accent),var(--color-accent-hover));
  z-index:-1;
  opacity:.4;
  filter:blur(20px);
}

/* ============ SMILE GALLERY ============ */
.gallery-section{background:var(--color-white)}
.gallery-grid{
  display:grid;grid-template-columns:repeat(6,1fr);
  grid-auto-rows:140px;gap:.875rem;
}
.gallery-item{
  position:relative;overflow:hidden;border-radius:var(--radius-md);
  background:var(--color-cream);
}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.gallery-item:hover img{transform:scale(1.06)}
.gallery-item::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top,rgba(26,138,125,.5),transparent 50%);
  opacity:0;transition:opacity var(--duration-normal) var(--ease-out);
}
.gallery-item:hover::after{opacity:1}
.gallery-item.size-large{grid-column:span 3;grid-row:span 2}
.gallery-item.size-tall{grid-column:span 2;grid-row:span 2}
.gallery-item.size-wide{grid-column:span 3;grid-row:span 1}
.gallery-item.size-default{grid-column:span 2;grid-row:span 1}
.gallery-cta-wrap{text-align:center;margin-top:2.5rem}

/* ============ TESTIMONIALS ============ */
.testimonials-section{
  background:linear-gradient(135deg,var(--color-primary-50) 0%,#e1f1ee 100%);
  position:relative;overflow:hidden;
}
.testimonials-section::before{
  content:'';position:absolute;top:-80px;right:-80px;width:240px;height:240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(43,181,165,.15),transparent 70%);
  pointer-events:none;
}
.testimonials-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem;max-width:1000px;margin:0 auto}
.testimonial-card{
  position:relative;
  background:var(--color-white);
  border-radius:var(--radius-lg);
  padding:2.5rem 2rem 2rem;
  box-shadow:var(--shadow-md);
  overflow:hidden;
  transition:transform var(--duration-normal) var(--ease-out),box-shadow var(--duration-normal) var(--ease-out);
}
.testimonial-card::before{
  content:'';position:absolute;bottom:0;left:0;right:0;height:3px;
  background:var(--color-primary);
  transform:scaleX(0);transform-origin:left;
  transition:transform var(--duration-normal) var(--ease-out);
}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.testimonial-card:hover::before{transform:scaleX(1)}
.testimonial-quote-mark{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:5rem;line-height:.6;color:var(--color-primary);
  opacity:.18;
  position:absolute;top:1.25rem;left:1.5rem;
  font-style:italic;
  pointer-events:none;
}
.testimonial-text{
  font-family:'DM Serif Display',Georgia,serif;
  font-style:italic;
  font-size:1.25rem;
  line-height:1.5;
  color:var(--color-charcoal);
  position:relative;z-index:1;
  margin-bottom:1.25rem;
  max-width:none;
}
.testimonial-attribution{
  display:flex;align-items:center;gap:.75rem;
  padding-top:1rem;border-top:1px solid var(--color-border);
}
.testimonial-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,var(--color-primary),var(--color-primary-light));
  color:var(--color-white);
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:700;font-size:1rem;font-family:'DM Sans';
  flex-shrink:0;
}
.testimonial-attribution-text strong{display:block;font-weight:600;color:var(--color-charcoal);font-size:.9375rem}
.testimonial-attribution-text span{font-size:.8125rem;color:var(--color-text-muted);letter-spacing:.02em}
.testimonial-stars{display:flex;gap:.125rem;margin-bottom:1rem;color:var(--color-accent)}
.testimonial-stars svg{width:16px;height:16px}

/* ============ RESOURCES ============ */
.resources-section{background:var(--color-off-white)}
.resources-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:center}
.resources-text .kicker{margin-bottom:.75rem}
.resources-text h2{margin-bottom:1.25rem}
.resources-text p{margin-bottom:1.5rem;line-height:1.7}
.resources-ctas{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.5rem}
.resources-image{position:relative;aspect-ratio:5/4;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.resources-image img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease-out)}
.resources-image:hover img{transform:scale(1.04)}

/* ============ LOCATION ============ */
.location-section{background:var(--color-cream)}
.location-grid{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:2rem;align-items:stretch}
.location-card{
  background:var(--color-white);
  border-radius:var(--radius-lg);
  padding:2rem 1.75rem;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--color-border);
  display:flex;flex-direction:column;
}
.location-card h3{font-size:1.25rem;margin-bottom:1rem;color:var(--color-charcoal);display:flex;align-items:center;gap:.625rem}
.location-card h3 svg{width:20px;height:20px;color:var(--color-primary)}
.location-info{font-style:normal}
.location-info-row{padding:.5rem 0;font-size:.9375rem;color:var(--color-text-secondary);line-height:1.5}
.location-info-row strong{display:block;color:var(--color-charcoal);font-weight:600;font-size:.8125rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.25rem}
.location-info-row a{color:var(--color-text-primary);font-weight:500}
.location-info-row a:hover{color:var(--color-primary)}
.hours-table{display:flex;flex-direction:column;gap:0;font-size:.9375rem;width:100%}
.hours-row{display:flex;justify-content:space-between;padding:.625rem 0;border-bottom:1px solid var(--color-border);color:var(--color-text-secondary)}
.hours-row:last-child{border-bottom:none}
.hours-row .day{font-weight:600;color:var(--color-charcoal)}
.hours-row .time{font-feature-settings:"tnum"}
.hours-row.closed .time{color:var(--color-text-muted);font-style:italic}
.location-map{
  border-radius:var(--radius-lg);overflow:hidden;
  background:linear-gradient(135deg,var(--color-primary-50),#dff1ee);
  position:relative;min-height:380px;
  border:1px solid var(--color-border);
}
.location-map iframe{width:100%;height:100%;border:0;display:block;min-height:380px}
.location-card .location-ctas{margin-top:auto;display:flex;flex-direction:column;gap:.625rem;padding-top:1.5rem}
.location-ctas a{font-size:.875rem;padding:.75rem 1.25rem}

/* ============ FAQ ============ */
.faq-section{background:var(--color-off-white)}
.faq-section .section-header{margin-bottom:clamp(2rem,4vw,3rem)}
.faq-section .section-label{display:inline-block;font-family:'DM Sans',system-ui,sans-serif;font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.16em;color:var(--color-primary);margin-bottom:.875rem}
.faq-section h2{margin-bottom:1rem}
.faq-section .section-header{text-align:center;max-width:780px;margin-left:auto;margin-right:auto}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:var(--content-max-width);margin:0 auto}
.faq-item{
  background:var(--color-white);
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  padding:1.75rem;
  box-shadow:var(--shadow-sm);
  transition:box-shadow var(--duration-normal) var(--ease-out),transform var(--duration-normal) var(--ease-out),border-color var(--duration-normal) var(--ease-out);
}
.faq-item:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:var(--color-primary-100)}
.faq-item h3{font-family:'DM Sans',system-ui,sans-serif;font-size:1.0625rem;font-weight:600;color:var(--color-charcoal);line-height:1.4;margin-bottom:.75rem}
.faq-item p{font-size:.9375rem;line-height:1.65;color:var(--color-text-secondary);margin:0;max-width:none}
@media (max-width:768px){
  .faq-grid{grid-template-columns:1fr;gap:1rem}
  .faq-item{padding:1.5rem}
}

/* ============ FINAL CTA ============ */
.final-cta-section{
  background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);
  color:var(--color-white);position:relative;overflow:hidden;
}
.final-cta-section::before{
  content:'';position:absolute;top:0;right:0;width:50%;height:100%;
  background:radial-gradient(circle at top right,rgba(255,255,255,.1),transparent 50%);
}
.final-cta-section::after{
  content:'';position:absolute;bottom:0;left:-10%;width:60%;height:80%;
  background:radial-gradient(ellipse,rgba(43,181,165,.25),transparent 60%);
  pointer-events:none;
}
.final-cta-inner{text-align:center;max-width:760px;margin:0 auto;position:relative;z-index:1}
.final-cta-inner .kicker{color:rgba(255,255,255,.85);margin-bottom:1rem}
.final-cta-inner h2{color:var(--color-white);font-size:clamp(2rem,4.5vw,3.25rem);margin-bottom:1rem;line-height:1.1}
.final-cta-inner p{color:rgba(255,255,255,.85);font-size:1.125rem;margin:0 auto 2rem;max-width:520px}
.final-cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.cta-on-dark{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.875rem 2rem;
  border-radius:var(--radius-full);
  font-weight:600;font-size:.9375rem;
  transition:all var(--duration-fast) var(--ease-out);
}
.cta-on-dark.primary{background:var(--color-accent);color:var(--color-white);box-shadow:0 4px 16px rgba(224,124,90,.4)}
.cta-on-dark.primary:hover{background:var(--color-accent-hover);color:var(--color-white);transform:translateY(-2px) scale(1.02);box-shadow:0 8px 24px rgba(224,124,90,.5)}
.cta-on-dark.outline{background:transparent;color:var(--color-white);border:2px solid rgba(255,255,255,.5)}
.cta-on-dark.outline:hover{background:var(--color-white);color:var(--color-primary-dark);border-color:var(--color-white);transform:translateY(-2px)}
.cta-on-dark svg{width:16px;height:16px}

/* ============ FOOTER ============ */
.site-footer{background:var(--color-dark);color:rgba(255,255,255,.75);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:2.5rem;padding-bottom:3rem}
.footer-brand img{height:48px;width:auto;margin-bottom:1rem;filter:brightness(0) invert(1) opacity(.95)}
.footer-brand p{font-size:.875rem;line-height:1.6;margin-bottom:1.25rem;max-width:32ch;color:rgba(255,255,255,.65)}
.footer-newsletter{display:flex;gap:.5rem;max-width:340px}
.footer-newsletter input{
  flex:1;padding:.625rem .875rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:var(--radius-sm);
  color:var(--color-white);font-family:inherit;font-size:.875rem;
}
.footer-newsletter input::placeholder{color:rgba(255,255,255,.4)}
.footer-newsletter input:focus{outline:none;border-color:var(--color-primary-light);background:rgba(255,255,255,.12)}
.footer-newsletter button{
  padding:.625rem 1rem;background:var(--color-accent);color:var(--color-white);
  border-radius:var(--radius-sm);font-weight:600;font-size:.875rem;
  transition:background var(--duration-fast) var(--ease-out);
}
.footer-newsletter button:hover{background:var(--color-accent-hover)}
.footer-col .footer-heading{
  font-family:'DM Sans',system-ui,sans-serif;color:var(--color-white);
  font-size:.8125rem;font-weight:600;line-height:1.4;
  text-transform:uppercase;letter-spacing:.12em;
  margin-bottom:1rem;
}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.5rem}
.footer-col a{color:rgba(255,255,255,.65);font-size:.875rem;line-height:1.5}
.footer-col a:hover{color:var(--color-white)}
.footer-contact-row{display:flex;align-items:flex-start;gap:.625rem;margin-bottom:.75rem;font-size:.875rem;line-height:1.4;color:rgba(255,255,255,.65)}
.footer-contact-row svg{width:14px;height:14px;color:var(--color-primary-light);margin-top:.2rem;flex-shrink:0}
.footer-contact-row a{color:rgba(255,255,255,.65)}
.footer-contact-row a:hover{color:var(--color-white)}
.footer-bottom{
  padding:1.5rem 0;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
  font-size:.8125rem;color:rgba(255,255,255,.5);
}
.footer-bottom-links{display:flex;gap:1.5rem}
.footer-bottom-links a{color:rgba(255,255,255,.5);font-size:.8125rem}
.footer-bottom-links a:hover{color:rgba(255,255,255,.85)}

/* ============ REVEAL ANIMATIONS ============ */
.js .reveal-section{opacity:0;transform:translateY(30px);transition:opacity var(--duration-slow) var(--ease-out),transform var(--duration-slow) var(--ease-out)}
.js .reveal-section.revealed{opacity:1;transform:translateY(0)}
.js .reveal-child{opacity:0;transform:translateY(20px);transition:opacity var(--duration-normal) var(--ease-out),transform var(--duration-normal) var(--ease-out)}
.js .reveal-child.revealed{opacity:1;transform:translateY(0)}

/* ============ TILT ============ */
.tilt-card{transition:transform var(--duration-normal) var(--ease-out),box-shadow var(--duration-normal) var(--ease-out);will-change:transform;transform-style:preserve-3d}

/* ============ RESPONSIVE ============ */
@media (max-width:1024px){
  .nav-desktop{display:none}
  .hamburger{display:inline-flex}
  .header-cta .header-phone{display:none}
}
@media (max-width:980px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid,.doctors-grid,.resources-grid{grid-template-columns:1fr;gap:2.5rem}
  .doctors-image-wrap{order:-1;max-width:480px;margin:0 auto}
  .location-grid{grid-template-columns:1fr 1fr;gap:1.5rem}
  .location-map{grid-column:1/-1}
  .testimonials-grid{grid-template-columns:1fr;gap:1.25rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .gallery-grid{grid-template-columns:repeat(4,1fr)}
  .gallery-item.size-large{grid-column:span 4;grid-row:span 2}
  .gallery-item.size-tall{grid-column:span 2;grid-row:span 2}
  .gallery-item.size-wide{grid-column:span 4;grid-row:span 1}
  .gallery-item.size-default{grid-column:span 2;grid-row:span 1}
  .trust-row{gap:.75rem 1.5rem}
}
@media (max-width:768px){
  .js .reveal-child{transition-delay:0ms!important;transition-duration:0ms!important}
  .js .reveal-section{transition-duration:0ms!important}
  .hero-section{
    min-height:60vh;
    background-size:contain;
    background-position:center top;
    background-color:var(--color-dark);
  }
  .hero-section::before{
    background:linear-gradient(to top, rgba(26,23,21,.85) 0%, rgba(26,23,21,.4) 25%, transparent 45%);
  }
  .hero-headline{display:none}
  .hero-section::after{display:none}
  .glass-badge{
    white-space:normal;
    font-size:.825rem;
    padding:.55rem 1.15rem;
    max-width:calc(100% - 2rem);
  }
  .glass-badge-doctor{font-size:.875rem;padding:.65rem 1.35rem}
  .hero-badges{display:none;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:.625rem;
    top:auto;
    bottom:28%;
    left:5%;
    transform:none;
    width:auto;
    max-width:calc(100% - 2rem);
  }
  .hero-ctas{
    bottom:5%;left:5%;right:5%;
    flex-direction:column;align-items:stretch;gap:.75rem;
  }
  .hero-ctas .cta-primary,.hero-ctas .cta-secondary{justify-content:center;width:100%}
}
@media (max-width:640px){
  :root{--topbar-h:54px;--header-h:68px}
  .top-bar{font-size:.7rem;padding:.3rem 0}
  .top-bar-info span:not(.phone-mobile){display:none}
  .header-cta > .cta-primary{display:none}
  .site-header{padding:.625rem 0}
  .services-grid{grid-template-columns:1fr;gap:1rem}
  .gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:120px;gap:.625rem}
  .gallery-item.size-large,.gallery-item.size-tall,.gallery-item.size-wide,.gallery-item.size-default{grid-column:span 2;grid-row:span 1}
  .gallery-item:nth-child(1){grid-row:span 2}
  .location-grid{grid-template-columns:1fr}
  .location-map{min-height:280px}
  .location-map iframe{min-height:280px}
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .footer-bottom{flex-direction:column;text-align:center}
  .trust-row{grid-template-columns:1fr;gap:.625rem;justify-items:start;padding:0 .25rem}
  .trust-item{justify-content:flex-start}
  .final-cta-buttons{flex-direction:column;align-items:stretch}
  .resources-ctas{flex-direction:column;align-items:stretch}
  .resources-ctas .cta-primary,.resources-ctas .cta-secondary{justify-content:center}
  .about-badge{right:1rem;padding:.875rem 1rem}
  .about-badge .num{font-size:1.5rem}
  body{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* =====================================================================
   MULTI-PAGE SYSTEM (added 2026-10-14). Everything above this line is the
   approved homepage CSS moved out verbatim (asset paths made root-absolute).
   ===================================================================== */

/* ---------- shared chrome ---------- */
.skip-link{position:absolute;left:1rem;top:-100px;z-index:2000;background:var(--color-charcoal);color:#fff;padding:.75rem 1.25rem;border-radius:var(--radius-sm);font-weight:600}
.skip-link:focus{top:1rem;color:#fff}
section[id],[id].i-section,h2[id]{scroll-margin-top:calc(var(--header-h) + 1.5rem)}
.nav-link[aria-current="page"]{color:#fff;background:rgba(255,255,255,.10)}
.dropdown a[aria-current="page"],.mobile-nav-section a[aria-current="page"]{color:var(--color-primary);font-weight:600}
h1,h2{text-wrap:balance}
p{text-wrap:pretty}
:focus-visible{outline:3px solid var(--color-primary-light);outline-offset:3px}

/* ---------- homepage: aurora hosts ---------- */
.hero-section{--seam:300px;--aur-top:transparent;--aur-bot:transparent;--aur-k:.42}
.services-section{isolation:isolate;--seam:220px;--aur-top:#dff1ee;--aur-bot:#ffffff;--aur-k:.3}
@media (max-width:768px){.hero-section>.aur{display:none}}

/* ---------- homepage: family photo (home-pi, native 480x320, shown at 240px) ---------- */
.family-photo{position:absolute;left:-1.25rem;bottom:-3.25rem;z-index:3;width:240px;max-width:48%;margin:0;background:#fff;padding:8px 8px 6px;border-radius:6px;box-shadow:var(--shadow-xl);transform:rotate(-3deg);transition:transform var(--duration-normal) var(--ease-out)}
.family-photo:hover{transform:rotate(0) translateY(-4px)}
.family-photo img{width:100%;height:auto;border-radius:3px}
.family-photo figcaption{font-family:'DM Serif Display',Georgia,serif;font-style:italic;font-size:.95rem;color:var(--color-charcoal);text-align:center;padding-top:.3rem;line-height:1.3}
.about-image-wrap.has-family{margin-bottom:2.5rem}
@media (max-width:640px){.family-photo{width:160px;left:-.5rem;bottom:-2.5rem}.family-photo figcaption{font-size:.8rem}}

/* ---------- interior: section tones + seam gradients ----------
   Each interior section gets ONE tone class and, when the section above has a different
   colour, ONE seam-from class naming that colour. The top ~160px washes from the colour
   above into the section's own tone (no hard colour cut). */
.i-section{position:relative;padding:var(--section-padding) 0;background:var(--bg,var(--color-off-white)) linear-gradient(to bottom,var(--seam-from,var(--bg,var(--color-off-white))) 0,var(--bg,var(--color-off-white)) var(--seam-h,160px)) no-repeat}
.tone-white{--bg:#ffffff}
.tone-off{--bg:#faf9f7}
.tone-cream{--bg:#f5f2ee}
.tone-mint{--bg:#e8f6f4}
.seam-from-white{--seam-from:#ffffff}
.seam-from-off{--seam-from:#faf9f7}
.seam-from-cream{--seam-from:#f5f2ee}
.seam-from-mint{--seam-from:#e8f6f4}
.seam-from-teal{--seam-from:#0e6b61}
.seam-from-dark{--seam-from:#1a1715}
.i-section[class*="seam-from-"]{padding-top:calc(var(--section-padding) + 2.5rem)}
.i-head{max-width:760px;margin:0 0 clamp(2rem,4vw,3rem)}
.i-head.center{text-align:center;margin-left:auto;margin-right:auto}
.i-head.center p{margin-left:auto;margin-right:auto}
.i-head .kicker{margin-bottom:.75rem}
.i-head h2{margin-bottom:1rem}
.i-head p{font-size:1.0625rem}

/* ---------- interior: page hero (real full-bleed photo, light overlay) ---------- */
.page-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(440px,64vh,640px);display:flex;align-items:flex-end;padding:clamp(5rem,10vw,7rem) 0 calc(var(--seam-h,160px) + 1rem);background:var(--color-dark)}
.page-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--hero-pos,center 35%);z-index:-2}
.page-hero::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(26,23,21,.52) 0%,rgba(26,23,21,.30) 42%,rgba(26,23,21,.06) 75%,rgba(26,23,21,0) 100%)}
.page-hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:var(--seam-h,160px);z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,rgba(250,249,247,0) 0%,var(--hero-seam-to,#faf9f7) 100%)}
.page-hero.to-white{--hero-seam-to:#ffffff}
.page-hero.to-cream{--hero-seam-to:#f5f2ee}
.page-hero.to-mint{--hero-seam-to:#e8f6f4}
.page-hero-panel{position:relative;max-width:640px;background:rgba(26,23,21,.40);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:clamp(1.5rem,3vw,2.25rem);box-shadow:0 14px 44px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.1)}
.page-hero h1{color:#fff;font-size:clamp(2.1rem,4.4vw,3.5rem);line-height:1.08;margin-bottom:1rem;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.page-hero-lede{color:rgba(255,255,255,.92);font-size:clamp(1rem,1.6vw,1.15rem);line-height:1.6;margin-bottom:1.5rem}
.page-hero-ctas{display:flex;gap:.875rem;flex-wrap:wrap}
.page-hero-ctas .cta-secondary{background:rgba(255,255,255,.06);border-color:#fff;color:#fff}
.page-hero-ctas .cta-secondary:hover{background:#fff;color:var(--color-charcoal)}
.crumbs{margin-top:1.25rem;font-size:.8125rem;color:rgba(255,255,255,.78)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem}
.crumbs li+li::before{content:'/';margin-right:.4rem;opacity:.6}
.crumbs a{color:rgba(255,255,255,.9);text-decoration:underline;text-underline-offset:3px}
.crumbs a:hover{color:#fff}
.js .page-hero-panel{opacity:0;transform:translateY(18px);animation:panelIn .7s var(--ease-out) .15s forwards}
@keyframes panelIn{to{opacity:1;transform:none}}
@media (max-width:640px){
  .page-hero{min-height:auto;padding-top:clamp(9rem,40vw,12rem)}
  .page-hero::before{background:linear-gradient(to top,rgba(26,23,21,.55) 0%,rgba(26,23,21,.25) 60%,rgba(26,23,21,.08) 100%)}
  .page-hero-ctas{flex-direction:column;align-items:stretch}
  .page-hero-ctas a{justify-content:center}
}

/* ---------- interior: intro two-column with inline photo ---------- */
.i-intro-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.i-intro--flip .i-intro-media{order:-1}
.i-intro-text h2{margin-bottom:1.25rem}
.i-intro-text p{margin-bottom:1.1rem}
.i-intro-media{position:relative}
.i-intro-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.i-intro-media::before{content:'';position:absolute;inset:auto -14px -14px auto;width:62%;height:62%;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--color-primary-100),var(--color-accent-light));z-index:-1}
.i-intro-media{isolation:isolate}
.i-chip{position:absolute;left:-1rem;bottom:1.5rem;background:var(--color-primary-dark);color:#fff;border-radius:var(--radius-md);padding:.9rem 1.15rem;box-shadow:var(--shadow-lg);max-width:220px;font-size:.875rem;line-height:1.4}
.i-chip strong{display:block;font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:1.5rem;line-height:1.1}
.i-checklist{list-style:none;margin:1.25rem 0 1.75rem;display:grid;gap:.6rem}
.i-checklist li{position:relative;padding-left:1.9rem;color:var(--color-text-primary);max-width:60ch}
.i-checklist li::before{content:'';position:absolute;left:0;top:.35em;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--color-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a8a7d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/62% no-repeat;box-shadow:0 0 0 1px var(--color-primary-100)}
.reveal-section .i-intro-media img{clip-path:inset(0 0 100% 0);transition:clip-path 1s var(--ease-out)}
.reveal-section.revealed .i-intro-media img{clip-path:inset(0 0 0 0)}

/* ---------- interior: treatment cards (the cards ARE images) ---------- */
.i-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}
.i-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden;color:inherit;transition:box-shadow var(--duration-normal) var(--ease-out),border-color var(--duration-normal) var(--ease-out)}
.i-card:hover{box-shadow:var(--shadow-card-hover);border-color:transparent;color:inherit}
.i-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--color-cream)}
.i-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.i-card:hover .i-card-img img{transform:scale(1.05)}
.i-card-body{padding:1.5rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;flex:1;position:relative}
.i-card-body::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--color-primary),var(--color-primary-light) 45%,var(--color-accent));transform:scaleX(.3);transform-origin:left;transition:transform var(--duration-slow) var(--ease-out)}
.i-card:hover .i-card-body::before{transform:scaleX(1)}
.i-card h3{font-size:1.3rem;line-height:1.25}
.i-card p{font-size:.9375rem;line-height:1.65;flex:1}
.i-card .service-card-more{margin-top:.25rem}
.i-card:hover .service-card-more svg{transform:translateX(4px)}

/* ---------- interior: what to expect (numbered steps, self-drawing line) ---------- */
.i-steps{position:relative;max-width:880px;margin:0 auto}
.i-steps-list{list-style:none;display:grid;gap:1.25rem;counter-reset:step}
.i-steps-line{position:absolute;left:27px;top:28px;height:calc(100% - 56px);width:4px;overflow:visible;pointer-events:none}
.i-steps-line line{stroke:var(--color-primary);stroke-width:2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.8s var(--ease-out) .3s}
.revealed .i-steps-line line{stroke-dashoffset:0;opacity:.35;transition:stroke-dashoffset 1.8s var(--ease-out) .3s,opacity 1.2s ease 2.4s}
.i-step{position:relative;display:grid;grid-template-columns:56px 1fr;gap:1.25rem;align-items:start;counter-increment:step}
.i-step::before{content:counter(step,decimal-leading-zero);display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#fff;border:2px solid var(--color-primary);color:var(--color-primary-dark);font-family:'DM Serif Display',Georgia,serif;font-size:1.15rem;box-shadow:0 0 0 6px var(--bg,var(--color-off-white));position:relative;z-index:1}
.i-step-body{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1.25rem 1.5rem;box-shadow:var(--shadow-sm)}
.i-step-body h3{font-size:1.2rem;margin-bottom:.35rem}
.i-step-body p{font-size:.9375rem;line-height:1.65}

/* ---------- interior: doctor callout (arched portrait + quote card) ---------- */
.i-doctor{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,5vw,4rem);align-items:center;max-width:1040px;margin:0 auto}
.i-doctor-photo{position:relative;isolation:isolate}
.i-doctor-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-radius:999px 999px var(--radius-lg) var(--radius-lg);box-shadow:var(--shadow-xl)}
.i-doctor-photo::after{content:'';position:absolute;inset:-14px;border:1.5px solid var(--color-primary-100);border-radius:999px 999px 26px 26px;z-index:-1}
.i-doctor-card{background:#fff;border-radius:var(--radius-lg);padding:clamp(1.75rem,3.5vw,2.75rem);box-shadow:var(--shadow-md);border-left:4px solid var(--color-accent);position:relative}
.i-doctor-quote{font-family:'DM Serif Display',Georgia,serif;font-style:italic;font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.45;color:var(--color-charcoal);margin-bottom:1.25rem;max-width:none}
.i-doctor-card h3{font-size:1.35rem;margin-bottom:.15rem}
.i-doctor-card .role{display:block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--color-primary);margin-bottom:.9rem}
.i-doctor-card p{font-size:.9375rem;margin-bottom:1.1rem}
.i-doctor-ctas{display:flex;gap:.875rem;flex-wrap:wrap}

/* ---------- interior: FAQ accordion (details/summary) ---------- */
.i-faq{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,5vw,4rem);align-items:start}
.i-faq-aside{position:sticky;top:calc(var(--header-h) + 2rem)}
.i-faq-aside h2{margin-bottom:1rem}
.i-faq-aside p{margin-bottom:1.5rem}
.i-faq-list{display:grid;gap:.875rem}
.i-faq-list details{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);transition:border-color var(--duration-normal) var(--ease-out),box-shadow var(--duration-normal) var(--ease-out)}
.i-faq-list details[open]{border-color:var(--color-primary-100);box-shadow:var(--shadow-md)}
.i-faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.15rem 1.4rem;font-weight:600;font-size:1.0625rem;color:var(--color-charcoal);line-height:1.4}
.i-faq-list summary::-webkit-details-marker{display:none}
.i-faq-list summary::after{content:'';flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--color-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a8a7d' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform var(--duration-normal) var(--ease-out)}
.i-faq-list details[open] summary::after{transform:rotate(45deg)}
.i-faq-answer{padding:0 1.4rem 1.25rem;font-size:.9375rem;line-height:1.7}
.i-faq-answer p+p{margin-top:.75rem}

/* ---------- interior: smile gallery ---------- */
.i-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.875rem}
.i-gallery figure{margin:0;border-radius:var(--radius-md);overflow:hidden;background:var(--color-cream);aspect-ratio:4/3}
.i-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.i-gallery figure:hover img{transform:scale(1.06)}

/* ---------- interior: CTA band (the band background IS the photo) ---------- */
.cta-band{position:relative;isolation:isolate;overflow:hidden;color:#fff;padding:calc(var(--section-padding) + 2.5rem) 0 calc(var(--section-padding) + 3rem);background:#0e6b61}
.cta-band-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.cta-band::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,var(--seam-from,rgba(14,107,97,0)) 0,rgba(14,107,97,0) 150px),linear-gradient(90deg,rgba(14,107,97,.9) 0%,rgba(14,107,97,.86) 50%,rgba(14,107,97,.55) 100%)}
.cta-band::after{content:'';position:absolute;left:0;right:0;bottom:0;height:120px;z-index:-1;background:linear-gradient(to bottom,rgba(26,23,21,0),#1a1715)}
.cta-band-inner{max-width:640px;position:relative}
.cta-band h2{color:#fff;font-size:clamp(1.9rem,4vw,3rem);line-height:1.1;margin-bottom:1rem}
.cta-band p{color:#fff;font-size:1.125rem;margin-bottom:2rem}
.cta-band .final-cta-buttons{justify-content:flex-start}
@media (max-width:640px){.cta-band::before{background:linear-gradient(to bottom,var(--seam-from,rgba(14,107,97,0)) 0,rgba(14,107,97,0) 150px),linear-gradient(rgba(14,107,97,.9),rgba(14,107,97,.9))}}

/* ---------- light header with aurora (blog posts, legal pages, 404) ---------- */
.aur-header{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(#e8f6f4,#faf9f7);padding:clamp(3.5rem,8vw,6rem) 0 clamp(2.5rem,5vw,4rem);--seam:100%;--aur-top:#e8f6f4;--aur-bot:#faf9f7;--aur-k:.38}
.aur-header .aur{height:calc(100% + 12px)}
.aur-header h1{font-size:clamp(2rem,4.2vw,3.25rem);line-height:1.1;max-width:22ch;margin-bottom:1rem}
.aur-header .lede{font-size:1.125rem;max-width:60ch}
.aur-header .crumbs{color:var(--color-text-secondary);margin:0 0 0;margin-top:1.25rem}
.aur-header .crumbs a{color:var(--color-primary-dark)}
.post-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.875rem;color:var(--color-text-secondary);margin-top:.5rem}
.post-meta strong{color:var(--color-charcoal);font-weight:600}

/* ---------- reading typography (blog posts, legal pages) ---------- */
.prose{max-width:68ch;margin:0 auto;font-size:1.0625rem;line-height:1.78;color:var(--color-text-primary)}
.prose>*+*{margin-top:1.15rem}
.prose p{max-width:none}
.prose h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-top:2.5rem}
.prose h3{font-size:1.3rem;margin-top:2rem}
.prose ul,.prose ol{padding-left:1.4rem}
.prose li+li{margin-top:.45rem}
.prose a{text-decoration:underline;text-underline-offset:3px}
.prose blockquote{border-left:4px solid var(--color-accent);padding:.25rem 0 .25rem 1.25rem;font-family:'DM Serif Display',Georgia,serif;font-style:italic;font-size:1.25rem;color:var(--color-charcoal)}
.prose figure{margin:2rem 0}
.prose figure img{border-radius:var(--radius-md)}
.prose figcaption{font-size:.85rem;color:var(--color-text-secondary);margin-top:.5rem}
.post-feature{max-width:1040px;margin:-1rem auto 0;position:relative;z-index:1}
.post-feature img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}

/* ---------- blog cards (index grid + related posts) ---------- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.75rem}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden;color:inherit;transition:box-shadow var(--duration-normal) var(--ease-out),transform var(--duration-normal) var(--ease-out)}
.post-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-4px);color:inherit}
.post-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--color-cream)}
.post-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.post-card:hover .post-card-img img{transform:scale(1.05)}
.post-card-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.post-card time{font-size:.8125rem;color:var(--color-text-secondary);letter-spacing:.02em}
.post-card h3{font-size:1.3rem;line-height:1.25}
.post-card p{font-size:.9375rem;line-height:1.6;flex:1}
.post-grid--featured .post-card:first-child{grid-column:1/-1;flex-direction:row}
.post-grid--featured .post-card:first-child .post-card-img{flex:1.2;aspect-ratio:auto;min-height:320px}
.post-grid--featured .post-card:first-child .post-card-body{flex:1;justify-content:center;padding:2rem 2.25rem}
.post-grid--featured .post-card:first-child h3{font-size:clamp(1.5rem,2.6vw,2rem)}

/* ---------- 404 ---------- */
.nf-links{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}

/* ---------- interior responsive ---------- */
@media (max-width:980px){
  .i-intro-grid,.i-doctor,.i-faq{grid-template-columns:1fr}
  .i-intro--flip .i-intro-media{order:0}
  .i-faq-aside{position:static}
  .i-doctor-photo{max-width:340px;margin:0 auto}
  .post-grid--featured .post-card:first-child{flex-direction:column}
  .post-grid--featured .post-card:first-child .post-card-img{min-height:0;aspect-ratio:16/10}
}
@media (max-width:640px){
  .i-chip{left:.75rem;bottom:.75rem}
  .i-step{grid-template-columns:44px 1fr;gap:.875rem}
  .i-step::before{width:44px;height:44px;font-size:1rem}
  .i-steps-line{left:21px}
  .cta-band .final-cta-buttons{flex-direction:column;align-items:stretch}
  .cta-band .cta-on-dark{justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .js .page-hero-panel{opacity:1;transform:none;animation:none}
  .i-steps-line line{stroke-dashoffset:0}
  .reveal-section .i-intro-media img{clip-path:none}
}

/* aurora drift on an interior seam: add .i-aur to an .i-section that also has a seam-from-* class,
   and put <div class="aur" aria-hidden="true"></div> as its first child */
.i-section.i-aur{isolation:isolate;--seam:220px;--aur-k:.3;--aur-top:var(--seam-from,var(--bg));--aur-bot:var(--bg)}
.i-section.i-aur>.container{position:relative}

/* Contrast fix 2026-10-14 (SPEC verifier B2): white text needs >= 4.5:1.
   #1a8a7d/white 4.22 and #e07c5a/white 2.92 failed; #0e6b61/white 6.37 and #b4532f/white 4.98 pass. */
.top-bar,.about-badge{background:var(--color-primary-dark)}
.cta-primary,.cta-on-dark.primary{background:#b4532f}
.cta-primary:hover,.cta-on-dark.primary:hover{background:#a84d2b}
.cta-secondary:hover{background:var(--color-primary-dark)}

/* Overflow fix 2026-10-14: the off-canvas mobile panel and the 108vw aurora layer widened body.scrollWidth
   (1498 at 1440, 1320 at 430). Clip them inside their own containers. */
.mobile-menu{overflow:hidden}
:where(section,header,div):has(>.aur){overflow-x:clip}
/* FAQ as details/summary (always open, no marker) for FAQ-parity gate */
details.faq-item>summary,details.post-faq>summary{list-style:none;cursor:default}
details.faq-item>summary::-webkit-details-marker,details.post-faq>summary::-webkit-details-marker{display:none}
details.faq-item>summary h3,details.post-faq>summary h3{display:block}

/* Tap targets (mobile): 44px minimum hit area for standalone links, no visual change to type size */
@media (max-width:768px){
  .footer-col li{margin-bottom:0}
  .footer-col li a,.footer-contact-row a,.footer-bottom-links a,.doctor-card-link,.top-bar-info a.phone-mobile,.phone-mobile{display:inline-flex;align-items:center;min-height:44px}
  .footer-bottom-links{gap:.5rem 1.25rem;flex-wrap:wrap}
}
@media (max-width:768px){
  .location-info-row a{display:inline-flex;align-items:center;min-height:44px}
}

/* =====================================================================
   OPERATOR FIXES 2026-10-14 (REJECTED.md: uneven header sizes, chevrons)
   ===================================================================== */
/* header: links, phone and Book button share one visual scale */
.nav-link{font-size:.85rem}
.header-cta{gap:.75rem}
.header-phone{font-size:.85rem;font-weight:500;line-height:1.2}
.header-cta > .cta-primary{font-size:.85rem;font-weight:600;line-height:1.2;padding:.55rem 1.1rem;min-height:40px;border-width:1px;box-shadow:0 2px 8px rgba(180,83,47,.3)}
@keyframes pulseGlow{0%,100%{box-shadow:0 2px 8px rgba(224,124,90,.35)}50%{box-shadow:0 3px 18px rgba(224,124,90,.6)}}
@media (max-width:1240px){.nav-link{padding:.5rem .5rem}.header-inner{gap:1rem}}
/* buttons: centered labels, no trailing chevron */
.cta-primary,.cta-secondary,.cta-on-dark{justify-content:center;text-align:center}
/* location: no empty gap between the details and the button */
.location-grid{align-items:start}
.location-card .location-ctas{margin-top:0;padding-top:1.25rem}
.location-map{align-self:stretch}
/* interior heroes, mobile: the photo reads above a lighter, less blurred card */
@media (max-width:640px){
  .page-hero{padding-top:calc(var(--hp-h) - 2.5rem);--hp-h:clamp(240px,70vw,320px)}
  .page-hero-bg{height:var(--hp-h);bottom:auto;object-position:var(--hero-pos-m,center 50%)}
  .page-hero::before{background:linear-gradient(to bottom,rgba(26,23,21,0) 0,rgba(26,23,21,0) calc(var(--hp-h) - 120px),#1a1715 var(--hp-h))}
  .page-hero-panel{backdrop-filter:blur(4px) saturate(1.2);-webkit-backdrop-filter:blur(4px) saturate(1.2);background:rgba(26,23,21,.6)}
  /* subject position per photo (each is a ~2.9:1 panorama with the subject off centre) */
  .page-hero-bg[src*="same-day-crowns-hero"]{--hero-pos-m:66% 60%}
  .page-hero-bg[src*="dental-implants-hero"]{--hero-pos-m:66% 60%}
  .page-hero-bg[src*="cosmetic-dentistry-hero"]{--hero-pos-m:68% 30%}
  .page-hero-bg[src*="doctors-new-patients-hero"]{--hero-pos-m:76% 50%}
  .page-hero-bg[src*="emergency-dentist-hero"]{--hero-pos-m:56% 45%}
  .page-hero-bg[src*="general-dentistry-hero"]{--hero-pos-m:64% 40%}
  .page-hero-bg[src*="orthodontics-hero"]{--hero-pos-m:68% 35%}
  .page-hero-bg[src*="blog-hero"]{--hero-pos-m:62% 60%}
}
/* orthodontist headshot: pinned to the top of the card, not floating mid-column */
.o-headshot{align-self:start;position:sticky;top:calc(var(--header-h,80px) + 2rem)}
@media (max-width:980px){.o-headshot{position:static}}
/* process steps: small teal dot on the drawn line, no 01..06 numerals (operator 2026-10-14) */
.i-step::before{content:'';justify-self:center;width:14px;height:14px;margin-top:1.55rem;border:0;border-radius:50%;background:var(--color-primary);box-shadow:0 0 0 5px var(--bg,var(--color-off-white)),0 0 0 6.5px rgba(26,138,125,.25);font-size:0}
/* card text links: no trailing chevrons (operator 2026-10-14) */
:is(.i-card,.post-card,.service-card,.doctor-card,.doctor-card-link,.service-card-more,.service-card-cta,.i-card-more) svg:has(polyline[points="9 18 15 12 9 6"]){display:none}

/* axe color-contrast fix 2026-10-14: small teal labels and links used #1a8a7d (4.22:1 on white). */
.service-card-more,.role,.kicker,.i-doctor-card .kicker,.cta-secondary,.post-card .post-meta,.i-card-body .role{color:var(--color-primary-dark)}
/* axe link-in-text-block: links inside prose must not rely on color alone. */
.i-faq-aside p a,aside p a,.prose a,.i-section p a:not([class]){text-decoration:underline;text-underline-offset:2px}
.footer-col a.cta-primary,.footer-col a.cta-primary:hover{color:#fff}
.post-card svg,.service-card-cta svg,.service-card-more svg{width:14px;height:14px;flex:none}

/* =====================================================================
   OPERATOR TWEAKS 2026-10-14 round 2 (REJECTED.md: flat dull orange CTA; trust bar alignment)
   ===================================================================== */
/* primary CTA: brighter orange gradient + light sweep. Technique ported from the operator's builds:
   Avery CPA (yudien-cpa/deploy/index.html .nav-cta: 135deg multi-stop gradient at 200% that slides on hover,
   ctaGlow pulse) and Chabad on Wheels (clients/chabad-on-wheels/deploy/assets/site.css .sweep: 115deg light band).
   Here the band is a ::before moved by transform only, on a 5s interval, behind the label (z-index:-1 inside the
   button's own stacking context). White label (0.85 to 0.94rem, not large text) needs >= 4.5:1, so the diagonal
   runs #c9501a 4.52 / #c24c17 4.84 / #b04416 5.70 and the brighter orange is a top gloss that fades out above the
   label line box (rendered-pixel check in audit/feedback.md). The 200% slide was dropped: it spread the light stop
   under the label (3.2:1 measured). */
.cta-primary,.cta-on-dark.primary{
  position:relative;isolation:isolate;overflow:hidden;
  background-color:#c24c17;
  background-image:linear-gradient(180deg,rgba(255,163,112,.6) 0%,rgba(255,163,112,0) 21%),linear-gradient(135deg,#c9501a 0%,#c24c17 50%,#b04416 100%);
  background-size:100% 100%;
  border-color:rgba(255,190,150,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 3px 12px rgba(240,129,79,.38);
  transition:transform var(--duration-fast,.2s) var(--ease-out,ease),box-shadow .25s ease}
.cta-primary::before,.cta-on-dark.primary::before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,236,210,0) 35%,rgba(255,240,222,.5) 50%,rgba(255,236,210,0) 65%);
  transform:translateX(-130%)}
.cta-primary:hover,.cta-primary:focus-visible,.cta-on-dark.primary:hover,.cta-on-dark.primary:focus-visible{
  background-color:#c9501a;
  background-image:linear-gradient(180deg,rgba(255,170,122,.75) 0%,rgba(255,170,122,0) 21%),linear-gradient(135deg,#c9501a 0%,#c9501a 50%,#be4b18 100%);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 6px 22px rgba(240,129,79,.5)}
@media (prefers-reduced-motion:no-preference){
  .cta-primary::before,.cta-on-dark.primary::before{animation:ctaShimmer 5s ease-in-out infinite}
  .cta-primary:nth-of-type(2n)::before{animation-delay:1.2s}
}
@keyframes ctaShimmer{0%{transform:translateX(-130%)}28%,100%{transform:translateX(130%)}}
@keyframes pulseGlow{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 2px 8px rgba(240,129,79,.38)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 3px 20px rgba(240,129,79,.65)}}
@media (prefers-reduced-motion:reduce){
  .cta-primary,.cta-on-dark.primary{transition:none}
  .cta-primary::before,.cta-on-dark.primary::before{animation:none;display:none}
  .cta-primary:hover,.cta-on-dark.primary:hover{transform:none}
}
/* trust bar: items left-aligned on a shared left edge per column; the grid itself stays centered */
.trust-row{grid-template-columns:repeat(2,max-content);justify-content:center;justify-items:start}
.trust-item{justify-content:flex-start;text-align:left;align-items:center}
@media (max-width:640px){.trust-row{grid-template-columns:max-content;justify-content:start}}
/* operator 2026-10-14: nudge the header phone a few characters left of the Book button */ .header-phone{margin-right:2.25ch}

/* contrast fix 2026-10-14 (aurora audit): #1a8a7d text on white 4.22 / cream 3.78. #0e6b61 is 6.37 / 5.71. */
main a:not([class]),main .ip-related h3,main .dnp-team-card .role{color:var(--color-primary-dark)}
main a:not([class]):hover{color:#0a524a}


/* =====================================================================
   FIX WAVE 2026-11-12 (pre-deploy audit round: web designer, graphic designer, marketer)
   ===================================================================== */

/* W4 seams: the reveal fades a section's CONTENT, never its background, so every seam gradient
   is visible before and during the reveal (a hidden section used to show the page ground and fake a hard cut).
   Only <section> elements change; reveal-section divs (glass panels) keep the whole-element fade. */
.js section.reveal-section{opacity:1;transform:none;transition:none}
.js section.reveal-section>.container{opacity:0;transform:translateY(30px);transition:opacity var(--duration-slow) var(--ease-out),transform var(--duration-slow) var(--ease-out)}
.js section.reveal-section.revealed>.container{opacity:1;transform:none}
@media (max-width:768px){.js section.reveal-section>.container{transition-duration:0ms!important}}

/* W3 mobile call/book bar (markup lives in templates/_chrome/footer.html; hidden on the 404 page) */
.mobile-bar{display:none}
@keyframes mbFade{from{opacity:0}to{opacity:1}}
@media (max-width:1024px){
  .mobile-bar{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;position:fixed;left:0;right:0;bottom:0;z-index:990;
    padding:.5rem max(.75rem,env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left));
    background:#fff;border-top:1px solid var(--color-border);box-shadow:0 -4px 18px rgba(45,41,38,.10);animation:mbFade .3s ease both}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.5rem .75rem;border-radius:var(--radius-full);border:2px solid transparent;font-size:.9375rem;font-weight:600;line-height:1.2;text-align:center}
  .mobile-bar svg{width:16px;height:16px;flex:none}
  .mobile-bar .mb-call{border-color:var(--color-primary-dark);color:var(--color-primary-dark);background:#fff}
  .mobile-bar .mb-call:hover{background:var(--color-primary-50);color:var(--color-primary-dark)}
  /* Book Online: same gradient, top gloss, glow and shimmer as .cta-primary (REJECTED 2026-10-14: flat dull orange CTA).
     White label contrast: gradient stops 4.52 / 4.84 / 5.70, gloss fades out above the label line box, hover 4.52 to 4.99. */
  .mobile-bar .mb-book{position:relative;isolation:isolate;overflow:hidden;color:#fff;
    background-color:#c24c17;
    background-image:linear-gradient(180deg,rgba(255,163,112,.6) 0%,rgba(255,163,112,0) 21%),linear-gradient(135deg,#c9501a 0%,#c24c17 50%,#b04416 100%);
    border-color:rgba(255,190,150,.45);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 3px 12px rgba(240,129,79,.38)}
  .mobile-bar .mb-book::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:linear-gradient(115deg,rgba(255,236,210,0) 35%,rgba(255,240,222,.5) 50%,rgba(255,236,210,0) 65%);
    transform:translateX(-130%)}
  .mobile-bar .mb-book:hover,.mobile-bar .mb-book:focus-visible{color:#fff;
    background-color:#c9501a;
    background-image:linear-gradient(180deg,rgba(255,170,122,.75) 0%,rgba(255,170,122,0) 21%),linear-gradient(135deg,#c9501a 0%,#c9501a 50%,#be4b18 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 6px 22px rgba(240,129,79,.5)}
  @media (prefers-reduced-motion:no-preference){
    .mobile-bar .mb-book{animation:pulseGlow 3s ease-in-out infinite}
    .mobile-bar .mb-book::before{animation:ctaShimmer 5s ease-in-out infinite}
  }
  /* footer carries the bar's height so the bar never covers footer content */
  body:not(.page-404) .site-footer{padding-bottom:calc(5rem + env(safe-area-inset-bottom))}
  html{scroll-padding-bottom:5rem}
  /* bar waits until the first screen (and its hero CTAs) has scrolled away; site.js adds .is-on */
  .js .mobile-bar{transition:opacity .25s ease,transform .25s ease,visibility 0s .25s}
  .js .mobile-bar:not(.is-on){opacity:0;visibility:hidden;transform:translateY(100%);animation:none}
  .js .mobile-bar.is-on{transition:opacity .25s ease,transform .25s ease,visibility 0s}
}
.page-404 .mobile-bar{display:none}
@media (prefers-reduced-motion:reduce){.mobile-bar{animation:none}}

/* W9 mobile top bar phone: readable size, full white on dark teal (6.4:1), 44px tap height (set above) */
@media (max-width:640px){
  .top-bar{font-size:.875rem}
  .top-bar-info a.phone-mobile{color:#fff;font-size:.875rem;font-weight:500;min-width:44px}
  .top-bar-info svg{width:15px;height:15px;opacity:.9}
}

/* W8 footer: icon and text share one row; link rows centre the icon on the 44px tap box */
.footer-contact-row:has(>a){align-items:center}
.footer-contact-row:has(>a) svg{margin-top:0}

/* W12 blog: card link reads as the site text link; post disclaimer */
.post-card .service-card-cta{display:inline-flex;align-items:center;gap:.4rem;color:var(--color-primary-dark);font-size:.875rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.post-card:hover .service-card-cta{color:#0a524a}
.prose .post-note{max-width:none;margin-top:2.25rem;padding-top:1rem;border-top:1px solid var(--color-border);font-size:.875rem;line-height:1.6;color:var(--color-text-secondary)}

/* W13 interior hero CTAs: one layout everywhere (side by side from 641px up, stacked full width below) */
@media (min-width:641px){
  section.page-hero .page-hero-ctas{flex-wrap:nowrap}
  section.page-hero .page-hero-ctas a{white-space:nowrap;padding-left:1.35rem;padding-right:1.35rem}
}
@media (max-width:640px){
  section.page-hero .page-hero-ctas{flex-direction:column;align-items:stretch}
  section.page-hero .page-hero-ctas a{justify-content:center;text-align:center}
}

/* W13 in-section CTAs at 430: full width, centred, matching widths */
@media (max-width:640px){
  .i-section a.cta-primary,.i-section a.cta-secondary,.about-ctas a,.resources-ctas a{display:flex;width:100%;justify-content:center;text-align:center}
  .about-ctas,.resources-ctas,.i-doctor-ctas{flex-direction:column;align-items:stretch}
}

/* W6 interior pages at 430: hero card to first heading was 225-320px of blank space */
@media (max-width:640px){
  .page-hero{--seam-h:48px;padding-bottom:1.75rem}
  .page-hero+.i-section.i-section{padding-top:2.25rem}
}

/* =====================================================================
   FINAL POLISH WAVE 2026-11-12 (round 2 audit)
   ===================================================================== */

/* gd-N7: legal pages and 404 end on a cream section; wash it into the dark footer like .cta-band::after does on service pages.
   Extra bottom padding keeps the last line of text out of the 120px wash. */
main>.aur-header+.i-section:last-child{padding-bottom:calc(var(--section-padding) + 4.5rem)}
main>.aur-header+.i-section:last-child::after{content:'';position:absolute;left:0;right:0;bottom:0;height:120px;pointer-events:none;background:linear-gradient(to bottom,rgba(26,23,21,0),#1a1715)}

/* web N5: footer contact rows share one 44px row height and 8px gap, icon centred on the first line at 430 */
@media (max-width:768px){
  .footer-contact-row{min-height:44px;margin-bottom:.5rem;align-items:center}
  .footer-contact-row svg{margin-top:0}
  .footer-contact-row:nth-of-type(4){align-items:flex-start;padding-top:.76rem}
  .footer-contact-row:nth-of-type(4) svg{margin-top:.2rem}
}
/* location: hours card and map end on the same line (operator 2026-11-13: "align the bottom of the cards");
   the address card keeps the no-gap layout from 2026-10-14 */
.location-grid>.location-card:has(.hours-table){align-self:stretch}
.location-card:has(.hours-table) .location-ctas{margin-top:auto}

/* click-to-load Google map (site.js): button over the static preview, iframe replaces it, address panel drops below */
[data-map-card] [hidden]{display:none!important}
.map-load.cta-secondary{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%);z-index:3;min-height:44px;justify-content:center;text-align:center;cursor:pointer;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 16px rgba(45,41,38,.18);white-space:normal}
.map-load.cta-secondary:hover,.map-load.cta-secondary:focus-visible{background:var(--color-primary);color:#fff;transform:translate(-50%,-50%)}
.map-embed{display:block;border:0;width:100%;flex:1 1 auto;min-height:320px}
.map-card.is-live{display:flex;flex-direction:column;align-items:stretch;padding:0}
.map-card.is-live .map-card-panel{max-width:none;margin:0;border:0;border-top:1px solid var(--color-border);border-radius:0;box-shadow:none;background:#fff}
.dnp-map.is-live{display:flex;flex-direction:column}
.dnp-map.is-live .dnp-map-card{position:static;max-width:none;border-radius:0;box-shadow:none;background:#fff}
@media (max-width:760px){.dnp-map .map-load.cta-secondary{top:105px}}
@media (max-width:640px){
  .map-load.cta-secondary{top:130px}
  .map-embed{height:300px;flex:none;min-height:0}
}
/* audit 2026-11-13: role label on the orthodontist card used the lighter teal (4.22:1); darker teal passes */
.i-doctor-card .role{color:var(--color-primary-dark)}
/* audit 2026-11-13 (CLS): start the header offsets at the measured real heights so site.js has nothing to correct
   after load (old defaults 58/80 shifted the header and hero up ~30px). Measured on the M4, Chrome, after fonts. */
:root{--topbar-h:31px;--header-h:77px}
@media (max-width:768px){:root{--topbar-h:55px}}
@media (max-width:640px){:root{--topbar-h:55px;--header-h:69px}}

/* footer credit, same pattern as sherrcpa (operator 2026-11-17) */
.site-footer a.credit{color:rgba(255,255,255,.85);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.site-footer a.credit:hover{color:#fff;text-decoration-thickness:2px}
.site-footer a.credit:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}

/* top contact bar removed (operator 2026-11-17: 'we dont need the thin green bar'); header sits at the very top */
:root{--topbar-h:0px}
@media (max-width:768px){:root{--topbar-h:0px}}
