/* ============================================================
   MISSISSAUGA SKYHAWKS — Design Tokens
   Brand: Navy #003A70 · Gold #F2C300 · Gray #BBBBBB
   ============================================================ */

:root,
[data-theme='light'] {
  /* Brand colors */
  --navy:        #003A70;
  --navy-deep:   #002550;
  --navy-light:  #0d4d8a;
  --gold:        #F2C300;
  --gold-hover:  #d9af00;
  --gold-dark:   #b89500;
  --gray-mid:    #BBBBBB;
  --gray-light:  #E8E8E8;

  /* Surfaces */
  --color-bg:              #f5f6f8;
  --color-surface:         #ffffff;
  --color-surface-2:       #f0f2f5;
  --color-surface-offset:  #eef0f4;
  --color-surface-offset-2:#e5e8ef;
  --color-border:          #d8dce4;
  --color-divider:         #e4e7ed;
  --color-navy:            #003A70;

  /* Text */
  --color-text:        #0d1b2a;
  --color-text-muted:  #4a5568;
  --color-text-faint:  #9aa5b4;
  --color-text-inverse: #ffffff;

  /* Accent = gold for CTAs, navy for primary sections */
  --color-primary:       var(--navy);
  --color-primary-hover: var(--navy-deep);
  --color-accent:        var(--gold);
  --color-accent-hover:  var(--gold-hover);

  /* Typography — Montserrat is the closest Google Fonts match to Gotham */
  --font-display: 'Montserrat', 'Barlow Condensed', 'Impact', sans-serif;
  --font-body:    'Montserrat', 'Barlow', sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3.5rem,   1rem    + 7vw,    7rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease-out);
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode */
[data-theme='dark'] {
  --color-bg:              #0a0f1a;
  --color-surface:         #111827;
  --color-surface-2:       #1a2236;
  --color-surface-offset:  #0f1a2e;
  --color-surface-offset-2:#141e30;
  --color-border:          #253047;
  --color-divider:         #1d2840;
  --color-text:            #e8edf5;
  --color-text-muted:      #8fa3be;
  --color-text-faint:      #4a6080;
  --color-text-inverse:    #0d1b2a;
  --color-primary:         #1a5fad;
  --color-primary-hover:   #2470c4;
  --color-navy:            #003A70;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #0a0f1a;
    --color-surface:         #111827;
    --color-surface-2:       #1a2236;
    --color-surface-offset:  #0f1a2e;
    --color-surface-offset-2:#141e30;
    --color-border:          #253047;
    --color-divider:         #1d2840;
    --color-text:            #e8edf5;
    --color-text-muted:      #8fa3be;
    --color-text-faint:      #4a6080;
    --color-text-inverse:    #0d1b2a;
    --color-primary:         #1a5fad;
    --color-primary-hover:   #2470c4;
    --color-navy:            #003A70;
  }
}
