:root {
  --ink: #17251f;
  --muted: #52645a;
  --paper: #f7f2e8;
  --paper-strong: #fffaf0;
  --forest: #284734;
  --forest-2: #3f654f;
  --lake: #2d718c;
  --lake-2: #7aa6a1;
  --gold: #d6a04b;
  --rust: #a65d43;
  --line: #d8ded4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 37, 31, 0.12);
  --radius: 8px;
  --max: 1160px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: #1d617a;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #164d61;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand img {
  width: 245px;
  max-width: min(245px, 72vw);
  display: block;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.52rem 0.68rem;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #e7efe8;
  color: var(--forest);
}

main {
  min-height: 55vh;
}

.section,
.hero,
.page-hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 7.6;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rust);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.9rem);
  margin: 0 0 1rem;
  max-width: 10.5em;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 0.55rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #33453c;
  max-width: 64rem;
}

.hero .lede {
  max-width: 38rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.button:hover {
  color: var(--white);
  background: #1f372a;
}

.button.secondary {
  background: transparent;
  color: var(--forest);
}

.button.secondary:hover {
  color: var(--ink);
  background: #e7efe8;
}

.notice {
  border-left: 5px solid var(--gold);
  background: #fff7e5;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
}

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

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.band.tint {
  background: #edf4ef;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.prose {
  max-width: 760px;
}

.prose ul,
.content-list {
  padding-left: 1.25rem;
}

.prose li,
.content-list li {
  margin: 0.4rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  min-height: 100%;
}

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

.info-card .meta {
  margin: 0 0 0.4rem;
  color: var(--rust);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 0.7rem;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.link-list a:hover {
  border-color: var(--lake-2);
  background: #f4f8f5;
}

.link-list span {
  color: var(--lake);
  flex: none;
}

.source-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.source-list a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.source-list strong {
  display: block;
  color: var(--ink);
}

.source-list span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: #8a978f;
}

.breadcrumbs a {
  color: var(--muted);
}

.mini-map {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.mini-map img {
  display: block;
  border-radius: 6px;
}

.callout-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.callout {
  padding: 1rem;
  border-top: 4px solid var(--lake);
  background: var(--white);
  border-radius: var(--radius);
}

.callout:nth-child(2) {
  border-top-color: var(--forest);
}

.callout:nth-child(3) {
  border-top-color: var(--gold);
}

.callout:nth-child(4) {
  border-top-color: var(--rust);
}

.site-footer {
  background: var(--ink);
  color: #e6eee7;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  width: 230px;
  max-width: 100%;
  filter: brightness(1.08);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.35rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer li {
  color: #d3ddd5;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: #f1d89b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.92rem;
  color: #cdd8d0;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .card-grid,
  .card-grid.two,
  .callout-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .header-inner {
    min-height: 72px;
    padding: 0.55rem 0;
  }

  .brand img {
    width: 218px;
  }

  html.js .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    padding: 0 0 0.7rem;
  }

  html.js .site-nav {
    display: none;
  }

  html.js .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border: 1px solid var(--line);
    background: var(--paper-strong);
  }
}

@media (max-width: 620px) {
  .card-grid,
  .card-grid.two,
  .callout-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-art img {
    aspect-ratio: 4 / 3;
  }

  .section,
  .hero,
  .page-hero {
    padding: 2.35rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
