/* Navy #17375E, red #A32E2F, gray #8F9191 only as a spare hairline.
   White text on navy or red fills. Page canvas is white or a light neutral. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

:root {
  --navy: #17375e;
  --red: #a32e2f;
  --gray: #8f9191;
  --white: #ffffff;
  --paper: #f4f4f4;
  --line: #e2e2e2;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", "Liberation Serif", Georgia, serif;
  --sans: "Segoe UI", "Liberation Sans", "Helvetica Neue", system-ui, sans-serif;
  --measure: 40rem;
  --page: 72rem;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

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

html {
  background: var(--paper);
  color: var(--navy);
  color-scheme: light;
  scrollbar-color: var(--navy) var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

p,
ul,
address {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  letter-spacing: -0.015em;
}

a {
  color: var(--navy);
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

a:focus {
  outline: none;
}

a:focus-visible,
.skip:focus {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 40;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  padding: 0.6rem 0.85rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  outline-color: var(--white);
}

.wrap {
  width: min(100% - 2rem, var(--page));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--navy);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--red);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--navy);
}

.mark {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--red);
}

.nav-list a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--red);
}

.hero,
.page-hero {
  background: var(--navy);
  color: var(--white);
}

.hero-inner,
.page-hero-inner {
  padding-block: 3.5rem 3.75rem;
}

.page-hero-inner {
  padding-block: 2.75rem 3rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--white);
}

.hero h1,
.page-hero h1,
.hero p,
.page-hero p {
  color: var(--white);
}

.hero-sub,
.page-hero .lede {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.45;
}

.hero-meta {
  max-width: 40rem;
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--red);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--red);
  color: var(--white);
}

.hero .btn:focus-visible,
.page-hero .btn:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--white);
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

.band {
  padding-block: 2.75rem 3.25rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.55rem 1.7rem;
}

.card h2 {
  margin-bottom: 0.75rem;
}

.card p + p {
  margin-top: 0.85rem;
}

.card .btn {
  margin-top: 1.25rem;
}

.stack {
  display: grid;
  gap: 1.15rem;
  max-width: 46rem;
  margin-inline: auto;
}

.band + .band {
  padding-top: 0;
}


.name-note {
  max-width: 46rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--red);
  background: var(--white);
  font-size: 1.08rem;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.contact-grid .card {
  height: 100%;
}

.card address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.55;
}

.card .email {
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--red);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 1.75rem 1.25rem;
}

.footer-name {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.footer-note,
.site-footer p {
  color: var(--white);
}

.footer-note {
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.45;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.65rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--white);
  text-underline-offset: 0.2em;
}

.footer-base {
  border-top: 1px solid var(--gray);
  padding-block: 0.9rem 1.1rem;
}

.footer-base p {
  margin: 0;
  font-size: 0.98rem;
}

@media (min-width: 721px) {
  .wrap {
    width: min(100% - 4rem, var(--page));
  }

  .hero-inner {
    padding-block: 4.25rem 4.5rem;
  }
}

@media (max-width: 800px) {
  .cards.two,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner {
    align-items: flex-start;
  }

  .hero-inner,
  .page-hero-inner {
    padding-block: 2.4rem 2.6rem;
  }
}

@media (forced-colors: active) {
  .card,
  .site-header,
  .name-note {
    border-color: CanvasText;
  }

  .hero,
  .page-hero,
  .site-footer,
  .btn-navy,
  .btn-red {
    background: Canvas;
    color: CanvasText;
  }

  .hero h1,
  .hero p,
  .page-hero h1,
  .page-hero p,
  .site-footer p,
  .footer-nav a,
  .btn {
    color: CanvasText;
  }
}

@media print {
  body {
    display: block;
    min-height: 0;
    background: #fff;
  }

  .skip {
    display: none;
  }

  .hero,
  .page-hero,
  .site-footer {
    background: #fff;
    color: var(--navy);
  }

  .hero h1,
  .hero p,
  .page-hero h1,
  .page-hero p,
  .site-footer p,
  .footer-nav a {
    color: var(--navy);
  }

  .card {
    box-shadow: none;
  }
}
