:root {
  --ink: #16211a;
  --ink-soft: #4a564d;
  --leaf: #2c5f3d;
  --leaf-dark: #1e4229;
  --sage: #7f9670;
  --cream: #faf7ef;
  --sand: #f0e9da;
  --line: #ded5c3;
  --terra: #b8532e;
  --wrap: 1120px;
  --narrow: 760px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, .brand, .btn, .eyebrow, .card-kicker, .site-nav, .facts strong, .field span, .zone-table th {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; margin-top: 1.6em; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

a { color: var(--leaf-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--terra); }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 239, .92);
  backdrop-filter: saturate(150%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sage), var(--leaf-dark));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  font-size: .88rem; font-weight: 600; text-decoration: none;
  color: var(--ink-soft); padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--leaf-dark); border-bottom-color: var(--sage); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 420px at 12% -10%, #e6efdc 0%, transparent 60%),
    linear-gradient(180deg, #fdfbf5, var(--cream));
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5.6rem) 0 clamp(2.6rem, 5vw, 4.2rem);
}
.hero-inner { max-width: 900px; }
.hero-cols {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.hero-copy h1 { max-width: 22ch; }
.hero-media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -34px rgba(22, 33, 26, .7);
}
.guide-cover {
  width: 100%; margin-top: 1.8rem; border-radius: 16px;
  border: 1px solid var(--line); object-fit: cover; max-height: 420px;
}
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1rem;
}
.hero h1 { max-width: 22ch; }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.6rem 0 .9rem; }
.btn {
  display: inline-block; padding: .78rem 1.3rem; border-radius: 999px;
  background: var(--leaf-dark); color: #fff; font-weight: 650; font-size: .92rem;
  text-decoration: none; border: 1px solid var(--leaf-dark);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--leaf); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--leaf-dark); }
.btn-ghost:hover { background: rgba(44, 95, 61, .08); color: var(--leaf-dark); }
.hero-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(2.4rem, 5vw, 4rem) 0; }
.section-alt { background: var(--sand); border-block: 1px solid var(--line); }
.page-head { padding-bottom: 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem;
}
.section-head h2 { margin: 0; }
.text-link { font-size: .9rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.text-link::after { content: " →"; }

.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.card {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.25rem 1.3rem 1.35rem;
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -18px rgba(22, 33, 26, .55);
  border-color: var(--sage);
}
.card-kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--terra);
}
.card-title { font-size: 1.12rem; font-weight: 750; }
.card-text { font-size: .93rem; color: var(--ink-soft); }
.card-meta { margin-top: auto; padding-top: .7rem; font-size: .8rem; color: var(--sage); font-weight: 600; }

.tri { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tri-item h3 { color: var(--leaf-dark); }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.zone-table th, .zone-table td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.zone-table thead th {
  background: var(--sand); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); position: sticky; top: 0;
}
.zone-table tbody th { font-weight: 700; color: var(--leaf-dark); }
.zone-table tr:last-child td, .zone-table tr:last-child th { border-bottom: 0; }
@media (max-width: 640px) {
  .zone-table th, .zone-table td { padding: .55rem .6rem; font-size: .8rem; }
}

/* ---------- tool ---------- */
.tool-bar {
  display: flex; gap: 1rem; align-items: end; flex-wrap: wrap;
  padding: 1.1rem 1.2rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field span { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.field select {
  font: inherit; font-size: .95rem; padding: .55rem .8rem; min-width: 15rem;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.field-check { flex-direction: row; align-items: center; gap: .5rem; padding-bottom: .4rem; }
.field-check span { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--leaf); }
.hint { font-size: .85rem; color: var(--ink-soft); margin: .8rem 0 1.2rem; }
.calendar-out { display: grid; gap: .85rem; margin-top: .2rem; }
.crow {
  display: grid; gap: .5rem 1.2rem;
  grid-template-columns: 1.2fr 2.6fr;
  padding: 1rem 1.15rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
}
.crow + .crow { margin-top: 0; }
.crow-name { font-weight: 750; }
.crow-name a { text-decoration: none; }
.crow-sub { display: block; font-size: .78rem; color: var(--sage); font-weight: 600; margin-top: .2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; align-content: start; }
.chip {
  display: inline-flex; flex-direction: column; gap: .1rem;
  padding: .38rem .6rem; border-radius: 9px; background: #f3f6ef;
  border: 1px solid #dfe7d6; font-size: .78rem; line-height: 1.3;
}
.chip b { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sage); font-weight: 700; }
.chip-now { background: #fdf0e8; border-color: #f0cdbb; }
.chip-now b { color: var(--terra); }
.empty { padding: 1.4rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); font-size: .92rem; }
.method-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1.4rem; }

/* ---------- prose ---------- */
.prose h2 { margin-top: 1.8em; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: .6rem; }
.prose blockquote {
  margin: 1.4rem 0; padding: .9rem 1.15rem;
  border-left: 3px solid var(--sage); background: #f3f6ef;
  color: var(--ink-soft); font-style: italic;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.facts {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.facts li {
  padding: .45rem .8rem; background: #f3f6ef; border: 1px solid #dfe7d6;
  border-radius: 999px; font-size: .84rem;
}
.facts strong { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sage); margin-right: .35rem; }
.gear { padding-left: 1.15rem; }

.crumb { font-size: .82rem; color: var(--ink-soft); padding-top: 1.2rem; }
.crumb a { color: var(--ink-soft); }
.crumb span { margin: 0 .3rem; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--sand);
  padding: 2.4rem 0 2.6rem; margin-top: 2rem; font-size: .88rem; color: var(--ink-soft);
}
.foot-brand { font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.foot-note { max-width: 62ch; }
.foot-links { display: flex; gap: 1.1rem; flex-wrap: wrap; margin: 1rem 0 .6rem; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-copy { font-size: .8rem; margin: 0; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero-cols { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .crow { grid-template-columns: 1fr; }
  .head-row { min-height: 58px; }
  .site-nav { gap: 1rem; width: 100%; justify-content: flex-start; }
  .script-note { display: none; }
}
