:root {
  --grass-950: #18351d;
  --grass-800: #315f32;
  --grass-650: #4f7c45;
  --leaf-400: #91ad63;
  --lake-800: #245b70;
  --lake-600: #3f7f95;
  --lake-100: #dcecf0;
  --cream: #f4f0dd;
  --paper: #fffef8;
  --ink: #263124;
  --muted: #657062;
  --cherry: #9e3430;
  --line: #c6d0b4;
  --max: 980px;
  --read: 640px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 53, 29, .86), rgba(49, 95, 50, .78)),
    repeating-linear-gradient(104deg, #4b7441 0 3px, #66884e 3px 6px, #365f37 6px 9px);
  background-attachment: fixed;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
}
a { color: var(--lake-800); text-underline-offset: .17em; }
a:hover { color: var(--cherry); }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; left: 1rem; top: -8rem; z-index: 100; padding: .65rem .9rem; background: #fff; color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.25rem auto 0;
  color: var(--ink);
  background: linear-gradient(#fffef9, #edf3df);
  border-top: 7px solid var(--grass-800);
  border-bottom: 1px solid #aeba97;
  box-shadow: 0 2px 18px rgba(10, 29, 16, .24);
}
.masthead { min-height: 94px; padding: 1rem 1.15rem; display: flex; align-items: center; gap: 1.4rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--grass-950); text-decoration: none; flex: 0 0 auto; }
.brand-mark { position: relative; width: 52px; height: 42px; font-size: 0; border-bottom: 4px solid var(--grass-800); transform: rotate(-8deg); }
.brand-mark::before,
.brand-mark::after { content: ""; position: absolute; border-radius: 50% 0 50% 50%; background: var(--leaf-400); border: 1px solid var(--grass-800); }
.brand-mark::before { width: 24px; height: 13px; left: 5px; top: 9px; transform: rotate(22deg); }
.brand-mark::after { width: 20px; height: 12px; right: 3px; top: 18px; transform: rotate(190deg); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 700 1.52rem/1.05 Georgia, "Times New Roman", serif; letter-spacing: .01em; }
.brand-copy small { margin-top: .38rem; color: var(--lake-800); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem; padding: 0; margin: 0; list-style: none; }
.primary-nav a { display: block; padding: .55rem .7rem; color: #fff; background: linear-gradient(var(--grass-650), var(--grass-800)); border: 1px solid var(--grass-950); border-radius: 2px; text-decoration: none; font-size: .8rem; line-height: 1; box-shadow: inset 0 1px rgba(255, 255, 255, .2); }
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: #fff; background: linear-gradient(var(--lake-600), var(--lake-800)); }

.independence-notice { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; color: #423c2c; background: #f0e7c7; border-bottom: 1px solid #c7b98c; box-shadow: 0 7px 18px rgba(10, 29, 16, .18); }
.independence-notice p { margin: 0; padding: .65rem 1.15rem; font-size: .78rem; line-height: 1.5; }
.independence-notice strong { color: var(--cherry); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.independence-notice a { font-weight: 700; }

main { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; background: var(--paper); box-shadow: 0 12px 28px rgba(10, 29, 16, .28); }
.page-hero { position: relative; min-height: 350px; display: grid; align-items: end; isolation: isolate; overflow: hidden; background: var(--lake-800); border: 10px solid #fff; border-bottom-width: 0; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 48, 28, .86), rgba(17, 48, 28, .18) 75%); }
.hero-card { max-width: 700px; margin: 0; padding: 2rem 2.25rem 2.2rem; }
.hero-card .kicker,
.page-banner .kicker { margin: 0 0 .48rem; color: #f2d387; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
.hero-card h1 { margin: 0; color: #fff; font: 700 clamp(2.15rem, 5vw, 3.45rem)/1.02 Georgia, "Times New Roman", serif; text-shadow: 0 2px 6px rgba(0, 0, 0, .42); }
.hero-card p { max-width: 620px; margin: .8rem 0 0; color: #f4f7ef; font-size: 1.02rem; }

.page-banner { background: linear-gradient(112deg, rgba(30, 71, 34, .96), rgba(37, 91, 112, .86)), var(--grass-800); border: 10px solid #fff; border-bottom-width: 0; }
.page-banner-inner { padding: 2.65rem 2.3rem 3rem; }
.page-banner h1 { max-width: 800px; margin: 0; color: #fff; font: 700 clamp(2rem, 4.6vw, 3.35rem)/1.06 Georgia, "Times New Roman", serif; }
.page-banner p { max-width: 670px; color: #e9f1e8; margin: .78rem 0 0; }
.feature-figure { margin: 0 10px 2rem; background: var(--grass-950); border: 8px solid #fff; border-top-width: 0; }
.feature-figure img { width: 100%; max-height: 430px; object-fit: cover; }
.feature-figure figcaption { color: #e3ebe1; padding: .62rem .8rem; font-size: .72rem; }

.content-shell { padding: 2.8rem 2.25rem 4rem; display: grid; grid-template-columns: minmax(0, var(--read)) minmax(210px, 1fr); gap: 2.2rem; align-items: start; }
.article { min-width: 0; }
.article h1 { font: 700 clamp(2.25rem, 5vw, 3.8rem)/1.04 Georgia, serif; margin: 0 0 1.2rem; color: var(--grass-950); }
.article h2 { margin: 2.35rem 0 .62rem; padding-bottom: .38rem; color: var(--grass-800); border-bottom: 1px solid var(--line); font: 700 clamp(1.35rem, 3vw, 1.85rem)/1.18 Georgia, "Times New Roman", serif; }
.article h3 { color: var(--lake-800); margin-top: 1.8rem; font-family: Georgia, serif; }
.article p { margin: 0 0 1rem; }
.article > p:first-of-type { color: #3b4b39; font-size: 1.08rem; }
.article ul,
.article ol { padding-left: 1.25rem; }
.article li { margin: .38rem 0; }
.article code { font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; background: #ece8d6; padding: .1rem .28rem; }
.archive-lead { margin: 0 0 1.4rem; padding: 1rem 1.1rem; background: var(--lake-100); border-left: 5px solid var(--lake-600); }
.archive-lead p:last-child { margin-bottom: 0; }
.archive-label { display: block; margin-bottom: .35rem; color: var(--lake-800); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.field-rail { position: sticky; top: 1rem; }
.field-card { padding: 1.1rem; color: #203121; background: #e5edcf; border: 1px solid #aebb93; border-top: 5px solid var(--grass-650); }
.field-card:nth-child(even) { background: var(--lake-100); border-color: #abc4cb; border-top-color: var(--lake-600); }
.field-card + .field-card { margin-top: 1rem; }
.field-card .label { display: block; margin-bottom: .58rem; color: var(--cherry); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.field-card p,
.field-card li { font-size: .8rem; line-height: 1.5; }
.field-card ul { list-style: none; padding: 0; margin: 0; }
.field-card li + li { border-top: 1px solid rgba(36, 91, 112, .2); }
.field-card a { display: block; padding: .4rem 0; text-decoration: none; font-weight: 700; }

.route-strip { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(10, 29, 16, .2); }
.route-strip-inner { padding: .9rem 1.1rem; display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; }
.route-strip span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; font-weight: 800; }
.route-strip a { padding: .26rem .5rem; color: #fff; background: var(--lake-800); border: 1px solid #184555; text-decoration: none; font-size: .76rem; }

.site-footer { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto 1.5rem; color: #dbe7d7; background: linear-gradient(125deg, var(--grass-950), #214d38); box-shadow: 0 12px 24px rgba(10, 29, 16, .28); }
.footer-grid { padding: 2.5rem 1.35rem; display: grid; grid-template-columns: 1.05fr 1.4fr .95fr; gap: 1.7rem; }
.site-footer h2 { color: #fff; font: 700 1.1rem/1.2 Georgia, serif; margin: 0 0 .72rem; }
.site-footer p,
.site-footer a { color: #d1dfcd; font-size: .78rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.site-footer li { break-inside: avoid; margin-bottom: .23rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .13); }
.footer-bottom p { margin: 0; padding: .85rem 1.35rem; color: #afc4ab; font-size: .7rem; }

.not-found { min-height: 56vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.not-found .code { margin: 0; color: var(--cherry); font: 700 clamp(5rem, 19vw, 9rem)/.8 Georgia, serif; }
.not-found h1 { color: var(--grass-950); font: 700 2rem/1.1 Georgia, serif; }
.not-found a { display: inline-block; margin-top: .8rem; padding: .55rem .85rem; color: #fff; background: var(--grass-800); border: 1px solid var(--grass-950); text-decoration: none; }

@keyframes settle { from { transform: translateY(5px); } to { transform: translateY(0); } }
.hero-card,
.page-banner-inner { animation: settle .45s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; }
}
@media (max-width: 850px) {
  .masthead { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .primary-nav { margin-left: 0; width: 100%; }
  .primary-nav ul { justify-content: flex-start; }
  .content-shell { grid-template-columns: 1fr; }
  .field-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: .96rem; }
  .site-header,
  .independence-notice,
  main,
  .route-strip,
  .site-footer { width: 100%; margin-left: 0; margin-right: 0; }
  .site-header { margin-top: 0; }
  .brand-copy strong { font-size: 1.35rem; }
  .primary-nav a { padding: .48rem .58rem; }
  .page-hero { min-height: 330px; border-left-width: 0; border-right-width: 0; }
  .hero-card { padding: 1.6rem 1.2rem; }
  .page-banner { border-left-width: 0; border-right-width: 0; }
  .page-banner-inner { padding: 2.2rem 1.2rem 2.5rem; }
  .feature-figure { margin-left: 0; margin-right: 0; border-left-width: 0; border-right-width: 0; }
  .content-shell { padding: 2.25rem 1.2rem 3rem; }
  .field-rail,
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer ul { columns: 1; }
}
