:root {
  --green-900: #15291f;
  --green-800: #1f3d33;
  --green-700: #2c5446;
  --green-100: #e3ece6;
  --sand-50: #fbf8f2;
  --sand-100: #f4eee2;
  --sand-200: #e9dfcc;
  --sand-400: #d2bf98;
  --ochre: #a8742c;
  --ink: #1d2420;
  --ink-soft: #4b5650;

  --bg: var(--sand-50);
  --bg-tint: var(--sand-100);
  --surface: #ffffff;
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --line: #e2dccf;
  --accent: var(--green-800);
  --accent-hover: var(--green-700);
  --eyebrow: var(--ochre);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a16;
    --bg-tint: #16221c;
    --surface: #1b2822;
    --text: #ecebe4;
    --text-soft: #b5bab3;
    --line: #2a3a32;
    --accent: var(--sand-200);
    --accent-hover: #fff;
    --eyebrow: var(--sand-400);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@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(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 22ch; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--eyebrow); margin-bottom: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--green-800);
  background: var(--green-800); color: #fff; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  font-family: inherit;
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); }
.btn-ghost { background: transparent; color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: #fff; }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }
.btn-sand { background: var(--sand-200); border-color: var(--sand-200); color: var(--green-900); }
.btn-sand:hover { background: #fff; border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.mark-canopy { fill: var(--green-800); }
.mark-trunk { stroke: var(--green-800); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.mark-sand { fill: var(--sand-400); }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.brand-sub { font-weight: 400; color: var(--text-soft); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--text-soft); font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--bg) 0%, var(--sand-100) 100%); padding: clamp(72px, 12vw, 140px) 0 clamp(120px, 16vw, 200px); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--green-700); }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-soft); max-width: 40ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dunes { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 11vw, 160px); }
.dune-back { fill: var(--sand-200); }
.dune-front { fill: var(--bg); }

@media (prefers-color-scheme: dark) {
  .hero { background: linear-gradient(180deg, var(--bg) 0%, #1a2a22 100%); }
  .hero h1 em { color: var(--sand-400); }
  .dune-back { fill: #22332a; }
  .mark-canopy { fill: var(--sand-200); }
  .mark-trunk { stroke: var(--sand-200); }
  .btn { background: var(--sand-200); border-color: var(--sand-200); color: var(--green-900); }
  .btn:hover { background: #fff; border-color: #fff; }
  .btn-ghost { background: transparent; color: var(--sand-200); }
  .btn-ghost:hover { background: var(--sand-200); color: var(--green-900); }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--bg-tint); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(21, 41, 31, .35); }
.card p { color: var(--text-soft); margin: 0; font-size: 1rem; }
.card-icon { width: 34px; height: 34px; margin-bottom: 18px; fill: none; stroke: var(--ochre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { border-top: 2px solid var(--green-800); padding-top: 20px; }
.step p { color: var(--text-soft); margin: 0; font-size: 1rem; }
.step-num { display: block; font-family: var(--serif); font-size: 1rem; color: var(--eyebrow); margin-bottom: 6px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .step { border-top-color: var(--sand-400); } }

/* About */
.about { display: grid; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (min-width: 880px) { .about { grid-template-columns: 1.2fr 1fr; } }
.about-text p { color: var(--text-soft); max-width: 60ch; }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.why-title { margin-bottom: 1rem; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.principles li { position: relative; padding-left: 28px; color: var(--text-soft); font-size: 1rem; }
.principles li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--sand-400); box-shadow: inset 0 0 0 3px var(--green-800); }
.principles strong { color: var(--text); }

/* Contact */
.section-dark { background: var(--green-800); color: #f2efe6; }
.section-dark .eyebrow { color: var(--sand-400); }
.contact { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 880px) { .contact { grid-template-columns: 1fr 1.2fr; } }
.contact-intro p { color: #cfd8d1; max-width: 42ch; }
.contact-form { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: #b7c3bb; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbf8f2; border: 2px solid transparent; border-radius: 10px; padding: .7rem .85rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sand-400); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e6a07a; }
.form-note { font-size: .88rem; color: #b7c3bb; }
.form-note a { color: var(--sand-200); }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: #bfe3c9; }
.form-status.err { color: #f3c2a8; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (prefers-color-scheme: dark) { .section-dark { background: #0d1611; border-top: 1px solid var(--line); } }

/* Footer */
.site-footer { background: var(--green-900); color: #b9c4bd; font-size: .9rem; padding: 26px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer-inner p { margin: 0; }
.site-footer a { color: #e3ddcf; }

/* Simple content pages */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page h2 { font-size: 1.35rem; margin-top: 2rem; max-width: none; }
.page p, .page li { color: var(--text-soft); }
