/* Every value a reviewer is likely to nudge lives here, named, so a nit is a one-line diff
   with a stated before and after (site-forge ledger.md). Add a token before changing a value. */
:root {
  /* palette: Southern Standard's brand kit (Hap, 2026-11-11: the logo suite and the estimate template).
     Asphalt black, sandstone, slate, and copper and tan as the warm accents. */
  --paper: #ffffff;
  --ink: #1b1b1b;          /* asphalt black: the brand dark (kit) */
  --iron: #2a2a2a;         /* secondary dark, hairlines on dark (estimate text) */
  --muted: #2f3336;        /* body copy on white, 12.6:1 (was #4a4e51, 8.6:1: Carter wanted far more contrast, 2026-11-11 evening) */
  --soft: #44494d;         /* small print on white, 9.4:1 (was #5d6266, 6.2:1) */
  --line: #e2ded3;         /* hairlines on white, a sandstone tint */
  --concrete: #f2f0ea;     /* the quiet surface inside a white section: the kit's page colour */
  --shell: #ebe6da;        /* the warm panel (estimate's checklist box) */
  --sand: #d9d5c7;         /* sandstone: the logo colour on dark, and the light surface */
  --paint: #c9a27f;        /* tan: the accent on dark (estimate subheads); never text on white */
  --paint-deep: #8b5e3c;   /* copper: rules and markers (estimate) */
  --stripe: #e2b93b;       /* striping yellow, for drawings of painted lines only */
  --tide: #2f4a57;         /* slate: the deep accent on white (button sweep, links), 9.5:1 */
  --tide-ink: #233843;
  --on-dark: #f4f2ec;
  --on-dark-muted: #d7d4cb;  /* was #b3b0a7 */
  --edge-photo: 27, 27, 27; /* the phone bars over the dark hero: asphalt black */

  /* type: the kit's estimate pairs Poppins with a condensed grotesque for headings */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-measure: "Overpass Mono", ui-monospace, Menlo, monospace;   /* measurements only */
  --wdth-display: 82;
  --text-floor: 12px;
  --field-text: 16px;
  --body: 1.0625rem;       /* 17px on phones, 19px at 1440, 21px from 1920 (the root scales, below) */
  --lede: clamp(1.2rem, 1.6vw, 1.45rem);
  --h1: clamp(2.75rem, 7.6vw, 7rem);
  --statement: clamp(2.2rem, 5.4vw, 4.8rem);
  --h2: clamp(2.05rem, 3.9vw, 3.6rem);
  --h3: clamp(1.3rem, 1.7vw, 1.65rem);
  --small: 0.9375rem;      /* was .875rem */

  /* rhythm */
  --wrap: 77.5rem;         /* 1240px at a 16px root; 1395 at 1440, 1550 from 1920: the site grows on a monitor */
  --wrap-narrow: 47.5rem;
  --section-gap: clamp(80px, 9.5vw, 168px);   /* was clamp(88px, 11vw, 200px): a shorter scroll, same air (final pass) */
  --block-gap: clamp(18px, 2.4vw, 32px);
  --card-gap: clamp(14px, 1.6vw, 22px);
  --gutter: clamp(16px, 4.2vw, 72px);
  --header-h: 68px;
  --tap: 44px;
  --radius: 4px;           /* corners stay tight: paving is square-edged */
  --radius-frame: 6px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --intro-speed: 1;        /* multiply the hero's beats by this; "slower" is 1.3 */
  --reveal-ms: 800ms;
  --hover-open-delay: 350ms;
  --lift: -8px;
  --sweep-ms: 420ms;

  /* depth */
  --hair: 0 0 0 1px var(--line);
  --shadow-lift: 0 2px 4px rgb(18 20 22 / .05), 0 18px 40px -12px rgb(18 20 22 / .22);
  /* the depth system (premium pass, 2026-11-12 night, after KoepCare's lifted cards): one light from above, so every
     shadow falls straight down, long and soft, with a tight contact shadow under the edge. Three levels, never mixed
     up: 1 for small surfaces on a page (the four work-zone points, the contact box), 2 for image cards and photo
     frames, 3 for the one feature of a section (the estimate window, the partner panel). */
  --elev-1: 0 1px 2px rgb(18 20 22 / .05), 0 12px 28px -20px rgb(18 20 22 / .3);
  --elev-2: 0 1px 2px rgb(18 20 22 / .06), 0 24px 48px -30px rgb(18 20 22 / .48);
  --elev-2-hover: 0 2px 4px rgb(18 20 22 / .07), 0 38px 70px -34px rgb(18 20 22 / .55);
  --elev-3: 0 2px 4px rgb(18 20 22 / .06), 0 44px 90px -44px rgb(18 20 22 / .6);
  --card-edge: rgb(27 27 27 / .1);         /* a card's hairline: defines the edge on white, invisible as a "border" */
  --card-edge-hover: rgb(47 74 87 / .42);  /* slate, the link colour */
  --r-card: 6px;           /* image cards and photo frames (= --radius-frame); square-edged brand, so never more */
  --r-control: 4px;        /* buttons, fields, tabs (= --radius) */
  --card-lift: -4px;       /* a card's hover rise; KoepCare uses 3px */
  --card-zoom: 1.045;      /* the picture inside a card on hover, inside its own frame */
  --zoom-ms: 1300ms;
  --scrim: linear-gradient(90deg, rgb(10 11 12 / .72), rgb(10 11 12 / .28) 55%, rgb(10 11 12 / 0) 80%);
}

html { background: var(--paper); overflow-x: clip; -webkit-text-size-adjust: 100%;
  /* the root grows with the screen from tablet up: 16px to 1024, 18px at 1440, 20px at 1920, 22px from 2300 (a
     1440p monitor). Every rem in the site (type, the content width) grows with it, so a monitor shows a bigger
     page, not a small one with margins */
  font-size: clamp(16px, calc(10.5px + .5vw), 22px); }
body { background: var(--paper); margin: 0; }
input, select, textarea { font-size: var(--field-text); }
.screen { min-height: 100svh; }
@media (prefers-reduced-motion: reduce) { :root { --reveal-ms: 0ms; --intro-speed: 0; } }

[hidden] { display: none !important; }

/* Capture mode (site-forge patterns.md section 1), so the gate and the look step see the finished page. */
.capture [data-capture="hide"] { display: none !important; }
.capture [data-frame] { position: relative !important; inset: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
.capture [data-frame][hidden] { display: block !important; }
.capture *, .capture *::before, .capture *::after { transition: none !important; }
