/* =============================================================================
   EASTWOOD PERSONAL CARE SERVICES — token overrides for the J5 starter template
   Michael (design), Mon Nov 23, 2026. Drop in as css/tokens.css (full :root),
   or load after the kit tokens.css. Palette v2 (client logo). Every text/background pair is AA-checked:
   see design-direction-eastwood.md §2 and tools/contrast.py.

   Google Fonts <link> (replace the starter font link in every <head>):
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,500;0,7..72,600;1,7..72,400&family=Source+Sans+3:wght@400;600;700&display=swap" rel="stylesheet">
   ============================================================================= */

:root {
  /* --- Color: surfaces ------------------------------------------------------ */
  /* Palette rebuilt Mon Nov 23, 2026 around the client logo: orange #F6720F (sampled
     exactly from the house-and-heart icon) on black. Base is a warm charcoal taken
     from the logo's black ground. Forest retired. */
  --color-bg: #FFFAF5;          /* warm white — default page */
  --color-bg-alt: #FCEBDD;      /* orange tint (orange ~13% on white) — alternate sections */
  --color-surface: #FFFFFF;     /* cards, form fields */
  --color-sand-deep: #F8D9BF;   /* DECORATIVE ONLY: photo backing blocks. Ink / ink-soft / accent-text only on it; no focusable controls */

  /* --- Color: text ---------------------------------------------------------- */
  --color-ink: #1A1714;         /* charcoal ink (logo black, lifted slightly) */
  --color-ink-soft: #4D463F;
  --color-ink-faint: #645C54;   /* meta & captions */
  --color-line: #EEDCCB;        /* hairlines, card borders (decorative) */
  --color-line-strong: #8C7F73; /* input borders — 3:1 non-text on bg/bg-alt/surface */

  /* --- Color: charcoal (primary) -------------------------------------------- */
  --color-primary: #1A1714;     /* primary buttons, footer, dark panels */
  --color-primary-hover: #000000; /* logo black */
  --color-primary-soft: #3A342E;
  --color-on-primary: #FFFAF5;
  --color-on-primary-soft: #D6CEC6; /* secondary text on charcoal */

  /* --- Color: orange (accent) ----------------------------------------------- */
  --color-copper: #F6720F;      /* BRAND ORANGE, sampled from the logo (median of the solid house fill, 246/114/15). Decoration and large accents only: rules, underlines, kicker dashes, top borders. 2.76:1 on bg — NEVER text or a control on light grounds */
  --color-accent: #B04E05;      /* darker AA orange: accent button FILL with white text (5.33:1), links on light */
  --color-accent-hover: #934002; /* hover fill, white text 7.06:1 */
  --color-accent-text: #A04604; /* AA-safe orange for links, kickers, numerals, icons on every light bg incl. sand-deep (4.65:1+) */
  --color-accent-soft: #FDE3CF;
  --color-on-accent: #FFFFFF;
  --color-copper-light: #F6720F; /* logo orange as text/rules on charcoal — 6.2:1 */

  /* --- Color: states -------------------------------------------------------- */
  --color-focus: #A04604;
  --color-focus-on-dark: #F6720F;
  --color-success: #2C6A3C;
  --color-error: #A3261B;

  /* --- Typography ----------------------------------------------------------- */
  --font-sans: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Literata", "Lora", Georgia, "Times New Roman", serif;

  --text-xs: 0.875rem;                                     /* 14px floor */
  --text-sm: 1rem;                                         /* 16px: UI, labels, buttons */
  --text-md: 1.125rem;                                     /* 18px body */
  --text-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);   /* lede 19–22px */
  --text-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);     /* h3 22–28px */
  --text-2xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);      /* h2 30–44px */
  --text-3xl: clamp(2.375rem, 1.6rem + 3.6vw, 4.25rem);    /* h1 38–68px */
  --text-numeral: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);  /* service index numerals */

  --weight-display: 500;   /* Literata h1/h2 */
  --weight-display-strong: 600; /* Literata h3, wordmark */
  --weight-body: 400;
  --weight-ui: 600;        /* buttons, labels, nav */
  --weight-kicker: 700;

  --leading-tight: 1.12;
  --leading-snug: 1.3;
  --leading-body: 1.6;
  --tracking-tight: -0.015em;
  --tracking-wide: 0.12em;

  /* --- Spacing & layout ------------------------------------------------------ */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.75rem;
  --space-7: 2.5rem;
  --space-8: 3.5rem;
  --space-9: 5rem;
  --space-10: 7rem;

  --section-y: clamp(4rem, 8vw, 7.5rem);
  --container: 76rem;
  --container-narrow: 40rem;
  --measure: 34em;                   /* body copy max line length */
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* --- Shape: nearly square, letterpress feel (no pills on buttons) ---------- */
  --radius-sm: 2px;   /* inputs, chips' inner */
  --radius-md: 4px;   /* buttons */
  --radius-lg: 6px;   /* cards, form card, photos */
  --radius-pill: 999px; /* county/shift chips ONLY */

  --rule-accent: 3px solid var(--color-copper);   /* card / fact top rule */
  --rule-hair: 1px solid var(--color-line);

  --shadow-sm: 0 1px 0 rgba(26, 23, 20, 0.06);
  --shadow-md: 0 14px 30px -14px rgba(26, 23, 20, 0.22);
  --shadow-lg: 0 28px 60px -24px rgba(26, 23, 20, 0.30);

  --header-h: 4.5rem;
  --callbar-h: 4.25rem;    /* call bar ON: client has a public phone */
  --tap-min: 3rem;         /* 48px */
  --transition: 160ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* --- Images (Marlon) -------------------------------------------------------- */
  --img-hero: url("../img/photos/home-hero-caregiving-4x5-1600.jpg");
  --img-about: url("../img/photos/indianapolis-statehouse-4x5-1600.jpg");
  --img-pattern: none;     /* no pattern texture on this site */
  --img-careers-hero: url("../img/photos/careers-caregiver-4x5-1600.jpg?v=4");
  --img-careers-why: var(--img-about);
  --hero-overlay-strength: 55%;   /* only if a centered/photo hero is used; charcoal overlay */
}
