:root {
  --forest: #18470f;
  --forest-deep: #103609;
  --nav: #111111;
  --paper: #ffffff;
  --soft: #f2f5f0;
  --soft-strong: #e6ece2;
  --ink: #252725;
  --muted: #5f665d;
  --line: #d8ded5;
  --link: #1982d1;
  --shadow: 0 24px 70px rgba(4, 24, 1, 0.22);
  --radius: 4px;
  --content: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  padding: 0.7rem 1rem;
  transform: translate(-50%, -150%);
  background: #fff;
  color: #111;
  font-weight: 700;
}
.skip-link:focus { transform: translate(-50%, 0); }

.site-shell {
  width: min(1100px, calc(100% - 40px));
  margin: 24px auto 70px;
  overflow: clip;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.masthead { display: block; background: #fff; }
.masthead img {
  width: 100%;
  height: auto;
  aspect-ratio: 20 / 7;
  object-fit: cover;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(#242424, var(--nav));
  border-top: 1px solid #353535;
  border-bottom: 1px solid #000;
}
.nav-bar { min-height: 52px; display: flex; align-items: stretch; }
.nav-list, .submenu { margin: 0; padding: 0; list-style: none; }
.nav-list { display: flex; align-items: stretch; width: 100%; }
.nav-list > li { position: relative; display: flex; align-items: stretch; }
.nav-list a {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  color: #efefef;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] { background: #303030; color: #fff; }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0;
  left: 1rem;
  height: 3px;
  background: #fff;
}
.menu-toggle, .submenu-toggle { display: none; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 55;
  min-width: 285px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-5px);
  background: #202020;
  border-top: 1px solid #444;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.submenu a { padding: 0.8rem 1rem; border-bottom: 1px solid #373737; white-space: nowrap; }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu { visibility: visible; opacity: 1; transform: translateY(0); }

.content-wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.75fr);
  min-height: 390px;
}
.home-hero-main { padding: clamp(3.2rem, 7vw, 5.6rem) clamp(2.5rem, 7vw, 5.6rem); }
.eyebrow, .kicker {
  margin: 0 0 0.55rem;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.18;
}
h1 {
  max-width: 760px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 5.5vw, 4.45rem);
  letter-spacing: -0.035em;
}
h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { margin-bottom: 0.65rem; font-size: 1.35rem; }
.lead { max-width: 680px; margin: 0; color: #4d554b; font-size: 1.08rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: var(--forest);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.button:hover, .button:focus-visible { background: var(--forest-deep); color: #fff; transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--forest); }
.button-secondary:hover, .button-secondary:focus-visible { color: #fff; }
.home-hero-aside { padding: 3.2rem 2.2rem; background: var(--forest-deep); color: #fff; }
.home-hero-aside .kicker { color: #d8e7d3; }
.home-hero-aside h2 { color: #fff; font-size: 1.7rem; }
.focus-list { margin: 1.4rem 0 1.7rem; padding: 0; list-style: none; }
.focus-list li { padding: 0.62rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.home-hero-aside a { color: #fff; }

.section { padding: clamp(3.7rem, 7vw, 5.4rem) 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
.split p:first-child { margin-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.65rem; }
.section-heading h2 { margin-bottom: 0; }
.text-link { color: var(--forest); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 1.7rem;
  border-top: 4px solid var(--forest);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 7px 25px rgba(25, 45, 20, 0.07);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(25, 45, 20, 0.13); }
.card-number { color: var(--forest); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.card h3 { margin-top: auto; color: var(--forest); font-size: 1.7rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.contact-strip {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  gap: 2rem;
  padding: 3.7rem clamp(2rem, 6vw, 5rem);
  background: var(--forest);
  color: #fff;
}
.contact-strip h2, .contact-strip .kicker { color: #fff; }
.contact-strip h2 { margin-bottom: 0.4rem; }
.contact-strip p { margin: 0; color: #dfeadc; }
.contact-strip .button { background: #fff; color: var(--forest); border-color: #fff; }
.contact-strip .button:hover { background: var(--soft); }

.page-hero { padding: clamp(3.2rem, 7vw, 5.4rem) 0; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 0.9rem; color: var(--forest); }
.page-hero .lead { max-width: 750px; }
.page-content { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.prose { width: min(760px, 100%); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.6rem; color: var(--forest); font-size: 2rem; }
.prose h3 { margin-top: 2rem; color: var(--forest); }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.notice { margin: 2rem 0 0; padding: 1.15rem 1.35rem; border-left: 4px solid var(--forest); background: var(--soft); color: var(--ink); }
.notice strong { color: var(--forest); }
.topic-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.topic, .contact-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.topic h2, .topic h3, .contact-card h2, .contact-card h3 { margin: 0 0 0.6rem; color: var(--forest); font-size: 1.35rem; }
.topic p, .contact-card p { margin: 0; color: var(--muted); }
.topic p + p, .contact-card p + p { margin-top: 1rem; }
.legal-index { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 2rem; }
.legal-index a { padding: 0.4rem 0.65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--forest); font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.legal-index a:hover { background: var(--soft-strong); }
.legal-content h2 { scroll-margin-top: 5rem; }

.site-footer { background: var(--nav); color: #d9d9d9; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 0.8fr; gap: 3rem; padding: 3.2rem clamp(2rem, 6vw, 5rem) 2.5rem; }
.footer-brand { margin: 0 0 0.5rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.footer-brand span { display: block; color: #bfcfba; font: 0.68rem "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.site-footer p { margin: 0; color: #bdbdbd; font-size: 0.88rem; }
.site-footer a { display: block; width: fit-content; color: #eee; font-size: 0.88rem; text-decoration: none; }
.site-footer a + a { margin-top: 0.3rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-title { margin-bottom: 0.65rem !important; color: #fff !important; font-size: 0.72rem !important; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(2rem, 6vw, 5rem); border-top: 1px solid #353535; color: #a9a9a9; font-size: 0.76rem; }
.footer-bottom a { display: inline; color: #cfcfcf; font-size: inherit; }
.error-page { min-height: 460px; display: grid; place-items: center; padding: 4rem 2rem; text-align: center; }
.error-page h1 { margin-inline: auto; color: var(--forest); }
:focus-visible { outline: 3px solid #1982d1; outline-offset: 3px; }

@media (max-width: 900px) {
  .site-shell { width: min(100%, 760px); margin: 0 auto; }
  .nav-bar { min-height: 52px; align-items: center; justify-content: flex-end; padding-inline: 1rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; border: 0; background: transparent; color: #fff; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; }
  .menu-icon { position: relative; }
  .menu-icon::before { position: absolute; top: -6px; }
  .menu-icon::after { position: absolute; top: 6px; }
  .nav-list { position: fixed; inset: 52px 0 0; z-index: 60; display: none; overflow-y: auto; flex-direction: column; padding: 0.7rem 1rem 2rem; background: var(--nav); }
  .nav-list.is-open { display: flex; }
  .nav-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid #353535; }
  .nav-list a { min-height: 48px; padding: 0.7rem 0.4rem; font-size: 0.92rem; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .submenu-toggle { display: block; width: 48px; border: 0; background: transparent; color: #fff; cursor: pointer; }
  .submenu-toggle::after { content: "+"; font-size: 1.3rem; }
  .submenu-toggle[aria-expanded="true"]::after { content: "−"; }
  .submenu { position: static; grid-column: 1 / -1; display: none; min-width: 0; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
  .submenu.is-open { display: block; }
  .submenu a { padding-left: 1.2rem; white-space: normal; }
  .home-hero, .split, .contact-strip { grid-template-columns: 1fr; }
  .home-hero-main, .home-hero-aside { padding: 3.2rem clamp(1.5rem, 6vw, 3.2rem); }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 190px; }
}

@media (max-width: 650px) {
  body { font-size: 15.5px; }
  .masthead img { min-height: 0; aspect-ratio: auto; object-fit: contain; }
  .content-wrap { width: min(100% - 36px, var(--content)); }
  .section-heading, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .topic-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }
  .contact-strip { padding-inline: 1.5rem; }
}

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

@media print {
  body { background: #fff; }
  .site-shell { width: 100%; margin: 0; box-shadow: none; }
  .site-nav, .button-row, .contact-strip, .site-footer { display: none; }
  .page-content, .page-hero { padding-block: 1.5rem; }
}
