.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  background: var(--orange);
  z-index: 70;
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  background: var(--navy);
  color: var(--dpx-white);
  min-height: var(--header-h);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-on-dark);
  box-shadow: 0 12px 32px rgba(1, 1, 53, 0.38);
}

.site-header .bar {
  width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.logo:focus-visible {
  outline-offset: 4px;
}

.logo img {
  height: 28px;
  width: auto;
  border-radius: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.nav a.is-current:not(.btn) {
  color: #fff;
}

.nav a:not(.btn) {
  padding-bottom: 4px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.nav-cta {
  margin-left: var(--space-3);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-on-dark);
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius);
}

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: #d7e2ee;
  padding: var(--space-8) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: var(--space-6);
}

.site-footer h3 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: #c5d4e4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand img {
  display: block;
  margin-bottom: var(--space-5);
  border-radius: 0;
}

.footer-brand p,
.footer-contact p {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.footer-legal {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.85rem;
  color: var(--electric);
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  background: var(--orange);
  color: var(--orange-ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
}

.mobile-cta a:hover,
.mobile-cta a:focus-visible {
  background: var(--dpx-accent-900);
  color: var(--dpx-white);
}

body.hide-mobile-cta .mobile-cta {
  display: none !important;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-5);
    gap: var(--space-3);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    margin-left: 0;
  }

  .footer-grid,
  .footer-legal {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .footer-grid,
  .footer-legal {
    grid-template-columns: 1fr;
  }
}
