/* Mobile extension: Source Serif 4 wordmark, Arial menu; white, ink, copper. */
.site-header .mobile-menu-toggle { display: none; }
.site-header.has-mobile-menu .teaser-nav[hidden],
.site-header .mobile-menu-toggle[hidden] { display: none !important; }

@media (max-width: 900px) {
  html.mobile-navigation-ready { --header-h: 64px; }
  .site-header.has-mobile-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: center;
    min-height: var(--header-h);
    height: var(--header-h);
    gap: 0;
  }
  .site-header.has-mobile-menu .wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header.has-mobile-menu > .header-note { display: none; }
  .site-header.has-mobile-menu .mobile-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink, #1c1c1a);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header.has-mobile-menu .mobile-menu-toggle:hover { color: var(--rust, #a74c34); }
  .site-header.has-mobile-menu .mobile-menu-toggle:focus-visible { outline: 2px solid var(--copper, #c8714d); outline-offset: 1px; }
  .site-header.has-mobile-menu .teaser-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100vw;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 20px 18px 28px;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid rgba(28, 28, 26, .15);
    box-shadow: 0 12px 20px rgba(23, 23, 21, .06);
    text-align: center;
  }
  .site-header.has-mobile-menu .teaser-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    color: var(--ink, #1c1c1a);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.005em;
    white-space: normal;
  }
  .site-header.has-mobile-menu .teaser-nav a:hover,
  .site-header.has-mobile-menu .teaser-nav a[aria-current="page"],
  .site-header.has-mobile-menu .teaser-nav a.is-section { color: var(--rust, #a74c34); border: 0; }
  .site-header.has-mobile-menu .teaser-nav a::before { content: none; }
  .site-header.has-mobile-menu .teaser-nav .nav-item { display: block; width: 100%; }
  /* Existing service anchors remain directly accessible on touch screens. */
  .site-header.has-mobile-menu .teaser-nav .dd {
    position: static;
    display: grid;
    width: auto;
    min-width: 0;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    list-style: none;
  }
  .site-header.has-mobile-menu .teaser-nav .dd::before { content: none; }
  .site-header.has-mobile-menu .teaser-nav .dd a.dd-link {
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted, #68625a);
    background: none;
  }
  .site-header.has-mobile-menu .teaser-nav .dd a.dd-link:hover { color: var(--rust, #a74c34); }
  .site-header.has-mobile-menu .teaser-nav .header-cta {
    align-self: center;
    width: auto;
    min-height: 44px;
    margin-top: 18px;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--ink, #1c1c1a);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }
  .site-header.has-mobile-menu .teaser-nav .header-cta:hover { background: var(--rust, #a74c34); color: #fff; }
}
