/* Global CSS - tokens injected by /site-build Phase 3 */
/* Syntax: {{ TOKEN_NAME }} is replaced by the skill before build */

:root {
  /* ONE lighter, vibrant green used consistently across the whole site
     (2026-07-07: Vicky/Haim wanted the green lighter + consistent everywhere). */
  --brand:           #0a7d40;
  --brand-secondary: #159c52;
  --brand-dark:      #0d8542;  /* green for accents on LIGHT grounds (eyebrows, step numbers, underlines) */
  --secondary:       #159c52;
  --brand-darkest:   #08522f;
  --btn-ink:         #0a6234;  /* one consistent green for text inside white CTA buttons (readable on white) */
  --white:           #ffffff;
  --off-white:       #f8f7f4;
  --warm-grey:       #f0ece6;
  --charcoal:        #2c2c2c;
  --dark:            #1a1a1a;
  --slate-900:       #1e293b;
  --mid-grey:        #6b7280;
  --light-grey:      #9ca3af;

  /* ===== Vibrant green gradient system (2026-07-07, Vicky/Haim ask: green
     felt dull, wanted dark->lighter vibrant green). One shared identity used
     on every hero, dark band and CTA so the whole site is consistent.
     Text always sits on the DARK end; the vivid green blooms into open space,
     so it stays readable (WCAG) while feeling far richer. */
  --brand-vivid:     #22b45a;   /* the lighter, punchy green for accents on dark */
  /* Solid VIBRANT green for the nav bar, solid page headers, dark bands + CTAs.
     Left stays rich enough for white text; blooms into a vibrant green. Used on
     every SOLID green area so the site is one consistent vibrant identity. */
  --grad-band:  linear-gradient(120deg, #07602f 0%, #0e8b46 52%, #1fa259 100%);
  /* nav gradient: steeper range, clearly dark on the left to lighter on the right */
  --grad-nav:   linear-gradient(100deg, #05421f 0%, #199e55 100%);
  --grad-btn:   linear-gradient(135deg, #0a6e3a 0%, #074a29 100%);
  /* DARK tint for anything OVERLAYING a photo (hero images). John prefers the
     darker look on pictures; kept separate from the vibrant solid green. */
  --tint-photo: rgba(4,28,16,0.62);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* EYEBROW */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark); /* readable green on light grounds (was --brand-secondary, ~2.5:1) */
  margin-bottom: 12px;
}
/* keep the eyebrow bright where it sits on a dark ground */
.page-hero .eyebrow,
.hero .eyebrow,
.section-dark .eyebrow,
.section-cta .eyebrow { color: #5cd65f; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary { background: var(--grad-btn); color: #fff; }
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* PAGE HERO (shared across inner pages) */
.page-hero {
  position: relative;
  padding: 130px 0 72px; /* eyebrow/H1 start aligned to the home hero (2026-07-07) */
  background: var(--grad-band);
  overflow: hidden;
}
/* transparent by default so the vibrant solid page-hero shows through; photo
   heroes (about-hero, svc-hero) override this with a dark --tint-photo layer */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.16;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 620px;
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-white { background: #fff; }
.section-off-white { background: var(--off-white); }
.section-warm { background: var(--warm-grey); }
.section-dark { background: var(--grad-band); }

/* CTA band: dark green ground so the light buttons + heading read (matches the
   home CTA + service-page treatment; without this the landing/location CTA band
   defaulted to white and the white .btn-secondary label was invisible). */
.section-cta { background: var(--grad-band); }
.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255,255,255,0.82); }

/* CONSISTENT CTA buttons on every green/dark ground, site-wide: primary =
   white fill + green text; secondary = white outline + white text. This is the
   single source of truth so About/Home/Contact/landing all match. */
.section-cta .btn-primary,
.cta-section .btn-primary,
.section-dark .btn-primary,
.page-hero .btn-primary { background: #fff; color: var(--btn-ink); }
.section-cta .btn-primary:hover,
.cta-section .btn-primary:hover,
.section-dark .btn-primary:hover,
.page-hero .btn-primary:hover { background: #f0ece6; }
.section-cta .btn-secondary,
.cta-section .btn-secondary,
.section-dark .btn-secondary,
.page-hero .btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.section-cta .btn-secondary:hover,
.cta-section .btn-secondary:hover,
.section-dark .btn-secondary:hover,
.page-hero .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Lighter green means white text needs a soft shadow to stay readable on the
   solid green surfaces (page headers, CTA + dark bands). Photo heroes already
   carry their own tint, so this just reinforces them. */
.page-hero h1, .page-hero .page-hero-content p, .page-hero .eyebrow,
.section-cta h2, .section-cta p,
.section-dark h2, .section-dark p, .section-dark .eyebrow,
.cta-content h2, .cta-content p { text-shadow: 0 1px 10px rgba(0,0,0,0.30); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--charcoal);
  margin-bottom: 10px;
}
/* light-green underline accent under centered section headings */
.section-header h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--brand-secondary);
}
.section-header p {
  color: var(--mid-grey);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== LIGHT-GREEN ACCENT SYSTEM ===== */
/* highlight a key word/phrase in light green bold */
.hl { color: var(--brand-secondary); font-weight: 700; }
/* on dark backgrounds the light green needs to stay punchy */
.section-dark .hl, .page-hero .hl, .hero .hl { color: #5cd65f; }

/* left-edge accent for callout/lead paragraphs */
.accent-left {
  border-left: 4px solid var(--brand-secondary);
  padding-left: 18px;
}

/* light-green underline under inner-page hero H1 */
.page-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--brand-secondary);
}

/* eyebrow gets a small leading light-green tick */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--brand-secondary);
}
