:root {
  --forest: #213a2b;
  --forest-deep: #172a1f;
  --moss: #3d6a4e;
  --sand: #efe7d8;
  --paper: #fbf8f2;
  --ink: #1d2620;
  --muted: #4c5a50;
  --clay: #8f4f22;
  --wheat: #e3c894;
  --line: #d9cfbd;
  --radius: 4px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }

a { color: var(--clay); text-underline-offset: .18em; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--wheat); color: var(--forest-deep);
  padding: .6rem 1rem; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }

.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; color: var(--forest); }
.brand-mark {
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: .14em;
  padding-right: .55rem; border-right: 2px solid var(--clay); line-height: 1;
}
.brand-sub { font-size: .9rem; letter-spacing: .04em; color: var(--muted); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--forest); border-bottom-color: var(--clay); }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line);
  background: transparent; border-radius: var(--radius); cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 1.25rem; height: 2px; background: var(--forest);
  transform: translateX(-50%); content: ""; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .brand-sub { font-size: .8rem; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
}

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--wheat); color: var(--forest-deep); }
.btn-primary:hover { background: #f0dcb4; color: var(--forest-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hero .btn:focus-visible { outline-color: var(--wheat); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    repeating-radial-gradient(circle at 85% 30%, transparent 0 34px, rgba(227, 200, 148, .09) 34px 35px),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wheat); margin-bottom: 1.1rem; font-weight: 600;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.15rem; color: #e6ece7; max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.plot {
  position: relative; aspect-ratio: 1 / 1; max-width: 360px; justify-self: end; width: 100%;
  border: 1px solid rgba(227, 200, 148, .55);
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(227, 200, 148, .35) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(0deg, transparent 61.6%, rgba(227, 200, 148, .35) 61.6% 62.4%, transparent 62.4%),
    linear-gradient(90deg, transparent 77.6%, rgba(227, 200, 148, .35) 77.6% 78.4%, transparent 78.4%),
    rgba(255, 255, 255, .03);
}
.plot::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 28%; height: 62%;
  background: repeating-linear-gradient(135deg, rgba(227, 200, 148, .28) 0 2px, transparent 2px 10px);
}
.plot::after {
  content: ""; position: absolute; left: 14%; bottom: 14%; width: 14px; height: 14px;
  border: 2px solid var(--wheat); border-radius: 50%;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .plot { display: none; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); color: var(--forest); }
.kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: .5rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: card; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--moss);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; counter-increment: card;
}
.card::before {
  content: "0" counter(card); display: block; font-family: var(--serif);
  font-size: 1rem; color: var(--clay); letter-spacing: .1em; margin-bottom: .75rem; font-weight: 700;
}
.card h3 { font-size: 1.35rem; color: var(--forest); }
.card p { color: var(--muted); margin: 0; }

.note {
  margin-top: 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--clay);
  background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; max-width: 48rem;
}
.note p { margin: 0; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.facts {
  margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem 1.5rem;
}
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; color: var(--forest); }
.facts dd { margin: 0; color: var(--ink); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .facts div { grid-template-columns: 1fr; gap: .15rem; }
}

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  background: var(--forest); color: #fff; border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.contact-card h3 { color: var(--wheat); font-size: 1.25rem; }
.contact-card p, .contact-card address { color: #e6ece7; margin: 0; }
.contact-card address { font-size: 1.15rem; line-height: 1.6; }

@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }

/* Legal pages */
.page-head { background: var(--forest); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.page-head p { color: #dfe7e1; margin: 0; }
.legal { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.legal h2 { font-size: 1.35rem; color: var(--forest); margin-top: 2.25rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal address { margin-bottom: 1rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1rem; }

/* Footer */
.site-footer { background: var(--forest-deep); color: #d6ded8; font-size: .95rem; }
.site-footer a { color: var(--wheat); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--wheat); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 2rem; padding: 3rem 0 2rem; }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.25rem 0 1.75rem; font-size: .875rem; color: #b9c4bc; }
.footer-bottom p { margin: 0; }

@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
