/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 0 0 1rem 0;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #0b2545;
  color: #ffffff;
}

a:focus-visible {
  outline: 2px solid #0b2545;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout container ---------- */
.container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  gap: 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #0b2545;
  text-decoration: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.nav-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #0b2545;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Sections ---------- */
.section,
.hero {
  padding: 3.5rem 0;
}

.hero {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

#services,
#about,
#contact {
  border-top: 1px solid #e5e7eb;
}

/* ---------- Typography ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: #0b2545;
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 1.25rem 0;
  color: #0b2545;
  font-weight: 700;
}

h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 1.25rem 0;
  color: #0b2545;
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  margin: 0;
  max-width: 62ch;
}

/* ---------- Services list ---------- */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.services-list li {
  padding: 0.9rem 1.1rem;
  background: #f7f8fa;
  border-left: 3px solid #0b2545;
  border-radius: 2px;
}

/* ---------- Contact ---------- */
.contact-block {
  font-style: normal;
}

.contact-name {
  font-weight: 700;
}

.contact-block a {
  color: #0b2545;
  text-decoration: none;
}

.contact-block a:hover,
.contact-block a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  color: #555555;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .hero,
  .section {
    padding: 2.5rem 0;
  }
}
