/* BRAND LAYER — IRMA (دليل الهوية البصرية 1.0 · 2026). Fonts + colour tokens.
   Palette (p31): زيتوني داكن #2C3227 (القائد 60%) · أبيض مكسور #F5F5F5 (20%) · رملي #CFB898 (الإبراز 10%) · توبي #AB997F (المساند 10%)
   Type (p36–37): كوفيان (Kufyan Arabic) للعنوان الرئيسي فقط، لينوس (Lenos) لكل النصوص والعناوين الأصغر. */
@font-face { font-family: "Kufyan"; src: url(../fonts/KufyanRegular.ttf) format("truetype"); font-weight: 100 600; font-display: swap; }
@font-face { font-family: "Kufyan"; src: url(../fonts/KufyanBlack.otf) format("opentype"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Lenos"; src: url(../fonts/Lenos-Regular.otf) format("opentype"); font-weight: 100 400; font-display: swap; }
@font-face { font-family: "Lenos"; src: url(../fonts/Lenos-Medium.otf) format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lenos"; src: url(../fonts/Lenos-SemiBold.otf) format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lenos"; src: url(../fonts/Lenos-Bold.otf) format("opentype"); font-weight: 700 900; font-display: swap; }

:root {
  --bg-rgb: 44, 50, 39;          /* زيتوني داكن — اللون القائد: الخلفيات الرئيسية */
  --surface-rgb: 86, 91, 82;     /* زيتوني 80% (#565B52) — للخلفيات الثانوية */
  --tint-rgb: 44, 50, 39;
  --accent-rgb: 207, 184, 152;   /* رملي — الإبراز: العناوين الفرعية والخطوط والأيقونات */
  --strong-rgb: 171, 153, 127;   /* توبي — المساند: المساحات الثانوية والنصوص المساعدة */
  --text-rgb: 245, 245, 245;     /* أبيض مكسور */

  --bg: rgb(var(--bg-rgb));
  --surface: rgb(var(--surface-rgb));
  --accent: rgb(var(--accent-rgb));
  --strong: rgb(var(--strong-rgb));
  --text: rgb(var(--text-rgb));
  --white: #f5f5f5;
  --on-accent: #2c3227;          /* الزيتوني على الرملي */

  --glass: rgba(var(--bg-rgb), 0.34);
  --glass-line: rgba(var(--accent-rgb), 0.22);
  --glass-line-hi: rgba(var(--accent-rgb), 0.55);
  --blur: blur(18px) saturate(120%);
  --muted: #ab997f;              /* توبي على الزيتوني = 4.8:1 (مسموح للنصوص) */

  --font-head: "Kufyan", "Lenos", "Geeza Pro", sans-serif;   /* كوفيان — العنوان الرئيسي */
  --font-body: "Lenos", "Geeza Pro", sans-serif;             /* لينوس — النصوص والعناوين الأصغر */
  --font-latin: "Lenos", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* the brand mark (الرمز منفرداً), tinted sand — used next to the room title */
.brand-mark { display: block; flex: none; width: 30px; height: 15px; background: var(--accent); -webkit-mask: url(irma-mark.png) center / contain no-repeat; mask: url(irma-mark.png) center / contain no-repeat; }

/* page body is transparent so the ground lines (z-index -1) show over the olive page background */
.home-body { background: transparent !important; }

/* home page: flat olive background (p42 «خلفية هادئة، لا زخرفة») with faint ground lines behind the logo (p41) */
.home-body::before { background: var(--bg) !important; }
.home-body::after { top: -300px !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translateX(-50%) !important; width: min(1100px, 160vw) !important; background: url(ground-lines.svg) center / contain no-repeat !important; opacity: .11 !important; }

