/*
 * Orfeus design tokens — served from xis/orfeus/public/brand/.
 * Source notes: orfeus-astro + orfeus-23 (www.orfeus.nl).
 *
 * Marketing uses Filson Pro + Big Caslon FB (licensed). Portal self-hosts
 * Nunito Sans + Libre Baskerville as open stand-ins with the same roles.
 */

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/nunito-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/nunito-sans-700.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/libre-baskerville-400.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/libre-baskerville-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/libre-baskerville-700.woff2") format("woff2");
}

:root {
  /* Topbar lockup: wordmark height (mark + wordmark is taller than a plain wordmark) */
  --brand-logo-height: 2.2rem;

  /* Color */
  --brand-primary: #283583;
  --brand-cta: #eb5e65;
  --brand-secondary: #516fb4;
  --brand-accent: #fbbb21;
  --brand-tint: #eef1fb;
  --brand-tint-strong: #dfe3f5;
  --brand-tint-warm: #fdece4;
  --brand-ink: #24184a;
  --brand-ink-muted: #5b6079;
  --brand-surface: #ffffff;
  --brand-surface-cool: #f7f8fc;
  --brand-surface-muted: #f5f5f5;
  --brand-on-primary: #ffffff;
  --brand-on-cta: #ffffff;

  /* Radii — Orfeus is softer / rounder than Onatal */
  --brand-radius-sm: 0.5rem;
  --brand-radius: 0.875rem;
  --brand-radius-md: 1rem;
  --brand-radius-lg: 1.25rem;
  --brand-radius-xl: 1.25rem;
  --brand-radius-button: 0 1.25rem 1.25rem 1.25rem;
  --brand-radius-pill: 999px;

  /* Shadows (primary-blue tinted) */
  --brand-shadow-sm: 0 6px 18px rgba(40, 53, 131, 0.05);
  --brand-shadow: 0 10px 30px rgba(40, 53, 131, 0.05);
  --brand-shadow-lg: 0 16px 40px rgba(40, 53, 131, 0.12);
  --brand-shadow-xl: 0 18px 40px rgba(40, 53, 131, 0.14);
  --brand-shadow-accent: 0 10px 24px rgba(253, 176, 34, 0.35);

  /* Type */
  --brand-font-sans: "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --brand-font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --brand-text-xs: 0.75rem;
  --brand-text-sm: 0.875rem;
  --brand-text-md: 1rem;
  --brand-text-lg: 1.125rem;
  --brand-text-xl: 1.2rem;
  --brand-text-2xl: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  --brand-text-3xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --brand-text-4xl: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem);
  --brand-leading-tight: 1.2;
  --brand-leading: 1.5;
  --brand-leading-relaxed: 1.6;
  --brand-tracking-tight: -0.01em;

  /* Spacing */
  --brand-space-1: 0.25rem;
  --brand-space-2: 0.5rem;
  --brand-space-3: 0.75rem;
  --brand-space-4: 1rem;
  --brand-space-5: 1.25rem;
  --brand-space-6: 1.5rem;
  --brand-space-8: 2rem;
  --brand-space-10: 2.5rem;
  --brand-space-12: 3rem;
  --brand-space-16: 4rem;
  --brand-container: 81.5rem;
}
