:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.75rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.5rem, 4.4vw + 0.75rem, 4.75rem);
  --text-section: clamp(2.25rem, 2.6vw + 1.1rem, 3.75rem); --text-statement: clamp(2.5rem, 5vw + 0.5rem, 5.5rem); --text-numeral: clamp(11rem, 30vw, 27rem);
  --text-hero: clamp(2.5rem, 5.9vw - 0.3125rem, 5.25rem);
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.1875rem, 0.45vw + 1rem, 1.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Arena Jewelry brand guidelines, edition 02: deep green #002500, citadel gold #C9A961, ivory #F5F1E8, gold light #D4B97C */
  --brand-green: oklch(22.9% 0.078 142.5);
  --brand-gold: oklch(74.8% 0.099 86.1);
  --brand-gold-light: oklch(79.5% 0.085 86.6);
  --brand-ivory: oklch(95.9% 0.013 86.8);

  /* the third colour: pomegranate red, the red of the Kurdish flag beside its white, green and 21-ray sun */
  --brand-red: oklch(43% 0.15 22); --brand-red-deep: oklch(37% 0.14 22);
  --brand-red-bright: oklch(55% 0.185 24); --brand-red-on-dark: oklch(68% 0.16 24);

  /* the page at rest is the brand's ivory ground, with the deep green as ink */
  --color-paper: oklch(97.6% 0.026 96); --color-paper-2: oklch(95% 0.03 94); --color-paper-3: oklch(91.5% 0.034 92);
  --color-ink: oklch(22.9% 0.078 142.5); --color-ink-2: oklch(33% 0.06 142); --color-muted: oklch(44% 0.045 130); --color-quiet: oklch(51% 0.04 125);
  --color-rule: oklch(82% 0.035 88);
  /* gold: --color-accent is the gold that holds as text, --color-gold the gold of bars, rules and the sun */
  --color-accent: oklch(48% 0.09 82); --color-accent-2: oklch(42% 0.085 82); --color-accent-ink: oklch(95.9% 0.013 86.8);
  --color-gold: oklch(74% 0.125 86);
  /* gold as metal, for the sun and the ingot rules: a pale shine, a bright yellow gold, a rich gold, a deep gold and a deeper one in shade,
     all on one warm yellow hue so the sun and the 3D bar read as the same metal */
  --gold-shine: oklch(96.4% 0.065 97); --gold-bright: oklch(91.4% 0.111 90.3); --gold-rich: oklch(83.4% 0.158 89); --gold-mid: oklch(70.6% 0.137 83.2); --gold-deep: oklch(65.2% 0.132 81.6);
  --gold-glow: oklch(88% 0.11 92);
  /* the sun's own gold, pulled to the bar's deeper gold: each ray has a lit half and a half in shade, both deepening to the tip;
     the disc is a domed boss with a hot spot, a dark rim and light bounced back into its lower edge */
  --sun-lit: oklch(86% 0.15 90); --sun-lit-tip: oklch(80% 0.16 86); --sun-shade: oklch(66% 0.14 80); --sun-shade-tip: oklch(56% 0.12 74);
  --sun-hot: oklch(99% 0.02 98); --sun-body: oklch(68% 0.14 80); --sun-rim: oklch(56% 0.115 76); --sun-rim-light: oklch(84% 0.13 88); --sun-bounce: oklch(93% 0.1 92);
  /* red: --color-pop for text and lines, --color-btn for the primary button */
  --color-pop: var(--brand-red); --color-pop-2: var(--brand-red-deep);
  --color-btn: var(--brand-red); --color-btn-2: var(--brand-red-deep); --color-btn-ink: oklch(95.9% 0.013 86.8);
  --color-focus: var(--brand-red);
  --color-mark-a: var(--brand-green); --color-word: var(--brand-green);
  /* the hero sky by day: warm ivory at noon, apricot at the horizon hours */
  --color-sky-hi: oklch(96.5% 0.02 90); --color-sky-lo: oklch(86% 0.07 72);
  --color-ray-lit: oklch(65% 0.12 86); --color-ray-dim: oklch(52% 0.11 60); --color-ray-under: oklch(89% 0.03 87);
  --color-sky-night: oklch(14% 0.045 146); --color-ray-night: oklch(30% 0.065 128); --color-ray-dusk: oklch(46% 0.07 95); --color-rise: oklch(56% 0.08 92);

  --font-display: "Cardo", Georgia, "Times New Roman", serif; --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body); --font-wordmark: "Cardo", Georgia, serif; --font-naskh: "Noto Naskh Arabic", "Geeza Pro", serif;
  --leading-display: 1.06; --leading-body: 1.6;
  --radius-card: 2px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.012em;
  --ingot: 10px; --text-figure: clamp(6rem, 16vw, 15rem); --font-latin: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}

/* the few deep bands (the gold stage, the citadel, the promise, the footer), and the sky and clear top bar once the sun is down (the ground stays ivory):
   green paper, ivory ink, the brand gold as it is */
.deep, .night {
  --color-paper: oklch(22.9% 0.078 142.5); --color-paper-2: oklch(26.5% 0.074 142.5); --color-paper-3: oklch(17% 0.058 143);
  --color-ink: oklch(95.9% 0.013 86.8); --color-ink-2: oklch(87% 0.022 90); --color-muted: oklch(74% 0.04 105); --color-quiet: oklch(70% 0.04 105);
  --color-rule: oklch(38% 0.06 130);
  --color-accent: var(--brand-gold); --color-accent-2: var(--brand-gold-light); --color-accent-ink: oklch(22.9% 0.078 142.5);
  --color-gold: var(--brand-gold);
  --color-pop: var(--brand-red-on-dark); --color-pop-2: oklch(74% 0.13 24);
  --color-btn: var(--brand-red-bright); --color-btn-2: oklch(50% 0.175 24);
  --color-focus: oklch(79% 0.17 86);
  --color-mark-a: var(--brand-ivory); --color-word: var(--brand-gold);
  --color-sky-hi: oklch(27% 0.08 140); --color-sky-lo: var(--color-sky-night);
  --color-ray-lit: var(--brand-gold); --color-ray-dim: var(--color-ray-night); --color-ray-under: var(--color-ray-night);
}

/* the last band: the sun is down */
.night { --color-paper: var(--color-sky-night); --color-rule: oklch(30% 0.05 135); }

/* Sorani and Arabic: one naskh for heads and text, set looser, never tracked */
:root:lang(ckb), :root:lang(ar) {
  --font-display: var(--font-naskh); --font-body: var(--font-naskh);
  --leading-display: 1.42; --leading-body: 1.85; --tracking-display: 0em;
  --text-display: clamp(2.375rem, 4vw + 0.75rem, 4.25rem); --text-hero: clamp(2.25rem, 5.3vw - 0.3125rem, 4.75rem); --text-statement: clamp(2.25rem, 4.2vw + 0.5rem, 4.5rem);
  --text-xs: 0.9375rem; --text-sm: 1.0625rem; --text-md: 1.1875rem; --text-lg: 1.375rem;
  --text-lead: clamp(1.3125rem, 0.45vw + 1.125rem, 1.625rem); --text-title: clamp(1.375rem, 0.75vw + 1rem, 1.75rem);
}

@media (max-width: 60rem) { :root { --ingot: 8px; } }
