/* =========================================================
   Landscaping Modern — design system
   Vertical child skin for the Anchor Framework engine.

   Brand values are NOT hard-coded: every colour and font token
   below resolves through the --anchor-* custom properties that
   Anchor Site Config prints in <head>, falling back to the
   vertical's own defaults when a site has not set one. Change a
   colour in Site Config, not here.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand — resolved from Anchor Site Config, vertical defaults as fallback */
  --theme-main: var(--anchor-color-primary, #0a4535);
  --theme-main-dark: var(--anchor-color-secondary, #062b21);
  --theme-main-light: #14654f;
  --theme-accent: var(--anchor-color-accent, #02b725);
  --theme-accent-soft: #e6f8ea;
  --theme-button: var(--anchor-color-accent, #02b725);
  --theme-button-hover: #029a1f;
  --theme-button-text: #ffffff;

  /* Neutrals */
  --theme-dark: #14201b;
  --theme-light: #f4f6f2;
  --theme-cream: #f8f5ef;
  --theme-white: #ffffff;
  --theme-black: #0a0f0d;

  /* Text */
  --theme-text: var(--anchor-color-ink, #1f2a26);
  --theme-muted: var(--anchor-color-muted, #5b6b65);

  /* Borders */
  --theme-border: #d8ddd6;
  --theme-border-light: #ebeee8;

  /* Shadows */
  --theme-shadow: 0 8px 24px rgba(10, 69, 53, 0.08);
  --theme-shadow-heavy: 0 24px 60px rgba(10, 69, 53, 0.18);

  /* Gradients */
  --theme-gradient-main: linear-gradient(135deg, #0a4535 0%, #14654f 100%);
  --theme-gradient-accent: linear-gradient(135deg, #02b725 0%, #06d12d 100%);

  /* Radius */
  --theme-radius-xs: 4px;
  --theme-radius-sm: 8px;
  --theme-radius-md: 14px;
  --theme-radius-lg: 22px;
  --theme-radius-xl: 32px;
  --theme-radius-pill: 999px;

  /* Layout */
  --section-padding-sm: 64px;
  --section-padding: 112px;
  --section-padding-lg: 160px;
  --container-width: 1440px;
  --container-wide: 1440px;
  --grid-gap: 28px;

  /* Motion */
  --transition-fast: 160ms cubic-bezier(.2,.7,.3,1);
  --transition-base: 320ms cubic-bezier(.2,.7,.3,1);

  /* Type */
  --font-main: var(--anchor-font-body, "Inter"), "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--anchor-font-heading, "Archivo"), "Inter", "Helvetica Neue", Arial, sans-serif;
}

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


html { scroll-behavior: smooth; }

/* Nothing is reachable by scrolling sideways. `.section`/`.hero` already clip
   their own decorative overhangs (.card-overlay, .media-stamp), but anything
   outside a section — header, footer, page-level decoration — was still leaving
   a scrollable sliver past the right edge. Clipping at the root covers all of it.
   `clip` rather than `hidden`: `hidden` makes these scroll containers, which
   would stop the sticky header and .sub-nav from sticking. */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.6;
  color: var(--theme-text);
  background: var(--theme-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--theme-main);
  margin: 0 0 0.4em;
  line-height: 1.02;
  text-wrap: balance;
  text-transform: none;
}
h1 { font-size: clamp(44px, 6.2vw, 88px); font-weight: 900; letter-spacing: -0.035em; }
/* H2 stays below the inner-page hero H1 (.page-hero h1: 34-54px) at every width. */
h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; }
h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 18px; font-family: var(--font-main); font-weight: 700; letter-spacing: 0; }
p  { margin: 0 0 1em; text-wrap: pretty; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--section-padding) 0; position: relative; }
/* Decorative overhangs (.media-stamp, .card-overlay) deliberately bleed past the
   container. Clip at the band edge so they never widen the document, while
   staying fully visible whenever the viewport is wider than the container.
   `clip`, not `hidden`: hidden would make these scroll containers. */
.section, .hero { overflow-x: clip; }
.section-sm { padding: var(--section-padding-sm) 0; }
.section-lg { padding: var(--section-padding-lg) 0; }

.section-dark { background: var(--theme-main); color: var(--theme-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--theme-white); }
/* A card is its own light surface. Every dark band — .section-dark and both
   hero bands — sets white text on itself; without this that colour inherits
   into cards placed on them and renders white-on-white. Applies to the whole
   set, so a card is safe on any dark background. */
.section-dark :is(.card, .card-quote, .card-form),
.hero :is(.card, .card-quote, .card-form),
.page-hero :is(.card, .card-quote, .card-form),
.cta-band :is(.card, .card-quote, .card-form) { color: var(--theme-text); }

.section-dark :is(.card, .card-quote, .card-form) :is(h1, h2, h3, h4),
.hero :is(.card, .card-quote, .card-form) :is(h1, h2, h3, h4),
.page-hero :is(.card, .card-quote, .card-form) :is(h1, h2, h3, h4),
.cta-band :is(.card, .card-quote, .card-form) :is(h1, h2, h3, h4) { color: var(--theme-main); }

.section-dark :is(.card, .card-quote, .card-form) p,
.hero :is(.card, .card-quote, .card-form) p,
.page-hero :is(.card, .card-quote, .card-form) p,
.cta-band :is(.card, .card-quote, .card-form) p { color: var(--theme-muted); }
.section-cream { background: var(--theme-cream); }
.section-light { background: var(--theme-light); }

/* ---------- Section headers ---------- */
.section-header { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-header.align-left { margin-left: 0; text-align: left; }
.section-header p { color: var(--theme-muted); font-size: 19px; }
/* A page that leads with its H1 in a section header instead of a hero: keep the
   section-header rhythm so it reads the same as an h2-led one. */
.section-header h1 { font-size: clamp(34px, 4.2vw, 58px); font-weight: 800; }
/* .section-header-sm — compact lead-in for strips and dense bands, where the
   full section-header rhythm would be too much vertical space. */
.section-header-sm { margin-bottom: 28px; }
.section-header-sm h2 { font-size: clamp(26px, 2.4vw, 34px); }
.section-header-sm p { font-size: 17px; }

/* .u-lines-N — reserve N lines of vertical space. Use on headings in a row of
   cards so the copy beneath them stays aligned when one heading wraps and its
   neighbours do not. The em fallback assumes the 1.2 line-height card headings
   use; `lh` makes it exact for any line-height. */
.u-lines-2 { min-height: 2.4em; }
.u-lines-3 { min-height: 3.6em; }
@supports (min-height: 1lh) {
  .u-lines-2 { min-height: 2lh; }
  .u-lines-3 { min-height: 3lh; }
}

/* .u-visually-hidden — available to screen readers, removed from the page. */
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.section-dark .section-header p,
.section-dark .text-lede { color: rgba(255,255,255,.78); }
/* The brand accent is too dark to read as an eyebrow on the deep-green band. */
.section-dark .eyebrow { color: #6fe88a; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.section-header.align-center .eyebrow,
.section-header:not(.align-left) .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--theme-radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--theme-accent-soft); outline-offset: 3px; }

.btn-primary {
  background: var(--theme-button);
  color: var(--theme-button-text);
  box-shadow: 0 10px 24px rgba(2, 183, 37, 0.28);
}
.btn-primary:hover { background: var(--theme-button-hover); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(2, 183, 37, 0.34); }

.btn-dark {
  background: var(--theme-main);
  color: var(--theme-white);
}
.btn-dark:hover { background: var(--theme-main-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--theme-main);
  border: 1.5px solid var(--theme-border);
}
.btn-ghost:hover { background: var(--theme-white); border-color: var(--theme-main); }
/* On a dark band the default green-on-transparent ghost button disappears, so
   it flips to a light outline. Cards on those bands are light surfaces and keep
   the default (same exemption as the card text rules above). */
:is(.section-dark, .hero, .page-hero, .cta-band) .btn-ghost {
  color: var(--theme-white);
  border-color: rgba(255,255,255,.55);
}
:is(.section-dark, .hero, .page-hero, .cta-band) .btn-ghost:hover {
  background: var(--theme-white);
  color: var(--theme-main);
  border-color: var(--theme-white);
}
:is(.section-dark, .hero, .page-hero, .cta-band) :is(.card, .card-quote, .card-form) .btn-ghost {
  color: var(--theme-main);
  border-color: var(--theme-border);
}
:is(.section-dark, .hero, .page-hero, .cta-band) :is(.card, .card-quote, .card-form) .btn-ghost:hover {
  border-color: var(--theme-main);
}

.btn-light {
  background: var(--theme-white);
  color: var(--theme-main);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--theme-main);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition-fast), gap var(--transition-fast), color var(--transition-fast);
}
.btn-link:hover { border-color: var(--theme-accent); color: var(--theme-accent); gap: 12px; }

/* .phone-link — the click-to-call primitive. One rule, four call sites (brand
   bar, mobile drawer, mobile overlay, article rail); each of those only
   overrides size and colour, never the anatomy. */
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--theme-main);
  font-weight: 700;
  white-space: nowrap;
}
.phone-link svg { width: 1em; height: 1em; color: var(--theme-accent); }

.btn-block { width: 100%; }
.btn-lg { padding: 20px 34px; font-size: 16px; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-group-center { justify-content: center; margin-top: 48px; }

/* ---------- Cards (base) ---------- */
.card {
  background: var(--theme-white);
  border-radius: var(--theme-radius-lg);
  border: 1px solid var(--theme-border-light);
  box-shadow: var(--theme-shadow);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--theme-shadow-heavy); }
.card-body { padding: 32px; }
.card-flat { box-shadow: none; }
/* Grid rows stretch every card to the tallest one. Column flow lets a card body
   opt into filling that height (.card-body-fill), which pins its trailing
   action to the card's baseline so a row of cards whose copy runs to different
   lengths still lines its links up. Opt-in: cards without it are unchanged. */
.card { display: flex; flex-direction: column; }
.card-body-fill { flex: 1; display: flex; flex-direction: column; }
.card-body-fill > :last-child { margin-top: auto; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: var(--grid-gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* .grid-auto — count-agnostic columns. The track count follows the item count
   and the available width, so the same class serves a row of three and a row of
   nine without a fixed-column variant per page. Override the minimum per
   placement with --grid-min. */
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 280px), 1fr)); }

.split {
  display: grid;
  gap: 64px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}
.split-60-40 { grid-template-columns: 6fr 4fr; }
.split-40-60 { grid-template-columns: 4fr 6fr; }

/* .stack — vertical list of blocks with a consistent gap. */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { gap: 12px; }
.stack-lg { gap: 24px; }

/* ---------- Image blocks (placeholders, ready for real images) ---------- */
.media {
  position: relative;
  background: var(--theme-light);
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--bg, linear-gradient(135deg, #1a6b4f 0%, #0a4535 60%, #062b21 100%)) center/cover no-repeat;
  z-index: 0;
}
.media-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.media-img-contain {
  object-fit: contain;
  padding: 16px;
  background: var(--theme-white);
}
.media::after {
  /* subtle gradient overlay for caption legibility */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.18) 100%);
  z-index: 1;
  pointer-events: none;
}
.media > * { position: relative; z-index: 2; }
.media-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--theme-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--theme-radius-pill);
}
.media-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px;
  color: var(--theme-white);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.media-aspect-1 { aspect-ratio: 1 / 1; }
.media-aspect-54 { aspect-ratio: 5 / 4; }
.media-aspect-43 { aspect-ratio: 4 / 3; }
.media-aspect-32 { aspect-ratio: 3 / 2; }
.media-aspect-1610 { aspect-ratio: 16 / 10; }
.media-aspect-169 { aspect-ratio: 16 / 9; }
.media-aspect-21 { aspect-ratio: 2 / 1; }
.media-aspect-tall { aspect-ratio: 3 / 4; }

/* Placeholder palette presets — generic, reusable */
.media-bg-lawn    { --bg: linear-gradient(140deg, #4f9c4d 0%, #1f6b3a 60%, #0c3d20 100%); }
.media-bg-stone   { --bg: linear-gradient(140deg, #b9b3a5 0%, #6f6a5e 60%, #2e2b25 100%); }
.media-bg-forest  { --bg: linear-gradient(140deg, #1a6b4f 0%, #0a4535 55%, #062b21 100%); }
.media-bg-sunset  { --bg: linear-gradient(140deg, #e9b46a 0%, #b8763a 50%, #4a2f1c 100%); }
.media-bg-water   { --bg: linear-gradient(140deg, #6fb7c2 0%, #2c6c80 60%, #0e2f3a 100%); }
.media-bg-bloom   { --bg: linear-gradient(140deg, #d99ab3 0%, #8a4a6b 50%, #3a1f2c 100%); }
.media-bg-night   { --bg: linear-gradient(140deg, #2a3f4e 0%, #112432 60%, #050b14 100%); }
.media-bg-bark    { --bg: linear-gradient(140deg, #8a6a48 0%, #503a25 60%, #221710 100%); }

/* Decorative SVG-ish layers for placeholders */
.media-shape {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .7;
  pointer-events: none;
}

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-muted);
  margin-bottom: 8px;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  background: var(--theme-white);
  color: var(--theme-text);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field-textarea { resize: vertical; min-height: 100px; }
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px var(--theme-accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--theme-muted); margin-top: 12px; text-align: center; }

/* ---------- Icon circle ---------- */
.icon-circle {
  width: 56px; height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle-lg { width: 72px; height: 72px; }
.icon-circle-dark { background: var(--theme-main); color: var(--theme-white); }
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle-lg svg { width: 32px; height: 32px; }

/* ---------- Stat ---------- */
.stat { }
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 500;
  color: var(--theme-main);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-dark .stat-value { color: var(--theme-white); }
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-muted);
}
.section-dark .stat-label { color: rgba(255,255,255,.7); }

/* ---------- Trust badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--theme-radius-pill);
  background: var(--theme-white);
  border: 1px solid var(--theme-border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-main);
}
.badge-soft { background: var(--theme-accent-soft); border-color: transparent; color: var(--theme-main); }
.badge-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--theme-white); }
.badge svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--theme-gradient-main);
  color: var(--theme-white);
  border-radius: var(--theme-radius-xl);
  padding: 80px clamp(40px, 6vw, 96px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  /* layered glow */
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 60% at 90% 10%, rgba(2,183,37,.35), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(2,183,37,.18), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }

/* =========================================================
   HEADER (super-bar + main + mega-nav)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--theme-white);
  border-bottom: 1px solid var(--theme-border-light);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

/* SUPER BAR — rendered outside .site-header, so it scrolls away and only the
   brand bar + mega nav stick. */
.super-bar {
  background: var(--theme-white);
  border-bottom: 1px solid var(--theme-border-light);
  font-size: 13px;
}
.super-bar-inner {
  display: flex; align-items: center; gap: 16px;
  height: 40px;
}
.super-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.super-links a {
  padding: 8px 14px;
  color: var(--theme-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}
.super-links a:hover { color: var(--theme-main); }
/* "Now Hiring!"-style tag on a utility link (lsm_utility_links() 'badge'). */
.nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f2a93b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.super-links a.has-icon { display: inline-flex; align-items: center; gap: 6px; }
.super-links a.has-icon svg { width: 14px; height: 14px; }

/* Service area + proof line: one small line at the right of the super bar. */
.brand-tagline {
  display: flex; align-items: center;
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
}
.brand-tagline strong {
  color: var(--theme-main);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-tagline span { color: var(--theme-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.brand-tagline span::before { content: "\00b7"; margin: 0 8px; color: var(--theme-border); }

/* MAIN BAR */
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 92px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 64px; width: auto; }

/* Phone + CTAs, now in the brand bar. */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-actions .phone-link { font-size: 17px; }
.header-actions .btn { padding: 12px 22px; font-size: 14px; }
.header-actions .btn-ghost { padding: 11px 22px; }
/* MEGA NAV STRIP */
.mega-nav {
  background: var(--theme-main);
  color: var(--theme-white);
  position: relative;
}
.mega-nav-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
}
.mega-trigger {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--theme-white);
  cursor: pointer;
  text-decoration: none;
  border: 0;
  background: transparent;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition-fast);
  position: relative;
}
.mega-trigger:last-child { border-right: 0; }
.mega-trigger svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.mega-trigger:hover, .mega-item:hover .mega-trigger { background: var(--theme-main-dark); }
.mega-item:hover .mega-trigger svg { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--theme-white);
  color: var(--theme-text);
  border-bottom: 4px solid var(--theme-accent);
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 10;
}
.mega-item:hover .mega-panel,
.mega-item:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 48px;
  padding: 48px 28px;
  max-width: var(--container-wide);
  margin: 0 auto;
}
.mega-col h6 {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--theme-muted);
  font-weight: 700;
  margin: 0 0 16px;
}
.mega-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mega-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-text);
  border-bottom: 1px solid var(--theme-border-light);
  transition: color var(--transition-fast), padding var(--transition-fast);
}
.mega-list a::after {
  content: "→";
  margin-left: auto;
  color: var(--theme-accent);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.mega-list a:hover { color: var(--theme-accent); padding-left: 6px; }
.mega-list a:hover::after { opacity: 1; }

.mega-cta {
  background: var(--theme-gradient-main);
  color: var(--theme-white);
  border-radius: var(--theme-radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  overflow: hidden;
}
.mega-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(2,183,37,.35), transparent 60%);
  pointer-events: none;
}
.mega-cta > * { position: relative; }
.mega-cta strong {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.mega-cta p { font-size: 13px; color: rgba(255,255,255,.78); margin: 0; line-height: 1.5; }
.mega-cta .btn { margin-top: auto; align-self: flex-start; }

.menu-toggle { display: none; }
.menu-toggle {
  width: 44px; height: 44px;
  border-radius: var(--theme-radius-md);
  background: var(--theme-light);
  align-items: center;
  justify-content: center;
  color: var(--theme-main);
  position: relative;
}
.menu-toggle-bars {
  position: relative;
  width: 22px; height: 16px;
  display: inline-block;
}
.menu-toggle-bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(.4,.0,.2,1), opacity 200ms ease, top 280ms cubic-bezier(.4,.0,.2,1);
}
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 7px; }
.menu-toggle-bars span:nth-child(3) { top: 14px; }
.menu-toggle.is-active .menu-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* =========================================================
   MOBILE: ROOT DRAWER (slides down from header)
   ========================================================= */
.menu-drawer {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-height, 140px);
  bottom: 0;
  background: var(--theme-main);
  color: var(--theme-white);
  z-index: 95;
  display: flex; flex-direction: column;
  padding: 24px 20px 0;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.4,.0,.2,1);
  visibility: hidden;
  overflow-y: auto;
}
.menu-drawer.is-open { transform: translateX(0); visibility: visible; }

.menu-drawer-section {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  margin: 0 0 8px;
}
.menu-drawer-section + .m-list { margin-bottom: 24px; }
.menu-drawer-foot {
  margin-top: auto;
  padding: 24px 0;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.menu-drawer-foot .btn { width: 100%; }
.menu-drawer-foot .phone-link {
  display: flex; justify-content: center; gap: 10px;
  padding: 10px;
  color: var(--theme-white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
}

/* =========================================================
   MOBILE OVERLAY (primary + service overlays)
   ========================================================= */
.m-overlay {
  position: fixed;
  inset: 0;
  background: var(--theme-main);
  color: var(--theme-white);
  z-index: 100;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  visibility: hidden;
}
.m-overlay.is-open { transform: translateX(0); visibility: visible; }
.m-overlay-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: var(--theme-main-dark);
  z-index: 2;
  flex-shrink: 0;
}
.m-overlay-title {
  justify-self: center;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-white);
}
.m-overlay-close,
.m-overlay-back {
  width: 44px; height: 44px;
  border-radius: var(--theme-radius-md);
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--theme-white);
}
.m-overlay-close { grid-column: 3; }
.m-overlay-back { grid-column: 1; }
.m-overlay-back svg { width: 22px; height: 22px; }
.m-overlay-close::before { content: "✕"; font-size: 18px; }

.m-overlay-stage {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.m-overlay-track { display: contents; }
.m-panel {
  position: absolute;
  inset: 0;
  padding: 28px 20px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--theme-main);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(.4,.0,.2,1);
}
.m-panel.is-active { transform: translateX(0); }
.m-overlay-section {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  margin: 28px 0 12px;
}
.m-overlay-section:first-child { margin-top: 0; }
.m-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.m-list a, .m-list button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 100%;
  text-align: left;
}
.m-list a::after, .m-list button::after {
  content: "→";
  color: var(--theme-accent);
}
.m-list-sm a { font-size: 16px; font-family: var(--font-main); font-weight: 500; padding: 14px 0; }

.m-overlay-foot {
  background: var(--theme-main-dark);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.m-overlay-foot .btn { width: 100%; }
.m-overlay-foot .phone-link {
  display: flex; justify-content: center; gap: 10px;
  padding: 14px;
  color: var(--theme-white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
}

/* lock body scroll when menu open */
body.menu-open { overflow: hidden; }

/* Off-canvas panels exist only at the mobile breakpoint. Parked off-screen they
   still count toward document scroll width, so above 760px they are removed
   outright rather than merely hidden. */
@media (min-width: 761px) {
  .menu-drawer,
  .m-overlay { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--theme-main);
  color: var(--theme-white);
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(6,43,33,.92) 0%, rgba(10,69,53,.78) 45%, rgba(10,69,53,.35) 100%),
    var(--hero-bg, none) center/cover no-repeat;
  z-index: 0;
}
.hero::after {
  /* faint topo lines */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%23ffffff' stroke-opacity='0.045' stroke-width='1'><circle cx='300' cy='300' r='80'/><circle cx='300' cy='300' r='140'/><circle cx='300' cy='300' r='200'/><circle cx='300' cy='300' r='260'/><circle cx='300' cy='300' r='320'/></g></svg>");
  background-size: 700px 700px;
  background-position: center;
  z-index: 0;
  opacity: .6;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: var(--theme-white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: #6fe88a; font-weight: 900; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;   /* copy sits mid-height beside a taller card/form */
}
.hero-copy { padding-top: 4px; }

/* .trust-badge — accreditation mark above the H1. The SVG is drawn
   light-on-dark, so it belongs on the dark hero bands. */
.trust-badge { display: inline-block; margin-bottom: 20px; line-height: 0; }
.trust-badge img { height: 54px; width: auto; opacity: .95; transition: opacity var(--transition-fast); }
.trust-badge:hover img { opacity: 1; }
.hero-lede { font-size: 19px; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 36px; }
.hero-eyebrow { color: #6fe88a; }
.hero-eyebrow::before { background: #6fe88a; }

.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.quote-row { display: flex; align-items: center; gap: 14px; }
.stars { color: #ffcc40; letter-spacing: 2px; font-size: 18px; }
.quote-text { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.4; }
.quote-text strong { color: var(--theme-white); display: block; font-weight: 600; }

.area-cue {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.78);
}
.area-cue svg { width: 16px; height: 16px; color: #6fe88a; }

/* Hero form card */
.card-form {
  background: var(--theme-white);
  color: var(--theme-text);
  border-radius: var(--theme-radius-xl);
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  position: relative;
}
/* `.card` clips overflow (for image corners); a form card must not, or its tag above the top edge is cut off. */
.card.card-form { overflow: visible; }
.card-form-header { margin-bottom: 24px; }
.card-form-header h3 { font-family: var(--font-heading); font-size: 28px; color: var(--theme-main); margin: 0 0 6px; }
.card-form-header p { font-size: 14px; color: var(--theme-muted); margin: 0; }
.card-form-tag {
  position: absolute; top: -14px; left: 32px;
  background: var(--theme-accent);
  color: var(--theme-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--theme-radius-pill);
  box-shadow: 0 8px 18px rgba(2,183,37,.4);
}

/* Floating bubbles around hero */
.float-bubble {
  position: absolute;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  border-radius: var(--theme-radius-lg);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--theme-white);
  font-size: 13px;
  z-index: 2;
}
.float-bubble strong { font-family: var(--font-heading); font-size: 22px; font-weight: 500; line-height: 1; display: block; }
.float-bubble span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.float-bubble .icon-circle { background: rgba(2,183,37,.18); color: #6fe88a; width: 40px; height: 40px; }
.float-bubble .icon-circle svg { width: 20px; height: 20px; }
.bubble-1 { top: 56%; left: 56%; transform: translateX(-50%); }
.bubble-2 { bottom: -28px; left: 32px; }
@media (max-width: 1280px) {
  .bubble-1, .bubble-2 { display: none; }
}

/* =========================================================
   PAGE HERO (inner-page header band) + STICKY SUB NAV
   Lifted out of the design comp's per-page <style> block: these are
   generic inner-page helpers, so they belong to the skin, not to a page.
   ========================================================= */
.page-hero {
  position: relative;
  background: var(--theme-main);
  color: var(--theme-white);
  overflow: hidden;
  padding: 64px 0 88px;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(6,43,33,.92) 0%, rgba(10,69,53,.78) 45%, rgba(10,69,53,.4) 100%),
    var(--hero-bg, none) center/cover no-repeat;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--theme-white); font-size: clamp(34px, 3.4vw, 54px); margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.82); max-width: 520px; }

/* Breadcrumbs are rendered by Anchor Tools' [anchor_breadcrumbs] — the theme only
   skins them. Light page by default; the .page-hero override below handles the
   version that sits on a hero photo. */
.al-breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--theme-muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.al-breadcrumbs .sep { color: var(--theme-border); }
.al-breadcrumbs a:hover { color: var(--theme-main); }
.al-breadcrumbs [aria-current] { color: var(--theme-main); font-weight: 600; }

.page-hero .al-breadcrumbs { color: rgba(255,255,255,.7); }
.page-hero .al-breadcrumbs .sep { color: rgba(255,255,255,.4); }
.page-hero .al-breadcrumbs a:hover,
.page-hero .al-breadcrumbs [aria-current] { color: #6fe88a; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;   /* same rhythm as the home hero */
  gap: 56px;
  align-items: center;   /* copy sits mid-height beside a taller card/form */
}
.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 28px;
  padding: 32px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border-radius: var(--theme-radius-lg);
}
.page-hero-stats .stat-value { color: var(--theme-white); font-size: 38px; }
.page-hero-stats .stat-label { color: rgba(255,255,255,.7); }

/* Sticky section nav. Offset by --header-height (kept in sync by
   landscaping.js) so it parks under the sticky site header instead of
   behind it — both would otherwise stick to top:0. */
.sub-nav {
  background: var(--theme-white);
  border-bottom: 1px solid var(--theme-border-light);
  position: sticky; top: var(--header-height, 0px); z-index: 40;
  box-shadow: var(--theme-shadow);
}
/* Anchor targets must clear the sticky site header and this nav, or a jumped-to
   section parks its heading behind them. */
section[id], nav[id], .card-form[id] { scroll-margin-top: calc(var(--header-height, 0px) + 80px); }
.sub-nav-inner {
  display: flex; align-items: center; gap: 8px;
  height: 64px;
  overflow-x: auto;
}
.sub-nav-inner a {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-muted);
  border-radius: var(--theme-radius-pill);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.sub-nav-inner a:hover { color: var(--theme-main); background: var(--theme-light); }
.sub-nav-inner .btn { margin-left: auto; }
.sub-nav-inner .btn.btn-primary { color: var(--theme-white); }
.sub-nav-inner .btn.btn-primary:hover { color: var(--theme-main); background: var(--theme-white); }

@media (max-width: 1100px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .page-hero-stats { grid-template-columns: 1fr; }
  .sub-nav-inner .btn { display: none; }
}

/* =========================================================
   FEATURE BAR (inline trust/proof row)
   ========================================================= */
.feature-bar {
  background: var(--theme-white);
  border-bottom: 1px solid var(--theme-border-light);
  padding: 36px 0;
}
/* .feature-bar-lead — optional heading for the trust strip. Scaled to the band,
   not to a full section: a section-size heading over a 36px strip reads as a
   major section that forgot its content. */
.feature-bar:has(.feature-bar-lead) { padding: 56px 0 44px; }
.feature-bar-lead {
  font-size: clamp(22px, 1.9vw, 27px);
  text-align: center;
  margin: 0 0 32px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: center;
}
.feature-row-item {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 0;
  border-right: 1px solid var(--theme-border-light);
}
.feature-row-item:last-child { border-right: 0; }
.feature-row-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--theme-radius-md);
  background: var(--theme-accent-soft);
  color: var(--theme-main);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-row-item-icon svg { width: 22px; height: 22px; }
.feature-row-item strong { display: block; font-size: 15px; color: var(--theme-main); font-weight: 700; line-height: 1.1; }
.feature-row-item span { font-size: 12px; color: var(--theme-muted); }
.bbb-mark {
  background: var(--theme-main);
  color: var(--theme-white);
  font-family: var(--font-heading);
  font-weight: 600;
  width: 44px; height: 44px;
  border-radius: var(--theme-radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
}
.bbb-mark small { font-size: 8px; letter-spacing: 0.2em; opacity: .8; margin-top: 2px; }

/* =========================================================
   CARDS — body sizes, media badge, feature list
   Pair a card body size with a .media-aspect-* utility on the media
   element; the card type never dictates the crop.
   ========================================================= */
.media-badge { position: relative; }
.media-badge .icon-circle {
  position: absolute; bottom: 16px; right: 16px;
  background: var(--theme-white);
  color: var(--theme-accent);
  width: 64px; height: 64px;
  box-shadow: var(--theme-shadow);
  border: 1px solid var(--theme-border-light);
  z-index: 3;
}
.card-lg .card-body { padding: 32px 28px 28px; }
.card-lg h3 { margin-bottom: 8px; line-height: 1.2; }
.card-lg p { color: var(--theme-muted); font-size: 15px; }

.card-sm .card-body { padding: 24px 28px 28px; }
.card-sm h3 { font-size: 24px; margin-bottom: 10px; line-height: 1.2; }
.card-sm p { color: var(--theme-muted); font-size: 15px; margin-bottom: 18px; }

/* .def-list — labelled term/description rows inside a card. Reusable anywhere
   a card needs "LABEL / value" pairs (plan comparisons, spec sheets). */
.def-list { margin: 0; }
.def-list dt {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--theme-accent); font-weight: 700; margin-bottom: 6px;
}
.def-list dd { margin: 0 0 18px; font-size: 15px; color: var(--theme-muted); line-height: 1.55; }
.def-list dd:last-child { margin-bottom: 0; }

.card-xs .card-body { padding: 28px; }
/* The icon sits above the heading in these stacked cards, so it needs its own
   breathing room — an inline-flex circle brings no margin of its own. */
.card-xs .card-body .icon-circle { margin-bottom: 20px; }
.card-xs h3 { font-size: 19px; margin-bottom: 8px; }
.card-xs p { color: var(--theme-muted); font-size: 15px; margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  padding: 6px 0;
  color: var(--theme-text);
}
.feature-list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--theme-accent);
  flex-shrink: 0;
}

/* =========================================================
   MOSAIC (full-bleed image grid)
   ========================================================= */
.section-flush-bottom { padding-bottom: 0; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  padding: 0 12px;
}
.mosaic-item {
  position: relative;
  border-radius: var(--theme-radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}
/* A tile that opens something is a <button>: strip the UA button chrome. */
button.mosaic-item { display: block; width: 100%; padding: 0; border: 0; font: inherit; color: inherit; text-align: left; }
.mosaic-item .media-img { transition: transform 700ms cubic-bezier(.2,.7,.3,1); }
.mosaic-item:hover, .mosaic-item:focus-visible { transform: scale(1.02); z-index: 2; }
.mosaic-item:hover .media-img, .mosaic-item:focus-visible .media-img { transform: scale(1.08); }
.mosaic-item:hover .media-caption, .mosaic-item:focus-visible .media-caption { opacity: 1; }
.mosaic-item:focus-visible { outline: 3px solid var(--theme-accent); outline-offset: 3px; }
.mosaic-item .media-caption {
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* spans */
.span-c3 { grid-column: span 3; }
.span-c4 { grid-column: span 4; }
.span-c5 { grid-column: span 5; }
.span-c6 { grid-column: span 6; }
.span-c8 { grid-column: span 8; }
.span-r2 { grid-row: span 2; }
.span-r3 { grid-row: span 3; }
.span-r4 { grid-row: span 4; }

/* =========================================================
   MEDIA REVEAL — an image card that is one big link. The title
   sits on the photo; on hover/focus the photo zooms, a veil
   darkens it, the description slides up and a "Find Out More"
   flag drops into the corner. Touch screens (no hover) show the
   description and flag permanently.
   Markup: a.media.media-aspect-*.media-reveal > img.media-img
           + .media-reveal-flag + .media-reveal-body > h3 + .media-reveal-text > p
   ========================================================= */
.media-reveal { display: block; color: var(--theme-white); text-decoration: none; box-shadow: var(--theme-shadow); }
.media-reveal .media-img { transition: transform 700ms cubic-bezier(.2,.7,.3,1); }
.media-reveal::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%);
  z-index: 3; /* `.media > *` lifts the image to 2 — overlays must clear it */
}
.media-reveal::before {
  /* the veil — the base .media::before is only a placeholder fill, which the image covers */
  background: rgba(4, 18, 13, .55);
  opacity: 0;
  z-index: 3;
  transition: opacity var(--transition-base);
}
.media-reveal-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  z-index: 4;
}
.media-reveal-body h3 { color: var(--theme-white); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin: 0; }
.media-reveal-text {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--transition-base), opacity var(--transition-base);
}
.media-reveal-text > * { overflow: hidden; margin: 0; }
.media-reveal-text p { padding-top: 10px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.92); }
.media-reveal-flag {
  position: absolute; top: 0; right: 0;
  z-index: 4;
  background: var(--theme-button);
  color: var(--theme-button-text);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  padding: 12px 22px;
  border-bottom-left-radius: var(--theme-radius-md);
  transform: translateY(calc(-100% - 4px));
  transition: transform var(--transition-base);
}
.media-reveal:is(:hover, :focus-visible) .media-img { transform: scale(1.08); }
.media-reveal:is(:hover, :focus-visible)::before { opacity: 1; }
.media-reveal:is(:hover, :focus-visible) .media-reveal-text { grid-template-rows: 1fr; opacity: 1; }
.media-reveal:is(:hover, :focus-visible) .media-reveal-flag { transform: none; }
.media-reveal:focus-visible { outline: 3px solid var(--theme-accent); outline-offset: 3px; }
@media (hover: none) {
  .media-reveal::before { opacity: .35; }
  .media-reveal-text { grid-template-rows: 1fr; opacity: 1; }
  .media-reveal-flag { transform: none; }
}

/* =========================================================
   ICON LIST — a column of links, each led by a small image icon
   (media-library PNG/SVG, not the sprite). Any item count.
   ========================================================= */
.icon-list { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 4px; }
.icon-list a {
  display: flex; align-items: center; gap: 16px;
  padding: 8px 0;
  color: var(--theme-text);
  font-family: var(--font-heading);
  font-size: 19px;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.icon-list-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.icon-list a:hover, .icon-list a:focus-visible { color: var(--theme-accent); transform: translateX(4px); }

/* =========================================================
   POPUP GALLERY — heading + Anchor Gallery inside a popup
   ========================================================= */
.popup-gallery { padding: 8px 4px 4px; }
.popup-gallery-title { font-size: clamp(26px, 3vw, 36px); margin: 4px 0 20px; }
.popup-gallery-hint { font-size: 13px; color: var(--theme-muted); margin: 14px 0 0; text-align: center; }
/* Keep the whole slideshow (photo + thumbnail strip) inside the viewport: cap
   the featured photo's height by narrowing it, so its aspect ratio holds. */
.popup-gallery .avg-gallery-featured { width: min(100%, calc(46vh * 16 / 9)); margin-inline: auto; }

/* =========================================================
   MAP BAND — full-bleed embedded map with a card (usually the
   quote form) floating over its right side. On phones the map
   becomes a strip above the card.
   The map is a static backdrop: it ignores the pointer, so the page scrolls
   straight past it (no wheel-zoom, no "use ctrl + scroll" overlay) and it stays
   centred on the pin. .map-band-action carries the one thing the map was for —
   directions — as a real link.
   Markup: section.map-band > iframe.map-band-map + a.map-band-action
           + .container.map-band-inner > card
   ========================================================= */
.map-band {
  position: relative;
  min-height: 720px;
  display: flex; align-items: center;
  padding: 64px 0;
  background: var(--theme-light);
  overflow-x: clip;
}
.map-band-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map-band-action { position: absolute; left: 28px; bottom: 28px; z-index: 2; box-shadow: var(--theme-shadow-heavy); }
.map-band-inner { position: relative; display: flex; justify-content: flex-end; }
.map-band-inner > * { width: min(100%, 540px); box-shadow: var(--theme-shadow-heavy); }
@media (max-width: 760px) {
  .map-band { display: block; min-height: 0; padding: 0 0 48px; }
  .map-band-map { position: relative; display: block; height: 340px; }
  .map-band-action { left: auto; right: 20px; top: 20px; bottom: auto; } /* top-left holds the embed's own label */
  .map-band-inner { margin-top: -56px; justify-content: center; }
  .map-band:not(:has(.map-band-inner)) { padding-bottom: 0; } /* map-only band (no card): no gap above what follows */
}

/* =========================================================
   SPLIT FEATURE (feature grid, stat grid, media stack)
   ========================================================= */
.feature-grid {
  list-style: none; padding: 0; margin: 28px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.feature-grid li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.feature-grid .icon-circle { width: 36px; height: 36px; }
.feature-grid .icon-circle svg { width: 18px; height: 18px; }
/* Nudge the copy down so its first line optically centres against the circle.
   Must exclude the circle itself — it is a <span> too, and padding inside its
   fixed 36px box pushed the checkmark off centre. */
.feature-grid li > span:not(.icon-circle) { padding-top: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--theme-border); }
.section-dark .stat-grid { border-top-color: rgba(255,255,255,.18); }
.section-dark .feature-grid .icon-circle { background: rgba(255,255,255,.1); color: #6fe88a; }

.media-stack { position: relative; }
.media-stack .media { aspect-ratio: 4/5; }
.card-overlay {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--theme-white);
  border-radius: var(--theme-radius-lg);
  padding: 24px 28px;
  box-shadow: var(--theme-shadow-heavy);
  max-width: 280px;
  border: 1px solid var(--theme-border-light);
}
.card-overlay strong { font-family: var(--font-heading); font-size: 36px; color: var(--theme-main); display: block; line-height: 1; }
/* Tight leading: this is a compact caption in a small floating card, so it
   must not inherit the body's 1.6 reading line-height. */
.card-overlay span { font-size: 13px; color: var(--theme-muted); display: block; line-height: 1.3; margin-top: 6px; }
.media-stamp {
  position: absolute;
  top: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--theme-accent);
  color: var(--theme-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.05;
  font-weight: 600;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(2,183,37,.4);
  transform: rotate(-8deg);
}

/* =========================================================
   META ROWS + INLINE CALLOUT
   ========================================================= */
.meta-row { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--theme-muted); margin-bottom: 10px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.meta-row span:first-child { color: var(--theme-accent); }
.meta-row-sm { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--theme-muted); margin-bottom: 12px; }
.meta-label { color: var(--theme-accent); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.callout-inline {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: var(--theme-accent-soft);
  border-radius: var(--theme-radius-md);
  font-size: 13px;
  color: var(--theme-main);
  font-weight: 600;
}
.callout-inline svg { width: 16px; height: 16px; color: var(--theme-accent); }

/* =========================================================
   QUOTES (testimonial cards + feature stat)
   ========================================================= */
.feature-stat {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--theme-white);
  border-radius: var(--theme-radius-xl);
  box-shadow: var(--theme-shadow);
  border: 1px solid var(--theme-border-light);
  margin-bottom: 48px;
}
.stat-feature { text-align: center; padding-right: 48px; border-right: 1px solid var(--theme-border-light); }
.stat-feature-num { font-family: var(--font-heading); font-size: 80px; line-height: 1; color: var(--theme-main); font-weight: 500; }
.stat-feature-stars { color: #ffcc40; letter-spacing: 4px; font-size: 22px; margin: 12px 0; }
.stat-feature-meta { font-size: 14px; color: var(--theme-muted); }
.stat-feature-meta strong { color: var(--theme-text); }

.grid-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card-quote-sm {
  padding: 24px;
  background: var(--theme-light);
  border-radius: var(--theme-radius-lg);
  border: 1px solid var(--theme-border-light);
}
.card-quote-sm .stars { font-size: 14px; }
.card-quote-sm p { font-size: 14px; color: var(--theme-text); margin: 12px 0; }
.card-author { display: flex; align-items: center; gap: 10px; font-size: 13px; }
/* Same author block as .card-meta, at the smaller quote card's scale: the name
   on its own line, the source muted beneath it. */
.card-author strong { display: block; color: var(--theme-main); font-weight: 600; }
.card-author span:not(.author-dot) { display: block; color: var(--theme-muted); font-size: 12px; }
.author-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--theme-main); color: var(--theme-white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.meta-tag {
  margin-left: auto;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--theme-muted);
}

/* Detailed testimonials */
.card-quote {
  padding: 36px;
  background: var(--theme-white);
  border-radius: var(--theme-radius-xl);
  border: 1px solid var(--theme-border-light);
  box-shadow: var(--theme-shadow);
  position: relative;
  display: flex; flex-direction: column;
}
.card-quote::before {
  content: "“";
  position: absolute;
  top: 12px; right: 28px;
  font-family: var(--font-heading);
  font-size: 140px;
  line-height: 1;
  color: var(--theme-accent-soft);
  z-index: 0;
}
.card-quote > * { position: relative; z-index: 1; }
.card-quote .stars { font-size: 30px; letter-spacing: 5px; margin-bottom: 16px; }
.card-quote blockquote {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.4;
  color: var(--theme-main);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  font-weight: 400;
  font-style: italic;
}
.card-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--theme-border-light); }
.card-meta .author-dot { width: 44px; height: 44px; font-size: 16px; }
.card-meta strong { display: block; font-size: 15px; color: var(--theme-main); }
.card-meta span { font-size: 13px; color: var(--theme-muted); }
.meta-tag {
  margin-left: auto;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--theme-accent);
  background: var(--theme-accent-soft);
  padding: 6px 12px;
  border-radius: var(--theme-radius-pill);
}

/* =========================================================
   STEPS (numbered process grid)
   ========================================================= */
/* Adapts to however many steps a page has. The connector is drawn per step
   rather than as one line across the grid — a single line has to assume a fixed
   column count and overshoots past the last circle when there are fewer. */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px;
  left: calc(50% + 46px);
  right: calc(-50% + 46px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--theme-white);
  color: var(--theme-main);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  position: relative;
  z-index: 1;
}
.step:last-child .step-num { background: var(--theme-accent); color: var(--theme-white); }
.step h3 { font-size: 19px; margin-bottom: 8px; color: var(--theme-white); font-family: var(--font-main); font-weight: 600; letter-spacing: 0; }
.step p { color: rgba(255,255,255,.74); font-size: 14px; margin: 0; }
.step-grid-light .step h3 { color: var(--theme-main); }
.step-grid-light .step p { color: var(--theme-muted); }
.step-grid-light .step:not(:last-child)::after { background: repeating-linear-gradient(90deg, var(--theme-border) 0 6px, transparent 6px 12px); }
.step-grid-light .step-num { background: var(--theme-main); color: var(--theme-white); }
.step-grid-light .step:last-child .step-num { background: var(--theme-accent); color: var(--theme-white); }

/* =========================================================
   ACCORDION — native <details>, so it works with no JS, is keyboard
   operable and screen-reader announced, and takes any number of items.
   ========================================================= */
.accordion { display: flex; flex-direction: column; gap: 12px; }

.accordion-item {
  background: var(--theme-white);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.accordion-item[open] { border-color: var(--theme-accent); box-shadow: var(--theme-shadow); }

.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-main);
  line-height: 1.3;
  list-style: none;
}
.accordion-trigger::-webkit-details-marker { display: none; }
.accordion-trigger:hover { color: var(--theme-accent); }
.accordion-trigger:focus-visible { outline: 3px solid var(--theme-accent-soft); outline-offset: -3px; }

.accordion-trigger::after {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition-fast);
}
.accordion-item[open] .accordion-trigger::after { transform: rotate(-135deg) translate(-2px, -2px); }

/* height is driven by landscaping.js so the open/close can transition; overflow
   hidden keeps the copy clipped while it animates. */
.accordion-panel {
  padding: 0 26px 24px;
  overflow: hidden;
  transition: height var(--transition-base);
}
.accordion-panel p { margin: 0; color: var(--theme-muted); font-size: 15px; line-height: 1.65; }
.accordion-panel p + p { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .accordion-trigger::after { transition: none; }
  .accordion-panel { transition: none; }
}

/* =========================================================
   PAGE CONTENT UTILITIES
   Small reusable helpers for inner pages that need richer content without
   one-off Divi module CSS.
   ========================================================= */
.text-lede {
  font-size: 18px;
  color: var(--theme-muted);
  max-width: 680px;
}
.text-muted { color: var(--theme-muted); }

.key-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.key-list .contact-line {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--theme-border-light);
}
.key-list .contact-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.link-grid a,
.link-grid span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--theme-white);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-sm);
  color: var(--theme-main);
  font-weight: 600;
  font-size: 14px;
}
.link-grid a:hover {
  color: var(--theme-accent);
  border-color: var(--theme-accent);
}

.map-embed {
  position: relative;
  min-height: 420px;
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  border: 1px solid var(--theme-border-light);
  box-shadow: var(--theme-shadow);
  background: var(--theme-light);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--theme-main-dark);
  color: rgba(255,255,255,.7);
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 0%, rgba(2,183,37,.18), transparent 60%);
}
.site-footer > * { position: relative; }
.grid-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand img { height: 44px; margin-bottom: 20px; }
/* .is-inverted — knock a dark logo out to white. Only for the primary logo:
   a real white-variant logo is used as-is. */
.is-inverted { filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-h {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-white);
  margin-bottom: 22px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-list a:hover { color: var(--theme-accent); }
.contact-line { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.contact-line svg { width: 16px; height: 16px; color: var(--theme-accent); margin-top: 4px; flex-shrink: 0; }
/* Default to the light-surface colour; the dark contexts opt in. Hard-coding
   white here made the component invisible anywhere but the footer. */
.contact-line strong { color: var(--theme-main); display: block; font-weight: 600; }
.site-footer .contact-line strong,
.section-dark .contact-line strong,
.cta-band .contact-line strong { color: var(--theme-white); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--theme-white);
  transition: background var(--transition-fast);
}
.social-icon:hover { background: var(--theme-accent); }
.social-icon svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   ARTICLE (single post: prose column + conversion rail)
   ========================================================= */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 72px;
  align-items: start;
}

.article-title { font-size: clamp(30px, 3vw, 46px); margin-bottom: 12px; }
.article-meta {
  font-size: 13px; color: var(--theme-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 32px;
}
.article-figure { border-radius: var(--theme-radius-lg); overflow: hidden; margin-bottom: 40px; }

/* .prose — body typography for editor-authored long form. The display sizes the
   marketing pages use are far too large for reading, so headings reset here. */
.prose { font-size: 17px; line-height: 1.75; color: var(--theme-text); }
.prose > * { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin-bottom: 1.15em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 30px; line-height: 1.25; font-weight: 800; color: var(--theme-main); margin: 1.9em 0 0.5em; }
.prose h3 { font-size: 23px; line-height: 1.3; font-weight: 700; color: var(--theme-main); margin: 1.6em 0 0.45em; }
.prose h4 { font-size: 19px; line-height: 1.45; font-weight: 700; color: var(--theme-main); margin: 1.4em 0 0.4em; }
.prose > :is(h2, h3, h4):first-child { margin-top: 0; }
.prose a { color: var(--theme-main); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--theme-accent); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose img { border-radius: var(--theme-radius-lg); }
.prose blockquote {
  border-left: 3px solid var(--theme-accent);
  padding: 4px 0 4px 24px;
  font-size: 19px; font-style: italic; color: var(--theme-main);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--theme-border-light); padding: 10px 14px; text-align: left; }
.prose th { background: var(--theme-cream); font-weight: 700; }
.prose figcaption { font-size: 13px; color: var(--theme-muted); margin-top: 8px; }

.article-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--theme-border-light);
}
.article-nav .is-next { text-align: right; }
.article-nav a { display: block; }
.article-nav span {
  display: block; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--theme-muted); margin-bottom: 6px;
}
.article-nav strong { font-family: var(--font-heading); font-size: 17px; color: var(--theme-main); }
.article-nav a:hover strong { color: var(--theme-accent); }
.article-back { margin-top: 32px; }

/* Conversion rail. Sticks below the (sticky) brand bar rather than behind it. */
.article-aside-inner { position: sticky; top: calc(var(--header-height, 0px) + 24px); }
.article-aside .card-form {
  padding: 28px;
  border: 1px solid var(--theme-border-light);
  box-shadow: var(--theme-shadow);
}
.article-aside-logo { display: block; height: 52px; width: auto; margin-bottom: 20px; }
.article-aside-photo { border-radius: var(--theme-radius-lg); overflow: hidden; margin-bottom: 24px; }
.article-aside-phone {
  justify-content: center;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--theme-border-light);
  font-family: var(--font-heading); font-size: 21px; font-weight: 800;
  display: flex;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 1040px) {
  .super-links { display: none; }
  .brand-tagline span { display: none; }
}

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; gap: 56px; }
  .article-aside-inner { position: static; }
  .article-aside { max-width: 560px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .bubble-1, .bubble-2 { display: none; }
  .feature-row { gap: 24px; }
  .feature-row-item { border-right: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-60-40, .split-40-60 { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .feature-stat { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .stat-feature { padding-right: 0; padding-bottom: 32px; border-right: 0; border-bottom: 1px solid var(--theme-border-light); }
  .grid-quotes { grid-template-columns: 1fr; }
  .grid-footer { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card-overlay { right: 0; bottom: -40px; }
  .mosaic { grid-auto-rows: 110px; }
}

@media (max-width: 760px) {
  .prose { font-size: 16px; }
  .prose h2 { font-size: 26px; }
  .prose h3 { font-size: 21px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .is-next { text-align: left; }
  :root {
    --section-padding: 80px;
    --section-padding-lg: 100px;
  }
  html, body { width: 100%; }
  .container, .container-wide { padding: 0 20px; }
  .super-bar { display: none; }
  .header-actions { display: none; }
  .mega-nav { display: none; }
  .header-inner { justify-content: space-between; gap: 12px; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 80px; }
  .card-form { padding: 28px; }
  .mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
  }
  .span-c3, .span-c4, .span-c5, .span-c6, .span-c8 { grid-column: span 3; }
  .span-r2, .span-r3, .span-r4 { grid-row: span 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-overlay, .media-stamp { display: none; }
  .step-grid { grid-template-columns: 1fr; }
  .grid-quotes { grid-template-columns: 1fr; }
  .grid-footer { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 56px 28px; text-align: center; }
  .cta-band .btn-group { justify-content: center; }
  .card-quote { padding: 28px; }
  .card-quote blockquote { font-size: 19px; }
  .card-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-meta strong, .card-meta span { white-space: normal; }
  .meta-tag { margin-left: 0; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Grass edge ---------- */
/*
 * Decorative turf silhouette for the seam between two bands: the blades read as
 * the section's own top edge growing up into whatever sits above it.
 *
 * Masked rather than inlined so one asset serves any colour — --grass-color drives
 * the fill and defaults to the deep green of .section-dark. The artwork tiles on X,
 * so it fits any width instead of being cut to a fixed number of blades, and the
 * gaps between blades stay transparent so the band above shows through unchanged.
 *
 * .section is already position:relative and clips only on X, so the overhang above
 * the band is visible without widening the document.
 */
.grass-edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  /* overlap the band by 1px: the artwork's baseline stops a hair short of the
     viewBox floor, which would otherwise show as a hairline along the join */
  bottom: calc(100% - 1px);
  height: var(--grass-height, 56px);
  background-color: var(--grass-color, var(--theme-main));
  /* Two mask layers added together. The tile is not seamless — its edges meet in a
     notch — so a solid strip along the base carries the join, leaving only the blade
     tips to differ, which reads as ordinary variation rather than a repeat. */
  -webkit-mask:
    linear-gradient(#000, #000) bottom left / 100% var(--grass-base, 14px) no-repeat,
    url("../images/grass.svg") repeat-x bottom left / auto 100%;
  -webkit-mask-composite: source-over;
  mask:
    linear-gradient(#000, #000) bottom left / 100% var(--grass-base, 14px) no-repeat,
    url("../images/grass.svg") repeat-x bottom left / auto 100%;
  mask-composite: add;
  pointer-events: none;
}

@media (max-width: 760px) {
  .grass-edge::before { height: var(--grass-height-sm, 34px); }
}

/* Hero tagline — some source pages carry a short H2 straight after the H1. It is a
   subtitle, not a second headline, so it reads at lede weight while staying an h2. */
.page-hero .hero-tagline,
.hero .hero-tagline {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6fe88a;
  margin: 0 0 14px;
}

/* Inline text link inside body copy. The global reset strips link affordance
   (`a { color: inherit; text-decoration: none }`), which is right for nav and
   cards but leaves a real link inside a paragraph indistinguishable from text.
   Generic: any section, light or dark. */
.link-inline {
  color: var(--theme-main);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.link-inline:hover { color: var(--theme-accent); }
.section-dark .link-inline,
.page-hero .link-inline,
.hero .link-inline,
.cta-band .link-inline { color: #6fe88a; }
