/* public/css/base.css — design tokens, resets, typography */

:root {
  /* Core palette */
  --color-bg:          #0A0E1A;
  --color-surface:     #11172b;
  --color-surface-alt: #0c1120;
  --color-border:      #1f2940;
  --color-cta:         #F5A623;
  --color-accent:      #2ECC71;
  --color-text:        #ffffff;
  --color-text-muted:  rgba(255,255,255,0.65);
  --color-text-dim:    rgba(255,255,255,0.60);

  /* Academy brand palette (matches tssgbarbados.com/academy exactly) */
  --purple-dark:  #4A1578;
  --purple-mid:   #7C3AED;
  --purple-light: #A855F7;
  --gold-bright:  #D4A017;
  --gold-light:   #e8d49a;

  /* Gradient bar — purple→purple→gold (academy signature) */
  --grad-bar: linear-gradient(90deg, #4A1578, #A855F7, #D4A017);

  /* Typography — two-tier system matching academy */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading-cond: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius-card: 12px;
  --radius: 6px;
  --shadow-amber: 0 0 0 1px #F5A623, 0 8px 24px rgba(245,166,35,0.15);
  --shadow-card: 0 18px 50px rgba(13,27,42,0.14);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* clears fixed nav (64px height + 16px breathing room) */
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;             /* WCAG minimum body text size */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 3px;
}
