/* ABC Home & Commercial Services design system: tokens
   Version 1.0, 2026-12-03.
   Every value below was measured on the live home page (its stylesheets and
   the browser's computed styles at 1440 and 390); nothing is invented. */

:root {
  /* Color. Measured: the five brand colors the stylesheets write and the
     page paints. Decided: named by role. Contrast ratios are against the
     surface each color is used on. */
  --color-red: #932322;          /* ABC red: headings, bands, stars. 8.4:1 on white */
  --color-red-tint: #ffd9d9;     /* body text on red. 6.4:1 on red */
  --color-red-line: #d38b8b;     /* field outline on red. 3.1:1 on red */
  --color-green: #36834b;        /* map states, button rings, underlines. 4.7:1 on white */
  --color-green-dark: #247139;   /* links and focus ring. 6.0:1 on white */
  --color-ink: #2e2e2e;          /* body text. 13.6:1 on white */
  --color-ink-soft: #666666;     /* intro and small print. 5.7:1 on white */
  --color-paper: #ffffff;        /* page surface */
  --color-mist: #ededed;         /* map land, dividers on phones */
  --color-line-muted: #cccccc;   /* field outline on white */
  --shadow-color: rgba(46, 46, 46, .3);
  --shadow-color-soft: rgba(46, 46, 46, .24);
  --shadow-heading: rgba(46, 46, 46, .12);

  /* Type families. Measured: three Adobe Fonts families, served from this
     site (base.css). Weights the page uses: sans 400, 400 italic, 700, 900;
     condensed 900; slab 600. */
  --font-sans: nimbus-sans, "Helvetica Neue", Arial, sans-serif;
  --font-condensed: nimbus-sans-condensed, "Arial Narrow", sans-serif;
  --font-slab: adelle, Georgia, serif;
  --weight-regular: 400;
  --weight-bold: 700;
  --weight-black: 900;
  --weight-slab: 600;

  /* Type sizes, desktop. Measured at 1440; phone values are swapped in
     below 1031 px, as the live site does. */
  --size-display: 64px;   --lh-display: 64px;   /* page title (h1) */
  --size-h2: 40px;        --lh-h2: 52px;        /* band headings */
  --size-h4: 24px;        --lh-h4: 32px;        /* column headings */
  --size-action: 24px;    --lh-action: 38px;    /* branch name links */
  --size-intro: 20px;     --lh-intro: 30px;     /* hero paragraph */
  --size-body: 18px;      --lh-body: 26px;      /* body and links */
  --size-nav: 16px;       --lh-nav: 18px;       /* header menu, labels */
  --size-button: 15px;    --lh-button: 18px;    /* condensed button label */
  --size-small: 14px;     --lh-small: 18px;     /* review counts, copyright */
  --size-button-lg: 18px;                       /* button label inside a band */

  /* Space. Measured: the live site's margins (70/60, 30, 25, 15). */
  --space-xs: 5px;
  --space-s: 10px;
  --space-m: 15px;
  --space-l: 25px;
  --space-xl: 30px;
  --space-2xl: 40px;
  --space-section: 70px;  /* margin between bands; 60 on phones */

  /* Layout. Measured: .row 1300 wide with 70 gutters, .row-wide 1380 with 30,
     reading column 860; all gutters 15 below 1031 px. */
  --container: 1300px;
  --container-wide: 1380px;
  --container-reading: 860px;
  --gutter: 70px;
  --gutter-wide: 30px;

  /* Shape and motion. Measured: pill radius 23, card shadow, .3s ease-in. */
  --radius-pill: 23px;
  --shadow-card: 0 4px 12px var(--shadow-color);
  --shadow-header: 0 25px 24px -35px var(--shadow-color-soft);
  --ease: .3s ease-in;
  --focus-ring: 2px solid var(--color-green-dark);
}

/* Phones and small tablets: the live site's own breakpoints. */
@media (max-width: 1030px) {
  :root {
    --size-display: 38px;  --lh-display: 40px;
    --size-h2: 28px;       --lh-h2: 36px;
    --size-h4: 22px;       --lh-h4: 30px;
    --size-action: 22px;   --lh-action: 36px;
    --size-intro: 18px;    --lh-intro: 28px;
    --size-body: 16px;     --lh-body: 26px;
    --size-button-lg: 16px;
    --gutter: 15px;
    --gutter-wide: 15px;
  }
}
@media (max-width: 750px) {
  :root {
    --space-section: 60px;
    --shadow-header: 0 0 24px -10px var(--shadow-color-soft);
  }
}
