html { scroll-padding-top: calc(var(--header-height, 88px) + 16px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(11 11 13 / 93%);
  border-bottom: 1px solid #29272b;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header .nav-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  max-width: 1480px;
  margin-inline: auto;
  padding: 16px clamp(16px, 3.5vw, 56px);
  flex-wrap: nowrap;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; justify-self: start; min-width: 0; }
.site-header .brand img { width: 44px; height: 42px; flex-shrink: 0; }
.site-header .brand > span {
  font-size: clamp(10px, 1.15vw, 14px);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.3;
  white-space: nowrap;
  color: #fff;
}
.site-header .brand small { display: block; font-size: 7px; letter-spacing: .15em; margin-top: 4px; color: #c7c7cd; }
.site-header .desktop-nav {
  display: flex;
  position: static;
  width: auto;
  flex-direction: row;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  justify-self: center;
  padding: 0;
}
.site-header a { text-decoration: none; }
.desktop-trigger { display: flex; align-items: center; }
.desktop-group { position: relative; }
.site-header .nav-label, .site-header .nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c7c7cd;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}
.nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  width: 28px;
  min-height: 44px;
  background: transparent;
  color: #c7c7cd;
}
.nav-chevron svg, .mobile-menu summary svg { transition: transform 150ms ease; }
.desktop-group.is-open .nav-chevron svg, .mobile-menu[open] > summary svg, .mobile-submenu[open] > summary svg { transform: rotate(180deg); }
.site-header .nav-label:hover, .site-header .nav-contact:hover, .nav-chevron:hover { color: #fff; }
.site-header [aria-current="location"],
.site-header .is-current > .desktop-trigger .nav-label,
.site-header .is-current > .desktop-trigger .nav-chevron,
.site-header .is-open > .desktop-trigger .nav-label,
.site-header .is-open > .desktop-trigger .nav-chevron {
  color: #ff6900;
  font-weight: 700;
}
.desktop-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  width: 258px;
  border: 1px solid #363034;
  border-radius: 8px;
  background: #141416;
  box-shadow: 0 18px 44px #0006;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 0s linear 150ms;
}
.desktop-dropdown::before { content: ""; position: absolute; height: 10px; bottom: 100%; inset-inline: 0; }
.desktop-group.is-open .desktop-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.dropdown-links { padding: 9px; max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
.dropdown-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 5px;
  color: #c7c7cd;
  font-size: 13px;
  line-height: 1.5;
}
.dropdown-links a:hover, .mobile-submenu-links a:hover { color: #ff8a38; background: #ff690014; }
.site-header .dropdown-links a[aria-current="location"], .site-header .mobile-panel a[aria-current="location"] { color: #ff6900; font-weight: 700; background: #ff690014; }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 22px; }
.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #ff6900;
  border-radius: 6px;
  color: #0b0b0d;
  background: #ff6900;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.site-header .header-cta:hover { background: #ff842e; border-color: #ff842e; color: #0b0b0d; }
.site-header .header-cta[aria-current] { color: #0b0b0d; background: #ff6900; }
.site-header a:focus-visible, .site-header button:focus-visible, .site-header summary:focus-visible { outline: 2px solid #ff6900; outline-offset: 4px; }
.site-header .mobile-menu { display: none; }
.mobile-bottom-nav, .mobile-panel-heading { display: none; }
@media (min-width: 1001px) {
  .site-header .desktop-nav > .nav-label:first-child { margin-left: -10px; margin-right: 10px; }
}
@media (min-width: 680px) and (max-width: 1000px) {
  .site-header .nav-wrap { gap: 10px; padding-inline: 16px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 36px; height: 35px; }
  .site-header .desktop-nav { gap: 6px; }
  .site-header .nav-label, .site-header .nav-contact { font-size: 12px; }
  .nav-chevron { width: 22px; }
  .header-actions { gap: 10px; }
  .site-header .header-cta { padding-inline: 11px; font-size: 11px; }
}
@media (min-width: 681px) and (max-width: 760px) {
  .site-header .nav-wrap { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; }
  .site-header .brand img { width: 32px; height: 31px; }
  .site-header .brand > span { font-size: 9.5px; }
  .site-header .desktop-nav { gap: 4px; justify-self: center; }
}
@media (max-width: 1100px) {
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  /* A backdrop filter on the header would contain the fixed bottom sheet. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0b0b0d; }
  .site-header .nav-wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 16px; }
  .site-header .brand > span { font-size: clamp(10px, 2.8vw, 13px); }
  .site-header .brand img { width: 40px; height: 38px; }
  .site-header .brand small { font-size: 6.5px; letter-spacing: .12em; }
  .site-header .desktop-nav, .site-header .header-actions { display: none; }
  .site-header .mobile-menu { display: block; }
  .mobile-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #363034;
    border-radius: 6px;
    color: #c7c7cd;
    font-size: 12px;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] > summary { color: #ff6900; }
  .mobile-navigation-ready .site-header .mobile-menu > summary { display: none; }
  .site-header .mobile-panel {
    display: block;
    position: absolute;
    inset-inline: 12px;
    top: calc(100% + 8px);
    width: auto;
    max-height: calc(100dvh - var(--header-height, 70px) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    background: #141416;
    border: 1px solid #363034;
    border-radius: 8px;
    box-shadow: 0 18px 44px #0006;
  }
  .mobile-navigation-ready .site-header .mobile-panel {
    position: fixed;
    inset-inline: 10px;
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    max-width: 560px;
    margin-inline: auto;
    max-height: min(68dvh, calc(100dvh - 170px - env(safe-area-inset-bottom, 0px)));
    border-radius: 18px;
    padding: 8px 10px 12px;
    box-shadow: 0 -12px 60px #0009;
    scroll-padding-block: 12px;
  }
  .mobile-navigation-ready .mobile-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 10px 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #363034;
    color: #a6a6ae;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .mobile-menu-close { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 4px 8px 12px; border: 0; background: transparent; color: #dddde1; font-size: 12px; }
  .mobile-menu-close span { font-size: 24px; line-height: 1; }
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    position: fixed;
    inset: auto 0 0;
    z-index: 110;
    padding: 6px max(8px, env(safe-area-inset-right, 0px), calc((100vw - 560px) / 2)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px), calc((100vw - 560px) / 2));
    border-top: 1px solid #363034;
    background: rgb(14 14 16 / 97%);
    box-shadow: 0 -6px 28px #0003;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 50px;
    padding: 6px 2px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #bcbcc4;
    font: inherit;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .mobile-dock-item svg { width: 20px; height: 20px; flex-shrink: 0; }
  .mobile-dock-item:hover, .mobile-dock-item.is-current, .mobile-dock-item[aria-current], .mobile-dock-item.is-open { color: #ff842e; background: #ff69001a; }
  .mobile-dock-contact { color: #ff842e; }
  .mobile-dock-contact[aria-current] { color: #0b0b0d; background: #ff6900; }
  .mobile-dock-item:focus-visible { outline: 2px solid #ff6900; outline-offset: -2px; }
  .mobile-submenu > summary, .mobile-panel .mobile-direct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px;
    color: #c7c7cd;
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
    border-radius: 5px;
  }
  .mobile-submenu.is-current > summary, .mobile-submenu[open] > summary { color: #ff6900; font-weight: 700; }
  .mobile-submenu-links { padding: 0 4px 8px 14px; }
  .mobile-submenu-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; color: #c7c7cd; font-size: 13px; line-height: 1.5; border-radius: 5px; }
  .mobile-panel .header-cta { display: flex; margin: 10px 2px 2px; }
}
@media (max-width: 360px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 34px; height: 33px; }
  .site-header .brand > span { font-size: 9.5px; letter-spacing: 0; }
  .mobile-menu > summary { padding-inline: 8px; font-size: 11px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .desktop-dropdown, .nav-chevron svg, .mobile-menu summary svg { transition: none; }
}
