/* ==========================================================================
   THEME  —  the single place to change the palette, fonts and ornament intensity.
   --------------------------------------------------------------------------
   • Colours:   edit the hex values in the first block.
   • Ornaments: set  ornament: "subtle" | "bold"  in content/site.js
                (or hard-set it with <html data-ornament="bold">).
                The two presets are the blocks near the bottom of this file.
   ========================================================================== */

:root {
  /* ---- Surfaces ---- */
  --bg:            #0B0A0F;   /* deep black, warm tint */
  --surface:       #16141C;   /* dark basalt */
  --surface-2:     #1d1a25;   /* slightly lighter panel */

  /* ---- Gold (primary accent) ---- */
  --gold:          #C9A24B;   /* antique gold */
  --gold-light:    #E6C877;
  --gold-deep:     #B8892E;
  --gold-gradient: linear-gradient(135deg, #E6C877 0%, #C9A24B 50%, #B8892E 100%);
  --gold-hairline: rgba(201, 162, 75, .38);   /* thin borders */
  --gold-soft:     rgba(201, 162, 75, .16);

  /* ---- Secondary accents ---- */
  --lapis:         #263C9C;   /* lapis lazuli  (#1E3A8A also works) */
  --lapis-deep:    #1E3A8A;
  --turquoise:     #2DD4BF;   /* Egyptian faience */
  --carnelian:     #B5412E;   /* use sparingly */

  /* ---- Text ---- */
  --text:          #F3E9D2;   /* warm papyrus / sand */
  --text-muted:    #B5A98F;

  /* ---- Fonts ---- */
  --font-display-en: "Cinzel", "Trajan Pro", "Times New Roman", Georgia, serif;
  --font-body-en:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display-ar: "Reem Kufi", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-body-ar:    "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-display:    var(--font-display-en);
  --font-body:       var(--font-body-en);

  /* ---- Layout ---- */
  --container:     1200px;
  --nav-h:         68px;
  --radius:        2px;       /* Egyptian geometry: crisp corners */

  /* ---- Ornament intensity (SUBTLE preset = default) ---- */
  --orn-opacity:         .55;   /* corner marks, friezes */
  --orn-scale:           1;     /* frieze height multiplier */
  --orn-corner:          12px;  /* corner ornament size */
  --orn-glow:            .30;   /* gold/turquoise glows */
  --orn-rays:            .20;   /* hero sun rays */
  --orn-texture:         .06;   /* stone texture overlay */
}

/* ---- BOLD preset ---- */
html[data-ornament="bold"] {
  --orn-opacity:         1;
  --orn-scale:           1.5;
  --orn-corner:          18px;
  --orn-glow:            .55;
  --orn-rays:            .30;
  --orn-texture:         .11;
}

/* ---- Arabic switches the font pair ---- */
html[lang="ar"] {
  --font-display: var(--font-display-ar);
  --font-body:    var(--font-body-ar);
}
