:root {
  --green: #60914b;
  --green-dark: #4c7a39;
  --ink: #1f231e;
  --graphite: #494949;
  --muted: #62675f;
  --line: #e2e5df;
  --paper: #fafaf7;
  --tint: #f2f4ef;
  --night: #1c241a;
  --on-night: #f3f5f0;
  --on-night-muted: #b3bcae;
  --leaf-light: #9cc487;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 4px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-leaf { width: 30px; height: 34px; flex: none; }
.brand-word { height: 17px; width: auto; }
.brand-word--dark { display: none; }

.nav-cta {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--on-night);
  border: 1px solid rgba(255,255,255,.35); padding: 10px 18px; border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s;
}
.nav-cta:hover { background: var(--on-night); color: var(--night); }

.site-header.is-dark { background: rgba(28,36,26,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.is-solid { background: rgba(250,250,247,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand-word--light { display: none; }
.site-header.is-solid .brand-word--dark { display: block; }
.site-header.is-solid .nav-cta { border-color: var(--green); color: var(--green-dark); }
.site-header.is-solid .nav-cta:hover { background: var(--green-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 64px) 0 48px;
  background:
    radial-gradient(120% 90% at 85% 10%, #2f4a28 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #151b13 100%);
  color: var(--on-night);
}
.hero-veins {
  position: absolute; right: -8%; top: -6%;
  width: min(900px, 95vw); max-width: none; height: auto; aspect-ratio: 1;
  color: var(--green); opacity: .22;
  pointer-events: none;
}
.hero-inner { position: relative; padding-bottom: clamp(56px, 9vw, 112px); }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--leaf-light); margin-bottom: 28px;
}
.hero-title { font-size: clamp(40px, 7.2vw, 92px); font-weight: 600; max-width: 14ch; }

.fields {
  position: relative; list-style: none; margin: 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.fields li {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.4;
  color: var(--on-night);
}
.fields li::before {
  content: ""; display: block; width: 24px; height: 2px; margin-bottom: 14px;
  background: var(--green);
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }

.kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--green); }

.h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 600; }

.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: background-color .2s;
}
.btn--primary { background: var(--green-dark); color: #fff; }
.btn--primary:hover { background: #3f6630; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-line {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.contact-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--font-head); font-weight: 500; font-style: normal; font-size: clamp(19px, 2vw, 24px); overflow-wrap: anywhere; }
a.contact-line .contact-value { transition: color .2s; }
a.contact-line:hover .contact-value { color: var(--green-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); font-size: 13px; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px 32px; }

/* ---------- Intro animation ---------- */
@keyframes intro-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.intro { animation: intro-up .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-title.intro { animation-delay: .08s; }
.fields.intro { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { animation: none; }
}

@media print {
  .intro { animation: none !important; }
  .site-header { position: static; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .fields { grid-template-columns: 1fr; gap: 0; padding-top: 4px; }
  .fields li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fields li:last-child { border-bottom: 0; }
  .fields li::before { flex: none; width: 16px; margin: 0; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .nav-cta { padding: 8px 14px; }
  .brand-word { height: 14px; }
  .brand-leaf { width: 26px; height: 29px; }
  .hero-veins { right: -40%; top: -4%; width: 130vw; opacity: .16; }
  .contact-line { grid-template-columns: 1fr; gap: 4px; }
}
