:root {
  --blue: #2c4a7c;
  --blue-deep: #1e3460;
  --blue-midnight: #152340;
  --blue-pale: #ebf0f8;
  --blue-soft: #b8cae4;
  --gold: #d4a84b;
  --ink: #0f0f0f;
  --ink-soft: #1a1a1a;
  --gray: #6b6b6b;
  --off: #fafaf9;
  --stone: #f3f2ef;
  --border: #e2e1de;
  --white: #fff;
  --display: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 76rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  --section: clamp(4.5rem, 8vw, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.75rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 999;
  transform: translateY(-160%);
  border-radius: 0.25rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display,
.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.display {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.section-title {
  max-width: 15ch;
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  line-height: 1.02;
}

.lede {
  max-width: 43rem;
  margin: 1.4rem 0 0;
  color: var(--gray);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  padding: 0.78rem 1.15rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: currentColor;
  background: transparent;
  color: var(--blue-deep);
}

.button-light {
  background: var(--white);
  color: var(--blue-deep);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 35, 64, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: clamp(8.75rem, 13vw, 11.25rem);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.35rem);
}

.nav-links > a:not(.button) {
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links > a:not(.button):hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  background: var(--white);
  color: var(--blue-deep);
  cursor: pointer;
}

.menu-button svg {
  width: 1.35rem;
}

.service-groups {
  display: grid;
  gap: 1rem;
}

.service-group {
  border: 1px solid var(--border);
  background: var(--white);
}

.service-heading {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.service-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.service-list li + li {
  border-top: 1px solid var(--border);
}

.service-name {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.25;
}

.service-detail {
  display: block;
  margin-top: 0.35rem;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.55;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.location-card {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--white);
}

.location-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
}

.location-area {
  margin: 0.25rem 0 1.3rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-card address {
  font-style: normal;
}

.contact-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.8rem;
  min-width: 0;
  padding-block: 0.55rem;
  border-top: 1px solid var(--border);
}

.contact-line dt {
  color: var(--gray);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-line dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-line a {
  color: var(--blue-deep);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.site-footer {
  background: var(--blue-midnight);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: 2rem;
  padding-block: 3.5rem 2.5rem;
}

.footer-brand img {
  width: 11.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 30rem;
  margin: 1.2rem 0 0;
}

.footer-title {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  width: fit-content;
  color: inherit;
  text-underline-offset: 0.2em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1rem;
  font-size: 0.76rem;
}

.source-note {
  max-width: 54rem;
}

.source-note a {
  color: var(--white);
}

@media (max-width: 56rem) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-top: 0;
    background: var(--white);
    box-shadow: 0 1.2rem 2.5rem rgba(21, 35, 64, 0.14);
    padding: 0.55rem;
  }

  .nav-links[data-open="true"] {
    display: grid;
  }

  .nav-links > a:not(.button) {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  .nav-links .button {
    margin-top: 0.35rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 42rem) {
  :root {
    --gutter: 1rem;
  }

  .display {
    font-size: clamp(2.75rem, 14vw, 4.3rem);
  }

  .section-title {
    font-size: clamp(2rem, 10.5vw, 3.25rem);
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 22rem) {
  .brand img {
    width: 8rem;
  }

  .button-row {
    display: grid;
  }

  .button-row .button {
    width: 100%;
  }

  .contact-line {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
