:root {
  color-scheme: light;
  --ink: #14263d;
  --muted: #5b6878;
  --paper: #f7f3e9;
  --paper-bright: #fffdf7;
  --line: #d9d1c1;
  --accent: #b57932;
  --accent-dark: #784819;
  --navy: #0b1b2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgb(181 121 50 / 12%), transparent 34rem),
    linear-gradient(180deg, var(--paper-bright), var(--paper));
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.2em;
}

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

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

.shell {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.masthead {
  border-bottom: 1px solid rgb(217 209 193 / 70%);
  background: rgb(255 253 247 / 82%);
  backdrop-filter: blur(14px);
}

.masthead__inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.masthead nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
}

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

.hero {
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lede {
  max-width: 47rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 48rem);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  padding-bottom: 7rem;
}

.summary {
  position: sticky;
  top: 1.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgb(255 253 247 / 68%);
  box-shadow: 0 1.5rem 4rem rgb(11 27 47 / 7%);
}

.summary strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--navy);
}

.summary p {
  margin: 0.4rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.document {
  min-width: 0;
}

.document section {
  padding: 0 0 2.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.document section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.55rem;
}

.callout {
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: rgb(181 121 50 / 9%);
}

.contact-card {
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border-radius: 0.35rem;
  color: #f7f3e9;
  background: var(--navy);
}

.contact-card h2,
.contact-card a {
  color: #fff8e8;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .masthead__inner {
    min-height: auto;
    padding: 1.1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .masthead nav {
    gap: 0.85rem;
    flex-wrap: wrap;
  }

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

  .summary {
    position: static;
  }
}

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