/* =========================================================
   Design tokens
   Brand palette taken from the prototype (navy / sky blue / gold),
   refined into tonal scales. In WordPress: theme.json "settings.color.palette".
   ========================================================= */
:root {
  /* Brand – navy */
  --navy-950: #0A1630;
  --navy-900: #11213F;
  --navy-800: #1B2F57;   /* prototype base navy */
  --navy-700: #243F70;
  --navy-600: #2F5288;   /* prototype bar blue */

  /* Brand – sky */
  --sky-400: #8DB9E3;
  --sky-300: #A9CFF2;    /* prototype light blue */
  --sky-100: #E6EFF8;
  --sky-50:  #F3F7FB;

  /* Brand – gold */
  --gold-700: #8F6A33;   /* text-safe gold on light backgrounds */
  --gold-500: #CFA05C;   /* prototype gold */
  --gold-300: #E5C894;

  /* Neutrals */
  --white: #FFFFFF;
  --ink: #0E1A30;
  --ink-soft: #3E4B63;
  --line: #D9E1EB;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Semantic */
  --color-bg: var(--white);
  --color-bg-alt: var(--sky-50);
  --color-text: var(--ink);
  --color-text-muted: var(--ink-soft);
  --color-accent: var(--gold-500);
  --color-accent-text: var(--gold-700);
  --color-focus: var(--gold-700);   /* light areas; dark areas switch to gold-500 (base.css) */

  /* Typography */
  /* Heading typeface – testing IBM Plex Sans Hebrew (previously "Frank Ruhl Libre", serif) */
  --font-display: "IBM Plex Sans Hebrew", "Heebo", "Segoe UI", Arial, sans-serif;
  --font-body: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-xl: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
  --fs-2xl: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.75;

  /* Spacing & layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --radius: 2px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  --shadow-soft: 0 18px 40px -24px rgba(10, 22, 48, 0.35);
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
}
