/* ============================================================
   SIGNTAKE GROUP - DESIGN TOKENS
   Primary   : sea blue  rgb(14, 90, 122) + teal rgb(16, 126, 118)
   Supporting: deep navy rgb(7, 32, 46), silver, white
   Accents   : champagne gold rgb(194, 166, 107) + sage rgb(169, 191, 164)
   Text pairings verified to WCAG 2.2 AA
   ============================================================ */

:root {
  color-scheme: light;

  /* ---- Primary -------------------------------------------------------- */
  --sea: rgb(41, 128, 163);
  --sea-deep: rgb(30, 108, 140);
  --sea-light: rgb(74, 163, 199);

  --teal: rgb(38, 155, 145);
  --teal-deep: rgb(27, 131, 122);
  --teal-light: rgb(86, 191, 181);

  /* ---- Supporting ----------------------------------------------------- */
  --navy: rgb(7, 32, 46);
  --navy-deep: rgb(5, 23, 31);
  --navy-800: rgb(10, 43, 61);
  --navy-700: rgb(14, 58, 80);

  --silver: rgb(203, 213, 219);
  --silver-soft: rgb(228, 235, 239);
  --white: rgb(255, 255, 255);
  --off-white: rgb(246, 249, 250);

  /* ---- Accents -------------------------------------------------------- */
  --gold: rgb(194, 166, 107);
  --gold-soft: rgb(220, 201, 160);
  --gold-tint: rgb(245, 239, 226);

  --sage: rgb(169, 191, 164);
  --sage-soft: rgb(232, 239, 229);
  --sage-tint: rgb(242, 246, 241);

  /* ---- Semantic ------------------------------------------------------- */
  --ink: var(--navy);
  --ink-soft: rgb(74, 101, 114);
  --ink-muted: rgb(107, 131, 145);
  --surface: var(--white);
  --surface-alt: var(--off-white);
  --line: var(--silver);
  --line-soft: var(--silver-soft);

  --link: var(--sea);
  --link-hover: var(--teal-deep);

  /* ---- Typography ----------------------------------------------------- */
  --f-display: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", Georgia, "Times New Roman", serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: clamp(.8125rem, .79rem + .12vw, .875rem);
  --step-: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.1875rem, 1.12rem + .35vw, 1.375rem);
  --step-2: clamp(1.4375rem, 1.3rem + .7vw, 1.875rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.625rem);
  --step-4: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --step-5: clamp(2.5rem, 1.7rem + 4vw, 4.5rem);

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.7;

  --track-wide: .18em;
  --track-tight: -.018em;

  /* ---- Space ---------------------------------------------------------- */
  --sp-1: .5rem;
  --sp-2: .875rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;
  --sp-8: 8.5rem;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: 75rem;
  --wrap-narrow: 47rem;
  --header-h: 4.875rem;

  /* ---- Shape & depth -------------------------------------------------- */
  --r-sm: .25rem;
  --r-md: .625rem;
  --r-lg: 1.125rem;
  --r-xl: 1.75rem;
  --r-pill: 62.4375rem;

  --shadow-xs: .5px 2px rgba(7, 32, 46, .06);
  --shadow-sm: .5px 2px rgba(7, 32, 46, .06), 4px 12px rgba(7, 32, 46, .05);
  --shadow-md: 4px 12px rgba(7, 32, 46, .07), 14px 36px rgba(7, 32, 46, .07);
  --shadow-lg: 8px 24px rgba(7, 32, 46, .09), 28px 68px rgba(7, 32, 46, .11);

  /* ---- Motion --------------------------------------------------------- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 620ms;

  /* ---- Brand gradients ------------------------------------------------ */
  --grad-hero:
    radial-gradient(38rem 38rem at 78% -10%,
      rgba(38, 155, 145, .55), transparent 62%),
    radial-gradient(56rem 35rem at 6% 108%,
      rgba(74, 163, 199, .42), transparent 60%),
    linear-gradient(158deg, rgb(17, 62, 82), rgb(28, 104, 134) 52%, rgb(41, 128, 163));

  --grad-sea: linear-gradient(160deg,
    rgb(30, 108, 140), rgb(41, 128, 163) 48%, rgb(38, 155, 145));
  --grad-teal: linear-gradient(140deg,
    rgb(27, 131, 122), rgb(38, 155, 145) 55%, rgb(58, 172, 160));
  --grad-navy: linear-gradient(165deg,
    rgb(17, 62, 82), rgb(23, 76, 100) 55%, rgb(30, 96, 124));
  --grad-sage: linear-gradient(150deg,
    rgb(232, 239, 229), rgb(242, 246, 241) 60%, rgb(255, 255, 255));

  --grad-gold-rule: linear-gradient(90deg,
    transparent, rgba(194, 166, 107, .85) 22%,
    rgba(194, 166, 107, .85) 78%, transparent);
  --grad-silver-rule: linear-gradient(90deg,
    transparent, rgba(203, 213, 219, .9) 30%,
    rgba(203, 213, 219, .9) 70%, transparent);

  --grid-line: rgba(255, 255, 255, .06);
  --grid-line-dark: rgba(7, 32, 46, .06);
}

@media (max-width: 56rem) {
  :root { --header-h: 4.25rem; }
}
