/* ==========================================================================
   Abdulrahman Alotaibi v3.0.0 — Official Brand Guideline & Thmanyah Tokens
   Midnight Navy (#0A0A23) · Electric Royal Cobalt (#1D68FF) · Porcelain (#F8F9FC)
   ========================================================================== */
:root {
  /* Core Surfaces */
  --bg-canvas: #F8F9FC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EEF2FA;
  --bg-elevated: rgba(255, 255, 255, 0.92);

  /* Official Brand Palette — Midnight Navy & Electric Royal Cobalt */
  --brand-navy: #0A0A23;
  --brand-navy-soft: #141438;
  --brand-cobalt: #1D68FF;
  --brand-cobalt-hover: #1452D6;
  --brand-cobalt-light: #6B9BFF;
  --brand-cobalt-tint: rgba(29, 104, 255, 0.08);
  --brand-cobalt-tint-strong: rgba(29, 104, 255, 0.14);
  --brand-cobalt-border: rgba(29, 104, 255, 0.25);

  /* Semantic Token Aliases (Cobalt Accent & Midnight Navy Surface) */
  --saudi-emerald: #1D68FF;
  --saudi-emerald-hover: #1452D6;
  --saudi-emerald-deep: #0A0A23;
  --saudi-emerald-tint: rgba(29, 104, 255, 0.08);
  --saudi-emerald-tint-strong: rgba(29, 104, 255, 0.14);

  --bisht-gold: #1D68FF;
  --bisht-gold-hover: #1452D6;
  --bisht-gold-light: #6B9BFF;
  --bisht-gold-tint: rgba(29, 104, 255, 0.08);
  --bisht-gold-border: rgba(29, 104, 255, 0.25);

  /* Typography & Ink */
  --ink-primary: #0A0A23;
  --ink-secondary: #373955;
  --ink-muted: #646782;
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-muted: rgba(255, 255, 255, 0.78);

  /* Borders & Hairlines */
  --border-subtle: rgba(10, 10, 35, 0.08);
  --border-medium: rgba(10, 10, 35, 0.16);

  /* Font Families — Thmanyah Typeface */
  --font-ar-sans: 'Thmanyah Sans', system-ui, -apple-system, sans-serif;
  --font-ar-serif: 'Thmanyah Serif Display', 'Thmanyah Serif Text', Georgia, serif;
  --font-en-sans: 'Thmanyah Sans', system-ui, -apple-system, sans-serif;
  --font-en-serif: 'Thmanyah Serif Display', 'Thmanyah Serif Text', Georgia, serif;
  --font-serif-text: 'Thmanyah Serif Text', Georgia, serif;

  /* Fluid Type Scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.14vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.22rem + 0.65vw, 1.65rem);
  --text-2xl: clamp(1.75rem, 1.45rem + 1.35vw, 2.5rem);
  --text-3xl: clamp(2.15rem, 1.65rem + 2.25vw, 3.45rem);

  /* Layout & Spacing */
  --container-max: 1260px;
  --container-narrow: 860px;
  --section-py: clamp(4.25rem, 6.5vw, 6.75rem);
  --header-h: 82px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Porcelain & Midnight Navy Elevation Shadows */
  --shadow-xs: 0 2px 8px rgba(10, 10, 35, 0.04);
  --shadow-sm: 0 8px 26px rgba(10, 10, 35, 0.06);
  --shadow-md: 0 18px 46px rgba(10, 10, 35, 0.10);
  --shadow-portrait: 0 24px 60px rgba(10, 10, 35, 0.16);

  /* Motion */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 220ms;
  --t-med: 420ms;
}
