/*
  NURYA — Design tokens
  Namespaced under --nurya-* so nothing here overrides or removes any
  existing Dawn (--color-*, --font-*) or _cod_ variable. Additive only.
*/
:root {
  /* Palette */
  --nurya-color-black: #0b0b0d;
  --nurya-color-black-soft: #17171b;
  --nurya-color-ivory: #f6f1e7;
  --nurya-color-ivory-soft: #efe7d8;
  --nurya-color-gold: #c6a15b;
  --nurya-color-gold-light: #dec48c;
  --nurya-color-champagne: #e8d9b8;
  --nurya-color-rose: #d9c3c1;
  --nurya-color-rose-soft: #ece0de;
  --nurya-color-navy: #1b2130;
  --nurya-color-anthracite: #2a2b2f;

  /* Contextual color roles — reassigned locally by .nurya-theme-* */
  --nurya-ctx-bg: var(--nurya-color-ivory);
  --nurya-ctx-fg: var(--nurya-color-black);
  --nurya-ctx-accent: var(--nurya-color-gold);
  --nurya-ctx-border: rgba(11, 11, 13, 0.12);

  /* Typography — system font stacks only (zero network request) */
  --nurya-font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --nurya-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --nurya-tracking-eyebrow: 0.28em;
  --nurya-tracking-wide: 0.14em;
  --nurya-leading-tight: 1.08;
  --nurya-leading-snug: 1.3;
  --nurya-leading-body: 1.75;

  /* Fluid title scale (mobile-first, clamped) */
  --nurya-title-xl: clamp(2.6rem, 10vw, 3.4rem);
  --nurya-title-lg: clamp(2.8rem, 8vw, 5rem);
  --nurya-title-md: clamp(2.2rem, 5.5vw, 3.2rem);
  --nurya-title-sm: clamp(1.8rem, 4vw, 2.2rem);

  /* Text scale */
  --nurya-text-xs: 1.2rem;
  --nurya-text-sm: 1.4rem;
  --nurya-text-base: 1.6rem;
  --nurya-text-md: 1.9rem;
  --nurya-text-lg: 2.2rem;

  /* Spacing scale */
  --nurya-space-3xs: 0.4rem;
  --nurya-space-2xs: 0.8rem;
  --nurya-space-xs: 1.2rem;
  --nurya-space-sm: 1.6rem;
  --nurya-space-md: 2.4rem;
  --nurya-space-lg: 3.6rem;
  --nurya-space-xl: 5.6rem;
  --nurya-space-2xl: 7.2rem;
  --nurya-space-3xl: 9.6rem;

  /* Section rhythm & container (mobile default, redefined at 750px) */
  --nurya-section-padding-y: var(--nurya-space-2xl);
  --nurya-container-max: 132rem;
  --nurya-container-padding-x: 2rem;

  /* Radius — sharp and minimal, never bubbly */
  --nurya-radius-sm: 2px;
  --nurya-radius-md: 4px;

  /* Motion — sober, no bounce */
  --nurya-transition-fast: 150ms ease;
  --nurya-transition-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --nurya-transition-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-width: 750px) {
  :root {
    --nurya-section-padding-y: var(--nurya-space-3xl);
    --nurya-container-padding-x: 4rem;
  }
}

/*
  --nurya-title-xl is staged in steps rather than one continuous fluid
  clamp(): the layout it is used in (the Hero heading) jumps from a
  340px-capped stacked column to a 45%-width desktop column at 990px,
  and again hits the container's max-width around 1366px. A single vw
  curve can't track those two hard layout jumps without overshooting
  the available column width at some viewport in between — which is
  exactly what caused the mid-word line-break bug. Each step below was
  checked against the longest Hero word ("L'OUVERTURE" / "D'EXCEPTION")
  at 320/375/390/430/768/1024/1366/1440/1920px with safety margin.
*/
@media screen and (min-width: 375px) {
  :root {
    --nurya-title-xl: 3.8rem;
  }
}

@media screen and (min-width: 990px) {
  :root {
    --nurya-title-xl: clamp(4rem, 4vw, 6rem);
  }
}

@media screen and (min-width: 1366px) {
  :root {
    --nurya-title-xl: clamp(5.4rem, 3.6vw, 6.1rem);
  }
}
