/* ============================================================================
   DMA — SHARED BRAND TOKENS  (the ONLY layer the public site and the CMS share)
   Derived from input/design-reference/ (styleN-federation.html + cms-admin-demo.html).
   HARD RULE: brand colour is used SPARINGLY on white/off-white; red is reserved for
   primary + destructive actions. Do NOT add non-brand colours here — theme-specific
   tokens live in css/public/ and css/admin/ respectively.
   ============================================================================ */
:root {
  /* Brand anchors */
  --brand-navy:      #181878;  /* primary — headings, primary buttons, structural accents */
  --brand-navy-700:  #20208c;
  --brand-navy-800:  #161668;
  --brand-navy-900:  #101052;  /* deepest navy (hero overlay, footer) */
  --brand-red:       #C0392B;  /* accent — primary CTA + destructive only */
  --brand-red-600:   #a83226;
  --brand-red-300:   #D85454;  /* lighter accent (secondary brand red per dma-assets) */

  /* Brand tints (derived) */
  --brand-navy-tint: rgba(24, 24, 120, 0.08);   /* focus ring / subtle fills */
  --brand-red-tint:  rgba(192, 57, 43, 0.10);

  /* ----------------------------------------------------------------------------
     DISPLAY SERIF — deliberate, controlled extension of Style N (otherwise Libre
     Franklin only). Self-hosted Lora. USE ONLY for large display QUOTES and select
     institutional display moments (e.g. a marquee statement). NEVER for body text,
     nav, buttons, forms, labels or any UI chrome. See memory: display-serif-rule.
     ---------------------------------------------------------------------------- */
  --font-display-serif: 'Lora', Georgia, 'Times New Roman', serif;

  /* ----------------------------------------------------------------------------
     MOTION SYSTEM (shared). Animate ONLY transform/opacity. Durations 200–500ms.
     Every effect must clarify, guide or confirm — never decorate. All hover effects
     are wrapped in @media (hover:hover); touch/keyboard get :active/:focus-visible.
     A global prefers-reduced-motion kill-switch lives in each layer. See memory:
     motion-system.
     ---------------------------------------------------------------------------- */
  --motion-fast: 200ms;
  --motion-base: 300ms;
  --motion-slow: 450ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Self-hosted Lora (latin). Variable file covers the weight range; italic separate. */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../../fonts/lora-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../../fonts/lora-500i.woff2) format('woff2');
}

/* ============================================================================
   ICON GUARDRAIL (shared, loaded by public + admin + login).
   Every <icon> emits <svg class="lucide …"> with NO width/height. An unsized inline
   SVG falls back to the 300×150 replaced-element default (or fills its flex parent),
   which caused oversized button icons + two-row button wrapping. This low-specificity
   default sizes every icon to the current text size; explicit `.x svg{width:…}` rules
   (specificity 0,1,1) still win, so intentional sizes are untouched.
   ============================================================================ */
.lucide { width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -0.125em; }
