/**
 * KSTPA Public Website — Premium Design Tokens & Color Palettes (V4)
 * Author: Antigravity
 * Version: 4.0 (Heritage Burgundy & Glossy Theme System)
 * Alignment: KSTPA_NEW_PREMIUM_REFERENCE.png (Burgundy, Ivory, Heritage Gold)
 */

:root {
    /* ==========================================================================
       1. DEFAULT THEME: HERITAGE BURGUNDY & HERITAGE GOLD
       ========================================================================== */
    --kstpa-pub-theme-id: "heritage-burgundy";
    --kstpa-pub-primary: #85051F;
    --kstpa-pub-primary-deep: #570013;
    --kstpa-pub-primary-soft: #A31D36;
    --kstpa-pub-primary-glow: rgba(133, 5, 31, 0.16);

    --kstpa-pub-accent: #D7A643;
    --kstpa-pub-accent-hover: #C29334;
    --kstpa-pub-accent-active: #AA7E25;
    --kstpa-pub-accent-light: #FDF7EA;
    --kstpa-pub-accent-border: rgba(215, 166, 67, 0.45);

    --kstpa-pub-surface-page: #FFF9F0;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-cream: #FFF9F0;
    --kstpa-pub-surface-alt: #FDF5E6;
    --kstpa-pub-surface-muted: #F8F1E5;
    --kstpa-pub-surface-card: #FFFFFF;
    --kstpa-pub-surface-dark: #570013;

    --kstpa-pub-text-primary: #17243D;
    --kstpa-pub-text-secondary: #4A5568;
    --kstpa-pub-text-muted: #718096;
    --kstpa-pub-text-subtle: #A0AEC0;
    --kstpa-pub-text-inverse: #FFFFFF;
    --kstpa-pub-text-inverse-muted: #F0E6D8;
    --kstpa-pub-text-gold: #D7A643;

    --kstpa-pub-border: #E8DFC8;
    --kstpa-pub-border-subtle: #F2EBE0;
    --kstpa-pub-border-strong: #D5C7A8;
    --kstpa-pub-border-gold: rgba(215, 166, 67, 0.4);

    --kstpa-pub-nav-bg: #FFF9F0;
    --kstpa-pub-nav-text: #17243D;
    --kstpa-pub-nav-active: #85051F;
    --kstpa-pub-nav-border: #E8DFC8;

    --kstpa-pub-ticker-bg: #85051F;
    --kstpa-pub-ticker-text: #FFFFFF;

    --kstpa-pub-footer-bg: #570013;
    --kstpa-pub-footer-text: #FFF9F0;
    --kstpa-pub-footer-muted: #D5C7A8;

    /* Backward compatibility aliases */
    --kstpa-navy: var(--kstpa-pub-primary);
    --kstpa-navy-dark: var(--kstpa-pub-primary-deep);
    --kstpa-navy-light: var(--kstpa-pub-primary-soft);
    --kstpa-blue: var(--kstpa-pub-primary);
    --kstpa-blue-hover: var(--kstpa-pub-primary-deep);
    --kstpa-blue-light: var(--kstpa-pub-surface-alt);
    --kstpa-gold: var(--kstpa-pub-accent);
    --kstpa-gold-light: var(--kstpa-pub-accent-light);
    --kstpa-gold-dark: var(--kstpa-pub-accent-hover);
    --kstpa-bg-page: var(--kstpa-pub-surface-page);
    --kstpa-surface: var(--kstpa-pub-surface);
    --kstpa-surface-muted: var(--kstpa-pub-surface-muted);
    --kstpa-surface-alt: var(--kstpa-pub-surface-alt);
    --kstpa-surface-dark: var(--kstpa-pub-surface-dark);
    --kstpa-text-primary: var(--kstpa-pub-text-primary);
    --kstpa-text-secondary: var(--kstpa-pub-text-secondary);
    --kstpa-text-muted: var(--kstpa-pub-text-muted);
    --kstpa-border: var(--kstpa-pub-border);

    /* ==========================================================================
       2. FINISH MODE: SOFT-GLOSS (DEFAULT)
       ========================================================================== */
    --kstpa-pub-finish: "soft-gloss";
    --kstpa-pub-card-shine: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 65%);
    --kstpa-pub-panel-shine: radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
    --kstpa-pub-btn-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
    --kstpa-pub-btn-top-edge: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    --kstpa-pub-card-top-edge: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(20, 5, 8, 0.72) 0%, rgba(20, 5, 8, 0.48) 38%, rgba(20, 5, 8, 0.12) 65%, rgba(20, 5, 8, 0) 100%);
    --kstpa-pub-hero-overlay-mobile: linear-gradient(180deg, rgba(20, 5, 8, 0.35) 0%, rgba(20, 5, 8, 0.65) 50%, rgba(20, 5, 8, 0.85) 100%);
    --kstpa-pub-shadow-xs: 0 1px 3px rgba(87, 0, 19, 0.05);
    --kstpa-pub-shadow-sm: 0 3px 8px rgba(87, 0, 19, 0.06), 0 1px 3px rgba(0,0,0,0.03);
    --kstpa-pub-shadow-md: 0 8px 20px -3px rgba(87, 0, 19, 0.08), 0 3px 8px -2px rgba(0,0,0,0.04);
    --kstpa-pub-shadow-lg: 0 16px 32px -4px rgba(87, 0, 19, 0.12), 0 6px 16px -4px rgba(0,0,0,0.06);
    --kstpa-pub-shadow-card: 0 8px 24px -4px rgba(87, 0, 19, 0.07), 0 2px 6px -1px rgba(0,0,0,0.03);
    --kstpa-pub-shadow-card-hover: 0 16px 36px -4px rgba(87, 0, 19, 0.14), 0 4px 10px -2px rgba(0,0,0,0.05);

    /* ==========================================================================
       3. TYPOGRAPHY, LAYOUT & V9 TWO-LAYER MOTION FOUNDATIONS
       ========================================================================== */
    --kstpa-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Noto Sans Kannada', sans-serif;
    --kstpa-font-heading: 'Georgia', Cambria, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Kannada', serif;
    --kstpa-font-serif: Georgia, Cambria, 'Times New Roman', Times, serif;

    --kstpa-text-xs: 0.75rem;    /* 12px */
    --kstpa-text-sm: 0.875rem;   /* 14px */
    --kstpa-text-base: 1rem;     /* 16px */
    --kstpa-text-lg: 1.125rem;   /* 18px */
    --kstpa-text-xl: 1.25rem;    /* 20px */
    --kstpa-text-2xl: 1.5rem;    /* 24px */
    --kstpa-text-3xl: 1.875rem;  /* 30px */
    --kstpa-text-4xl: 2.25rem;   /* 36px */
    --kstpa-text-5xl: 3rem;      /* 48px */

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

    --kstpa-container-max: 1320px;
    --kstpa-container-narrow: 1040px;
    --kstpa-container-padding: 1.5rem;

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

    /* V9 Perceptible Entrance & Scroll-Linked Motion Tokens */
    --kstpa-motion-fast: 180ms;
    --kstpa-motion-normal: 280ms;
    --kstpa-motion-reveal: 760ms;
    --kstpa-motion-section: 920ms;
    --kstpa-motion-long: 960ms;
    --kstpa-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --kstpa-motion-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
    --kstpa-reveal-offset-desktop: 28px;
    --kstpa-reveal-offset-mobile: 16px;
    --kstpa-reveal-scale-start: 0.984;
    --kstpa-stagger-step: 95ms;
    --kstpa-scroll-offset: 80px;
    --kstpa-scroll-progress: 0;

    --kstpa-transition-fast: var(--kstpa-motion-fast) var(--kstpa-motion-ease);
    --kstpa-transition: var(--kstpa-motion-normal) var(--kstpa-motion-ease);
    --kstpa-transition-slow: var(--kstpa-motion-reveal) var(--kstpa-motion-ease);

    --kstpa-bp-sm: 576px;
    --kstpa-bp-md: 768px;
    --kstpa-bp-lg: 1024px;
    --kstpa-bp-xl: 1280px;
    --kstpa-bp-2xl: 1440px;
}

/* ==========================================================================
   4. FINISH MODES (MATTE, SOFT-GLOSS, SIGNATURE-GLOSS)
   ========================================================================== */
[data-finish="matte"] {
    --kstpa-pub-finish: "matte";
    --kstpa-pub-card-shine: none;
    --kstpa-pub-panel-shine: none;
    --kstpa-pub-btn-gloss: none;
    --kstpa-pub-btn-top-edge: none;
    --kstpa-pub-card-top-edge: none;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(20, 5, 8, 0.78) 0%, rgba(20, 5, 8, 0.52) 40%, rgba(20, 5, 8, 0.16) 65%, rgba(20, 5, 8, 0) 100%);
    --kstpa-pub-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --kstpa-pub-shadow-md: 0 4px 8px rgba(0,0,0,0.08);
    --kstpa-pub-shadow-lg: 0 8px 16px rgba(0,0,0,0.10);
    --kstpa-pub-shadow-card: 0 2px 6px rgba(0,0,0,0.06);
    --kstpa-pub-shadow-card-hover: 0 4px 12px rgba(0,0,0,0.10);
}

[data-finish="soft-gloss"] {
    --kstpa-pub-finish: "soft-gloss";
    --kstpa-pub-card-shine: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 65%);
    --kstpa-pub-panel-shine: radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
    --kstpa-pub-btn-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
    --kstpa-pub-btn-top-edge: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    --kstpa-pub-card-top-edge: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-finish="signature-gloss"] {
    --kstpa-pub-finish: "signature-gloss";
    --kstpa-pub-card-shine: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0) 52%);
    --kstpa-pub-panel-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.14) 100%);
    --kstpa-pub-btn-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.12) 100%);
    --kstpa-pub-btn-top-edge: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 14px rgba(215, 166, 67, 0.38);
    --kstpa-pub-card-top-edge: inset 0 1px 0 rgba(255, 255, 255, 0.96);
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(20, 5, 8, 0.70) 0%, rgba(20, 5, 8, 0.45) 38%, rgba(20, 5, 8, 0.10) 65%, rgba(20, 5, 8, 0) 100%);
    --kstpa-pub-shadow-lg: 0 22px 44px -6px rgba(20, 10, 14, 0.24), 0 8px 20px -4px rgba(0,0,0,0.10);
    --kstpa-pub-shadow-card: 0 12px 30px -4px rgba(87, 0, 19, 0.14), 0 4px 10px -1px rgba(0,0,0,0.05);
    --kstpa-pub-shadow-card-hover: 0 20px 42px -4px rgba(87, 0, 19, 0.24), 0 6px 14px -2px rgba(0,0,0,0.09);
}

/* ==========================================================================
   5. SIX PRESET COLOR PALETTES + CUSTOM HIGH-CONTRAST PALETTE
   ========================================================================== */

/* 1. Heritage Burgundy (Default Reference) */
[data-theme="heritage-burgundy"] {
    --kstpa-pub-theme-id: "heritage-burgundy";
    --kstpa-pub-primary: #85051F;
    --kstpa-pub-primary-deep: #570013;
    --kstpa-pub-primary-soft: #A31D36;
    --kstpa-pub-primary-glow: rgba(133, 5, 31, 0.18);
    --kstpa-pub-accent: #D7A643;
    --kstpa-pub-accent-hover: #C29334;
    --kstpa-pub-accent-light: #FDF7EA;
    --kstpa-pub-surface-page: #FFF9F0;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #FDF5E6;
    --kstpa-pub-surface-muted: #F8F1E5;
    --kstpa-pub-surface-dark: #570013;
    --kstpa-pub-text-primary: #17243D;
    --kstpa-pub-nav-bg: #FFF9F0;
    --kstpa-pub-ticker-bg: #85051F;
    --kstpa-pub-footer-bg: #570013;
    --kstpa-pub-nav-active: #85051F;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(38, 4, 12, 0.76) 0%, rgba(38, 4, 12, 0.50) 38%, rgba(38, 4, 12, 0.14) 65%, rgba(38, 4, 12, 0) 100%);
}

/* 2. Royal Navy & Champagne */
[data-theme="royal-navy"] {
    --kstpa-pub-theme-id: "royal-navy";
    --kstpa-pub-primary: #13315C;
    --kstpa-pub-primary-deep: #081B36;
    --kstpa-pub-primary-soft: #1D4B8A;
    --kstpa-pub-primary-glow: rgba(19, 49, 92, 0.18);
    --kstpa-pub-accent: #CFAD63;
    --kstpa-pub-accent-hover: #B8974E;
    --kstpa-pub-accent-light: #F9F5EB;
    --kstpa-pub-surface-page: #F8FAFD;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #EEF3FA;
    --kstpa-pub-surface-muted: #E5ECF6;
    --kstpa-pub-surface-dark: #081B36;
    --kstpa-pub-text-primary: #152238;
    --kstpa-pub-nav-bg: #F8FAFD;
    --kstpa-pub-ticker-bg: #13315C;
    --kstpa-pub-footer-bg: #081B36;
    --kstpa-pub-nav-active: #13315C;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(8, 27, 54, 0.76) 0%, rgba(8, 27, 54, 0.50) 38%, rgba(8, 27, 54, 0.14) 65%, rgba(8, 27, 54, 0) 100%);
}

/* 3. Emerald & Antique Brass */
[data-theme="emerald-heritage"] {
    --kstpa-pub-theme-id: "emerald-heritage";
    --kstpa-pub-primary: #0B604F;
    --kstpa-pub-primary-deep: #073B34;
    --kstpa-pub-primary-soft: #12826C;
    --kstpa-pub-primary-glow: rgba(11, 96, 79, 0.18);
    --kstpa-pub-accent: #CBA860;
    --kstpa-pub-accent-hover: #BD9A52;
    --kstpa-pub-accent-light: #F7F3E8;
    --kstpa-pub-surface-page: #F7FBF8;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #EBF5F0;
    --kstpa-pub-surface-muted: #E2F0E9;
    --kstpa-pub-surface-dark: #073B34;
    --kstpa-pub-text-primary: #16312D;
    --kstpa-pub-nav-bg: #F7FBF8;
    --kstpa-pub-ticker-bg: #0B604F;
    --kstpa-pub-footer-bg: #073B34;
    --kstpa-pub-nav-active: #0B604F;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(7, 59, 52, 0.76) 0%, rgba(7, 59, 52, 0.50) 38%, rgba(7, 59, 52, 0.14) 65%, rgba(7, 59, 52, 0) 100%);
}

/* 4. Sapphire & Platinum */
[data-theme="sapphire-silver"] {
    --kstpa-pub-theme-id: "sapphire-silver";
    --kstpa-pub-primary: #1C55A2;
    --kstpa-pub-primary-deep: #102F62;
    --kstpa-pub-primary-soft: #2870D1;
    --kstpa-pub-primary-glow: rgba(28, 85, 162, 0.18);
    --kstpa-pub-accent: #B4BBC8;
    --kstpa-pub-accent-hover: #9DA6B5;
    --kstpa-pub-accent-light: #F1F4F9;
    --kstpa-pub-surface-page: #FAFBFF;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #EEF2FB;
    --kstpa-pub-surface-muted: #E4EBF8;
    --kstpa-pub-surface-dark: #102F62;
    --kstpa-pub-text-primary: #17243B;
    --kstpa-pub-nav-bg: #FAFBFF;
    --kstpa-pub-ticker-bg: #1C55A2;
    --kstpa-pub-footer-bg: #102F62;
    --kstpa-pub-nav-active: #1C55A2;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(16, 47, 98, 0.76) 0%, rgba(16, 47, 98, 0.50) 38%, rgba(16, 47, 98, 0.14) 65%, rgba(16, 47, 98, 0) 100%);
}

/* 5. Imperial Plum & Rose Gold */
[data-theme="plum-rose"] {
    --kstpa-pub-theme-id: "plum-rose";
    --kstpa-pub-primary: #62315F;
    --kstpa-pub-primary-deep: #351836;
    --kstpa-pub-primary-soft: #844280;
    --kstpa-pub-primary-glow: rgba(98, 49, 95, 0.18);
    --kstpa-pub-accent: #D2A08C;
    --kstpa-pub-accent-hover: #BE8B76;
    --kstpa-pub-accent-light: #FDF4F0;
    --kstpa-pub-surface-page: #FFF9FC;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #F9EFF5;
    --kstpa-pub-surface-muted: #F3E5EE;
    --kstpa-pub-surface-dark: #351836;
    --kstpa-pub-text-primary: #302337;
    --kstpa-pub-nav-bg: #FFF9FC;
    --kstpa-pub-ticker-bg: #62315F;
    --kstpa-pub-footer-bg: #351836;
    --kstpa-pub-nav-active: #62315F;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(53, 24, 54, 0.76) 0%, rgba(53, 24, 54, 0.50) 38%, rgba(53, 24, 54, 0.14) 65%, rgba(53, 24, 54, 0) 100%);
}

/* 6. Graphite & Burnished Copper */
[data-theme="charcoal-copper"] {
    --kstpa-pub-theme-id: "charcoal-copper";
    --kstpa-pub-primary: #303A43;
    --kstpa-pub-primary-deep: #161E25;
    --kstpa-pub-primary-soft: #485663;
    --kstpa-pub-primary-glow: rgba(48, 58, 67, 0.18);
    --kstpa-pub-accent: #CC915C;
    --kstpa-pub-accent-hover: #B87F4C;
    --kstpa-pub-accent-light: #FBF3EC;
    --kstpa-pub-surface-page: #FAFAF7;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #F2F2EE;
    --kstpa-pub-surface-muted: #EAEAE4;
    --kstpa-pub-surface-dark: #161E25;
    --kstpa-pub-text-primary: #1B252E;
    --kstpa-pub-nav-bg: #FAFAF7;
    --kstpa-pub-ticker-bg: #303A43;
    --kstpa-pub-footer-bg: #161E25;
    --kstpa-pub-nav-active: #303A43;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(22, 30, 37, 0.76) 0%, rgba(22, 30, 37, 0.50) 38%, rgba(22, 30, 37, 0.14) 65%, rgba(22, 30, 37, 0) 100%);
}

/* 7. Custom High-Contrast Palette (Owner Custom Theme Validation) */
[data-theme="custom-high-contrast"] {
    --kstpa-pub-theme-id: "custom-high-contrast";
    --kstpa-pub-primary: #3B0764;
    --kstpa-pub-primary-deep: #1E0238;
    --kstpa-pub-primary-soft: #581C87;
    --kstpa-pub-primary-glow: rgba(59, 7, 100, 0.20);
    --kstpa-pub-accent: #EAB308;
    --kstpa-pub-accent-hover: #CA8A04;
    --kstpa-pub-accent-light: #FEFCE8;
    --kstpa-pub-surface-page: #FAF7FF;
    --kstpa-pub-surface: #FFFFFF;
    --kstpa-pub-surface-alt: #F3E8FF;
    --kstpa-pub-surface-muted: #E9D5FF;
    --kstpa-pub-surface-dark: #1E0238;
    --kstpa-pub-text-primary: #1E0238;
    --kstpa-pub-nav-bg: #FAF7FF;
    --kstpa-pub-ticker-bg: #3B0764;
    --kstpa-pub-footer-bg: #1E0238;
    --kstpa-pub-nav-active: #3B0764;
    --kstpa-pub-hero-overlay: linear-gradient(90deg, rgba(30, 2, 56, 0.78) 0%, rgba(30, 2, 56, 0.52) 38%, rgba(30, 2, 56, 0.15) 65%, rgba(30, 2, 56, 0) 100%);
}

/* ==========================================================================
   5B. DERIVED SEMANTIC SURFACES, GRADIENTS & ALIAS RE-INHERITANCE
   Declared on :root, [data-theme], and body so runtime or server theme
   switches on <body> or <html> recompute all aliases & gradients!
   ========================================================================== */
:root,
[data-theme],
body {
    /* Semantic Brand Gradients & Surfaces (F-04, F-05, F-06 Fix) */
    --kstpa-pub-cta-gradient: linear-gradient(135deg, var(--kstpa-pub-primary-deep) 0%, var(--kstpa-pub-primary) 54%, var(--kstpa-pub-primary-soft) 100%);
    --kstpa-pub-panel-gradient: linear-gradient(135deg, var(--kstpa-pub-primary-deep) 0%, var(--kstpa-pub-primary) 100%);
    --kstpa-pub-hero-bg: var(--kstpa-pub-primary-deep);
    --kstpa-pub-media-surface: var(--kstpa-pub-primary-deep);
    --kstpa-pub-loader-bg: radial-gradient(circle at center, var(--kstpa-pub-primary-deep) 0%, #090406 100%);
    --kstpa-pub-medallion-bg: radial-gradient(circle at 35% 35%, var(--kstpa-pub-primary-soft) 0%, var(--kstpa-pub-primary) 68%, var(--kstpa-pub-primary-deep) 100%);
    --kstpa-pub-text-gold: var(--kstpa-pub-accent);

    /* Backward compatibility aliases bound at every theme scope */
    --kstpa-burgundy-primary: var(--kstpa-pub-primary);
    --kstpa-burgundy-secondary: var(--kstpa-pub-primary-deep);
    --kstpa-accent-gold: var(--kstpa-pub-accent);
    --kstpa-surface-cream: var(--kstpa-pub-surface-page);
    --kstpa-navy: var(--kstpa-pub-primary);
    --kstpa-navy-dark: var(--kstpa-pub-primary-deep);
    --kstpa-navy-light: var(--kstpa-pub-primary-soft);
    --kstpa-blue: var(--kstpa-pub-primary);
    --kstpa-blue-hover: var(--kstpa-pub-primary-deep);
    --kstpa-blue-light: var(--kstpa-pub-surface-alt);
    --kstpa-gold: var(--kstpa-pub-accent);
    --kstpa-gold-light: var(--kstpa-pub-accent-light);
    --kstpa-gold-dark: var(--kstpa-pub-accent-hover);
    --kstpa-bg-page: var(--kstpa-pub-surface-page);
    --kstpa-surface: var(--kstpa-pub-surface);
    --kstpa-surface-muted: var(--kstpa-pub-surface-muted);
    --kstpa-surface-alt: var(--kstpa-pub-surface-alt);
    --kstpa-surface-dark: var(--kstpa-pub-surface-dark);
    --kstpa-text-primary: var(--kstpa-pub-text-primary);
    --kstpa-text-secondary: var(--kstpa-pub-text-secondary);
    --kstpa-text-muted: var(--kstpa-pub-text-muted);
    --kstpa-border: var(--kstpa-pub-border);
    --kstpa-shadow-xs: var(--kstpa-pub-shadow-xs);
    --kstpa-shadow-sm: var(--kstpa-pub-shadow-sm);
    --kstpa-shadow-md: var(--kstpa-pub-shadow-md);
    --kstpa-shadow-lg: var(--kstpa-pub-shadow-lg);
    --kstpa-shadow-card: var(--kstpa-pub-shadow-card);
    --kstpa-shadow-card-hover: var(--kstpa-pub-shadow-card-hover);
}

/* ==========================================================================
   6. ACCESSIBILITY & REDUCED MOTION OVERRIDES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    :root,
    [data-theme],
    body {
        --kstpa-motion-fast: 0.01ms;
        --kstpa-motion-normal: 0.01ms;
        --kstpa-motion-reveal: 0.01ms;
        --kstpa-motion-section: 0.01ms;
        --kstpa-motion-long: 0.01ms;
        --kstpa-reveal-offset-desktop: 0px;
        --kstpa-reveal-offset-mobile: 0px;
        --kstpa-reveal-scale-start: 1;
        --kstpa-stagger-step: 0ms;
    }

    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .kstpa-carousel-slide,
    .kstpa-reveal,
    html.kstpa-motion-ready .kstpa-reveal,
    html.kstpa-motion-ready .kstpa-reveal:not(.is-revealed),
    html.kstpa-motion-ready .kstpa-reveal.is-revealed,
    [data-kstpa-scroll-scene],
    .kstpa-section-divider,
    .kstpa-creed-seal,
    .kstpa-about-map-box,
    .kstpa-timeline::after {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .kstpa-stat-card:hover,
    .kstpa-leadership-card:hover,
    .kstpa-hub-card:hover,
    .kstpa-album-card:hover,
    .kstpa-event-card:hover,
    .kstpa-news-card:hover,
    .kstpa-notice-card:hover,
    .kstpa-notice-row-card:hover,
    .kstpa-link-card:hover {
        transform: none !important;
    }
}

