:root {
  --navy: #0b2146;
  --slate: #4f6178;
  --yellow: #f5a623;
  --white: #ffffff;
  --wash: #f4f6f8;
  --line: #dce3ea;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus {
  outline: none;
}

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

.wrap {
  width: min(960px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-top: 4px solid var(--yellow);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 0;
}

.logo-link {
  display: block;
  flex: 0 1 400px;
  min-width: 0;
  max-width: 400px;
  line-height: 0;
}

.logo-link img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
}

nav a {
  display: inline-block;
  padding: 0.7rem 0.1rem;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  padding: 4.75rem 0 4.25rem;
}

.eyebrow {
  margin: 0;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.services h2,
.contact h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero h1 {
  margin: 0.85rem 0 0;
  max-width: 14em;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

.hero h1::before,
.services h2::before,
.contact h2::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-bottom: 0.85rem;
  background: var(--yellow);
}

.lede,
.contact-line {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: var(--slate);
  font-size: 1.2rem;
  line-height: 1.45;
}

.services {
  background: var(--wash);
  padding: 4.25rem 0;
}

.services h2,
.contact h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
  max-width: 40rem;
}

.service-list li {
  margin: 0;
  padding-left: 1.15rem;
  border-left: 3px solid var(--yellow);
  font-size: 1.08rem;
  line-height: 1.45;
}

.contact {
  padding: 4.25rem 0 5rem;
}

.contact-email {
  margin: 0.7rem 0 0;
}

.email {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.email:hover {
  text-decoration-thickness: 2px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 1.35rem 0;
}

.site-footer p {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

main section {
  scroll-margin-top: 6rem;
}

@media (max-width: 720px) {
  .wrap {
    width: min(960px, calc(100% - 2rem));
  }

  .header-inner {
    align-items: flex-start;
  }

  .logo-link {
    flex-basis: 320px;
    max-width: min(320px, 100%);
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .services,
  .contact {
    padding: 3rem 0;
  }

  .lede,
  .contact-line,
  .email {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .skip,
  nav,
  .site-header {
    position: static;
  }

  .site-footer,
  .services {
    background: transparent;
    color: #000;
  }

  .email::after {
    content: " (" attr(href) ")";
    font-weight: 400;
  }
}
