.global-topbar,
.global-menu,
.global-footer {
  --header-ink: #000;
  --header-paper: #fff;
  --header-line: #e4e4e7;
  --header-blue: #1796c9;
  --header-serif: "Instrument Serif", Georgia, serif;
  --header-sans: "DM Sans", Arial, sans-serif;
}

.global-footer {
  padding: 76px 0 28px;
  background-color: #050505;
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 43px, rgba(23, 150, 201, .13) 43px, rgba(23, 150, 201, .13) 44px);
  color: #fff;
  font-family: var(--header-sans);
}

.global-footer-shell {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.global-footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 90px;
  align-items: start;
  padding-bottom: 66px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.global-footer-logo {
  display: inline-flex;
}

.global-footer-logo img {
  display: block;
  width: 210px;
  height: auto;
  filter: brightness(0) invert(1);
}

.global-footer-brand p {
  max-width: 370px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1.65;
}

.global-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.global-footer-nav-group {
  display: grid;
  align-content: start;
  gap: 12px;
}

.global-footer-nav-group strong {
  margin-bottom: 8px;
  color: var(--header-blue);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.global-footer a {
  color: inherit;
  text-decoration: none;
}

.global-footer-nav-group a {
  width: fit-content;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.global-footer-address {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.global-footer-nav-group a:hover,
.global-footer-nav-group a:focus-visible,
.global-footer-links a:hover,
.global-footer-links a:focus-visible {
  color: var(--header-blue);
}

.global-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
}

.global-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.global-topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  background-color: var(--header-paper);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 43px, rgba(16, 40, 55, .045) 43px, rgba(16, 40, 55, .045) 44px);
  font-family: var(--header-sans);
}

.global-nav {
  display: grid;
  width: min(calc(100% - 48px), 1240px);
  min-height: 78px;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--header-line);
}

.global-brand {
  display: inline-flex;
  grid-column: 2;
  justify-self: center;
}

.global-brand img {
  display: block;
  width: 164px;
  height: auto;
}

.global-menu-button {
  display: inline-flex;
  min-width: 92px;
  height: 44px;
  grid-column: 3;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 9px;
  border: 1px solid var(--header-line);
  border-radius: 999px;
  background: var(--header-paper);
  color: var(--header-ink);
  font: 700 12px/1 var(--header-sans);
  text-transform: uppercase;
  cursor: pointer;
}

.global-menu-button svg {
  width: 18px;
  height: 18px;
}

.global-menu {
  position: fixed;
  z-index: 990;
  inset: 0;
  display: grid;
  visibility: hidden;
  align-content: center;
  justify-items: center;
  gap: 32px;
  padding: 112px 24px 44px;
  overflow-y: auto;
  background-color: var(--header-paper);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 43px, rgba(16, 40, 55, .045) 43px, rgba(16, 40, 55, .045) 44px);
  color: var(--header-ink);
  font-family: var(--header-sans);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.global-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.global-menu-overview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
}

.global-menu a {
  color: inherit;
  text-decoration: none;
}

.global-menu-overview a {
  font-weight: 700;
}

.global-menu-services {
  width: min(100%, 920px);
  padding-top: 26px;
  border-top: 1px solid var(--header-line);
  text-align: center;
}

.global-menu-services strong {
  display: block;
  margin-bottom: 20px;
  color: var(--header-blue);
  font-size: 12px;
  text-transform: uppercase;
}

.global-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.global-menu-grid a {
  padding: 18px;
  border: 1px solid var(--header-line);
  background: rgba(255, 255, 255, .86);
  font-family: var(--header-serif);
  font-size: 27px;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.global-menu-grid a:hover,
.global-menu-grid a:focus-visible {
  border-color: var(--header-blue);
  color: var(--header-blue);
  transform: translateY(-3px);
}

.global-menu-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--header-ink);
  color: #fff !important;
  font-weight: 700;
}

body.global-menu-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .global-nav {
    width: min(calc(100% - 32px), 1240px);
  }

  .global-menu {
    align-content: start;
    gap: 24px;
    padding: 96px 18px 34px;
  }

  .global-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-menu-grid a {
    padding: 15px 10px;
    font-size: 22px;
  }

  .global-footer-main {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 560px) {
  .global-nav {
    min-height: 68px;
  }

  .global-brand img {
    width: 146px;
  }

  .global-menu-button {
    min-width: 44px;
    width: 44px;
  }

  .global-menu-button span {
    display: none;
  }

  .global-footer {
    padding: 58px 0 24px;
  }

  .global-footer-shell {
    width: min(calc(100% - 32px), 1240px);
  }

  .global-footer-main {
    padding-bottom: 44px;
  }

  .global-footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .global-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-menu,
  .global-menu-grid a {
    transition: none;
  }
}
