/* Bawabat Al-Hadba tokens: ultramarine and safety orange (2026-11-28, after Blast's crowdlending page: deep blue
   fields, one vivid orange, clean white). Safety orange is construction's own colour (hard hats, cranes, vests) and the
   complement of the blue, so the two hold the strongest contrast. White pages, ink text, one ultramarine dark field and
   orange as the only colour, in three strengths by ground: --action (fills, white text), --accent (small orange text on
   light), --accent-dark (bright orange on the blue).
   Contrast (WCAG 2.x): fg on bg 18.0, muted on bg 7.6 (on s1 6.9), accent on bg 5.2 (on s1 4.7), white on action 4.7,
   white on action-deep 6.6, white on dark 15.4, dark-muted on dark 8.7, accent-dark on dark 6.7. */
:root {
  color-scheme: light;
  --bg: #FBFAF7;          /* warm white: clean like Blast, a breath of warmth for the photographs */
  --s1: #F2F4F8;          /* cool mist: tinted sections */
  --s2: #E3E7F0;          /* deep mist: fills */
  --fg: #0E1530;          /* ink */
  --muted: #4A5370;
  --line: rgb(14 21 48 / 0.12);
  --dark: #101C5C;        /* ultramarine: the one dark field (hero, name band, method stage, featured project, footer, drawer) */
  --dark-2: #1B2C7E;      /* a lighter blue: tone-on-tone shapes on the dark field (the footer wordmark) */
  --dark-ink: #FFFFFF;    /* text on the blue */
  --dark-muted: #B8C0E0;  /* secondary text on the blue */
  --action: #CF4310;      /* safety orange: buttons and orange fields, white text on it */
  --action-deep: #A8350B; /* orange hover */
  --action-ink: #FFFFFF;
  --accent: #C2410C;      /* orange for small text on light: links, accent words, indicator */
  --accent-dark: #FF8A5B; /* bright orange: accents on the blue */
  --error: #B3261E;
  --focus: #C2410C;
  --field-line: rgb(14 21 48 / 0.45); /* form fields' edges: 3:1 or more against the warm white (--line is for dividers) */

  --font-display: "Barlow Condensed", "Display Fallback", "Noto Kufi Arabic", "Arabic Fallback", system-ui, sans-serif;
  /* The serif for the few big display moments (English only: hero, halves, method, featured project) */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Barlow", "Body Fallback", "Noto Kufi Arabic", "Arabic Fallback", system-ui, sans-serif;
  --t-hero: clamp(3rem, 1rem + 6.2vw, 6.5rem);   /* Barlow Condensed sets about a quarter narrower, so display sizes run larger */
  --t-title: clamp(2.4rem, 1.4rem + 2.8vw, 3.75rem);
  --t-h2: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  --t-h3: var(--t-lead);   /* card and item titles share the lead step: six sizes in all */
  --t-lead: clamp(1.15rem, 1rem + 0.45vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --lh-display: 1.02;

  --wrap: 76rem;
  --margin: max(clamp(1.25rem, 3vw, 2rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); /* clear of notches */
  --gap: clamp(1rem, 2vw, 1.75rem);
  --gap-section: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --radius: 0.375rem;
  --shadow: 0 18px 40px -24px rgb(14 21 48 / 0.30), 0 2px 6px rgb(14 21 48 / 0.06);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-1: 150ms;
  --dur-2: 250ms;
  --dur-3: 600ms;
}
/* Arabic and Kurdish: Noto Kufi for everything, taller lines, steps a little smaller (Kufi sets wide) */
html:lang(ar), html:lang(ckb) {
  --font-display: "Noto Kufi Arabic", "Arabic Fallback", "Barlow", "Display Fallback", system-ui, sans-serif;
  --font-body: "Noto Kufi Arabic", "Arabic Fallback", "Barlow", "Body Fallback", system-ui, sans-serif;
  --t-hero: clamp(2rem, 1rem + 3.4vw, 3.7rem);
  --t-title: clamp(1.7rem, 1.1rem + 1.8vw, 2.5rem);
  --t-h2: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --t-body: 1.0625rem;
  --lh-display: 1.45;
}
