/*
 * Lit Scrim: design tokens
 * A warm, trustworthy dark style for public-good consumer services. A drawn, lit scene fills the
 * hero edge to edge and a dark scrim fades in from the left so plain white text sits on it.
 * A lowercase serif wordmark, a clean geometric sans for everything else, square vermilion
 * buttons with tracked uppercase labels, slideshow dots with a pause button and an italic
 * caption in the corner. Calm, honest and generous rather than flashy.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;1,7..72,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm near-black, never blue-black */
  --ls-night: #12110f;       /* page background */
  --ls-night-2: #1b1917;     /* cards, footer, raised bands */
  --ls-night-3: #262320;     /* inputs, hover on cards, badge fill */
  --ls-line: #36312c;        /* every border and divider */
  --ls-scrim: rgba(18, 17, 15, .92);   /* the left edge of the hero scrim */

  /* Text */
  --ls-paper: #f4efe8;       /* headlines and body */
  --ls-soft: #b3aaa0;        /* leads, captions, secondary */
  --ls-faint: #7c746b;       /* meta, disabled */

  /* The one action color: primary buttons, active dot, a single highlighted word */
  --ls-vermilion: #e9482b;
  --ls-vermilion-dark: #c93a20;
  --ls-vermilion-soft: rgba(233, 72, 43, .16);

  /* Scene colors: only inside drawn scenes and small status marks */
  --ls-dusk: #3b2d3f;        /* evening sky in scenes */
  --ls-lamp: #f2b54a;        /* lit windows, lamps, the "Free" stamp */
  --ls-pool: #3f9d96;        /* water, "Open now" status */
  --ls-leaf: #6c8b4e;        /* gardens and trees in scenes */

  /* Type */
  --ls-serif: "Literata", "Iowan Old Style", Georgia, serif;
  --ls-sans: "Outfit", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ls-text-hero: clamp(40px, 5.4vw, 68px);
  --ls-text-h2: clamp(30px, 3.6vw, 44px);
  --ls-text-h3: 22px;
  --ls-text-lead: 19px;
  --ls-text-body: 16px;
  --ls-text-small: 14px;
  --ls-text-micro: 12px;

  --ls-tracking-head: -.015em;
  --ls-tracking-label: .09em;  /* uppercase button and eyebrow labels */

  /* Shape: square actions, softly rounded media, thin warm lines */
  --ls-radius-0: 0;          /* buttons and inputs: always square */
  --ls-radius-sm: 6px;       /* badges, store-style pills, small tiles */
  --ls-radius: 10px;         /* cards and scene tiles */
  --ls-radius-pill: 999px;   /* slideshow dots only */
  --ls-border: 1px solid var(--ls-line);
  --ls-border-strong: 1px solid var(--ls-faint);
  --ls-shadow: 0 18px 40px rgba(0, 0, 0, .45);

  /* Space */
  --ls-gutter: clamp(20px, 7vw, 150px);  /* the hero text sits on this left edge */
  --ls-section: clamp(72px, 9vw, 120px);
  --ls-container: 1180px;
  --ls-narrow: 700px;

  /* Motion */
  --ls-ease: cubic-bezier(.25, .8, .25, 1);
  --ls-slow: 900ms;
}
