/* =========================================================
   YOUTH CATALYST — design tokens
   Brand colours and fonts come from the original identity.
   Change a value here and it changes everywhere.
   ========================================================= */
:root{
  /* brand palette (unchanged) */
  --ink:#050A14; --navy:#0B1E3D; --navy-2:#0F2447;
  --gold:#C9A227; --copper:#B5541F; --teal:#0F5C5C; --ivory:#F3EDE0;

  /* tints derived from the palette, for text/lines on dark or light grounds */
  --gold-hi:#E2BF4B; --copper-hi:#E58F5A; --teal-hi:#5CC0B6; --copper-ink:#9A4416;

  /* semantic colours: dark surfaces */
  --color-bg:var(--ink); --color-surface:var(--navy); --color-text:var(--ivory);
  --color-muted:rgba(243,237,224,.74); --color-faint:rgba(243,237,224,.52);
  --color-border:rgba(243,237,224,.16); --color-border-soft:rgba(243,237,224,.08);
  --color-accent:var(--gold);

  /* fonts: the site's existing families */
  --font-ar:'Amiri','Noto Naskh Arabic',serif;
  --font-serif:'Playfair Display','Amiri',Georgia,serif;
  --font-sans:'Inter','Amiri',system-ui,-apple-system,'Segoe UI',sans-serif;

  /* fluid type scale */
  --fs-hero:clamp(2.5rem,1.2rem + 4.2vw,4.6rem);
  --fs-h2:clamp(1.95rem,1.2rem + 2.8vw,3.4rem);
  --fs-h3:clamp(1.3rem,1.1rem + .8vw,1.75rem);
  --fs-lead:clamp(1.12rem,1rem + .5vw,1.4rem);
  --fs-body:1.0625rem; --fs-small:.9rem; --fs-label:.8rem;
  --lh-body:1.75; --lh-head:1.15;

  /* spacing (4px base) */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.5rem;
  --sp-6:2rem; --sp-7:3rem; --sp-8:4.5rem; --sp-9:7rem;
  --section-y:clamp(4.5rem,3rem + 7vw,9rem);
  --gutter:clamp(1.25rem,4vw,3rem);

  /* shape, depth, layout */
  --radius-s:4px; --radius-m:10px; --radius-l:18px; --radius-pill:999px;
  --shadow-soft:0 10px 30px -12px rgba(0,0,0,.5);
  --shadow-lift:0 22px 50px -20px rgba(0,0,0,.6);
  --container:1240px; --container-narrow:920px;
  --header-h:76px; --header-h-compact:62px;

  /* motion language */
  --ease-out:cubic-bezier(.2,.7,.2,1); --ease-inout:cubic-bezier(.65,0,.35,1);
  --t-fast:.18s; --t-base:.35s; --t-slow:.7s;
}
/* Arabic: Amiri is a Naskh face with a small x-height, so it needs more size and air */
html[lang="ar"]{
  --font-body:var(--font-ar); --font-head:var(--font-ar);
  --fs-body:1.22rem; --fs-lead:clamp(1.28rem,1.1rem + .6vw,1.6rem); --fs-small:1.05rem; --fs-label:.98rem;
  --fs-hero:clamp(2.5rem,1.1rem + 4vw,4.3rem); --fs-h2:clamp(2.1rem,1.3rem + 3vw,3.7rem);
  --fs-h3:clamp(1.45rem,1.2rem + .9vw,1.95rem);
  --lh-body:1.95; --lh-head:1.4;
}
html[lang="en"]{
  --font-body:var(--font-sans); --font-head:var(--font-serif);
}
