/*
  NORCAL SHUTTER — REFERENCE REBUILD DESIGN TOKENS
  Visual direction inspired by an "infinite overview" portfolio reference:
  warm paper ground, photography-first grid, an oversized condensed serif
  wordmark layered behind the images, a fixed bottom pill navigation.
  This is an original NorCal Shutter identity built within that direction,
  not a copy of the reference's code, type, or photographs.
*/

:root {
  /* ---------- Color: warm paper ground, near-black ink, one quiet accent ---------- */
  --color-paper: #f5f2ea;
  --color-paper-raised: #ece7db;
  --color-ink: #141210;
  --color-ink-soft: rgba(20, 18, 16, 0.6);
  --color-ink-faint: rgba(20, 18, 16, 0.34);
  --color-line: rgba(20, 18, 16, 0.16);
  --color-clay: #a85c3b;

  /* Lightbox stays near-black for contrast regardless of page theme */
  --color-stage: #0c0b0a;
  --color-on-stage: #f5f2ea;
  --color-on-stage-dim: rgba(245, 242, 234, 0.6);

  /* ---------- Typography ---------- */
  /* Display: a tall, high-contrast serif compressed with transform/letter-
     spacing to read as condensed, in the spirit of the reference without
     using its actual (licensed) typeface. */
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-wordmark: clamp(2.75rem, 13vw, 10rem);
  --fs-h1: clamp(2rem, 6vw, 3.5rem);
  --fs-lead: clamp(1rem, 2.2vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.82rem;
  --fs-caption: 0.72rem;

  --ls-caption: 0.12em;
  --ls-wide: 0.06em;

  /* ---------- Spacing ---------- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1.125rem;
  --space-md: clamp(1.25rem, 3.5vw, 2rem);
  --space-lg: clamp(2rem, 5vw, 3rem);
  --space-xl: clamp(3rem, 7vw, 5rem);
  --space-2xl: clamp(4rem, 10vw, 7rem);

  /* ---------- Layout ---------- */
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --grid-gap: clamp(0.5rem, 1.6vw, 1.25rem);
  --nav-bottom-gap: clamp(0.75rem, 2.5vw, 1.5rem);

  /* ---------- Motion ---------- */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.28s;
  --dur-med: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0.001s;
    --dur-med: 0.001s;
  }
}
