:root {
  color-scheme: light;
  --background: #f7f5f0;
  --surface: #eeece6;
  --text: #25282b;
  --muted: #62666a;
  --accent: #1c3553;
  --accent-hover: #284b73;
  --line: #d7d4cc;
  --focus: #9b5c12;
  --page-width: 920px;
  --reading-width: 720px;
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

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

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.8rem;
  background: var(--accent);
  color: #fff;
  transform: translateY(-160%);
}

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

.page-shell {
  width: min(calc(100% - 3rem), var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}

.site-name {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.site-name:hover {
  color: var(--accent);
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.45rem;
}

.site-nav {
  justify-content: flex-end;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
}

.hero {
  padding: clamp(5.5rem, 13vw, 9rem) 0 clamp(6rem, 14vw, 10rem);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
p,
dl {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 2.25rem;
  font-size: clamp(3rem, 9vw, 6.25rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.intro-copy {
  max-width: 690px;
  color: #383c3f;
  font-size: clamp(1.06rem, 2vw, 1.2rem);
}

.intro-copy p {
  margin-bottom: 1.15rem;
}

.text-cta {
  display: inline-block;
  margin-top: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-cta span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 140ms ease;
}

.text-cta:hover span {
  transform: translateX(0.18rem);
}

.content-page {
  width: min(100%, var(--reading-width));
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(5.5rem, 12vw, 8rem);
}

.content-page h1 {
  margin-bottom: clamp(3.5rem, 8vw, 5.5rem);
  font-size: clamp(2.9rem, 8vw, 5rem);
}

.content-section {
  padding: 2rem 0 2.1rem;
  border-top: 1px solid var(--line);
}

.content-section:first-of-type {
  border-top-color: var(--accent);
}

.content-section p:last-child,
.content-section address:last-child,
.content-section dl:last-child {
  margin-bottom: 0;
}

.contact-page .content-section {
  max-width: 620px;
}

.contact-address {
  margin: 1.8rem 0 0;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
}

.contact-list {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
}

.contact-list dt {
  color: var(--muted);
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: auto;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0;
  white-space: nowrap;
}

.site-footer nav {
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 2rem), var(--page-width));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.4rem 1.1rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-list dd:not(:last-child) {
    margin-bottom: 0.65rem;
  }
}

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

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  .page-shell,
  .content-page {
    width: 100%;
  }

  .content-page {
    padding: 0;
  }
}
