/* FORME site header — Grand Street–style nav in FORME colors/fonts.
   >=900px: horizontal bar with dropdowns. <900px: same 5 items in a slide-out panel. */
.fh{
  display:block;position:fixed;top:0;left:0;right:0;z-index:1000;height:80px;
  background:#F7F3ED;border-bottom:1px solid rgba(10,31,22,.08);
  font-family:'Montserrat',sans-serif;transition:box-shadow .3s ease;
}
.fh.is-scrolled{box-shadow:0 4px 24px rgba(10,31,22,.08)}
.fh *{box-sizing:border-box}
.fh nav{position:static!important;display:block!important;background:none!important;padding:0!important;width:auto!important;height:100%;z-index:auto;box-shadow:none!important}
.fh-inner{height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 0 0 40px}
.fh-logo{font-weight:700;font-size:26px;letter-spacing:.16em;color:#0A1F16;text-decoration:none;line-height:1}
/* small DENTAL under the wordmark, from the center of the O to the center of the M */
.fh-logo{position:relative;display:inline-block;padding-bottom:.385em}
.fh-ld{position:absolute;left:27.9%;width:42.15%;bottom:0;display:flex;justify-content:space-between;font-size:.3077em;font-weight:500;letter-spacing:0;line-height:1;color:inherit}
.fh-right{display:flex;align-items:stretch;height:100%}
.fh-menu{display:flex;align-items:stretch;list-style:none;margin:0;padding:0 16px 0 0;height:100%}
.fh-item{position:relative;display:flex;align-items:center}
.fh-link{
  display:flex;align-items:center;height:100%;padding:0 22px;
  font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:#0A1F16;text-decoration:none;background:none;border:0;cursor:pointer;font-family:inherit;
  transition:color .2s ease;
}
.fh-link:hover,.fh-item:focus-within>.fh-link,.fh-item.is-open>.fh-link,.fh-link.is-active{color:#1A4A35}
.fh-link.is-active{box-shadow:inset 0 -2px 0 #C9A055}
.fh a:focus-visible,.fh button:focus-visible{outline:3px solid #1A4A35;outline-offset:2px}
.fh .fh-book:focus-visible{outline:3px solid #F7F3ED;outline-offset:-6px}

/* dropdown panels */
.fh-panel{
  position:absolute;top:100%;left:0;min-width:240px;padding:28px 36px;
  background:#fff;box-shadow:0 12px 40px rgba(10,31,22,.12);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s;
}
.fh-item:hover>.fh-panel,.fh-item:focus-within>.fh-panel,.fh-item.is-open>.fh-panel{
  opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .2s ease;
}
.fh-panel ul{list-style:none;margin:0;padding:0}
.fh-panel li+li{margin-top:5px}
.fh-panel a{
  font-family:'Inter',sans-serif;font-size:15px;font-weight:400;letter-spacing:.01em;
  color:#0A1F16;text-decoration:none;white-space:nowrap;transition:color .2s ease;
}
.fh-panel a:hover{color:#1A4A35;text-decoration:underline;text-decoration-color:#C9A055;text-underline-offset:4px}
.fh-panel a[aria-current="page"]{color:#1A4A35;text-decoration:underline;text-decoration-color:#C9A055;text-decoration-thickness:2px;text-underline-offset:6px}

/* services mega-menu */
.fh-mega{display:flex;gap:0;padding:32px 0;left:50%;transform:translate(-50%,6px)}
.fh-item:hover>.fh-mega,.fh-item:focus-within>.fh-mega,.fh-item.is-open>.fh-mega{transform:translate(-50%,0)}
.fh-col{padding:0 36px}
.fh-col+.fh-col{border-left:2px solid #E6DFD3}
.fh-col .fh-col-title{margin:0 0 18px;font-family:'Montserrat',sans-serif;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.fh-col .fh-col-title a{font-family:inherit;font-size:inherit;font-weight:inherit;color:#1A4A35}
.fh-col .fh-col-title a:hover{color:#7A6328;text-decoration:none}
.fh-col li+li{margin-top:14px}

/* book online block */
.fh-book{
  display:flex;align-items:center;padding:0 40px;height:100%;
  background:#1A4A35;color:#F7F3ED;text-decoration:none;
  font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  transition:background .25s ease;
}
.fh-book:hover{background:#0A1F16;color:#F7F3ED}

/* menu toggle + slide-out drawer (narrow screens) */
.fh-toggle{display:none}
.fh-drawer,.fh-scrim{display:none}

/* replace every page's older nav at all sizes */
body>nav:not(.fh),body>.mobile-overlay{display:none!important}
nav[code-path^="src/sections/Navigation.tsx"]{display:none!important}
body{padding-top:80px}
body.fh-home{padding-top:0}

@media (min-width:900px) and (max-width:1240px){
  .fh-inner{padding-left:24px}
  .fh-logo{font-size:22px}
  .fh-link{padding:0 12px;font-size:12px;letter-spacing:.08em}
  .fh-menu{padding-right:8px}
  .fh-book{padding:0 22px;font-size:12px}
}

@media (max-width:899px){
  .fh{height:72px}
  body{padding-top:72px}
  .fh-inner{padding:0 8px 0 24px}
  .fh-logo{font-size:24px}
  .fh-right>nav,.fh-right>.fh-book{display:none!important}
  .fh-toggle{
    display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:6px;
    width:48px;height:48px;padding:12px;background:none;border:0;cursor:pointer;
  }
  .fh-toggle span{display:block;height:2px;background:#0A1F16;border-radius:1px}
  .fh-toggle span:nth-of-type(2){width:24px}
  .fh-toggle span:nth-of-type(3){width:16px}
  .fh-right{align-items:center}

  .fh-scrim{
    display:block;position:fixed;inset:0;background:rgba(10,31,22,.45);
    opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s;
  }
  .fh-drawer{
    display:flex;flex-direction:column;position:fixed;top:0;right:0;bottom:0;
    width:min(420px,100%);background:#F7F3ED;overflow-y:auto;
    transform:translateX(100%);visibility:hidden;
    transition:transform .35s cubic-bezier(.2,.7,.2,1),visibility 0s linear .35s;
  }
  .fh.is-menu-open .fh-scrim{opacity:1;visibility:visible;transition:opacity .3s ease}
  .fh.is-menu-open .fh-drawer{transform:none;visibility:visible;transition:transform .35s cubic-bezier(.2,.7,.2,1)}

  .fh-drawer-top{display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 8px 0 24px;border-bottom:1px solid rgba(10,31,22,.1)}
  .fh-close{
    width:48px;height:48px;border-radius:50%;border:0;background:rgba(10,31,22,.06);cursor:pointer;
    display:flex;align-items:center;justify-content:center;color:#0A1F16;
  }
  .fh-dlist{list-style:none;margin:0;padding:8px 24px}
  .fh-dlist>li{border-bottom:1px solid rgba(10,31,22,.1)}
  .fh-drow{display:flex;align-items:center;justify-content:space-between}
  .fh-dlink{
    flex:1;display:block;padding:20px 0;font-size:20px;font-weight:600;letter-spacing:.08em;
    text-transform:uppercase;color:#0A1F16;text-decoration:none;
  }
  .fh-dlink[aria-current="page"]{color:#1A4A35;text-decoration:underline;text-decoration-color:#C9A055;text-decoration-thickness:2px;text-underline-offset:6px}
  .fh-dexp{
    width:48px;height:48px;border:0;background:none;cursor:pointer;color:#0A1F16;
    display:flex;align-items:center;justify-content:center;
  }
  .fh-dexp svg{transition:transform .25s ease}
  .fh-dexp[aria-expanded="true"] svg{transform:rotate(180deg)}
  .fh-dsub{list-style:none;margin:0;padding:0 0 16px 16px}
  .fh-dsub[hidden]{display:none}
  .fh-dsub a{
    display:block;padding:7px 0;font-family:'Inter',sans-serif;font-size:17px;font-weight:500;
    color:#7A6328;text-decoration:none;
  }
  .fh-dsub a[aria-current="page"]{color:#0A1F16;text-decoration:underline}
  .fh-dfoot{margin-top:auto;padding:24px}
  .fh-dbook{
    display:flex;align-items:center;justify-content:center;min-height:52px;
    background:#1A4A35;color:#F7F3ED;text-decoration:none;
    font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  }
  .fh-dfoot p{margin:20px 0 4px;font-family:'Inter',sans-serif;font-size:14px;color:#4A5A50}
  .fh-dfoot .fh-dphone{font-family:'Inter',sans-serif;font-size:18px;font-weight:500;color:#0A1F16;text-decoration:none}
  .fh-dsocial{display:flex;gap:12px;margin-top:20px}
  .fh-dsocial a{
    width:48px;height:48px;border-radius:50%;border:1px solid rgba(10,31,22,.35);
    display:flex;align-items:center;justify-content:center;color:#0A1F16;
  }
  html.fh-lock,html.fh-lock body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){
  .fh-drawer,.fh-scrim,.fh-dexp svg{transition:none!important}
}

.fsr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* no sideways scrolling on narrow screens (WCAG 1.4.10 Reflow) */
html,body{overflow-x:clip}
@supports not (overflow-x:clip){html,body{overflow-x:hidden}}

/* registered-trademark mark (BOTOX®) — small, raised, no line-height jump */
sup.reg{font-size:.55em;line-height:0;vertical-align:super;margin-left:.04em;font-weight:inherit}

/* "All Services" sits above a thin divider, apart from the focused treatments */
.fh-panel li.fh-all{padding-top:11px;border-top:1px solid rgba(10,31,22,.14)}
.fh-dsub li.fh-all{padding-top:10px;margin-top:4px;border-top:1px solid rgba(10,31,22,.14)}

/* Cream page background site-wide (Our Story main.ab and doctor pages main.dp keep their own colors) */
html body:not(:has(main.ab)):not(:has(main.dp)){background:#F7F3ED}
html body main.sv,html body main.gal,html body main.fq,html body main.ct,html body main.np,html body main.fs,html body section.fsvc{background:#F7F3ED}
html body main :is(.sv-index-col,.sv-box,.sv-cta,.svp-card,.svp-checks li,.svp-steps li,.svp-related a,.svp-table thead td,.svp-table thead th,.gd-card,.gd-checks li,.gd-glance div,.gd-related a,.gal-cta,.fq-cta,.ct-card,.np-box,.np-plans li,.np-steps li,.ms-plan,.ms-why .ms-perks li){background:#FFFDF9}
html body main .sv-box{--ic-cut:#FFFDF9}
html body main :is(.sv-photo,.ct-map,.svp-video){background:#EFE9E0}

/* Page headings: warm charcoal everywhere, matching the service pages */
html body main :is(h1,h2,h3):is(.ab-serif,.dp-serif,.sv-serif,.gal-serif,.fq-serif,.ct-serif,.np-serif,.gd-group-title),
html body main.sv > :is(h1,h2), html body main.sv .gd-head h1, html body main.sv article h2, html body main.fs h1{color:#1F1F1F}
html body main .gd-index h1, html body main .gd-group h2.gd-group-title, html body main h2.ms-terms-h{color:#1F1F1F}
/* Doctor names and "Biography" keep the FORME blue */
html body main :is(h1,h2).dp-serif, html body main h2.ab-serif{color:#276880}
/* New Patients / Membership small section titles in FORME blue */
html body main .np-eyebrow{color:#276880}
