/*
  SD Staffing brand tokens
  Import once at the top of the site's main stylesheet, after the Google Fonts link:
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Jost:wght@400;500&display=swap">
*/

:root {
  /* Color: core */
  --color-navy: #16223A;          /* primary ink, dark sections, buttons */
  --color-brass: #8A6D3B;         /* accent; text use on white only (4.85:1) */
  --color-brass-deep: #7A5F32;    /* accent text on stone (5.25:1) */
  --color-brass-light: #C8A86B;   /* accent on navy (7.00:1) */
  --color-slate: #4A5266;         /* secondary text on light grounds */
  --color-slate-light: #C3C9D6;   /* secondary text on navy */

  /* Color: grounds */
  --color-white: #FFFFFF;         /* default page ground */
  --color-stone: #F2F0EB;         /* alternate section ground */
  --color-hairline: #E4E1DA;      /* dividers and card borders on light grounds (decorative only) */

  /* Semantic */
  --text: var(--color-navy);
  --text-muted: var(--color-slate);
  --accent: var(--color-brass);
  --bg: var(--color-white);
  --bg-alt: var(--color-stone);
  --bg-inverse: var(--color-navy);
  --text-inverse: var(--color-white);
  --text-inverse-muted: var(--color-slate-light);
  --accent-inverse: var(--color-brass-light);
  --focus-ring: var(--color-brass);

  /* Type families */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Type scale (fluid between 360px and 1280px viewports) */
  --fs-display: clamp(2.75rem, 1.9rem + 3.8vw, 4.5rem);   /* hero headline, Cormorant 500 */
  --fs-h1: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);        /* page titles, Cormorant 500 */
  --fs-h2: clamp(1.875rem, 1.5rem + 1.6vw, 2.625rem);     /* section titles, Cormorant 500 */
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);      /* card titles, Cormorant 600 */
  --fs-lead: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);    /* intro lines, Cormorant italic 500 */
  --fs-body: 1.0625rem;                                    /* 17px, Jost 400 */
  --fs-small: 0.875rem;                                    /* 14px, Jost 400 */
  --fs-eyebrow: 0.75rem;                                   /* 12px, Jost 500, uppercase */

  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.7;

  --tracking-display: 0.01em;
  --tracking-wordmark: 0.14em;    /* matches the logo; use for any all-caps Cormorant */
  --tracking-eyebrow: 0.32em;     /* matches SAN DIEGO · CALIFORNIA in the crest */
  --tracking-button: 0.2em;

  /* Spacing (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --section-pad: clamp(4rem, 2.5rem + 6vw, 8rem);

  /* Layout */
  --container: 72rem;             /* 1152px */
  --container-narrow: 44rem;      /* long-form text */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  /* Shape and line */
  --radius: 2px;                  /* restrained; the brand is square-edged */
  --rule: 1px solid var(--color-brass);
  --border: 1px solid var(--color-hairline);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
}
