/* Huge Growth — site styles. Tokens documented in design-system/MASTER.md */

:root {
  --forest: #1B3F2C;
  --forest-deep: #12301F;
  --leaf: #6FBA5D;
  --leaf-ink: #2F7A2A;
  --paper: #F6F8F4;
  --white: #FFFFFF;
  --text: #1B3F2C;
  --body: #34453B;
  --muted: #5A6960;
  --line: #DDE5DA;
  --tile-sprout: #E4F1DE;
  --tile-mist: #EAF0EE;
  --tile-wheat: #F4EFE1;
  --tile-sky: #E6EEF3;
  --error: #B42318;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.3125rem;
  --fs-lg: 1.625rem;
  --fs-xl: 2.0625rem;
  --fs-2xl: clamp(2.125rem, 1.6rem + 2.2vw, 2.5625rem);
  --fs-3xl: clamp(2.375rem, 1.7rem + 3vw, 3.25rem);
  --fs-hero: clamp(2.75rem, 1.4rem + 6.2vw, 5.25rem);

  --radius-tile: 20px;
  --radius-reel: 28px;
  --container: 1200px;
  --gutter: 24px;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--leaf-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--forest);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-deep); }

.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--tile-sprout); }

.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }

.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.nav-logo { display: inline-flex; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--body);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.nav-links a:hover { background: var(--tile-sprout); color: var(--forest); }
.nav-links a[aria-current="page"] { color: var(--forest); font-weight: 600; background: var(--tile-sprout); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
}
.nav-toggle svg { margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { min-height: 52px; font-size: 1.125rem; }
  .nav-menu .btn { display: flex; width: 100%; margin-top: 12px; }
}
@media (min-width: 861px) {
  .nav-menu { display: flex; align-items: center; gap: 24px; }
  .nav-menu .btn { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  overflow: hidden;
  background: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--body);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.status-pill .dot {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--tile-sprout);
}
.status-pill .dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--leaf-ink);
}

.hero h1 {
  max-width: 13ch;
  margin: 28px auto 0;
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 54ch;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* Reel trio: the one bold moment */
.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2.5vw, 32px);
  max-width: 860px;
  margin: clamp(3.5rem, 2rem + 4vw, 5.5rem) auto 0;
  padding-bottom: 0;
}

.reel {
  margin: 0;
  text-align: left;
}

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-reel) var(--radius-reel) 0 0;
  border: 6px solid var(--forest);
  border-bottom: 0;
  background: var(--forest);
  color: var(--white);
}
.reel:nth-child(2) .reel-frame { aspect-ratio: 9 / 17.5; }

.reel-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-art { position: absolute; inset: 0; }
.reel-1 .reel-art { background: radial-gradient(120% 80% at 20% 10%, #3E7A4F 0%, #1B3F2C 60%); }
.reel-2 .reel-art { background: radial-gradient(120% 90% at 80% 20%, #6FBA5D 0%, #2E6B3F 45%, #163624 100%); }
.reel-3 .reel-art { background: radial-gradient(120% 80% at 50% 0%, #2F5E43 0%, #12301F 70%); }

.reel-top {
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  line-height: 1.2;
}
.reel-avatar {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--white) url("../img/icon.png") center / 70% no-repeat;
}
.reel-top strong { display: block; font-weight: 600; }
.reel-top span { opacity: 0.8; }

/* Text-only ad: the caption is the whole creative */
.reel-caption {
  position: absolute;
  left: 22px; right: 22px; top: 50%;
  transform: translateY(-40%);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 0.6rem + 2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.reel figcaption {
  min-height: 104px;
  padding: 14px 4px 22px;
  border-top: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
  background: var(--white);
}
.reel figcaption strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .reel-top { top: 10px; left: 10px; right: 10px; }
  .reel-top div { display: none; }
  .reel-caption { left: 9px; right: 9px; font-size: 0.9375rem; line-height: 1.08; }
  .reel-frame { border-width: 4px; border-radius: 18px 18px 0 0; }
  .reel figcaption { min-height: 0; }
  .reel figcaption span { display: none; }
}

/* Load sequence (only when motion is OK and JS is running) */
@media (prefers-reduced-motion: no-preference) {
  .js .reel { opacity: 0; transform: translateY(48px) rotate(var(--tilt, 0deg)); }
  .js .reel:nth-child(1) { --tilt: -4deg; }
  .js .reel:nth-child(3) { --tilt: 4deg; }
  .js.is-loaded .reel {
    opacity: 1;
    transform: none;
    transition: opacity 500ms ease, transform 800ms var(--ease-out);
  }
  .js.is-loaded .reel:nth-child(2) { transition-delay: 80ms; }
  .js.is-loaded .reel:nth-child(3) { transition-delay: 160ms; }
}

/* ---------- Platforms strip ---------- */

.platforms {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.platforms-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.platforms p { color: var(--muted); font-size: var(--fs-sm); }
.platforms ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-white { background: var(--white); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.section-head h2 { max-width: 18ch; font-size: var(--fs-3xl); }
.section-head p { max-width: 44ch; color: var(--muted); }

/* Service tiles: Meta ads leads, the rest follow */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-tile);
  background: var(--tile-mist);
}
.tile-lead { grid-column: span 2; background: var(--tile-sprout); }
.tile-wheat { background: var(--tile-wheat); }
.tile-sky { background: var(--tile-sky); }
.tile-wide { grid-column: span 2; }

.tile-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--white);
  color: var(--forest);
}
.tile h3 { font-size: var(--fs-lg); }
.tile-lead h3 { font-size: var(--fs-xl); max-width: 16ch; }
.tile p { max-width: 46ch; margin-top: 12px; color: var(--body); }
.tile .tile-link { margin-top: auto; padding-top: 28px; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--leaf-ink); }

@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile-lead { grid-column: span 2; }
  .tile-wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .tile-lead, .tile-wide { grid-column: auto; }
  .tile { min-height: 0; padding: 24px; }
}

/* Process: a real sequence, so numbered */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1.5px solid var(--forest);
}
.step {
  position: relative;
  padding: 28px 28px 8px 0;
  counter-increment: step;
}
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 40px;
  color: var(--leaf-ink);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
}
.step h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 20px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step::before { margin-bottom: 16px; }
}

/* Approach split */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.split h2 { font-size: var(--fs-3xl); }
.split-intro p { margin-top: 20px; color: var(--muted); max-width: 40ch; }

.principles { margin: 0; padding: 0; list-style: none; }
.principles li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.principles li:first-child { padding-top: 0; }
.principles svg { margin-top: 4px; color: var(--leaf-ink); }
.principles h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.principles p { margin-top: 6px; color: var(--muted); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* CTA panel */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  border-radius: 28px;
  background: var(--forest);
  color: var(--white);
  text-align: center;
}
.cta-panel::before {
  content: "";
  position: absolute;
  right: -40px; bottom: -60px;
  width: 280px; height: 360px;
  background: url("../img/icon.png") center / contain no-repeat;
  opacity: 0.12;
  filter: brightness(1.6);
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  max-width: 20ch;
  margin-inline: auto;
  color: var(--white);
  font-size: var(--fs-3xl);
}
.cta-panel p {
  position: relative;
  max-width: 48ch;
  margin: 20px auto 0;
  color: #CFE3C8;
  font-size: var(--fs-md);
  line-height: 1.5;
}
.cta-panel .btn { position: relative; margin-top: 36px; }

/* ---------- Inner page hero ---------- */

.page-hero {
  padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 16ch; font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.04em; }
.page-hero p { max-width: 56ch; margin-top: 24px; color: var(--muted); font-size: var(--fs-md); line-height: 1.5; }
.page-hero .kicker { margin: 0 0 20px; color: var(--leaf-ink); font-size: var(--fs-base); font-weight: 600; }

/* ---------- Services page ---------- */

.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}
.service-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-weight: 500;
  text-decoration: none;
}
.service-index a:hover { border-color: var(--forest); }

.service {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.service:last-of-type { border-bottom: 0; }
.service-intro h2 { font-size: var(--fs-2xl); }
.service-intro .tile-icon { margin-bottom: 24px; }
.service-intro p { margin-top: 18px; color: var(--muted); max-width: 42ch; }

.service-body h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.service-body > * + h3 { margin-top: 36px; }
.service-body p { margin-top: 10px; max-width: 62ch; }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist svg { margin-top: 3px; color: var(--leaf-ink); }

.fit {
  margin-top: 36px;
  padding: 24px;
  border-radius: 16px;
  background: var(--tile-sprout);
}
.fit strong { display: block; color: var(--forest); font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.fit p { margin-top: 6px; }

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .checklist { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: translateY(-4px) rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { padding: 0 0 24px; max-width: 64ch; color: var(--muted); }

/* ---------- About page ---------- */

.about-lead {
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
}
.prose { max-width: 64ch; }
.prose p + p { margin-top: 1.1em; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.value {
  padding: 28px;
  border-radius: var(--radius-tile);
  background: var(--white);
  border: 1px solid var(--line);
}
.value h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.value p { margin-top: 10px; color: var(--muted); }

@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
}

.founder {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.founder-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-tile);
  background: var(--tile-sprout);
  color: var(--muted);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 24px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.founder h2 { font-size: var(--fs-2xl); }
.founder p { margin-top: 18px; max-width: 58ch; }

@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 360px; }
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-tile);
  background: var(--white);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field label, .field legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
}
.field .req { color: var(--error); }
.field .hint { display: block; margin-top: -4px; margin-bottom: 8px; color: var(--muted); font-size: var(--fs-sm); font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid #869489;
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 150ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B3F2C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid rgba(47, 122, 42, 0.35);
  outline-offset: 0;
  border-color: var(--leaf-ink);
}
.field [aria-invalid="true"] { border-color: var(--error); }

.field fieldset { margin: 0; padding: 0; border: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid #869489;
  border-radius: 999px;
  color: var(--body);
  font-weight: 500;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.choice span::before {
  content: "";
  width: 16px; height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
}
.choice input:checked + span {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}
.choice input:checked + span::before {
  border-color: var(--leaf);
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312301F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--leaf-ink); outline-offset: 2px; }

.field-error {
  display: none;
  margin-top: 8px;
  color: var(--error);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.field-error.is-visible { display: block; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.form-footer p { max-width: 36ch; color: var(--muted); font-size: var(--fs-sm); }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 500;
}
.form-status.is-error { display: block; background: #FDECEA; color: var(--error); }
.form-status:focus { outline: 3px solid var(--leaf-ink); outline-offset: 2px; }

.form-success { text-align: left; }
.form-success .tile-icon { background: var(--tile-sprout); }
.form-success h2 { font-size: var(--fs-2xl); }
.form-success p { margin-top: 14px; color: var(--muted); max-width: 46ch; }

.contact-aside h2 { font-size: var(--fs-lg); }
.contact-aside ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: next; }
.contact-aside ol li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: next;
}
.contact-aside ol li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--tile-sprout);
  color: var(--forest);
  font-weight: 600;
}
.contact-aside ol p { color: var(--muted); font-size: 1rem; }
.contact-aside ol strong { display: block; color: var(--text); }

.contact-details { margin-top: 36px; }
.contact-details a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}
.contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-details svg { color: var(--leaf-ink); }

.hp { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--section);
  padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 32px;
  background: var(--forest);
  color: #CFE3C8;
}
.footer-top {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #CFE3C8;
  text-decoration: none;
}
.site-footer li a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--leaf); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: var(--fs-sm);
  color: #A9C5A0;
}
.footer-bottom a { color: inherit; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Home: CTA section sits directly above footer, so tighten the gap */
.section-before-footer { padding-bottom: 0; }

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .nav-logo img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
