:root {
  --cream: #F4F3E8;
  --tan: #E6DCC8;
  --lime: #EBFC72;
  --sage: #AEC0AB;
  --forest: #212E21;
  --ink: #212E21;
  --muted: #5b6459;
  --card: #eeebe0;
  --max: 1120px;
  --header-h: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--forest);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:hover { color: color-mix(in srgb, var(--forest) 70%, #000); }
h1, h2, h3, h4 {
  font-family: "Sansita", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 243, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(33, 46, 33, 0.1);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  font-family: "Sansita", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--forest); }
.nav a.cta {
  background: var(--forest);
  color: var(--cream);
  border-bottom: 0;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}
.nav a.cta:hover { background: #161f16; color: var(--lime); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: var(--cream);
  background: #1a221a center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,46,33,0.15) 20%, rgba(33,46,33,0.72) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: 4rem 0 3rem; }
.hero h1 { margin-bottom: 0.25em; }
.hero .tagline { font-size: 1.15rem; max-width: 28em; margin: 0; color: var(--tan); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--forest);
  background: var(--forest);
  color: var(--cream);
}
.btn:hover { background: #161f16; color: var(--lime); }
.btn.lite {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn.lite:hover { background: var(--cream); color: var(--forest); }
.btn.sage { background: var(--sage); color: var(--forest); border-color: var(--sage); }
.btn.sage:hover { background: var(--lime); border-color: var(--lime); }

/* Layout blocks */
.section { padding: 3.4rem 0; }
.section.alt { background: var(--tan); }
.section.tight { padding: 2.2rem 0; }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split img { width: 100%; border-radius: 16px; object-fit: cover; }
.frame { border-radius: 16px; overflow: hidden; }
.frame.chart { background: #fff; }
.frame figcaption { padding: 0.6rem 0 0; background: var(--cream); }
.wind-rose { background: #fff; width: 100%; height: auto; }
.lede { font-size: 1.15rem; max-width: 42em; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(33,46,33,0.06);
}
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .pad { padding: 1rem 1.1rem 1.2rem; }
.card h3 { margin-bottom: 0.25em; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-moon {
  aspect-ratio: 16/10;
  width: 100%;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
}
.card-moon .wvf-now-svg {
  width: auto;
  height: 82%;
  max-height: 150px;
  flex: 0 0 auto;
  display: block;
}
.card-moon-meta { min-width: 0; }
.card .card-moon .card-moon-name {
  font-family: "Sansita", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.15;
  margin: 0 0 0.2rem;
  color: var(--cream);
}
.card .card-moon .card-moon-dir {
  margin: 0;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--lime);
}
@media (max-width: 520px) {
  .card-moon { gap: 0.7rem; padding: 0.7rem 0.85rem; }
  .card-moon .wvf-now-svg { height: 78%; }
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.7rem;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; min-height: 160px; }
.photo-grid.quart { grid-template-columns: 1fr 1fr; }
ul.plain, ol.steps { padding-left: 1.15rem; }
ul.plain li, ol.steps li { margin: 0.4em 0; }
ol.steps { padding-left: 1.3rem; }
ol.steps li { margin: 0 0 1rem; }
.note, .placeholder {
  background: var(--card);
  border-left: 4px solid var(--sage);
  padding: 0.8rem 1rem;
  border-radius: 0 10px 10px 0;
  margin: 1rem 0;
}
.placeholder { border-left-color: #c4a15a; background: #f3ead3; }
.placeholder code, code.ph {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86em;
  background: rgba(33,46,33,0.08);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cost-card {
  background: var(--tan);
  color: var(--forest);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.2rem;
  max-width: 40rem;
  margin: 0.4rem 0 0;
}
.cost-card .kicker { margin-bottom: 0.35rem; }
.cost-card .cost-intro {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.cost-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1.1rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(33, 46, 33, 0.14);
}
.cost-line:first-of-type { border-top: 0; padding-top: 0.15rem; }
.cost-line .what,
.cost-total .what {
  font-family: "Sansita", Georgia, serif;
  font-size: 1.22rem;
  margin: 0 0 0.15rem;
}
.cost-line .payee { margin: 0; font-weight: 700; }
.cost-line .when,
.cost-total .when {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.cost-line .amt,
.cost-total .amt {
  font-family: "Sansita", Georgia, serif;
  font-size: 1.85rem;
  margin: 0;
  line-height: 1.1;
  align-self: start;
}
.cost-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1.1rem;
  align-items: start;
  margin-top: 0.45rem;
  padding: 0.95rem 1.05rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: 12px;
}
.cost-total .amt { color: var(--lime); }
.cost-total .when { color: var(--sage); }
@media (max-width: 520px) {
  .cost-card { padding: 1.15rem 1.05rem 1rem; }
  .cost-line .amt,
  .cost-total .amt { font-size: 1.55rem; }
}

/* Forms */
form.stack { display: grid; gap: 0.85rem; max-width: 36rem; }
label { font-weight: 700; font-size: 0.92rem; display: grid; gap: 0.3rem; }
input, select, textarea {
  font: inherit;
  color: var(--forest);
  background: #fff;
  border: 1px solid rgba(33,46,33,0.22);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
form button[type="submit"] { justify-self: start; cursor: pointer; font-family: inherit; }

/* Cut overview (read-only preview) */
.cut-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.3rem 0 0.4rem;
}
.cut-card {
  background: var(--tan);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.05rem;
}
.cut-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}
.cut-card p {
  margin: 0 0 0.55rem;
  color: var(--muted);
}
.cut-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.cut-card li {
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: var(--cream);
  border-radius: 8px;
  font-weight: 600;
}
.cut-card li strong { font-weight: 700; }
@media (max-width: 800px) {
  .cut-overview { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .nav, .hero .actions { display: none !important; }
  body { background: #fff; }
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 2.4rem 0 1.6rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--lime); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.site-footer .brand { color: var(--cream); }
.legal { font-size: 0.82rem; color: var(--sage); border-top: 1px solid rgba(244,243,232,0.12); padding-top: 1rem; }

/* Utilities */
.center { text-align: center; }
.narrow { max-width: 42em; }
.list-traits { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.list-traits li {
  background: var(--card);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.list-traits strong { font-family: "Sansita", Georgia, serif; display: block; margin-bottom: 0.15em; }


/* Farm photos */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0;
  z-index: 0;
}
.page-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #1a221a;
}
.page-banner.short {
  height: clamp(200px, 34vw, 420px);
  object-fit: cover;
  object-position: center 42%;
}
.photo-feature { margin: 0 0 1.6rem; }
.photo-feature img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.photo-feature figcaption,
.photo-gallery figcaption,
.lead-photo figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.45rem 0 0;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.6rem 0 0;
}
.photo-gallery figure { margin: 0; }
.photo-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}
.photo-gallery.two { grid-template-columns: 1fr 1fr; }
.photo-gallery.five { grid-template-columns: repeat(6, 1fr); }
.photo-gallery.five figure { grid-column: span 2; }
.photo-gallery.five figure:nth-child(4) { grid-column: 2 / span 2; }
.photo-gallery.five figure:nth-child(5) { grid-column: 4 / span 2; }
.lead-photo { margin: 0 0 1.6rem; }
.lead-photo img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.split.top { align-items: start; }
@media (max-width: 800px) {
  .split, .split.rev, .foot-grid, .photo-grid, .photo-grid.quart {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    border-bottom: 1px solid rgba(33,46,33,0.1);
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.55rem 0; border-bottom: 0; }
  .nav a.cta { text-align: center; margin-top: 0.4rem; }
  .hero { min-height: 70vh; }
  .photo-gallery,
  .photo-gallery.two,
  .photo-gallery.five {
    grid-template-columns: 1fr 1fr;
  }
  .photo-gallery.five figure,
  .photo-gallery.five figure:nth-child(4),
  .photo-gallery.five figure:nth-child(5) {
    grid-column: auto;
  }
  .photo-gallery.three figure:last-child,
  .photo-gallery.five figure:last-child {
    grid-column: 1 / -1;
  }
  .split.photo-first > img { order: -1; }
}
