/* ===================================================================
   Site header — centered layout + top-anchored dynamic island glass
   =================================================================== */

.site-header {
  --glass-opacity: 0;
  --glass-scale: 0.92;
  --island-radius: clamp(22px, 3.8vw, 34px);
  --island-width: min(1080px, calc(100% - 28px));
  --site-header-offset: 72px;
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  pointer-events: none;
  transition:
    top .5s cubic-bezier(0.22, 1, 0.36, 1),
    left .5s cubic-bezier(0.22, 1, 0.36, 1),
    width .5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* iPhone-style island: flat top flush to viewport, rounded bottom only */
.site-header-glass {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--island-width);
  height: 100%;
  border: none;
  border-radius: 0 0 var(--island-radius) var(--island-radius);
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
  backdrop-filter: blur(24px) saturate(1.55);
  opacity: var(--glass-opacity);
  transform: translateX(-50%) scaleY(var(--glass-scale));
  transform-origin: top center;
  box-shadow: 0 14px 42px rgba(17, 26, 74, 0.08);
  transition:
    opacity .55s cubic-bezier(0.22, 1, 0.36, 1),
    transform .55s cubic-bezier(0.22, 1, 0.36, 1),
    background .45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-header.is-tone-light .site-header-glass {
  background: rgba(14, 20, 32, 0.34);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.site-header.is-tone-dark .site-header-glass {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 40px rgba(17, 26, 74, 0.1);
}

.site-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  width: var(--island-width);
  max-width: 100%;
  margin: 0 auto;
  padding:
    clamp(16px, 2.8vw, 24px)
    clamp(14px, 3vw, 24px)
    clamp(18px, 3vw, 28px);
  pointer-events: auto;
}

/* At hero top (no island) keep breathing room inside the curved shell */
.site-header--home:not(.site-header--island) .site-header-inner {
  padding-top: clamp(18px, 3vw, 28px);
}

.site-header-side {
  display: none;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
}

@media (min-width: 900px) {
  .site-header-side {
    display: flex;
  }
}

.site-header-side a,
.site-header-side button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  transition: color .45s cubic-bezier(0.22, 1, 0.36, 1), opacity .25s ease;
}

.site-header-side a:hover,
.site-header-side button:hover {
  opacity: 0.82;
}

.site-header.is-tone-dark .site-header-side a,
.site-header.is-tone-dark .site-header-side button,
.site-header.is-tone-dark .site-header-toggle {
  color: rgba(17, 26, 74, 0.9);
}

.site-header.is-tone-dark .site-header-toggle {
  border-color: rgba(17, 26, 74, 0.16);
  background: rgba(17, 26, 74, 0.06);
}

.site-header.is-tone-light .site-header-side a,
.site-header.is-tone-light .site-header-side button,
.site-header.is-tone-light .site-header-toggle {
  color: rgba(255, 255, 255, 0.94);
}

.site-header.is-tone-light .site-header-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Mega menu triggers (What We Do / Solutions) ── */
.site-header-menu-item {
  position: relative;
  display: inline-flex;
}

.site-header-menu-item > a,
.site-header-menu-item > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-header-menu-caret {
  width: 9px;
  height: 6px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header-menu-item.is-menu-active .site-header-menu-caret {
  transform: rotate(180deg);
}

/* When a mega menu is open, force the island fully visible & flatten its
   bottom edge so the menu panel reads as one continuous shape beneath it */
.site-header--menu-open .site-header-glass {
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
  border-radius: var(--island-radius) var(--island-radius) 0 0;
}

.site-header-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: var(--island-width);
  max-width: calc(100% - 28px);
  transform: translateX(-50%);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  border-radius: 0 0 var(--island-radius) var(--island-radius);
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
  backdrop-filter: blur(24px) saturate(1.55);
  box-shadow: 0 24px 60px rgba(17, 26, 74, 0.16);
  transition:
    max-height .5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .35s ease,
    background .45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.site-header.is-tone-light .site-header-menu { background: rgba(14, 20, 32, 0.34); }
.site-header.is-tone-dark .site-header-menu { background: rgba(255, 255, 255, 0.68); }

.site-header--menu-open .site-header-menu {
  max-height: var(--menu-max-height, 640px);
  opacity: 1;
  pointer-events: auto;
}

.site-header-menu-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 30px);
}

.site-header-menu-panel.is-active {
  display: grid;
}

.site-header-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px 16px;
  align-content: start;
}

@media (min-width: 1100px) {
  .site-header-menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header-menu-grid--solutions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.site-header-menu-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.site-header-menu-cell:hover,
.site-header-menu-cell:focus-visible {
  background: rgba(var(--accent-rgb), 0.14);
  transform: translateX(2px);
}

.site-header-menu-cell-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--color-2);
  transition: background .25s ease, color .25s ease;
}

.site-header-menu-cell:hover .site-header-menu-cell-icon {
  background: var(--color-2);
  color: #ffffff;
}

.site-header-menu-cell-icon svg { width: 14px; height: 14px; }

.site-header-menu-cell-name {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: rgba(17, 26, 74, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-header-menu-cell.is-placeholder .site-header-menu-cell-name::after {
  content: " \00b7 Soon";
  font-weight: 500;
  color: rgba(236, 101, 43, 0.9);
}

.site-header.is-tone-light .site-header-menu-cell-name { color: rgba(255, 255, 255, 0.94); }
.site-header.is-tone-light .site-header-menu-cell-icon { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.site-header.is-tone-light .site-header-menu-cell:hover .site-header-menu-cell-icon { background: rgba(255, 255, 255, 0.9); color: rgba(17, 26, 74, 0.92); }
.site-header.is-tone-light .site-header-menu-cell:hover { background: rgba(255, 255, 255, 0.1); }

.site-header-menu-rail {
  display: flex;
  flex-direction: column;
  padding-left: clamp(18px, 3vw, 28px);
  border-left: 1px solid rgba(17, 26, 74, 0.08);
}

.site-header.is-tone-light .site-header-menu-rail { border-left-color: rgba(255, 255, 255, 0.16); }

.site-header-menu-rail-kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-2);
}

.site-header.is-tone-light .site-header-menu-rail-kicker { color: #f2a878; }

.site-header-menu-rail h4 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(17, 26, 74, 0.92);
}

.site-header.is-tone-light .site-header-menu-rail h4 { color: #ffffff; }

.site-header-menu-rail p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(17, 26, 74, 0.58);
}

.site-header-menu-rail p[data-rail-desc] {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-header.is-tone-light .site-header-menu-rail p { color: rgba(255, 255, 255, 0.62); }

.site-header-menu-rail-stat {
  margin: 14px 0 0;
  padding: 10px 12px 11px 14px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  border-left: 2px solid var(--color-2);
}

.site-header-menu-rail-stat[hidden] { display: none; }

.site-header-menu-rail-stat-label {
  display: block;
  margin-bottom: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-2);
}

.site-header-menu-rail p.site-header-menu-rail-stat-text {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(17, 26, 74, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-header.is-tone-light .site-header-menu-rail-stat {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #f2a878;
}

.site-header.is-tone-light .site-header-menu-rail-stat-label { color: #f2a878; }

.site-header.is-tone-light .site-header-menu-rail p.site-header-menu-rail-stat-text { color: rgba(255, 255, 255, 0.72); }

/* ── Contact mega menu panel ── */
.site-header-menu-panel--contact {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.site-header-contact-main {
  min-width: 0;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.16);
  color: rgba(17, 26, 74, 0.92);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.contact-panel-cta:hover,
.contact-panel-cta:focus-visible {
  background: var(--color-2);
  color: #ffffff;
  transform: translateY(-1px);
}

.contact-panel-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.14);
  color: inherit;
}

.contact-panel-cta:hover .contact-panel-cta-icon,
.contact-panel-cta:focus-visible .contact-panel-cta-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.contact-panel-cta-icon svg { width: 14px; height: 14px; }

.contact-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-panel-cell {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(17, 26, 74, 0.04);
  transition: background .25s ease, transform .25s ease;
}

.contact-panel-cell--link {
  text-decoration: none;
  color: inherit;
}

.contact-panel-cell--link:hover,
.contact-panel-cell--link:focus-visible {
  background: rgba(var(--accent-rgb), 0.14);
  transform: translateX(2px);
}

.contact-panel-cell-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--color-2);
}

.contact-panel-cell-icon svg { width: 14px; height: 14px; }

.contact-panel-cell-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-panel-cell-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 26, 74, 0.5);
}

.contact-panel-cell-value {
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 26, 74, 0.92);
}

.contact-panel-cell--emails {
  grid-column: span 1;
}

.contact-panel-email-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-panel-email-link {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  text-decoration: none;
  color: rgba(17, 26, 74, 0.88);
  transition: color .2s ease;
}

.contact-panel-email-link:hover,
.contact-panel-email-link:focus-visible {
  color: var(--color-2);
}

.contact-panel-email-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 26, 74, 0.55);
}

.contact-panel-email-address {
  font-size: 12.5px;
  font-weight: 600;
}

.contact-panel-location {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(17, 26, 74, 0.04);
}

.contact-panel-location-copy {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}

.contact-panel-location-text p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(17, 26, 74, 0.78);
}

.contact-panel-location-name {
  margin: 0 0 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(17, 26, 74, 0.92) !important;
}

.contact-panel-location-note {
  margin-top: 8px !important;
  font-size: 11.5px !important;
  color: rgba(17, 26, 74, 0.58) !important;
}

.contact-panel-map {
  position: relative;
  min-height: 108px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a2a28;
}

/* Google satellite tile layer — imagery only, no place cards / labels. */
.contact-panel-map-tiles {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 256px);
  grid-template-rows: repeat(3, 256px);
  width: 768px;
  height: 768px;
  pointer-events: none;
  will-change: transform;
}

.contact-panel-map-tiles img {
  display: block;
  width: 256px;
  height: 256px;
  filter: saturate(0.92) contrast(1.02);
}

.contact-panel-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin: -18px 0 0 -7px;
  border-radius: 50% 50% 50% 0;
  background: #ec652b;
  box-shadow: 0 2px 8px rgba(42, 52, 56, 0.35);
  transform: rotate(-45deg);
  pointer-events: none;
}

.contact-panel-map-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #ffffff;
}

.site-header.is-tone-light .contact-panel-cta { color: rgba(255, 255, 255, 0.94); }
.site-header.is-tone-light .contact-panel-cta-icon { background: rgba(255, 255, 255, 0.14); }
.site-header.is-tone-light .contact-panel-cta:hover,
.site-header.is-tone-light .contact-panel-cta:focus-visible { background: rgba(255, 255, 255, 0.9); color: rgba(17, 26, 74, 0.92); }
.site-header.is-tone-light .contact-panel-cell { background: rgba(255, 255, 255, 0.08); }
.site-header.is-tone-light .contact-panel-cell-label { color: rgba(255, 255, 255, 0.55); }
.site-header.is-tone-light .contact-panel-cell-value,
.site-header.is-tone-light .contact-panel-email-link { color: rgba(255, 255, 255, 0.9); }
.site-header.is-tone-light .contact-panel-email-name { color: rgba(255, 255, 255, 0.58); }
.site-header.is-tone-light .contact-panel-location { background: rgba(255, 255, 255, 0.08); }
.site-header.is-tone-light .contact-panel-location-text p { color: rgba(255, 255, 255, 0.72); }
.site-header.is-tone-light .contact-panel-location-name { color: rgba(255, 255, 255, 0.94) !important; }
.site-header.is-tone-light .contact-panel-location-note { color: rgba(255, 255, 255, 0.58) !important; }

@media (max-width: 1099px) {
  .site-header-menu-panel { grid-template-columns: 1fr; }
  .site-header-menu-rail {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(17, 26, 74, 0.08);
  }
  .site-header.is-tone-light .site-header-menu-rail { border-top-color: rgba(255, 255, 255, 0.16); }
  .site-header-menu-panel--contact { grid-template-columns: 1fr; }
  .contact-panel-location { grid-template-columns: 1fr; }
  .contact-panel-map { min-height: 120px; }
}

@media (max-width: 899px) {
  .site-header-menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header-menu,
  .site-header-menu-caret {
    transition: none !important;
  }
}

.site-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 clamp(4px, 0.6vw, 8px);
}

.site-header-toggle {
  display: inline-flex;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    color .45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .45s cubic-bezier(0.22, 1, 0.36, 1),
    background .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header-toggle-bars {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 18px;
}

.site-header-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}

.site-header-toggle.is-open .site-header-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header-toggle.is-open .site-header-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header-toggle.is-open .site-header-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .site-header-toggle {
    display: none;
  }
}

.site-header-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  padding: 16px;
  border-radius: 0 0 18px 18px;
  background: rgba(12, 18, 28, 0.9);
  border: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  z-index: 2;
}

.site-header-mobile.is-open,
#mobileMenu.site-header-mobile.is-open {
  display: grid;
  gap: 4px;
  pointer-events: auto;
}

.site-header-mobile a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 4px;
  transition: opacity .2s ease;
}

.site-header-mobile a:hover {
  opacity: 0.75;
}

.site-header.is-tone-dark .site-header-mobile {
  background: rgba(255, 255, 255, 0.92);
}

.site-header.is-tone-dark .site-header-mobile a {
  color: rgba(17, 26, 74, 0.92);
}

/* "What We Do" accordion inside the mobile menu — keeps every practice area
   reachable from the menu bar without a dedicated index page, and stays
   scrollable so 19 entries never blow out the drawer. */
.site-header-mobile-group {
  display: flex;
  flex-direction: column;
}

.site-header-mobile-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  padding: 10px 4px;
  margin: 0;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease;
}

.site-header-mobile-group-toggle:hover { opacity: 0.75; }

.site-header-mobile-group-caret {
  display: inline-flex;
  flex-shrink: 0;
  width: 11px;
  height: 7px;
  opacity: 0.7;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header-mobile-group-caret svg { width: 100%; height: 100%; }

.site-header-mobile-group-toggle.is-open .site-header-mobile-group-caret {
  transform: rotate(180deg);
}

.site-header-mobile-group-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header-mobile-group-panel.is-open {
  max-height: min(48vh, 380px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-header-mobile-group-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px 9px 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: opacity .2s ease, color .2s ease;
}

.site-header-mobile-group-link:hover { opacity: 0.75; }

.site-header-mobile-group-link-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.site-header-mobile-group-link-icon svg { width: 13px; height: 13px; }

.site-header.is-tone-dark .site-header-mobile-group-toggle { color: rgba(17, 26, 74, 0.92); }
.site-header.is-tone-dark .site-header-mobile-group-link { color: rgba(17, 26, 74, 0.7); }
.site-header.is-tone-dark .site-header-mobile-group-link-icon { background: rgba(17, 26, 74, 0.08); }

body.is-mobile-menu-open {
  overflow: hidden;
}

/* Brand logo in header */
.brand-logo-link--header .brand-logo-marks {
  width: clamp(40px, 4.2vw, 52px);
}

.brand-logo-link--header .brand-logo-stack {
  gap: 8px;
}

.brand-logo-link--header .brand-logo-wordmark {
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.46em;
  text-indent: 0.46em;
}

@media (min-width: 768px) and (max-width: 899px) {
  .site-header {
    --island-width: calc(100% - 16px);
  }

  .site-header-inner {
    padding-right: 84px;
  }
}

@media (max-width: 899px) {
  .site-header-mobile {
    position: fixed;
    top: var(--site-header-offset);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: clamp(24px, 6vw, 36px) clamp(20px, 5vw, 32px) clamp(32px, 8vw, 48px);
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 0;
  }

  .site-header-mobile.is-open,
  #mobileMenu.site-header-mobile.is-open {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.6vw, 10px);
    pointer-events: auto;
    z-index: 1;
  }

  .site-header-mobile a {
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    padding: clamp(12px, 3.2vw, 16px) 4px;
  }

  .site-header-mobile-group-toggle {
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    padding: clamp(12px, 3.2vw, 16px) 4px;
  }

  .site-header-inner {
    z-index: 2;
  }
}

/* Phone only — logo + wordmark left, borderless hamburger right */
@media (max-width: 767px) {
  .site-header {
    --island-width: calc(100% - 16px);
  }

  .site-header-inner {
    justify-content: space-between;
    gap: 12px;
    padding:
      clamp(14px, 3.2vw, 18px)
      clamp(14px, 3.6vw, 20px)
      clamp(16px, 3.4vw, 22px);
  }

  .site-header--home:not(.site-header--island) .site-header-inner {
    padding-top: clamp(14px, 3.2vw, 18px);
  }

  .site-header-logo {
    margin: 0;
    justify-content: flex-start;
  }

  .brand-logo-link--header .brand-logo-stack {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }

  .brand-logo-link--header .brand-logo-marks {
    width: clamp(30px, 8.5vw, 36px);
  }

  .brand-logo-link--header .brand-logo-wordmark {
    font-size: clamp(8px, 2.4vw, 10px);
    letter-spacing: 0.34em;
    text-indent: 0;
  }

  .site-header-toggle {
    position: static;
    transform: none;
    flex-shrink: 0;
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-tone-dark .site-header-toggle,
  .site-header.is-tone-light .site-header-toggle {
    border: 0;
    background: none;
    box-shadow: none;
  }

  .site-header-toggle-label {
    display: none;
  }

  .site-header-toggle-bars {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header-glass,
  .site-header-side a,
  .site-header-side button,
  .brand-logo-mark,
  .brand-logo-wordmark {
    transition: none !important;
  }
}
