/* Layout: a full-bleed oak-and-hills hero, then a single reading column with
   wide bands for founders and products. Colors come from oak woodland in
   late summer: canopy green, dry-grass gold, bark brown, fog-blue sky. */
:root {
  --bg: #fbf8f1;
  --surface: #f2ecdd;
  --ink: #1f2a1c;
  --muted: #55604c;
  --canopy: #33452a;
  --grass: #b98a3a;
  --rule: #ddd3bd;
  --on-canopy: #f6f1e4;
  --link: #2f5d2a;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Literata", "Iowan Old Style", Georgia, serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4vw, 2.6rem);
  --step-4: clamp(2.4rem, 6.5vw, 4.4rem);
  --measure: 66ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141a12;
    --surface: #1d251a;
    --ink: #ece6d6;
    --muted: #b3b29c;
    --canopy: #2a3a22;
    --grass: #d9ae5c;
    --rule: #34402d;
    --on-canopy: #f1ecdd;
    --link: #a9cf8e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141a12;
  --surface: #1d251a;
  --ink: #ece6d6;
  --muted: #b3b29c;
  --canopy: #2a3a22;
  --grass: #d9ae5c;
  --rule: #34402d;
  --on-canopy: #f1ecdd;
  --link: #a9cf8e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--grass); outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-block: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--ink); text-decoration: none;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--font-display); font-size: 0.98rem; }
.nav a { color: var(--muted); text-decoration: none; padding-block: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--grass); text-decoration-thickness: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #c9cfc4; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
.hero .wrap { position: relative; padding-block: clamp(56px, 10vw, 128px) clamp(150px, 22vw, 260px); }
.hero-copy { max-width: 34rem; display: grid; gap: 18px; }
.hero h1 { font-size: var(--step-4); color: #1b2617; font-weight: 800; }
.hero .lede { font-size: var(--step-1); color: #2a3424; line-height: 1.5; }
.photo-note {
  position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 10px;
  font: 0.75rem/1.3 var(--font-display); color: #3b2f22; background: rgb(246 236 210 / .8);
  padding: 3px 8px; border-radius: 4px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 12px 20px; border-radius: 6px; text-decoration: none; border: 2px solid #1f2a1c;
}
.btn-primary { background: #1f2a1c; color: #f6f1e4; }
.btn-primary:hover { background: #33452a; border-color: #33452a; }
.btn-ghost { background: rgb(251 248 241 / .7); color: #1f2a1c; }
.btn-ghost:hover { background: #fbf8f1; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 96px); }
.eyebrow {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grass);
}
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: var(--measure); }
.prose { max-width: var(--measure); display: grid; gap: 1em; }

.vision-line {
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; font-weight: 600;
  max-width: 40rem; padding-left: 20px; border-left: 4px solid var(--grass);
}
.mission-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; max-width: var(--measure); }
.mission-list li { padding-block: 14px; border-top: 1px solid var(--rule); }
.mission-list li:last-child { border-bottom: 1px solid var(--rule); }
.mission-list strong { font-family: var(--font-display); }

.story { background: var(--surface); }
.story .wrap { display: grid; gap: 28px; }
@media (min-width: 860px) { .story .wrap { grid-template-columns: 1fr 2fr; align-items: start; } }
.story .big { font-size: var(--step-1); line-height: 1.6; max-width: 40rem; }

/* Founders */
.founders { display: grid; gap: 28px; }
@media (min-width: 820px) { .founders { grid-template-columns: 1fr 1fr; gap: 40px; } }
.founder { display: grid; gap: 14px; align-content: start; min-width: 0; }
.founder .portrait {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: 6px; background: var(--surface);
  border: 1px dashed var(--rule); display: grid; place-items: center;
  font-family: var(--font-display); color: var(--muted); font-size: 0.9rem;
}
.founder .role { font-family: var(--font-display); color: var(--grass); font-weight: 700; font-size: 0.95rem; }

/* Products */
.work { background: var(--canopy); color: var(--on-canopy); }
.work a { color: var(--on-canopy); }
.work .eyebrow { color: #e3c27c; }
.flagship { display: grid; gap: 14px; max-width: var(--measure); padding-bottom: 32px; border-bottom: 1px solid rgb(241 236 221 / .25); }
.flagship h3 { font-size: var(--step-2); }
.flagship .tag { font-family: var(--font-display); font-size: 0.9rem; opacity: .8; }
.facts { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-family: var(--font-display); font-size: 0.85rem; padding: 4px 10px; border: 1px solid rgb(241 236 221 / .4); border-radius: 999px; }
.family { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 760px) { .family { grid-template-columns: 1fr 1fr; } }
.family > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.family .owner { font-family: var(--font-display); font-size: 0.9rem; opacity: .8; }
.family-intro { max-width: var(--measure); margin-top: 32px; }

/* Contact */
.contact-grid { display: grid; gap: 0; max-width: 46rem; margin: 0; }
.contact-grid > div { display: grid; gap: 4px 24px; padding-block: 16px; border-top: 1px solid var(--rule); }
.contact-grid > div:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .contact-grid > div { grid-template-columns: 12rem 1fr; } }
.contact-grid dt { font-family: var(--font-display); font-weight: 700; }
.contact-grid dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pending { color: var(--muted); font-style: italic; }
.page-head { padding-block: clamp(48px, 8vw, 88px) 24px; }
.page-head h1 { font-size: var(--step-4); }
.page-head .lede { font-size: var(--step-1); margin-top: 16px; max-width: 40rem; color: var(--muted); }
.page-head + section { padding-top: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 28px; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s ease, border-color .15s ease; }
}
.story.plain { background: var(--bg); }
/* Keep the hero text readable over the art */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(226 222 205 / .85) 0%, rgb(226 222 205 / .55) 38%, rgb(226 222 205 / 0) 62%); }
.hero .wrap { z-index: 1; }
.photo-note { z-index: 1; }
@media (max-width: 699px) {
  .hero::after { background: linear-gradient(180deg, rgb(226 222 205 / .9) 0%, rgb(226 222 205 / .75) 55%, rgb(226 222 205 / 0) 80%); }
  .hero-art { object-position: 62% 100%; }
}
.flagship { border-bottom: 0; padding-bottom: 0; }
