/* ============================================================
   FORTIS ECOLOGY — styles.css
   Hand-written vanilla CSS. No framework, no build step.
   Implements the design system in Design System.dc.html.
   Order: tokens → reset → type → layout → components → motion → responsive
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand greens */
  --forest: #1B3A2D;      /* heroes, footer, dark sections */
  --forest-deep: #14291F; /* footer / deepest band */
  --moss: #2D6A4F;        /* links, secondary emphasis, focus on light */
  --fern: #40916C;        /* decorative strokes, hover tints, ticks */

  /* Gold — see accessibility rule below */
  --gold: #B5935A;        /* DECORATIVE, on dark only (rules, seal rings) */
  --gold-cta: #8A6D38;    /* buttons + gold text on light (4.86:1) */
  --gold-cta-hover: #755C2F;
  --gold-cta-active: #5E4A26;
  --gold-light: #C9A96A;  /* gold text on dark (eyebrows, seal text) */

  /* Neutrals */
  --off-white: #FAFAF8;   /* page background */
  --mist: #F2F3EE;        /* alternate section tint */
  --charcoal: #1A1A1A;    /* headings on light */
  --body: #4A4A46;        /* body copy (charcoal 78%) */
  --muted: #6B6B66;       /* meta, captions */
  --line: #E7E5DE;        /* borders on light */
  --field-border: #C9C7BE;
  --danger: #9B2C2C;      /* validation only */

  /* On-dark alphas */
  --on-dark-90: rgba(250,250,248,0.90);
  --on-dark-82: rgba(250,250,248,0.82);
  --on-dark-75: rgba(250,250,248,0.75);
  --on-dark-65: rgba(250,250,248,0.65);
  --on-dark-line: rgba(250,250,248,0.14);

  /* Type */
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Radius */
  --r-chip: 4px;
  --r-btn: 8px;
  --r-card: 12px;
  --r-panel: 16px;
  --r-pill: 999px;

  /* Elevation — green-tinted, never grey */
  --e1: 0 1px 2px rgba(27,58,45,0.06);
  --e2: 0 4px 14px rgba(27,58,45,0.10);
  --e3: 0 16px 40px rgba(27,58,45,0.14);

  /* Layout */
  --maxw: 1200px;
  --gutter: 32px;

  /* Motion */
  --t-fast: 160ms ease;
  --t-reveal: 400ms ease-out;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); }

/* Visible focus everywhere (WCAG 2.2) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--gold-light); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--forest); color: var(--off-white);
  padding: 12px 20px; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ---------- 3. TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-cta);
  margin: 0 0 14px 0;
}
.on-dark .eyebrow { color: var(--gold-light); }

h1, .h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.02em; margin: 0;
}
h2, .h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(26px, 3vw, 32px); line-height: 1.15;
  letter-spacing: -0.015em; margin: 0;
}
h3, .h3 {
  font-family: var(--font-head); font-weight: 600;
  font-size: 22px; line-height: 1.3; margin: 0;
}
.lead { font-size: 19px; line-height: 1.6; color: var(--body); }
p { color: var(--body); }
.measure { max-width: 68ch; }

/* In-copy link: moss text, gold underline */
.link-inline {
  color: var(--moss); text-decoration: underline;
  text-decoration-color: var(--gold-cta);
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.link-inline:hover { color: var(--forest); text-decoration-thickness: 2px; }

/* Arrow link */
.link-arrow {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--moss); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow .arw { transition: transform var(--t-fast); }
.link-arrow:hover .arw { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--gold-light); }

/* ---------- 4. LAYOUT ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 96px); padding-bottom: clamp(64px, 9vw, 96px); }
.section--mist { background: var(--mist); }
.section--forest { background: var(--forest); }
.section--flush-bottom { padding-bottom: 0; }
.on-dark, .section--forest { color: var(--off-white); }
.on-dark h1, .on-dark h2, .on-dark h3, .section--forest h1, .section--forest h2, .section--forest h3 { color: var(--off-white); }
.on-dark p, .section--forest p { color: var(--on-dark-82); }

/* ---------- 5. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,248,0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.wordmark { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.wordmark__name {
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  letter-spacing: 0.05em; color: var(--forest); line-height: 1; white-space: nowrap;
}
.wordmark__name span { font-weight: 400; }
.wordmark__tag {
  font-family: var(--font-head); font-weight: 600; font-size: 9.5px;
  letter-spacing: 0.2em; color: var(--gold-cta); text-transform: uppercase; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--charcoal); text-decoration: none; }
.nav a:hover { color: var(--moss); }
.nav a[aria-current="page"] {
  font-weight: 600; color: var(--forest);
  text-decoration: underline; text-decoration-color: var(--gold-cta);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--forest); text-decoration: none; white-space: nowrap;
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border-radius: var(--r-btn); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.btn--lg { min-height: 52px; padding: 15px 32px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--gold-cta); color: #fff; }
.btn--primary:hover { background: var(--gold-cta-hover); transform: translateY(-1px); box-shadow: var(--e2); }
.btn--primary:active { background: var(--gold-cta-active); transform: none; box-shadow: none; }
.btn--primary:disabled, .btn--primary[aria-disabled="true"] { background: #D8D6CE; color: #8B8981; pointer-events: none; box-shadow: none; }
.btn--secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--secondary:hover { background: rgba(27,58,45,0.06); }
.on-dark .btn--secondary, .btn--secondary-dark { background: transparent; color: var(--off-white); border-color: rgba(250,250,248,0.45); }
.on-dark .btn--secondary:hover, .btn--secondary-dark:hover { background: rgba(250,250,248,0.08); border-color: rgba(250,250,248,0.75); }

/* ---------- 7. TRUST SYSTEM ---------- */
/* 7a. Trust bar */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-bar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
}
.trust-bar__label {
  font-family: var(--font-head); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); flex-shrink: 0;
}
.trust-bar__list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; flex: 1; }
.cred { display: inline-flex; align-items: center; gap: 10px; }
.cred__mark {
  width: 34px; height: 34px; border: 1px dashed #B0B0A8; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); flex-shrink: 0;
}
.cred__name { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--body); }

/* 7b. Credential tile (large) */
.credential-tile {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px 28px; box-shadow: var(--e1);
}
.credential-tile__mark {
  width: 56px; height: 56px; flex-shrink: 0; border: 1px dashed #B0B0A8; border-radius: var(--r-btn);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-align: center; line-height: 1.3;
}
.credential-tile__org { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--charcoal); }
.credential-tile__type { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em; color: var(--gold-cta); }

/* 7c. Guarantee seal */
.seal {
  border: 2px solid var(--gold-cta); border-radius: 50%;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gold-cta); flex-shrink: 0;
}
.on-dark .seal { border-color: var(--gold); color: var(--gold-light); }
.seal__num { font-family: var(--font-head); font-weight: 800; line-height: 1; }
.seal__unit { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.1em; }
.seal--sm { width: 44px; height: 44px; }
.seal--sm .seal__num { font-size: 15px; } .seal--sm .seal__unit { font-size: 6px; }
.seal--md { width: 52px; height: 52px; }
.seal--md .seal__num { font-size: 17px; } .seal--md .seal__unit { font-size: 7px; }
.seal--lg { width: 76px; height: 76px; border-width: 2.5px; }
.seal--lg .seal__num { font-size: 26px; } .seal--lg .seal__unit { font-size: 8.5px; }

/* 7d. Assurance row (micro-trust) */
.assurance { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.assurance__item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--charcoal); }
.on-dark .assurance__item { color: var(--on-dark-90); }
.assurance__tick { color: var(--gold-cta); font-weight: 700; }
.on-dark .assurance__tick { color: var(--gold-light); }

/* 7e. Verification line */
.verification {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--body);
  border-left: 2px solid var(--gold-cta); padding-left: 14px; margin: 0;
}
.on-dark .verification { color: var(--on-dark-65); border-left-color: var(--gold); }
.verification .tbc { background: var(--mist); padding: 1px 6px; border-radius: 3px; }
.on-dark .verification .tbc { background: rgba(250,250,248,0.1); }

/* ---------- 8. CARDS ---------- */
.grid { display: grid; gap: 20px; }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  text-decoration: none; box-shadow: var(--e1);
  transition: box-shadow var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
a.card:hover { box-shadow: var(--e2); transform: translateY(-3px); border-color: rgba(64,145,108,0.4); }

/* Photo frame + placeholder */
.photo { position: relative; display: block; overflow: hidden; background: repeating-linear-gradient(135deg, #EDEEE7 0 12px, #E6E8DF 12px 24px); }
.photo--dark { background: repeating-linear-gradient(135deg, #22483A 0 12px, #1F4233 12px 24px); }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--21x9 { aspect-ratio: 21 / 9; }
.photo__wash { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,58,45,0.22), rgba(27,58,45,0) 45%); }
.photo__note {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10px; color: #55655C;
  border: 1px dashed #9AA79F; padding: 4px 7px; border-radius: 4px; background: rgba(250,250,248,0.7);
}
.photo--dark .photo__note { color: rgba(250,250,248,0.7); border-color: rgba(250,250,248,0.4); background: transparent; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; }
.card__title { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--charcoal); margin: 0 0 10px; }
.card__desc { font-size: 14.5px; line-height: 1.6; color: var(--body); margin: 0 0 20px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--forest); }
.price__vat { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }

/* Path cards (two-audience) */
.path-card { display: block; border-radius: var(--r-panel); padding: 36px; text-decoration: none; box-shadow: var(--e1); transition: box-shadow var(--t-fast), transform var(--t-fast), border-color var(--t-fast); }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--e2); }
.path-card--light { background: #fff; border: 1px solid var(--line); }
.path-card--light:hover { border-color: rgba(64,145,108,0.4); }
.path-card--dark { background: var(--forest); border: 1px solid var(--forest); }
.path-card--dark:hover { box-shadow: 0 4px 14px rgba(27,58,45,0.18); }

/* ---------- 9. HERO ---------- */
.hero { position: relative; background: var(--forest); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #22483A 0 14px, #1F4233 14px 28px); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27,58,45,0.96) 30%, rgba(27,58,45,0.72) 62%, rgba(27,58,45,0.42)); }
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(72px,10vw,128px) var(--gutter) clamp(96px,12vw,152px); }
.hero__content { max-width: 660px; }
.hero h1 { color: var(--off-white); margin-bottom: 22px; }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--on-dark-82); margin: 0 0 34px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
/* Rhizome motif (decorative, bottom of dark sections) */
.rhizome { position: absolute; bottom: 0; left: 0; width: 100%; height: 140px; opacity: 0.4; pointer-events: none; }
.rhizome--faint { opacity: 0.3; height: 100px; }

/* Reveal on scroll (progressive-enhancement; content visible without JS) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity var(--t-reveal), transform var(--t-reveal); }

/* ---------- 10. PROCESS TIMELINE ---------- */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 22px; }
.step__rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--gold-light); font-family: var(--font-head); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.step__line { width: 1.5px; flex: 1; background: linear-gradient(to bottom, var(--fern) 60%, rgba(64,145,108,0.2)); margin: 6px 0; }
.step__body { padding-bottom: 30px; flex: 1; padding-top: 9px; }
.step__meta { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-cta); }

/* ---------- 11. PRICING SIDEBAR ---------- */
.pricing-sidebar { flex: 1 1 320px; max-width: 400px; position: sticky; top: 100px; }
.pricing-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px; box-shadow: var(--e2); }
.pricing-panel__price { font-family: var(--font-head); font-weight: 700; font-size: 32px; color: var(--forest); line-height: 1.1; }
.pricing-panel__price .price__vat { font-size: 16px; }
.included { display: flex; flex-direction: column; gap: 11px; }
.included li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--charcoal); list-style: none; }
.included__tick { color: var(--gold-cta); font-weight: 700; flex-shrink: 0; }
.included { margin: 0; padding: 0; }

/* ---------- 12. TESTIMONIAL / CASE STUDY ---------- */
.quote-card { margin: 0; background: var(--mist); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; }
.quote-card--dark { background: var(--forest); }
.quote-mark { font-family: var(--font-head); font-weight: 300; font-size: 56px; line-height: 0.6; color: var(--fern); margin-bottom: 18px; }
.quote-card--dark .quote-mark { color: var(--gold-light); }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--charcoal); }
.quote-card--dark blockquote { color: var(--off-white); }
.quote-outcome { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--moss); }
.quote-card--dark .quote-outcome { color: var(--gold-light); }
.attrib { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.attrib__disc { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--forest); color: var(--off-white); font-family: var(--font-head); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.attrib__disc--logo { background: transparent; border: 1px dashed rgba(250,250,248,0.4); color: rgba(250,250,248,0.6); font-family: var(--font-mono); font-size: 8.5px; }
.attrib__name { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--charcoal); }
.quote-card--dark .attrib__name { color: var(--off-white); }
.attrib__role { font-size: 13px; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.stat__v { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--forest); }
.stat__l { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tag { font-family: var(--font-head); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--r-chip); padding: 5px 9px; }
.tag--sector { color: var(--moss); background: rgba(64,145,108,0.12); }
.tag--species { color: var(--gold-cta); background: rgba(181,147,90,0.14); }
.is-template { border-style: dashed !important; border-color: #B0B0A8 !important; box-shadow: none !important; }

/* ---------- 13. FAQ (native details/summary) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--charcoal);
  transition: background var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(27,58,45,0.03); }
.faq summary:focus-visible { outline: 3px solid var(--moss); outline-offset: -3px; }
.faq__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--moss); color: var(--moss);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400; transition: transform var(--t-fast);
}
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { font-size: 15.5px; line-height: 1.7; color: var(--body); margin: 0; padding: 0 44px 22px 4px; max-width: 68ch; }

/* ---------- 14. FORMS ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field-label { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--charcoal); }
.req { color: var(--danger); }
.input, .select, .textarea {
  min-height: 48px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 15px; color: var(--charcoal);
  background: #fff; border: 1.5px solid var(--field-border); border-radius: var(--r-btn);
  width: 100%;
}
.textarea { min-height: unset; line-height: 1.6; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--moss); outline: 3px solid rgba(45,106,79,0.25); outline-offset: 1px;
}
.input--error { border-color: var(--danger); background: #FFF9F9; }
.field__help { font-size: 13px; color: var(--muted); }
.field__help--error { color: var(--danger); }
.input::placeholder, .textarea::placeholder { color: #9B9992; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* ---------- 15. FOOTER ---------- */
.site-footer { background: var(--forest-deep); color: var(--off-white); }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 0; }
.footer-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-bottom: 40px; border-bottom: 1px solid var(--on-dark-line); }
.footer-accreds { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-accreds span { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: 0.1em; color: var(--on-dark-75); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding: 44px 0; }
.footer-col__head { font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-col a { font-size: 14px; color: var(--on-dark-75); text-decoration: none; }
.footer-links a:hover { color: var(--off-white); }
.footer-bar { border-top: 1px solid var(--on-dark-line); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-bar span { font-size: 12.5px; color: rgba(250,250,248,0.55); }
.footer-bar .verification { font-size: 12px; border: none; padding: 0; }

/* ---------- 16. MOBILE STICKY CTA ---------- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--forest); box-shadow: 0 -8px 24px rgba(27,58,45,0.25);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) 16px;
  align-items: center; justify-content: space-between; gap: 14px;
}
.mobile-cta__label { display: flex; flex-direction: column; gap: 1px; }
.mobile-cta__title { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--off-white); }
.mobile-cta__sub { font-size: 11px; color: var(--gold-light); }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .nav { display: none; } /* replace with a real toggle menu in build */
  .header__phone { display: none; }
}
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; } /* clear the sticky bar */
  .pricing-sidebar { position: static; max-width: none; order: -1; } /* sidebar above body copy */
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 18. MOTION PREFERENCE (hard requirement) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 19. BUILD ADDITIONS (preserved components + mobile nav) ---------- */

/* Cookie banner — preserved from live site, restyled for v2 tokens.
   Transform-based (zero CLS); slides up when .show is toggled by main.js. */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--forest); color: var(--off-white);
  padding: 18px var(--gutter); z-index: 9999;
  box-shadow: 0 -8px 24px rgba(27,58,45,0.25);
  transform: translateY(100%); transition: transform var(--t-reveal); visibility: hidden;
}
.cookie-banner.show { transform: translateY(0); visibility: visible; }
.cookie-banner__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; line-height: 1.6; color: var(--on-dark-82); flex: 1; margin: 0; min-width: 260px; }
.cookie-banner p a { color: var(--gold-light); }
.cookie-banner__buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn { min-height: 44px; padding: 10px 22px; }
@media (max-width: 767px) {
  .cookie-banner { bottom: 76px; } /* sit above the mobile sticky CTA */
}

/* Mobile nav toggle (the design intentionally leaves this to the build) */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 24px; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before { content: ""; position: absolute; top: -7px; left: 0; }
.nav-toggle__bar::after  { content: ""; position: absolute; top: 7px;  left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250,250,248,0.98); border-bottom: 1px solid var(--line);
    padding: 6px 0; box-shadow: var(--e2);
  }
  .nav--open { display: flex; }
  .nav a { padding: 14px var(--gutter); font-size: 16px; min-height: 48px; display: flex; align-items: center; }
  .nav a[aria-current="page"] { text-decoration: none; color: var(--forest); background: rgba(45,106,79,0.06); }
}

/* ---------- 20. BUILD FOUNDATIONS (images, breadcrumbs, prose, video) ---------- */

/* Real photography inside .photo frames and heroes */
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
a.card:hover .photo > img { transform: scale(1.03); }
.photo > img { transition: transform 600ms ease; }
.hero__bg--img { background: var(--forest); }
.hero__bg--img > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }

/* Breadcrumbs */
.breadcrumb { font-size: 13.5px; margin-bottom: 26px; position: relative; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--charcoal); }
.on-dark .breadcrumb, .hero .breadcrumb { color: var(--on-dark-65); }
.on-dark .breadcrumb a, .hero .breadcrumb a { color: var(--on-dark-65); }
.on-dark .breadcrumb [aria-current="page"], .hero .breadcrumb [aria-current="page"] { color: var(--off-white); }

/* Inner-page hero sizing (service, resource, about, etc.) */
.hero--page .hero__inner { padding-top: clamp(48px,7vw,80px); padding-bottom: clamp(56px,8vw,88px); }
.hero--page h1 { font-size: clamp(30px,4vw,48px); }

/* Long-form article / policy body */
.prose { max-width: 72ch; font-size: 16.5px; line-height: 1.75; color: var(--body); }
.prose > * + * { margin-top: 1em; }
.prose h2 { color: var(--forest); margin-top: 2em; margin-bottom: 0.4em; }
.prose h3 { color: var(--charcoal); margin-top: 1.6em; margin-bottom: 0.3em; font-size: 19px; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--moss); text-decoration: underline; text-decoration-color: var(--gold-cta); text-underline-offset: 3px; }
.prose strong { color: var(--charcoal); }
.prose blockquote, .prose .callout { margin: 1.6em 0; padding: 18px 22px; background: var(--mist); border-left: 3px solid var(--gold-cta); border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 600; color: var(--forest); background: var(--mist); }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--r-card); }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.article-meta { font-size: 14px; color: var(--on-dark-65); }
.article-meta time { color: inherit; }

/* Click-to-play video (self-hosted MP4 — nothing loads until play) */
.video-frame { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--forest); box-shadow: var(--e2); aspect-ratio: 16 / 9; }
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame--vertical { aspect-ratio: 9 / 16; max-width: 360px; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--gold-cta); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--e3);
  transition: transform var(--t-fast), background var(--t-fast);
}
.video-play:hover { background: var(--gold-cta-hover); transform: scale(1.05); }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-frame--promo .video-play { inset: 0 0 0 58%; }
.video-caption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- 21. MOTION POLISH (only when the visitor allows motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Rhizome line art draws itself in; gold nodes fade in after */
  .js .rhizome path { stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: rhizome-draw 2.6s ease-out 0.2s forwards; }
  .js .rhizome circle { opacity: 0; animation: rhizome-node 0.6s ease-out 2.2s forwards; }
  /* Process timeline rail fills as each step scrolls into view */
  .js .step .step__line { transform: scaleY(0); transform-origin: top; transition: transform 700ms ease-out 150ms; }
  .js .step.is-visible .step__line { transform: scaleY(1); }
  .js .step .step__num { transform: scale(0.7); opacity: 0.4; transition: transform 400ms ease-out, opacity 400ms ease-out; }
  .js .step.is-visible .step__num { transform: scale(1); opacity: 1; }
}
@keyframes rhizome-draw { to { stroke-dashoffset: 0; } }
@keyframes rhizome-node { to { opacity: 0.9; } }

/* ---------- 22. "IS IT KNOTWEED?" CHECKER ---------- */
.checker { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--e2); padding: clamp(24px,4vw,40px); max-width: 760px; }
.checker__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.checker__bar { flex: 1; height: 6px; background: var(--mist); border-radius: var(--r-pill); overflow: hidden; }
.checker__bar span { display: block; height: 100%; width: 0; background: var(--moss); border-radius: inherit; transition: width var(--t-reveal); }
.checker__count { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted); white-space: nowrap; }
.checker fieldset { border: 0; margin: 0; padding: 0; }
.checker legend { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px,2.4vw,24px); color: var(--charcoal); line-height: 1.3; margin-bottom: 6px; padding: 0; }
.checker__hint { font-size: 14.5px; color: var(--muted); margin: 0 0 20px; }
.checker__options { display: grid; gap: 12px; }
.checker__option { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; min-height: 56px; border: 1.5px solid var(--line); border-radius: var(--r-card); background: #fff; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.checker__option:hover { border-color: rgba(64,145,108,0.5); background: rgba(64,145,108,0.04); }
.checker__option input { position: absolute; opacity: 0; pointer-events: none; }
.checker__radio { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--field-border); display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--t-fast); }
.checker__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); transform: scale(0); transition: transform var(--t-fast); }
.checker__option input:checked ~ .checker__radio { border-color: var(--moss); }
.checker__option input:checked ~ .checker__radio::after { transform: scale(1); }
.checker__option:has(input:checked) { border-color: var(--moss); background: rgba(64,145,108,0.06); }
.checker__option input:focus-visible ~ .checker__radio { outline: 3px solid var(--moss); outline-offset: 3px; }
.checker__label { font-weight: 600; color: var(--charcoal); font-size: 15.5px; display: block; }
.checker__sub { font-size: 14px; color: var(--muted); display: block; margin-top: 2px; }
.checker__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.checker__step[hidden], .checker__result[hidden] { display: none; }
.checker__result { border-radius: var(--r-card); }
.checker__verdict { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.checker__verdict--strong { background: rgba(155,44,44,0.10); color: var(--danger); }
.checker__verdict--likely { background: rgba(138,109,56,0.14); color: var(--gold-cta-active); }
.checker__verdict--unlikely { background: rgba(64,145,108,0.14); color: var(--moss); }
.checker__verdict--unsure { background: var(--mist); color: var(--body); }
.checker__result h2 { margin-bottom: 12px; }
.checker__list { margin: 16px 0 0; padding-left: 1.2em; color: var(--body); }
.checker__list li + li { margin-top: 6px; }
.checker__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.checker__disclaimer { font-size: 13px; color: var(--muted); margin-top: 18px; }
.checker__noscript { padding: 18px; background: var(--mist); border-radius: var(--r-card); }

/* ---------- 23. DISTANCE DIAGRAM (RICS 2022: 3 m; legacy 2012: 7 m) ---------- */
.distance { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--e1); padding: clamp(20px,3vw,32px); margin: 8px 0 48px; }
.distance__head { margin-bottom: 18px; }
.distance__head h2, .distance__head h3 { color: var(--forest); margin-bottom: 8px; }
.distance__svg { width: 100%; height: auto; display: block; background: var(--mist); border-radius: var(--r-card); }
.distance__controls { display: grid; gap: 14px; margin-top: 18px; }
.distance__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.distance__row[hidden] { display: none; }
.distance__row label { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--charcoal); }
.distance__range { flex: 1 1 240px; accent-color: var(--moss); min-height: 44px; }
.distance__value { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--forest); min-width: 4.5ch; }
.distance__toggle { display: inline-flex; border: 1.5px solid var(--field-border); border-radius: var(--r-btn); overflow: hidden; }
.distance__toggle button { border: 0; background: #fff; padding: 10px 16px; min-height: 44px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--body); cursor: pointer; }
.distance__toggle button[aria-pressed="true"] { background: var(--forest); color: var(--off-white); }
.distance__readout { border-left: 3px solid var(--gold-cta); background: var(--mist); padding: 14px 18px; border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.distance__band { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); margin: 0 0 4px; }
.distance__readout p { margin: 0; font-size: 15px; }
.distance__source { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.distance__ring { transition: r 700ms ease-out; }
@media (prefers-reduced-motion: reduce) { .distance__ring { transition: none; } }

/* ---------- 24. HEADER FIT FIXES (found in render review) ---------- */
.nav a, .header__actions .btn { white-space: nowrap; }
.nav { gap: 24px; }
@media (max-width: 1240px) { .header__phone { display: none; } .nav { gap: 20px; } }
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .site-header__inner { height: 64px; gap: 12px; }
  .nav { top: 64px; }
  /* The sticky bottom bar carries the primary CTA on phones */
  .header__actions { display: none; }
  .wordmark__name { font-size: 17px; }
  .wordmark__tag { font-size: 8.5px; }
}

/* §25 Free-quote clarity notes */
.hero__note { font-size: 14px; line-height: 1.5; color: var(--on-dark-75); margin: -18px 0 22px; }
.form-note { font-size: 14px; line-height: 1.6; color: var(--charcoal); background: var(--mist); border-left: 3px solid var(--gold-cta); padding: 10px 14px; border-radius: 4px; margin: 0 0 22px; }
.mobile-cta .btn { white-space: nowrap; }
