/* ============================================================
   DESIGN TOKENS — Florida Viking Fest
   Single source of truth for all design decisions
   ============================================================ */

:root {

  /* --------------------------------------------------
     COLOR PALETTE
     -------------------------------------------------- */

  /* Base / backgrounds */
  --color-midnight:   #0A0D13;    /* deepest background */
  --color-abyss:      #060809;    /* hero overlay base */
  --color-navy:       #0F1623;    /* section backgrounds */
  --color-navy-light: #141B2D;    /* card backgrounds */
  --color-navy-mid:   #1C2540;    /* borders, dividers */

  /* Gold family — primary accent */
  --color-gold:       #C9A84C;    /* aged gold */
  --color-gold-light: #E8C96A;    /* highlight gold */
  --color-gold-dim:   #8A6F30;    /* muted gold for borders */
  --color-gold-glow:  rgba(201, 168, 76, 0.15);  /* gold aura */

  /* Amber / fire — secondary accent */
  --color-amber:      #D47A1F;    /* deep amber */
  --color-amber-light:#F0963A;    /* flame orange */

  /* Ember / danger — combat accent */
  --color-ember:      #8B1A1A;    /* dark ember red */
  --color-ember-light:#B22222;    /* firebrick */
  --color-ember-glow: rgba(139, 26, 26, 0.20);   /* ember aura */

  /* Neutral / text */
  --color-parchment:  #E8DCC8;    /* primary text on dark */
  --color-stone:      #9A9590;    /* secondary text */
  --color-stone-dim:  #5C5750;    /* disabled / placeholder */
  --color-white:      #FFFFFF;

  /* Light surface */
  --color-linen:      #f0efed;    /* warm off-white — light section bg */

  /* Semantic */
  --color-bg:         var(--color-midnight);
  --color-surface:    var(--color-navy);
  --color-surface-2:  var(--color-navy-light);
  --color-border:     var(--color-navy-mid);
  --color-text:       var(--color-parchment);
  --color-text-muted: var(--color-stone);
  --color-accent:     var(--color-gold);
  --color-cta:        var(--color-ember);

  /* --------------------------------------------------
     TYPOGRAPHY
     -------------------------------------------------- */

  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — major third (1.250) */
  --text-xs:     0.64rem;      /* 10.24px */
  --text-sm:     0.8rem;       /* 12.8px */
  --text-base:   1rem;         /* 16px */
  --text-md:     1.25rem;      /* 20px */
  --text-lg:     1.563rem;     /* 25px */
  --text-xl:     1.953rem;     /* 31px */
  --text-2xl:    2.441rem;     /* 39px */
  --text-3xl:    3.052rem;     /* 49px */
  --text-hero:   clamp(2.8rem, 7vw, 5.5rem);    /* fluid hero */
  --text-jumbo:  clamp(3.5rem, 10vw, 8rem);     /* very large display */

  /* Line heights */
  --leading-none:  1;
  --leading-tight: 1.1;
  --leading-snug:  1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.2em;

  /* Font weights */
  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* --------------------------------------------------
     SPACING SCALE
     -------------------------------------------------- */

  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* Section vertical padding */
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Container */
  --container-max:  1280px;
  --container-wide: 1440px;
  --container-px:   clamp(1.25rem, 4vw, 3rem);

  /* --------------------------------------------------
     BORDERS & RADII
     -------------------------------------------------- */

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --border-thin:  1px solid var(--color-border);
  --border-gold:  1px solid var(--color-gold-dim);
  --border-glow:  1px solid var(--color-gold);

  /* --------------------------------------------------
     SHADOWS & GLOWS
     -------------------------------------------------- */

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl:    0 16px 64px rgba(0,0,0,0.7);

  --glow-gold:    0 0 20px rgba(201, 168, 76, 0.3),
                  0 0 60px rgba(201, 168, 76, 0.1);
  --glow-ember:   0 0 20px rgba(139, 26, 26, 0.4),
                  0 0 60px rgba(139, 26, 26, 0.15);

  /* --------------------------------------------------
     ANIMATION
     -------------------------------------------------- */

  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out:     cubic-bezier(0.45, 0, 0.55, 1);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 700ms;

  /* --------------------------------------------------
     Z-INDEX SCALE
     -------------------------------------------------- */

  --z-below:   -1;
  --z-base:     0;
  --z-raised:   10;
  --z-nav:      100;
  --z-overlay:  200;
  --z-modal:    300;
  --z-toast:    400;
}
