:root {
  --site-header-height: 4.5rem;
  --site-header-gutter: 1rem;
}
html:has(.site-header) { scroll-padding-top: calc(var(--site-header-height) + .5rem); }
.site-nav, .topline > .page-wrap {
  width: min(80rem, calc(100% - 2 * var(--site-header-gutter)));
  margin-inline: auto;
}
.site-header, .topline { font-family: Arial, Helvetica, sans-serif; }
:is(.site-header, .topline) a:focus-visible,
.site-menu-toggle:focus-visible { outline: 2px solid #ff9ca7; outline-offset: 2px; }
.abm-page .abm-skip:focus, .skip:focus { z-index: 50; }

.topline {
  background: #171b20;
  border-bottom: 1px solid #ffffff0b;
  color: #b0b5bc;
  font-size: .75rem;
}
.topline > .page-wrap {
  display: flex;
  min-height: 1.9375rem;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.topline a { color: inherit; padding-block: .25rem; text-decoration: none; white-space: nowrap; }
.topline a:hover { color: #fff; }
.topline-location { color: #dce0e5; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #252b32ee;
  color: #e8edf3;
  border-bottom: 1px solid #ffffff28;
  backdrop-filter: blur(18px);
}
.site-nav {
  display: flex;
  line-height: 1.5;
  min-height: var(--site-header-height);
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.brand-filter { position: absolute; overflow: hidden; }
.site-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: block;
  width: 9rem;
  height: 3.875rem;
  overflow: hidden;
  background: transparent url("./abm-logo-dark.svg") center 49% / calc(100% - .375rem) auto no-repeat;
}
.brand-mark img {
  display: none;
}
.brand-location {
  display: none;
  padding-inline-start: 1rem;
  border-inline-start: 1px solid #6f7b88;
  color: #d7dee7;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-menu {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: .25rem;
  padding-bottom: 1rem;
}
.site-menu a, .language-switch a, a.language-switch, .site-menu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .5rem;
  border-radius: .5rem;
  color: #eef1f5;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.site-menu a:hover, .language-switch a:hover, a.language-switch:hover, .site-menu-toggle:hover {
  background: #ffffff14;
  color: #fff;
}
.site-menu a:hover { color: #ff8b92; }
.site-menu-toggle {
  display: none;
  gap: .5rem;
  border: 1px solid #8492a2;
  background: #2b333d;
  padding-inline: 1rem;
}
.language-switch { display: inline-flex; align-items: center; gap: .25rem; flex: none; }
.language-switch [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

@media (max-width: 63.99em) {
  .site-header:has(.site-menu):not(.menu-ready) { position: relative; }
  .menu-ready .site-menu-toggle { display: inline-flex; margin-inline-start: auto; }
  .menu-ready .site-menu {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100vh - var(--site-header-height));
    max-height: calc(100dvh - var(--site-header-height));
    overflow-y: auto;
    padding: .5rem var(--site-header-gutter) 1rem;
    background: #252b32;
    box-shadow: 0 12px 24px #0a101780;
  }
  .menu-ready .site-menu:not([data-open="true"]):not([data-open=""]) { display: none; }
}
@media (max-width: 40em) {
  .topline-location { display: none; }
}
@media (max-width: 23em) {
  .brand-mark { width: 7.125rem; height: 3.375rem; }
}

@media (min-width: 48em) {
  :root { --site-header-gutter: 1.5rem; }
}
@media (min-width: 64em) {
  :root {
    --site-header-height: 5.125rem;
    --site-header-gutter: 2rem;
  }
  .site-nav { flex-wrap: nowrap; gap: 1.5rem; }
  .brand-mark { width: 10rem; height: 4.375rem; }
  .site-menu .header-contact { background: #b91c2c; color: #fff; padding-inline: 1rem; }
  .site-menu .header-contact:hover { background: #a31827; }
  .site-menu { flex: 0 1 auto; flex-direction: row; align-items: center; gap: clamp(.375rem, 1vw, .875rem); padding: 0; }
}
@media (min-width: 68.75em) {
  .brand-location { display: block; }
}
