/* Alvarado Jewelers. design tokens. Single source of truth.
   Every color, space, size, radius and shadow in the codebase resolves here. */
:root {
  /* ---- Color ---- */
  --charcoal:      #27272A;  /* body text, dark sections */
  --gold:          #C9A96E;  /* accent metal: rules, icon fills, large display only */
  --gold-text:     #806834;  /* gold darkened to 4.7:1 on warm-white */
  --gold-on-dark:  #DCC189;  /* gold lightened for charcoal grounds, 8.3:1 */
  --warm-white:    #F2F0EB;  /* page background */
  --cream:         #FFFBEB;  /* alternating sections, cards */
  --white:         #FFFFFF;
  --focus-ring:    #A0761A;  /* 3.61:1 on warm-white, 3.97:1 on cream, 3.62:1 on charcoal */

  /* Two added neutrals.
     --stone: secondary text. 5.23:1 on warm-white, so captions and meta stay AA
     without reaching for pure charcoal and flattening the type hierarchy.
     --hairline: 1px rules and card edges. Warm-tinted rather than grey so borders
     read as part of the cream palette instead of a browser default. */
  --stone:         #63636A;
  --hairline:      #DCD8CE;
  --border-strong: #6B6B72;  /* form field borders, 4.64:1, clears the 3:1 non-text floor */
  --charcoal-soft: #34343A;  /* dark section layering */
  --error:         #96261B;  /* 6.6:1 on cream, paired always with icon + text */

  /* ---- Type ---- */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Modular scale, major third (1.250), base 17px */
  --step--1: 0.85rem;   /* 13.6 */
  --step-0:  1.0625rem; /* 17   body floor */
  --step-1:  1.33rem;
  --step-2:  1.66rem;
  --step-3:  2.07rem;
  --step-4:  2.59rem;
  --step-5:  3.24rem;
  /* Fluid display sizes, h1-h3 */
  --h1: clamp(2.59rem, 1.8rem + 3.4vw, 4.75rem);
  --h2: clamp(2.07rem, 1.6rem + 2.0vw, 3.24rem);
  --h3: clamp(1.45rem, 1.25rem + 0.8vw, 2.07rem);

  --lh-body: 1.65;
  --lh-tight: 1.1;
  --measure: 68ch;
  --measure-narrow: 58ch;
  --track-eyebrow: 0.16em;

  /* ---- Space ---- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Section vertical rhythm, fluid across the 375 -> 1536 range */
  --band-sm: clamp(3rem, 6vw, 6rem);    /* 48 -> 96  */
  --band-md: clamp(4rem, 8vw, 8rem);    /* 64 -> 128 */
  --band-lg: clamp(5rem, 10vw, 10rem);  /* 80 -> 160 */

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1280px;
  --maxw-narrow: 900px;

  /* ---- Radii, shadow, motion, focus ---- */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(39, 39, 42, 0.06);
  --shadow-md: 0 8px 28px rgba(39, 39, 42, 0.10);
  --shadow-lift: 0 14px 40px rgba(39, 39, 42, 0.14);
  --dur: 170ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus-width: 2px;
  --focus-offset: 3px;
  --tap: 44px;
}
