/* ============================================================
   Affordable Stump Grinding — Site Stylesheet
   Green earthy palette · Montserrat + Inter · bold local-pro feel
   Fully self-contained design system (does NOT load FMR site.css).
   Loaded by InkCMS/Custom/Views/Shared/_MasterLayout.cshtml.
   ============================================================ */

:root {
  /* Forest / leaf greens */
  --green-900:#13310f;
  --green-800:#1b4514;
  --green-700:#27611d;   /* primary green */
  --green-600:#347a28;
  --green-500:#4e9a3a;
  --green-050:#eef4e8;

  /* Bark / earth browns */
  --bark-900:#241a12;
  --bark-700:#3d2c1d;
  --bark-500:#6b4f35;
  --earth:   #8a6d49;

  /* Paper / cream */
  --cream:   #f7f3ea;
  --sand:    #ece3d2;
  --paper:   #ffffff;

  /* Accent — warm amber for top-priority CTAs (call / estimate) */
  --amber:    #e2902b;
  --amber-600:#c8771a;

  /* Ink (text) */
  --ink:      #20271b;
  --ink-soft: #49533f;
  --ink-mute: #5e6a4f;   /* darkened to clear WCAG AA (4.5:1) on cream */
  --line:     rgba(20, 40, 14, 0.12);

  --font-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1180px;
  --max-w-narrow: 760px;
  --pad-x: clamp(18px, 4vw, 44px);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 2px 10px rgba(20, 40, 14, 0.08);
  --shadow-md: 0 12px 32px rgba(20, 40, 14, 0.14);
  --shadow-lg: 0 24px 60px rgba(20, 40, 14, 0.22);

  --header-h: 124px;
  --header-h-scrolled: 64px;
}

/* ---------------------------------------------------- BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
.accent { color: var(--green-600); }
.text-center { text-align: center; }

.skip-link {
  position: fixed; top: 0; left: 50%;
  transform: translate(-50%, -150%);
  z-index: 2000; background: var(--green-800); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 8px; font-weight: 600;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color:#fff; }

/* ---------------------------------------------------- LAYOUT */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.container-narrow { max-width: var(--max-w-narrow); }
.section { padding: clamp(54px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--sand  { background: var(--sand); }
.section--green {
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #eaf2e4;
}
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }

.section-header { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-header.is-left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.section--green .eyebrow { color: var(--amber); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-intro { font-size: 1.12rem; color: var(--ink-soft); margin-top: .4em; }
.section--green .section-intro { color: #cfe0c4; }

/* ---------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; padding: 14px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .16s ease;
  text-align: center; line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--amber); color: #2a1c05; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-600); border-color: var(--amber-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn-green:hover { background: var(--green-600); border-color: var(--green-600); color:#fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background:#fff; color: var(--green-800); border-color:#fff; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------------------------------------------------- HEADER */
.ink-advisor-stick { position: sticky; top: 0; z-index: 1000; }
.site-header {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 6px 24px rgba(8,24,6,0.18);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x);
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
  transition: height .28s ease;
}
.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }

/* Logo sits directly on the dark header — its built-in white soft-glow
   gives the dark "asg" mark enough contrast (no chip needed). */
/* Brand is a centered lockup: logo centered over the business name. On
   scroll the name collapses (max-width → 0), which narrows the brand and
   slides the centered logo to the left as it shrinks. */
.brand { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; line-height: 1; }
.brand-mark { width: auto; }
.brand-mark--header { height: 80px; transition: height .28s ease; }
.site-header.is-scrolled .brand-mark--header { height: 48px; }
.brand-mark--footer { height: 72px; }

/* Business name under the logo — shown in every view. */
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .05em; text-transform: uppercase; color: #eaf2e4; white-space: nowrap;
  overflow: hidden; max-width: 360px; max-height: 22px; opacity: 1;
  transition: max-width .3s ease, max-height .3s ease, opacity .22s ease;
}
/* On scroll: collapse the name → the centered logo slides left + shrinks. */
.site-header.is-scrolled .brand-name { max-width: 0; max-height: 0; opacity: 0; }

.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav > a, .nav-item > a {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: #eaf2e4; padding: 8px 10px; border-radius: 8px;
  letter-spacing: .01em; position: relative; transition: color .15s, background .15s, font-size .28s ease, padding .28s ease;
  white-space: nowrap;
}
/* Nav shrinks with the header on scroll. */
.site-header.is-scrolled .site-nav > a, .site-header.is-scrolled .nav-item > a { font-size: .86rem; padding: 8px 9px; }
.site-nav > a:hover, .nav-item > a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--amber); border-radius: 2px;
}

/* Header call CTA */
.header-cta {
  display: inline-flex; align-items: center; gap: .5em; flex-shrink: 0;
  background: var(--amber); color: #2a1c05 !important;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  padding: 10px 15px; border-radius: 999px; transition: all .16s ease; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.header-cta:hover { background: #fff; color: var(--green-800) !important; transform: translateY(-1px); }
.header-cta svg { width: 1.05em; height: 1.05em; }

.nav-toggle {
  display: none; margin-left: auto; background: rgba(255,255,255,0.16); color: #fff;
  border: 1px solid rgba(255,255,255,0.36); font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  padding: 11px 16px; border-radius: 8px; cursor: pointer; letter-spacing: .04em;
}

/* Dropdowns (kept for forward-compat with child menus) */
.nav-item { position: relative; }
.nav-item.has-children > a::after { content: " ▾"; font-size: .7em; opacity: .7; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .16s ease; z-index: 50;
}
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: 7px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.nav-dropdown a:hover { background: var(--green-050); color: var(--green-700); }

/* ---------------------------------------------------- HERO (home, video) */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: center; overflow: hidden; color: #fff;
  background: var(--green-900) center / cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,24,6,.55) 0%, rgba(8,24,6,.35) 40%, rgba(8,24,6,.78) 100%),
    linear-gradient(90deg, rgba(8,24,6,.65) 0%, rgba(8,24,6,.15) 70%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); width: 100%; }
.hero-inner { max-width: 720px; padding: clamp(60px, 9vw, 110px) 0; }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
  background: rgba(0,0,0,.28); padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-title { font-size: clamp(2.3rem, 6vw, 4rem); color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.4); margin-bottom: .35em; }
.hero-title .accent { color: var(--amber); }
.hero-tagline { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: #f0f5ec; max-width: 600px; margin-bottom: 1.6em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.hero-phone:hover { color: var(--amber); }

/* Page hero (interior pages, image background) */
.hero--page { min-height: clamp(280px, 42vh, 420px); }
.hero--page .hero-inner { padding: clamp(48px, 7vw, 80px) 0; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* ---------------------------------------------------- TRUST BAR */
.trust-bar { background: var(--green-800); color: #eaf2e4; }
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 4vw, 48px); padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }

/* ---------------------------------------------------- BENEFIT LIST */
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefit-list li { display: flex; align-items: flex-start; gap: .7em; font-weight: 500; }
.benefit-list li::before {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/15px no-repeat;
}
.section--green .benefit-list li::before { background-color: var(--amber); }

/* ---------------------------------------------------- FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.feature-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700); margin-bottom: 18px;
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.22rem; margin-bottom: .4em; }
.feature-card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------------------------------------------------- SPLIT (media + body) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.is-reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.split-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.split-body p { color: var(--ink-soft); }
.section--green .split-body p { color: #d4e3ca; }

/* ---------------------------------------------------- STEPS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.18rem; margin-bottom: .35em; }
.step p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* ---------------------------------------------------- STATS BAND */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--amber); line-height: 1; }
.stat-label { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; color: #cfe0c4; margin-top: 8px; }

/* ---------------------------------------------------- REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review-stars { color: var(--amber); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 1.02rem; color: var(--ink); font-style: italic; margin-bottom: 18px; }
.review-text::before { content: "“"; }
.review-text::after  { content: "”"; }
.review-author { margin-top: auto; font-family: var(--font-head); font-weight: 700; color: var(--green-700); }
.review-author span { display: block; font-family: var(--font-body); font-weight: 500; font-size: .86rem; color: var(--ink-mute); }

/* ---------------------------------------------------- GALLERY */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------------------------------------------------- CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: var(--radius); padding: clamp(36px, 6vw, 60px);
  text-align: center; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-band p { color: #d4e3ca; font-size: 1.12rem; max-width: 560px; margin: 0 auto 1.6em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.cta-phone { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); display: inline-flex; align-items: center; gap: .4em; }
.cta-phone:hover { color: var(--amber); }

/* ---------------------------------------------------- AREA LIST */
.area-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--bark-700);
}
.county-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.county-list li { display: flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 600; }
.county-list svg { width: 20px; height: 20px; color: var(--green-600); }

/* ---------------------------------------------------- FORM */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: clamp(26px, 4vw, 42px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-050); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: .85rem; color: var(--ink-mute); margin: 4px 0 0; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-alert--ok { background: var(--green-050); color: var(--green-800); border: 1px solid var(--green-500); }
.form-alert--err { background: #fdeceb; color: #9c2a1f; border: 1px solid #e3a59f; }

/* ---------------------------------------------------- CONTACT CARDS */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); text-align: center;
}
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-card a { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; word-break: break-word; }
.contact-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------------------------------------------------- PROSE (privacy/terms) */
.prose { max-width: var(--max-w-narrow); margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.3em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

/* ---------------------------------------------------- FOOTER */
.site-footer { background: linear-gradient(180deg, var(--green-900), #0c220a); color: #c9d8bf; }
.footer-cta-band {
  background: var(--bark-900); color: #fff; text-align: center;
  padding: clamp(34px, 5vw, 52px) var(--pad-x);
}
.footer-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: .5em; }
.footer-cta-band .cta-actions { margin-top: 6px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--pad-x) 30px;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(28px, 5vw, 56px);
}
.footer-brand-chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px;
}
/* Footer business name reuses .brand-name; the scroll-collapse rule is
   scoped to .site-header, so it always shows here. */
.footer-brand-chip .brand-name { max-height: none; }
.footer-tagline { color: #aec39f; font-size: .98rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col nav { display: flex; flex-direction: column; gap: 9px; }
.footer-col nav a, .footer-col p a { color: #c9d8bf; font-weight: 500; }
.footer-col nav a:hover, .footer-col p a:hover { color: var(--amber); }
.footer-col p { color: #c9d8bf; font-size: .96rem; margin-bottom: .8em; }
.footer-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff !important; }
.footer-phone:hover { color: var(--amber) !important; }
.footer-areas { font-size: .82rem; color: #8ba37c; line-height: 1.6; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 18px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #93a886;
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom nav a { color: #93a886; }
.footer-bottom nav a:hover { color: var(--amber); }

/* ---------------------------------------------------- RESPONSIVE */
/* Switch to the hamburger early — the 7-item nav + brand lockup needs a
   wide viewport; below this it would clip on the right. */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 8px; margin: 0;
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease;
  }
  .site-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; padding: 10px; }
  /* White drop panel on mobile — links revert to dark ink for contrast. */
  .site-nav > a, .nav-item > a { padding: 14px 16px; border-radius: 8px; font-size: 1.02rem; color: var(--ink); }
  .site-nav > a:hover, .nav-item > a:hover { color: var(--green-700); background: var(--green-050); }
  .site-nav a.is-active { color: var(--green-700); }
  .site-nav a.is-active::after { display: none; }
  .nav-item { width: 100%; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 14px; }
  .split { grid-template-columns: 1fr; }
  .split.is-reverse .split-media { order: 0; }
  .area-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  /* Phones: keep the centered logo + name lockup (shown in every view) —
     just shrink the name and tighten gaps so the logo, name, hamburger and
     search all fit. */
  .header-inner { gap: 12px; }
  .site-header .brand-name { font-size: .56rem; letter-spacing: .02em; max-width: 220px; }
}

/* ---------------------------------------------------- SITE SEARCH */
.site-search--compact { position: relative; flex-shrink: 0; }
.site-search__toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.30); cursor: pointer;
  position: relative; z-index: 2; transition: background .15s, opacity .18s ease;
}
.site-search__toggle:hover { background: rgba(255,255,255,0.26); }
/* When open, fade the icon out so it can't sit on top of the form's submit. */
.site-search--compact[data-open="true"] .site-search__toggle { opacity: 0; pointer-events: none; }

.site-search--compact .site-search__form {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-lg);
  height: 54px; padding: 0 60px 0 22px;       /* taller; right room for the submit button */
  width: 0; opacity: 0; visibility: hidden; overflow: hidden;
  transition: width .26s ease, opacity .2s ease; z-index: 4;
}
.site-search--compact[data-open="true"] .site-search__form { width: min(380px, 74vw); opacity: 1; visibility: visible; }
.site-search__label { position: absolute; left: -9999px; }
.site-search__input { border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: 1.02rem; width: 100%; color: var(--ink); }
.site-search__submit {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: var(--green-700); color: #fff; cursor: pointer; z-index: 5;
}
.site-search__submit:hover { background: var(--green-600); }

/* Blur + dim the rest of the header while search is open, so the expanding
   field stands out. (:has() supported in all current browsers.) */
.site-header:has(.site-search--compact[data-open="true"]) .brand,
.site-header:has(.site-search--compact[data-open="true"]) .site-nav,
.site-header:has(.site-search--compact[data-open="true"]) .header-cta {
  filter: blur(3px); opacity: 0.4; pointer-events: none;
  transition: filter .2s ease, opacity .2s ease;
}

.site-search-page { padding: clamp(36px, 6vw, 64px) 0; }
.site-search--page { display: block; max-width: 680px; margin: 0 auto 32px; }
.site-search__label--visible { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.site-search__group { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow-sm); }
.site-search__group:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-050); }
.site-search__group-icon { color: var(--green-700); flex-shrink: 0; margin-right: 10px; }
.site-search__input--page { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: 1.05rem; color: var(--ink); }
.site-search__submit--page { background: var(--green-700); color: #fff; border: none; font-family: var(--font-head); font-weight: 700; padding: 12px 24px; border-radius: 999px; cursor: pointer; }
.site-search__submit--page:hover { background: var(--green-600); }

.site-search-results__count { text-align: center; color: var(--ink-mute); margin-bottom: 24px; }
.site-search-results__empty { text-align: center; color: var(--ink-soft); padding: 30px 0; }
.site-search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.site-search-tile { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s; color: var(--ink); }
.site-search-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.site-search-tile__pill { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); background: var(--green-050); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.site-search-tile__title { font-size: 1.15rem; margin-bottom: .4em; }
.site-search-tile__snippet { color: var(--ink-soft); font-size: .94rem; margin-bottom: .8em; }
.site-search-tile__more { font-family: var(--font-head); font-weight: 700; color: var(--green-600); font-size: .9rem; }
.admin-muted { color: var(--ink-mute); }

/* ---------------------------------------------------- A11Y: FOCUS */
/* Visible keyboard focus on every interactive element (WCAG 2.4.7). */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
/* On dark surfaces, the amber ring reads well; keep it consistent. */
.hero a:focus-visible, .section--green a:focus-visible,
.site-footer a:focus-visible, .cta-band a:focus-visible,
.header-cta:focus-visible { outline-color: #ffd27a; }

/* ---------------------------------------------------- COOKIE CONSENT */
.ink-cookie-consent {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 1500; width: min(720px, calc(100% - 32px));
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top: 4px solid var(--green-600);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px;
}
.ink-cookie-consent[hidden] { display: none; }
.ink-cookie-consent__inner {
  display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; justify-content: space-between;
}
.ink-cookie-consent__msg { margin: 0; font-size: .92rem; color: var(--ink-soft); flex: 1 1 320px; }
.ink-cookie-consent__learn { color: var(--green-700); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.ink-cookie-consent__learn:hover { color: var(--green-600); }
.ink-cookie-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.ink-cookie-consent__btn {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  padding: 11px 22px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: all .15s ease;
}
.ink-cookie-consent__btn--accept { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.ink-cookie-consent__btn--accept:hover { background: var(--green-600); border-color: var(--green-600); }
.ink-cookie-consent__btn--decline { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.ink-cookie-consent__btn--decline:hover { border-color: var(--ink-soft); color: var(--ink); }
@media (max-width: 560px) {
  .ink-cookie-consent { bottom: 0; width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
  .ink-cookie-consent__actions { width: 100%; }
  .ink-cookie-consent__btn { flex: 1; }
}

/* Respect reduced-motion: pause the hero video (show the poster instead)
   and drop transform animations. */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  /* The hero video stays VISIBLE (showing its poster frame); asg.js pauses
     it so there's no motion. We deliberately do NOT display:none it. */
  .feature-card:hover, .btn:hover, .gallery-item:hover img { transform: none !important; }
}

/* ============================================================
   AI ASSISTANT — right-edge launcher + simplified chat panel
   ============================================================ */
.asg-ai { font-family: var(--font-body); }

/* Launcher: fixed to the right edge, ~1/3 down the viewport. Collapsed it
   shows just the sparkle icon; on hover/focus it expands to reveal the
   "AI Assistant" label. */
.asg-ai__launch {
  position: fixed; right: 0; top: 33vh; z-index: 1400;
  display: flex; align-items: center; gap: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; border: none; border-right: 0;
  border-radius: 16px 0 0 16px; padding: 14px 16px;
  box-shadow: -6px 8px 24px rgba(8,24,6,0.34), 0 0 0 1px rgba(255,255,255,0.18) inset;
  outline: 2px solid rgba(226,144,43,0.55); outline-offset: -2px;
  transition: padding .2s ease, box-shadow .2s ease, transform .2s ease;
}
.asg-ai__launch:hover, .asg-ai__launch:focus-visible { padding-right: 22px; transform: translateX(-2px); }
.asg-ai__icon { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; }
.asg-ai__icon svg { width: 28px; height: 28px; fill: var(--amber); filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.asg-ai__icon--sm svg { width: 18px; height: 18px; }
.asg-ai__launch-label {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .24s ease, opacity .2s ease, margin-left .24s ease; margin-left: 0;
}
.asg-ai__launch:hover .asg-ai__launch-label,
.asg-ai__launch:focus-visible .asg-ai__launch-label { max-width: 160px; opacity: 1; margin-left: 10px; }
.asg-ai[data-state="open"] .asg-ai__launch { display: none; }

/* Gentle attract-pulse so visitors notice it (disabled for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  .asg-ai[data-state="closed"] .asg-ai__icon { animation: asgPulse 2.6s ease-in-out infinite; }
}
@keyframes asgPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }

/* Chat panel */
.asg-ai__panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 1401;
  width: min(384px, calc(100vw - 32px)); height: min(560px, calc(100vh - 32px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg);
}
.asg-ai[data-state="closed"] .asg-ai__panel { display: none; }
.asg-ai__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff;
}
.asg-ai__head-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.asg-ai__head-title .asg-ai__icon--sm svg { fill: var(--amber); }
.asg-ai__close { background: rgba(255,255,255,0.16); border: none; color: #fff; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.asg-ai__close:hover { background: rgba(255,255,255,0.3); }
.asg-ai__close svg { width: 18px; height: 18px; }

.asg-ai__log { flex: 1; overflow-y: auto; padding: 16px; scroll-behavior: smooth; display: flex; flex-direction: column; gap: 12px; }
.asg-ai__msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.55; }
.asg-ai__msg p { margin: 0 0 .6em; } .asg-ai__msg p:last-child { margin-bottom: 0; }
.asg-ai__msg a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.asg-ai__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.asg-ai__msg--user { align-self: flex-end; background: var(--green-700); color: #fff; border-bottom-right-radius: 4px; }
.asg-ai__msg--user a { color: #fff; }
.asg-ai__sources { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-mute); }
.asg-ai__sources a { font-weight: 600; }

/* Advisor-generated HTML inside a bot bubble (citations + CTA tiles). */
.asg-ai__msg .ink-adv-citation { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.asg-ai__msg .ink-adv-tiles { display: grid; gap: 8px; margin-top: 12px; }
.asg-ai__msg .ink-adv-tile {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border: 1px solid var(--green-500); border-radius: 12px;
  background: var(--green-050); text-decoration: none; transition: all .14s ease;
}
.asg-ai__msg .ink-adv-tile:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.asg-ai__msg .ink-adv-tile__label { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); }
.asg-ai__msg .ink-adv-tile__title { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--ink); }
.asg-ai__msg .ink-adv-tile__sub { font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }
.asg-ai__msg .ink-adv-tile:hover .ink-adv-tile__label { color: #ffd27a; }
.asg-ai__msg .ink-adv-tile:hover .ink-adv-tile__title,
.asg-ai__msg .ink-adv-tile:hover .ink-adv-tile__sub { color: #fff; }

.asg-ai__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.asg-ai__chip {
  background: #fff; border: 1px solid var(--green-500); color: var(--green-700);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: all .14s ease; text-align: left;
}
.asg-ai__chip:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }

.asg-ai__typing { display: inline-flex; gap: 5px; }
.asg-ai__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); animation: asgDot 1.2s infinite ease-in-out; }
.asg-ai__typing span:nth-child(2) { animation-delay: .18s; } .asg-ai__typing span:nth-child(3) { animation-delay: .36s; }
@keyframes asgDot { 0%,80%,100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.asg-ai__form { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.asg-ai__input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; font-family: var(--font-body); font-size: .95rem; background: var(--cream); color: var(--ink); }
.asg-ai__input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-050); background: #fff; }
.asg-ai__send { flex-shrink: 0; width: 44px; border: none; border-radius: 50%; background: var(--amber); color: #2a1c05; cursor: pointer; display: grid; place-items: center; transition: background .14s ease; }
.asg-ai__send:hover { background: var(--amber-600); color: #fff; }
.asg-ai__send svg { width: 18px; height: 18px; }

@media (max-width: 520px) {
  .asg-ai__launch { top: auto; bottom: 84px; }
  .asg-ai__panel { right: 0; bottom: 0; width: 100vw; height: 82vh; border-radius: 18px 18px 0 0; }
}
