/* ==========================================================================
   KHET // Design Tokens & Font Declarations
   TYPO3 Sitepackage: Resources/Public/Css/tokens.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Local Fonts (Self-hosted WOFF2, GDPR-compliant, no third-party CDNs)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../Fonts/montserrat-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../Fonts/montserrat-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../Fonts/jost-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette: Egyptian Obsidian, Gold, & Ancient Stone */
  --khet-color-obsidian: #080706;
  --khet-color-obsidian-rgb: 8, 7, 6;
  --khet-color-surface: #100e0c;
  --khet-color-surface-rgb: 16, 14, 12;

  --khet-color-gold: #d4af37;
  --khet-color-gold-rgb: 212, 175, 55;
  --khet-color-gold-bright: #f3cf65;
  --khet-color-gold-glow: rgba(212, 175, 55, 0.45);
  --khet-color-gold-dark: #8f7223;

  --khet-color-sand: #f5eedf;
  --khet-color-sand-rgb: 245, 238, 223;
  --khet-color-sand-muted: #9e9383;
  --khet-color-sand-faint: rgba(245, 238, 223, 0.4);

  --khet-color-white: #ffffff;
  --khet-color-border-subtle: rgba(212, 175, 55, 0.2);
  --khet-color-border-hover: rgba(212, 175, 55, 0.6);

  /* Typography */
  --khet-font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --khet-font-nav: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --khet-font-subtitle: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Scales & Tracking */
  --khet-font-weight-title: 700;
  --khet-font-weight-nav: 600;
  --khet-font-weight-body: 400;

  --khet-font-size-title: clamp(1.6rem, 3.4vw + 0.2rem, 3.4rem);
  --khet-font-size-title-line2: var(--khet-font-size-title);
  --khet-font-size-subtitle: clamp(0.95rem, 0.9vw + 0.5rem, 1.25rem);
  --khet-font-size-nav: 0.6875rem; /* 11px */
  --khet-font-size-cta: 0.75rem;   /* 12px */
  --khet-font-size-hint: 0.6875rem;
  --khet-font-size-footer: 0.6875rem;

  --khet-tracking-title: 0.03em;
  --khet-tracking-subtitle: 0.01em;
  --khet-tracking-nav: 0.16em;
  --khet-tracking-logo: 0.06em;
  --khet-tracking-badge: 0.32em;

  /* Text Shadow */
  --khet-shadow-title: 0 4px 28px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
  --khet-shadow-subtitle: 0 2px 14px rgba(0, 0, 0, 0.8);

  /* Positioning */
  --khet-title-top: 38%;

  /* Transitions & Curves */
  --khet-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --khet-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --khet-transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --khet-transition-normal: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --khet-transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layering / Z-Index */
  --khet-z-canvas: 1;
  --khet-z-copy: 20;
  --khet-z-widgets: 40;
  --khet-z-nav: 60;
  --khet-z-loader: 100;
}
