/* =========================================================
   Zenitha Corporate · Design Tokens
   zenitha.luxury — The Luxury AI Studio
   Cluster DNA · Volume I · 2026-05-06
   ---------------------------------------------------------
   Locked palette: warm black foundation, antique gold accent,
   soft silver secondary, warm off-white background, emerald
   jewel (corporate strategic surface), restrained navy
   (concierge accent, used minimally on corporate).
   ---------------------------------------------------------
   Discipline: gold is punctuation, never surface (≤15% of
   composition). Emerald is jewel (≤5%). Black + warm off-
   white do the heavy lifting.
   ========================================================= */

:root {

  /* ---- Foundation ------------------------------------- */
  --zen-ink:           #0E0E10;   /* warm black, slightly cool-leaning, never pure #000 */
  --zen-ink-soft:      #1A1A1D;   /* one stop up — body on dark surfaces */
  --zen-paper:         #FAFAF7;   /* warm off-white, never pure #FFF */
  --zen-paper-warm:    #F2EFE7;   /* paper, one stop warmer */
  --zen-silver:        #C5C6C7;   /* soft silver, secondary, ≤10% */

  /* ---- Accents ---------------------------------------- */
  --zen-gold:          #B8954F;   /* antique gold, midline */
  --zen-gold-soft:     #C9A961;   /* antique gold, screen-warm */
  --zen-gold-deep:     #8E6F38;   /* antique gold, print-deep */

  --zen-emerald:       #0F4D3A;   /* jewel, strategic surface */
  --zen-emerald-deep:  #0A3527;   /* print emerald */
  --zen-emerald-mist:  #D8E3DC;   /* tint, paper */

  --zen-navy:          #0F1B2E;   /* restrained navy — concierge accent */
  --zen-navy-mist:     #DDE2EA;   /* tint, paper */

  /* ---- Stone scale (extended neutrals) ---------------- */
  --zen-stone-50:      #F0EBE0;
  --zen-stone-100:     #E5DFD1;
  --zen-stone-200:     #CFC8B8;
  --zen-stone-300:     #B0AA9A;
  --zen-stone-400:     #8A8473;
  --zen-stone-500:     #65605A;
  --zen-stone-600:     #4A463E;
  --zen-stone-700:     #2E2C28;

  /* ---- Rules ------------------------------------------ */
  --zen-rule:          rgba(14,14,16,0.10);
  --zen-rule-strong:   rgba(14,14,16,0.20);
  --zen-rule-ivory:    rgba(250,250,247,0.16);
  --zen-rule-gold:     rgba(184,149,79,0.45);

  /* ---- Semantic ground -------------------------------- */
  --color-surface:           var(--zen-paper);
  --color-surface-warm:      var(--zen-paper-warm);
  --color-surface-inverse:   var(--zen-ink);
  --color-surface-strategic: var(--zen-emerald);    /* manifesto, /principles, /circle */
  --color-surface-concierge: var(--zen-navy);       /* /travel, /concierge, /inquiry */

  --color-ink:               var(--zen-ink);
  --color-ink-soft:           var(--zen-stone-600);
  --color-ink-mute:          var(--zen-stone-400);
  --color-ink-inverse:       var(--zen-paper);
  --color-ink-inverse-mute:  var(--zen-stone-200);

  --color-accent-gold:       var(--zen-gold);
  --color-accent-emerald:    var(--zen-emerald);
  --color-accent-navy:       var(--zen-navy);

  /* ---- Typography ------------------------------------- */
  --font-display:  "Cormorant Garamond", "GT Sectra", "Tiempos Headline", Garamond, serif;
  --font-text:     "Inter", "Söhne", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --font-arabic:   "Amiri", "29LT Zarid", "Greta Arabic", "GE SS Two", serif;
  --font-arabic-text: "Noto Naskh Arabic", "Amiri", serif;

  /* Editorial scale — Latin */
  --type-display-1: 96px;
  --type-display-2: 72px;
  --type-h1:        56px;
  --type-h2:        40px;
  --type-h3:        28px;
  --type-h4:        22px;
  --type-body:      17px;
  --type-body-sm:   14px;
  --type-eyebrow:   11px;
  --type-mono:      11px;

  /* Line-heights — Latin */
  --lh-display:     1.02;
  --lh-headline:    1.10;
  --lh-subhead:     1.20;
  --lh-body:        1.55;
  --lh-eyebrow:     1.40;

  /* Line-heights — Arabic (run higher than Latin) */
  --lh-ar-display:  1.30;
  --lh-ar-headline: 1.45;
  --lh-ar-body:     1.85;

  /* Tracking */
  --track-display:  -0.012em;
  --track-headline: -0.005em;
  --track-body:      0;
  --track-eyebrow:   0.24em;
  --track-wordmark:  0.22em;

  /* ---- Space scale ------------------------------------ */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 140px;

  /* ---- Composition discipline (advisory) -------------- */
  --discipline-gold-max:    15%;
  --discipline-emerald-max:  5%;
  --discipline-silver-max:  10%;

  /* ---- Hero overlay (design-pass v0.1) ----
     Corporate hero is motion-graphics, not live-action — see
     docs/design/corporate-home-v0.1.md. The lockup overlay still
     uses the calmer typographic register so the motion graphics
     can be the protagonist. Dual-voice color via emerald + navy
     tokens already defined above. */
  --corporate-hero-overlay-style: "calm";
  --corporate-hero-overlay-weight: 300;
  --corporate-hero-overlay-max-width: 600px;
  --corporate-hero-overlay-text-transform: none;
}

/* RTL flip helpers — Arabic line-heights apply by [lang="ar"] */
[lang="ar"], [dir="rtl"] {
  --lh-display:  var(--lh-ar-display);
  --lh-headline: var(--lh-ar-headline);
  --lh-body:     var(--lh-ar-body);
}

/* Served-copy addition (Phase 2, 2026-07-29): unified semantic accent
   = this pack's principal color, consumed by public.css --zlt-accent. */
:root {
  --color-accent: var(--zen-gold);
  --color-accent-soft: var(--zen-gold-soft);
}
