/* Self-hosted brand webfonts (latin subset, variable). Replaces the render-blocking Google Fonts CDN. */
@font-face{font-family:'Fraunces';font-style:italic;font-weight:300 900;font-display:swap;src:url('/wp-content/themes/ds-trade-child/assets/fonts/fraunces-italic.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 900;font-display:swap;src:url('/wp-content/themes/ds-trade-child/assets/fonts/fraunces-roman.woff2') format('woff2');}
@font-face{font-family:'Urbanist';font-style:normal;font-weight:400 800;font-display:swap;src:url('/wp-content/themes/ds-trade-child/assets/fonts/urbanist-roman.woff2') format('woff2');}

/* ===========================================
   Generated by ~/component-library/tokens/build-css.php
   Source: tokens.json
   Generated: 2026-07-22T01:18:23+00:00
   DO NOT EDIT — edit tokens.json and rebuild.
   =========================================== */

:root {

  /* ── Brand scales ── */
  --ds-brand-primary-50:           #F0FAF9;
  --ds-brand-primary-100:          #D9F2F1;
  --ds-brand-primary-200:          #B3E5E3;
  --ds-brand-primary-300:          #7ED3CF;
  --ds-brand-primary-500:          #47C0BB;  /* ★ Supplied brand anchor. */
  --ds-brand-primary-600:          #379F9B;
  --ds-brand-primary-700:          #2C817E;
  --ds-brand-primary-800:          #226360;
  --ds-brand-primary-900:          #003349;
  --ds-brand-accent-50:            #FFEBEF;
  --ds-brand-accent-100:           #FECDD8;
  --ds-brand-accent-200:           #FD9BB0;
  --ds-brand-accent-300:           #FB5679;
  --ds-brand-accent-500:           #FDAEBF;  /* ★ Supplied brand anchor. */
  --ds-brand-accent-600:           #FB6082;
  --ds-brand-accent-700:           #F9204F;
  --ds-brand-accent-800:           #D20531;
  --ds-brand-accent-900:           #9E0425;

  /* ── Neutrals ── */
  --ds-neutral-white:              #FFFFFF;
  --ds-neutral-paper:              #FEF6ED;  /* Default site background. */
  --ds-neutral-ink:                #003349;  /* Headings, highest emphasis. Brand teal (matches locked home-preview). */
  --ds-neutral-body:               #123039;  /* Default body text. Teal-tinted ink. */
  --ds-neutral-muted:              #506A6E;  /* Captions, metadata. Teal-grey. Darkened to clear WCAG AA (>4.5:1) on cream paper. */
  --ds-neutral-line:               #EFE2D6;  /* Borders, dividers. Warm cream line. */
  --ds-neutral-line-soft:          #F4EADF;  /* Faint dividers inside cards. Warm. */

  /* ── Semantic states ── */
  --ds-success:                    #4A7552;
  --ds-warning:                    #B47A1C;
  --ds-error:                      #8A3B3B;
  --ds-info:                       #3F5880;

  /* ── Role aliases (what components reference) ── */
  --ds-primary:                    var(--ds-brand-primary-500);
  --ds-primary-hover:              var(--ds-brand-primary-600);
  --ds-primary-light:              var(--ds-brand-primary-100);
  --ds-primary-dark:               var(--ds-brand-primary-900);
  --ds-secondary:                  var(--ds-brand-primary-700);
  --ds-secondary-hover:            var(--ds-brand-primary-800);
  --ds-secondary-light:            var(--ds-brand-primary-50);
  --ds-accent:                     var(--ds-brand-accent-500);
  --ds-accent-hover:               var(--ds-brand-accent-600);
  --ds-dark:                       var(--ds-neutral-ink);
  --ds-light:                      var(--ds-brand-primary-50);
  --ds-body:                       var(--ds-neutral-body);
  --ds-body-light:                 var(--ds-neutral-muted);
  --ds-muted:                      var(--ds-neutral-muted);
  --ds-border:                     var(--ds-neutral-line);
  --ds-bg:                         var(--ds-neutral-paper);
  --ds-bg-elevated:                var(--ds-neutral-white);
  --ds-white:                      var(--ds-neutral-white);
  --ds-paper:                      var(--ds-neutral-paper);

  /* ── Opacity helpers (color-mix) ── */
  --ds-primary-10:                 color-mix(in srgb, var(--ds-primary) 10%, transparent);
  --ds-primary-15:                 color-mix(in srgb, var(--ds-primary) 15%, transparent);
  --ds-dark-60:                    color-mix(in srgb, var(--ds-dark) 60%, transparent);
  --ds-dark-70:                    color-mix(in srgb, var(--ds-dark) 70%, transparent);
  --ds-white-10:                   color-mix(in srgb, var(--ds-white) 10%, transparent);
  --ds-white-15:                   color-mix(in srgb, var(--ds-white) 15%, transparent);
  --ds-white-40:                   color-mix(in srgb, var(--ds-white) 40%, transparent);
  --ds-black-5:                    color-mix(in srgb, #000 5%, transparent);
  --ds-black-8:                    color-mix(in srgb, #000 8%, transparent);
  --ds-black-10:                   color-mix(in srgb, #000 10%, transparent);
  --ds-black-12:                   color-mix(in srgb, #000 12%, transparent);
  --ds-black-15:                   color-mix(in srgb, #000 15%, transparent);

  /* ── Type families ── */
  --ds-heading:                    'Fraunces', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ds-heading-display:            'Fraunces', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;  /* Optional display variant. Falls back to heading. */
  --ds-body-font:                  'Urbanist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Font weights ── */
  --ds-fw-regular:                 400;
  --ds-fw-semibold:                600;
  --ds-fw-bold:                    700;

  /* ── Generic size scale ── */
  --ds-fs-xs:                      1rem;
  --ds-fs-sm:                      1rem;
  --ds-fs-base:                    1rem;
  --ds-fs-md:                      1.125rem;
  --ds-fs-lg:                      1.25rem;
  --ds-fs-xl:                      1.5rem;
  --ds-fs-2xl:                     2rem;
  --ds-fs-3xl:                     2.5rem;
  --ds-fs-4xl:                     3.5rem;

  /* ── Semantic heading sizes ── */
  --ds-h1:                         3.5rem;  /* Hero / display heading. */
  --ds-h2:                         2.625rem;  /* Section heading. */
  --ds-h3:                         2rem;  /* Sub-section heading, card titles. */
  --ds-h4:                         1.375rem;  /* FAQ questions, accordion titles. */
  --ds-h5:                         1rem;  /* Eyebrow / small caps. */
  --ds-h1-mobile:                  2.5rem;
  --ds-h2-mobile:                  2rem;

  /* ── Line heights ── */
  --ds-lh-tight:                   1;
  --ds-lh-heading:                 1.2;
  --ds-lh-loose:                   1.4;
  --ds-lh-body:                    1.5;

  /* ── Letter spacing ── */
  --ds-ls-tight:                   -0.01em;
  --ds-ls-normal:                  0;
  --ds-ls-wide:                    0.06em;
  --ds-ls-eyebrow:                 0.18em;

  /* ── Spacing ── */
  --ds-space-xs:                   0.25rem;
  --ds-space-sm:                   0.5rem;
  --ds-space-md:                   1rem;
  --ds-space-lg:                   1.5rem;
  --ds-space-xl:                   2rem;
  --ds-space-2xl:                  3rem;
  --ds-space-3xl:                  5rem;
  --ds-section-pad:                clamp(3rem, 6vw, 5rem);  /* Section vertical padding (raw CSS value, not converted). */

  /* ── Radius ── */
  --ds-radius-sm:                  4px;
  --ds-radius-md:                  8px;
  --ds-radius-lg:                  16px;
  --ds-radius-image:               16px;  /* Hero + content imagery. Some brands go 30+, some go 8. */
  --ds-radius-full:                9999px;

  /* ── Shadows ── */
  --ds-shadow-sm:                  0 1px 2px var(--ds-black-5), 0 0 0 1px var(--ds-black-5);  /* Subtle elevation + hairline ring (replaces a 1px border). */
  --ds-shadow-md:                  0 1px 2px var(--ds-black-5), 0 2px 6px var(--ds-black-5), 0 0 0 1px var(--ds-black-8);  /* Card resting. Layered light, not one drop shadow. */
  --ds-shadow-lg:                  0 2px 4px var(--ds-black-5), 0 8px 16px var(--ds-black-8), 0 16px 32px var(--ds-black-8), 0 0 0 1px var(--ds-black-8);  /* Card hover / lifted. */
  --ds-shadow-xl:                  0 4px 8px var(--ds-black-5), 0 12px 24px var(--ds-black-8), 0 24px 48px var(--ds-black-10), 0 0 0 1px var(--ds-black-8);  /* Modal / hero panel. */
  --ds-shadow-up-md:               0 -4px 12px var(--ds-black-10);  /* Upward shadow for the sticky mobile bar. */

  /* ── Transitions ── */
  --ds-ease:                       cubic-bezier(0.22, 1, 0.36, 1);  /* House default ease. Soft settle, never the browser-default ease. */
  --ds-ease-spring:                cubic-bezier(0.34, 1.56, 0.64, 1);  /* Overshoot curve for pops — badges, chips, things that should bounce in. */
  --ds-transition-fast:            0.15s var(--ds-ease);
  --ds-transition-base:            0.3s var(--ds-ease);
  --ds-transition-slow:            0.6s var(--ds-ease);
  --ds-duration-fast:              150ms;  /* Raw duration for utilities that compose their own duration + ease (press, blur-in). */
  --ds-duration-normal:            200ms;
  --ds-duration-slow:              280ms;

  /* ── Layout ── */
  --ds-container:                  1200px;  /* Max content width in px. */
  --ds-container-narrow:           720px;  /* Long-form / legal / prose width. */
  --ds-container-wide:             1400px;  /* Galleries, wide heroes. */
  --ds-header-height:              72px;  /* Sticky header height in px. */
  --ds-dropdown-width:             240px;  /* Header dropdown min-width. */
  --ds-dropdown-wide-width:        480px;  /* Wide (multi-column) header dropdown min-width. */
  --ds-tap-target:                 44px;  /* Minimum touch target (WCAG 2.5.5). */

  /* ── Icon sizes ── */
  --ds-icon-xs:                    12px;
  --ds-icon-sm:                    16px;
  --ds-icon-md:                    24px;
  --ds-icon-lg:                    32px;
  --ds-icon-xl:                    40px;
}

/* ===========================================
   ds-library.css — GENERATED by scripts/build.php
   DO NOT EDIT. Edit the source files and rebuild.
   =========================================== */

/* ── Base atoms ── */

/* --- _base/reset.css --- */
/* ===========================================
   _base/reset.css
   Minimal reset. Not a full normalize — assumes a sane modern theme.
   =========================================== */

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

/* ── Kill GeneratePress's #3f4047 default button hover/focus/active ──
   GP injects `…:hover{color:#fff;background-color:#3f4047}` on every native
   button/input via its customizer default. It has no place in our components
   (which colour their own buttons) and only ever shows as an unwanted grey
   flash on chrome — FAQ toggles, header buttons, native submits. The `html`
   prefix beats GP's selectors on specificity, so this wins regardless of load
   order. Component-specific hovers (e.g. .ds-faq__question:hover) still win via
   their own higher specificity. */
html button:hover, html button:focus, html button:active,
html input[type="button"]:hover, html input[type="button"]:focus, html input[type="button"]:active,
html input[type="submit"]:hover, html input[type="submit"]:focus, html input[type="submit"]:active,
html input[type="reset"]:hover, html input[type="reset"]:focus, html input[type="reset"]:active,
html .button:hover, html .button:focus,
html .wp-block-button__link:hover, html .wp-block-button__link:focus {
  background-color: transparent;
  color: inherit;
}

/* ── Kill GeneratePress's a:hover,a:focus,a:active{color:var(--contrast)} ──
   GP paints every hovered/focused/pressed LINK dark grey (#222) at specificity
   0-1-1, which outranks any single-class rule: a white label on a navy .ds-btn
   turned dark-on-dark the moment the button was an <a> (NextGen Melton,
   2026-09-16, 2.24:1). :where(body) keeps this at 0-1-1 too, and dist/ loads
   after GP's inline CSS, so it wins on order; anything that states its own
   hover colour at 0-2-0+ (every .ds-btn variant, .ds-header nav links) still
   wins over this. Rule: client-sites.md "Interactive states". */
:where(body) :is(a, button):is(:hover, :focus, :active) { color: inherit; }

/* ── Consistent, visible focus for keyboard users ──
   Buttons (.ds-btn) and cards (.ds-card) define their own focus-visible rings;
   this covers plain links, form controls and anything else focusable so nothing
   falls back to the browser default (or to nothing). :focus-visible means it
   only shows for keyboard/AT users, never on mouse click. The outline follows
   each element's own border-radius automatically. */
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: 2px;
}

/* Where :focus-visible is honoured, drop the legacy mouse-focus outline. */
:focus:not(:focus-visible) {
  outline: none;
}

/* Honour reduced-motion at the global level. Components handle their own
   specific transitions; this is the fallback when a site has no other rules. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- _base/container.css --- */
/* ===========================================
   _base/container.css
   Standard content wrapper.
   =========================================== */

.ds-container {
  max-width: var(--ds-container);
  margin-inline: auto;
  padding-inline: 1.25rem; /* 20px page gutter on mobile */
}

@media (min-width: 768px) {
  .ds-container {
    padding-inline: var(--ds-space-xl);
  }
}

/* Optional narrow variant for long-form content (articles, legal pages) */
.ds-container--narrow {
  max-width: var(--ds-container-narrow, 720px);
}

/* Optional wide variant for galleries and hero sections that want more breathing room */
.ds-container--wide {
  max-width: var(--ds-container-wide, 1400px);
}

/* --- _base/typography.css --- */
/* ===========================================
   _base/typography.css
   Headings, text scales, eyebrows, marks.
   Every value resolves to a --ds-* token.
   =========================================== */

/* ─── Body default ─── */

body {
  font-family: var(--ds-body-font);
  color: var(--ds-body);
  background-color: var(--ds-bg);
  font-size: var(--ds-fs-base);
  line-height: var(--ds-lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Semantic heading scale ─── */

.ds-h1,
.ds-h2,
.ds-h3,
.ds-h4,
.ds-h5 {
  font-family: var(--ds-heading);
  color: var(--ds-dark);
  font-weight: var(--ds-fw-bold);
  margin: 0;
  letter-spacing: var(--ds-ls-tight);
  /* Even out ragged line breaks so headings don't leave one orphan word.
     Progressive — ignored where unsupported. */
  text-wrap: balance;
}

.ds-h1 {
  font-size: var(--ds-h1-mobile);
  line-height: var(--ds-lh-heading);
}

.ds-h2 {
  font-size: var(--ds-h2-mobile);
  line-height: var(--ds-lh-tight);
}

.ds-h3 {
  font-size: var(--ds-h3);
  line-height: var(--ds-lh-tight);
}

.ds-h4 {
  font-size: var(--ds-h4);
  line-height: var(--ds-lh-tight);
}

.ds-h5 {
  font-size: var(--ds-h5);
  line-height: var(--ds-lh-loose);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-normal);
}

@media (min-width: 768px) {
  .ds-h1 { font-size: var(--ds-h1); }
  .ds-h2 { font-size: var(--ds-h2); }
}

/* Optional display variant for hero use — picks up --ds-heading-display
   if the site defines a distinct titling family. Otherwise falls back. */
.ds-h1--display {
  font-family: var(--ds-heading-display, var(--ds-heading));
}

/* ─── Body text scale ─── */

.ds-text-xs   { font-size: var(--ds-fs-xs); }
.ds-text-sm   { font-size: var(--ds-fs-sm); }
.ds-text-base { font-size: var(--ds-fs-base); }
.ds-text-md   { font-size: var(--ds-fs-md); }
.ds-text-lg   { font-size: var(--ds-fs-lg); line-height: var(--ds-lh-body); }
.ds-text-xl   { font-size: var(--ds-fs-xl); line-height: var(--ds-lh-body); }
.ds-text-2xl  { font-size: var(--ds-fs-2xl); line-height: var(--ds-lh-tight); }

/* Default paragraph spacing only applies inside component content wrappers
   that opt in. We don't restyle bare <p> globally to avoid clobbering
   third-party plugin output. */
.ds-prose p {
  margin-block: 0 var(--ds-space-md);
  line-height: var(--ds-lh-body);
}

.ds-prose p:last-child {
  margin-bottom: 0;
}

/* Body prose: nicer break behaviour + hung punctuation where supported.
   `pretty` (vs `balance`) only fixes the last few lines, so it's cheap on
   long copy. */
.ds-prose {
  text-wrap: pretty;
  hanging-punctuation: first last;
}

/* ─── Typographic refinements (opt-in utilities) ─── */

/* Tabular figures so prices, phone numbers, stats and tables align vertically
   and don't jitter. Apply to any numeric run: price tags, stat bands, the
   review count, phone numbers. */
.ds-nums-tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Comfortable reading measure for long-form columns. */
.ds-measure { max-width: 65ch; }

/* ─── Text colour modifiers ─── */

.ds-text-dark     { color: var(--ds-dark); }
.ds-text-body     { color: var(--ds-body); }
.ds-text-body-lt  { color: var(--ds-body-light); }
.ds-text-muted    { color: var(--ds-muted); }
.ds-text-white    { color: var(--ds-white); }
.ds-text-primary  { color: var(--ds-primary); }
.ds-text-accent   { color: var(--ds-accent); }

/* ─── Eyebrow ─── */

.ds-eyebrow {
  display: inline-block;
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  /* Light-background default must clear 4.5:1 for 14px uppercase text — a
     bright accent (gold, lime) at 1.5:1 is invisible-in-sunlight territory.
     accent-800 keeps the hue family; dark bands re-brighten via .ds-on-dark
     / component-scoped rules. */
  color: var(--ds-brand-accent-800, var(--ds-accent));
  margin: 0;
}

/* ─── Mark (heading highlight) ───
   Wraps a key word inside an H1/H2 to draw the eye to it. The accent
   colour is the most common choice; sites can override via .ds-mark--primary
   etc. without touching the structure. */

.ds-mark {
  /* Heading marks are large/bold text (3:1 bar). A bright accent fails it on
     paper; accent-700 keeps the hue and clears the bar. Dark bands re-brighten
     via .ds-on-dark / component-scoped rules. */
  color: var(--ds-brand-accent-700, var(--ds-accent));
  font-weight: inherit;
  /* Marks wrap normally. `white-space: nowrap` here forced multi-word marks
     ("rebate already applied") onto one line and broke the page width on
     narrow mobile. Keeping a short mark together is a per-instance job, not a
     default that overflows the viewport. */
  white-space: normal;
}

.ds-mark--primary { color: var(--ds-primary); }
.ds-mark--underline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ds-accent);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.12em;
}

/* --- _base/buttons.css --- */
/* ===========================================
   _base/buttons.css
   Button atom + variants.
   =========================================== */

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-sm);

  padding-block: var(--ds-space-md);
  padding-inline: var(--ds-space-xl);

  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  font-weight: var(--ds-fw-semibold);
  line-height: 1;
  letter-spacing: var(--ds-ls-wide);
  text-decoration: none;
  white-space: nowrap;

  border: 1px solid transparent;
  border-radius: var(--ds-radius-md);
  cursor: pointer;

  transition: background-color var(--ds-transition-base),
              color var(--ds-transition-base),
              border-color var(--ds-transition-base),
              transform var(--ds-transition-fast),
              box-shadow var(--ds-transition-base);
}

/* ─── Interactive states (client-sites.md "Interactive states") ───
   THE GROUND MOVES ON HOVER, THE TEXT NEVER DOES. GeneratePress ships
   a:hover,a:focus,a:active{color:var(--contrast)} at specificity 0-1-1, which
   outranks any single-class rule the moment a .ds-btn is an <a>. Every variant
   below therefore states its own colour across :hover/:focus/:active (0-2-0),
   the :hover rule only ever moves background/border, :focus-visible carries a
   ring, :active a press. _base/reset.css carries the catch-all for links that
   are not buttons. Measured by comb/pixel-qa.py [4.2-H]/[4.6] and blocked at
   Genesis Gate 2 by the `button-states` check (checks-registry.json). */

.ds-btn:focus { outline: none; }
.ds-btn:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: 3px;
  text-decoration: none;
}

/* Firm press — registers as a press, not a collapse. */
.ds-btn:active {
  transform: scale(0.98);
}

/* ─── Variant: primary (filled with --ds-primary) ─── */

.ds-btn--primary,
.ds-btn--primary:hover,
.ds-btn--primary:focus,
.ds-btn--primary:active {
  background-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
  border-color: var(--ds-primary);
  text-decoration: none;
}
.ds-btn--primary:hover,
.ds-btn--primary:focus-visible,
.ds-btn--primary:active {
  background-color: var(--ds-primary-hover);
  border-color: var(--ds-primary-hover);
}

/* ─── Variant: secondary (filled with --ds-secondary) ─── */

.ds-btn--secondary,
.ds-btn--secondary:hover,
.ds-btn--secondary:focus,
.ds-btn--secondary:active {
  background-color: var(--ds-secondary);
  color: var(--ds-secondary-ink, var(--ds-white));
  border-color: var(--ds-secondary);
  text-decoration: none;
}
.ds-btn--secondary:hover,
.ds-btn--secondary:focus-visible,
.ds-btn--secondary:active {
  background-color: var(--ds-secondary-hover);
  border-color: var(--ds-secondary-hover);
}

/* ─── Variant: accent (filled with --ds-accent, the CTA colour) ─── */

.ds-btn--accent,
.ds-btn--accent:hover,
.ds-btn--accent:focus,
.ds-btn--accent:active {
  background-color: var(--ds-accent);
  color: var(--ds-accent-ink, var(--ds-white));
  border-color: var(--ds-accent);
  text-decoration: none;
}
.ds-btn--accent:hover,
.ds-btn--accent:focus-visible,
.ds-btn--accent:active {
  background-color: var(--ds-accent-hover);
  border-color: var(--ds-accent-hover);
}

/* ─── Variant: outline (transparent fill, primary border) ───
   Hover TINTS the ground; it no longer inverts to a filled primary button,
   because an inversion swaps the label colour (pixel-qa 4.6). */

.ds-btn--outline,
.ds-btn--outline:hover,
.ds-btn--outline:focus,
.ds-btn--outline:active {
  background-color: transparent;
  color: var(--ds-primary);
  border-color: var(--ds-primary);
  text-decoration: none;
}
.ds-btn--outline:hover,
.ds-btn--outline:focus-visible {
  background-color: var(--ds-primary-10);
  border-color: var(--ds-primary-hover);
}
.ds-btn--outline:active {
  background-color: var(--ds-primary-15);
  border-color: var(--ds-primary-hover);
}

/* ─── Variant: ghost (transparent fill, no border, body colour) ─── */

.ds-btn--ghost,
.ds-btn--ghost:hover,
.ds-btn--ghost:focus,
.ds-btn--ghost:active {
  background-color: transparent;
  color: var(--ds-body);
  border-color: transparent;
  text-decoration: none;
}
.ds-btn--ghost:hover,
.ds-btn--ghost:focus-visible {
  background-color: var(--ds-primary-10);
}
.ds-btn--ghost:active {
  background-color: var(--ds-primary-15);
}

/* ─── Variant: inverse (for use on dark bg) ───
   White button, primary label. Hover lets a little of the dark ground through;
   the label stays primary. */

.ds-btn--inverse,
.ds-btn--inverse:hover,
.ds-btn--inverse:focus,
.ds-btn--inverse:active {
  background-color: var(--ds-white);
  color: var(--ds-primary);
  border-color: var(--ds-white);
  text-decoration: none;
}
.ds-btn--inverse:hover,
.ds-btn--inverse:focus-visible {
  background-color: color-mix(in srgb, var(--ds-white) 85%, transparent);
  border-color: var(--ds-white);
}
.ds-btn--inverse:active {
  background-color: color-mix(in srgb, var(--ds-white) 75%, transparent);
}

/* ─── Sizes ─── */

.ds-btn--sm {
  padding-block: var(--ds-space-sm);
  padding-inline: var(--ds-space-lg);
  font-size: var(--ds-fs-sm);
}

.ds-btn--lg {
  padding-block: var(--ds-space-lg);
  padding-inline: var(--ds-space-2xl);
  font-size: var(--ds-fs-md);
}

/* ─── Block (full-width) ─── */

.ds-btn--block {
  width: 100%;
}

/* ─── Icon slot ───
   Use with: <a class="ds-btn ds-btn--primary"><svg>...</svg> Label</a>
   The gap above handles spacing; this keeps icons visually balanced. */

.ds-btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* --- _base/icon-cube.css --- */
/* ===========================================
   _base/icon-cube.css
   Square tile wrapper around an SVG icon.
   Used by trust-bar, services-grid, anywhere an icon needs a visual frame.
   =========================================== */

.ds-icon-cube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: var(--ds-icon-cube-size, 48px);
  height: var(--ds-icon-cube-size, 48px);

  border-radius: var(--ds-radius-md);
  background-color: var(--ds-white);
  color: var(--ds-accent);

  transition: background-color var(--ds-transition-base),
              color var(--ds-transition-base);
}

.ds-icon-cube svg {
  width: var(--ds-icon-cube-icon-size, 60%);
  height: var(--ds-icon-cube-icon-size, 60%);
  /* No forced fill — let each icon's own fill/stroke attributes decide, so
     line (outline) icons render as outlines instead of being filled solid. */
}

/* ─── Colour variants ─── */

.ds-icon-cube--accent {
  background-color: var(--ds-white);
  color: var(--ds-accent);
}

.ds-icon-cube--primary {
  background-color: var(--ds-primary-light);
  color: var(--ds-primary);
}

/* Solid fills take their ink from the brand-safe *-ink tokens: white only
   when the fill is dark enough for AA (light primaries got white at ~2:1). */
.ds-icon-cube--primary-solid {
  background-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
}

.ds-icon-cube--accent-solid {
  background-color: var(--ds-accent);
  color: var(--ds-accent-ink, var(--ds-white));
}

.ds-icon-cube--dark {
  background-color: var(--ds-dark);
  color: var(--ds-white);
}

.ds-icon-cube--inverse {
  background-color: var(--ds-white);
  color: var(--ds-primary);
}

/* No-frame variant — same dimensions but transparent background.
   Useful for laying out a row of icon+label pairs without the tile aesthetic. */
.ds-icon-cube--ghost {
  background-color: transparent;
  color: var(--ds-accent);
}

/* ─── Size variants ─── */

.ds-icon-cube--sm {
  --ds-icon-cube-size: 32px;
  border-radius: var(--ds-radius-sm);
}

.ds-icon-cube--lg {
  --ds-icon-cube-size: 64px;
  border-radius: var(--ds-radius-lg);
}

/* ─── Pill variant for circular treatment ─── */

.ds-icon-cube--pill {
  border-radius: var(--ds-radius-full);
}

/* ─── House outline-icon utility (ds_icon output) ───
   Line icons read clearly at small sizes where solid glyphs blob out. The
   `fill: none` MUST beat a component's `svg { fill: currentColor }`, so it is
   forced; stroke follows currentColor like any icon. */
.ds-icon-line {
  fill: none !important;
  stroke: currentColor;
}

/* --- _base/card.css --- */
/* ===========================================
   _base/card.css
   Card surface primitive.
   Used by services-grid, testimonials-grid, contact cards, footer trust strip.
   =========================================== */

.ds-card {
  display: flex;
  flex-direction: column;
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  transition: transform var(--ds-transition-base),
              box-shadow var(--ds-transition-base),
              border-color var(--ds-transition-base);
}

/* Anchor card — full surface is clickable. Compose: <a class="ds-card ds-card--link"> */
a.ds-card,
.ds-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.ds-card:hover,
.ds-card--link:hover,
.ds-card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-lg);
  border-color: var(--ds-primary-light);
  text-decoration: none;
}

a.ds-card:focus-visible,
.ds-card--link:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: 3px;
}

/* ─── Variants: elevation ─── */

.ds-card--flat {
  border: 1px solid var(--ds-border);
  box-shadow: none;
}

.ds-card--elevated {
  border-color: transparent;
  box-shadow: var(--ds-shadow-md);
}

.ds-card--elevated:hover {
  box-shadow: var(--ds-shadow-lg);
}

/* ─── Variants: tint ─── */

.ds-card--tint {
  background-color: var(--ds-light);
}

.ds-card--inverse {
  background-color: var(--ds-primary-dark);
  border-color: var(--ds-primary-dark);
  color: var(--ds-white);
}

.ds-card--inverse .ds-card__title,
.ds-card--inverse .ds-card__body {
  color: var(--ds-white);
}

/* ─── Card structure ─── */

.ds-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--ds-light);
  overflow: hidden;
}

.ds-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ds-transition-slow);
}

a.ds-card:hover .ds-card__media img,
.ds-card--link:hover .ds-card__media img {
  transform: scale(1.04);
}

.ds-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  padding: var(--ds-space-lg);
  flex-grow: 1;
}

.ds-card__eyebrow {
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-accent);
}

.ds-card__title {
  font-family: var(--ds-heading);
  font-size: var(--ds-h4);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-dark);
  margin: 0;
}

.ds-card__desc {
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  line-height: var(--ds-lh-body);
  color: var(--ds-body);
  margin: 0;
}

.ds-card__footer {
  margin-top: auto;
  padding-top: var(--ds-space-md);
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
}

.ds-card__cta {
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
}

a.ds-card:hover .ds-card__cta,
.ds-card--link:hover .ds-card__cta {
  color: var(--ds-primary-hover);
}

.ds-card__cta::after {
  content: '→';
  transition: transform var(--ds-transition-base);
}

a.ds-card:hover .ds-card__cta::after,
.ds-card--link:hover .ds-card__cta::after {
  transform: translateX(4px);
}

/* ─── Inline icon-cube position helper ─── */

.ds-card__icon {
  margin-bottom: var(--ds-space-sm);
}

/* --- _base/motion.css --- */
/* ===========================================
   _base/motion.css
   Shared motion utilities — entrances, reveals, tactile feedback.
   Token-driven; every value falls back so the file is safe on any site
   whose tokens.json predates the §2 motion tokens.

   Progressive enhancement: the hidden "before" state only applies once
   motion.js has set [data-ds-motion] on <html>. With JS off/blocked,
   content renders fully visible — nothing depends on the animation firing.
   =========================================== */

/* ─── Blur-in entrance ───
   Compose: <section data-ds-animate> … </section>
   The element starts slightly low, transparent, and softly blurred, then
   focuses into place when scrolled into view (motion.js adds .ds-in).
   Stagger children by setting --ds-animate-delay inline or per-nth-child. */

/* opacity + transform ONLY: both composite on the GPU. An animated filter:blur()
   cannot be composited, so Lighthouse flagged 26 non-composited animations on a
   single page (JC, 2026-08-07) and it costs main-thread time on low-end mobile
   for an effect almost nobody consciously notices. The 26px rise + fade carries
   the reveal on its own. */
html[data-ds-motion] [data-ds-animate] {
  opacity: 0;
  transform: translateY(var(--ds-reveal-rise, 26px)); /* looks may tune DOWN (subtle bar: never above 26px) */
  transition:
    opacity   var(--ds-duration-reveal, 620ms) var(--ds-ease, ease-out),
    transform var(--ds-duration-reveal, 620ms) var(--ds-ease, ease-out);
  transition-delay: var(--ds-animate-delay, 0ms);
  will-change: opacity, transform;
}

html[data-ds-motion] [data-ds-animate].ds-in {
  opacity: 1;
  transform: none;
}

/* Pop variant — small scale-up with overshoot. For badges, chips, stats. */
html[data-ds-motion] [data-ds-animate="pop"] {
  transform: scale(0.94);
  filter: none;
  transition:
    opacity   var(--ds-duration-normal, 200ms) var(--ds-ease, ease-out),
    transform var(--ds-duration-slow, 280ms) var(--ds-ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}
html[data-ds-motion] [data-ds-animate="pop"].ds-in {
  transform: scale(1);
}

/* Convenience stagger: children of [data-ds-stagger] ramp their delay so a
   grid/list animates in sequence rather than all at once. */
html[data-ds-motion] [data-ds-stagger] > * { transition-delay: 0ms; }
html[data-ds-motion] [data-ds-stagger].ds-in > *:nth-child(1) { --ds-animate-delay: 0ms; }
html[data-ds-motion] [data-ds-stagger].ds-in > *:nth-child(2) { --ds-animate-delay: 60ms; }
html[data-ds-motion] [data-ds-stagger].ds-in > *:nth-child(3) { --ds-animate-delay: 120ms; }
html[data-ds-motion] [data-ds-stagger].ds-in > *:nth-child(4) { --ds-animate-delay: 180ms; }
html[data-ds-motion] [data-ds-stagger].ds-in > *:nth-child(5) { --ds-animate-delay: 240ms; }
html[data-ds-motion] [data-ds-stagger].ds-in > *:nth-child(6) { --ds-animate-delay: 300ms; }

/* ─── Height reveal ───
   The modern way to animate expand/collapse to a content's real height —
   no max-height guesswork. Compose:
     <div class="ds-reveal" data-open="false"><div> … real content … </div></div>
   Toggle data-open to animate. The inner wrapper is required. */

.ds-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--ds-duration-slow, 280ms) var(--ds-ease, ease-out);
}
.ds-reveal[data-open="true"] {
  grid-template-rows: 1fr;
}
.ds-reveal > * {
  overflow: hidden;
  min-height: 0;
}

/* ─── Tactile press ───
   Utility for any clickable element that isn't a .ds-btn (cards already
   handle their own lift). Firm 0.98 press, not a collapse. */

.ds-pressable {
  transition: transform var(--ds-duration-fast, 150ms) var(--ds-ease, ease-out);
}
.ds-pressable:active {
  transform: scale(0.98);
}

/* ─── Link underline slide ───
   The house inline-link hover: a 1px underline that slides in from the
   left. Quiet, readable, no colour flash. For nav links prefer the look's
   nav treatment (ds-header--nav-*); this is for in-copy and card links. */

.ds-link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left calc(100% - 0.08em);
  background-size: 0% 1px;
  transition: background-size var(--ds-duration-normal, 200ms) var(--ds-ease, ease-out);
  text-decoration: none;
}

.ds-link-underline:hover,
.ds-link-underline:focus-visible {
  background-size: 100% 1px;
}

/* ─── Quiet image zoom ───
   Put on the media WRAPPER of a linked card/tile (needs overflow:hidden,
   which .ds-card media slots already have). 1.03 over 400ms: perceptible,
   never showy. One hover grammar per element type — a card that lifts does
   not also zoom its photo. */

.ds-img-zoom img {
  transition: transform var(--ds-duration-zoom, 400ms) var(--ds-ease, ease-out);
}

.ds-img-zoom:hover img,
a:hover .ds-img-zoom img {
  transform: scale(1.03);
}

/* ─── Reduced motion ───
   Collapse every utility to its resting state instantly. reset.css already
   neutralises durations globally; this also drops the hidden "before" state
   so nothing animates in and nothing is left transformed/blurred. */

@media (prefers-reduced-motion: reduce) {
  html[data-ds-motion] [data-ds-animate],
  html[data-ds-motion] [data-ds-animate].ds-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .ds-reveal { transition: none !important; }
  .ds-pressable:active { transform: none; }
  .ds-link-underline { transition: none; }
  .ds-img-zoom img { transition: none; }
  .ds-img-zoom:hover img,
  a:hover .ds-img-zoom img { transform: none; }
}

/* --- _base/seams.css --- */
/* ===========================================
   _base/seams.css
   The seam kit: how sections flow into each other instead of stacking as
   blocks with a hard horizontal cut at every boundary. Built 2026-08-12
   (Luc: pages read "too static and boring" when every seam is a stark
   divider). Vocabulary + budget live in looks/SECTION-PLAYBOOK.md step 1:
   plan 3-4 movements; 2-4 DESIGNED seams per page at movement changes;
   zones (shared background) inside a movement; plain cuts elsewhere.
   A seam device at every boundary is the "all the lines" failure pole.

   The blueprint's per-slot `seam` key maps to these classes:
     zone-start/zone-end -> same tone on adjacent sections + .ds-seam-tight
     overlap             -> .ds-overlap-up on the crossing ELEMENT
     shape               -> .ds-seam-angle-b / .ds-seam-wave-b on the section
     flush               -> nothing (plain cut)

   Doubled selectors are deliberate: _base loads before component CSS in the
   dist, so utilities need (0,2,0) specificity to beat a component's own
   single-class padding/position rules.
   =========================================== */

/* ─── Zones: tighten the gap between same-background neighbours ───
   Put on the SECOND section of a zone pair. Padding drops to a third so the
   two read as one movement, not two bands that happen to match. */

.ds-seam-tight.ds-seam-tight {
  padding-block-start: calc(var(--ds-section-pad, var(--ds-space-4xl, 96px)) / 3);
}

/* ─── Overlap: one element crosses the boundary ───
   Put on the crossing ELEMENT (a card, form, photo, stat strip) inside the
   LOWER section: it pulls up over the previous band. Content bleeding is the
   strongest seam; budget 1-2 per page. Tune depth per use:
     <div class="ds-card ds-overlap-up" style="--ds-overlap: 80px"> */

.ds-overlap-up.ds-overlap-up {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--ds-overlap, var(--ds-space-3xl, 64px)));
}

/* The hosting section usually wants its own top padding reduced so the
   overlap reads as designed, not as a collision. */
.ds-overlap-host.ds-overlap-host {
  padding-block-start: 0;
}

/* ─── Shaped seams: angle ───
   Put on the section whose background should cut INTO its neighbour.
   -b draws below (into the next section), -t above. Solid-background
   sections only (the wedge inherits background-color; a photo band cannot
   inherit its image). Use at TONAL boundaries (light to dark) only:
   between two same-tone sections a shape reads as an unnecessary line
   (the Mr Waters waterline rule). */

.ds-seam-angle-b.ds-seam-angle-b,
.ds-seam-angle-t.ds-seam-angle-t,
.ds-seam-wave-b.ds-seam-wave-b,
.ds-seam-wave-t.ds-seam-wave-t {
  position: relative;
}

.ds-seam-angle-b.ds-seam-angle-b::after,
.ds-seam-angle-t.ds-seam-angle-t::before,
.ds-seam-wave-b.ds-seam-wave-b::after,
.ds-seam-wave-t.ds-seam-wave-t::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--ds-seam-size, clamp(28px, 5vw, 56px));
  background-color: inherit;
  z-index: 1;
  pointer-events: none;
}

.ds-seam-angle-b.ds-seam-angle-b::after {
  top: 100%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.ds-seam-angle-t.ds-seam-angle-t::before {
  bottom: 100%;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Angle direction flip: cut runs the other way. */
.ds-seam-angle-b.ds-seam-flip::after  { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ds-seam-angle-t.ds-seam-flip::before { clip-path: polygon(0 0, 0 100%, 100% 100%); }

/* ─── Shaped seams: wave ───
   Gentle single-period wave, repeated horizontally via mask. Same
   solid-background constraint and tonal-boundary rule as the angle. */

.ds-seam-wave-b.ds-seam-wave-b::after,
.ds-seam-wave-t.ds-seam-wave-t::before {
  --ds-seam-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C 40 36, 80 36, 120 20 S 200 4, 240 20 L 240 0 L 0 0 Z'/%3E%3C/svg%3E");
  mask-image: var(--ds-seam-wave);
  -webkit-mask-image: var(--ds-seam-wave);
  mask-repeat: repeat-x;
  -webkit-mask-repeat: repeat-x;
  mask-size: 240px 100%;
  -webkit-mask-size: 240px 100%;
}

.ds-seam-wave-b.ds-seam-wave-b::after { top: 100%; }

.ds-seam-wave-t.ds-seam-wave-t::before {
  bottom: 100%;
  transform: scaleY(-1);
}

/* --- _base/contexts.css --- */
/* ===========================================
   _base/contexts.css
   Section colour CONTEXTS. Wrap (or tag) a section in one of these and the
   role tokens are remapped for its whole subtree, so every nested component
   flips automatically — no per-component dark variants needed.

   Usage (component extra_class, or a wrapper):
     ds_component('hero', ['extra_class' => 'ds-on-dark', ...]);
     ds_component('services-grid', ['extra_class' => 'ds-on-tint', ...]);

   Additive + opt-in: no existing markup uses these classes, so adding them is
   safe for every shipped site. Every value still resolves to a --ds-* token.
   =========================================== */

/* ── Dark context: deep brand band, light type ── */
.ds-on-dark {
  --ds-bg:          var(--ds-primary-dark);
  --ds-bg-elevated: color-mix(in srgb, var(--ds-white) 8%,  var(--ds-primary-dark));
  --ds-dark:        var(--ds-white);
  --ds-body:        color-mix(in srgb, var(--ds-white) 80%, transparent);
  --ds-body-light:  color-mix(in srgb, var(--ds-white) 62%, transparent);
  --ds-muted:       color-mix(in srgb, var(--ds-white) 55%, transparent);
  --ds-border:      color-mix(in srgb, var(--ds-white) 16%, transparent);
  --ds-light:       color-mix(in srgb, var(--ds-white) 6%,  transparent);
  background-color: var(--ds-bg);
  color: var(--ds-body);
}

/* Outline buttons need a visible light edge on dark. */
.ds-on-dark .ds-btn--outline {
  color: var(--ds-white);
  border-color: color-mix(in srgb, var(--ds-white) 42%, transparent);
  background-color: transparent;
}
.ds-on-dark .ds-btn--outline:hover,
.ds-on-dark .ds-btn--outline:focus-visible {
  background-color: color-mix(in srgb, var(--ds-white) 10%, transparent);
  border-color: var(--ds-white);
  color: var(--ds-white);
}

/* The review pill reads as glass on a dark hero. */
.ds-on-dark .ds-hero__review-pill {
  background-color: color-mix(in srgb, var(--ds-white) 8%, transparent);
  box-shadow: none;
}

/* Accent-as-TEXT on a dark band must be a BRIGHT tone. --ds-accent-on-dark is
   emitted per brand by brand-to-tokens.php (bright accent -> the accent itself;
   dark accent -> white). Never --ds-primary: for navy-primary brands that
   rendered navy-on-navy (caught on the JC build). Accent-as-FILL (buttons) is
   left alone so button ink keeps its contrast. */
.ds-on-dark .ds-eyebrow,
.ds-on-dark .ds-mark,
.ds-on-dark .ds-text-accent,
.ds-on-dark .ds-hero__trust-icon,
.ds-on-dark .ds-hero__review-stars {
  color: var(--ds-accent-on-dark, var(--ds-accent));
}

/* ── Tint context: soft brand wash, dark type, white cards ── */
.ds-on-tint {
  --ds-bg: var(--ds-primary-light);
  background-color: var(--ds-bg);
}

/* ── Depth utility: lift any block off the page ── */
.ds-elevate { box-shadow: var(--ds-shadow-md); }

/* ── Components ── */

/* --- components/address-autocomplete/address-autocomplete.css --- */
/* ===========================================
   address-autocomplete.css: token-styled Places suggestion dropdown.
   Attaches to `.ds-address-autocomplete` (standalone component root OR a
   WPForms field container given that builder CSS class). The dropdown is our
   own markup: no Maps JS SDK, no Google widget styling to fight.
   Marker class `ds-address-autocomplete` (smoke-site §8b soft check).
   =========================================== */

.ds-address-autocomplete {
  position: relative;
}

/* Standalone-mode label + input (WPForms fields keep their own form styles). */
.ds-address-autocomplete__label {
  display: block;
  margin-bottom: var(--ds-space-xs);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
}

.ds-address-autocomplete__input {
  width: 100%;
  min-height: var(--ds-tap-target, 48px);
  padding: var(--ds-space-sm) var(--ds-space-md);
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  color: var(--ds-dark);
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  transition: border-color var(--ds-transition-base);
}

.ds-address-autocomplete__input:focus {
  outline: none;
  border-color: var(--ds-accent);
  box-shadow: 0 0 0 3px var(--ds-primary-10);
}

/* ── Suggestion dropdown (JS-built, shared by both modes) ── */

.ds-address-autocomplete__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: var(--ds-space-xs) 0;
  list-style: none;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-lg);
  max-height: 280px;
  overflow-y: auto;
}

.ds-address-autocomplete__list[hidden] {
  display: none;
}

.ds-address-autocomplete__option {
  display: block;
  padding: var(--ds-space-sm) var(--ds-space-md);
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-sm);
  color: var(--ds-body);
  line-height: var(--ds-lh-tight);
  cursor: pointer;
}

.ds-address-autocomplete__option strong {
  color: var(--ds-dark);
  font-weight: var(--ds-fw-semibold);
}

.ds-address-autocomplete__option:hover,
.ds-address-autocomplete__option.is-active {
  background: var(--ds-primary-10);
  color: var(--ds-dark);
}

/* Required attribution when showing Google-sourced suggestions without a map. */
.ds-address-autocomplete__attribution {
  display: block;
  padding: var(--ds-space-xs) var(--ds-space-md) 2px;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ds-muted);
  text-align: right;
}

/* --- components/answer-block/answer-block.css --- */
/* ── Answer Block ──────────────────────────────────────────────────────────
   A solid accent field carrying one anxious question and its short answer.
   Structure only here; the look supplies colour, notch and type scale.
   ------------------------------------------------------------------------ */

.ds-answer {
  padding-block: var(--ds-section-pad, 4.5rem);
  background-color: transparent;
}

.ds-answer__block {
  background-color: var(--ds-accent, #E0A010);
  color: var(--ds-accent-ink, #1A1A1A);
  padding: clamp(1.75rem, 3.4vw, 3.25rem);
}

.ds-answer__question,
.ds-answer__answer,
.ds-answer__para { margin: 0; }

.ds-answer__question { margin-bottom: 0.65rem; }
.ds-answer__answer   { margin-bottom: 0.9rem; }

/* ── split: full-bleed, photograph one half, field the other ── */

.ds-answer--split { padding-block: 0; }

.ds-answer--split .ds-answer__inner {
  display: grid;
  grid-template-columns: 1fr;
}

.ds-answer__media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.ds-answer__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.ds-answer--focus-bottom .ds-answer__img { object-position: 50% 100%; }
.ds-answer--focus-center .ds-answer__img { object-position: 50% 50%; }
.ds-answer--focus-top    .ds-answer__img { object-position: 50% 0%; }

.ds-answer--split .ds-answer__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 860px) {
  .ds-answer--split .ds-answer__inner { grid-template-columns: 1fr 1fr; }
  .ds-answer--split .ds-answer__media { min-height: 480px; }
  .ds-answer--img-right .ds-answer__media { order: 2; }
  .ds-answer--img-right .ds-answer__block { order: 1; }
}

/* --- components/area-links/area-links.css --- */
/* Area links — a suburb/location index. Two variants: a multi-column
   text-link list, and a centred cloud of rounded pills. */

.ds-area-links { padding-block: var(--ds-section-pad); background-color: var(--ds-bg); }

.ds-area-links__head { margin: 0 0 var(--ds-space-lg); max-width: 48rem; }
.ds-area-links--align-center .ds-area-links__head { margin-inline: auto; text-align: center; }
.ds-area-links__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-area-links__heading { margin: 0; }
.ds-area-links__desc { margin: var(--ds-space-sm) 0 0; color: var(--ds-muted); font-size: var(--ds-fs-md); }
.ds-area-links--align-center .ds-area-links__desc { margin-inline: auto; }

/* ─── List variant ────────────────────────────────────────────────────── */
.ds-area-links__list { list-style: none; margin: 0; padding: var(--ds-space-md) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px 28px; border-top: 1px solid var(--ds-border); }
.ds-area-links--cols-2 .ds-area-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-area-links--cols-3 .ds-area-links__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-area-links--cols-4 .ds-area-links__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ds-area-links--cols-5 .ds-area-links__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ds-area-links--cols-6 .ds-area-links__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ds-area-links__link { display: block; padding: 8px 0; color: var(--ds-secondary); font-weight: var(--ds-fw-semibold); text-decoration: none; transition: color var(--ds-transition-base); }
.ds-area-links__link:hover, .ds-area-links__link:focus-visible { color: var(--ds-primary); }

/* ─── Pills variant ───────────────────────────────────────────────────── */
.ds-area-links__pills { list-style: none; margin: var(--ds-space-lg) auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--ds-space-md); max-width: 860px; }
.ds-area-links--align-center .ds-area-links__pills { justify-content: center; }
.ds-area-links__pill-item { display: flex; }
.ds-area-links__pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 26px;
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  box-shadow: var(--ds-shadow-sm);
  color: var(--ds-primary-dark);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  line-height: 1.15;
  text-decoration: none;
  transition: transform var(--ds-transition-fast), box-shadow var(--ds-transition-base), background-color var(--ds-transition-base), color var(--ds-transition-base);
}
.ds-area-links__pill:hover, .ds-area-links__pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
  color: var(--ds-secondary);
}
.ds-area-links__pill-sub { font-size: var(--ds-fs-xs); font-weight: var(--ds-fw-semibold); letter-spacing: var(--ds-ls-wide); text-transform: uppercase; color: var(--ds-muted); }
.ds-area-links__pill.is-featured {
  background-color: var(--ds-secondary);
  border-color: var(--ds-secondary);
  color: var(--ds-secondary-ink, var(--ds-white));
  box-shadow: var(--ds-shadow-md);
}
.ds-area-links__pill.is-featured:hover, .ds-area-links__pill.is-featured:focus-visible {
  background-color: var(--ds-secondary-hover);
  color: var(--ds-secondary-ink, var(--ds-white));
}
/* Full-strength ink, not the dimmed-white idiom: on a mid-tone secondary
   (light-primary brands) the ink has no alpha headroom — 80% of a 5:1 white
   drops under AA. Hierarchy comes from size/case; old token sets keep the
   dimmed white via the fallback. */
.ds-area-links__pill.is-featured .ds-area-links__pill-sub { color: var(--ds-secondary-ink, color-mix(in srgb, var(--ds-white) 80%, transparent)); }

.ds-area-links__cta { margin: var(--ds-space-xl) 0 0; }
.ds-area-links--align-center .ds-area-links__cta { text-align: center; }

@media (max-width: 900px) { .ds-area-links--cols-4 .ds-area-links__list, .ds-area-links--cols-5 .ds-area-links__list, .ds-area-links--cols-6 .ds-area-links__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ds-area-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* ─── Grouped variant (columns by sub-region) ─────────────────────────── */
.ds-area-links__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-xl) var(--ds-space-lg); }
.ds-area-links__group-heading {
  margin: 0 0 var(--ds-space-md);
  padding-bottom: var(--ds-space-sm);
  border-bottom: 2px solid var(--ds-dark);
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-md);
  color: var(--ds-dark);
}
.ds-area-links__group-list { list-style: none; margin: 0; padding: 0; }
.ds-area-links__group-list .ds-area-links__item { padding: 0; }
.ds-area-links__group-list .ds-area-links__link { display: block; padding: 6px 0; color: var(--ds-body); font-weight: var(--ds-fw-semibold); }
@media (min-width: 820px) { .ds-area-links__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ─── Cards variant (town cards + arrow) ──────────────────────────────── */
.ds-area-links__cards { display: grid; grid-template-columns: 1fr; gap: var(--ds-space-md); }
.ds-area-links__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
  padding: var(--ds-space-md) var(--ds-space-lg);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background-color: var(--ds-bg-elevated);
  text-decoration: none;
  transition: transform var(--ds-transition-fast), box-shadow var(--ds-transition-base), border-color var(--ds-transition-base);
}
.ds-area-links__card:hover, .ds-area-links__card:focus-visible { transform: translateY(-2px); box-shadow: var(--ds-shadow-md); border-color: var(--ds-dark); }
.ds-area-links__card-copy { display: flex; flex-direction: column; gap: 2px; }
.ds-area-links__card-label { font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); font-size: var(--ds-fs-md); color: var(--ds-dark); }
.ds-area-links__card-sub { font-size: var(--ds-fs-xs); color: var(--ds-muted); }
.ds-area-links__card-arrow { flex-shrink: 0; color: var(--ds-dark); display: inline-flex; }
.ds-area-links__card-arrow svg { width: 20px; height: 20px; }
@media (min-width: 560px) { .ds-area-links__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ds-area-links__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ─── Map variant (service-area map + chips) ──────────────────────────── */
.ds-area-links__map-grid { display: grid; grid-template-columns: 1fr; gap: var(--ds-space-xl); align-items: center; }
.ds-area-links--map .ds-area-links__head { margin-bottom: var(--ds-space-md); }
.ds-area-links__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border);
  overflow: hidden;
  background-color: var(--ds-light);
  background-size: cover;
  background-position: center;
}
.ds-area-links__pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; font-family: var(--ds-body-font); font-weight: var(--ds-fw-semibold); font-size: var(--ds-fs-xs); color: var(--ds-dark); pointer-events: none; }
.ds-area-links__pin-dot { width: 12px; height: 12px; border-radius: var(--ds-radius-full); background-color: var(--ds-dark); border: 3px solid var(--ds-white); box-shadow: var(--ds-shadow-sm); margin-bottom: 3px; }
.ds-area-links__pin.is-home .ds-area-links__pin-dot { width: 18px; height: 18px; background-color: var(--ds-primary); }
.ds-area-links__pin-label { background-color: color-mix(in srgb, var(--ds-white) 82%, transparent); padding: 1px 6px; border-radius: var(--ds-radius-sm); }
.ds-area-links__chips { list-style: none; margin: var(--ds-space-md) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--ds-space-sm); }
.ds-area-links__chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--ds-radius-full);
  border: 1px solid var(--ds-border);
  background-color: var(--ds-bg-elevated);
  color: var(--ds-dark);
  font-family: var(--ds-body-font);
  font-weight: var(--ds-fw-semibold);
  font-size: var(--ds-fs-sm);
  text-decoration: none;
  transition: background-color var(--ds-transition-base), color var(--ds-transition-base), border-color var(--ds-transition-base);
}
.ds-area-links__chip:hover, .ds-area-links__chip:focus-visible { background-color: var(--ds-dark); color: var(--ds-white); border-color: var(--ds-dark); }
.ds-area-links__chip.is-home { background-color: var(--ds-primary); color: var(--ds-primary-ink, var(--ds-white)); border-color: var(--ds-primary); }
@media (min-width: 820px) { .ds-area-links__map-grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 3rem); } }

/* --- components/article-body/article-body.css --- */
/* ===========================================
   components/article-body/article-body.css
   The reading column: optional sticky TOC sidebar + rich prose content.
   This is where article typography lives (measure, rhythm, headings,
   lists, quotes, code, tables, figures).
   =========================================== */

.ds-article-body {
  padding-block: var(--ds-space-xl) var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-article-body__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-space-2xl);
  justify-content: center;
}

/* Solo (no TOC): centre the content at its measure. */
.ds-article-body--solo .ds-article-body__content {
  max-width: var(--ds-container-narrow, 720px);
  margin-inline: auto;
  width: 100%;
}

/* With TOC: sidebar + content. Stacks below 1024px. */
@media (min-width: 1024px) {
  .ds-article-body--with-toc .ds-article-body__layout {
    grid-template-columns: 240px minmax(0, var(--ds-container-narrow, 720px));
    justify-content: center;
    align-items: start;
  }

  .ds-article-body__sidebar {
    position: sticky;
    top: calc(var(--ds-header-height) + var(--ds-space-lg));
    max-height: calc(100vh - var(--ds-header-height) - var(--ds-space-2xl));
    overflow-y: auto;
  }
}

.ds-article-body__content {
  color: var(--ds-body);
  font-size: var(--ds-fs-md);
  line-height: var(--ds-lh-body);
  min-width: 0;
}

/* ── Prose typography ───────────────────────────────────────────────── */

.ds-article-body__content > :first-child {
  margin-top: 0;
}

.ds-article-body__content > :last-child {
  margin-bottom: 0;
}

.ds-article-body__content p {
  margin-block: 0 var(--ds-space-lg);
}

.ds-article-body__content h2 {
  font-family: var(--ds-heading);
  font-size: var(--ds-h3);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  margin-block: var(--ds-space-2xl) var(--ds-space-md);
  scroll-margin-top: calc(var(--ds-header-height) + var(--ds-space-lg));
}

.ds-article-body__content h3 {
  font-family: var(--ds-heading);
  font-size: var(--ds-h4);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  margin-block: var(--ds-space-xl) var(--ds-space-sm);
  scroll-margin-top: calc(var(--ds-header-height) + var(--ds-space-lg));
}

.ds-article-body__content h4 {
  font-family: var(--ds-heading);
  font-size: var(--ds-h5);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  margin-block: var(--ds-space-lg) var(--ds-space-sm);
}

.ds-article-body__content ul,
.ds-article-body__content ol {
  margin-block: 0 var(--ds-space-lg);
  padding-inline-start: var(--ds-space-xl);
}

.ds-article-body__content li {
  margin-block: var(--ds-space-sm);
}

.ds-article-body__content a {
  color: var(--ds-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ds-article-body__content a:hover {
  color: var(--ds-primary-hover);
}

.ds-article-body__content blockquote {
  margin: var(--ds-space-xl) 0;
  padding-inline-start: var(--ds-space-lg);
  border-inline-start: 4px solid var(--ds-primary);
  font-size: var(--ds-fs-lg);
  font-style: italic;
  color: var(--ds-body-light);
}

.ds-article-body__content blockquote p:last-child {
  margin-bottom: 0;
}

.ds-article-body__content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--ds-radius-image);
  margin-block: var(--ds-space-lg);
}

.ds-article-body__content figure {
  margin: var(--ds-space-lg) 0;
}

.ds-article-body__content figcaption {
  margin-top: var(--ds-space-sm);
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
  text-align: center;
}

/* Inline + block code */
.ds-article-body__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background-color: var(--ds-light);
  padding: 0.1em 0.35em;
  border-radius: var(--ds-radius-sm);
}

.ds-article-body__content pre {
  margin-block: var(--ds-space-lg);
  padding: var(--ds-space-lg);
  background-color: var(--ds-dark);
  color: var(--ds-white);
  border-radius: var(--ds-radius-md);
  overflow-x: auto;
}

.ds-article-body__content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Tables - wrapped in .table-scroll-wrap by the template for overflow. */
.ds-article-body__content .table-scroll-wrap {
  margin-block: var(--ds-space-lg);
  overflow-x: auto;
}

.ds-article-body__content table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: var(--ds-fs-sm);
}

.ds-article-body__content th,
.ds-article-body__content td {
  padding: var(--ds-space-sm) var(--ds-space-md);
  border: 1px solid var(--ds-border);
  text-align: left;
}

.ds-article-body__content th {
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
  background-color: var(--ds-light);
}

.ds-article-body__content hr {
  margin-block: var(--ds-space-2xl);
  border: 0;
  border-top: 1px solid var(--ds-border);
}

/* --- components/article-header/article-header.css --- */
/* ===========================================
   components/article-header/article-header.css
   =========================================== */

.ds-article-header {
  padding-block: var(--ds-section-pad) var(--ds-space-xl);
  background-color: var(--ds-bg);
}

/* Breadcrumbs */
.ds-article-header__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-xs);
  margin-bottom: var(--ds-space-lg);
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
}

.ds-article-header__crumb {
  color: var(--ds-body-light);
  text-decoration: none;
}

.ds-article-header__crumb:hover {
  color: var(--ds-primary);
}

.ds-article-header__crumb--current {
  color: var(--ds-body);
}

.ds-article-header__crumb-sep {
  color: var(--ds-muted);
}

/* Layout: text + optional media side by side, stacks on mobile */
.ds-article-header__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2xl);
}

.ds-article-header--has-media .ds-article-header__inner {
  align-items: center;
}

@media (min-width: 880px) {
  .ds-article-header--has-media .ds-article-header__inner {
    flex-direction: row;
  }

  .ds-article-header--has-media .ds-article-header__text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ds-article-header--has-media .ds-article-header__media {
    flex: 0 0 400px;
    max-width: 400px;
  }
}

.ds-article-header__text {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
}

/* Category badge */
.ds-article-header__category {
  align-self: flex-start;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ds-primary);
  background-color: var(--ds-primary-light);
  padding: var(--ds-space-xs) var(--ds-space-md);
  border-radius: var(--ds-radius-full);
}

a.ds-article-header__category:hover {
  color: var(--ds-primary-ink, var(--ds-white));
  background-color: var(--ds-primary);
}

.ds-article-header__title {
  margin: 0;
}

/* Meta line */
.ds-article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-sm);
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
}

.ds-article-header__meta-sep {
  color: var(--ds-muted);
}

.ds-article-header__author a {
  color: var(--ds-primary);
  text-decoration: none;
}

.ds-article-header__author a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Featured image */
.ds-article-header__media {
  width: 100%;
}

.ds-article-header__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--ds-radius-image);
}

/* --- components/author-box/author-box.css --- */
/* ===========================================
   components/author-box/author-box.css
   =========================================== */

.ds-author-box {
  padding-block: var(--ds-space-2xl);
  background-color: var(--ds-bg);
}

.ds-author-box__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
  padding: var(--ds-space-xl);
  background-color: var(--ds-light);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
}

@media (min-width: 600px) {
  .ds-author-box__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--ds-space-xl);
  }
}

.ds-author-box__avatar {
  flex: 0 0 auto;
}

.ds-author-box__avatar img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--ds-radius-full);
}

.ds-author-box__body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
  min-width: 0;
}

.ds-author-box__label {
  margin: 0;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-body-light);
}

.ds-author-box__name {
  margin: 0;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
}

.ds-author-box__name-link {
  color: inherit;
  text-decoration: none;
}

.ds-author-box__name-link:hover {
  color: var(--ds-primary);
}

.ds-author-box__role {
  margin: 0;
  font-size: var(--ds-fs-sm);
  color: var(--ds-primary);
  font-weight: var(--ds-fw-semibold);
}

.ds-author-box__bio {
  margin: var(--ds-space-xs) 0 0;
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
  color: var(--ds-body);
}

.ds-author-box__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm);
  margin-top: var(--ds-space-sm);
}

.ds-author-box__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ds-tap-target, 44px);
  height: var(--ds-tap-target, 44px);
  color: var(--ds-body-light);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  text-decoration: none;
  transition: color var(--ds-transition-fast) var(--ds-ease),
              border-color var(--ds-transition-fast) var(--ds-ease);
}

.ds-author-box__link:hover {
  color: var(--ds-primary);
  border-color: var(--ds-primary);
}

.ds-author-box__link svg {
  width: var(--ds-icon-sm, 16px);
  height: var(--ds-icon-sm, 16px);
}

@media (prefers-reduced-motion: reduce) {
  .ds-author-box__link {
    transition: none;
  }
}

/* --- components/before-after/before-after.css --- */
/* ═══ before-after — standalone reveal-slider gallery ════════════════════
   Slider mechanics shared with the hero `before-after` variant (clip-path
   reveal driven by --ba-pos; invisible full-frame range input = the drag
   surface AND the keyboard/AT control). Structure (captioned card grid)
   ported from Outdoor Revival's before-after-grid. Tokens only. */

.ds-before-after {
  padding-block: var(--ds-section-pad, var(--ds-space-4xl));
}

.ds-before-after--paper { background-color: var(--ds-paper, var(--ds-white)); }
.ds-before-after--tint  { background-color: var(--ds-light); }
.ds-before-after--dark  { background-color: var(--ds-primary-dark); }

.ds-before-after__header {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--ds-space-2xl);
}

.ds-before-after__desc {
  color: var(--ds-body-light);
  margin-top: var(--ds-space-sm);
}

.ds-before-after--dark .ds-before-after__desc { color: inherit; }

/* ─── layout: single wide frame, or 2-3 card grid ─── */

.ds-before-after--single .ds-before-after__items {
  max-width: 880px;
  margin-inline: auto;
}

.ds-before-after--grid .ds-before-after__items {
  display: grid;
  gap: var(--ds-space-xl);
}

@media (min-width: 700px) {
  .ds-before-after--grid .ds-before-after__items {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ─── the reveal frame ─── */

.ds-before-after__frame {
  position: relative;
  margin: 0;
  border-radius: var(--ds-radius-image);
  overflow: hidden;
  box-shadow: var(--ds-shadow-md);
  aspect-ratio: var(--ds-ba-aspect, 4 / 3);
  isolation: isolate;
  user-select: none;
}

.ds-before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-before-after__img--after  { z-index: 1; }

.ds-before-after__img--before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}

.ds-before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background-color: var(--ds-white);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.ds-before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: var(--ds-radius-full);
  background-color: var(--ds-white);
  box-shadow: var(--ds-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.ds-before-after__handle::before,
.ds-before-after__handle::after {
  content: "";
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
}

.ds-before-after__handle::before { border-right: 7px solid var(--ds-primary); }
.ds-before-after__handle::after  { border-left: 7px solid var(--ds-primary); }

.ds-before-after__tag {
  position: absolute;
  bottom: var(--ds-space-md);
  z-index: 3;
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  padding: var(--ds-space-xs) var(--ds-space-sm);
  border-radius: var(--ds-radius-full);
  color: var(--ds-white);
  background-color: color-mix(in srgb, var(--ds-primary-dark) 70%, transparent);
  backdrop-filter: blur(4px);
}

.ds-before-after__tag--before { left: var(--ds-space-md); }

.ds-before-after__tag--after {
  right: var(--ds-space-md);
  background-color: var(--ds-accent);
  color: var(--ds-accent-ink, var(--ds-primary-dark));
}

.ds-before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.ds-before-after__range:focus-visible {
  outline: 2px solid var(--ds-primary);
  outline-offset: 2px;
}

/* No-JS fallback: half-reveal stays put, chrome still labels both frames. */
.ds-before-after__frame:not([data-ds-ba-ready]) .ds-before-after__img--before {
  clip-path: inset(0 50% 0 0);
}

/* ─── captions (the OR structure) ─── */

.ds-before-after__caption {
  margin-top: var(--ds-space-md);
}

.ds-before-after__title {
  font-size: var(--ds-fs-md);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  margin: 0 0 var(--ds-space-2xs);
}

.ds-before-after__body {
  font-size: var(--ds-fs-base);
  color: var(--ds-body-light);
  margin: 0;
}

.ds-before-after--dark .ds-before-after__title,
.ds-before-after--dark .ds-before-after__body { color: inherit; }

/* --- components/booking-iframe/booking-iframe.css --- */
/* Booking iFrame — embedded external booking / quote flow. */

.ds-booking__inner { padding: var(--ds-section-pad, 3rem) 1.25rem; }

.ds-booking--bg-tint  { background: var(--ds-brand-primary-50, #ebfbff); }
.ds-booking--bg-paper { background: var(--ds-off-white, #f4f7fa); }
.ds-booking--bg-white { background: #ffffff; }

.ds-booking__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 1.5rem;
}
.ds-booking__intro {
  color: var(--ds-neutral-ink, #1f2d3a);
  font-family: var(--ds-body-font, sans-serif);
  line-height: 1.6;
}

.ds-booking__frame {
  background: #fff;
  border-radius: var(--ds-radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(66, 93, 116, .10);
}

.ds-booking__iframe {
  width: 100%;
  border: 0;
  display: block;
}

.ds-booking__fallback {
  padding: 1.5rem;
  text-align: center;
  font-family: var(--ds-body-font, sans-serif);
}

/* --- components/breakout/breakout.css --- */
/* ===========================================
   components/breakout/breakout.css
   An overlapping copy panel that breaks the grid over a photo.
   Every value resolves to a --ds-* token.
   =========================================== */

.ds-breakout {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-breakout--tone-tint  { background-color: var(--ds-primary-light); }
.ds-breakout--tone-light { background-color: var(--ds-light); }
.ds-breakout--tone-paper { background-color: var(--ds-paper); }
.ds-breakout--tone-dark  { background-color: var(--ds-primary-dark); }

/* ─── Mobile: stacked, panel tucks up under the photo ──────────────────── */

.ds-breakout__container {
  display: flex;
  flex-direction: column;
}

.ds-breakout__media {
  position: relative;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  box-shadow: var(--ds-shadow-lg);
  aspect-ratio: 4 / 3;
}

.ds-breakout__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-breakout__panel {
  position: relative;
  z-index: 2;
  margin: calc(-1 * var(--ds-space-2xl)) var(--ds-space-md) 0;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-xl);
  padding: var(--ds-space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
}

/* On dark tone the panel reads as a deep glass card, type stays light. */
.ds-breakout--tone-dark .ds-breakout__panel {
  background-color: color-mix(in srgb, var(--ds-white) 8%, var(--ds-primary-dark));
  box-shadow: var(--ds-shadow-xl);
}

.ds-breakout__heading { margin: 0; }
.ds-breakout__body { margin: 0; }

/* ─── Stat badges ──────────────────────────────────────────────────────── */

.ds-breakout__stats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-xl);
}

.ds-breakout__stat {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-breakout__stat-value {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-3xl);
  line-height: 1;
  color: var(--ds-primary);
}

.ds-breakout__stat-label {
  margin: 0;
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-muted);
}

.ds-breakout__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-xs);
}

/* ─── Desktop: overlap. Panel sits over the image edge. ────────────────── */

@media (min-width: 880px) {
  .ds-breakout__container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* stretch, not center: the photo matches the panel's height, always
       (comb 3.9 2026-08-24 — Sutton home photo ran 646px short of its panel
       at 1024). The image is absolute-filled so it never drives the row
       height; the panel does, and the photo covers whatever height that is. */
    align-items: stretch;
  }

  .ds-breakout__media {
    grid-row: 1;
    aspect-ratio: auto;
    height: 100%;
    min-height: 380px;
  }

  .ds-breakout__img {
    position: absolute;
    inset: 0;
  }

  .ds-breakout__panel {
    grid-row: 1;
    margin: 0;
    padding: var(--ds-space-2xl);
    max-width: none;
  }

  /* image-left: photo cols 1-7, panel cols 7-13 (overlap one column). */
  .ds-breakout--img-left .ds-breakout__media  { grid-column: 1 / 8; }
  .ds-breakout--img-left .ds-breakout__panel  { grid-column: 7 / 13; }

  /* image-right: mirror. */
  .ds-breakout--img-right .ds-breakout__media { grid-column: 6 / 13; }
  .ds-breakout--img-right .ds-breakout__panel { grid-column: 1 / 7; }
}

/* --- components/cctv-package/cctv-package.css --- */
/* ===========================================
   components/cctv-package/cctv-package.css
   The ONE navy CCTV package-builder ticket device.
   Navy band + white ticket panel. No accent edge-border
   (banned as an AI/template tell, feedback_no_left_top_border_cards).
   Every value resolves to a --ds-* token.
   =========================================== */

.ds-package {
  background: var(--ds-primary-dark);
  color: var(--ds-white);
  position: relative;
  overflow: hidden;
}
.ds-package__inner {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ds-package h2 { color: var(--ds-white); }

.ds-package__panel {
  background: var(--ds-white);
  color: var(--ds-body);
}
.ds-package__panel-head {
  background: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-semibold);
  font-size: var(--ds-fs-sm);
  letter-spacing: .04em;
  padding: var(--ds-space-md) var(--ds-space-lg);
}
.ds-package__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
  padding: var(--ds-space-md) var(--ds-space-lg);
  border-top: 1px solid var(--ds-border);
}
.ds-package__row:first-of-type { border-top: 0; }
.ds-package__row--accent { background: var(--ds-brand-accent-50); }
.ds-package__row span:first-child { color: var(--ds-body); font-size: var(--ds-fs-sm); }
.ds-package__val {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-sm);
}
.ds-package__chip {
  background: var(--ds-accent);
  color: var(--ds-white);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-bold);
  padding: 2px 8px;
}
.ds-package__note {
  font-size: var(--ds-fs-xs);
  color: color-mix(in srgb, var(--ds-white) 72%, transparent);
  margin: var(--ds-space-md) 0 0;
  padding: 0 var(--ds-space-lg) var(--ds-space-lg);
}

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

/* --- components/check-feature/check-feature.css --- */
/* ===========================================
   components/check-feature/check-feature.css
   Tall photo + numbered check grid. Tokens only.
   =========================================== */

.ds-check-feature {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-check-feature__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
  align-items: center;
}

.ds-check-feature__media {
  position: relative;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  box-shadow: var(--ds-shadow-xl);
  aspect-ratio: 4 / 4.4;
}
.ds-check-feature__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ds-check-feature__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-check-feature__heading { margin: 0 0 var(--ds-space-sm); }
.ds-check-feature__intro { max-width: 46ch; color: var(--ds-muted); margin-bottom: var(--ds-space-lg); }

.ds-check-feature__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-lg) var(--ds-space-xl);
}

.ds-check-feature__item { display: flex; gap: var(--ds-space-md); align-items: flex-start; }

.ds-check-feature__badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-md);
  background-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-sm);
}
.ds-check-feature__badge svg { width: 17px; height: 17px; }

.ds-check-feature__item-copy { display: flex; flex-direction: column; gap: 2px; }
.ds-check-feature__item-title { font-family: var(--ds-body-font); font-weight: var(--ds-fw-bold); font-size: var(--ds-fs-md); color: var(--ds-primary-dark); line-height: 1.3; }
.ds-check-feature__item-desc { font-size: var(--ds-fs-base); color: var(--ds-body); line-height: var(--ds-lh-body); }

/* ─── Desktop ──────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .ds-check-feature__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 3.5rem);
    align-items: stretch;
  }
  /* Match the photo to the copy height instead of letting its aspect ratio
     dictate a towering panel. The image is taken out of flow (absolute) so it
     never drives the row height; the copy column does, and the photo covers
     whatever height that is. */
  .ds-check-feature__media { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .ds-check-feature__img { position: absolute; inset: 0; }
  .ds-check-feature--img-right .ds-check-feature__media { order: 2; }
  .ds-check-feature--cols-2 .ds-check-feature__list { grid-template-columns: 1fr 1fr; }
}


/* Optional actions under the item grid (added 2026-08-28), mirroring
   .ds-process-grid__cta and .ds-drivers__cta. */
.ds-check-feature__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-xl);
}

/* --- components/contact-section/contact-section.css --- */
/* ===========================================
   components/contact-section/contact-section.css
   =========================================== */

.ds-contact-section {
  padding-block: var(--ds-section-pad);
}

.ds-contact-section--bg-paper { background-color: var(--ds-bg); }
.ds-contact-section--bg-light { background-color: var(--ds-light); }
.ds-contact-section--bg-dark  { background-color: var(--ds-primary-dark); }

.ds-contact-section--bg-dark .ds-contact-section__heading,
.ds-contact-section--bg-dark .ds-contact-section__detail-value,
.ds-contact-section--bg-dark .ds-contact-section__detail-label {
  color: var(--ds-white);
}

.ds-contact-section--bg-dark .ds-contact-section__desc {
  color: var(--ds-white);
  opacity: 0.85;
}

.ds-contact-section--bg-dark .ds-contact-section__detail-label {
  opacity: 0.7;
}

/* ─── Layout ─────────────────────────────────────────────────────────── */

.ds-contact-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
}

@media (min-width: 960px) {
  .ds-contact-section--split .ds-contact-section__layout,
  .ds-contact-section--cards .ds-contact-section__layout {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--ds-space-3xl);
    align-items: start;
  }
}

.ds-contact-section__intro {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  max-width: 52ch;
}

.ds-contact-section__heading { max-width: 22ch; }

/* ─── Details list ───────────────────────────────────────────────────── */

.ds-contact-section__details {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-md);
}

/* Shared row layout (both styles) */
.ds-contact-section__detail {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--ds-transition-base),
              transform var(--ds-transition-base),
              color var(--ds-transition-base);
}

/* ── Style: ledger (default) — hairline-ruled rows, plain accent icon ────── */
.ds-contact-section__details--ledger {
  gap: 0;
  margin-top: var(--ds-space-lg);
}
.ds-contact-section__details--ledger .ds-contact-section__detail {
  padding: var(--ds-space-md) 0;
  border-bottom: 1px solid var(--ds-border);
}
.ds-contact-section__details--ledger .ds-contact-section__detail:first-child {
  border-top: 1px solid var(--ds-border);
}
.ds-contact-section__details--ledger .ds-contact-section__detail--link:hover .ds-contact-section__detail-value {
  color: var(--ds-primary);
}
.ds-contact-section--bg-dark .ds-contact-section__details--ledger .ds-contact-section__detail {
  border-color: var(--ds-white-15);
}
.ds-contact-section__detail-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--ds-accent);
}
.ds-contact-section__detail-icon svg { width: 100%; height: 100%; }

/* ── Style: boxed (legacy) — icon-cube cards, optional highlighted first ── */
.ds-contact-section__details--boxed .ds-contact-section__detail {
  padding: var(--ds-space-md);
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
}
.ds-contact-section__details--boxed .ds-contact-section__detail--link:hover {
  border-color: var(--ds-primary);
  transform: translateX(2px);
}
/* Featured row: a normal card wearing a primary ring, with the solid icon
   cube carrying the emphasis. It used to be a full --ds-primary fill, which
   on a light/vivid primary reads as a colour block rather than a highlight
   (Luc on the MiM contact page, 2026-08-13). The ring is a full ring, never
   a single edge: left/top accent borders are a template tell.
   The cube keeps its own --ds-primary-ink glyph, so nothing here needs an
   ink override any more. */
.ds-contact-section__detail--featured {
  background-color: var(--ds-bg-elevated);
  border-color: var(--ds-primary);
  box-shadow: inset 0 0 0 1px var(--ds-primary),
              0 8px 20px color-mix(in srgb, var(--ds-primary) 14%, transparent);
}

.ds-contact-section__detail-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ds-contact-section__detail-label {
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ds-contact-section__detail-value {
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  /* Long emails / URLs must break rather than push the flex row wide and
     overflow the viewport on narrow screens. */
  overflow-wrap: anywhere;
}

/* ─── Trust badges row ───────────────────────────────────────────────── */

.ds-contact-section__badges {
  list-style: none;
  padding: 0;
  margin: var(--ds-space-md) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm);
}

.ds-contact-section__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  padding: var(--ds-space-xs) var(--ds-space-md);
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  font-size: var(--ds-fs-sm);
  color: var(--ds-body);
}

.ds-contact-section--bg-dark .ds-contact-section__badge {
  background-color: var(--ds-white-10);
  border-color: var(--ds-white-15);
  color: var(--ds-white);
}

.ds-contact-section__badge-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--ds-accent);
}

.ds-contact-section__badge-icon svg {
  width: 100%;
  height: 100%;
}

/* ─── Form wrap ─────────────────────────────────────────────────────── */

.ds-contact-section__form-wrap {
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-2xl);
  box-shadow: var(--ds-shadow-md);
}

@media (max-width: 600px) {
  .ds-contact-section__form-wrap {
    padding: var(--ds-space-lg);
  }
}

/* ─── Media (image on the right when there's no form) ───────────────── */

.ds-contact-section__media { display: flex; }
.ds-contact-section__media-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-lg);
}

/* ─── Cards variant ─────────────────────────────────────────────────── */

.ds-contact-section__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-md);
}

@media (min-width: 480px) {
  .ds-contact-section__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ds-contact-section__card--featured {
  background-color: var(--ds-primary);
  border-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
}

.ds-contact-section__card--featured .ds-card__title,
.ds-contact-section__card--featured .ds-card__desc {
  color: var(--ds-primary-ink, var(--ds-white));
}

.ds-contact-section__card--featured .ds-card__desc {
  opacity: 0.85;
}

/* --- components/coverage-map/coverage-map.css --- */
/* ===========================================
   components/coverage-map/coverage-map.css
   Real service-area geography: narrative column + inline SVG map.
   Every colour resolves from tokens, so the map wears the site's palette
   rather than a tile provider's.
   =========================================== */

.ds-coverage-map {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-primary-dark);
}

.ds-coverage-map__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
  align-items: center;
}

@media (min-width: 900px) {
  .ds-coverage-map__container {
    grid-template-columns: 1fr 1fr;
    gap: var(--ds-space-3xl);
  }
}

.ds-coverage-map__heading .ds-mark { color: var(--ds-accent); }

.ds-coverage-map__body {
  color: color-mix(in srgb, #fff 72%, transparent);
  margin: var(--ds-space-md) 0 0;
  font-size: 1.05rem;
}

/* ─── pills: the real link surface ───────────────────────────────────────
   The map is aria-hidden decoration. These carry every location link, and
   every tap target. Do not move the links onto the dots. */

.ds-coverage-map__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--ds-space-xl);
}

.ds-coverage-map__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.2;
  color: color-mix(in srgb, #fff 92%, transparent);
  text-decoration: none;
  border: 1px solid var(--ds-accent);
  background: transparent;
}

.ds-coverage-map__pill--hub {
  background: var(--ds-accent);
  color: var(--ds-primary-dark);
  font-weight: var(--ds-fw-bold);
}

/* ─── the map ────────────────────────────────────────────────────────── */

.ds-coverage-map__figure { margin: 0; }

.ds-coverage-map__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 660px;
  overflow: visible;
}

/* LGA outlines: a lift off the ground rather than a fill, so the map reads as
   a drawing of the area and not a filled-in shape sitting on top of it. */
.ds-coverage-map__shape {
  fill: color-mix(in srgb, #fff 5%, transparent);
  stroke: color-mix(in srgb, var(--ds-accent) 55%, transparent);
  stroke-width: 1.25;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ds-coverage-map__dot {
  fill: color-mix(in srgb, var(--ds-accent) 75%, transparent);
}

.ds-coverage-map__dot--hub {
  fill: var(--ds-accent);
}

.ds-coverage-map__halo {
  fill: none;
  stroke: var(--ds-accent);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  opacity: 0.55;
}

/* Labels are set in absolute px through vector-effect-free text, so they scale
   with the drawing. Sized up from the usual microcopy floor because the SVG is
   drawn at ~760 units wide and displayed at roughly half that. */
.ds-coverage-map__label {
  fill: color-mix(in srgb, #fff 82%, transparent);
  font-family: var(--ds-body-font, inherit);
  font-size: 21px;
  font-weight: var(--ds-fw-semibold);
  paint-order: stroke;
  stroke: var(--ds-primary-dark);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.ds-coverage-map__label--hub {
  fill: var(--ds-accent);
  font-weight: var(--ds-fw-bold);
}

.ds-coverage-map__caption {
  margin: var(--ds-space-md) 0 0;
  font-size: 0.875rem;
  color: color-mix(in srgb, #fff 55%, transparent);
}

/* ─── phones ─────────────────────────────────────────────────────────────
   The drawing is ~950 viewBox units wide and gets ~335 CSS px on a phone, so
   a 21-unit label lands at 7px on screen: under the 14px microcopy floor and
   simply unreadable. Below the two-column breakpoint the map drops to shape
   and dots, keeping only the home base labelled, and the pill list above it
   carries every name. Nothing is lost: the pills were always the real
   information, the map was always the picture. */
@media (max-width: 899px) {
  .ds-coverage-map__label { display: none; }

  .ds-coverage-map__label--hub {
    display: block;
    /* 42 units over ~335px of a 950-unit viewBox lands just over 14px. */
    font-size: 42px;
    stroke-width: 7px;
  }

  .ds-coverage-map__svg { max-height: 340px; }
}

/* --- components/coverage-radial/coverage-radial.css --- */
/* Coverage Radial — bespoke service-area "reach" device. */

/* Radar pulse — coverage rings expand outward from the hub so the device reads
   as live. Hidden at rest; only pulses when motion is allowed. */
.ds-coverage__ping{ opacity: 0; }
@media (prefers-reduced-motion: no-preference){
  .ds-coverage__pings .ds-coverage__ping{
    transform-box: view-box; transform-origin: 250px 250px;
    animation: ds-coverage-ping 3.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }
  .ds-coverage__pings .ds-coverage__ping:nth-child(2){ animation-delay: 1.13s; }
  .ds-coverage__pings .ds-coverage__ping:nth-child(3){ animation-delay: 2.26s; }
  @keyframes ds-coverage-ping{
    0%   { transform: scale(0.28); opacity: 0.5; }
    70%  { opacity: 0.1; }
    100% { transform: scale(1); opacity: 0; }
  }
}

.ds-coverage{
  padding: var(--ds-section-pad, clamp(4rem, 7vw, 6.5rem)) 0;
  background: var(--ds-primary); color: var(--ds-primary-ink, var(--ds-white)); overflow: hidden; position: relative;
}
.ds-coverage__container{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
/* The section carries .ds-on-dark (hardcoded in the PHP), whose eyebrow/mark
   rules assume a dark band. On a light primary that assumption fails, so these
   two out-specificity the context with the primary-band chain: derived
   accent-on-primary first, then the on-dark value old token sets used.
   The --ds-mark-on-primary-* wraps are the filled-device mark register (see
   hero.css): emitted by the token build only when accent-as-text would be
   indistinguishable from the band ink; absent tokens make them no-ops. */
.ds-coverage .ds-coverage__eyebrow{
  color: var(--ds-mark-on-primary-ink, var(--ds-accent-on-primary, var(--ds-accent-on-dark, var(--ds-accent))));
  background: var(--ds-mark-on-primary-fill, transparent);
  padding: var(--ds-eyebrow-on-primary-pad, 0);
  border-radius: var(--ds-radius-full);
  width: fit-content;
}
.ds-coverage__heading{
  font-family: var(--ds-heading); font-weight: var(--ds-fw-extrabold, 800);
  color: var(--ds-primary-ink, var(--ds-white)); font-size: clamp(2rem, 3.4vw, 2.625rem); line-height: 1.05;
  letter-spacing: -.025em; margin: .8rem 0 0;
}
.ds-coverage__heading .ds-mark{
  color: var(--ds-mark-on-primary-ink, var(--ds-accent-on-primary, var(--ds-accent-on-dark, var(--ds-accent))));
  background: var(--ds-mark-on-primary-fill, transparent);
  padding: var(--ds-mark-on-primary-pad, 0);
  border-radius: var(--ds-radius-sm);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-style: italic;
}
.ds-coverage__body{ color: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 70%, transparent); margin: .9rem 0 0; font-size: 1.05rem; max-width: 46ch; }
.ds-coverage__pills{ display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; max-width: 46ch; }
.ds-coverage__pill{
  font-family: var(--ds-heading); font-weight: 600; font-size: var(--ds-fs-base);
  color: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 88%, transparent);
  background: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 14%, transparent);
  border-radius: 100px; padding: .5rem 1rem; text-decoration: none;
  transition: background-color var(--ds-transition-fast), border-color var(--ds-transition-fast), color var(--ds-transition-fast);
}
/* Linked pills (a.ds-coverage__pill) get a clear hover/focus affordance. */
a.ds-coverage__pill:hover,
a.ds-coverage__pill:focus-visible{
  background: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 14%, transparent);
  border-color: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 32%, transparent);
  color: var(--ds-primary-ink, var(--ds-white));
}
.ds-coverage__pill--hub{ background: var(--ds-accent); color: var(--ds-accent-ink, var(--ds-brand-primary-900, var(--ds-primary))); border-color: var(--ds-accent); }
a.ds-coverage__pill--hub:hover,
a.ds-coverage__pill--hub:focus-visible{ background: var(--ds-accent-hover, var(--ds-accent)); border-color: var(--ds-accent-hover, var(--ds-accent)); color: var(--ds-accent-ink, var(--ds-brand-primary-900, var(--ds-primary))); }
.ds-coverage__radial{ position: relative; width: 100%; max-width: 480px; margin-inline: auto; }
.ds-coverage__radial svg{ width: 100%; height: auto; display: block; overflow: visible; }
/* SVG labels: fills moved out of the markup so they key off the band ink.
   Towns sat at #cbd5e0 (≈ white at 80% over a navy band); ink-at-80% keeps
   that weight on dark brands and goes dark on light primaries. */
.ds-coverage__town{ fill: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 80%, transparent); }
.ds-coverage__hub-label{ fill: var(--ds-primary-ink, var(--ds-white)); }

@media (max-width: 860px){
  .ds-coverage__container{ grid-template-columns: 1fr; }
  .ds-coverage__radial{ max-width: 380px; margin-top: .5rem; }
}

/* --- components/cta-banner/cta-banner.css --- */
/* ===========================================
   components/cta-banner/cta-banner.css
   =========================================== */

.ds-cta-banner {
  padding-block: var(--ds-section-pad);
}

/* ─── Bg colour variants (fullwidth + simple) ────────────────────────── */

.ds-cta-banner--bg-primary       { background-color: var(--ds-primary); }
.ds-cta-banner--bg-primary-dark  { background-color: var(--ds-primary-dark); }
.ds-cta-banner--bg-accent        { background-color: var(--ds-accent); }
.ds-cta-banner--bg-dark          { background-color: var(--ds-dark); }
.ds-cta-banner--bg-tint          { background-color: var(--ds-primary-light); }

.ds-cta-banner--fullwidth .ds-cta-banner__heading,
.ds-cta-banner--simple    .ds-cta-banner__heading,
.ds-cta-banner--fullwidth .ds-cta-banner__body,
.ds-cta-banner--simple    .ds-cta-banner__body {
  color: var(--ds-white);
}

.ds-cta-banner--fullwidth .ds-cta-banner__eyebrow,
.ds-cta-banner--simple    .ds-cta-banner__eyebrow {
  color: var(--ds-white);
  opacity: 0.8;
}

/* bg-primary/bg-accent take brand-safe ink instead of assuming a dark fill:
   --ds-*-ink resolves to white on dark fills and a dark ink on light ones
   (MiM's cyan shipped white-on-primary at ~2:1). bg-primary-dark and bg-dark
   are dark by contract, so they keep the plain white above. */
.ds-cta-banner--bg-primary .ds-cta-banner__heading,
.ds-cta-banner--bg-primary .ds-cta-banner__body {
  color: var(--ds-primary-ink, var(--ds-white));
}
.ds-cta-banner--bg-primary .ds-cta-banner__eyebrow {
  color: var(--ds-primary-ink, var(--ds-white));
  opacity: 0.8;
}
.ds-cta-banner--bg-accent .ds-cta-banner__heading,
.ds-cta-banner--bg-accent .ds-cta-banner__body {
  color: var(--ds-accent-ink, var(--ds-white));
}
.ds-cta-banner--bg-accent .ds-cta-banner__eyebrow {
  color: var(--ds-accent-ink, var(--ds-white));
  opacity: 0.8;
}

/* White ghost buttons on dark banners. An 'outline'/'ghost' button uses the
   primary (dark) edge, which vanishes on a dark ground — mirror the on-dark
   remap so the secondary CTA reads as a white ghost. */
.ds-cta-banner--bg-primary-dark .ds-btn--outline,
.ds-cta-banner--bg-dark         .ds-btn--outline,
.ds-cta-banner--card-bg         .ds-btn--outline,
.ds-cta-banner--bg-primary-dark .ds-btn--ghost,
.ds-cta-banner--bg-dark         .ds-btn--ghost,
.ds-cta-banner--card-bg         .ds-btn--ghost {
  color: var(--ds-white);
  border-color: color-mix(in srgb, var(--ds-white) 45%, transparent);
  background-color: transparent;
}
.ds-cta-banner--bg-primary-dark .ds-btn--outline:hover,
.ds-cta-banner--bg-dark         .ds-btn--outline:hover,
.ds-cta-banner--card-bg         .ds-btn--outline:hover,
.ds-cta-banner--bg-primary-dark .ds-btn--outline:focus-visible,
.ds-cta-banner--bg-dark         .ds-btn--outline:focus-visible,
.ds-cta-banner--card-bg         .ds-btn--outline:focus-visible,
.ds-cta-banner--bg-primary-dark .ds-btn--ghost:hover,
.ds-cta-banner--bg-dark         .ds-btn--ghost:hover,
.ds-cta-banner--card-bg         .ds-btn--ghost:hover {
  background-color: color-mix(in srgb, var(--ds-white) 12%, transparent);
  border-color: var(--ds-white);
  color: var(--ds-white);
}
/* bg-primary ghosts key off --ds-primary-ink: still a white ghost on dark
   brands, an ink ghost on light ones. */
.ds-cta-banner--bg-primary .ds-btn--outline,
.ds-cta-banner--bg-primary .ds-btn--ghost {
  color: var(--ds-primary-ink, var(--ds-white));
  border-color: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 45%, transparent);
  background-color: transparent;
}
.ds-cta-banner--bg-primary .ds-btn--outline:hover,
.ds-cta-banner--bg-primary .ds-btn--outline:focus-visible,
.ds-cta-banner--bg-primary .ds-btn--ghost:hover {
  background-color: color-mix(in srgb, var(--ds-primary-ink, var(--ds-white)) 12%, transparent);
  border-color: var(--ds-primary-ink, var(--ds-white));
  color: var(--ds-primary-ink, var(--ds-white));
}

/* Tint bg flips the text back to dark-on-light. */
.ds-cta-banner--bg-tint .ds-cta-banner__heading,
.ds-cta-banner--bg-tint .ds-cta-banner__body {
  color: var(--ds-dark);
}

.ds-cta-banner--bg-tint .ds-cta-banner__body {
  color: var(--ds-body);
}

.ds-cta-banner--bg-tint .ds-cta-banner__eyebrow {
  color: var(--ds-primary);
  opacity: 1;
}

/* ─── Content shape ──────────────────────────────────────────────────── */

.ds-cta-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-space-xl);
  text-align: center;
}

.ds-cta-banner__copy {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
}

/* Reading measure lives on the text nodes only (not stacked on __copy too).
   Scoped to the centred variants so the side-by-side card variants take their
   width from the grid column instead. */
.ds-cta-banner__heading { max-width: 22ch; margin-inline: auto; }
.ds-cta-banner--fullwidth .ds-cta-banner__body,
.ds-cta-banner--simple    .ds-cta-banner__body { max-width: 60ch; margin-inline: auto; }

.ds-cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
  justify-content: center;
}

/* ─── Simple variant — tighter, single CTA ───────────────────────────── */

.ds-cta-banner--simple {
  padding-block: var(--ds-space-2xl);
}

.ds-cta-banner--simple .ds-cta-banner__content {
  gap: var(--ds-space-lg);
}

/* ─── Inline variant — compact tinted band for mid-article placement ─── */

.ds-cta-banner--inline {
  padding-block: var(--ds-space-lg);
}

.ds-cta-banner--inline .ds-cta-banner__content {
  flex-direction: column;
  gap: var(--ds-space-md);
  padding: var(--ds-space-xl);
  background-color: var(--ds-primary-light);
  border-radius: var(--ds-radius-lg);
}

.ds-cta-banner--inline .ds-cta-banner__heading {
  font-size: var(--ds-h4);
  max-width: none;
}

.ds-cta-banner--inline .ds-cta-banner__copy {
  gap: var(--ds-space-sm);
}

@media (min-width: 700px) {
  .ds-cta-banner--inline .ds-cta-banner__content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .ds-cta-banner--inline .ds-cta-banner__copy {
    max-width: 60ch;
    align-items: flex-start;
  }

  .ds-cta-banner--inline .ds-cta-banner__heading,
  .ds-cta-banner--inline .ds-cta-banner__body {
    margin-inline: 0;
  }

  .ds-cta-banner--inline .ds-cta-banner__buttons {
    flex-shrink: 0;
  }
}

/* ─── Card variants (card-bg + card-image) ───────────────────────────── */

.ds-cta-banner--card-bg .ds-cta-banner__card,
.ds-cta-banner--card-image .ds-cta-banner__card {
  position: relative;
  border-radius: var(--ds-radius-image);
  overflow: hidden;
  box-shadow: var(--ds-shadow-xl);
}

/* card-bg: full-bleed background image with overlay */

.ds-cta-banner--card-bg .ds-cta-banner__card {
  background-color: var(--ds-primary-dark);
  min-height: 360px;
  display: flex;
}

.ds-cta-banner__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ds-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--ds-primary-dark);
  opacity: 0.65;
  z-index: 1;
}

.ds-cta-banner--card-bg .ds-cta-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--ds-space-2xl);
  align-items: center;
}

.ds-cta-banner--card-bg .ds-cta-banner__heading,
.ds-cta-banner--card-bg .ds-cta-banner__body {
  color: var(--ds-white);
}

.ds-cta-banner--card-bg .ds-cta-banner__eyebrow {
  color: var(--ds-white);
  opacity: 0.8;
}

/* card-image: side-by-side, content left, image right */

.ds-cta-banner--card-image .ds-cta-banner__card {
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
}

.ds-cta-banner--card-image .ds-cta-banner__content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  text-align: left;
  padding: 0;
  gap: 0;
}

.ds-cta-banner--card-image .ds-cta-banner__copy {
  /* Generous padding so the text panel doesn't feel squashed. Measure comes
     from the grid column, not a stacked max-width. */
  padding: clamp(var(--ds-space-xl), 4vw, var(--ds-space-3xl));
  align-items: flex-start;
  justify-content: center;
}

.ds-cta-banner--card-image .ds-cta-banner__heading,
.ds-cta-banner--card-image .ds-cta-banner__body {
  margin-inline: 0;
  max-width: none;
}
/* Fluid heading so it fits the copy column at every desktop width instead of
   wrapping (the column is ~2/3 of the card, not the removed max-width). */
.ds-cta-banner--card-image .ds-cta-banner__heading {
  font-size: clamp(1.6rem, 2.7vw, 2.6rem);
}

.ds-cta-banner--card-image .ds-cta-banner__buttons {
  justify-content: flex-start;
}

/* Image cell: a portrait crop that covers the full height of the card. The
   img is absolutely placed so the copy panel drives card height and the photo
   fills whatever height that is (never letterboxed). */
.ds-cta-banner--card-image .ds-cta-banner__image {
  position: relative;
  aspect-ratio: 16 / 10;
}

.ds-cta-banner--card-image .ds-cta-banner__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 960px) {
  .ds-cta-banner--card-image .ds-cta-banner__content {
    grid-template-columns: 2fr 1fr;
    min-height: 360px;
  }
  .ds-cta-banner--card-image .ds-cta-banner__image {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* --- components/data-table/data-table.css --- */
/* Data Table — pricing tiers, room-by-room matrices, comparisons. */

.ds-data-table__inner { padding: var(--ds-section-pad, 3rem) 1.25rem; }

.ds-data-table__caption {
  text-align: center;
  margin: 0 0 .5rem;
}
.ds-data-table__intro {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 1.5rem;
  color: var(--ds-neutral-ink, #1f2d3a);
  font-family: var(--ds-body-font, sans-serif);
  line-height: 1.6;
}

.ds-data-table__scroll { overflow-x: auto; }

.ds-data-table__table {
  width: 100%;
  /* separate + border-spacing:0 keeps the row dividers but lets border-radius +
     overflow:hidden clip the corners cleanly — border-collapse:collapse left a
     1px edge artifact on the right of a rounded table. */
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--ds-body-font, sans-serif);
  /* Table cells are body copy, not microcopy: 16px floor (HARD RULE). Was
     .9375rem/15px, which shipped under the floor on every site that vendors
     this component. Do not lower. */
  font-size: 1rem;
  background: #fff;
  border-radius: var(--ds-radius-lg, 12px);
  overflow: hidden;
}

.ds-data-table__table th,
.ds-data-table__table td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ds-brand-accent-100, #dee6ed);
}

/* At phone widths the 16px cell floor pushes narrow tables past the scroll
   wrapper by a few pixels — a table that looks whole but is clipped. Tighten
   the side padding (never the type) so 3-column tables fit again; wider
   tables still scroll inside .ds-data-table__scroll. */
@media (max-width: 480px) {
  .ds-data-table__table th,
  .ds-data-table__table td { padding: .75rem .625rem; }
}

.ds-data-table__table thead th {
  background: var(--ds-secondary);
  color: var(--ds-secondary-ink, var(--ds-white));
  font-weight: 700;
  border-bottom: none;
}

.ds-data-table__table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--ds-secondary);
}

.ds-data-table__num { text-align: right; }
.ds-data-table__table thead th.ds-data-table__num { text-align: right; }

.ds-data-table__table tbody tr:nth-child(even) { background: var(--ds-brand-primary-50, #ebfbff); }
.ds-data-table__table tbody tr:last-child th,
.ds-data-table__table tbody tr:last-child td { border-bottom: none; }

.ds-data-table__yes { color: var(--ds-primary); display: inline-flex; }
.ds-data-table__yes svg { width: 20px; height: 20px; }
/* Role tokens, never brand-ramp slots, for text: a ramp slot is whatever hue the
   client's brand supplies (JC's accent ramp is gold, so accent-300/500 rendered
   the dash and footnote at ~1.5:1). --ds-muted is the contract's metadata-text
   role and is remapped on dark bands by _base/contexts.css. */
.ds-data-table__no { color: var(--ds-muted, #5b6470); }

.ds-data-table--matrix .ds-data-table__num { text-align: center; }
.ds-data-table--matrix .ds-data-table__table thead th.ds-data-table__num { text-align: center; }

/* Comparison columns are text, not numbers — left-align them (header + cells). */
.ds-data-table--comparison .ds-data-table__num,
.ds-data-table--comparison .ds-data-table__table thead th.ds-data-table__num { text-align: left; }

.ds-data-table__footnote {
  margin: .85rem 0 0;
  font-size: .875rem;
  color: var(--ds-muted, #5b6470);
  text-align: center;
}

/* --- components/emergency-triage/emergency-triage.css --- */
/* emergency-triage.css

   Progressive enhancement is the whole layout contract here: with no JS every
   step and every outcome is visible, so the section reads as a plain reference.
   All the hiding lives behind `.is-enhanced`, which only JS adds.
*/

/* The step machine hides things with the `hidden` attribute, but an explicit
   `display` on a rule below beats the UA `[hidden] { display: none }`. Without
   this guard the outcomes container stays on screen and every tier shows at
   once. Keep it first. */
.ds-emergency-triage [hidden] { display: none !important; }

.ds-emergency-triage {
  padding-block: var(--ds-section-pad);
  background: var(--ds-bg);
  color: var(--ds-body);
}

.ds-emergency-triage__head {
  max-width: 62ch;
  margin-bottom: var(--ds-space-lg);
}

.ds-emergency-triage__heading {
  margin: 0 0 var(--ds-space-sm);
  color: var(--ds-heading);
}

.ds-emergency-triage__sub {
  margin: 0;
  color: var(--ds-muted);
  line-height: var(--ds-lh-body);
}

/* The 000 line. Always rendered, never conditional, and deliberately loud. */
.ds-emergency-triage__000 {
  display: flex;
  gap: var(--ds-space-sm);
  align-items: flex-start;
  margin: 0 0 var(--ds-space-lg);
  padding: var(--ds-space-md);
  background: color-mix(in srgb, var(--ds-error) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-error) 45%, transparent);
  color: var(--ds-heading);
  font-weight: var(--ds-fw-semibold);
  line-height: var(--ds-lh-body);
}

.ds-emergency-triage__000-icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ds-error);
}

.ds-emergency-triage__000-icon svg { width: 100%; height: 100%; display: block; }

/* ── questions ─────────────────────────────────────────────────────────── */

.ds-emergency-triage__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--ds-space-md);
}

.ds-emergency-triage__fieldset {
  margin: 0;
  padding: var(--ds-space-lg);
  border: 1px solid var(--ds-border);
  background: var(--ds-bg-elevated);
}

.ds-emergency-triage__legend {
  padding: 0;
  font-family: var(--ds-heading-display, inherit);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-semibold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-heading);
}

.ds-emergency-triage__step-num {
  margin-right: var(--ds-space-xs);
  color: var(--ds-accent);
  font-variant-numeric: tabular-nums;
}

.ds-emergency-triage__help {
  margin: var(--ds-space-xs) 0 0;
  color: var(--ds-muted);
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
}

.ds-emergency-triage__choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm);
  margin-top: var(--ds-space-md);
}

.ds-emergency-triage__choices--stack { flex-direction: column; }

.ds-emergency-triage__choice {
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  min-height: var(--ds-tap-target);
  padding: var(--ds-space-sm) var(--ds-space-md);
  border: 1px solid var(--ds-border);
  background: var(--ds-bg);
  cursor: pointer;
  line-height: var(--ds-lh-body);
  transition: border-color var(--ds-duration-fast) var(--ds-ease),
              background-color var(--ds-duration-fast) var(--ds-ease);
}

.ds-emergency-triage__choice:hover { border-color: var(--ds-accent); }

.ds-emergency-triage__choice:has(input:checked) {
  border-color: var(--ds-accent);
  background: color-mix(in srgb, var(--ds-accent) 12%, transparent);
}

.ds-emergency-triage__choice:has(input:focus-visible) {
  outline: 2px solid var(--ds-accent);
  outline-offset: 2px;
}

.ds-emergency-triage__choice input { accent-color: var(--ds-accent); }

/* ── outcomes ──────────────────────────────────────────────────────────── */

.ds-emergency-triage__outcomes {
  display: grid;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-lg);
}

.ds-emergency-triage__outcome {
  padding: var(--ds-space-lg);
  border: 1px solid var(--ds-border);
  background: var(--ds-bg-elevated);
}

.ds-emergency-triage__outcome:focus { outline: none; }
.ds-emergency-triage__outcome:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: 3px;
}

/* Tier colour lives on a top-edge-free left-free block: the accent is carried
   by the heading and a filled tag, not a border, per the portfolio rule that
   left/top accent borders on cards read as an AI template tell. */
.ds-emergency-triage__outcome-heading {
  margin: 0 0 var(--ds-space-sm);
  display: inline-block;
  padding: var(--ds-space-xs) var(--ds-space-sm);
  color: var(--ds-white);
}

.ds-emergency-triage__outcome--red   .ds-emergency-triage__outcome-heading { background: var(--ds-error); }
.ds-emergency-triage__outcome--amber .ds-emergency-triage__outcome-heading { background: var(--ds-warning); color: var(--ds-heading); }
.ds-emergency-triage__outcome--green .ds-emergency-triage__outcome-heading { background: var(--ds-success); }

.ds-emergency-triage__outcome-body {
  margin: 0 0 var(--ds-space-md);
  line-height: var(--ds-lh-body);
}

.ds-emergency-triage__do {
  margin: 0 0 var(--ds-space-lg);
  padding-left: 1.15rem;
  display: grid;
  gap: var(--ds-space-xs);
  line-height: var(--ds-lh-body);
}

.ds-emergency-triage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm);
}

.ds-emergency-triage__restart { margin-top: var(--ds-space-md); }

.ds-emergency-triage__restart-btn {
  min-height: var(--ds-tap-target);
  padding: 0;
  border: 0;
  background: none;
  color: var(--ds-muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.ds-emergency-triage__restart-btn:hover { color: var(--ds-heading); }

.ds-emergency-triage__disclaimer {
  margin: var(--ds-space-lg) 0 0;
  max-width: 68ch;
  color: var(--ds-muted);
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
}

/* ── enhanced mode ─────────────────────────────────────────────────────── */

/* Without JS nothing below applies, so every question and every outcome stays
   visible and the component still answers the question it asks. */
.ds-emergency-triage.is-enhanced .ds-emergency-triage__steps { gap: 0; }

.ds-emergency-triage.is-enhanced .ds-emergency-triage__outcomes {
  grid-template-columns: 1fr;
}

/* ── panel variant ─────────────────────────────────────────────────────── */

.ds-emergency-triage--panel .ds-emergency-triage__body {
  padding: var(--ds-space-xl);
  background: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
}

.ds-emergency-triage--panel .ds-emergency-triage__fieldset {
  border: 0;
  padding: 0;
  background: none;
}

@media (max-width: 600px) {
  .ds-emergency-triage__fieldset { padding: var(--ds-space-md); }
  .ds-emergency-triage--panel .ds-emergency-triage__body { padding: var(--ds-space-md); }
  .ds-emergency-triage__actions .ds-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ds-emergency-triage__choice { transition: none; }
}

/* --- components/faq-section/faq-section.css --- */
/* ===========================================
   components/faq-section/faq-section.css
   =========================================== */

.ds-faq-section {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-faq-section--dark {
  background-color: var(--ds-primary-dark);
}

.ds-faq-section--dark .ds-faq-section__heading,
.ds-faq-section--dark .ds-faq-section__q-text {
  color: var(--ds-white);
}

.ds-faq-section--dark .ds-faq-section__desc,
.ds-faq-section--dark .ds-faq-section__intro-prose,
.ds-faq-section--dark .ds-faq-section__answer-inner {
  color: var(--ds-white);
  opacity: 0.85;
}

.ds-faq-section--dark .ds-faq-section__item {
  background-color: var(--ds-white-10);
  border-color: var(--ds-white-15);
}

/* ─── Layout ─────────────────────────────────────────────────────────── */

.ds-faq-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
}

@media (min-width: 960px) {
  .ds-faq-section--split .ds-faq-section__layout {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--ds-space-3xl);
    align-items: start;
  }
}

.ds-faq-section--stacked .ds-faq-section__layout {
  grid-template-columns: 1fr;
}

.ds-faq-section__intro {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  max-width: 50ch;
}

.ds-faq-section--stacked .ds-faq-section__intro,
.ds-faq-section--stacked .ds-faq-section__list {
  margin-inline: auto;
  max-width: 760px;
  width: 100%;
}

.ds-faq-section__heading { max-width: 22ch; }

/* ─── List ───────────────────────────────────────────────────────────── */

.ds-faq-section__list {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
}

.ds-faq-section__item {
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  overflow: hidden;
  transition: border-color var(--ds-transition-base),
              box-shadow var(--ds-transition-base);
}

.ds-faq-section__item:hover {
  border-color: var(--ds-primary-light);
}

.ds-faq-section__item.is-active {
  border-color: var(--ds-primary);
  box-shadow: var(--ds-shadow-sm);
}

/* ─── Question button ────────────────────────────────────────────────── */

.ds-faq-section__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
  width: 100%;
  padding: var(--ds-space-lg);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--ds-heading);
  font-size: var(--ds-h4);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-dark);
}

.ds-faq-section__question:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: -2px;
}

.ds-faq-section__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--ds-primary);
  flex-shrink: 0;
  transition: transform var(--ds-transition-base);
}

.ds-faq-section__chevron svg {
  width: 100%;
  height: 100%;
}

.ds-faq-section__item.is-active .ds-faq-section__chevron {
  transform: rotate(180deg);
}

/* ─── Answer ─────────────────────────────────────────────────────────── */
/* Closed panels carry the `hidden` attribute (set in PHP, toggled in JS) so
   they leave the a11y tree AND the tab order — no max-height ceiling, no
   per-frame reflow. A short fade softens the reveal without animating layout. */

.ds-faq-section__answer[hidden] {
  display: none;
}

.ds-faq-section__answer {
  animation: ds-faq-fade var(--ds-transition-fast);
}

@media (prefers-reduced-motion: reduce) {
  .ds-faq-section__answer { animation: none; }
}

@keyframes ds-faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ds-faq-section__answer-inner {
  padding: 0 var(--ds-space-lg) var(--ds-space-lg);
  font-size: var(--ds-fs-base);
  line-height: var(--ds-lh-body);
  color: var(--ds-body);
}

.ds-faq-section__answer-inner a {
  color: var(--ds-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ds-faq-section__answer-inner a:hover {
  color: var(--ds-primary-hover);
}

/* ─── heading_side: 'left' ───────────────────────────────────────────────
   The eyebrow/heading/intro get their own column beside the questions, and
   that column sticks while the list scrolls past it (the treatment on
   dossisdigital.com.au). Opt-in via the `heading_side` arg, so any site that
   does not pass it is untouched.

   NOTE for whoever debugs this later: position:sticky dies silently if ANY
   ancestor has overflow-x other than visible. If the column stops sticking,
   look up the tree for an overflow clip before you touch this rule. */

@media (min-width: 900px) {
  .ds-faq-section--heading-left .ds-faq-section__layout {
    grid-template-columns: minmax(260px, 0.85fr) 1.6fr;
    gap: var(--ds-space-2xl);
    align-items: start;
  }

  .ds-faq-section--heading-left .ds-faq-section__intro,
  .ds-faq-section--heading-left .ds-faq-section__list {
    margin-inline: 0;
    max-width: none;
  }

  .ds-faq-section--heading-left .ds-faq-section__intro {
    position: sticky;
    top: calc(var(--ds-header-height, 72px) + var(--ds-space-lg));
    max-width: 38ch;
  }

  .ds-faq-section--heading-left .ds-faq-section__heading {
    max-width: 16ch;
  }
}

.ds-faq-section__cta { margin: var(--ds-space-md) 0 0; }

/* --- components/footer/footer.css --- */
/* ===========================================
   components/footer/footer.css
   =========================================== */

.ds-footer {
  background-color: var(--ds-primary-dark);
  color: var(--ds-white);
}

/* ─── Trust strip ────────────────────────────────────────────────────── */

.ds-footer__trust-strip {
  background-color: var(--ds-dark);
  padding-block: var(--ds-space-lg);
  border-bottom: 1px solid var(--ds-white-15);
}

.ds-footer__trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-xl);
  align-items: center;
  justify-content: center;
}

.ds-footer__trust-item {
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-white);
  opacity: 0.9;
}

.ds-footer__trust-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--ds-accent);
  flex-shrink: 0;
}

.ds-footer__trust-icon svg { width: 100%; height: 100%; }

/* ─── Main grid ──────────────────────────────────────────────────────── */

.ds-footer__main {
  padding-block: var(--ds-space-2xl) var(--ds-space-xl);
}

.ds-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
}

@media (min-width: 600px) {
  .ds-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ds-footer--local-service .ds-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: var(--ds-space-xl);
  }
  .ds-footer--b2b .ds-footer__grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
    gap: var(--ds-space-xl);
  }
}

/* ─── Brand column ───────────────────────────────────────────────────── */

.ds-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  max-width: 36ch;
}

.ds-footer__logo img {
  height: 48px;
  width: auto;
}

/* No light logo variant supplied: render the primary logo as a white
   silhouette so it stays legible on the dark footer band. */
.ds-footer__logo--invert img {
  filter: brightness(0) invert(1);
}

.ds-footer__tagline {
  font-size: var(--ds-fs-base);
  line-height: var(--ds-lh-body);
  margin: 0;
  opacity: 0.85;
}

.ds-footer__contact {
  list-style: none;
  padding: 0;
  margin: var(--ds-space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
}

.ds-footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  font-size: var(--ds-fs-base);
}

.ds-footer__contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--ds-accent);
  flex-shrink: 0;
}

.ds-footer__contact-icon svg { width: 100%; height: 100%; }

.ds-footer__contact-text {
  color: var(--ds-white);
  text-decoration: none;
  opacity: 0.95;
  transition: opacity var(--ds-transition-fast);
  /* Long unbreakable tokens (a full email, a URL) must wrap instead of forcing
     the footer wider than the viewport and breaking the page width on mobile. */
  overflow-wrap: anywhere;
  min-width: 0;
}

a.ds-footer__contact-text:hover { opacity: 1; text-decoration: underline; }

.ds-footer__social {
  list-style: none;
  padding: 0;
  margin: var(--ds-space-md) 0 0;
  display: flex;
  gap: var(--ds-space-sm);
}

.ds-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 44px minimum touch target (WCAG 2.5.8). Was 36px. Ported from the C3 build
     2026-08-19; the icon stays 18px, only the hit area grows. */
  width: 44px;
  height: 44px;
  border-radius: var(--ds-radius-md);
  background-color: var(--ds-white-15);
  color: var(--ds-white);
  transition: background-color var(--ds-transition-fast);
}

.ds-footer__social-link:hover { background-color: var(--ds-accent); }

.ds-footer__social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* Social icons rendered inside a link column (e.g. under "Company"). */
.ds-footer__social--col { margin-top: var(--ds-space-md); }

/* ─── Link columns ───────────────────────────────────────────────────── */

.ds-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
}

.ds-footer__col-heading {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-md);
  font-weight: var(--ds-fw-bold);
  margin: 0 0 var(--ds-space-sm);
  color: var(--ds-white);
}

.ds-footer__sub-heading {
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-white);
  opacity: 0.75;
  margin: var(--ds-space-md) 0 var(--ds-space-xs);
}

.ds-footer__sub-heading:first-of-type { margin-top: 0; }

.ds-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-footer__links a {
  color: var(--ds-white);
  font-size: var(--ds-fs-base);
  opacity: 0.85;
  transition: opacity var(--ds-transition-fast);
}

.ds-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ─── Bottom bar ─────────────────────────────────────────────────────── */

.ds-footer__bottom {
  background-color: var(--ds-dark);
  padding-block: var(--ds-space-lg);
  border-top: 1px solid var(--ds-white-15);
}

.ds-footer__updated {
  font-size: var(--ds-fs-sm);
  color: var(--ds-white);
  opacity: 0.6;
  margin-bottom: var(--ds-space-sm);
}

.ds-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
  align-items: center;
  justify-content: space-between;
  font-size: var(--ds-fs-sm);
  color: var(--ds-white);
  opacity: 0.85;
}

.ds-footer__copyright,
.ds-footer__credit {
  flex: 1 1 auto;
}

.ds-footer__credit { text-align: right; }
.ds-footer__credit a { color: var(--ds-white); text-decoration: underline; }

.ds-footer__legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--ds-space-md);
}

.ds-footer__legal a { color: var(--ds-white); }
.ds-footer__legal a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 768px) {
  .ds-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .ds-footer__credit { text-align: center; }
}

/* --- components/header/header.css --- */
/* ===========================================
   components/header/header.css
   =========================================== */

.ds-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ds-bg-elevated);
  border-bottom: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-sm);
}

.ds-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
  height: var(--ds-header-height);
}

.ds-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ds-header__logo img {
  height: calc(var(--ds-header-height) - var(--ds-space-md));
  width: auto;
}

/* ─── Desktop nav ────────────────────────────────────────────────────── */

.ds-header__nav {
  display: none;
}

.ds-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--ds-space-md);
}

.ds-header__nav-item {
  position: relative;
}

/* Nav treatment tokens. Base = a soft "pill" (tinted bg on hover). Each look
   overrides these (or picks a ds-header--nav-* modifier below) so no two
   sites ship an identical nav. See looks/LOOKS.md + ARCHITECTURE.md §6.11. */
.ds-header {
  --ds-nav-radius:        var(--ds-radius-md);
  --ds-nav-hover-bg:      var(--ds-primary-light);
  --ds-nav-hover-color:   var(--ds-primary);
  --ds-nav-pad-y:         var(--ds-space-sm);
  --ds-nav-pad-x:         var(--ds-space-md);
}

.ds-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  padding: var(--ds-nav-pad-y) var(--ds-nav-pad-x);
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  text-decoration: none;
  border-radius: var(--ds-nav-radius);
  transition: background-color var(--ds-transition-fast),
              color var(--ds-transition-fast),
              box-shadow var(--ds-transition-fast);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ds-header__nav-link:hover,
.ds-header__nav-link:focus-visible {
  color: var(--ds-nav-hover-color);
  background-color: var(--ds-nav-hover-bg);
  text-decoration: none;
}

/* ─── Nav treatments (a look selects one via ds-header--nav-*) ──────────── */

/* fill: hover floods the link with primary, text inverts. Confident/blocky
   looks (bold-geometric, iron-utility). */
.ds-header--nav-fill { --ds-nav-hover-bg: var(--ds-primary); --ds-nav-hover-color: var(--ds-white); }

/* underline: no fill; an accent rule grows under the link on hover/current.
   Editorial/premium looks (serif-tactile, atelier). */
.ds-header--nav-underline .ds-header__nav-link { --ds-nav-hover-bg: transparent; border-radius: 0; }
.ds-header--nav-underline .ds-header__nav-link::after {
  content: "";
  position: absolute;
  left: var(--ds-nav-pad-x);
  right: var(--ds-nav-pad-x);
  bottom: calc(var(--ds-nav-pad-y) - 4px);
  height: 2px;
  background: var(--ds-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ds-transition-base);
}
.ds-header--nav-underline .ds-header__nav-item > .ds-header__nav-link:hover::after,
.ds-header--nav-underline .ds-header__nav-item > .ds-header__nav-link:focus-visible::after,
.ds-header--nav-underline .ds-header__nav-item.is-current > .ds-header__nav-link::after { transform: scaleX(1); }

/* bar: a thick accent bar sits under the link on hover (signage/heritage). */
.ds-header--nav-bar .ds-header__nav-link { --ds-nav-hover-bg: transparent; border-radius: 0; box-shadow: inset 0 -3px 0 transparent; }
.ds-header--nav-bar .ds-header__nav-item > .ds-header__nav-link:hover,
.ds-header--nav-bar .ds-header__nav-item > .ds-header__nav-link:focus-visible { box-shadow: inset 0 -3px 0 var(--ds-accent); color: var(--ds-dark); }

/* boxed: a keyline box on hover (utility/spec-sheet looks). */
.ds-header--nav-boxed .ds-header__nav-link { --ds-nav-hover-bg: transparent; border: 1px solid transparent; }
.ds-header--nav-boxed .ds-header__nav-item > .ds-header__nav-link:hover,
.ds-header--nav-boxed .ds-header__nav-item > .ds-header__nav-link:focus-visible { border-color: var(--ds-border); color: var(--ds-primary); }

/* Disclosure toggle button (sits next to a parent link) */
.ds-header__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ds-tap-target, 44px);
  height: var(--ds-tap-target, 44px);
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ds-dark);
}

.ds-header__dropdown-toggle:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: -2px;
  border-radius: var(--ds-radius-sm);
}

.ds-header__caret {
  display: inline-flex;
  align-items: center;
  /* Never flex-squash the glyph: when the rail runs tight (e.g. 1024 with a
     wide nav) the caret was compressed to 10px (comb 3.16, 2026-08-24). The
     label wraps instead. */
  flex: none;
  transition: transform var(--ds-transition-fast);
}

.ds-header__caret svg {
  width: var(--ds-icon-sm, 16px);
  height: var(--ds-icon-sm, 16px);
}

.ds-header__nav-item--has-children:hover .ds-header__caret,
.ds-header__nav-item--has-children.is-open .ds-header__caret {
  transform: rotate(180deg);
}

/* Dropdown wrapper (positioned; the id target for aria-controls) */
.ds-header__dropdown-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: var(--ds-dropdown-width, 240px);
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-md);
  padding: var(--ds-space-sm);
  display: none;
  z-index: 110;
}

.ds-header__dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Open on hover (desktop enhancement) OR via disclosure .is-open (keyboard/touch). */
.ds-header__nav-item--has-children:hover > .ds-header__dropdown-wrap,
.ds-header__nav-item--has-children.is-open > .ds-header__dropdown-wrap {
  display: block;
}

.ds-header__nav-item--wide > .ds-header__dropdown-wrap {
  min-width: var(--ds-dropdown-wide-width, 480px);
}

.ds-header__nav-item--wide > .ds-header__dropdown-wrap .ds-header__dropdown {
  columns: 2;
  column-gap: var(--ds-space-md);
}

/* Dropdown items are always full-width so the hover state fills the whole row,
   not just the text (ARCHITECTURE.md §6.11). They ignore the top-level nav
   treatment (no underline/bar) and use a simple full-row tint. */
.ds-header__dropdown .ds-header__nav-link {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  border-radius: var(--ds-radius-sm);
  box-shadow: none;
}
.ds-header__dropdown .ds-header__nav-link::after { display: none; }
.ds-header__dropdown .ds-header__nav-link:hover,
.ds-header__dropdown .ds-header__nav-link:focus-visible {
  background-color: var(--ds-primary-light);
  color: var(--ds-primary);
  box-shadow: none;
}

.ds-header__nav-heading {
  display: block;
  padding: var(--ds-space-sm) var(--ds-space-md);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-bold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-body-light);
}

/* ─── CTAs ───────────────────────────────────────────────────────────── */

.ds-header__ctas {
  display: none;
  gap: var(--ds-space-sm);
  align-items: center;
}

.ds-header__cta-icon {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
}

.ds-header__cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
}

/* Outline glyphs (e.g. an outline phone: fill="none" stroke="currentColor") must
   render as an outline, not a solid blob. The svg rule above forces a solid fill
   that overrides the inline fill="none"; this higher-specificity rule lets the
   icon's own fill attribute win. Fixes the header CTA phone icon across all
   builds. */
.ds-header__cta-icon svg[fill="none"] {
  fill: none;
}

/* ─── Mobile toggle ──────────────────────────────────────────────────── */

.ds-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ds-dark);
}

.ds-header__menu-icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: inline-block;
}

.ds-header__menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--ds-transition-base),
              opacity var(--ds-transition-base);
}

.ds-header__menu-icon span:nth-child(1) { top: 0; }
.ds-header__menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.ds-header__menu-icon span:nth-child(3) { bottom: 0; }

.ds-header.is-mobile-open .ds-header__menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.ds-header.is-mobile-open .ds-header__menu-icon span:nth-child(2) {
  opacity: 0;
}
.ds-header.is-mobile-open .ds-header__menu-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── Mobile menu ────────────────────────────────────────────────────── */

.ds-header__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--ds-bg-elevated);
  border-bottom: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-md);
  padding: var(--ds-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
  max-height: calc(100vh - var(--ds-header-height));
  overflow-y: auto;
}

.ds-header__mobile[hidden] { display: none; }

.ds-header__mobile-nav .ds-header__nav-list {
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-header__mobile-nav .ds-header__nav-item--has-children {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.ds-header__mobile-nav .ds-header__nav-link {
  width: 100%;
  padding: var(--ds-space-md);
  text-align: left;
}

.ds-header__mobile-nav .ds-header__dropdown-toggle {
  justify-self: end;
}

/* Mobile: dropdown wrapper is static + full width, hidden until .is-open. */
.ds-header__mobile-nav .ds-header__dropdown-wrap {
  position: static;
  grid-column: 1 / -1;
  min-width: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0 0 0 var(--ds-space-md);
  display: none;
}

.ds-header__mobile-nav .ds-header__dropdown-wrap .ds-header__dropdown {
  columns: 1;
}

.ds-header__mobile-nav .ds-header__nav-item--has-children.is-open > .ds-header__dropdown-wrap {
  display: block;
}

/* Mobile menu never opens dropdowns on hover (touch). */
.ds-header__mobile-nav .ds-header__nav-item--has-children:hover > .ds-header__dropdown-wrap {
  display: none;
}

.ds-header__mobile-nav .ds-header__nav-item--has-children.is-open > .ds-header__dropdown-wrap {
  display: block;
}

.ds-header__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
}

/* ─── Sticky mobile CTA bar ──────────────────────────────────────────── */

.ds-header__sticky-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background-color: var(--ds-bg-elevated);
  border-top: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-up-md, var(--ds-shadow-md));
  z-index: 90;
  /* Never let a long button label (e.g. the phone number) push the bar past
     the viewport and break the page width on narrow mobile. */
  overflow: hidden;
}

.ds-header__sticky-mobile .ds-btn {
  border-radius: 0;
  padding-block: var(--ds-space-md);
  /* Grid tracks may shrink below the label's intrinsic width (default
     min-width:auto would grow the track and overflow the bar). */
  min-width: 0;
}

/* An icon button in a 180px half of a 360px bar: with the base 32px side
   padding and min-width:0 above, a landline number label left the icon
   squashed to 1px (Maid in Melbourne rehearsal, 2026-09-29; pixel-qa 3.16).
   The icon never shrinks, and an icon button trades side padding for room.
   2.5.8: flex-shrink alone was not enough. The reset gives every svg
   max-width:100%, so its min-content is 0, and the icon's only size came from
   `.ds-btn svg`; a site that forks or overrides either rule got the icon back
   at 0-1px (B.E live, Blue Bourke before 2.4.1, the soft-block-modern look
   patched it three times). The wrapper and the svg now carry their own floor.
   2.5.9: the floor is a fixed 16px, below every icon the sites draw (17.6-24px
   measured), so it only acts when the icon collapses. 2.5.8's 1.1em floor
   outgrew a site's own size (The Boring Guy: 20px icon on 20px text -> 22px). */
.ds-header__sticky-mobile .ds-btn > span[aria-hidden] {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.ds-header__sticky-mobile .ds-btn > span[aria-hidden] > svg {
  flex: none;
  min-width: 16px;
  min-height: 16px;
  max-width: none;
}
.ds-header__sticky-mobile .ds-btn:has(> span[aria-hidden]) {
  padding-inline: var(--ds-space-sm, 0.75rem);
}

/* Reserve space so the fixed bar never covers page content (mobile only).
   Sites that DON'T render a sticky bar can ignore — this only applies when
   the bar is present (the wrapper is only output then). */
@media (max-width: 1023px) {
  body:has(.ds-header__sticky-mobile) {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ─── Responsive ─────────────────────────────────────────────────────── */

/* Desktop switch at 1024 (was 960). At 960-1023 the full rail (logo + nav +
   CTAs) cannot fit on nav-heavy builds — Sutton's rail measures 1204px of
   nowrap min-content, so every page scrolled sideways at the 1024 viewport
   (comb 8.1, 2026-08-24). Below 1024 the burger + sticky bar take over. */
@media (min-width: 1024px) {
  .ds-header__nav { display: block; }
  .ds-header__ctas { display: inline-flex; }
  .ds-header__menu-toggle { display: none; }
  .ds-header__mobile { display: none !important; }
  .ds-header__sticky-mobile { display: none; }
}

/* Squeeze band: nav + BOTH CTAs still exceed the viewport up to ~1260px
   (Sutton: 1204px min-content), so one CTA steps out until 1260px. It is never
   the phone: this rule used to keep the FIRST button, assuming the number sat
   in a topbar above, and on a site with no topbar whose phone is the second
   button (JC Solar) the header lost its number at laptop width (2026-09-29).
   With a tel: button present, the non-phone buttons step out; without one,
   the first button stays, as before. */
@media (min-width: 1024px) and (max-width: 1259.98px) {
  .ds-header__ctas:has(.ds-btn[href^="tel:"]) .ds-btn:not([href^="tel:"]) { display: none; }
  .ds-header__ctas:not(:has(.ds-btn[href^="tel:"])) .ds-btn:not(:first-child) { display: none; }
}

/* Text wordmark fallback: rendered when no logo asset is configured. */
.ds-header__wordmark {
  font-family: var(--ds-heading, inherit);
  font-size: var(--ds-fs-xl, 1.375rem);
  font-weight: 800;
  color: var(--ds-neutral-ink, #111);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* --- components/hero/hero.css --- */
/* ===========================================
   components/hero/hero.css
   Every value resolves to a --ds-* token.
   No hex colors, no magic px values (except 1px borders).
   =========================================== */

/* ─── Wrapper + container ───────────────────────────────────────────────── */

.ds-hero {
  position: relative;
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-hero--home {
  background-color: var(--ds-bg);
}

.ds-hero--service,
.ds-hero--location {
  background-color: var(--ds-light);
}

.ds-hero--generic {
  padding-block: var(--ds-space-3xl) var(--ds-space-2xl);
}

.ds-hero--editorial,
.ds-hero--display {
  overflow: hidden; /* clips the watermark bleed */
}

/* ─── Grid (content + media/form) ───────────────────────────────────────── */

.ds-hero__grid {
  display: grid;
  gap: var(--ds-space-2xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .ds-hero--home .ds-hero__grid,
  .ds-hero--service .ds-hero__grid,
  .ds-hero--location .ds-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--ds-space-3xl);
  }
}

/* Generic variant is always single-column. */
.ds-hero--generic .ds-hero__grid {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

/* Editorial: asymmetric split, copy leads, feature panel trails offset. */
@media (min-width: 960px) {
  .ds-hero--editorial .ds-hero__grid {
    grid-template-columns: 1.25fr 0.9fr;
    gap: var(--ds-space-3xl);
    align-items: start;
  }

  .ds-hero--editorial .ds-hero__feature {
    margin-top: var(--ds-space-2xl); /* editorial offset, breaks the symmetric band */
  }
}

/* Display: single column, left-aligned, type carries the section. */
.ds-hero--display .ds-hero__grid {
  grid-template-columns: 1fr;
}

/* ─── Content column ────────────────────────────────────────────────────── */

.ds-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
}

.ds-hero--generic .ds-hero__content {
  align-items: center;
}

/* ─── Review pill ───────────────────────────────────────────────────────── */

.ds-hero__review-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-sm);
  padding: var(--ds-space-sm) var(--ds-space-md);
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-body);
  width: fit-content;
  box-shadow: var(--ds-shadow-md);
}

.ds-hero__review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ds-accent);
  line-height: 0;
}

.ds-hero__review-text {
  white-space: nowrap;
}

/* ─── Heading ───────────────────────────────────────────────────────────── */

.ds-hero__heading {
  /* .ds-h1 already applies font / size / colour. We tweak only hero-specific things. */
  max-width: 16ch;
}

.ds-hero--generic .ds-hero__heading {
  max-width: 22ch;
}

.ds-hero--service .ds-hero__heading,
.ds-hero--location .ds-hero__heading {
  max-width: 18ch;
}

/* Display heading: oversized, tighter leading. Brands can pin an exact size
   with --ds-h1-display in tokens; the clamp is the fluid default. */
.ds-hero--display .ds-hero__heading {
  font-size: var(--ds-h1-display, clamp(2.75rem, 6.5vw, 5.25rem));
  line-height: 1.05;
  letter-spacing: var(--ds-ls-tight);
  max-width: 14ch;
}

.ds-hero--editorial .ds-hero__heading {
  max-width: 15ch;
}

/* ─── Sub copy ──────────────────────────────────────────────────────────── */

.ds-hero__sub {
  max-width: 52ch;
}

.ds-hero--generic .ds-hero__sub {
  margin-inline: auto;
}

/* ─── CTAs ──────────────────────────────────────────────────────────────── */

.ds-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-sm);
}

.ds-hero--generic .ds-hero__ctas {
  justify-content: center;
}

/* On narrow screens, primary CTA goes full-width so taps are easy. */
@media (max-width: 480px) {
  .ds-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .ds-hero__ctas .ds-btn {
    width: 100%;
  }
}

/* ─── Trust items ───────────────────────────────────────────────────────── */

.ds-hero__trust {
  list-style: none;
  margin: var(--ds-space-md) 0 0;
  padding: 0;
  display: grid;
  gap: var(--ds-space-md);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ds-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-body);
}

.ds-hero__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--ds-accent);
  flex-shrink: 0;
}

.ds-hero__trust-icon svg {
  width: 100%;
  height: 100%;
}

/* ─── Media column (image) ─────────────────────────────────────────────── */

.ds-hero__media {
  position: relative;
}

.ds-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--ds-radius-image);
  box-shadow: var(--ds-shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Decorative frame variants: offset accent-coloured frame behind the image. */
.ds-hero--frame-tr .ds-hero__media::before,
.ds-hero--frame-bl .ds-hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--ds-radius-image);
  border: 2px solid var(--ds-accent);
  z-index: 0;
  pointer-events: none;
}

.ds-hero--frame-tr .ds-hero__media::before {
  transform: translate(var(--ds-space-md), calc(-1 * var(--ds-space-md)));
}

.ds-hero--frame-bl .ds-hero__media::before {
  transform: translate(calc(-1 * var(--ds-space-md)), var(--ds-space-md));
}

.ds-hero--frame-tr .ds-hero__img,
.ds-hero--frame-bl .ds-hero__img {
  position: relative;
  z-index: 1;
}

/* ─── Media column (form) ──────────────────────────────────────────────── */

.ds-hero__form-wrap {
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-2xl);
  box-shadow: var(--ds-shadow-lg);
}

@media (max-width: 600px) {
  .ds-hero__form-wrap {
    padding: var(--ds-space-lg);
  }
}

/* ─── Eyebrow tweak (hero-specific spacing only) ──────────────────────── */

.ds-hero__eyebrow {
  margin-bottom: calc(-1 * var(--ds-space-sm));   /* tighter to heading */
}

/* ─── Watermark (display / editorial) ──────────────────────────────────── */
/* Oversized brand mark bleeding off the top-right corner. Decorative only;
   sits under the content and never intercepts pointer events. */

.ds-hero__watermark {
  position: absolute;
  top: calc(-1 * var(--ds-space-3xl));
  right: calc(-1 * var(--ds-space-3xl));
  width: clamp(280px, 32vw, 520px);
  opacity: 0.07;
  color: var(--ds-primary);
  pointer-events: none;
  line-height: 0;
}

.ds-hero__watermark svg {
  width: 100%;
  height: auto;
}

/* ─── Feature panel (editorial) ────────────────────────────────────────── */

.ds-hero__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--ds-shadow-md);
  transition: transform var(--ds-transition-base) var(--ds-ease),
              box-shadow var(--ds-transition-base) var(--ds-ease);
}

.ds-hero__feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-lg);
}

.ds-hero__feature-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ds-light);
}

.ds-hero__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-hero__feature-body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  padding: var(--ds-space-lg);
}

.ds-hero__feature-title {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xl);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-heading);
  color: var(--ds-dark);
}

.ds-hero__feature:hover .ds-hero__feature-title {
  color: var(--ds-primary);
}

.ds-hero__feature-excerpt {
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
  color: var(--ds-body-light);
}

.ds-hero__feature-cue {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  margin-top: var(--ds-space-xs);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-primary);
}

.ds-hero__feature-cue svg {
  width: 1em;
  height: 1em;
  transition: transform var(--ds-transition-fast) var(--ds-ease);
}

.ds-hero__feature:hover .ds-hero__feature-cue svg {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .ds-hero__feature,
  .ds-hero__feature-cue svg {
    transition: none;
  }
}

/* ─── Spotlight variant ─────────────────────────────────────────────────── */
/* Full-bleed photo, dark scrim, asymmetric copy anchored bottom-left.
   Light type is baked in here (the background is a photo, not a solid token
   band) so legibility holds regardless of the brand palette. */

.ds-hero--spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 0;
  display: flex;
  align-items: flex-end;
  background-color: var(--ds-primary-dark);
}

.ds-hero--spotlight .ds-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

/* Full-bleed hero image as a real <img> (not a CSS background) so it's the
   LCP element and paints as soon as it downloads, without waiting for the
   full stylesheet to parse. */
/* The <picture> wrapper (mobile crop) must not create a box: .ds-hero__bg-img is
   positioned `absolute; inset: 0` against the section. */
.ds-hero__picture {
  display: contents;
}

.ds-hero--spotlight .ds-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Optional muted background loop (video_url), over the bg image (which stays
   its poster and the LCP element) and beneath the scrim. Spotlight family only. */
.ds-hero--spotlight .ds-hero__bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ds-hero--spotlight .ds-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg,
      color-mix(in srgb, var(--ds-primary-dark) 88%, transparent) 0%,
      color-mix(in srgb, var(--ds-primary-dark) 55%, transparent) 42%,
      transparent 78%),
    linear-gradient(to top,
      color-mix(in srgb, var(--ds-primary-dark) 80%, transparent) 0%,
      transparent 55%);
}

.ds-hero--spotlight .ds-hero__container {
  width: 100%;
}

.ds-hero--spotlight .ds-hero__grid {
  display: block;
  padding-block: clamp(var(--ds-space-2xl), 6vw, var(--ds-space-3xl));
}

/* Content fills the column: 100% on mobile, 75% on desktop. No inner
   per-element caps — heading + sub stretch to the content column width. */
.ds-hero--spotlight .ds-hero__content {
  max-width: 100%;
  gap: var(--ds-space-lg);
}

@media (min-width: 960px) {
  .ds-hero--spotlight .ds-hero__content { max-width: 75%; }
}

/* Oversized editorial heading. */
.ds-hero--spotlight .ds-hero__heading {
  font-size: clamp(2.75rem, 1.4rem + 5.2vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: var(--ds-ls-tight);
  color: var(--ds-white);
}

.ds-hero--spotlight .ds-hero__sub {
  color: color-mix(in srgb, var(--ds-white) 86%, transparent);
}

/* Eyebrow + marked word brighten to the lighter brand tone on the photo.
   NEVER --ds-primary here. The spotlight hero always sits on a darkened photo,
   so a navy-primary brand renders navy-on-navy and the eyebrow disappears:
   measured 1.14:1 on ElecSure (#072840 on #051D2E), 2026-08-28. This is the
   same regression contexts.css already guards for .ds-on-dark ("caught on the
   JC build") and it was reintroduced here for the spotlight variant, where
   THREE separate tournament agents each patched it locally instead of anyone
   fixing it at source. Use the on-dark accent, same as contexts.css. */
.ds-hero--spotlight .ds-hero__eyebrow,
.ds-hero--spotlight .ds-mark {
  color: var(--ds-accent-on-dark, var(--ds-accent));
}

/* Review pill reads as glass on the photo. */
.ds-hero--spotlight .ds-hero__review-pill {
  background-color: color-mix(in srgb, var(--ds-white) 12%, transparent);
  border-color: color-mix(in srgb, var(--ds-white) 28%, transparent);
  color: var(--ds-white);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

/* Trust chips: light, inline. */
.ds-hero--spotlight .ds-hero__trust {
  grid-template-columns: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md) var(--ds-space-lg);
}

.ds-hero--spotlight .ds-hero__trust-item {
  color: color-mix(in srgb, var(--ds-white) 90%, transparent);
}

.ds-hero--spotlight .ds-hero__trust-icon {
  color: var(--ds-primary);
}

/* Outline CTA needs a light edge on the photo. */
.ds-hero--spotlight .ds-btn--outline {
  color: var(--ds-white);
  border-color: color-mix(in srgb, var(--ds-white) 50%, transparent);
  background-color: transparent;
}

.ds-hero--spotlight .ds-btn--outline:hover,
.ds-hero--spotlight .ds-btn--outline:focus-visible {
  background-color: color-mix(in srgb, var(--ds-white) 12%, transparent);
  border-color: var(--ds-white);
  color: var(--ds-white);
}

/* ─── Breadcrumb (any header variant) ──────────────────────────────────── */

.ds-hero__crumb {
  margin-bottom: var(--ds-space-xs);
}

.ds-hero__crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--ds-fs-sm);
}

.ds-hero__crumb-item {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
}

.ds-hero__crumb-item a {
  color: var(--ds-body-light);
  text-decoration: none;
}

.ds-hero__crumb-item a:hover {
  color: var(--ds-primary);
}

.ds-hero__crumb-item [aria-current] {
  /* Tokenised so a look layer can make the current crumb legible on a dark
     hero. Previously this hard-declared --ds-body directly on the span, so an
     inherited colour from the parent could never win no matter the specificity,
     and dark-hero builds shipped a ~1.7:1 crumb. */
  color: var(--ds-crumb-current, var(--ds-body));
  font-weight: var(--ds-fw-semibold);
}

.ds-hero__crumb-sep {
  color: var(--ds-border);
}

/* ─── masthead (oversized type + full-width image band) ────────────────── */

.ds-hero--masthead {
  overflow: hidden;
}

.ds-hero--masthead .ds-hero__grid {
  grid-template-columns: 1fr;
}

.ds-hero--masthead .ds-hero__heading {
  font-size: var(--ds-h1-display, clamp(2.75rem, 6.5vw, 5.25rem));
  line-height: 1.02;
  letter-spacing: var(--ds-ls-tight);
  max-width: 16ch;
}

.ds-hero__band {
  margin-top: var(--ds-space-2xl);
  border-radius: var(--ds-radius-image);
  overflow: hidden;
  box-shadow: var(--ds-shadow-md);
}

.ds-hero__band-img {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 340px);
  object-fit: cover;
}

/* ─── spotlight-stats (spotlight + overlapping USP cards) ──────────────── */
/* Inherits every .ds-hero--spotlight rule (the PHP adds that base class);
   only the stat row is new. */

.ds-hero--spotlight-stats .ds-hero__container {
  padding-bottom: clamp(var(--ds-space-2xl), 6vw, var(--ds-space-3xl));
}

.ds-hero__stats {
  list-style: none;
  margin: var(--ds-space-2xl) 0 0;
  padding: 0;
  display: grid;
  gap: var(--ds-space-md);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.ds-hero__stat {
  background-color: var(--ds-bg-elevated);
  color: var(--ds-body);
  border-radius: var(--ds-radius-card);
  padding: var(--ds-space-lg);
  box-shadow: var(--ds-shadow-md);
}

.ds-hero__stat-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--ds-accent);
  margin-bottom: var(--ds-space-sm);
}

.ds-hero__stat-icon svg {
  width: 100%;
  height: 100%;
}

.ds-hero__stat-title {
  display: block;
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  color: var(--ds-dark);
}

.ds-hero__stat-sub {
  display: block;
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
  margin-top: 2px;
}

/* ─── spotlight-stats-fullbleed (Sutton, bold-geometric) ───────────────── */
/* APPROVED concept B (Luc pick B, 2026-07-28): full-bleed de-warmed fleet photo
   + left-weighted navy scrim + bottom-left headline + red baseline rule +
   4-stat bar + registration-bracket decoration (red CCTV-style viewfinder
   L-mark). Scoped to .ds-look-bold-geometric .ds-hero--registration so plain
   spotlight-stats on other looks/sites is untouched. Replaces the banned 50/50
   image-split home hero + the offset-square image frame. */
.ds-look-bold-geometric .ds-hero--registration {
  --sut-navy-900: #032538;                 /* deeper scrim punch */
  min-height: min(86vh, 780px);
  align-items: stretch;
  background-color: var(--sut-navy-900);
  border-bottom: 3px solid var(--ds-accent);
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__bg-img {
  object-position: 68% 60%;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__scrim {
  background:
    linear-gradient(100deg,
      var(--sut-navy-900) 0%,
      color-mix(in srgb, var(--sut-navy-900) 88%, transparent) 30%,
      color-mix(in srgb, var(--sut-navy-900) 42%, transparent) 55%,
      transparent 80%),
    linear-gradient(to top,
      var(--sut-navy-900) 0%,
      color-mix(in srgb, var(--sut-navy-900) 55%, transparent) 26%,
      transparent 52%),
    radial-gradient(120% 82% at 100% -6%, var(--sut-navy-900) 0%, transparent 52%);
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__container {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__grid {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(var(--ds-space-2xl), 6vw, var(--ds-space-3xl));
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__content {
  position: relative;
  z-index: 4;
  max-width: 760px;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__eyebrow {
  color: color-mix(in srgb, var(--ds-white) 92%, transparent);
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__eyebrow::before {
  background: var(--ds-accent);
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__heading {
  color: var(--ds-white);
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: var(--ds-ls-tight);
  text-shadow: 0 2px 22px color-mix(in srgb, var(--sut-navy-900) 55%, transparent);
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__heading .ds-mark {
  color: var(--ds-accent);
  background: none;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__rule {
  width: min(560px, 100%);
  height: 4px;
  background: var(--ds-accent);
  margin: var(--ds-space-lg) 0;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__sub p {
  color: color-mix(in srgb, var(--ds-white) 92%, transparent);
  max-width: 620px;
  text-shadow: 0 1px 12px color-mix(in srgb, var(--sut-navy-900) 60%, transparent);
}
/* Registration-bracket viewfinder corner-marks removed: the red/white L corner
   brackets are an accent edge-border AI/template tell (feedback_no_left_top_border_cards).
   The .ds-hero__frame markup is also dropped from hero.php. */
/* 4-stat bar: navy translucent cells + red number accents. No accent top rule
   (banned as an AI/template edge-border tell, feedback_no_left_top_border_cards). */
.ds-look-bold-geometric .ds-hero--registration .ds-hero__stats {
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__stat {
  background: color-mix(in srgb, var(--sut-navy-900) 82%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: 0;
  box-shadow: none;
  border-left: 1px solid color-mix(in srgb, var(--ds-white) 14%, transparent);
  padding: var(--ds-space-lg) clamp(1.1rem, 2vw, 2rem);
  color: var(--ds-white);
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__stat:first-child {
  border-left: 0;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__stat-title {
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  line-height: 1;
  color: var(--ds-white);
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__stat-accent {
  color: var(--ds-accent);
  font-style: normal;
  font-size: .78em;
}
.ds-look-bold-geometric .ds-hero--registration .ds-hero__stat-sub {
  font-size: var(--ds-fs-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ds-white) 76%, transparent);
}
@media (max-width: 860px) {
  .ds-look-bold-geometric .ds-hero--registration { min-height: 100svh; }
  .ds-look-bold-geometric .ds-hero--registration .ds-hero__rule { width: 120px; }
  .ds-look-bold-geometric .ds-hero--registration .ds-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .ds-look-bold-geometric .ds-hero--registration .ds-hero__stat:nth-child(3) { border-left: 0; }
  .ds-look-bold-geometric .ds-hero--registration .ds-hero__stat:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--ds-white) 14%, transparent); }
}

/* ─── quote-bar (full-bleed photo, centered copy, inline quote bar) ────── */

.ds-hero--quote-bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ds-primary-dark);
  text-align: center;
}

.ds-hero--quote-bar .ds-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ds-hero--quote-bar .ds-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ds-primary-dark) 60%, transparent),
    color-mix(in srgb, var(--ds-primary-dark) 82%, transparent)
  );
}

.ds-hero--quote-bar .ds-hero__grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.ds-hero--quote-bar .ds-hero__content {
  align-items: center;
  text-align: center;
  max-width: 60ch;
}

.ds-hero--quote-bar .ds-hero__heading {
  color: var(--ds-white);
  max-width: 20ch;
}

.ds-hero--quote-bar .ds-hero__sub {
  color: color-mix(in srgb, var(--ds-white) 86%, transparent);
}

.ds-hero--quote-bar .ds-hero__eyebrow,
.ds-hero--quote-bar .ds-mark {
  color: var(--ds-primary-light);
}

.ds-hero__quotebar {
  margin-top: var(--ds-space-lg);
  width: 100%;
  max-width: 840px;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-md);
  box-shadow: var(--ds-shadow-lg);
}

/* ─── service-check (solid brand band + postcode/coverage check) ───────── */

.ds-hero--service-check {
  background-color: var(--ds-primary);
  color: var(--ds-white);
  text-align: center;
}

.ds-hero--service-check .ds-hero__grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.ds-hero--service-check .ds-hero__content {
  align-items: center;
  text-align: center;
  max-width: 56ch;
}

.ds-hero--service-check .ds-hero__heading {
  color: var(--ds-white);
  max-width: 20ch;
}

.ds-hero--service-check .ds-hero__sub {
  color: color-mix(in srgb, var(--ds-white) 88%, transparent);
}

.ds-hero--service-check .ds-hero__eyebrow,
.ds-hero--service-check .ds-mark {
  color: var(--ds-white);
}

.ds-hero__checkbar {
  margin-top: var(--ds-space-lg);
  width: 100%;
  max-width: 560px;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-full);
  padding: var(--ds-space-xs);
  box-shadow: var(--ds-shadow-lg);
}

/* ─── diagonal (angled photo split + solid form panel) ─────────────────── */

.ds-hero--diagonal {
  padding-block: 0;
  overflow: hidden;
  background-color: var(--ds-primary-dark);
}

.ds-hero__diagonal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(420px, 46vw, 560px);
}

@media (min-width: 960px) {
  .ds-hero__diagonal {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.ds-hero__diagonal-media {
  position: relative;
  min-height: 240px;
  display: flex;
}

.ds-hero__diagonal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 960px) {
  .ds-hero__diagonal-media {
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }
}

.ds-hero__diagonal-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--ds-primary-dark) 55%, transparent),
    transparent 70%
  );
}

.ds-hero__diagonal-cap {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: var(--ds-space-2xl);
}

.ds-hero__diagonal-cap .ds-hero__heading {
  color: var(--ds-white);
  max-width: 16ch;
}

.ds-hero__diagonal-cap .ds-hero__eyebrow {
  color: var(--ds-primary-light);
}

/* Marked word sits on the photo — accent it (gold) for pop + legibility. */
.ds-hero__diagonal-cap .ds-mark {
  color: var(--ds-accent);
  font-style: italic;
}

.ds-hero__diagonal-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--ds-space-md);
  padding: var(--ds-space-2xl);
  background-color: var(--ds-bg-elevated);
}

/* ─── layered (image card + floating badge + review card) ──────────────── */

.ds-hero--layered {
  background-color: var(--ds-light);
}

@media (min-width: 960px) {
  .ds-hero--layered .ds-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--ds-space-3xl);
  }
}

.ds-hero--layered .ds-hero__stage {
  position: relative;
  min-height: clamp(320px, 38vw, 420px);
}

.ds-hero__stage-img {
  height: 100%;
  border-radius: var(--ds-radius-image);
  overflow: hidden;
  box-shadow: var(--ds-shadow-lg);
}

.ds-hero__stage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-hero__stage-badge {
  position: absolute;
  top: var(--ds-space-lg);
  left: 0;
  background-color: var(--ds-primary);
  color: var(--ds-white);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-sm);
  padding: var(--ds-space-sm) var(--ds-space-md);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-md);
  z-index: 2;
}

.ds-hero__stage-review {
  position: absolute;
  bottom: calc(-1 * var(--ds-space-md));
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-md) var(--ds-space-lg);
  box-shadow: var(--ds-shadow-lg);
  z-index: 2;
}

.ds-hero__stage-review .ds-hero__review-stars {
  color: var(--ds-accent);
}

.ds-hero__stage-review-rating {
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  color: var(--ds-dark);
}

.ds-hero__stage-review-count {
  font-size: var(--ds-fs-xs);
  color: var(--ds-body-light);
}

@media (min-width: 960px) {
  .ds-hero__stage-badge {
    left: calc(-1 * var(--ds-space-md));
  }
  .ds-hero__stage-review {
    left: calc(-1 * var(--ds-space-md));
  }
}

/* ═══ SECONDARY / PAGE-HEADER VARIANTS ═══════════════════════════════════ */

/* ─── banner / banner-callback (centered title over photo) ─────────────── */

.ds-hero--banner,
.ds-hero--banner-callback {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ds-primary-dark);
  text-align: center;
  padding-block: var(--ds-space-3xl);
}

.ds-hero--banner .ds-hero__bg-img,
.ds-hero--banner-callback .ds-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ds-hero--banner .ds-hero__scrim,
.ds-hero--banner-callback .ds-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ds-primary-dark) 58%, transparent),
    color-mix(in srgb, var(--ds-primary-dark) 74%, transparent)
  );
}

.ds-hero--banner .ds-hero__grid,
.ds-hero--banner-callback .ds-hero__grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.ds-hero--banner .ds-hero__content,
.ds-hero--banner-callback .ds-hero__content {
  align-items: center;
  text-align: center;
  max-width: 60ch;
}

.ds-hero--banner .ds-hero__heading,
.ds-hero--banner-callback .ds-hero__heading {
  color: var(--ds-white);
  max-width: 22ch;
}

.ds-hero--banner .ds-hero__sub,
.ds-hero--banner-callback .ds-hero__sub {
  color: color-mix(in srgb, var(--ds-white) 86%, transparent);
}

.ds-hero--banner .ds-hero__eyebrow,
.ds-hero--banner-callback .ds-hero__eyebrow,
.ds-hero--banner .ds-mark,
.ds-hero--banner-callback .ds-mark {
  color: var(--ds-primary-light);
}

/* Breadcrumb as a centered glass pill on the photo. */
.ds-hero--banner .ds-hero__crumb,
.ds-hero--banner-callback .ds-hero__crumb {
  display: flex;
  justify-content: center;
}

.ds-hero--banner .ds-hero__crumb-list,
.ds-hero--banner-callback .ds-hero__crumb-list {
  background-color: color-mix(in srgb, var(--ds-white) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-white) 26%, transparent);
  padding: var(--ds-space-xs) var(--ds-space-md);
  border-radius: var(--ds-radius-full);
  backdrop-filter: blur(6px);
}

.ds-hero--banner .ds-hero__crumb-item a,
.ds-hero--banner-callback .ds-hero__crumb-item a {
  color: color-mix(in srgb, var(--ds-white) 80%, transparent);
}

.ds-hero--banner .ds-hero__crumb-item [aria-current],
.ds-hero--banner-callback .ds-hero__crumb-item [aria-current] {
  color: var(--ds-white);
}

.ds-hero--banner .ds-hero__crumb-sep,
.ds-hero--banner-callback .ds-hero__crumb-sep {
  color: color-mix(in srgb, var(--ds-white) 45%, transparent);
}

.ds-hero__callbar {
  margin-top: var(--ds-space-lg);
  width: 100%;
  max-width: 760px;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-xl);
  box-shadow: var(--ds-shadow-lg);
}

@media (max-width: 600px) {
  .ds-hero__callbar {
    padding: 20px;
  }
  /* Full-width stacked CTAs on mobile. The content column is left-aligned, so
     the CTA row must be told to fill it before the buttons can stretch. */
  .ds-hero--banner-callback .ds-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .ds-hero--banner-callback .ds-hero__ctas .ds-btn {
    width: 100%;
  }
}

/* banner-callback: content left, form card right on desktop — a photo header
   that captures a lead without pushing the page down. */
.ds-hero--banner-callback {
  text-align: left;
}

.ds-hero--banner-callback .ds-hero__scrim {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--ds-primary-dark) 84%, transparent) 0%,
    color-mix(in srgb, var(--ds-primary-dark) 58%, transparent) 50%,
    color-mix(in srgb, var(--ds-primary-dark) 22%, transparent) 100%
  );
}

.ds-hero--banner-callback .ds-hero__grid {
  grid-template-columns: 1fr;
  justify-items: stretch;
  gap: var(--ds-space-2xl);
}

@media (min-width: 960px) {
  .ds-hero--banner-callback .ds-hero__grid {
    grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
    align-items: center;
    gap: var(--ds-space-3xl);
  }
}

/* Motif watermark bleeding off the lower-left for texture (clipped by the
   section's overflow). Sits above the scrim, behind the content. */
.ds-hero__banner-mark {
  position: absolute;
  left: -2%;
  bottom: -8%;
  width: clamp(240px, 28vw, 460px);
  color: var(--ds-white);
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
}

.ds-hero__banner-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.ds-hero--banner-callback .ds-hero__container {
  position: relative;
  z-index: 1;
}

.ds-hero--banner-callback .ds-hero__content {
  align-items: flex-start;
  text-align: left;
  max-width: none;
}

.ds-hero--banner-callback .ds-hero__heading,
.ds-hero--banner-callback .ds-hero__sub {
  max-width: none;
}

/* Proof points sit right under the sub; buttons come after them. */
.ds-hero--banner-callback .ds-hero__ctas {
  order: 1;
}

.ds-hero--banner-callback .ds-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md) var(--ds-space-lg);
  grid-template-columns: none;
}

.ds-hero--banner-callback .ds-hero__trust-item {
  color: color-mix(in srgb, var(--ds-white) 92%, transparent);
}

.ds-hero--banner-callback .ds-hero__trust-icon {
  color: var(--ds-white);
}

/* Left-aligned breadcrumb, not a centered glass pill. */
.ds-hero--banner-callback .ds-hero__crumb {
  justify-content: flex-start;
}

.ds-hero--banner-callback .ds-hero__crumb-list {
  background-color: transparent;
  border: 0;
  padding: 0;
  backdrop-filter: none;
}

/* The callbar is the right-column form card. */
.ds-hero--banner-callback .ds-hero__callbar {
  margin-top: 0;
  max-width: none;
  width: 100%;
  display: block;
}

/* ─── icon-band (brand band + angled accent + service icon) ────────────── */

.ds-hero--icon-band {
  position: relative;
  overflow: hidden;
  background-color: var(--ds-primary);
  color: var(--ds-white);
}

.ds-hero--icon-band .ds-hero__accent {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  background: linear-gradient(120deg, color-mix(in srgb, var(--ds-white) 8%, transparent), transparent 70%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.ds-hero__iconband {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--ds-space-xl);
}

.ds-hero__iconband-ic {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: var(--ds-radius-lg);
  background-color: var(--ds-accent);
  /* White icon reads whether the brand's accent is a vivid mid-tone or a dark
     tone; a dark icon would vanish on dark-accent palettes. */
  color: var(--ds-white);
  display: grid;
  place-items: center;
}

.ds-hero__iconband-ic svg {
  width: 32px;
  height: 32px;
}

.ds-hero--icon-band .ds-hero__content {
  gap: var(--ds-space-sm);
}

.ds-hero--icon-band .ds-hero__heading {
  color: var(--ds-white);
  max-width: 20ch;
}

.ds-hero--icon-band .ds-hero__eyebrow {
  color: var(--ds-accent);
}

.ds-hero--icon-band .ds-hero__crumb-item a {
  color: color-mix(in srgb, var(--ds-white) 72%, transparent);
}

.ds-hero--icon-band .ds-hero__crumb-item [aria-current] {
  color: var(--ds-white);
}

.ds-hero--icon-band .ds-hero__crumb-sep {
  color: color-mix(in srgb, var(--ds-white) 40%, transparent);
}

@media (max-width: 560px) {
  .ds-hero__iconband {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ds-space-md);
  }
}

/* ─── index (oversized outlined number + title) ────────────────────────── */

.ds-hero--index {
  background-color: var(--ds-light);
}

.ds-hero__indexwrap {
  display: flex;
  align-items: center;
  gap: var(--ds-space-xl);
}

.ds-hero__index {
  flex: 0 0 auto;
  font-family: var(--ds-heading-display, var(--ds-heading));
  font-weight: var(--ds-fw-bold);
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: 0.8;
  letter-spacing: var(--ds-ls-tight);
  color: transparent;
  -webkit-text-stroke: 2px var(--ds-accent);
  opacity: 0.55;
}

@media (max-width: 640px) {
  .ds-hero__indexwrap {
    gap: var(--ds-space-md);
  }
  .ds-hero__index {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }
}

/* ─── header-quote (brand band + docked quote card) ────────────────────── */

.ds-hero--header-quote {
  background-color: var(--ds-primary);
  color: var(--ds-white);
}

.ds-hero__hq {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
  align-items: center;
}

@media (min-width: 900px) {
  .ds-hero__hq {
    grid-template-columns: 1fr 340px;
  }
  /* No card payload: one column, so the variant cannot open on a half-empty
     band (see hero.php, $hq_solo). */
  .ds-hero__hq--solo {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ds-hero--header-quote .ds-hero__heading {
  color: var(--ds-white);
  max-width: 20ch;
}

.ds-hero--header-quote .ds-hero__sub {
  color: color-mix(in srgb, var(--ds-white) 82%, transparent);
}

.ds-hero--header-quote .ds-hero__eyebrow {
  color: var(--ds-accent);
}

.ds-hero--header-quote .ds-hero__crumb-item a {
  color: color-mix(in srgb, var(--ds-white) 72%, transparent);
}

.ds-hero--header-quote .ds-hero__crumb-item [aria-current] {
  color: var(--ds-white);
}

.ds-hero--header-quote .ds-hero__crumb-sep {
  color: color-mix(in srgb, var(--ds-white) 40%, transparent);
}

.ds-hero__hq-card {
  background-color: var(--ds-bg-elevated);
  color: var(--ds-body);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-lg);
  box-shadow: var(--ds-shadow-lg);
}

/* ─── strip (slim band + inline quote form) ────────────────────────────── */

.ds-hero--strip {
  background-color: var(--ds-primary);
  color: var(--ds-white);
  padding-block: var(--ds-space-xl);
}

.ds-hero__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-xl);
  flex-wrap: wrap;
}

.ds-hero__strip-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.ds-hero__strip-form {
  flex: 0 1 auto;
}

.ds-hero--strip .ds-hero__content {
  gap: var(--ds-space-xs);
}

.ds-hero--strip .ds-hero__heading {
  color: var(--ds-white);
  max-width: none;
  font-size: var(--ds-h2, clamp(1.5rem, 3vw, 2rem));
}

.ds-hero--strip .ds-hero__eyebrow {
  color: var(--ds-accent);
}

.ds-hero--strip .ds-hero__crumb-item a {
  color: color-mix(in srgb, var(--ds-white) 72%, transparent);
}

.ds-hero--strip .ds-hero__crumb-item [aria-current] {
  color: var(--ds-white);
}

.ds-hero--strip .ds-hero__crumb-sep {
  color: color-mix(in srgb, var(--ds-white) 40%, transparent);
}

.ds-hero__strip-form {
  flex: 0 0 auto;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-sm);
}

/* ─── sidebar (intro + sticky quote card) ──────────────────────────────── */

.ds-hero--sidebar {
  background-color: var(--ds-light);
}

.ds-hero__sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
  align-items: start;
}

@media (min-width: 900px) {
  .ds-hero__sidebar {
    grid-template-columns: 1fr 320px;
  }
}

.ds-hero__sidebar-card {
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-lg);
  box-shadow: var(--ds-shadow-md);
}

@media (min-width: 900px) {
  .ds-hero__sidebar-card {
    position: sticky;
    top: var(--ds-space-lg);
  }
}

/* Dark-band secondary variants: eyebrow + marked word must stay legible even
   when the brand's accent is a dark/monochrome tone (e.g. a near-black accent
   would vanish on the dark band). The light primary tint reads on any palette.
   Placed after the per-variant accent rules so it wins. */
.ds-hero--header-quote .ds-hero__eyebrow,
.ds-hero--strip .ds-hero__eyebrow,
.ds-hero--icon-band .ds-hero__eyebrow,
.ds-hero--header-quote .ds-mark,
.ds-hero--strip .ds-mark,
.ds-hero--icon-band .ds-mark {
  color: var(--ds-primary-light);
}

/* ═══ ASSET-HEAVY VARIANTS (cutout / before-after / video) ═══════════════ */

/* ─── cutout (bg-removed subject over a colour blob) ───────────────────── */

.ds-hero--cutout {
  background-color: var(--ds-light);
  overflow: hidden;
}

@media (min-width: 960px) {
  .ds-hero--cutout .ds-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--ds-space-3xl);
  }
}

.ds-hero__cutout {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: clamp(340px, 40vw, 480px);
}

.ds-hero__cutout-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, 85%);
  aspect-ratio: 1;
  border-radius: var(--ds-radius-full);
  background: radial-gradient(
    circle at 38% 32%,
    var(--ds-accent),
    color-mix(in srgb, var(--ds-accent) 55%, var(--ds-primary-dark))
  );
  opacity: 0.9;
  z-index: 0;
}

.ds-hero__cutout-img {
  position: relative;
  z-index: 1;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--ds-primary-dark) 35%, transparent));
}

.ds-hero__cutout-cap {
  position: absolute;
  z-index: 2;
  left: var(--ds-space-md);
  bottom: var(--ds-space-md);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-md);
  padding: var(--ds-space-sm) var(--ds-space-md);
  box-shadow: var(--ds-shadow-md);
}

.ds-hero__cutout-cap b {
  font-size: var(--ds-fs-sm);
  color: var(--ds-dark);
}

.ds-hero__cutout-cap span {
  font-size: var(--ds-fs-xs);
  color: var(--ds-body-light);
}

/* ─── before-after (draggable reveal slider) ───────────────────────────── */

.ds-hero--before-after {
  background-color: var(--ds-light);
}

@media (min-width: 960px) {
  .ds-hero--before-after .ds-hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--ds-space-3xl);
  }
}

.ds-hero__ba {
  position: relative;
  margin: 0;
  border-radius: var(--ds-radius-image);
  overflow: hidden;
  box-shadow: var(--ds-shadow-lg);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  user-select: none;
}

.ds-hero__ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-hero__ba-after {
  z-index: 1;
}

.ds-hero__ba-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}

.ds-hero__ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background-color: var(--ds-white);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.ds-hero__ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: var(--ds-radius-full);
  background-color: var(--ds-white);
  box-shadow: var(--ds-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.ds-hero__ba-handle::before,
.ds-hero__ba-handle::after {
  content: "";
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
}

.ds-hero__ba-handle::before {
  border-right: 7px solid var(--ds-primary);
}

.ds-hero__ba-handle::after {
  border-left: 7px solid var(--ds-primary);
}

.ds-hero__ba-tag {
  position: absolute;
  bottom: var(--ds-space-md);
  z-index: 3;
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  padding: var(--ds-space-xs) var(--ds-space-sm);
  border-radius: var(--ds-radius-full);
  color: var(--ds-white);
  background-color: color-mix(in srgb, var(--ds-primary-dark) 70%, transparent);
  backdrop-filter: blur(4px);
}

.ds-hero__ba-tag--before {
  left: var(--ds-space-md);
}

.ds-hero__ba-tag--after {
  right: var(--ds-space-md);
  background-color: var(--ds-accent);
  color: var(--ds-primary-dark);
}

.ds-hero__ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.ds-hero__ba-range:focus-visible {
  outline: 2px solid var(--ds-primary);
  outline-offset: 2px;
}

/* No-JS fallback: show the after image full, hide the interactive chrome. */
.ds-hero__ba:not([data-ds-ba-ready]) .ds-hero__ba-before {
  clip-path: inset(0 50% 0 0);
}

/* ─── video (background video, minimal centered overlay) ───────────────── */

.ds-hero--video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ds-primary-dark);
  text-align: center;
  min-height: clamp(440px, 52vw, 600px);
  display: flex;
  align-items: center;
}

.ds-hero--video .ds-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ds-hero--video .ds-hero__video-el {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ds-hero--video .ds-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    color-mix(in srgb, var(--ds-primary-dark) 55%, transparent),
    color-mix(in srgb, var(--ds-primary-dark) 72%, transparent)
  );
}

.ds-hero--video .ds-hero__container {
  width: 100%;
}

.ds-hero--video .ds-hero__grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.ds-hero--video .ds-hero__content {
  align-items: center;
  text-align: center;
  max-width: 60ch;
}

.ds-hero--video .ds-hero__heading {
  color: var(--ds-white);
}

.ds-hero--video .ds-hero__sub {
  color: color-mix(in srgb, var(--ds-white) 86%, transparent);
}

.ds-hero--video .ds-hero__eyebrow,
.ds-hero--video .ds-mark {
  color: var(--ds-primary-light);
}

.ds-hero__video-play {
  width: 72px;
  height: 72px;
  border-radius: var(--ds-radius-full);
  display: grid;
  place-items: center;
  color: var(--ds-white);
  background-color: color-mix(in srgb, var(--ds-white) 16%, transparent);
  border: 2px solid color-mix(in srgb, var(--ds-white) 80%, transparent);
  backdrop-filter: blur(6px);
  margin-bottom: var(--ds-space-md);
}

.ds-hero__video-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ds-hero--video .ds-hero__video-el {
    display: none;
  }
}

/* diagonal hero — optional sun-ray motif + rebate seal (motif_rays / seal args) */
.ds-hero__diagonal{ position: relative; }
.ds-hero__rays{ position: absolute; top: -24%; left: 38%; width: 760px; height: 760px; opacity: .26; pointer-events: none; z-index: 0;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 14%, #000 52%); mask: radial-gradient(circle at 50% 50%, transparent 14%, #000 52%); }
.ds-hero__rays svg{ width: 100%; height: 100%; }
/* Mobile: the photo is gone, so make the starburst the hero's visual anchor,
   centred behind the content and more prominent. */
@media (max-width: 959px){
  .ds-hero__rays{ opacity: .45; left: 50%; top: -12%; width: min(115%, 620px); height: auto; aspect-ratio: 1; transform: translateX(-50%); }
}
.ds-hero__seal{ position: absolute; left: clamp(20px, 3vw, 40px); bottom: 40px; z-index: 3; width: 112px; height: 112px; border-radius: 50%;
  background: var(--ds-accent); color: var(--ds-brand-primary-900, var(--ds-primary)); display: grid; place-items: center; text-align: center;
  font-family: var(--ds-heading); font-weight: 800; line-height: 1; box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); }
.ds-hero__seal b{ font-size: 1.375rem; display: block; }
.ds-hero__seal span{ font-size: .875rem; letter-spacing: .06em; margin-top: 3px; display: block; padding: 0 8px; }
@media (max-width: 860px){ .ds-hero__seal{ display: none; } }

/* ─── split-panel (v4 JC hero: navy content panel + angled photo + docked form) ─── */
.ds-hero--split-panel{ padding: 0; background: var(--ds-brand-primary-900, var(--ds-primary)); color: #fff; position: relative; overflow: hidden; }
/* Full-bleed the hero so the photo panel reaches the viewport edge (NextGen
   technique): drop the container constraint, then push the content back to the
   container gridline with a calc padding-left. The right (media) column then
   bleeds to the page edge instead of stopping at the 1440 boundary. */
.ds-hero--split-panel .ds-hero__container{ max-width: none; padding-inline: 0; width: 100%; }
.ds-hero--split-panel .ds-hero__sp{ position: relative; display: grid; grid-template-columns: 1fr; min-height: clamp(460px, 44vw, 620px); }
@media (min-width: 960px){ .ds-hero--split-panel .ds-hero__sp{ grid-template-columns: 1.05fr 0.95fr; } }
.ds-hero__sp-content{ position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 1.75rem; padding: clamp(2.4rem, 4vw, 4.5rem) clamp(1.4rem, 2.6vw, 2.6rem) clamp(2.4rem, 4vw, 4rem) max(var(--ds-space-lg), calc(50vw - var(--ds-container) / 2 + var(--ds-space-xl))); }
@media (max-width: 959px){ .ds-hero__sp-content{ padding: clamp(2rem,6vw,3rem) 1.25rem; } }
.ds-hero--split-panel .ds-hero__eyebrow{ color: var(--ds-accent); }
.ds-hero--split-panel .ds-hero__heading{ color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; margin: .6rem 0 0; }
.ds-hero--split-panel .ds-hero__heading .ds-mark{ color: var(--ds-accent); font-style: italic; }
.ds-hero--split-panel .ds-hero__sub{ color: color-mix(in srgb, #fff 78%, transparent); margin: 0; font-size: 1.16rem; max-width: none; }
.ds-hero--split-panel .ds-hero__sub p{ margin: 0; }
.ds-hero--split-panel .ds-hero__ctas{ display: flex; gap: .9rem; margin-top: 0; flex-wrap: wrap; }
/* On the dark navy panel the outline CTA reads as a light "ghost" button. */
.ds-hero--split-panel .ds-btn--outline{ color: #fff; border-color: color-mix(in srgb, #fff 30%, transparent); background: transparent; }
.ds-hero--split-panel .ds-btn--outline:hover,
.ds-hero--split-panel .ds-btn--outline:focus-visible{ color: var(--ds-accent); border-color: var(--ds-accent); background: color-mix(in srgb, #fff 8%, transparent); }
.ds-hero--split-panel .ds-hero__trust{ display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.ds-hero--split-panel .ds-hero__trust-item{ display: inline-flex; align-items: center; gap: .45rem; background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, var(--ds-accent) 25%, transparent); border-radius: 6px; padding: .42rem .8rem; font-size: .875rem; font-weight: 500; color: color-mix(in srgb, #fff 92%, transparent); }
.ds-hero--split-panel .ds-hero__trust-icon{ width: 14px; height: 14px; color: var(--ds-accent); display: inline-flex; }
.ds-hero--split-panel .ds-hero__trust-icon svg{ width: 100%; height: 100%; }
/* media side */
.ds-hero__sp-media{ position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 3vw, 2.5rem); min-height: 300px; }
.ds-hero__sp-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px){ .ds-hero__sp-img{ clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }
.ds-hero__sp-scrim{ position: absolute; inset: 0; background: linear-gradient(90deg, var(--ds-brand-primary-900, var(--ds-primary)) 0%, color-mix(in srgb, var(--ds-brand-primary-900, var(--ds-primary)) 35%, transparent) 26%, transparent 55%); }
@media (min-width: 960px){ .ds-hero__sp-scrim{ clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }
.ds-hero__sp-form{ position: relative; z-index: 3; width: 100%; max-width: 400px; }
/* Mobile: drop the photo (+ its scrim) so the hero is a clean navy panel with
   the sun-ray starburst behind the content; the quote form stays. */
@media (max-width: 959px){
  .ds-hero--split-panel .ds-hero__sp-img,
  .ds-hero--split-panel .ds-hero__sp-scrim{ display: none; }
  .ds-hero--split-panel .ds-hero__sp-media{ min-height: 0; padding: 0 1.25rem clamp(2.5rem, 6vw, 3.5rem); }
}

/* ── Interior hero — distinctive internal-page hero (service/location/info) ──
   Same premium family as split-panel: navy band, sun-ray motif, angled photo
   panel, credential ribbon. Replaces the flat stock hero on internal pages. */
.ds-hero--interior{ position: relative; overflow: hidden; padding: 0; background: var(--ds-brand-primary-900, var(--ds-primary)); color: #fff; }
.ds-hero--interior .ds-hero__container{ position: relative; z-index: 2; max-width: none; padding-inline: 0; width: 100%; }
.ds-hero--interior .ds-hero__int{ position: relative; display: grid; grid-template-columns: 1fr; min-height: clamp(460px, 44vw, 620px); }
@media (min-width: 960px){ .ds-hero--interior .ds-hero__int{ grid-template-columns: 1.05fr 0.95fr; } }
.ds-hero--interior .ds-hero__content{ position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding: clamp(2.4rem, 4vw, 4.5rem) clamp(1.4rem, 2.6vw, 2.6rem) clamp(2.4rem, 4vw, 4rem) max(var(--ds-space-lg), calc(50vw - var(--ds-container) / 2 + var(--ds-space-xl))); }
@media (max-width: 959px){ .ds-hero--interior .ds-hero__content{ padding: clamp(2rem,6vw,3rem) 1.25rem; } }
/* Breadcrumb reads on dark */
.ds-hero--interior .ds-hero__crumb-item a{ color: color-mix(in srgb, #fff 72%, transparent); }
.ds-hero--interior .ds-hero__crumb-item a:hover{ color: var(--ds-accent); }
.ds-hero--interior .ds-hero__crumb-item [aria-current]{ color: #fff; }
.ds-hero--interior .ds-hero__crumb-sep{ color: color-mix(in srgb, #fff 35%, transparent); }
.ds-hero--interior .ds-hero__eyebrow{ color: var(--ds-accent); }
.ds-hero--interior .ds-hero__heading{ color: #fff; font-size: clamp(2rem, 3.7vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; margin: .5rem 0 0; }
.ds-hero--interior .ds-hero__heading .ds-mark{ color: var(--ds-accent); font-style: italic; }
.ds-hero--interior .ds-hero__sub{ color: color-mix(in srgb, #fff 80%, transparent); margin-top: 1rem; max-width: 46ch; }
.ds-hero--interior .ds-hero__ctas{ margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.ds-hero--interior .ds-btn--outline{ color: #fff; border-color: color-mix(in srgb, #fff 30%, transparent); background: transparent; }
.ds-hero--interior .ds-btn--outline:hover,
.ds-hero--interior .ds-btn--outline:focus-visible{ color: var(--ds-accent); border-color: var(--ds-accent); background: color-mix(in srgb, #fff 8%, transparent); }
.ds-hero--interior .ds-hero__trust{ display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ds-hero--interior .ds-hero__trust-item{ display: inline-flex; align-items: center; gap: .45rem; background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, var(--ds-accent) 25%, transparent); border-radius: 6px; padding: .4rem .78rem; font-size: .875rem; font-weight: 500; color: color-mix(in srgb, #fff 92%, transparent); }
.ds-hero--interior .ds-hero__trust-icon{ width: 14px; height: 14px; color: var(--ds-accent); display: inline-flex; }
.ds-hero--interior .ds-hero__trust-icon svg{ width: 100%; height: 100%; }

/* Angled photo panel — full-bleed to the right, top and bottom (matches the
   split-panel home hero). Optional lead form sits over the media. */
.ds-hero__int-media{ position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 3vw, 2.5rem); min-height: 300px; overflow: hidden; }
.ds-hero__int-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px){ .ds-hero__int-img{ clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }
.ds-hero__int-scrim{ position: absolute; inset: 0; background: linear-gradient(90deg, var(--ds-brand-primary-900, var(--ds-primary)) 0%, color-mix(in srgb, var(--ds-brand-primary-900, var(--ds-primary)) 35%, transparent) 26%, transparent 55%); }
@media (min-width: 960px){ .ds-hero__int-scrim{ clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }
.ds-hero__int-badge{ position: absolute; left: clamp(14px, 4%, 34px); bottom: 22px; z-index: 3; background: var(--ds-accent); color: var(--ds-accent-ink, var(--ds-brand-primary-900)); font-family: var(--ds-heading); font-weight: 800; font-size: .875rem; letter-spacing: .01em; padding: .5rem .85rem; border-radius: 8px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.ds-hero__int-form{ position: relative; z-index: 3; width: 100%; max-width: 400px; }
/* Mobile: pages with a hero form drop the photo and show the form on the navy
   band (as the home hero does); image-only interior heroes keep the photo. */
@media (max-width: 959px){
  .ds-hero--interior.ds-hero--has-form .ds-hero__int-img,
  .ds-hero--interior.ds-hero--has-form .ds-hero__int-scrim{ display: none; }
  .ds-hero--interior.ds-hero--has-form .ds-hero__int-media{ min-height: 0; padding: 0 1.25rem clamp(2.5rem, 6vw, 3.5rem); }
  .ds-hero--interior:not(.ds-hero--has-form) .ds-hero__int-media{ min-height: 220px; padding: 0; }
}

/* ─── Hero entrance (on load) ──────────────────────────────────────────────
   Copy lifts in with a stagger; the form eases up after. Pure CSS so it runs
   on first paint with no flash and works with JS off. Gated to no-preference
   so reduced-motion is instant. Covers the split-panel (home) and interior
   (secondary) heroes.
   No opacity in the entrance (2.9.1): an element at opacity 0 is not an LCP
   candidate, so the old fade held LCP back ~0.9s on every page with these
   heroes. The rise is transform only; the copy is visible from first paint. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ds-hero-rise { from { transform: translateY(26px); } to { transform: none; } }

  .ds-hero--split-panel .ds-hero__sp-content > *,
  .ds-hero--interior .ds-hero__content > * {
    animation: ds-hero-rise 720ms var(--ds-ease, cubic-bezier(0.22, 1, 0.36, 1)) both;
  }
  .ds-hero--split-panel .ds-hero__sp-content > *:nth-child(1),
  .ds-hero--interior .ds-hero__content > *:nth-child(1) { animation-delay: 80ms; }
  .ds-hero--split-panel .ds-hero__sp-content > *:nth-child(2),
  .ds-hero--interior .ds-hero__content > *:nth-child(2) { animation-delay: 180ms; }
  .ds-hero--split-panel .ds-hero__sp-content > *:nth-child(3),
  .ds-hero--interior .ds-hero__content > *:nth-child(3) { animation-delay: 280ms; }
  .ds-hero--split-panel .ds-hero__sp-content > *:nth-child(4),
  .ds-hero--interior .ds-hero__content > *:nth-child(4) { animation-delay: 380ms; }
  .ds-hero--split-panel .ds-hero__sp-content > *:nth-child(5),
  .ds-hero--interior .ds-hero__content > *:nth-child(5) { animation-delay: 480ms; }
  .ds-hero--split-panel .ds-hero__sp-content > *:nth-child(n+6),
  .ds-hero--interior .ds-hero__content > *:nth-child(n+6) { animation-delay: 560ms; }

  .ds-hero__sp-form,
  .ds-hero__int-form { animation: ds-hero-rise 720ms var(--ds-ease, cubic-bezier(0.22, 1, 0.36, 1)) both; animation-delay: 420ms; }
}

/* ─── Variant: pagehead ───────────────────────────────────────────────────
   Clean interior page header: paper ground, copy beside one photo plate.
   The distinctive non-money-page hero (services hub, about, contact, reviews)
   so internal pages stop reusing the flat stock banner. Reuses the shared
   .ds-hero__content column; add image_url for the plate, omit it for the
   text-only .ds-hero--no-media layout. Promoted from the C3 build (2026-07-28). */
.ds-hero--pagehead {
  background-color: var(--ds-white);
  border-bottom: 1px solid var(--ds-border);
  padding-block: clamp(2.5rem, 5vw, 4.25rem) 0;
}
.ds-hero--pagehead .ds-hero__pagehead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
}
.ds-hero--pagehead.ds-hero--no-media .ds-hero__pagehead {
  grid-template-columns: minmax(0, 1fr);
}
.ds-hero--pagehead .ds-hero__content { max-width: none; }
/* .ds-h1 raises specificity so a look's `.ds-look-x .ds-h1` sizing (loaded after
   dist) cannot override the pagehead's calmer interior scale. */
.ds-hero--pagehead .ds-hero__heading.ds-h1 {
  text-transform: none;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  color: var(--ds-brand-primary-500, var(--ds-dark));
  margin: var(--ds-space-md) 0 0;
  max-width: 22ch;
}
.ds-hero--pagehead .ds-hero__sub {
  margin: var(--ds-space-lg) 0 0;
  max-width: 56ch;
  color: var(--ds-body);
  font-size: var(--ds-fs-md);
  line-height: 1.6;
}
.ds-hero--pagehead .ds-hero__ctas { margin-top: var(--ds-space-xl); }
.ds-hero--pagehead .ds-hero__pagehead-media {
  position: relative;
  border: 1px solid var(--ds-border);
  align-self: stretch;
  min-height: 300px;
  margin: 0;
}
.ds-hero--pagehead .ds-hero__pagehead-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-hero--pagehead .ds-hero__pagehead-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ds-white);
  border-top: 1px solid var(--ds-border);
  border-right: 1px solid var(--ds-border);
  padding: 0.45em 0.9em;
  font-size: var(--ds-fs-xs);
  letter-spacing: 0.01em;
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-body);
}
@media (max-width: 860px) {
  .ds-hero--pagehead .ds-hero__pagehead { grid-template-columns: 1fr; }
  .ds-hero--pagehead .ds-hero__pagehead-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ===========================================
   SPEC-HEADER (Sutton bold-geometric interior hero)
   variants: spec-header (service) + spec-header-geo (suburb).
   Navy field, dash eyebrow, Sora H1 (red mark), breadcrumbs,
   inline credential ticker, image in a red-keyline offset frame.
   =========================================== */

/* Breadcrumbs (used by the spec-header) */
.ds-crumbs { font-size: var(--ds-fs-sm); color: var(--ds-muted); margin: 0 0 var(--ds-space-lg); }
.ds-crumbs a { color: inherit; text-decoration: none; }
.ds-crumbs a:hover { color: var(--ds-primary); text-decoration: underline; text-underline-offset: 2px; }
.ds-crumbs__sep { color: var(--ds-accent); margin-inline: var(--ds-space-xs); }
.ds-spec-hero .ds-crumbs, .ds-spec-hero .ds-crumbs a { color: color-mix(in srgb, var(--ds-white) 75%, transparent); }
.ds-spec-hero .ds-crumbs a:hover { color: var(--ds-white); }

.ds-spec-hero { background: var(--ds-primary); color: var(--ds-white); border-bottom: 4px solid var(--ds-accent); position: relative; overflow: hidden; }
.ds-spec-hero::after { /* faint cube motif watermark */
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 24px solid var(--ds-white); opacity: .05; pointer-events: none;
}
.ds-spec-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; }
.ds-spec-hero__eyebrow { color: var(--ds-white); }
.ds-spec-hero__eyebrow::before { background: var(--ds-accent); }
.ds-spec-hero .ds-h1 { font-size: clamp(2.25rem, 1rem + 4.5vw, var(--ds-h1)); font-weight: var(--ds-fw-bold); color: var(--ds-white); letter-spacing: var(--ds-ls-tight); margin: 0 0 var(--ds-space-md); }
.ds-spec-hero .ds-h1 .ds-mark { color: var(--ds-brand-accent-300); background: none; }
.ds-spec-hero__sub { font-size: var(--ds-fs-md); color: color-mix(in srgb, var(--ds-white) 85%, transparent); max-width: 46ch; margin: 0 0 var(--ds-space-lg); }
.ds-spec-hero__actions { display: flex; flex-wrap: wrap; gap: var(--ds-space-md); margin-bottom: var(--ds-space-xl); }
.ds-spec-hero__ticker { display: flex; flex-wrap: wrap; gap: 0; align-items: center; border-top: 1px solid color-mix(in srgb, var(--ds-white) 20%, transparent); padding-top: var(--ds-space-lg); }
.ds-spec-hero__cred { display: inline-flex; align-items: baseline; gap: var(--ds-space-xs); font-size: var(--ds-fs-sm); padding-inline: 0; }
.ds-spec-hero__cred + .ds-spec-hero__cred { padding-left: var(--ds-space-md); }
.ds-spec-hero__cred + .ds-spec-hero__cred::before { content: "\2605"; color: var(--ds-accent); font-size: .8em; margin-right: var(--ds-space-md); }
.ds-spec-hero__cred strong { font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); }
.ds-spec-hero__cred span { color: color-mix(in srgb, var(--ds-white) 78%, transparent); }
.ds-spec-hero__cred .ds-stars { color: var(--ds-accent); }
/* No corner-bracket decoration on the image: the red CCTV-style viewfinder
   L-marks are an accent edge-border AI/template tell (feedback_no_left_top_border_cards).
   .ds-spec-hero__media keeps position:relative for the absolutely-placed badge. */
.ds-spec-hero__media { position: relative; }
.ds-spec-hero__media img { position: relative; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ds-spec-hero__badge { position: absolute; left: 0; bottom: 0; background: var(--ds-accent); color: var(--ds-white); font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); font-size: var(--ds-fs-sm); padding: var(--ds-space-sm) var(--ds-space-md); z-index: 3; }

/* Two-column widths: the photo matches the copy column's height instead of
   letting its 4/3 aspect dictate a shorter block (comb 3.9, 2026-08-24 —
   Sutton /services/ ran a 238px photo beside a 483px panel at 1024).
   Absolute-fill takes the image out of flow so the copy drives the row
   height. Grid items also get min-width: 0 so wide nowrap content (cred
   tickers) can never carry the grid past the viewport (comb 8.1). */
@media (min-width: 861px) {
  .ds-spec-hero__inner { align-items: stretch; }
  .ds-spec-hero__media { min-height: 340px; }
  .ds-spec-hero__media img { position: absolute; inset: 0; aspect-ratio: auto; }
}
.ds-spec-hero__inner > * { min-width: 0; }

@media (max-width: 860px) {
  .ds-spec-hero__inner { grid-template-columns: 1fr; }
  .ds-spec-hero__media { order: -1; }
}
@media (max-width: 520px) {
  .ds-spec-hero__actions .ds-btn { width: 100%; }
}

/* --- components/logo-wall/logo-wall.css --- */
/* Logo wall: a roster of client logos, as a static grid or a scrolling band.

   Source logos arrive as mixed-background rasters, so each tile carries its own
   ground and contains the logo inside it. That is why the tile has a border and
   padding rather than the logos sitting loose on the section background. */

.ds-logo-wall { padding-block: var(--ds-section-pad); background-color: var(--ds-bg); }

.ds-logo-wall__head { margin: 0 0 var(--ds-space-lg); max-width: 48rem; }
.ds-logo-wall--align-center .ds-logo-wall__head { margin-inline: auto; text-align: center; }
.ds-logo-wall__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-logo-wall__heading { margin: 0; }
.ds-logo-wall__desc { margin: var(--ds-space-sm) 0 0; color: var(--ds-muted); font-size: var(--ds-fs-md); }

/* ─── Tile (shared by both variants) ──────────────────────────────────── */
.ds-logo-wall__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ds-space-md);
  /* Sized so a SQUARE logo still reads at a glance. The trap is capping height
     alone: in a wide tile a square badge then renders at a third the width of a
     wordmark sitting beside it and the whole wall looks timid. */
  min-height: 170px;
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  transition: transform var(--ds-transition-fast), box-shadow var(--ds-transition-base), border-color var(--ds-transition-base);
}
a.ds-logo-wall__tile:hover,
a.ds-logo-wall__tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
}
.ds-logo-wall__img {
  display: block;
  /* max-width keeps a long wordmark from filling the tile edge to edge, and
     max-height is what actually equalises logos of wildly different aspect
     ratios. Both are needed: either one alone leaves the set looking uneven. */
  max-width: 76%;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ─── Grid variant ────────────────────────────────────────────────────── */
.ds-logo-wall__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ds-space-md);
}
.ds-logo-wall--cols-2 .ds-logo-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-logo-wall--cols-3 .ds-logo-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-logo-wall--cols-4 .ds-logo-wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ds-logo-wall--cols-5 .ds-logo-wall__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ds-logo-wall--cols-6 .ds-logo-wall__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .ds-logo-wall__grid,
  .ds-logo-wall--cols-5 .ds-logo-wall__grid,
  .ds-logo-wall--cols-6 .ds-logo-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ds-logo-wall__grid,
  .ds-logo-wall--cols-3 .ds-logo-wall__grid,
  .ds-logo-wall--cols-4 .ds-logo-wall__grid,
  .ds-logo-wall--cols-5 .ds-logo-wall__grid,
  .ds-logo-wall--cols-6 .ds-logo-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-logo-wall__tile { min-height: 118px; }
  .ds-logo-wall__img { max-height: 78px; }
}

/* ─── Marquee variant ─────────────────────────────────────────────────── */
/* Two identical tracks scroll left by exactly one track width, so the seam
   never shows. Pausing on hover lets a reader stop on a name they recognise. */
.ds-logo-wall__marquee {
  display: flex;
  gap: var(--ds-space-md);
  overflow: hidden;
  /* Fade the band into the page at both ends rather than cutting a hard edge. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ds-logo-wall__track {
  display: flex;
  flex: 0 0 auto;
  gap: var(--ds-space-md);
  padding-right: var(--ds-space-md);
  animation: ds-logo-wall-scroll 45s linear infinite;
}
.ds-logo-wall__marquee:hover .ds-logo-wall__track { animation-play-state: paused; }
.ds-logo-wall--marquee .ds-logo-wall__tile { flex: 0 0 auto; width: 200px; }

@keyframes ds-logo-wall-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Reduced motion: stop the scroll and let the roster wrap as a static band.
   The duplicate track is aria-hidden, so hiding it loses nothing. */
@media (prefers-reduced-motion: reduce) {
  .ds-logo-wall__marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .ds-logo-wall__track { animation: none; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .ds-logo-wall__track[aria-hidden="true"] { display: none; }
}

/* ─── Footnote ────────────────────────────────────────────────────────── */
.ds-logo-wall__footnote {
  margin: var(--ds-space-md) 0 0;
  color: var(--ds-muted);
  font-size: var(--ds-fs-sm);
}
.ds-logo-wall--align-center .ds-logo-wall__footnote { text-align: center; }

/* ─── Dark ground ─────────────────────────────────────────────────────── */
/* Tiles keep a light ground on a dark section: the logos themselves are mixed
   artwork and most of them are drawn for light backgrounds. */
.ds-on-dark .ds-logo-wall__tile,
.ds-logo-wall.ds-on-dark .ds-logo-wall__tile { background-color: #fff; }

/* --- components/media-mosaic/media-mosaic.css --- */
/* ===========================================
   components/media-mosaic/media-mosaic.css
   A full-bleed photo collage. Every value resolves to a --ds-* token.
   =========================================== */

.ds-mosaic {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
  overflow: hidden;
}

/* ─── Header (constrained, sits above the bleed) ────────────────────────── */

/* Alignment and measure are look-overridable custom properties, not hard-coded
   centring. See testimonials-grid.css for the full contract:
     --ds-section-header-align   (start | center: drives text-align + align-items)
     --ds-section-header-inline  (auto | 0: the centring margin)
     --ds-section-header-measure (60ch | none: the header cap that otherwise
                                  strangles a signage heading into a tower)
   Defaults below are unchanged, so no existing build moves. */
.ds-mosaic__header {
  display: flex;
  flex-direction: column;
  align-items: var(--ds-section-header-align, center);
  text-align: var(--ds-section-header-align, center);
  gap: var(--ds-space-md);
  margin-block: 0 var(--ds-space-2xl);
  margin-inline: var(--ds-section-header-inline, auto);
  max-width: var(--ds-section-header-measure, 60ch);
}

.ds-mosaic__desc {
  margin-block: 0;
  margin-inline: var(--ds-section-header-inline, auto);
  max-width: 52ch;
}

/* ─── The grid ──────────────────────────────────────────────────────────── */

.ds-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 42vw;
  gap: var(--ds-space-sm);
}

/* Bleed: fill the full-width section edge-to-edge. Uses width:100% (NOT 100vw)
   so it never exceeds the viewport when a scrollbar is present — 100vw includes
   the scrollbar gutter and creates a page-wide horizontal overflow on mobile. */
.ds-mosaic--bleed .ds-mosaic__grid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  transform: none;
}

@media (min-width: 720px) {
  .ds-mosaic__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(150px, 17vw, 240px);
    grid-auto-flow: dense;
  }

  /* Curated rhythm: a hero tile, then alternating wide / narrow tiles.
     grid-auto-flow:dense fills any gaps left by other image counts. */
  .ds-mosaic__tile                  { grid-column: span 6; grid-row: span 1; }
  .ds-mosaic__tile:nth-child(6n+1)  { grid-column: span 6; grid-row: span 2; }
  .ds-mosaic__tile:nth-child(6n+2)  { grid-column: span 6; }
  .ds-mosaic__tile:nth-child(6n+3)  { grid-column: span 6; }
  .ds-mosaic__tile:nth-child(6n+4)  { grid-column: span 4; }
  .ds-mosaic__tile:nth-child(6n+5)  { grid-column: span 4; }
  .ds-mosaic__tile:nth-child(6n+6)  { grid-column: span 4; }
}

/* ─── Tiles ─────────────────────────────────────────────────────────────── */

.ds-mosaic__tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-color: var(--ds-light);
}

.ds-mosaic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--ds-transition-slow) var(--ds-ease);
}

.ds-mosaic__tile:hover .ds-mosaic__img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .ds-mosaic__img { transition: none; }
}

/* ─── Marquee variant (variant => 'marquee') ─────────────────────────────── */
/* One row of job shots scrolling continuously. Photos (unlike reviews) may
   repeat: the dupes are aria-hidden loop padding, not extra claims. */
.ds-mosaic__marquee {
  overflow: hidden;
  width: 100%;
}

.ds-mosaic__track {
  display: flex;
  gap: var(--ds-space-lg);
  width: max-content;
  animation: ds-mosaic-scroll var(--ds-mosaic-dur, 60s) linear infinite;
}

.ds-mosaic__marquee:hover .ds-mosaic__track,
.ds-mosaic__marquee:focus-within .ds-mosaic__track {
  animation-play-state: paused;
}

.ds-mosaic__track > .ds-mosaic__tile {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 420px);
  overflow: visible;
  background: none;
}

.ds-mosaic__track .ds-mosaic__img {
  aspect-ratio: 3 / 2;
  height: auto;
  width: 100%;
}

@keyframes ds-mosaic-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced motion: stop the scroll, drop the dupes, allow a manual swipe. */
@media (prefers-reduced-motion: reduce) {
  .ds-mosaic__track {
    animation: none;
    width: 100%;
    overflow-x: auto;
  }
  .ds-mosaic__tile--dupe { display: none; }
}

/* --- components/meet-owner/meet-owner.css --- */
/* ===========================================
   components/meet-owner/meet-owner.css
   Editorial owner intro: portrait + display pull-quote. Tokens only.
   =========================================== */

.ds-meet-owner {
  position: relative;
  overflow: hidden;
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-meet-owner__watermark {
  position: absolute;
  right: -90px;
  top: 30px;
  width: 460px;
  max-width: 60%;
  color: var(--ds-primary);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
.ds-meet-owner__watermark svg { width: 100%; height: auto; display: block; }

.ds-meet-owner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
  align-items: center;
}

/* ─── Portrait ─────────────────────────────────────────────────────────── */
/* Signature treatment (ARCHITECTURE.md §6.10): the portrait is framed by an
   offset accent keyline behind its lower-right, with a floating name-plate card
   overlapping the lower-left. The two opposite anchors frame the photo and give
   the section a bespoke, considered feel. No radial glow, no coloured shadow,
   no novelty single-corner radius. Reskins cleanly per look. */
.ds-meet-owner__portrait { position: relative; margin: 0; max-width: 420px; isolation: isolate; }
.ds-meet-owner__frame {
  position: absolute;
  right: calc(-1 * var(--ds-space-md));
  bottom: calc(-1 * var(--ds-space-md));
  width: 72%;
  height: 74%;
  border: 2px solid var(--ds-accent);
  border-radius: var(--ds-radius-image);
  z-index: 0;
}
.ds-meet-owner__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--ds-radius-image);
  box-shadow: var(--ds-shadow-lg);
}

/* Floating name-plate: a small card overlapping the photo's lower-left. */
.ds-meet-owner__nameplate {
  position: absolute;
  left: calc(-1 * var(--ds-space-md));
  bottom: var(--ds-space-lg);
  z-index: 2;
  max-width: 78%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--ds-space-sm) var(--ds-space-md);
  background: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-lg);
}
.ds-meet-owner__nameplate-name {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  line-height: 1.2;
  color: var(--ds-dark);
}
.ds-meet-owner__nameplate-role {
  font-size: var(--ds-fs-sm);
  line-height: 1.35;
  color: var(--ds-body-light);
}

/* ─── Body ─────────────────────────────────────────────────────────────── */
.ds-meet-owner__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-meet-owner__quote {
  position: relative;
  margin: 0 0 var(--ds-space-lg);
  /* No accent edge-border: the coloured left rule reads as an AI/template tell
     (feedback_no_left_top_border_cards). Quote sits flush with the column. */
  font-family: var(--ds-heading-display, var(--ds-heading));
  font-style: normal; /* override any global blockquote italic; heavy grotesk italic reads awkward */
  font-weight: var(--ds-fw-semibold);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.32;
  color: var(--ds-primary-dark);
  letter-spacing: var(--ds-ls-tight);
  text-wrap: balance;
}
.ds-meet-owner__quote .ds-mark { color: var(--ds-secondary); white-space: normal; }
.ds-meet-owner__text { max-width: 42rem; color: var(--ds-body); }
.ds-meet-owner__text p { margin-block: 0 var(--ds-space-md); }

.ds-meet-owner__link {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  margin-top: var(--ds-space-md);
  color: var(--ds-secondary);
  font-weight: var(--ds-fw-bold);
  text-decoration: none;
  transition: gap var(--ds-transition-base);
}
.ds-meet-owner__link svg { width: 1.1em; height: 1.1em; }
.ds-meet-owner__link:hover, .ds-meet-owner__link:focus-visible { gap: var(--ds-space-sm); }

/* ─── Desktop ──────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .ds-meet-owner__inner {
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(2.5rem, 5vw, 3.75rem);
  }
  .ds-meet-owner--img-right .ds-meet-owner__portrait { order: 2; }
}

/* --- components/motif/motif.css --- */
/* ===========================================
   components/motif/motif.css
   =========================================== */

.ds-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-lg);
  pointer-events: none;
}

.ds-motif--divider {
  max-width: var(--ds-container);
  margin-inline: auto;
  padding-inline: var(--ds-space-lg);
}

.ds-motif--end-mark {
  margin-block: var(--ds-space-xl);
}

.ds-motif__line {
  flex: 1 1 auto;
  height: 1px;
  background-color: var(--ds-border);
}

.ds-motif__mark {
  display: inline-flex;
  line-height: 0;
}

.ds-motif__mark svg {
  width: var(--ds-motif-size, 28px);
  height: auto;
}

.ds-motif--end-mark .ds-motif__mark svg {
  width: var(--ds-motif-size-lg, 36px);
}

/* Tones */
.ds-motif--tone-muted   .ds-motif__mark { color: var(--ds-muted);   opacity: 0.7; }
.ds-motif--tone-primary .ds-motif__mark { color: var(--ds-primary); }
.ds-motif--tone-accent  .ds-motif__mark { color: var(--ds-accent); }

/* --- components/newsletter/newsletter.css --- */
/* ===========================================
   components/newsletter/newsletter.css
   =========================================== */

.ds-newsletter {
  padding-block: var(--ds-section-pad);
}

.ds-newsletter--inline {
  padding-block: var(--ds-space-xl);
}

.ds-newsletter__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
  text-align: center;
  align-items: center;
}

/* Card variant: contained, elevated panel. */
.ds-newsletter--card .ds-newsletter__inner {
  padding: var(--ds-space-2xl);
  background-color: var(--ds-primary-light);
  border-radius: var(--ds-radius-lg);
}

/* Band variant: full-bleed primary band. */
.ds-newsletter--band {
  background-color: var(--ds-primary-dark);
}

.ds-newsletter--band .ds-newsletter__heading,
.ds-newsletter--band .ds-newsletter__body {
  color: var(--ds-white);
}

.ds-newsletter--band .ds-newsletter__consent {
  color: var(--ds-white-40);
}

/* Tint band: for pages where the dark band would stack against another dark
   section (footer, cta-banner). Keeps the rhythm paper → tint → dark. */
.ds-newsletter--band.ds-newsletter--bg-tint {
  background-color: var(--ds-primary-light);
}

.ds-newsletter--band.ds-newsletter--bg-tint .ds-newsletter__heading {
  color: var(--ds-dark);
}

.ds-newsletter--band.ds-newsletter--bg-tint .ds-newsletter__body {
  color: var(--ds-body);
}

.ds-newsletter--band.ds-newsletter--bg-tint .ds-newsletter__consent {
  color: var(--ds-muted);
}

/* Inline variant: left-aligned, lighter, sits within article flow. */
.ds-newsletter--inline .ds-newsletter__inner {
  text-align: left;
  align-items: stretch;
  padding: var(--ds-space-xl);
  background-color: var(--ds-light);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
}

.ds-newsletter__copy {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
}

.ds-newsletter__heading {
  margin: 0;
}

.ds-newsletter__body {
  color: var(--ds-body);
}

.ds-newsletter--inline .ds-newsletter__body > :last-child {
  margin-bottom: 0;
}

/* Form */
.ds-newsletter__form-wrap {
  width: 100%;
  max-width: 480px;
}

.ds-newsletter--inline .ds-newsletter__form-wrap {
  max-width: none;
}

.ds-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm);
}

.ds-newsletter__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: var(--ds-space-md) var(--ds-space-lg);
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  color: var(--ds-body);
  background-color: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
}

.ds-newsletter__input:focus-visible {
  outline: 2px solid var(--ds-primary);
  outline-offset: 1px;
  border-color: var(--ds-primary);
}

.ds-newsletter__submit {
  flex: 0 0 auto;
}

.ds-newsletter__consent {
  margin: 0;
  font-size: var(--ds-fs-xs);
  color: var(--ds-muted);
}

/* --- components/photo-upload/photo-upload.css --- */
/* Every child rule is scoped under .ds-photo-upload (0-2-0) because the control sits
   INSIDE WPForms, whose full stylesheet sets width/height:auto on
   "div.wpforms-container-full *" (0-1-1). Unscoped, the 52px thumbnail box lost and an
   uploaded photo rendered at its own size (Boring Guy staging, 2026-09-28). */
/* ===========================================
   photo-upload.css: compact photo attach for quote forms.
   2.0.0 layout from Mykyta's Guyatt quote-form states (Figma 9:5637): an outlined
   "Add photos" button with the hint beside it, small square thumbnails with a remove
   control, a quiet empty slot for the next one, and a running count. Token-driven so
   it reads as part of each site. Marker class `ds-photo-upload` (smoke-site §8b).
   =========================================== */

.ds-photo-upload {
  margin: var(--ds-space-md) 0;
  font-family: var(--ds-body-font);
  display: grid;
  gap: var(--ds-space-sm);
}

.ds-photo-upload .ds-photo-upload__label {
  display: block;
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
}
/* The button text and hint already say what the control is; the label stays as the
   input's accessible name. */
.ds-photo-upload .ds-photo-upload__label--sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Button + hint on one row; the hint drops under the button on a narrow form. */
.ds-photo-upload .ds-photo-upload__row {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
}

/* The button: outlined, compact, one line. Never a full-width drop zone. */
.ds-photo-upload .ds-photo-upload__drop {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  min-height: var(--ds-tap-target, 44px);
  padding: 0 var(--ds-space-md);
  border: 1.5px solid var(--ds-dark);
  border-radius: var(--ds-radius-sm);
  background: var(--ds-white);
  color: var(--ds-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ds-transition-base), border-color var(--ds-transition-base), color var(--ds-transition-base);
}
.ds-photo-upload .ds-photo-upload__drop:hover { background: var(--ds-bg-elevated); }
.ds-photo-upload .ds-photo-upload__drop:focus-within { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.ds-photo-upload.is-dragover .ds-photo-upload__drop { border-color: var(--ds-accent); background: var(--ds-primary-10); }

/* At the cap the button goes quiet: still visible, no longer inviting a tap. */
.ds-photo-upload.is-full .ds-photo-upload__drop {
  border-color: var(--ds-border);
  color: var(--ds-body-light);
  cursor: default;
  background: var(--ds-white);
}

.ds-photo-upload .ds-photo-upload__icon { flex: none; display: inline-flex; color: currentColor; }
.ds-photo-upload .ds-photo-upload__icon svg { width: 20px; height: 20px; }

.ds-photo-upload .ds-photo-upload__button-text {
  font-size: var(--ds-fs-base);
  font-weight: var(--ds-fw-semibold);
  color: inherit;
}

/* Visually hidden, still focusable and clickable through the wrapping label. The
   !important is deliberate (the standard visually-hidden pattern): WPForms styles file
   inputs at a higher specificity, and a hidden input that gets its width back pushes
   the page sideways. It is anchored to the button, which is positioned. */
.ds-photo-upload .ds-photo-upload__drop { position: relative; }
.ds-photo-upload .ds-photo-upload__input {
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important;
  border: 0 !important; opacity: 0 !important;
}

.ds-photo-upload .ds-photo-upload__hint {
  margin: 0;
  font-size: var(--ds-fs-sm);
  line-height: 1.43;
  color: var(--ds-body-light);
}

/* ── Thumbnails: small fixed squares, never the photo's own size ── */

.ds-photo-upload .ds-photo-upload__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}
.ds-photo-upload .ds-photo-upload__previews:empty { display: none; }

.ds-photo-upload .ds-photo-upload__item {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  background: var(--ds-black-8);
}
.ds-photo-upload .ds-photo-upload__item--slot { background: var(--ds-black-8); opacity: .6; }

.ds-photo-upload .ds-photo-upload__thumb {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  /* EXIF orientation honoured on preview (image_exif_orientation_gotcha). */
  image-orientation: from-image;
}

/* Upload progress veil: fades out when the item gets .is-done. */
.ds-photo-upload .ds-photo-upload__item:not(.ds-photo-upload__item--slot)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ds-white-40);
  opacity: 1;
  transition: opacity var(--ds-transition-base);
  pointer-events: none;
}
.ds-photo-upload .ds-photo-upload__item.is-done::after,
.ds-photo-upload .ds-photo-upload__item.is-error::after { opacity: 0; }
.ds-photo-upload .ds-photo-upload__item.is-error { outline: 2px solid var(--ds-error); outline-offset: -2px; }

/* Remove: a small dark disc sitting on the thumbnail's top-right corner. */
.ds-photo-upload .ds-photo-upload__remove {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 1;
  width: 24px;
  height: 24px;
  /* Site tap-target rules (min 44px on every button) would blow this up into a block
     that covers the thumbnail; the disc is 24px, the WCAG 2.2 minimum target. */
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--ds-white);
  border-radius: var(--ds-radius-full);
  background: var(--ds-dark);
  color: var(--ds-white);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.ds-photo-upload .ds-photo-upload__remove:hover { background: var(--ds-black, #000); }

.ds-photo-upload .ds-photo-upload__status {
  margin: 0;
  font-size: var(--ds-fs-sm);
  line-height: 1.43;
  color: var(--ds-body-light);
}
.ds-photo-upload .ds-photo-upload__status:empty { display: none; }
.ds-photo-upload .ds-photo-upload__status.is-error { color: var(--ds-error); }

@media (max-width: 480px) {
  .ds-photo-upload .ds-photo-upload__row { flex-direction: column; align-items: flex-start; gap: var(--ds-space-xs); }
}

/* ── Companion URL field (plain WPForms Lite text field, builder CSS class
      `ds-photo-urls`): carries the uploaded URLs into the entry + lead email,
      never shown to the visitor. ── */

.wpforms-field.ds-photo-urls,
.ds-photo-urls-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
}

/* --- components/pillar-nav/pillar-nav.css --- */
/* ===========================================
   components/pillar-nav/pillar-nav.css
   =========================================== */

.ds-pillar-nav {
  padding-block: var(--ds-space-2xl);
  background-color: var(--ds-bg);
}

.ds-pillar-nav__header {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
  margin-bottom: var(--ds-space-lg);
}

.ds-pillar-nav__heading {
  margin: 0;
}

.ds-pillar-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Pills variant ──────────────────────────────────────────────────── */
.ds-pillar-nav--pills .ds-pillar-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm);
}

.ds-pillar-nav--pills .ds-pillar-nav__item {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  padding: var(--ds-space-sm) var(--ds-space-lg);
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-body);
  background-color: var(--ds-light);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  text-decoration: none;
  transition: color var(--ds-transition-fast) var(--ds-ease),
              background-color var(--ds-transition-fast) var(--ds-ease),
              border-color var(--ds-transition-fast) var(--ds-ease);
}

.ds-pillar-nav--pills .ds-pillar-nav__item:hover {
  color: var(--ds-primary);
  border-color: var(--ds-primary);
}

.ds-pillar-nav--pills .ds-pillar-nav__item.is-active {
  color: var(--ds-primary-ink, var(--ds-white));
  background-color: var(--ds-primary);
  border-color: var(--ds-primary);
}

/* Count renders as a chip, not a stray numeral inside the serif label. */
.ds-pillar-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  padding: 0.1em 0.55em;
  margin-left: var(--ds-space-xs);
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.4;
  color: var(--ds-primary);
  background-color: var(--ds-primary-10);
  border-radius: var(--ds-radius-full);
  vertical-align: middle;
}

.ds-pillar-nav--pills .ds-pillar-nav__item.is-active .ds-pillar-nav__count {
  color: var(--ds-white);
  background-color: var(--ds-white-15);
}

/* ── Cards variant ──────────────────────────────────────────────────── */
.ds-pillar-nav--cards .ds-pillar-nav__list {
  display: grid;
  grid-template-columns: repeat(var(--ds-pillar-nav-cols, 3), minmax(0, 1fr));
  gap: var(--ds-space-lg);
}

/* Orphan guard: 2 or 4 cards render 2-up. */
.ds-pillar-nav--cols-2 .ds-pillar-nav__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .ds-pillar-nav--cards .ds-pillar-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ds-pillar-nav--cards .ds-pillar-nav__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ds-pillar-nav--cards .ds-pillar-nav__item {
  position: relative; /* anchors the corner arrow */
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  height: 100%;
  padding: var(--ds-space-lg);
  padding-right: var(--ds-space-2xl); /* clears the corner arrow */
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  text-decoration: none;
  color: var(--ds-body);
  transition: transform var(--ds-transition-base) var(--ds-ease),
              box-shadow var(--ds-transition-base) var(--ds-ease),
              border-color var(--ds-transition-base) var(--ds-ease);
}

.ds-pillar-nav--cards .ds-pillar-nav__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-md);
  border-color: var(--ds-primary);
}

.ds-pillar-nav--cards .ds-pillar-nav__item.is-active {
  border-color: var(--ds-primary);
}

.ds-pillar-nav__icon {
  display: inline-flex;
  color: var(--ds-primary);
}

.ds-pillar-nav__icon svg {
  width: var(--ds-icon-md, 24px);
  height: var(--ds-icon-md, 24px);
}

.ds-pillar-nav--cards .ds-pillar-nav__label {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-md);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
}

.ds-pillar-nav__desc {
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
  color: var(--ds-body-light);
}

/* Corner arrow: rest-state affordance that the card is a link. */
.ds-pillar-nav__arrow {
  position: absolute;
  top: var(--ds-space-lg);
  right: var(--ds-space-lg);
  display: inline-flex;
  color: var(--ds-muted);
  transition: color var(--ds-transition-fast) var(--ds-ease),
              transform var(--ds-transition-fast) var(--ds-ease);
}

.ds-pillar-nav__arrow svg {
  width: var(--ds-icon-sm, 18px);
  height: var(--ds-icon-sm, 18px);
}

.ds-pillar-nav--cards .ds-pillar-nav__item:hover .ds-pillar-nav__arrow {
  color: var(--ds-primary);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .ds-pillar-nav__item,
  .ds-pillar-nav__arrow {
    transition: none;
  }
}

/* --- components/post-grid/post-grid.css --- */
/* ===========================================
   components/post-grid/post-grid.css
   =========================================== */

.ds-post-grid {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-post-grid__header {
  max-width: var(--ds-container-narrow, 720px);
  margin-bottom: var(--ds-space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
}

.ds-post-grid__heading {
  margin: 0;
}

.ds-post-grid__intro {
  margin: 0;
}

.ds-post-grid__cards {
  display: grid;
  grid-template-columns: repeat(var(--ds-post-grid-cols, 3), minmax(0, 1fr));
  gap: var(--ds-space-xl);
}

/* Counts of 2 or 4 render 2-up so the grid never strands an orphan card. */
.ds-post-grid--cols-2 .ds-post-grid__cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .ds-post-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ds-post-grid__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Card */
.ds-post-grid__card {
  display: flex;
  flex-direction: column;
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ds-transition-base) var(--ds-ease),
              box-shadow var(--ds-transition-base) var(--ds-ease);
}

.ds-post-grid__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-lg);
}

.ds-post-grid__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--ds-light);
}

.ds-post-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ds-transition-slow) var(--ds-ease);
}

.ds-post-grid__card:hover .ds-post-grid__img {
  transform: scale(1.04);
}

.ds-post-grid__img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ds-light), var(--ds-border));
}

.ds-post-grid__body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  padding: var(--ds-space-lg);
  flex: 1 1 auto; /* lets the read cue pin to the card foot */
}

.ds-post-grid__category {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-primary);
}

.ds-post-grid__title {
  margin: 0;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-dark);
}

.ds-post-grid__card:hover .ds-post-grid__title {
  color: var(--ds-primary);
}

.ds-post-grid__excerpt {
  margin: 0;
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
  color: var(--ds-body-light);
}

/* Rest-state affordance: the card reads as a link before any hover. */
.ds-post-grid__more {
  margin-top: auto;
  padding-top: var(--ds-space-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-primary);
}

.ds-post-grid__more svg {
  width: 1em;
  height: 1em;
  transition: transform var(--ds-transition-fast) var(--ds-ease);
}

.ds-post-grid__card:hover .ds-post-grid__more svg {
  transform: translateX(4px);
}

/* Featured first card: span the full row, horizontal on wide screens. */
@media (min-width: 901px) {
  .ds-post-grid--featured-first .ds-post-grid__card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .ds-post-grid--featured-first .ds-post-grid__card--featured .ds-post-grid__media {
    flex: 0 0 55%;
    aspect-ratio: auto;
  }

  .ds-post-grid--featured-first .ds-post-grid__card--featured .ds-post-grid__body {
    flex: 1 1 auto;
    justify-content: center;
    padding: var(--ds-space-2xl);
  }

  .ds-post-grid--featured-first .ds-post-grid__card--featured .ds-post-grid__title {
    font-size: var(--ds-h3);
  }

  .ds-post-grid--featured-first .ds-post-grid__card--featured .ds-post-grid__excerpt {
    font-size: var(--ds-fs-base);
  }
}

/* Pagination */
.ds-post-grid__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--ds-space-sm);
  margin-top: var(--ds-space-2xl);
}

.ds-post-grid__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--ds-tap-target, 44px);
  height: var(--ds-tap-target, 44px);
  padding-inline: var(--ds-space-sm);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  color: var(--ds-body);
  text-decoration: none;
  font-weight: var(--ds-fw-semibold);
  transition: background-color var(--ds-transition-fast) var(--ds-ease),
              color var(--ds-transition-fast) var(--ds-ease),
              border-color var(--ds-transition-fast) var(--ds-ease);
}

.ds-post-grid__pagination a.page-numbers:hover {
  border-color: var(--ds-primary);
  color: var(--ds-primary);
}

.ds-post-grid__pagination .page-numbers.current {
  background-color: var(--ds-primary);
  border-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
}

.ds-post-grid__empty {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ds-post-grid__card,
  .ds-post-grid__img,
  .ds-post-grid__more svg,
  .ds-post-grid__pagination .page-numbers {
    transition: none;
  }
}

/* --- components/pov-frame/pov-frame.css --- */
/* ── POV Frame ─────────────────────────────────────────────────────────────
   Full-bleed photographic zone divider. Structure and crop control only; the
   look supplies the plate colour, the seam and the type.
   ------------------------------------------------------------------------ */

.ds-povframe {
  position: relative;
  display: block;
  width: 100%;
}

.ds-povframe__figure {
  position: relative;
  margin: 0;
  display: block;
}

.ds-povframe__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

/* Portrait phone frames carry the machinery low: default the crop to the foot
   of the frame so a wide band never eats the subject. */
.ds-povframe--focus-bottom .ds-povframe__img { object-position: 50% 100%; }
.ds-povframe--focus-low    .ds-povframe__img { object-position: 50% 62%; }
.ds-povframe--focus-center .ds-povframe__img { object-position: 50% 50%; }
.ds-povframe--focus-top    .ds-povframe__img { object-position: 50% 0%; }

.ds-povframe--tall  .ds-povframe__figure { aspect-ratio: 3 / 2; }
.ds-povframe--band  .ds-povframe__figure { aspect-ratio: 21 / 9; }
.ds-povframe--deep  .ds-povframe__figure { aspect-ratio: 16 / 9; }
.ds-povframe--strip .ds-povframe__figure { aspect-ratio: 32 / 9; }

.ds-povframe__caption {
  position: absolute;
  z-index: 2;
  max-width: min(34ch, calc(100% - 2rem));
  margin: 0;
  padding: 0.75rem 1.1rem;
  background-color: var(--ds-paper, #F4F0E8);
  color: var(--ds-neutral-ink, #1A1A1A);
}

.ds-povframe--cap-bl .ds-povframe__caption { left: 0; bottom: 0; }
.ds-povframe--cap-br .ds-povframe__caption { right: 0; bottom: 0; }
.ds-povframe--cap-tl .ds-povframe__caption { left: 0; top: 0; }

/* ── The card over the frame ───────────────────────────────────────────────
   Structure only: a container-width overlay laid over the photograph, holding
   one panel in one column of a two-column grid, or centred. The look supplies
   the panel's ground, its type and its shape.

   Desktop only as an OVERLAY. Under 860px the panel drops below the photograph
   instead of covering it, because a card over a 375px frame leaves no
   photograph visible at all — which is the whole reason the frame is there.
   ------------------------------------------------------------------------ */

.ds-povframe--carded .ds-povframe__overlay-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.ds-povframe--carded .ds-povframe__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.ds-povframe__card-heading,
.ds-povframe__card-body { margin: 0; }
.ds-povframe__card-actions { margin-top: 0.4rem; }

@media (min-width: 860px) {
  .ds-povframe--carded .ds-povframe__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
  }
  .ds-povframe--carded .ds-povframe__overlay-inner {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
  }
  .ds-povframe--carded .ds-povframe__card { pointer-events: auto; }
  .ds-povframe--card-left   .ds-povframe__card { grid-column: 1; }
  .ds-povframe--card-right  .ds-povframe__card { grid-column: 2; }
  .ds-povframe--card-center .ds-povframe__overlay-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .ds-povframe--card-center .ds-povframe__card {
    align-items: center;
    text-align: center;
    max-width: 44rem;
  }
}

@media (max-width: 700px) {
  /* A 21:9 slice of a portrait phone frame is a letterbox on a 375px screen.
     Give every ratio real height back on mobile. */
  .ds-povframe--tall  .ds-povframe__figure,
  .ds-povframe--band  .ds-povframe__figure,
  .ds-povframe--deep  .ds-povframe__figure,
  .ds-povframe--strip .ds-povframe__figure { aspect-ratio: 4 / 3; }
}

/* --- components/pov-hero/pov-hero.css --- */
/* ── POV Hero ──────────────────────────────────────────────────────────────
   Copy on a committed ground, a PORTRAIT media panel bleeding to the right
   edge at its native aspect. Structure only; the look supplies colour.
   ------------------------------------------------------------------------ */

.ds-povhero {
  position: relative;
  background-color: var(--ds-primary, #1A1A1A);
  color: var(--ds-paper, #F4F0E8);
  overflow: hidden;
}

.ds-povhero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ds-povhero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.9rem, 1.5vw, 1.35rem);
  padding: clamp(2rem, 4vw, 3.5rem) var(--ds-gutter, 1.25rem) clamp(2.25rem, 4vw, 3.5rem);
  max-width: calc(var(--ds-container, 1200px) / 2 + 2rem);
  margin-inline-start: auto;
}

.ds-povhero__heading,
.ds-povhero__sub,
.ds-povhero__review { margin: 0; }

.ds-povhero__review { display: flex; align-items: center; gap: 0.6rem; }
.ds-povhero__stars { display: inline-flex; gap: 0.15rem; }
.ds-povhero__stars svg { width: 1.05em; height: 1.05em; display: block; }

/* The accent field in the fold. */
.ds-povhero__answer {
  align-self: stretch;
  background-color: var(--ds-accent, #E0A010);
  color: var(--ds-accent-ink, #1A1A1A);
  padding: clamp(1rem, 1.8vw, 1.4rem) clamp(1.1rem, 2vw, 1.6rem);
}
.ds-povhero__answer-q,
.ds-povhero__answer-a { margin: 0; }

.ds-povhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-self: stretch;
}
.ds-povhero__actions .ds-btn { flex: 1 1 14rem; }

.ds-povhero__proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

/* ── Media panel ── */

.ds-povhero__media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.ds-povhero__frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  background-color: var(--ds-primary, #1A1A1A);
}

/* Solid decal plate high on the frame, where the photograph is bright. */
.ds-povhero__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  padding: 0.85rem 1rem;
  background-color: var(--ds-primary, #1A1A1A);
  line-height: 0;
}
.ds-povhero__badge img {
  display: block;
  width: clamp(70px, 7vw, 104px);
  height: auto;
}

/* Light plate low on the frame, where the machinery is dark. */
.ds-povhero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  max-width: min(30ch, calc(100% - 1.5rem));
  padding: 0.7rem 1.05rem;
  background-color: var(--ds-paper, #F4F0E8);
  color: var(--ds-neutral-ink, #1A1A1A);
}

@media (min-width: 1024px) {
  .ds-povhero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 30vw);
    align-items: stretch;
  }
  .ds-povhero__content {
    padding-block: clamp(2.5rem, 4.5vw, 4rem);
    padding-inline-end: clamp(2rem, 4vw, 3.5rem);
  }
  .ds-povhero__media { min-height: 640px; }
}

/* --- components/pricing-drivers/pricing-drivers.css --- */
/* ===========================================
   components/pricing-drivers/pricing-drivers.css
   "What drives the price" strip: numbered square cards.
   No accent edge-border (banned as an AI/template tell,
   feedback_no_left_top_border_cards). No invented dollar figures.
   Every value resolves to a --ds-* token.
   =========================================== */

.ds-drivers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ds-space-lg);
}
.ds-driver {
  border: 1px solid var(--ds-border);
  background: var(--ds-white);
  padding: var(--ds-space-lg);
}
.ds-driver__num {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-primary);
  font-size: var(--ds-fs-lg);
}
.ds-driver h3 { font-size: var(--ds-fs-md); margin: var(--ds-space-xs) 0 var(--ds-space-sm); }
.ds-driver p { margin: 0; font-size: var(--ds-fs-sm); color: var(--ds-muted); }
.ds-price-note {
  margin: var(--ds-space-xl) 0 0;
  font-size: var(--ds-fs-sm);
  color: var(--ds-muted);
  border-left: 3px solid var(--ds-border);
  padding-left: var(--ds-space-md);
}

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


/* Optional actions under the grid (added 2026-08-28). Mirrors
   .ds-process-grid__cta so the two "how it works / what it costs" sections
   close the same way. */
.ds-drivers__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-2xl);
}

/* --- components/process-grid/process-grid.css --- */
/* ===========================================
   components/process-grid/process-grid.css
   =========================================== */

.ds-process-grid {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

/* ─── Header (same shape as services-grid) ───────────────────────────── */

.ds-process-grid__header {
  margin-bottom: var(--ds-space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
}

.ds-process-grid__header--split {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ds-space-lg);
}

@media (min-width: 768px) {
  .ds-process-grid__header--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.ds-process-grid__header-copy {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  max-width: 60ch;
}

.ds-process-grid__heading { max-width: 22ch; }
.ds-process-grid__desc    { max-width: 60ch; }

.ds-process-grid__header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
}

/* ─── Steps grid ─────────────────────────────────────────────────────── */

.ds-process-grid__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-xl);
}

@media (min-width: 600px) {
  .ds-process-grid__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ds-process-grid__steps {
    grid-template-columns: repeat(var(--ds-process-cols, 4), 1fr);
  }
}

.ds-process-grid__step {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
}

/* Numeral styles removed 2026-08-24: ghost numerals are banned portfolio-wide
   (comb 2.1). 'numbered' mode renders title + body only. */

.ds-process-grid__step-title {
  color: var(--ds-dark);
  margin: 0;
}

.ds-process-grid__step-desc {
  color: var(--ds-body);
  margin: 0;
  max-width: 36ch;
}

/* ─── Image-side mode ────────────────────────────────────────────────── */

.ds-process-grid--image-side .ds-process-grid__card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 960px) {
  .ds-process-grid--image-side .ds-process-grid__card {
    grid-template-columns: 1fr 1.1fr;
  }
}

.ds-process-grid__card-media {
  background-color: var(--ds-light);
  aspect-ratio: 4 / 3;
}

.ds-process-grid__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-process-grid__list {
  list-style: none;
  padding: var(--ds-space-2xl);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
}

.ds-process-grid__step--list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-md);
  align-items: start;
}

.ds-process-grid__step-body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

/* ─── Footer CTA ─────────────────────────────────────────────────────── */

.ds-process-grid__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--ds-space-2xl);
}

/* --- components/product-recs/product-recs.css --- */
/* ===========================================
   components/product-recs/product-recs.css
   =========================================== */

.ds-product-recs {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-product-recs__header {
  max-width: var(--ds-container-narrow, 720px);
  margin-bottom: var(--ds-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
}

.ds-product-recs__heading,
.ds-product-recs__intro {
  margin: 0;
}

.ds-product-recs__disclosure {
  margin: 0 0 var(--ds-space-xl);
  padding: var(--ds-space-sm) var(--ds-space-md);
  font-size: var(--ds-fs-xs);
  line-height: var(--ds-lh-body);
  color: var(--ds-body-light);
  background-color: var(--ds-light);
  border-radius: var(--ds-radius-md);
}

.ds-product-recs__grid {
  display: grid;
  grid-template-columns: repeat(var(--ds-product-recs-cols, 3), minmax(0, 1fr));
  gap: var(--ds-space-xl);
}

@media (max-width: 900px) {
  .ds-product-recs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ds-product-recs__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ds-product-recs__card {
  display: flex;
  flex-direction: column;
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
}

.ds-product-recs__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--ds-light);
}

.ds-product-recs__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--ds-space-md);
}

.ds-product-recs__img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ds-light), var(--ds-border));
}

.ds-product-recs__badge {
  position: absolute;
  inset-block-start: var(--ds-space-md);
  inset-inline-start: var(--ds-space-md);
  padding: var(--ds-space-xs) var(--ds-space-sm);
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-accent-ink, var(--ds-white));
  background-color: var(--ds-accent);
  border-radius: var(--ds-radius-sm);
}

.ds-product-recs__body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
  padding: var(--ds-space-lg);
  flex: 1 1 auto;
}

.ds-product-recs__merchant {
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-muted);
}

.ds-product-recs__name {
  margin: 0;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-md);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-dark);
}

.ds-product-recs__rating {
  font-size: var(--ds-fs-sm);
  color: var(--ds-secondary);
}

.ds-product-recs__desc {
  margin: var(--ds-space-xs) 0 0;
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
  color: var(--ds-body-light);
}

.ds-product-recs__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-sm);
  margin-top: auto;
  padding-top: var(--ds-space-md);
}

.ds-product-recs__price {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
}

.ds-product-recs__cta {
  flex: 0 0 auto;
}

/* --- components/promise-steps/promise-steps.css --- */
/* ===========================================
   components/promise-steps/promise-steps.css
   Card-framed numbered promise with a dashed connector + payoff pill.
   Tokens only.
   =========================================== */

.ds-promise-steps {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}
/* 'tint' blends primary + accent so the section reads warm and branded. */
.ds-promise-steps--tint {
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ds-primary) 10%, var(--ds-bg)),
    color-mix(in srgb, var(--ds-accent) 12%, var(--ds-bg)));
}
.ds-promise-steps--paper { background-color: var(--ds-paper); }

.ds-promise-steps__card {
  max-width: 1040px;
  margin-inline: auto;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-xl);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.5rem);
}

.ds-promise-steps__head { text-align: center; max-width: 46rem; margin-inline: auto; }
.ds-promise-steps__eyebrow { margin: 0 0 var(--ds-space-xs); color: var(--ds-accent-hover); }
.ds-promise-steps__heading { margin: 0 0 var(--ds-space-xs); }
.ds-promise-steps__sub { margin: 0; color: var(--ds-muted); font-size: var(--ds-fs-md); }

/* ─── Steps ────────────────────────────────────────────────────────────── */
.ds-promise-steps__steps {
  list-style: none;
  margin: var(--ds-space-2xl) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-xl);
  position: relative;
}
.ds-promise-steps__step { text-align: center; position: relative; z-index: 1; }

.ds-promise-steps__num {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--ds-space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-full);
  background-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-lg);
  border: 4px solid var(--ds-bg-elevated);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ds-primary) 32%, transparent);
}
.ds-promise-steps__step-title { margin: 0 0 var(--ds-space-xs); font-size: var(--ds-h4); color: var(--ds-primary-dark); }
.ds-promise-steps__step-desc { margin: 0; color: var(--ds-body); font-size: var(--ds-fs-base); }

/* ─── Result payoff ────────────────────────────────────────────────────── */
.ds-promise-steps__result {
  margin: var(--ds-space-2xl) 0 0;
  text-align: center;
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  color: var(--ds-primary-dark);
}
.ds-promise-steps__result-pill {
  display: inline-block;
  background-color: var(--ds-accent);
  color: var(--ds-brand-accent-900, var(--ds-primary-dark));
  padding: var(--ds-space-xs) var(--ds-space-md);
  border-radius: var(--ds-radius-md);
}

/* ─── Desktop: row with dashed connector ───────────────────────────────── */
@media (min-width: 768px) {
  .ds-promise-steps--n-3 .ds-promise-steps__steps { grid-template-columns: repeat(3, 1fr); }
  .ds-promise-steps--n-2 .ds-promise-steps__steps { grid-template-columns: repeat(2, 1fr); }
  .ds-promise-steps--n-4 .ds-promise-steps__steps { grid-template-columns: repeat(4, 1fr); }

  /* Dashed connector behind the numbers, inset from the outer numbers. */
  .ds-promise-steps__steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 16%;
    right: 16%;
    height: 2px;
    background-image: repeating-linear-gradient(90deg, var(--ds-primary) 0 8px, transparent 8px 16px);
    opacity: 0.5;
    z-index: 0;
  }
}

/* --- components/promise-strip/promise-strip.css --- */
/* Promise Strip — branded guarantee band (genesis bespoke component). */

.ds-promise-strip {
  --_ps-bg: var(--ds-secondary, #425d74);
  --_ps-fg: #ffffff;
  --_ps-icon: var(--ds-brand-primary-300, #52deff);
  background: var(--_ps-bg);
  color: var(--_ps-fg);
  border-radius: var(--ds-radius-lg, 12px);
}

.ds-promise-strip--bg-dark    { --_ps-bg: var(--ds-neutral-ink, #1f2d3a); }
.ds-promise-strip--bg-primary { --_ps-bg: var(--ds-primary, #00b8e4); --_ps-icon: #ffffff; }

.ds-promise-strip--ruled {
  border-top: 3px solid var(--ds-primary, #00b8e4);
}

.ds-promise-strip__inner {
  padding: 1.5rem 1.25rem;
}

.ds-promise-strip__heading {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--ds-body-font, sans-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
}

.ds-promise-strip__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.ds-promise-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.ds-promise-strip__icon {
  color: var(--_ps-icon);
  display: inline-flex;
}
.ds-promise-strip__icon svg {
  width: 28px;
  height: 28px;
}

.ds-promise-strip__label {
  font-family: var(--ds-body-font, sans-serif);
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .ds-promise-strip__items { grid-template-columns: repeat(2, 1fr); gap: 1.25rem .75rem; }
}

/* --- components/proof-statement/proof-statement.css --- */
/* ===========================================
   components/proof-statement/proof-statement.css
   A typographic proof beat. Every value resolves to a --ds-* token.
   =========================================== */

.ds-proof {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-proof__container {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2xl);
}

.ds-proof--center .ds-proof__container {
  align-items: center;
  text-align: center;
}

.ds-proof--left .ds-proof__container {
  align-items: flex-start;
  text-align: left;
}

/* ─── The statement: oversized, set in the heading face ─────────────────── */

.ds-proof__statement {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.25;
  letter-spacing: var(--ds-ls-tight);
  color: var(--ds-dark);
  /* No measure cap on the text (Luc 2026-09-17: the container sets the
     measure). 22ch forced a 5-line statement into a 1136px column on Maid in
     Melbourne (2026-09-29 rehearsal); balance keeps the lines even instead. */
  margin: 0;
  text-wrap: balance;
}

/* The figures that matter, set in accent. */
.ds-proof__em {
  color: var(--ds-accent);
}

/* ─── Stat row ──────────────────────────────────────────────────────────── */

.ds-proof__stats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-xl) var(--ds-space-3xl);
  width: 100%;
  max-width: var(--ds-container);
  border-top: 1px solid var(--ds-border);
  padding-top: var(--ds-space-2xl);
}

.ds-proof--center .ds-proof__stats { justify-content: center; }
.ds-proof--left .ds-proof__stats { justify-content: flex-start; }

.ds-proof__stat {
  flex: 0 1 auto;
  min-width: 8rem;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-proof--center .ds-proof__stat {
  align-items: center;
}

.ds-proof__stat-value {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1;
  color: var(--ds-primary);
  letter-spacing: var(--ds-ls-tight);
}

.ds-proof__stat-label {
  margin: 0;
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-muted);
  max-width: 18ch;
}

/* --- components/prose-page/prose-page.css --- */
/* ===========================================
   components/prose-page/prose-page.css
   =========================================== */

.ds-prose-page {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-prose-page__header {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  margin-bottom: var(--ds-space-xl);
}

.ds-prose-page--align-center {
  text-align: center;
}

.ds-prose-page--align-center .ds-prose-page__header {
  align-items: center;
}

.ds-prose-page__title {
  margin: 0;
}

.ds-prose-page__body {
  color: var(--ds-body);
  font-size: var(--ds-fs-md);
  line-height: var(--ds-lh-body);
}

/* Headings inside prose content */
.ds-prose-page__body h2 {
  font-family: var(--ds-heading);
  font-size: var(--ds-h3);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  margin-block: var(--ds-space-xl) var(--ds-space-md);
}

.ds-prose-page__body h3 {
  font-family: var(--ds-heading);
  font-size: var(--ds-h4);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  margin-block: var(--ds-space-lg) var(--ds-space-sm);
}

.ds-prose-page__body p {
  margin-block: 0 var(--ds-space-md);
}

.ds-prose-page__body ul,
.ds-prose-page__body ol {
  margin-block: 0 var(--ds-space-md);
  padding-inline-start: var(--ds-space-xl);
}

.ds-prose-page__body li {
  margin-block: var(--ds-space-xs);
}

.ds-prose-page__body a {
  color: var(--ds-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ds-prose-page__body a:hover {
  color: var(--ds-primary-hover);
}

.ds-prose-page__body > :last-child {
  margin-bottom: 0;
}

.ds-prose-page__body img {
  border-radius: var(--ds-radius-image);
  margin-block: var(--ds-space-md);
}

/* --- components/quote-flow/quote-flow.css --- */
/* quote-flow.css

   With no JS every step renders stacked as one plain form. All the hiding lives
   behind `.is-enhanced`, which only quote-flow.js adds.
*/

/* An explicit `display` on a rule below beats the UA `[hidden] { display:none }`,
   so guard it first or hidden steps stay on screen. */
.ds-quote-flow [hidden] { display: none !important; }

.ds-quote-flow {
  background: var(--ds-bg-elevated);
  color: var(--ds-body);
  container-type: inline-size;
}

/* ── head ──────────────────────────────────────────────────────────────── */

.ds-quote-flow__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ds-space-sm);
  padding: var(--ds-space-md) var(--ds-space-lg);
  border-bottom: 1px solid var(--ds-border);
}

.ds-quote-flow__head-text { display: grid; gap: 2px; }

.ds-quote-flow__title {
  font-family: var(--ds-heading-display, inherit);
  font-size: 1.4rem;
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-heading);
  line-height: var(--ds-lh-tight);
}

.ds-quote-flow__subtitle { font-size: 1rem; color: var(--ds-muted); }

.ds-quote-flow__ref,
.ds-quote-flow__badge {
  flex: 0 0 auto;
  font-size: 0.875rem;
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-muted);
  font-variant-numeric: tabular-nums;
}

.ds-quote-flow__badge {
  padding: 2px var(--ds-space-xs);
  background: color-mix(in srgb, var(--ds-accent) 18%, transparent);
  color: var(--ds-heading);
}

.ds-quote-flow__body { padding: var(--ds-space-lg); }

/* ── progress ──────────────────────────────────────────────────────────── */

.ds-quote-flow__progress {
  display: flex;
  gap: 4px;
  margin-bottom: var(--ds-space-md);
}

.ds-quote-flow__progress-seg {
  flex: 1;
  height: 3px;
  background: var(--ds-border);
  transition: background-color var(--ds-duration-fast) var(--ds-ease);
}

.ds-quote-flow__progress-seg.is-active { background: var(--ds-accent); }

/* ── steps ─────────────────────────────────────────────────────────────── */

.ds-quote-flow__step + .ds-quote-flow__step { margin-top: var(--ds-space-lg); }

.ds-quote-flow__step-label {
  margin: 0 0 var(--ds-space-xs);
  font-size: 0.875rem;
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-muted);
}

.ds-quote-flow__step-label--urgent { color: var(--ds-error); font-weight: var(--ds-fw-bold); }

.ds-quote-flow__fieldset { margin: 0; padding: 0; border: 0; }

.ds-quote-flow__question {
  margin: 0 0 var(--ds-space-md);
  padding: 0;
  font-family: var(--ds-heading-display, inherit);
  font-size: 1.35rem;
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-heading);
  line-height: var(--ds-lh-tight);
}

.ds-quote-flow__hint {
  margin: calc(var(--ds-space-md) * -1 + 2px) 0 var(--ds-space-md);
  font-size: 1rem;
  color: var(--ds-muted);
}

/* ── job type options ──────────────────────────────────────────────────── */

.ds-quote-flow__options { display: grid; gap: var(--ds-space-sm); }

@container (min-width: 26rem) {
  .ds-quote-flow__options { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
}

.ds-quote-flow__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--ds-space-xs);
  min-height: var(--ds-tap-target);
  padding: var(--ds-space-md);
  border: 1px solid var(--ds-border);
  cursor: pointer;
  line-height: var(--ds-lh-tight);
  transition: border-color var(--ds-duration-fast) var(--ds-ease),
              background-color var(--ds-duration-fast) var(--ds-ease);
}

.ds-quote-flow__option:hover { border-color: var(--ds-accent); }

.ds-quote-flow__option:has(input:checked) {
  border-color: var(--ds-accent);
  background: color-mix(in srgb, var(--ds-accent) 12%, transparent);
}

.ds-quote-flow__option:has(input:focus-visible) {
  outline: 2px solid var(--ds-accent);
  outline-offset: 2px;
}

.ds-quote-flow__option input { position: absolute; opacity: 0; pointer-events: none; }

.ds-quote-flow__option--urgent:has(input:checked) {
  border-color: var(--ds-error);
  background: color-mix(in srgb, var(--ds-error) 10%, transparent);
}

.ds-quote-flow__option-icon { width: 2rem; height: 2rem; color: var(--ds-accent); }
.ds-quote-flow__option-icon svg { width: 100%; height: 100%; display: block; }

.ds-quote-flow__option-label {
  font-weight: var(--ds-fw-bold);
  color: var(--ds-heading);
  font-size: 1.0625rem;
}

.ds-quote-flow__option-desc {
  font-size: 0.9375rem;
  color: var(--ds-muted);
  line-height: 1.35;
}

/* Colour so the choices read as distinct objects, not three grey boxes. */
.ds-quote-flow__option { background: color-mix(in srgb, var(--ds-accent) 7%, #fff); }
.ds-quote-flow__option:nth-child(2) { background: color-mix(in srgb, var(--ds-primary, #0A1E45) 6%, #fff); }
.ds-quote-flow__option--urgent { background: color-mix(in srgb, var(--ds-error) 8%, #fff); }
.ds-quote-flow__option--urgent .ds-quote-flow__option-label { color: var(--ds-error); }

/* ── service checks ────────────────────────────────────────────────────── */

.ds-quote-flow__checks { display: flex; flex-wrap: wrap; gap: var(--ds-space-xs); }

.ds-quote-flow__check {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  min-height: var(--ds-tap-target);
  padding: var(--ds-space-xs) var(--ds-space-md);
  border: 1px solid var(--ds-border);
  background: var(--ds-bg);
  cursor: pointer;
  font-size: 1rem;
  line-height: var(--ds-lh-tight);
}

.ds-quote-flow__check:has(input:checked) {
  border-color: var(--ds-accent);
  background: color-mix(in srgb, var(--ds-accent) 12%, transparent);
}

.ds-quote-flow__check:has(input:focus-visible) { outline: 2px solid var(--ds-accent); outline-offset: 2px; }

/* ── contact fields ────────────────────────────────────────────────────── */

.ds-quote-flow__fields { display: flex; flex-wrap: wrap; gap: var(--ds-space-sm); }

/* The wrapper owns the row role so a labelled field can stack label over
   input. Unlabelled fields render identically to the pre-wrapper markup. */
.ds-quote-flow__field { flex: 1 1 100%; min-width: 0; }
.ds-quote-flow__field--half { flex: 1 1 calc(50% - var(--ds-space-sm)); min-width: 8rem; }
.ds-quote-flow__field .ds-quote-flow__input { width: 100%; }

.ds-quote-flow__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-heading);
}

/* Reassurance under the field that earns it. */
.ds-quote-flow__note {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ds-muted);
}

/* Filled box, never underline-only: the transparent + border-bottom skin this
   shipped with is the literal banned pattern from the filled-form-fields hard
   rule and hard-fails design-lint 6.1/4.4 (found live on C3 /contact/,
   2026-08-24). The boundary uses --ds-field-border (>=3:1 on white); the
   #767676 fallback keeps builds that haven't defined the token compliant. */
.ds-quote-flow__input {
  flex: 1 1 100%;
  font-size: 1.0625rem;
  min-height: var(--ds-tap-target);
  padding: var(--ds-space-sm) var(--ds-space-md);
  border: 1px solid var(--ds-field-border, #767676);
  border-radius: var(--ds-radius-md);
  background: var(--ds-bg-elevated);
  color: var(--ds-body);
  font: inherit;
}

.ds-quote-flow__input--half { flex: 1 1 calc(50% - var(--ds-space-sm)); min-width: 8rem; }

.ds-quote-flow__input:focus-visible { outline: none; border-color: var(--ds-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-accent) 20%, transparent); }
.ds-quote-flow__textarea { resize: vertical; }

/* ── nav, urgent screen, trust ─────────────────────────────────────────── */

.ds-quote-flow__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-sm);
  margin-top: var(--ds-space-lg);
}

.ds-quote-flow__back,
.ds-quote-flow__next:not(.ds-btn) {
  min-height: var(--ds-tap-target);
  padding: 0;
  border: 0;
  background: none;
  color: var(--ds-muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.ds-quote-flow__back:hover,
.ds-quote-flow__next:not(.ds-btn):hover { color: var(--ds-heading); }

.ds-quote-flow__call { width: 100%; justify-content: center; }

.ds-quote-flow__call-meta,
.ds-quote-flow__prefer,
.ds-quote-flow__triage-link {
  margin: var(--ds-space-sm) 0 0;
  font-size: 1rem;
  color: var(--ds-muted);
  text-align: center;
}

.ds-quote-flow__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-sm) var(--ds-space-md);
  margin: var(--ds-space-lg) 0 0;
  padding: var(--ds-space-md) 0 0;
  border-top: 1px solid var(--ds-border);
  list-style: none;
  font-size: 1rem;
  color: var(--ds-muted);
}

.ds-quote-flow__trust li { display: inline-flex; align-items: center; gap: 6px; }

.ds-quote-flow__success,
.ds-quote-flow__error { padding: var(--ds-space-xl) var(--ds-space-lg); text-align: center; }

.ds-quote-flow__success-heading { margin: 0 0 var(--ds-space-xs); color: var(--ds-heading); }
.ds-quote-flow__error { color: var(--ds-error); }

/* ── enhanced ──────────────────────────────────────────────────────────── */

/* Only applies once JS engages. Without it the steps stay stacked and the
   whole form is one page, which still submits. */
.ds-quote-flow.is-enhanced .ds-quote-flow__step + .ds-quote-flow__step { margin-top: 0; }

/* ── docket variant ────────────────────────────────────────────────────── */

/* Wears the host site's quote-docket skin: the site scopes .ds-quote-docket
   styling onto this via its own look layer, so the flow keeps the site's
   signature rather than looking like a generic widget. */
.ds-quote-flow--docket { background: var(--ds-white); }

@media (prefers-reduced-motion: reduce) {
  .ds-quote-flow__option,
  .ds-quote-flow__progress-seg { transition: none; }
}

/* ── PRE-ENHANCEMENT COLLAPSE ───────────────────────────────────────────────
   Ported from the C3 build 2026-08-19. Every step renders unhidden server-side
   (see the header of this file), and quote-flow.js only collapses to step 1 on
   DOMContentLoaded. Until that lands, all steps are stacked and the HOST section
   is as tall as the whole form. Where the component sits in a hero whose
   background is `height:100%`, the hero photograph paints at that full height and
   then snaps down: measured on C3's home hero at 3491px against the settled
   1299px on a 375px viewport, a 2192px jump. The client described it as "the
   background image starts off really large".
   It does NOT show up as CLS — measured 0.0000 on a warm desktop load, because the
   collapse happens before the observer sees it when JS is fast. A CLS threshold
   alone will never catch this.
   `scripting: enabled` collapses the steps in CSS at FIRST PAINT, before any JS.
   The moment `.is-enhanced` lands the rule stops matching and the JS step machine
   owns visibility exactly as before, so the JS contract is untouched. With JS OFF
   the query never matches and the plain stacked no-JS form is preserved, which is
   the whole reason the steps ship unhidden. A browser that does not know the query
   keeps the previous behaviour. */
@media (scripting: enabled) {
  .ds-quote-flow:not(.is-enhanced) .ds-quote-flow__step:not([data-ds-qf-step="1"]) {
    display: none;
  }
}

/* --- components/reading-progress/reading-progress.css --- */
/* ===========================================
   components/reading-progress/reading-progress.css
   =========================================== */

.ds-reading-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--ds-progress-height, 3px);
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}

.ds-reading-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--ds-primary);
  transition: width var(--ds-transition-fast) linear;
}

@media (prefers-reduced-motion: reduce) {
  .ds-reading-progress__bar {
    transition: none;
  }
}

/* --- components/related-posts/related-posts.css --- */
/* ===========================================
   components/related-posts/related-posts.css
   =========================================== */

.ds-related-posts {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-light);
}

.ds-related-posts__heading {
  margin: 0 0 var(--ds-space-xl);
}

.ds-related-posts__grid {
  display: grid;
  grid-template-columns: repeat(var(--ds-related-posts-cols, 3), minmax(0, 1fr));
  gap: var(--ds-space-xl);
}

@media (max-width: 900px) {
  .ds-related-posts__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ds-related-posts__card {
  display: flex;
  flex-direction: column;
  background-color: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ds-transition-base) var(--ds-ease),
              box-shadow var(--ds-transition-base) var(--ds-ease);
}

.ds-related-posts__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-md);
}

.ds-related-posts__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--ds-light);
}

.ds-related-posts__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-related-posts__img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ds-light), var(--ds-border));
}

.ds-related-posts__body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
  padding: var(--ds-space-lg);
}

.ds-related-posts__category {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-wide);
  text-transform: uppercase;
  color: var(--ds-primary);
}

.ds-related-posts__title {
  margin: 0;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-md);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-dark);
}

.ds-related-posts__card:hover .ds-related-posts__title {
  color: var(--ds-primary);
}

@media (prefers-reduced-motion: reduce) {
  .ds-related-posts__card {
    transition: none;
  }
}

/* --- components/savings-device/savings-device.css --- */
/* Savings Device — signature "rebate applied" money-moment.
   Tokens only (contract §6.2), type floor respected (§6.8), and the bill
   composes .ds-card for its surface (§6.9): no hand-rolled radius/shadow,
   no coloured glow, no decorative top bar. */
.ds-savings{
  padding: var(--ds-section-pad, clamp(4rem, 7vw, 6.5rem)) 0;
  background: color-mix(in srgb, var(--ds-accent) 5%, var(--ds-light));
}
.ds-savings__container{
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.ds-savings__heading{
  font-family: var(--ds-heading); font-weight: var(--ds-fw-bold);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05; letter-spacing: var(--ds-ls-tight); margin: .8rem 0 0;
  color: var(--ds-dark);
}
.ds-savings__heading .ds-mark{ color: var(--ds-accent-hover, var(--ds-accent)); font-style: italic; }
.ds-savings__lead{ font-size: var(--ds-fs-md); margin: 1rem 0 1.5rem; color: var(--ds-body); }
.ds-savings__points{ list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ds-savings__points li{
  display: flex; gap: .65rem; align-items: flex-start;
  font-family: var(--ds-heading); font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark); font-size: var(--ds-fs-base);
}
.ds-savings__points svg{ width: 20px; height: 20px; color: var(--ds-accent); flex: none; margin-top: 2px; }
.ds-savings__cta{
  display: inline-flex; align-items: center; gap: var(--ds-space-xs);
  margin-top: 1.25rem; font-size: var(--ds-fs-base); font-weight: var(--ds-fw-semibold);
  color: var(--ds-primary); text-decoration: none;
}
.ds-savings__cta::after{ content: "\2192"; transition: transform var(--ds-transition-base); }
.ds-savings__cta:hover{ color: var(--ds-primary-hover); }
.ds-savings__cta:hover::after{ transform: translateX(4px); }

/* the bill card — surface comes from .ds-card .ds-card--elevated in the markup */
.ds-savings__bill{
  position: relative;
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
}
.ds-savings__tag{
  font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); font-size: var(--ds-fs-xs);
  text-transform: uppercase; letter-spacing: var(--ds-ls-eyebrow); color: var(--ds-body-light); margin: 0 0 .3rem;
}
.ds-savings__row{
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0; border-bottom: 1px dashed var(--ds-border);
}
.ds-savings__k{ font-size: var(--ds-fs-base); color: var(--ds-body); }
.ds-savings__v{ font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); }
.ds-savings__row--before .ds-savings__v{
  font-size: var(--ds-fs-lg); color: var(--ds-body);
  text-decoration: line-through; text-decoration-color: var(--ds-error); text-decoration-thickness: 2px;
}
.ds-savings__row--before .ds-savings__v small{ text-decoration: none; font-weight: var(--ds-fw-semibold); font-size: var(--ds-fs-sm); color: var(--ds-body); }
.ds-savings__row--rebate{
  background: color-mix(in srgb, var(--ds-accent) 12%, var(--ds-white));
  margin: 0 -.7rem; padding-left: .7rem; padding-right: .7rem;
  border-radius: var(--ds-radius-sm); border-bottom: 1px dashed color-mix(in srgb, var(--ds-accent) 40%, var(--ds-white));
}
.ds-savings__row--rebate .ds-savings__k,
.ds-savings__row--rebate .ds-savings__v{ font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); color: var(--ds-accent-hover, var(--ds-accent)); }
.ds-savings__row--rebate .ds-savings__v{ font-size: var(--ds-fs-lg); }
.ds-savings__bolt{
  display: block; width: 34px; height: 34px; margin: .55rem auto -.15rem;
  color: var(--ds-accent); background: var(--ds-primary); border-radius: var(--ds-radius-full); padding: 8px;
  box-shadow: var(--ds-shadow-sm);
}
.ds-savings__bolt svg{ width: 100%; height: 100%; display: block; }
.ds-savings__row--after{ padding-top: 1rem; border-bottom: 0; }
.ds-savings__row--after .ds-savings__k{ font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); color: var(--ds-dark); font-size: var(--ds-fs-md); }
.ds-savings__row--after .ds-savings__v{ font-size: var(--ds-fs-2xl); color: var(--ds-primary); letter-spacing: var(--ds-ls-tight); text-align: right; }
.ds-savings__row--after .ds-savings__v small{ display: block; font-size: var(--ds-fs-sm); color: var(--ds-accent-hover, var(--ds-accent)); font-weight: var(--ds-fw-bold); }
.ds-savings__foot{ margin: 1rem 0 0; font-size: var(--ds-fs-xs); color: var(--ds-muted); text-align: center; }

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

/* --- components/services-grid/services-grid.css --- */
/* ===========================================
   components/services-grid/services-grid.css
   =========================================== */

.ds-services-grid {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

/* ─── Header ──────────────────────────────────────────────────────────── */

.ds-services-grid__header {
  margin-bottom: var(--ds-space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
}

.ds-services-grid__header--split {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ds-space-lg);
}

@media (min-width: 768px) {
  .ds-services-grid__header--split {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* The 60ch/22ch caps are a prose measure. On a signage-style look they strangle
   a short display heading into a narrow tower, so they are overridable:
     .ds-look-x .ds-services-grid {
       --ds-section-header-measure:  none;
       --ds-section-heading-measure: 18ch;
     }
   Same property names as media-mosaic and testimonials-grid, so one look block
   can set all three. Defaults below are unchanged. */
.ds-services-grid__header-copy {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  max-width: var(--ds-section-header-measure, 60ch);
}

.ds-services-grid__heading {
  max-width: var(--ds-section-heading-measure, 22ch);
}

.ds-services-grid__desc {
  max-width: var(--ds-section-header-measure, 60ch);
}

.ds-services-grid__header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-md);
}

/* ─── Grid ────────────────────────────────────────────────────────────── */

.ds-services-grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-lg);
}

@media (min-width: 600px) {
  .ds-services-grid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ds-services-grid__grid {
    grid-template-columns: repeat(var(--ds-services-cols, 3), 1fr);
  }
}

/* Staggered: offset alternate cards vertically to break the rigid equal grid.
   Only at desktop widths — the single-column mobile stack stays aligned. */
@media (min-width: 960px) {
  .ds-services-grid--layout-staggered .ds-services-grid__grid > :nth-child(even) {
    margin-block-start: var(--ds-space-3xl);
  }
}

/* ─── Card: image-led ─────────────────────────────────────────────────── */

.ds-services-grid__card--image {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.ds-services-grid__card--image .ds-card__media,
.ds-services-grid__card-media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-repeat: no-repeat;
}

/* media_img: the photo is a real lazy <img> filling the box. The box keeps its
   aspect-ratio, so nothing shifts while it loads. */
.ds-services-grid__card-media--img {
  position: relative;
  overflow: hidden;
}

.ds-services-grid__card-media--img > .ds-card__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-services-grid__card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
  padding: var(--ds-space-md) var(--ds-space-lg);
  background-color: var(--ds-bg-elevated);
  border-top: 1px solid var(--ds-border);
}

.ds-services-grid__card--image .ds-services-grid__card-title {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-bold);
  line-height: var(--ds-lh-tight);
  color: var(--ds-dark);
  margin: 0;
}

.ds-services-grid__card-arrow svg {
  transition: transform var(--ds-transition-base);
}

a.ds-services-grid__card--image:hover .ds-services-grid__card-arrow svg {
  transform: translateX(4px);
}

/* ─── Card: icon-led ──────────────────────────────────────────────────── */

.ds-services-grid__card--icon {
  /* Inherits .ds-card base styles. */
}

/* Card bar copy stack (title + optional feature desc). */
.ds-services-grid__card-bar-copy {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
  min-width: 0;
}

.ds-services-grid__card-desc {
  margin: 0;
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-body);
  color: var(--ds-body);
}

/* ─── Icon card: optional feature list + price badge ──────────────────── */
/* Rendered only when a card supplies `features` (string[]) and/or `price`.
   Backward-compatible: cards without them are unchanged. */

.ds-services-grid__features {
  list-style: none;
  margin: var(--ds-space-sm) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-services-grid__feature {
  position: relative;
  padding-left: 1.65em;
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-loose);
  color: var(--ds-body);
}

/* Tokenised tick — a rotated corner, no glyph font dependency. */
.ds-services-grid__feature::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.45em;
  width: 0.5em;
  height: 0.85em;
  border-right: 2px solid var(--ds-primary);
  border-bottom: 2px solid var(--ds-primary);
  transform: rotate(40deg);
}

.ds-services-grid__price {
  align-self: flex-start;
  margin: var(--ds-space-md) 0 0;
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-sm);
  color: var(--ds-primary-dark);
  background-color: var(--ds-accent);
  padding: var(--ds-space-xs) var(--ds-space-md);
  border-radius: var(--ds-radius-md);
}

/* Footnote line under the grid (e.g. "also: re-inspections from $100"). */
.ds-services-grid__footnote {
  margin: var(--ds-space-xl) auto 0;
  max-width: 60ch;
  text-align: center;
  color: var(--ds-muted);
  font-size: var(--ds-fs-sm);
}

/* ─── Footer CTA ──────────────────────────────────────────────────────── */

.ds-services-grid__footer {
  display: flex;
  justify-content: center;
  margin-top: var(--ds-space-2xl);
}

/* ─── Bento layout ────────────────────────────────────────────────────── */
/* Irregular grid: one big immersive feature tile, the rest tiled around it.
   Image cards become full-bleed tiles with the title bar overlaid on a
   gradient. Scoped so the default grid layout is untouched. */

@media (min-width: 720px) {
  .ds-services-grid--layout-bento .ds-services-grid__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(190px, 1fr);
    grid-auto-flow: dense;
    gap: var(--ds-space-md);
  }

  .ds-services-grid--layout-bento .ds-services-grid__card {
    grid-column: span 2;
    height: 100%;
  }

  .ds-services-grid--layout-bento .ds-services-grid__card--feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Image tiles fill the cell; bar overlays the foot of the photo. */
  .ds-services-grid--layout-bento .ds-services-grid__card--image .ds-services-grid__card-media {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .ds-services-grid--layout-bento .ds-services-grid__card--image .ds-services-grid__card-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: flex-end;
    padding: var(--ds-space-lg);
    border-top: none;
    background: linear-gradient(
      to top,
      color-mix(in srgb, #000 80%, transparent) 0%,
      color-mix(in srgb, #000 30%, transparent) 55%,
      transparent 100%);
  }

  .ds-services-grid--layout-bento .ds-services-grid__card--image .ds-services-grid__card-title {
    color: var(--ds-white);
  }

  .ds-services-grid--layout-bento .ds-services-grid__card--image .ds-services-grid__card-desc {
    color: color-mix(in srgb, var(--ds-white) 86%, transparent);
  }

  .ds-services-grid--layout-bento .ds-services-grid__card--feature .ds-services-grid__card-title {
    font-size: var(--ds-fs-2xl);
  }

  .ds-services-grid--layout-bento .ds-services-grid__card--feature .ds-services-grid__card-desc {
    max-width: 42ch;
  }
}

/* --- components/signature-wedge/signature-wedge.css --- */
/* ===========================================
   components/signature-wedge/signature-wedge.css
   Sutton signature device: one team, both trades.
   Red + navy cube words on a red triangle wedge.
   Every value resolves to a --ds-* token.
   =========================================== */

.ds-wedge {
  background: var(--ds-white);
  border-top: 4px solid var(--ds-primary-dark);
  text-align: center;
}
.ds-wedge__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ds-wedge__inner::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid var(--ds-accent);
  margin-bottom: var(--ds-space-lg);
}
.ds-wedge__statement {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  letter-spacing: var(--ds-ls-tight);
  font-size: clamp(1.9rem, 1rem + 4vw, 3.4rem);
  line-height: 1.15;
  max-width: 22ch;
  color: var(--ds-primary-dark);
  margin: 0;
}
.ds-cube-red,
.ds-cube-navy {
  color: var(--ds-accent-ink, var(--ds-white));
  padding: 0.02em 0.22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ds-cube-red { background: var(--ds-accent); color: var(--ds-white); }
.ds-cube-navy { background: var(--ds-primary-dark); color: var(--ds-white); }
.ds-wedge__sub {
  margin: var(--ds-space-lg) auto 0;
  max-width: 56ch;
  color: var(--ds-muted);
  font-size: var(--ds-fs-md);
}

/* --- components/spec-cards/spec-cards.css --- */
/* ===========================================
   components/spec-cards/spec-cards.css
   "At a glance" as a row of big-number cards. Tokens only.
   =========================================== */

.ds-spec-cards {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-spec-cards__head { max-width: 46rem; margin: 0 0 var(--ds-space-lg); }
.ds-spec-cards__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-spec-cards__heading { margin: 0; }
.ds-spec-cards__intro { margin: var(--ds-space-sm) 0 0; color: var(--ds-muted); font-size: var(--ds-fs-md); }

.ds-spec-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-md);
}

.ds-spec-cards__card {
  display: flex;
  flex-direction: column;
  padding: var(--ds-space-lg);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background-color: var(--ds-bg-elevated);
  transition: box-shadow var(--ds-transition-base), border-color var(--ds-transition-base);
}
.ds-spec-cards__card:hover { box-shadow: var(--ds-shadow-md); border-color: var(--ds-dark); }

.ds-spec-cards__ic {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ds-space-md);
  border-radius: var(--ds-radius-md);
  background-color: var(--ds-light);
  color: var(--ds-dark);
}
.ds-spec-cards__ic svg { width: 22px; height: 22px; }

.ds-spec-cards__type {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
}
.ds-spec-cards__figure {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-3xl);
  color: var(--ds-dark);
  letter-spacing: var(--ds-ls-tight);
  line-height: 1.05;
  margin: var(--ds-space-sm) 0 0;
}
.ds-spec-cards__unit { font-size: var(--ds-fs-md); font-weight: var(--ds-fw-semibold); color: var(--ds-muted); }
.ds-spec-cards__note {
  margin-top: auto;
  padding-top: var(--ds-space-md);
  font-size: var(--ds-fs-sm);
  color: var(--ds-muted);
  line-height: var(--ds-lh-body);
}

.ds-spec-cards__footnote {
  margin: var(--ds-space-md) 0 0;
  font-size: var(--ds-fs-sm);
  color: var(--ds-muted);
}

@media (min-width: 760px) {
  .ds-spec-cards--cols-2 .ds-spec-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .ds-spec-cards--cols-3 .ds-spec-cards__grid { grid-template-columns: repeat(3, 1fr); }
  .ds-spec-cards--cols-4 .ds-spec-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .ds-spec-cards--cols-4 .ds-spec-cards__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- components/split-services/split-services.css --- */
/* Split Services — two structural tracks on a dark band. */
.ds-split{
  padding: var(--ds-section-pad, clamp(4rem, 7vw, 6.5rem)) 0;
  background: var(--ds-brand-primary-900, var(--ds-primary));
  color: #fff; position: relative; overflow: hidden;
}
.ds-split__head{ max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.ds-split__eyebrow{ justify-content: center; color: var(--ds-accent); }
.ds-split__heading{
  font-family: var(--ds-heading); font-weight: var(--ds-fw-extrabold, 800);
  color: #fff; font-size: clamp(2rem, 3.4vw, 2.625rem); line-height: 1.05;
  letter-spacing: -.025em; margin: .8rem 0 0;
}
.ds-split__heading .ds-mark{ color: var(--ds-accent); }
.ds-split__intro{ color: color-mix(in srgb, #fff 68%, transparent); margin: .9rem 0 0; font-size: 1.05rem; }
.ds-split__cols{
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: clamp(1.5rem, 3vw, 3.2rem); align-items: start;
}
.ds-split__divider{ background: linear-gradient(transparent, color-mix(in srgb, var(--ds-accent) 55%, transparent), transparent); }
.ds-split__title{
  color: #fff; font-size: 1.6rem; display: flex; align-items: center; gap: .7rem;
  letter-spacing: -.02em;
}
.ds-split__ic{
  width: 42px; height: 42px; border-radius: 10px; background: var(--ds-accent);
  color: var(--ds-brand-primary-900, var(--ds-primary)); display: grid; place-items: center; flex: none;
}
.ds-split__ic svg{ width: 22px; height: 22px; }
.ds-split__sub{ color: color-mix(in srgb, #fff 62%, transparent); margin: .7rem 0 1.3rem; font-size: 1.05rem; }
.ds-split__list{ list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ds-split__list li{ display: flex; gap: .6rem; align-items: center; color: color-mix(in srgb, #fff 82%, transparent); font-size: 1rem; }
.ds-split__list svg{ width: 16px; height: 16px; color: var(--ds-accent); flex: none; }
/* Linked item (item passed as ['label','url'], since 1.6.0). Same type and
   colour as a plain item; an accent underline says it is a link. Hover/focus
   tints the GROUND and keeps the text colour (interactive-states rule), pinned
   across :hover/:focus/:active against GeneratePress's a:hover. The negative
   margin cancels the padding so a linked item lines up with a plain one. */
.ds-split__link,
.ds-split__link:is(:hover, :focus, :active){ color: inherit; }
.ds-split__link{
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, var(--ds-accent) 70%, transparent);
  padding: .15rem .4rem; margin: -.15rem -.4rem; border-radius: 6px;
  transition: background-color .15s ease;
}
.ds-split__link:is(:hover, :focus-visible){ background: color-mix(in srgb, #fff 12%, transparent); }
.ds-split__link:active{ background: color-mix(in srgb, #fff 18%, transparent); }
.ds-split__cta{ margin: 1.4rem 0 0; }
.ds-split__cta a{ font-family: var(--ds-heading); font-weight: 700; color: var(--ds-accent); text-decoration: none; font-size: 1rem; }
.ds-split__cta a:hover{ text-decoration: underline; }

@media (max-width: 860px){
  .ds-split__cols{ grid-template-columns: 1fr; }
  .ds-split__divider{ display: none; }
}

/* ── bg: light — paper ground, dark type. Use to break up consecutive dark
   bands (the default dark treatment reads as one navy slab when the sections
   around it are also navy). Accent stays for icons/ticks/CTAs; body copy
   drops to the standard ink/body tokens. */
.ds-split--light{ background: var(--ds-bg, #fff); color: var(--ds-dark); }
.ds-split--light .ds-split__eyebrow{ color: var(--ds-brand-accent-800, var(--ds-accent)); }
.ds-split--light .ds-split__heading{ color: var(--ds-dark); }
.ds-split--light .ds-split__heading .ds-mark{ color: var(--ds-brand-accent-800, var(--ds-accent)); }
.ds-split--light .ds-split__intro{ color: var(--ds-body); }
.ds-split--light .ds-split__title{ color: var(--ds-dark); }
.ds-split--light .ds-split__sub{ color: var(--ds-body-light, var(--ds-body)); }
.ds-split--light .ds-split__list li{ color: var(--ds-body); }
.ds-split--light .ds-split__link{ text-decoration-color: color-mix(in srgb, var(--ds-brand-accent-800, var(--ds-accent)) 70%, transparent); }
.ds-split--light .ds-split__link:is(:hover, :focus-visible){ background: color-mix(in srgb, var(--ds-dark) 7%, transparent); }
.ds-split--light .ds-split__link:active{ background: color-mix(in srgb, var(--ds-dark) 11%, transparent); }
.ds-split--light .ds-split__divider{ background: linear-gradient(transparent, var(--ds-border), transparent); }
.ds-split--light .ds-split__cta a{ color: var(--ds-brand-accent-800, var(--ds-accent)); }

/* --- components/table-of-contents/table-of-contents.css --- */
/* ===========================================
   components/table-of-contents/table-of-contents.css
   =========================================== */

.ds-table-of-contents {
  font-size: var(--ds-fs-sm);
}

/* Sticky behaviour applies when placed in a sidebar (see article-body).
   Standalone use is a static block. */

.ds-table-of-contents__title {
  margin: 0 0 var(--ds-space-md);
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-body-light);
}

/* Collapse toggle - visible control on narrow viewports; on wide screens
   the list is always shown and the chevron is hidden. */
.ds-table-of-contents__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-sm);
  width: 100%;
  padding: 0 0 var(--ds-space-md);
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-body-light);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.ds-table-of-contents__chevron svg {
  display: block;
  width: var(--ds-icon-sm, 16px);
  height: var(--ds-icon-sm, 16px);
  transition: transform var(--ds-transition-base) var(--ds-ease);
}

.ds-table-of-contents__toggle[aria-expanded="true"] .ds-table-of-contents__chevron svg {
  transform: rotate(180deg);
}

.ds-table-of-contents__list,
.ds-table-of-contents__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-table-of-contents__sublist {
  margin-top: var(--ds-space-xs);
  padding-left: var(--ds-space-md);
}

.ds-table-of-contents__link {
  display: block;
  padding: var(--ds-space-xs) 0;
  color: var(--ds-body-light);
  text-decoration: none;
  line-height: var(--ds-lh-body);
  border-left: 2px solid transparent;
  padding-left: var(--ds-space-md);
  margin-left: calc(-1 * var(--ds-space-md));
  transition: color var(--ds-transition-fast) var(--ds-ease),
              border-color var(--ds-transition-fast) var(--ds-ease);
}

.ds-table-of-contents__link:hover {
  color: var(--ds-primary);
}

.ds-table-of-contents__link.is-active {
  color: var(--ds-primary);
  border-left-color: var(--ds-primary);
  font-weight: var(--ds-fw-semibold);
}

/* On narrow viewports the toggle collapses the list. */
@media (max-width: 1023px) {
  .ds-table-of-contents__list {
    display: none;
  }
  .ds-table-of-contents__list.is-open {
    display: flex;
    padding-top: var(--ds-space-sm);
  }
}

/* On wide viewports the toggle acts as a static label; list always shown. */
@media (min-width: 1024px) {
  .ds-table-of-contents__chevron {
    display: none;
  }
  .ds-table-of-contents__toggle {
    cursor: default;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-table-of-contents__chevron svg,
  .ds-table-of-contents__link {
    transition: none;
  }
}

/* --- theme override: components/testimonials-grid/testimonials-grid.css --- */
/* ===========================================
   components/testimonials-grid/testimonials-grid.css
   =========================================== */

.ds-testimonials-grid {
  padding-block: var(--ds-section-pad);
}

.ds-testimonials-grid--bg-paper { background-color: var(--ds-bg); }
.ds-testimonials-grid--bg-light { background-color: var(--ds-light); }
.ds-testimonials-grid--bg-dark  { background-color: var(--ds-primary-dark); }

.ds-testimonials-grid--bg-dark .ds-testimonials-grid__heading,
.ds-testimonials-grid--bg-dark .ds-testimonials-grid__pullquote-text,
.ds-testimonials-grid--bg-dark .ds-testimonials-grid__pullquote-name {
  color: var(--ds-white);
}

.ds-testimonials-grid--bg-dark .ds-testimonials-grid__desc,
.ds-testimonials-grid--bg-dark .ds-testimonials-grid__pullquote-meta {
  color: var(--ds-white);
  opacity: 0.85;
}

/* ─── Header ─────────────────────────────────────────────────────────── */

.ds-testimonials-grid__header {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  text-align: center;
  align-items: center;
  margin-bottom: var(--ds-space-2xl);
  max-width: 60ch;
  margin-inline: auto;
}

.ds-testimonials-grid__heading { max-width: 22ch; }
.ds-testimonials-grid__desc    { max-width: 60ch; }

/* ─── Grid ───────────────────────────────────────────────────────────── */

.ds-testimonials-grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-lg);
}

@media (min-width: 600px) {
  .ds-testimonials-grid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ds-testimonials-grid__grid {
    grid-template-columns: repeat(var(--ds-testimonials-cols, 3), 1fr);
  }
}

/* ─── Marquee (the grid variant: two rows scrolling opposite ways) ─────── */

.ds-testimonials-grid__marquee {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
  overflow: hidden;
  /* soft dissolve at both edges */
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ds-testimonials-grid__track {
  display: flex;
  flex: none;
  width: max-content;
  gap: var(--ds-space-lg);
  will-change: transform;
  animation: ds-marquee-ltr var(--ds-marquee-dur, 40s) linear infinite;
}
.ds-testimonials-grid__track--rtl { animation-name: ds-marquee-rtl; }

.ds-testimonials-grid__track > .ds-testimonials-grid__card {
  flex: 0 0 auto;
  width: clamp(270px, 78vw, 360px);
}

@keyframes ds-marquee-ltr { from { transform: translateX(0); }     to { transform: translateX(-50%); } }
@keyframes ds-marquee-rtl { from { transform: translateX(-50%); }  to { transform: translateX(0); } }

/* Reduced motion: stop the scroll, drop the loop dupes, wrap into a static row. */
@media (prefers-reduced-motion: reduce) {
  .ds-testimonials-grid__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .ds-testimonials-grid__card--dupe { display: none; }
}

/* ─── Card ───────────────────────────────────────────────────────────── */

.ds-testimonials-grid__card .ds-card__body {
  gap: var(--ds-space-md);
}

.ds-testimonials-grid__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ds-space-sm);
}

.ds-testimonials-grid__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ds-warning);
}

.ds-testimonials-grid__star {
  width: 16px;
  height: 16px;
  opacity: 0.25;
}

.ds-testimonials-grid__star.is-filled {
  opacity: 1;
}

.ds-testimonials-grid__g {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ds-testimonials-grid__card-text {
  font-size: var(--ds-fs-base);
  line-height: var(--ds-lh-body);
  color: var(--ds-body);
  margin: 0;
  flex-grow: 1;
  /* Cap at 5 lines, ellipsis the rest (keeps marquee cards a consistent height). */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ds-testimonials-grid__card-author {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  margin-top: var(--ds-space-sm);
}

.ds-testimonials-grid__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--ds-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-bold);
  color: var(--ds-white);
  flex-shrink: 0;
}

.ds-testimonials-grid__avatar--image {
  object-fit: cover;
}

.ds-testimonials-grid__author-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ds-testimonials-grid__author-name {
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
  font-size: var(--ds-fs-base);
  line-height: var(--ds-lh-tight);
}

.ds-testimonials-grid__author-meta {
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
  margin-top: 2px;
}

/* ─── Pull quote variant ─────────────────────────────────────────────── */

.ds-testimonials-grid__pullquote {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-lg);
}

.ds-testimonials-grid__pullquote-text {
  font-family: var(--ds-heading-display, var(--ds-heading));
  font-size: var(--ds-fs-3xl);
  line-height: var(--ds-lh-heading);
  font-weight: var(--ds-fw-regular);
  color: var(--ds-dark);
  margin: 0;
  letter-spacing: var(--ds-ls-tight);
}

.ds-testimonials-grid__pullquote-cite {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-testimonials-grid__pullquote-name {
  font-weight: var(--ds-fw-bold);
  color: var(--ds-dark);
}

.ds-testimonials-grid__pullquote-meta {
  font-size: var(--ds-fs-sm);
  color: var(--ds-body-light);
}

/* ─── Widget variant ─────────────────────────────────────────────────── */

.ds-testimonials-grid__widget {
  /* Caller-supplied widget; just centres it and constrains width. */
  max-width: var(--ds-container);
  margin-inline: auto;
}

/* ─── Spotlight variant (full-bleed single quote) ────────────────────── */

.ds-testimonials-grid--spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(var(--ds-space-3xl), 9vw, 7rem);
  background-color: var(--ds-primary-dark);
}

.ds-testimonials-grid__spotlight-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.ds-testimonials-grid__spotlight-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    120% 120% at 50% 0%,
    transparent 0%,
    color-mix(in srgb, var(--ds-primary-dark) 70%, transparent) 100%);
}

.ds-testimonials-grid__spotlight {
  position: relative;
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-space-lg);
}

.ds-testimonials-grid--spotlight .ds-testimonials-grid__stars {
  color: var(--ds-accent);
  transform: scale(1.25);
  margin-bottom: var(--ds-space-sm);
}

.ds-testimonials-grid--spotlight .ds-testimonials-grid__star {
  width: 22px;
  height: 22px;
}

.ds-testimonials-grid__spotlight-text {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: clamp(1.6rem, 0.9rem + 2.6vw, 2.9rem);
  line-height: 1.32;
  letter-spacing: var(--ds-ls-tight);
  color: var(--ds-white);
  margin: 0;
  text-wrap: balance;
}

.ds-testimonials-grid__spotlight-cite {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
}

.ds-testimonials-grid__spotlight-name {
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  color: var(--ds-white);
}

.ds-testimonials-grid__spotlight-meta {
  font-size: var(--ds-fs-sm);
  color: color-mix(in srgb, var(--ds-white) 70%, transparent);
}

/* ─── CTA ────────────────────────────────────────────────────────────── */

.ds-testimonials-grid__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--ds-space-2xl);
}

/* --- components/text-feature/text-feature.css --- */
/* ===========================================
   components/text-feature/text-feature.css
   Five scannable layouts for long-form copy. Tokens only.
   editorial · alt-photos · pullquote · icon-points · fact-card
   =========================================== */

.ds-text-feature {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

/* Background bands — break up a run of pale sections. */
.ds-text-feature--bg-light { background-color: var(--ds-light); }
.ds-text-feature--bg-dark  { background-color: var(--ds-primary-dark); }
/* On the dark band, force accent text to white-based tones so it stays legible
   on ANY brand — the shared .ds-on-dark rule brightens to --ds-primary, which is
   near-black on a monochrome palette and vanishes. */
.ds-text-feature--bg-dark .ds-eyebrow { color: color-mix(in srgb, var(--ds-white) 66%, transparent); }
.ds-text-feature--bg-dark .ds-text-feature__heading .ds-mark { color: var(--ds-white); }

.ds-text-feature__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-text-feature__heading { margin: 0; }

/* Shared prose body */
.ds-text-feature__body { color: var(--ds-body); }
.ds-text-feature__body p { margin: 0 0 var(--ds-space-md); }
.ds-text-feature__body p:last-child { margin-bottom: 0; }

/* ─── Editorial (A1): heading + lead left, detail right ─────────────────── */
.ds-text-feature--editorial .ds-text-feature__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-xl);
}
.ds-text-feature__lead {
  margin: var(--ds-space-md) 0 0;
  font-size: var(--ds-fs-lg);
  line-height: var(--ds-lh-heading);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
}
@media (min-width: 820px) {
  .ds-text-feature--editorial .ds-text-feature__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2.5rem, 5vw, 3.5rem);
    align-items: start;
  }
}

/* ─── Prose (constrained readable beat; prose-page replacement) ─────────── */
/* Centre the column so a short beat reads as a deliberate statement rather
   than an orphaned block stranded to one side of a wide band. */
.ds-text-feature__prose-wrap { max-width: 44rem; margin-inline: auto; text-align: center; }
.ds-text-feature__prose-wrap .ds-text-feature__body { text-align: left; }
.ds-text-feature--prose .ds-text-feature__heading { margin-bottom: var(--ds-space-md); }
.ds-text-feature--prose .ds-text-feature__lead {
  margin: 0 0 var(--ds-space-md);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-dark);
}
.ds-text-feature--prose .ds-text-feature__body a,
.ds-text-feature--editorial .ds-text-feature__body a,
.ds-text-feature--pullquote .ds-text-feature__body a,
.ds-text-feature__intro a {
  color: var(--ds-primary);
  font-weight: var(--ds-fw-semibold);
  text-underline-offset: 2px;
}

/* ─── Pull-quote (A3) ───────────────────────────────────────────────────── */
.ds-text-feature__quote-wrap { max-width: 52rem; }
/* Optional 1/3-width supporting image beside the quote (2fr copy : 1fr image). */
.ds-text-feature__quote-grid.has-image { display: grid; grid-template-columns: 1fr; gap: var(--ds-space-xl); align-items: center; }
.ds-text-feature__quote-grid.has-image .ds-text-feature__quote-wrap { max-width: none; }
.ds-text-feature__quote-media { border-radius: var(--ds-radius-lg); overflow: hidden; box-shadow: var(--ds-shadow-lg); aspect-ratio: 3 / 4; }
.ds-text-feature__quote-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 820px) {
  .ds-text-feature__quote-grid.has-image { grid-template-columns: 2fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
}
.ds-text-feature--pullquote .ds-text-feature__lead {
  margin-bottom: var(--ds-space-md);
}
.ds-text-feature__pullquote {
  margin: var(--ds-space-xl) 0;
  padding: 0 0 0 var(--ds-space-lg);
  border-left: 4px solid var(--ds-dark);
}
.ds-text-feature__pullquote p {
  margin: 0;
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-2xl);
  line-height: var(--ds-lh-tight);
  letter-spacing: var(--ds-ls-tight);
  color: var(--ds-dark);
}
.ds-text-feature__cite {
  display: block;
  margin-top: var(--ds-space-sm);
  font-family: var(--ds-body-font);
  font-style: normal;
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-muted);
}

/* ─── Icon points (A4) ──────────────────────────────────────────────────── */
.ds-text-feature__head { max-width: 46rem; margin: 0 0 var(--ds-space-lg); }
.ds-text-feature__head--center { margin-inline: auto; text-align: center; }
.ds-text-feature__intro { margin-top: var(--ds-space-sm); color: var(--ds-muted); }
.ds-text-feature__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-lg) var(--ds-space-xl);
}
.ds-text-feature__point { display: flex; gap: var(--ds-space-md); align-items: flex-start; }
.ds-text-feature__point-ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-md);
  background-color: var(--ds-light);
  color: var(--ds-dark);
}
.ds-text-feature__point-ic svg { width: 22px; height: 22px; }
.ds-text-feature__point-copy { display: flex; flex-direction: column; gap: 3px; }
.ds-text-feature__point-title {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-md);
  color: var(--ds-dark);
  line-height: var(--ds-lh-tight);
  text-decoration: none;
}
/* A point title that is a link has to LOOK like one. It was styled identically
   to a plain title (same colour, no underline) and only revealed itself on
   hover, so on a touch device it was invisible as a link entirely. The
   underline carries the affordance rather than colour, so it does not depend on
   a contrast ratio the text colour would have to earn on its own. */
.ds-text-feature__point-link {
  text-decoration: underline;
  text-decoration-color: var(--ds-brand-accent-600, var(--ds-accent));
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--ds-transition-base), text-decoration-color var(--ds-transition-base);
}
.ds-text-feature__point-link:hover,
.ds-text-feature__point-link:focus-visible {
  color: var(--ds-primary);
  text-decoration-color: currentColor;
}
.ds-text-feature__point-desc { font-size: var(--ds-fs-base); color: var(--ds-body); line-height: var(--ds-lh-body); }
@media (min-width: 680px) {
  .ds-text-feature--cols-2 .ds-text-feature__points { grid-template-columns: 1fr 1fr; }
}

/* ─── Fact card (A5) ────────────────────────────────────────────────────── */
.ds-text-feature--fact-card .ds-text-feature__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-xl);
  align-items: start;
}
@media (min-width: 820px) {
  .ds-text-feature--fact-card .ds-text-feature__inner {
    grid-template-columns: 1.5fr 0.9fr;
    gap: clamp(2.5rem, 5vw, 3.5rem);
  }
}
.ds-text-feature__facts {
  border-radius: var(--ds-radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  /* Use --ds-primary-dark, not --ds-dark: the .ds-on-dark context on this card
     remaps --ds-dark to white for its descendants, so --ds-dark here would go
     white-on-white. --ds-primary-dark is not remapped (matches value-intro). */
  background-color: var(--ds-primary-dark);
  color: var(--ds-white);
  box-shadow: var(--ds-shadow-xl);
}
.ds-text-feature__facts-eyebrow { display: block; color: color-mix(in srgb, var(--ds-white) 62%, transparent); }
.ds-text-feature__facts-heading {
  margin: var(--ds-space-xs) 0 var(--ds-space-md);
  font-size: var(--ds-h4);
  color: var(--ds-white);
}
.ds-text-feature__facts-list { margin: 0; }
.ds-text-feature__fact {
  display: flex;
  gap: var(--ds-space-md);
  padding-block: var(--ds-space-sm);
  border-top: 1px solid color-mix(in srgb, var(--ds-white) 14%, transparent);
  font-size: var(--ds-fs-sm);
}
.ds-text-feature__fact-k { flex: 0 0 6rem; margin: 0; color: color-mix(in srgb, var(--ds-white) 60%, transparent); }
.ds-text-feature__fact-v { margin: 0; color: var(--ds-white); font-weight: var(--ds-fw-semibold); }

/* ─── Alternating photos (A2) ───────────────────────────────────────────── */
.ds-text-feature__rows { display: flex; flex-direction: column; gap: var(--ds-space-2xl); }
.ds-text-feature__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-lg);
  align-items: center;
}
.ds-text-feature__row-media {
  position: relative;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  box-shadow: var(--ds-shadow-lg);
  aspect-ratio: 16 / 11;
}
.ds-text-feature__row-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-text-feature__row-heading { margin: 0 0 var(--ds-space-sm); font-size: var(--ds-fs-xl); color: var(--ds-dark); }
.ds-text-feature__row-p { margin: 0 0 var(--ds-space-sm); color: var(--ds-body); }
.ds-text-feature__row-p:last-child { margin-bottom: 0; }
@media (min-width: 820px) {
  .ds-text-feature__row { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: stretch; }
  /* Photo matches the copy's height beside it (comb 3.9 2026-08-24): the
     image is absolute-filled so the copy drives the row height. */
  .ds-text-feature__row-media { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .ds-text-feature__row-img { position: absolute; inset: 0; }
  .ds-text-feature__row--flip .ds-text-feature__row-media { order: 2; }
}

/* --- components/topbar/topbar.css --- */
/* ===========================================
   components/topbar/topbar.css
   Optional utility bar above the header. Desktop-only by default.
   =========================================== */

.ds-topbar { display: none; }

/* Utility strip is a desktop affordance; on mobile the sticky CTA bar carries
   the phone, so the topbar stays hidden to keep the chrome light. */
@media (min-width: 960px) {
  .ds-topbar { display: block; }
}

.ds-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-lg);
  min-height: 40px;
  padding-block: var(--ds-space-xs);
}

/* Centered variant: the lead (rating/note) sits dead-centre of the bar, items
   stay hard right. Equal 1fr side columns keep the lead at the true midpoint. */
.ds-topbar--center .ds-topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.ds-topbar--center .ds-topbar__lead  { grid-column: 2; justify-self: center; }
.ds-topbar--center .ds-topbar__items { grid-column: 3; justify-self: end; }
/* 3-zone (items_left): left rail | lead | right rail. */
.ds-topbar--center .ds-topbar__items--left { grid-column: 1; justify-self: start; }

/* ─── Colour variants ─── */
.ds-topbar--bg-primary-dark { background-color: var(--ds-primary-dark); color: var(--ds-white); }
.ds-topbar--bg-dark         { background-color: var(--ds-dark);         color: var(--ds-white); }
.ds-topbar--bg-primary      { background-color: var(--ds-primary);      color: var(--ds-primary-ink, var(--ds-white)); }
.ds-topbar--bg-accent       { background-color: var(--ds-accent);       color: var(--ds-accent-ink, var(--ds-dark)); }

/* ─── Lead (rating or trust note) ─── */
.ds-topbar__rating,
.ds-topbar__note {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  font-size: var(--ds-fs-sm);
  color: inherit;
  text-decoration: none;
}
.ds-topbar__rating strong { font-weight: var(--ds-fw-bold); }
.ds-topbar__rating span   { opacity: 0.85; }
.ds-topbar__rating:hover  { text-decoration: underline; text-underline-offset: 2px; }

.ds-topbar__star {
  width: var(--ds-icon-sm, 16px);
  height: var(--ds-icon-sm, 16px);
  color: var(--ds-accent);
  flex-shrink: 0;
}
.ds-topbar--bg-accent .ds-topbar__star { color: var(--ds-dark); }

/* ─── Right-side items ─── */
.ds-topbar__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--ds-space-lg);
}

.ds-topbar__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: var(--ds-fs-sm);
}

/* Hairline divider between items. */
.ds-topbar__item + .ds-topbar__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--ds-space-md));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1em;
  background-color: currentColor;
  opacity: 0.3;
}

.ds-topbar__link,
.ds-topbar__item > span {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  color: inherit;
  text-decoration: none;
}
.ds-topbar__link:hover { text-decoration: underline; text-underline-offset: 2px; }

.ds-topbar__icon {
  display: inline-flex;
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}
.ds-topbar__icon svg { width: 100%; height: 100%; fill: currentColor; }

/* --- components/trust-bar/trust-bar.css --- */
/* ===========================================
   components/trust-bar/trust-bar.css
   Every value resolves to a --ds-* token.
   =========================================== */

/* ─── Wrapper ───────────────────────────────────────────────────────────── */

.ds-trust-bar {
  position: relative;
  width: 100%;
}

/* ─── Variant: default (full-bleed coloured band) ──────────────────────── */

.ds-trust-bar--default {
  padding: 0;
}

.ds-trust-bar--default .ds-trust-bar__container {
  /* Override container max-width — band is full-bleed, content is padded internally. */
  max-width: none;
  padding-inline: 0;
}

.ds-trust-bar--default .ds-trust-bar__list {
  padding-block: var(--ds-space-lg);
  padding-inline: max(
    var(--ds-space-xl),
    calc(50vw - var(--ds-container) / 2 + var(--ds-space-xl))
  );
  color: var(--ds-white);
}

/* Background colour variants — only honoured on the default variant.
   bg-primary/bg-accent carry brand-safe ink (--ds-*-ink): those fills can be
   light on some brands, where the inherited white fails AA. bg-primary-dark
   and bg-dark are dark by contract, so they keep the white above. */
.ds-trust-bar--default.ds-trust-bar--bg-primary       .ds-trust-bar__list { background-color: var(--ds-primary); color: var(--ds-primary-ink, var(--ds-white)); }
.ds-trust-bar--default.ds-trust-bar--bg-primary-dark  .ds-trust-bar__list { background-color: var(--ds-primary-dark); }
.ds-trust-bar--default.ds-trust-bar--bg-accent        .ds-trust-bar__list { background-color: var(--ds-accent); color: var(--ds-accent-ink, var(--ds-white)); }
.ds-trust-bar--default.ds-trust-bar--bg-dark          .ds-trust-bar__list { background-color: var(--ds-dark); }

/* ─── Variant: light (in-page section, contained) ──────────────────────── */

.ds-trust-bar--light {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-light);
}

.ds-trust-bar--light .ds-trust-bar__list {
  background-color: transparent;
  color: var(--ds-body);
  padding: 0;
}

.ds-trust-bar--light .ds-trust-bar__value {
  color: var(--ds-dark);
}

/* ─── Variant: compact (under-hero strip) ──────────────────────────────── */

.ds-trust-bar--compact {
  padding-block: var(--ds-space-lg);
  background-color: var(--ds-bg-elevated);
  border-block: 1px solid var(--ds-border);
}

.ds-trust-bar--compact .ds-trust-bar__list {
  background-color: transparent;
  color: var(--ds-body);
  padding: 0;
}

.ds-trust-bar--compact .ds-trust-bar__value {
  color: var(--ds-dark);
}

/* ─── List + items ─────────────────────────────────────────────────────── */

.ds-trust-bar__list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-lg);
}

.ds-trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  min-width: 0;
  /* Allow items to share the row evenly when they fit, and stack 2-up when they don't. */
  flex: 1 1 220px;
}

/* Plain icon (no cube frame) — sized via container, accent-coloured. */
.ds-trust-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ds-accent);
  flex-shrink: 0;
}

.ds-trust-bar__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ─── Text ─────────────────────────────────────────────────────────────── */

.ds-trust-bar__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ds-trust-bar__value {
  font-family: var(--ds-heading);
  font-weight: var(--ds-fw-bold);
  font-size: var(--ds-fs-xl);
  line-height: var(--ds-lh-tight);
  letter-spacing: var(--ds-ls-normal);
}

.ds-trust-bar__label {
  font-family: var(--ds-body-font);
  font-weight: var(--ds-fw-regular);
  font-size: var(--ds-fs-sm);
  line-height: var(--ds-lh-loose);
  opacity: 0.85;
}

/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .ds-trust-bar__list {
    justify-content: flex-start;
    gap: var(--ds-space-md);
  }
  .ds-trust-bar__item {
    flex: 1 1 calc(50% - var(--ds-space-md));
  }
  .ds-trust-bar__value {
    font-size: var(--ds-fs-lg);
  }
}

@media (max-width: 380px) {
  .ds-trust-bar__item {
    flex: 1 1 100%;
  }
}

/* ── Ledger variant: hairline-divided inline row (the Genesis default, 2026-07-28) ── */
/* Full-bleed coloured band (matches the legacy default band) so the bg-* class
   the PHP applies actually paints a ground under the white type. */
.ds-trust-bar--ledger { padding: 0; }
.ds-trust-bar--ledger .ds-trust-bar__container { max-width: none; padding-inline: 0; }
.ds-trust-bar--ledger.ds-trust-bar--bg-primary       .ds-trust-bar__list { background-color: var(--ds-primary); }
.ds-trust-bar--ledger.ds-trust-bar--bg-primary-dark  .ds-trust-bar__list { background-color: var(--ds-primary-dark); }
.ds-trust-bar--ledger.ds-trust-bar--bg-accent        .ds-trust-bar__list { background-color: var(--ds-accent); }
.ds-trust-bar--ledger.ds-trust-bar--bg-dark          .ds-trust-bar__list { background-color: var(--ds-dark); }
.ds-trust-bar--ledger .ds-trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;       /* centred in the band */
  gap: 0;
  color: var(--ds-white);
  padding-block: var(--ds-space-lg);
  padding-inline: max(var(--ds-space-xl), calc(50vw - var(--ds-container) / 2 + var(--ds-space-xl)));
}
.ds-trust-bar--ledger .ds-trust-bar__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  padding-inline: clamp(var(--ds-space-md), 3vw, var(--ds-space-2xl));
  border-left: 1px solid color-mix(in srgb, var(--ds-white) 15%, transparent);
}
.ds-trust-bar--ledger .ds-trust-bar__item:first-child {
  padding-left: 0;
  border-left: 0;
}
.ds-trust-bar--ledger .ds-trust-bar__icon {
  width: 22px;
  height: 22px;
  color: var(--ds-accent);
  flex: none;
}
.ds-trust-bar--ledger .ds-trust-bar__text { flex-direction: row; }   /* value only, no stacked label */
.ds-trust-bar--ledger .ds-trust-bar__value {
  font-size: var(--ds-fs-base);
  font-weight: var(--ds-fw-semibold);
  color: var(--ds-white);
  white-space: nowrap;
}
/* Light-band override (variant=ledger + bg tint/light/paper) */
.ds-trust-bar--ledger.ds-trust-bar--light .ds-trust-bar__item { border-left-color: var(--ds-border); }
.ds-trust-bar--ledger.ds-trust-bar--light .ds-trust-bar__icon  { color: var(--ds-brand-accent-800, var(--ds-accent)); }
.ds-trust-bar--ledger.ds-trust-bar--light .ds-trust-bar__value { color: var(--ds-dark); }

/* Brand-safe ink on bg-primary/bg-accent ledger bands: those fills can be
   light on some brands, where the white above fails AA. Dark bands keep white. */
.ds-trust-bar--ledger.ds-trust-bar--bg-primary .ds-trust-bar__list,
.ds-trust-bar--ledger.ds-trust-bar--bg-primary .ds-trust-bar__value { color: var(--ds-primary-ink, var(--ds-white)); }
.ds-trust-bar--ledger.ds-trust-bar--bg-accent .ds-trust-bar__list,
.ds-trust-bar--ledger.ds-trust-bar--bg-accent .ds-trust-bar__value { color: var(--ds-accent-ink, var(--ds-white)); }

/* Mobile: stack the proof points vertically, drop the vertical rules. */
@media (max-width: 767px) {
  .ds-trust-bar--ledger .ds-trust-bar__list {
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-md);
  }
  .ds-trust-bar--ledger .ds-trust-bar__item {
    border-left: 0;
    padding-inline: 0;
    justify-content: center;
  }
}

/* Credibility upgrade: real accreditation marks as grayscale logos on a light plate.
   Items with logo_url render this instead of icon + value; others keep the ledger row. */
.ds-trust-bar__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  padding: var(--ds-space-xs) var(--ds-space-md);
  min-height: 44px;
}
.ds-trust-bar__logo {
  max-height: 32px;
  width: auto;
  filter: grayscale(1);
  opacity: .85;
}

/* ===========================================
   Variant: ledger-ticker (Sutton) - star-separated credential band.
   Marker `ds-review-strip`. Navy dark by default; --light on tint bands.
   =========================================== */
.ds-trust-strip { background: var(--ds-primary-dark); color: var(--ds-white); }
.ds-trust-strip--light { background: var(--ds-light); color: var(--ds-body); border-block: 1px solid var(--ds-border); }
.ds-trust-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--ds-space-md) 0; padding-block: var(--ds-space-md); }
.ds-trust-strip__item { display: inline-flex; align-items: center; gap: var(--ds-space-sm); padding-inline: clamp(var(--ds-space-sm), 2vw, var(--ds-space-xl)); font-size: var(--ds-fs-sm); white-space: nowrap; }
.ds-trust-strip__item + .ds-trust-strip__item::before { content: "\2605"; color: var(--ds-accent); font-size: .78em; margin-right: var(--ds-space-md); }
.ds-trust-strip__item svg { width: 18px; height: 18px; color: var(--ds-accent); flex: 0 0 auto; }
.ds-trust-strip__item strong { font-family: var(--ds-heading); font-weight: var(--ds-fw-bold); }

/* A single long strip item can exceed a 375 viewport under nowrap and scroll
   the whole page sideways (comb 8.1: /reviews/ at 375 overflowed 36px,
   2026-08-24). Let item text wrap on small screens; items stay whole units. */
@media (max-width: 600px) {
  .ds-trust-strip__item { white-space: normal; text-align: center; }
}
.ds-trust-strip__stars, .ds-trust-strip .ds-stars { color: var(--ds-accent); letter-spacing: .05em; }

/* --- components/value-intro/value-intro.css --- */
/* ===========================================
   components/value-intro/value-intro.css
   Prose column + elevated promise card. Tokens only.
   =========================================== */

.ds-value-intro {
  padding-block: var(--ds-section-pad);
  background-color: var(--ds-bg);
}

.ds-value-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-2xl);
  align-items: center;
}

@media (min-width: 900px) {
  .ds-value-intro__inner {
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.ds-value-intro__eyebrow { margin: 0 0 var(--ds-space-sm); }
.ds-value-intro__heading { margin: 0 0 var(--ds-space-md); }
.ds-value-intro__body { max-width: 40rem; color: var(--ds-muted); }
.ds-value-intro__body p { margin-block: 0 var(--ds-space-md); }

.ds-value-intro__link {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  margin-top: var(--ds-space-sm);
  color: var(--ds-secondary);
  font-weight: var(--ds-fw-bold);
  text-decoration: none;
  transition: gap var(--ds-transition-base), color var(--ds-transition-base);
}
.ds-value-intro__link svg { width: 1.1em; height: 1.1em; }
.ds-value-intro__link:hover, .ds-value-intro__link:focus-visible { gap: var(--ds-space-sm); color: var(--ds-primary); }

/* ─── Promise card ─────────────────────────────────────────────────────── */

.ds-value-intro__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ds-radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--ds-shadow-xl);
  color: var(--ds-white);
}
.ds-value-intro__card--dark    { background-color: var(--ds-primary-dark); }
.ds-value-intro__card--primary { background-color: var(--ds-secondary); }

/* --dark sits on primary-dark, dark by construction, so white holds. --primary
   is actually a --ds-secondary fill (a derived primary scale step), which on a
   light-primary brand is a mid tone: key its text off the derived secondary
   ink instead. */
.ds-value-intro__card--primary,
.ds-value-intro__card--primary .ds-value-intro__card-heading { color: var(--ds-secondary-ink, var(--ds-white)); }
/* Full strength: dimming the ink on a mid-tone secondary drops it under AA. */
.ds-value-intro__card--primary .ds-value-intro__card-sub { color: var(--ds-secondary-ink, color-mix(in srgb, var(--ds-white) 78%, transparent)); }
.ds-value-intro__card--primary .ds-value-intro__card-row { border-top-color: color-mix(in srgb, var(--ds-secondary-ink, var(--ds-white)) 14%, transparent); }

.ds-value-intro__seal {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 150px;
  height: 150px;
  border-radius: var(--ds-radius-full);
  background-color: color-mix(in srgb, var(--ds-primary) 28%, transparent);
  pointer-events: none;
}

.ds-value-intro__card-heading { position: relative; margin: 0 0 var(--ds-space-xs); color: var(--ds-white); font-size: var(--ds-h4); }
.ds-value-intro__card-sub { position: relative; margin: 0 0 var(--ds-space-md); color: color-mix(in srgb, var(--ds-white) 78%, transparent); font-size: var(--ds-fs-sm); }

.ds-value-intro__card-list { position: relative; list-style: none; margin: 0; padding: 0; }
.ds-value-intro__card-row {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  padding-block: var(--ds-space-md);
  border-top: 1px solid color-mix(in srgb, var(--ds-white) 14%, transparent);
  font-weight: var(--ds-fw-semibold);
  font-size: var(--ds-fs-sm);
}
.ds-value-intro__card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-md);
  background-color: var(--ds-primary);
  color: var(--ds-primary-ink, var(--ds-white));
}
.ds-value-intro__card-icon svg { width: 20px; height: 20px; }

/* --- components/verdict-badge/verdict-badge.css --- */
/* ===========================================
   components/verdict-badge/verdict-badge.css
   Levels resolve to the semantic state tokens
   (--ds-success/--ds-warning/--ds-error/--ds-info)
   so the scale reads correctly on any brand.
   =========================================== */

.ds-verdict {
  --ds-verdict-color: var(--ds-info);
}

.ds-verdict--low      { --ds-verdict-color: var(--ds-success); }
.ds-verdict--moderate { --ds-verdict-color: var(--ds-warning); }
.ds-verdict--high     { --ds-verdict-color: var(--ds-error); }
.ds-verdict--unclear  { --ds-verdict-color: var(--ds-info); }

/* ── Chip ───────────────────────────────────────────────────────────── */

.ds-verdict--chip,
.ds-verdict__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-xs);
  padding: 0.2em 0.75em;
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-sm);
  font-weight: var(--ds-fw-semibold);
  line-height: 1.6;
  color: var(--ds-verdict-color);
  background-color: color-mix(in srgb, var(--ds-verdict-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-verdict-color) 35%, transparent);
  border-radius: var(--ds-radius-full);
  white-space: nowrap;
}

.ds-verdict__dot {
  width: 0.5em;
  height: 0.5em;
  border-radius: var(--ds-radius-full);
  background-color: var(--ds-verdict-color);
}

/* ── Card ───────────────────────────────────────────────────────────── */

.ds-verdict--card {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  margin-block: var(--ds-space-lg);
  padding: var(--ds-space-lg) var(--ds-space-xl);
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-left: 4px solid var(--ds-verdict-color);
  border-radius: var(--ds-radius-md);
}

.ds-verdict__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
  flex-wrap: wrap;
}

.ds-verdict__kicker {
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-xs);
  font-weight: var(--ds-fw-semibold);
  letter-spacing: var(--ds-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ds-muted);
}

.ds-verdict__statement {
  margin: 0;
  font-family: var(--ds-heading);
  font-size: var(--ds-fs-lg);
  font-weight: var(--ds-fw-semibold);
  line-height: var(--ds-lh-loose);
  color: var(--ds-dark);
}

.ds-verdict__basis {
  margin: 0;
  font-size: var(--ds-fs-sm);
  color: var(--ds-muted);
}



/* ===========================================================================
   POOLSIDE SKIN
   Site-specific layer over the library components + tokens.css. This is where
   the "Light & Airy" identity lives (Fraunces 900 headings, wave dividers,
   the raised middle service card, gold pops, AA-safe aqua buttons). Pages stay
   pure ds_component() calls; the brand look is tokens + this file.
   =========================================================================== */

:root {
  --ps-gold:      #FFB71D;  /* small pops — stars, "selling" accents (not a role token) */
  --ps-gold-ink:  #8A6410;  /* AA-legible gold text on light */
  --ps-gold-wash: color-mix(in srgb, var(--ps-gold) 10%, var(--ds-bg));  /* selling band */
  --ps-wave-clear: 40px;    /* breathing room a wave must give back — see below */
}

/* ── Wave dividers ──────────────────────────────────────────────────────── */
/* One shape, two orientations, used wherever two sections meet on different
   colours. The wave is a MASK, not a filled data-URI, so its colour is a real
   CSS value and can be a token or a color-mix() instead of a baked-in hex.
   The rule: a TOP wave is painted in the colour of the section ABOVE it, a
   BOTTOM wave in the colour of the section BELOW. Set the colour per section
   via --ps-wave-top / --ps-wave-bottom. */

/* Sections that carry a wave. Listed here rather than as an extra_class on each
   ds_component() call so a page template can't accidentally ship a band without
   its divider (.ps-final alone appears on ten templates). */
.ps-wave-top,    .ps-promise, .ps-reviews, .ps-final,
.ps-wave-bottom, .ps-selling { position: relative; }

/* RULE: a wave always buys back its own clearance.
   The wave is absolutely positioned INSIDE the section's padding, so it covers
   the first (or last) 60px of it and the content ends up sitting right against
   the curve with no room to breathe. Any section given a wave therefore gets
   --ps-wave-clear added to the padding on that edge. This is automatic — adding
   a wave class is all that's needed, there is no separate spacing step to
   remember. Sections whose padding isn't the standard --ds-section-pad declare
   their own base via --ps-pad-top / --ps-pad-bottom (see .ps-final). */
.ps-wave-top, .ps-promise, .ps-reviews, .ps-final {
  padding-top: calc(var(--ps-pad-top, var(--ds-section-pad)) + var(--ps-wave-clear));
}
.ps-wave-bottom, .ps-selling {
  padding-bottom: calc(var(--ps-pad-bottom, var(--ds-section-pad)) + var(--ps-wave-clear));
}

.ps-wave-top::before,
.ps-promise::before, .ps-reviews::before, .ps-final::before,
.ps-wave-bottom::after,
.ps-selling::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 60px; z-index: 2; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;   mask-size: 100% 100%;
}

.ps-wave-top::before,
.ps-promise::before, .ps-reviews::before, .ps-final::before {
  top: -1px;
  background-color: var(--ps-wave-top, var(--ds-bg));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1200 4 980 58 720 34S240 4 0 32Z' fill='%23000'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1200 4 980 58 720 34S240 4 0 32Z' fill='%23000'/%3E%3C/svg%3E");
}

.ps-wave-bottom::after,
.ps-selling::after {
  bottom: -1px;
  background-color: var(--ps-wave-bottom, var(--ds-bg));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64H1440V34C1200 60 980 6 720 30S240 60 0 32Z' fill='%23000'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64H1440V34C1200 60 980 6 720 30S240 60 0 32Z' fill='%23000'/%3E%3C/svg%3E");
}

/* ── Global type + controls ─────────────────────────────────────────────── */

/* Tighter page gutters than the library default (which steps up to --ds-space-xl
   at 768px). Flat 20px each side at every breakpoint. */
.ds-container { padding-inline: 20px; }

/* The base sets `.ds-mark { white-space: nowrap }`, which forces a marked
   phrase onto one line. On anything longer than a word or two that overflows
   its container on narrow screens: "before the campaign" ran straight out of
   the breakout panel on mobile. This was already patched once further down for
   the spotlight hero heading only, so it came back the moment `mark` was used
   in another component. Fixed at the root instead. A mark that must not break
   should use a non-breaking space, not a blanket nowrap. */
.ds-mark { white-space: normal; }

/* Heavy Fraunces display weight is the signature (matches home-preview). */
.ds-h1, .ds-h2, .ds-h3 { font-weight: 900; }
.ds-h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08; }

/* Default eyebrow reads teal-aqua, not pink. Deep teal (#226360) clears WCAG AA
   (~6.4:1) on cream where the lighter aqua-7 (#2C817E) only hit ~4.25:1. */
.ds-eyebrow { color: var(--ds-brand-primary-800); font-weight: 800; letter-spacing: 0.18em; }

/* ── AA contrast hardening (small text + white-on-aqua fills) ─────────────── */
/* Body-size teal links → deep teal so they clear 4.5:1 on light. */
.ds-value-intro__link,
.ds-meet-owner__link,
.ds-area-links__link,
.ds-services-grid .ds-card__cta { color: var(--ds-brand-primary-800); }
/* White numerals/labels on a bright-aqua fill fail AA — darken the fill. */
.ds-promise-steps__num { background-color: var(--ds-brand-primary-800); }
.ds-area-links__pill.is-featured { background-color: var(--ds-brand-primary-800); border-color: var(--ds-brand-primary-800); }
/* The featured contact detail (phone) card: teal fill so white text passes. */
.ds-contact-section__detail--featured { background-color: var(--ds-primary-dark); border-color: var(--ds-primary-dark); }

/* Rounder, bolder buttons. AA fix: bright aqua fill uses DEEP-TEAL text
   (white on #47C0BB fails WCAG AA; deep teal on aqua ~5.9:1 passes). */
.ds-btn { border-radius: var(--ds-radius-lg); font-weight: 800; }
.ds-btn--primary,
.ds-hero__cta-primary {
  background-color: var(--ds-primary);
  color: var(--ds-primary-dark);
  border-color: var(--ds-primary);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--ds-primary) 32%, transparent);
}
/* Mouse focus / press: the chassis `.ds-btn--primary:focus` (and `--accent:focus` on the
   hero CTA) put white text on aqua/pink (2.2:1 / 1.75:1). Hold the rest look; it sits
   before :hover so hover still moves the ground (hover audit 2026-10-28). */
.ds-btn--primary:is(:focus,:active),
.ds-hero__cta-primary:is(:focus,:active) {
  background-color: var(--ds-primary);
  color: var(--ds-primary-dark);
  border-color: var(--ds-primary);
}
.ds-btn--primary:hover, .ds-btn--primary:focus-visible,
.ds-hero__cta-primary:hover, .ds-hero__cta-primary:focus-visible {
  /* Lighter aqua, not --ds-primary-hover: deep teal on #379F9B was 4.2:1 (hover audit 2026-10-28). */
  background-color: var(--ds-brand-primary-300);
  color: var(--ds-primary-dark);
  border-color: var(--ds-brand-primary-300);
}
/* Inverse (on dark/aqua bands): white fill, deep-teal text (aqua-on-white fails AA). */
.ds-btn--inverse { background-color: var(--ds-white); color: var(--ds-primary-dark); border-color: var(--ds-white); }
.ds-btn--inverse:is(:focus,:active) { color: var(--ds-primary-dark); }   /* chassis :focus gave aqua on white 2.2:1 */
.ds-btn--inverse:hover, .ds-btn--inverse:focus-visible { background-color: color-mix(in srgb, var(--ds-white) 90%, var(--ds-primary)); color: var(--ds-primary-dark); }

/* ── HEADER / NAV ───────────────────────────────────────────────────────── */

/* Dropdown rows fill the column instead of hugging their text, so the hover
   state reads as a full-width row rather than a pill around the word. */
.ds-header__dropdown .ds-header__nav-link { display: flex; width: 100%; }

/* Areas dropdown carries 24 towns under 6 region headings.
   --ds-dropdown-wide-width is 480px in tokens, sized for a 2-column list; this
   one needs three, so set the width outright rather than via the fallback. */
/* Scoped to the DESKTOP nav throughout. The mobile drawer renders the same
   markup, and the library's mobile overrides (min-width:0, columns:1) are lower
   in the cascade than this file, so an unscoped rule would force a 760px
   three-column grid into the drawer. */
.ds-header__nav .ds-header__nav-item--wide > .ds-header__dropdown-wrap { min-width: 600px; max-width: calc(100vw - 40px); }

/* GRID, not multi-column. Multi-column flows items continuously, so a region
   could start in one column and spill its remaining towns into the top of the
   next with no heading above them (Macedon Ranges orphaned Romsey/Woodend/
   Kyneton). Here each heading spans the full width, which forces its towns onto
   a fresh row beneath it, so a group can never be split from its own heading. */
.ds-header__nav .ds-header__nav-item--wide > .ds-header__dropdown-wrap .ds-header__dropdown {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px var(--ds-space-lg);
  align-content: start;
}
.ds-header__nav .ds-header__nav-item--wide .ds-header__nav-item--heading { grid-column: 1 / -1; }
.ds-header__dropdown .ds-header__nav-item--heading { margin-top: var(--ds-space-md); }
.ds-header__dropdown > .ds-header__nav-item--heading:first-child { margin-top: 0; }
/* Tighter to the towns beneath it, and no eyebrow tracking — at 16px the wide
   letter-spacing pushed the longer region names to two lines. */
.ds-header__nav-heading {
  color: var(--ds-brand-primary-800);
  padding: var(--ds-space-sm) var(--ds-space-md) 0 var(--ds-space-md);
  letter-spacing: normal;
}

/* ── HERO (spotlight) ───────────────────────────────────────────────────── */

.ds-hero--spotlight { position: relative; min-height: 640px; display: flex; align-items: center; color: var(--ds-white); }
.ds-hero--spotlight .ds-hero__container { padding-block: clamp(4rem, 10vh, 7rem); width: 100%; }
.ds-hero--spotlight .ds-hero__scrim {
  background: linear-gradient(115deg,
    color-mix(in srgb, var(--ds-primary-dark) 92%, transparent) 0%,
    color-mix(in srgb, var(--ds-primary-dark) 66%, transparent) 46%,
    color-mix(in srgb, var(--ds-primary-dark) 24%, transparent) 100%);
}
/* .ds-hero__container already sets the vertical rhythm, so no top padding here
   (doubling them pushed the copy block too tall). The bottom keeps 40px as the
   hero's wave clearance — this hero carries a bespoke ::after wave with its own
   deeper shape rather than the shared .ps-wave-* utility, so it can't inherit
   the --ps-wave-clear rule and pays for the clearance here instead. */
.ds-hero--spotlight .ds-hero__grid { padding-block: 0 40px; }
.ds-hero--spotlight .ds-hero__heading {
  font-size: clamp(2.75rem, 6vw, 4.4rem);
  color: var(--ds-white);
  max-width: 15ch;
  margin-block: var(--ds-space-sm) var(--ds-space-md);
}
.ds-hero--spotlight .ds-hero__heading .ds-mark { color: var(--ds-brand-primary-300); font-style: italic; white-space: normal; }
.ds-hero--spotlight .ds-hero__sub { color: color-mix(in srgb, var(--ds-white) 88%, transparent); font-size: var(--ds-fs-lg); max-width: 40ch; }
.ds-hero__review-pill {
  background-color: color-mix(in srgb, var(--ds-white) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-white) 28%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--ds-radius-full);
  color: var(--ds-white);
}
.ds-hero__review-stars { color: var(--ps-gold); }
/* Spotlight secondary reads as a true outline button: white edge, no underline. */
.ds-hero--spotlight .ds-hero__cta-secondary { background: transparent; border-color: var(--ds-white); color: var(--ds-white); text-decoration: none; box-shadow: none; }
.ds-hero--spotlight .ds-hero__cta-secondary:hover,
.ds-hero--spotlight .ds-hero__cta-secondary:focus-visible { background-color: var(--ds-white); border-color: var(--ds-white); color: var(--ds-primary-dark); text-decoration: none; }
/* Light heroes (service/location/generic): secondary stays a legible teal link. */
.ds-hero:not(.ds-hero--spotlight) .ds-hero__cta-secondary { background: transparent; border-color: transparent; color: var(--ds-secondary); box-shadow: none; }
.ds-hero:not(.ds-hero--spotlight) .ds-hero__cta-secondary:hover { background: transparent; color: var(--ds-secondary-hover); text-decoration: underline; text-underline-offset: 4px; }   /* was --ds-primary: aqua on cream 2.06:1 (hover audit 2026-10-28) */
@media (min-width: 960px) { .ds-hero--spotlight .ds-hero__content { max-width: 85%; } }

/* Spotlight WITH a form: copy left, form card right, photo full-bleed behind
   both. The spotlight grid is display:block by default (single column), so it
   has to become a real grid here. */
.ds-hero--spotlight.ds-hero--has-form .ds-hero__form-wrap {
  background-color: var(--ds-bg-elevated);
  border: 0;
  box-shadow: var(--ds-shadow-xl);
  border-radius: var(--ds-radius-lg);
}
@media (min-width: 960px) {
  .ds-hero--spotlight.ds-hero--has-form .ds-hero__grid {
    display: grid;
    /* 1.05fr left the copy column at 597px, which wrapped the two hero CTAs
       (583px of button plus the gap) onto separate lines by a few pixels. */
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--ds-space-2xl);
    align-items: center;
  }
  .ds-hero--spotlight.ds-hero--has-form .ds-hero__content { max-width: 100%; }
}
@media (max-width: 959px) {
  /* Stacked: the form sits under the copy, still on the photo. */
  .ds-hero--spotlight.ds-hero--has-form .ds-hero__form-wrap { margin-top: var(--ds-space-xl); }
}

/* ── Breakout on narrow screens ─────────────────────────────────────────── */
/* Two mobile problems: the panel's negative top margin ate too much of the
   photo, and a long CTA label is wider than the panel's content box below
   ~500px (buttons are inline-flex, so they don't shrink and they overflow). */
@media (max-width: 879px) {
  .ds-breakout__panel { margin-top: calc(-1 * var(--ds-space-lg)); }
  .ds-breakout__buttons { flex-direction: column; align-items: stretch; }
  .ds-breakout__buttons .ds-btn { width: 100%; }
}
.ds-hero__trust-item { color: color-mix(in srgb, var(--ds-white) 92%, transparent); font-weight: 700; font-size: 18px; }
.ds-hero__trust-icon { color: var(--ds-brand-primary-300); }
.ds-hero__trust-icon svg { width: 18px; height: 18px; }
/* "Last updated" microcopy on the money-page heroes: visible counterpart of the
   schema dateModified. 16px via --ds-fs-sm (site type floor). */
.ds-hero__updated { font-size: var(--ds-fs-sm); color: var(--ds-muted); margin: 0; }
.ds-hero--spotlight .ds-hero__updated { color: color-mix(in srgb, var(--ds-white) 75%, transparent); }
/* Review pill on the light generic hero (rates): the site-wide glass pill above
   is tuned for the spotlight photo; on cream it needs the solid light look back. */
.ds-hero--generic .ds-hero__review-pill {
  background-color: var(--ds-bg-elevated);
  border-color: var(--ds-border);
  color: var(--ds-body);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* Cream wave sweeping into the section below. */
.ds-hero--spotlight::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 44C210 82 470 6 720 32S1190 78 1440 36V70H0Z' fill='%23FEF6ED'/%3E%3C/svg%3E") bottom / 100% 64px no-repeat;
}

/* ── SERVICES — centred header + raised middle card ─────────────────────── */

.ds-services-grid__header { margin-bottom: var(--ds-space-lg); }
.ps-services .ds-services-grid__header { align-items: center; text-align: center; }
.ps-services .ds-services-grid__header-copy { max-width: 60ch; margin-inline: auto; }
.ps-services .ds-services-grid__grid { align-items: start; }
.ps-services .ds-services-grid__card--icon { border-radius: var(--ds-radius-lg); border: 1px solid var(--ds-border); background-color: var(--ds-bg-elevated); box-shadow: var(--ds-shadow-md); }
.ps-services .ds-icon-cube { background-color: color-mix(in srgb, var(--ds-primary) 14%, transparent); color: var(--ds-primary); }
@media (min-width: 768px) {
  .ps-services .ds-services-grid__card--icon:nth-child(2) { transform: translateY(28px); box-shadow: var(--ds-shadow-xl); border-color: var(--ds-brand-primary-200); }
  .ps-services .ds-services-grid__card--icon:nth-child(2) .ds-icon-cube { background-color: var(--ds-primary); color: var(--ds-white); }
}

/* ── STATS (trust-bar on teal) ──────────────────────────────────────────── */

/* Zero section padding so the dark band butts straight up against the promise
   band above and the gold selling band below. That padding was transparent, so
   it rendered as cream strips sandwiching the banner — which is what read as a
   colour mismatch against the pink the promise gradient ends on. The band keeps
   its own internal padding (.ds-trust-bar__list), so nothing gets cramped. */
.ps-stats { position: relative; padding-block: 0; }
.ps-stats .ds-trust-bar__list { padding-block: clamp(2rem, 4vw, 2.75rem); }
.ps-stats .ds-trust-bar__item { flex-direction: column; text-align: center; gap: 4px; }
.ps-stats .ds-trust-bar__value { font-family: var(--ds-heading); font-weight: 900; font-size: clamp(2.2rem, 5vw, 2.9rem); color: var(--ds-brand-primary-300); line-height: 1; }
.ps-stats .ds-trust-bar__label { color: color-mix(in srgb, var(--ds-white) 70%, transparent); font-size: var(--ds-fs-sm); }
/* No waves on this one: the dark band runs edge to edge as a flat banner, so it
   meets the sections above and below on hard lines. */

/* ── PROMISE steps — deep pink-ink eyebrow ──────────────────────────────── */
.ds-promise-steps__eyebrow { color: var(--ds-brand-accent-900); }

/* ── SELLING callout — gold-washed band + gold-tinted card ──────────────── */
/* The band carries a soft gold wash so it reads as its own section between the
   teal stats band and the cream areas section, and so the wave underneath it
   has two different colours to sweep between. */
.ds-cta-banner.ps-selling { background-color: var(--ps-gold-wash); --ps-wave-bottom: var(--ds-bg); }
.ps-selling .ds-cta-banner__content {
  background: linear-gradient(120deg, var(--ds-white), color-mix(in srgb, var(--ps-gold) 12%, var(--ds-white)));
  border: 1px solid color-mix(in srgb, var(--ps-gold) 42%, var(--ds-border));
  border-radius: var(--ds-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1fr auto; gap: var(--ds-space-xl); align-items: center; text-align: left;
  box-shadow: var(--ds-shadow-md);
}
.ps-selling .ds-cta-banner__eyebrow { color: var(--ps-gold-ink); }
.ps-selling .ds-cta-banner__heading { color: var(--ds-primary-dark); }
.ps-selling .ds-cta-banner__body { color: var(--ds-muted); }
@media (max-width: 720px) { .ps-selling .ds-cta-banner__content { grid-template-columns: 1fr; } }

/* ── GUIDE teaser — teal card w/ emblem ─────────────────────────────────── */
.ds-cta-banner.ps-guide { background-color: var(--ds-bg); }
.ps-guide .ds-cta-banner__content {
  position: relative; overflow: hidden;
  background-color: var(--ds-primary-dark);
  border-radius: var(--ds-radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--ds-space-xl); align-items: center; text-align: left;
}
.ps-guide .ds-cta-banner__eyebrow { color: var(--ds-brand-primary-300); }
.ps-guide .ds-cta-banner__heading, .ps-guide .ds-cta-banner__body { color: var(--ds-white); position: relative; }
.ps-guide .ds-cta-banner__buttons { position: relative; }
.ps-guide .ds-cta-banner__content::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; opacity: 0.1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%237ED3CF'%3E%3Cpath d='M20 3C11 11 7 17 7 24a13 13 0 0 0 26 0c0-7-4-13-13-21Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 720px) { .ps-guide .ds-cta-banner__content { grid-template-columns: 1fr; } }

/* ── AREAS — flat cream ─────────────────────────────────────────────────── */
/* The radial glow used to sit here, but it tinted the top of the section teal
   while the wave sweeping down from the selling band above is cream, so the two
   never matched (and the ellipse edge showed as a visible box). Flat cream ends
   both problems and lets the wave land cleanly. */
.ds-area-links--pills { background-image: none; background-color: var(--ds-bg); }

/* The reviews CTA row now carries two buttons (one per Google Business Profile);
   the component's container was centred but had no gap or wrap. */
.ds-testimonials-grid__cta { flex-wrap: wrap; gap: var(--ds-space-md); }

/* ── REVIEWS — pink-tint bg, cream wave sweeping in from meet-owner above ── */
.ps-reviews { background-color: color-mix(in srgb, var(--ds-accent) 8%, var(--ds-bg)); --ps-wave-top: var(--ds-bg); }

/* ── VALUE INTRO + CHECK FEATURE — spacing / type ───────────────────────── */
.ds-value-intro__heading { margin: 0 0 var(--ds-space-lg); }
.ds-value-intro__link { margin-top: var(--ds-space-lg); }
.ds-check-feature__item-title { font-size: var(--ds-fs-md); }

/* ── PROMISE band — cream wave sweeping in from "what we check" above ────── */
.ps-promise { --ps-wave-top: var(--ds-bg); }
/* (Wave clearance is handled by the --ps-wave-clear rule up top, not here.) */
/* Whatever sits directly BELOW the promise band must draw its top wave in that
   gradient's END colour, not cream — the band fades to an accent tint, so a
   cream wave leaves a mismatched strip. On the services page the final CTA
   follows the promise band directly. Two-class selector so this wins on
   specificity regardless of where .ps-final is defined in this file. */
.ps-promise + .ps-final { --ps-wave-top: color-mix(in srgb, var(--ds-accent) 12%, var(--ds-bg)); }

/* ── FINAL CTA — deep-aqua band, white text (AA), cream wave-top ─────────── */
.ds-cta-banner.ps-final {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(120deg, var(--ds-secondary), var(--ds-brand-primary-800));
  /* Non-standard top padding, so declare it as the base the wave rule adds to
     rather than setting padding-top here (which would beat the wave rule). */
  --ps-pad-top: clamp(4rem, 7vw, 5.5rem);
  padding-bottom: var(--ds-section-pad);
}
.ps-final .ds-cta-banner__heading, .ps-final .ds-cta-banner__body { color: var(--ds-white); }
.ps-final .ds-cta-banner__eyebrow { color: color-mix(in srgb, var(--ds-white) 85%, transparent); }
.ps-final .ds-btn--outline { color: var(--ds-white); border-color: color-mix(in srgb, var(--ds-white) 60%, transparent); }
.ps-final .ds-btn--outline:hover, .ps-final .ds-btn--outline:focus-visible { background-color: var(--ds-white); color: var(--ds-primary-dark); border-color: var(--ds-white); }
/* Cream wave sweeping in from the FAQ section above. */
.ps-final { --ps-wave-top: var(--ds-bg); }

:root { --ds-container-narrow: 750px; }

/* ── Lead form ──────────────────────────────────────────────────────────── */
.ps-lead-form { display: flex; flex-direction: column; gap: var(--ds-space-md); }
.ps-lead-form__row { margin: 0; display: flex; flex-direction: column; gap: var(--ds-space-xs); }
.ps-lead-form__row--split { flex-direction: column; }
.ps-lead-form__row--split > span { display: flex; flex-direction: column; gap: var(--ds-space-xs); }
.ps-lead-form label { font-size: var(--ds-fs-sm); font-weight: var(--ds-fw-semibold); color: var(--ds-primary-dark); }
.ps-lead-form input, .ps-lead-form textarea {
  width: 100%;
  font-family: var(--ds-body-font);
  font-size: var(--ds-fs-base);
  color: var(--ds-body);
  background-color: var(--ds-bg-elevated);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  padding: 0.7rem 0.9rem;
  transition: border-color var(--ds-transition-base), box-shadow var(--ds-transition-base);
}
.ps-lead-form input:focus, .ps-lead-form textarea:focus {
  outline: none;
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-primary) 22%, transparent);
}
.ps-lead-form textarea { resize: vertical; min-height: 84px; }
.ps-lead-form__opt { font-weight: 400; color: var(--ds-muted); }
.ps-lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ps-lead-form__status { font-size: var(--ds-fs-sm); color: var(--ds-muted); }
.ps-lead-form__thanks { margin: 0; padding: var(--ds-space-lg); background-color: color-mix(in srgb, var(--ds-primary) 10%, var(--ds-bg-elevated)); border: 1px solid color-mix(in srgb, var(--ds-primary) 30%, transparent); border-radius: var(--ds-radius-lg); color: var(--ds-primary-dark); }
@media (min-width: 560px) { .ps-lead-form__row--split { flex-direction: row; } .ps-lead-form__row--split > span { flex: 1; } }

/* Header menu sits tighter than the shared default (was a hand edit in the
   forked header, carried here when the site went back to the shared header). */
.ds-header__nav-list { gap: var(--ds-space-sm); }


/* ── Un-fork carry-overs (chassis 2.7.0, hero + area-links forks dropped) ──
   Each block keeps a Poolside look the fork used to carry. Append to the END of
   style.css (it inlines after the chassis bundle, so equal specificity wins). */

/* hero: 2.7.0's spotlight wraps the form in .ds-hero__form, not
   .ds-hero__form-wrap, and ships no styling for it. This is the old card:
   the fork's base .ds-hero__form-wrap rule + the has-form skin above. */
.ds-hero--spotlight.ds-hero--has-form .ds-hero__form {
  background-color: var(--ds-bg-elevated);
  border: 0;
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-2xl);
  box-shadow: var(--ds-shadow-xl);
}
@media (max-width: 959px) {
  .ds-hero--spotlight.ds-hero--has-form .ds-hero__form { margin-top: var(--ds-space-xl); }
}
@media (max-width: 600px) {
  .ds-hero--spotlight.ds-hero--has-form .ds-hero__form { padding: var(--ds-space-lg); }
}

/* hero: side-by-side Book / phone buttons must not clip on phones (was the
   last line of the forked hero.css, 2026-07-28). */
@media (max-width: 768px) {
  .ds-hero__ctas .ds-btn--lg { padding-inline: var(--ds-space-md); }
}

/* hero: the fork lit the spotlight eyebrow + mark in --ds-primary; 2.7.0 uses
   --ds-accent-on-dark / --ds-accent. No spotlight hero shows an eyebrow today and
   the heading mark is already set above, so this only pins future use. */
.ds-hero--spotlight .ds-hero__eyebrow,
.ds-hero--spotlight .ds-mark { color: var(--ds-primary); }

/* ── Hover contrast (hover audit 2026-10-28) ─────────────────────────────── */
/* Chassis hovers fell back to bright aqua (--ds-primary), under 2.1:1 on cream / the
   aqua-100 nav pill. Deep teal keeps the move and clears AA; social hover pink was
   1.75:1 under the white icon, deep pink holds it at 5.5:1. */
.ds-header { --ds-nav-hover-color: var(--ds-brand-primary-800); }
.ds-header__dropdown .ds-header__nav-link:hover,
.ds-header__dropdown .ds-header__nav-link:focus-visible { color: var(--ds-brand-primary-800); }
.ds-value-intro__link:hover { color: var(--ds-primary-dark); }
.ds-footer__social-link:hover { background-color: var(--ds-brand-accent-800); }

/* Sending state (lead-form standard D2, Luc 2026-11-18): spinner inside the button beside the sending text. */
.ps-lead-form button.is-sending { display: inline-flex; align-items: center; justify-content: center; gap: .55em; cursor: progress; }
.ps-lead-form button.is-sending::before {
  content: ""; display: inline-block; flex: none; width: 1em; height: 1em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: ps-send-spin .7s linear infinite;
}
@keyframes ps-send-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ps-lead-form button.is-sending::before { animation-duration: 2s; } }

