/* Main navigation retains the original mobile menu, with room for Pricing. */
@media(min-width:971px) and (max-width:1200px){.masthead .nav{gap:10px}.masthead .topbar{gap:10px}}
.masthead .nav a[aria-current="page"]:not(.nav-contact)::after{transform:scaleX(1)}
.d3-pricing-link{padding:25px 0;background:#f6f1ea;border-block:1px solid #e2d9cc}
.d3-pricing-link .container{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.d3-pricing-link h2{font:400 clamp(23px,2.4vw,31px)/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.015em;margin:0 0 6px;color:#071f3a}
.d3-pricing-link p{color:#425267;font-size:14px;line-height:1.6;margin:0;max-width:720px}
.d3-pricing-link .btn{flex:none}

/* Keep the original site header accessible while the page scrolls. */
@media screen {
  html { --d3-header-height: 123px; scroll-padding-top: calc(var(--d3-header-height) + 12px); }
  header.masthead { position: sticky; top: 0; }
  @media (max-width: 1200px) { html { --d3-header-height: 105px; } }
  @media (max-width: 970px) {
    html { --d3-header-height: 93px; }
    header.masthead .nav.open {
      max-height: calc(100vh - var(--d3-header-height));
      max-height: calc(100dvh - var(--d3-header-height));
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    header.masthead .nav.open > a { flex-shrink: 0; }
  }
  @media (max-width: 720px) { html { --d3-header-height: 84px; } }
}
