/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }

a { color: var(--c-green); }
a:hover { color: var(--c-green-2); }

:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
  background: var(--c-surface); color: var(--c-green); padding: 12px 18px; border-radius: var(--r-input);
  font-weight: 700; box-shadow: var(--sh-btn);
}
[hidden] { display: none !important; }

/* Image placeholder (design .ph / .ph-dark) — also the fallback behind every media slot */
.ph {
  background-color: var(--c-ph);
  background-image: repeating-linear-gradient(135deg, rgba(0, 64, 28, .06) 0 12px, transparent 12px 24px);
}
.ph-dark {
  background-color: var(--c-green-2);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px);
}
.media { position: relative; overflow: hidden; }
.media > img, .media > picture > img { width: 100%; height: 100%; object-fit: cover; }
img.is-broken { visibility: hidden; }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--f-display); color: var(--c-green); }
h1 { font-weight: 800; line-height: 1.02; letter-spacing: -.01em; }
h2 { font-weight: 800; line-height: 1.05; }
h3 { font-weight: 700; line-height: 1.2; }
.h1 { font-size: clamp(40px, 5vw, 64px); }
.h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.01em; }
.h3 { font-size: clamp(28px, 3vw, 36px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-ink); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--c-muted); }
.muted { color: var(--c-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; border-radius: var(--r-pill); border: 0;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { flex: none; }
.btn--primary { background: var(--c-green); color: #fff; }
.btn--primary:hover { background: var(--c-green-2); color: #fff; }
.btn--gold { background: var(--c-gold); color: var(--c-green); }
.btn--gold:hover { background: #DDBD7A; color: var(--c-green); }
.btn--outline { background: transparent; color: var(--c-green); border: 2px solid var(--c-green); }
.btn--outline:hover { background: var(--c-green); color: #fff; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--square { border-radius: var(--r-input); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1.3;
  background: var(--c-surface); color: var(--c-green);
}
.pill--mint { background: var(--c-mint); }
.pill--gold { background: var(--c-gold); }
.pill--green { background: var(--c-green); color: #fff; }
.pill--caps { letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; font-size: 13px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.input, .select,
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"],
input[type="search"], input[type="url"], select, textarea {
  width: 100%; min-height: 50px; border-radius: var(--r-input); border: 1px solid var(--c-line-input);
  padding: 0 14px; background: var(--c-surface); color: var(--c-text); font-size: 15px; font-weight: 400;
}
textarea { padding: 12px 14px; min-height: 120px; }
select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300401C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--c-green); margin: 0; flex: none; }
::placeholder { color: #8A938D; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--c-muted); }
.breadcrumb a { color: inherit; }
.breadcrumb--light, .breadcrumb--light a { color: var(--c-on-green); }

/* ---------- Prose (block editor content) ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--c-muted); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--c-green); margin-top: 1.6em; }
.prose h2 { font-size: clamp(28px, 3vw, 34px); }
.prose h3 { font-size: 24px; }
.prose a { font-weight: 600; }
.prose strong { color: var(--c-text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img, .prose iframe, .prose .wp-block-embed { border-radius: var(--r-card); }
.prose blockquote, .prose .wp-block-quote {
  padding: 24px 28px; background: var(--c-cream); border-radius: var(--r-card);
  font-family: var(--f-display); font-size: 24px; line-height: 1.35; font-weight: 700; color: var(--c-green);
}
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--f-body); font-size: 14px; font-style: normal; font-weight: 600; color: var(--c-gold-ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--c-line); padding: 10px 8px; text-align: left; }
.prose .wp-block-button__link { background: var(--c-green); color: #fff; border-radius: var(--r-pill); padding: 12px 22px; font-weight: 700; text-decoration: none; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-image img, .prose .wp-block-gallery img { border-radius: var(--r-md); }
.prose .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.alignwide { max-width: min(1100px, 100%); }
.alignfull { width: 100%; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--c-muted); margin-top: 8px; }

/* ---------- Small utilities ---------- */
.meta-line { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--c-muted); }
.meta-line > span { display: inline-flex; gap: 6px; align-items: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.search-form { display: flex; gap: 8px; }
.search-wrap { width: min(100%, 520px); }
.eyebrow--sm { font-size: 12px; letter-spacing: .1em; }
