

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-ar-Regular.f5a17a7f867d.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-ar-SemiBold.926322e15983.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {

--ink: #0f1812;         
  --paper: #f7f3e8;       
  --surface: #fdfbf5;     
  --muted: #475047;       
  --line: #ddd5c0;        
  --accent: #1f5b3a;      
  --accent-soft: #e1eee5; 

--pist: #3f8a62;        
  --pist-bright: #8fd9b0; 
  --sand: #efe5cc;        
  --kraft: #b8923f;       
  --kraft-ink: #6e5217;   

--gold: #c99a3b;        
  --gold-ink: #7a5a12;    
  --gold-bright: #e8c065; 

--cta-bg: #244b36;          
  --cta-bg-hover: #2e5c43;    
  --cta-bg-active: #1b3a29;   
  --cta-ink: #f5f0e4;         

--danger: #a3261a;      
  --danger-soft: #f6e3e0;

--accent-bright: #7fd1a3;

--ink-paper: #f4efe2;
  --ink-muted: #c9cfc4;
  --ink-line: #32443a;
  --ink-surface: rgb(244 239 226 / 0.06);

--emerald-deep: #12321f;
  --emerald-mist: #2d6340;

--font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --font-reading: var(--font);
  --font-display: var(--font);

--fs-display: clamp(1.9rem, 6vw, 3.25rem);
  --fs-h1: clamp(1.8rem, 5vw, 2.75rem);
  --fs-h2: clamp(1.55rem, 4vw, 2.4rem);
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-caption: 0.8125rem;

--lh-display: 1.25;
  --lh-h1: 1.3;
  --lh-h2: 1.3;
  --lh-h3: 1.4;
  --lh-body: 1.75;
  --lh-small: 1.7;
  --lh-caption: 1.6;

--space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

--gutter: 1.25rem;
  --header-h: 4rem;
  --content-width: 76rem;
  --prose-width: 34rem;

--radius-sm: 4px;
  --radius-md: 6px;
  --radius-pill: 999px;
  --border: 1px solid var(--line);

--glass: var(--paper);
  --glass-strong: var(--ink);
  --glass-line: var(--line);
  --glow-accent: transparent;

--shadow-1: 0 1px 0 rgb(15 24 18 / 0.05);
  --shadow-2: 0 6px 18px rgb(15 24 18 / 0.08);

--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.3, 1.6, 0.5, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
}

@media (min-width: 56rem) {
  :root {
    --gutter: 2.5rem;
    --header-h: 4.5rem;
  }
}

:lang(en) {
  --lh-body: 1.7;
  --lh-small: 1.6;
}

body.is-reading {
  --font: var(--font-reading);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur: 0ms;
  }
}

html[data-season="ramadan"] {
  --accent: #6b4aa0;
  --accent-soft: #efe9f7;
  --accent-bright: #b79cf0;
}
