/* tokens.css — SwachhataPukare Foundation design tokens
   All colours, spacing, type and motion live here. No magic values elsewhere. */

:root {
  /* ---------------------------------------------------------------- colour */
  /* Palette taken from the logo: logo blue #176BAE, white, and a deep navy
     built from the same hue for text and dark bands. */
  --c-dark: #0B2E4F;
  --c-teal: #176BAE;
  --c-teal-deep: #0F5C99;
  --c-teal-soft: #E6F1FB;
  --c-sage: #86BEE6;
  --c-sage-soft: #EDF5FC;
  --c-cream: #F2F7FD;
  --c-paper: #FFFFFF;
  --c-amber: #CFE6F8;
  --c-amber-deep: #176BAE;
  --c-amber-text: #0F5C99;
  --c-amber-soft: #E4F1FC;
  --c-ink: #12283F;
  --c-muted: #53687C;
  --c-line: #D6E4F1;
  --c-white: #FFFFFF;

  /* semantic / status */
  --c-danger: #A5261C;
  --c-danger-soft: #FBEAE8;
  --c-success: #0E6B57;
  --c-success-soft: #E3F3EE;
  --c-info-soft: #E7F1FB;

  /* on-colour pairings (WCAG AA checked) */
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: #C2D6E8;
  --c-on-teal: #FFFFFF;
  --c-focus: #176BAE;
  --c-focus-dark: #9CCBF0;

  /* category tints used by image placeholders + tiles */
  --c-cat-office: #DCEBFA;
  --c-cat-desk: #E3F0FB;
  --c-cat-home: #EAF4FD;
  --c-cat-tabletop: #E1ECF8;
  --c-cat-heritage: #D7E8F7;
  --c-cat-lighting: #EDF5FD;

  /* --------------------------------------------------------------- spacing */
  --s-0: 0;
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-9: 4rem;
  --s-10: 5rem;
  --s-11: 6rem;
  --s-12: 8rem;

  /* ---------------------------------------------------------------- radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* --------------------------------------------------------------- shadows */
  --sh-1: 0 1px 2px rgba(11, 46, 79, 0.06), 0 2px 8px rgba(11, 46, 79, 0.05);
  --sh-2: 0 4px 14px rgba(11, 46, 79, 0.09), 0 2px 4px rgba(11, 46, 79, 0.05);
  --sh-3: 0 18px 44px rgba(11, 46, 79, 0.16), 0 4px 12px rgba(11, 46, 79, 0.07);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* ------------------------------------------------------------ typography */
  --f-display: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-base: 1rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: 1.9375rem;
  --t-3xl: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --t-hero: clamp(2.25rem, 1.3rem + 4.6vw, 4rem);

  --lh-tight: 1.12;
  --lh-snug: 1.4;
  --lh-body: 1.65;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --ls-caps: 0.14em;

  /* ---------------------------------------------------------------- layout */
  --wrap: 1200px;
  --wrap-wide: 1340px;
  --wrap-narrow: 780px;
  --gutter: clamp(1rem, 3.6vw, 2rem);
  --header-h: 4.5rem;
  --section-y: clamp(3rem, 7vw, 5.5rem);

  /* ---------------------------------------------------------------- motion */
  --e-out: cubic-bezier(0.22, 0.68, 0.32, 1);
  --e-in-out: cubic-bezier(0.5, 0, 0.2, 1);
  --d-xs: 120ms;
  --d-sm: 180ms;
  --d-md: 260ms;
  --d-lg: 440ms;

  /* ------------------------------------------------------------------- z   */
  --z-fab: 40;
  --z-header: 60;
  --z-scrim: 70;
  --z-drawer: 80;
  --z-modal: 90;
  --z-toast: 100;
}
