/* ============================================================
   Procreate Men's Health Center — Design Tokens
   Source of truth: research/01-verified-content.md §1 Brand
   Brand guide v1.0 · DO NOT edit without updating the brief
   ============================================================ */

:root {

  /* --- Color palette (brand guide v1.0) --- */
  --navy:        #243D5B;   /* Primary: headlines, nav, borders, accents */
  --teal:        #39867D;   /* CTAs, links, teal text accents */
  --paper:       #F2F3ED;   /* Default page background (60% of all surfaces) */
  --navy-deep:   #172A42;   /* Dark section backgrounds: hero, stat bands, footer */
  --teal-deep:   #27665E;   /* CTA hover states, dark-section accents */
  --teal-bright: #6FC3B6;   /* Icon fills on dark bg, divider lines */
  --teal-tint:   #DCEBE8;   /* Card backgrounds, soft section alternation */
  --ink-muted:   #56657A;   /* Body text, captions, secondary labels */
  --danger:      #A4372B;   /* Form validation errors ONLY — never decorative */
  --white:       #FFFFFF;   /* Card surfaces, overlapping elements */

  /* --- Proportion guide (not enforced by code — visual intent) ---
     60% --paper / --white · 30% --navy · 10% --teal
  */

  /* --- Typography --- */
  --font-heading: 'Oswald', sans-serif;         /* 500 Medium · 700 Bold only */
  --font-body:    'Source Sans 3', sans-serif;  /* 400 Regular · 600 SemiBold only */

  /* --- Type scale (desktop) --- */
  --text-display: clamp(2.25rem, 5vw, 4.5rem);  /* H1: 36–72px */
  --text-h2:      clamp(1.625rem, 3vw, 2.75rem); /* H2: 26–44px */
  --text-h3:      clamp(1.25rem, 2vw, 1.75rem);  /* H3: 20–28px */
  --text-body:    1.0625rem;                      /* 17px */
  --text-caption: 0.8125rem;                      /* 13px */
  --text-btn:     0.9375rem;                      /* 15px */

  /* --- Spacing scale --- */
  --space-xs:  0.5rem;   /*  8px */
  --space-sm:  1rem;     /* 16px */
  --space-md:  1.5rem;   /* 24px */
  --space-lg:  2.5rem;   /* 40px */
  --space-xl:  4rem;     /* 64px */
  --space-2xl: 6rem;     /* 96px */
  --space-3xl: 8rem;     /* 128px */

  /* --- Layout --- */
  --max-width:      1200px;
  --max-width-text: 720px;
  --gutter:         clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;

  /* --- Shadows --- */
  --shadow-card: 0 2px 12px rgba(23, 42, 66, 0.10);
  --shadow-nav:  0 2px 24px rgba(23, 42, 66, 0.14);

  /* --- Transitions --- */
  --transition-fast:   0.2s ease-out;
  --transition-medium: 0.4s ease-out;

  /* --- Z-index layers --- */
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;

  /* --- Nav height (used in scroll offset calculations) --- */
  --nav-height:        80px;
  --nav-height-shrunk: 60px;
}
