/* Meadow palette, drawn from the hero photo: sunlit grass, warm fur, cream light. */
:root {
  --bg: #fbf8f1;          /* cream */
  --bg-soft: #f2eee2;     /* oat */
  --card: #fffdf8;
  --ink: #2b2a1f;         /* dark olive-brown */
  --muted: #6b6853;
  --line: #e4ddcb;
  --accent: #4b6b2a;      /* meadow green */
  --accent-hover: #3c5821;
  --accent-ink: #ffffff;
  --fur: #9a7449;         /* rabbit tan */
  --leaf-soft: rgba(75, 107, 42, 0.12);
  --shade: 28, 40, 16;    /* deep grass, for overlays */
  --radius: 14px;
  --max: 1080px;
  --prose: 720px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .logo { height: 26px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero: full-bleed meadow photo, copy sits in the open grass on the left */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 78vh, 760px);
  padding: 80px 0;
  background: #6f9a3e url("/img/hero.jpg") 72% center / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(var(--shade), 0.55) 0%,
    rgba(var(--shade), 0.30) 40%,
    rgba(var(--shade), 0) 65%);
}
.hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: 540px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fur); margin: 0 0 16px; }
.hero .eyebrow { color: #e9f0d4; }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-shadow: 0 2px 24px rgba(var(--shade), 0.35);
}
.lede { font-size: 20px; margin: 0 0 32px; max-width: 34ch; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 12px rgba(var(--shade), 0.4); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px;
  transition: background .15s ease;
}
.btn:hover { text-decoration: none; background: var(--accent-hover); }
.btn-light { background: var(--bg); color: var(--accent); }
.btn-light:hover { background: #fff; }

/* Sections */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.02em; margin: 0 0 12px; }
.section-sub { color: var(--muted); margin: 0 0 40px; max-width: 60ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--leaf-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }

.contact { text-align: center; }
.contact .section-sub { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* Legal / prose pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: calc(var(--prose) + 48px); }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 48px 0 12px; padding-top: 8px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc h4 { font-size: 16px; margin: 22px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li > p { margin: 4px 0; }
.doc li { margin: 6px 0; }
.doc .callout {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 32px;
}
.doc .callout p { margin: 0; }
.doc .toc { border-left: 2px solid var(--line); padding-left: 18px; margin: 0 0 40px; font-size: 15px; }
.doc .toc ol { margin: 0; padding-left: 18px; }
.doc .toc li { margin: 4px 0; }
.doc address { font-style: normal; }

/* Responsive */
@media (max-width: 820px) {
  /* Photo band on top, fading into a grass-green panel that holds the copy */
  .hero {
    --band: max(360px, 50vw); /* photo is 2:1, so this always spans full width */
    display: block;
    min-height: 0;
    padding: calc(var(--band) - 24px) 0 48px;
    background: #44602a url("/img/hero.jpg") 80% top / auto var(--band) no-repeat;
  }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(68, 96, 42, 0) 0,
      rgba(68, 96, 42, 0) calc(var(--band) - 110px),
      #44602a var(--band));
  }
  .hero h1, .lede { text-shadow: none; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; font-size: 14px; }
  .brand .logo { height: 22px; }
  .lede { font-size: 18px; }
}
