/* ============================================================================
   RTSHOR / UTF brand tokens — THE one swappable palette file (OD-3).
   RESOLVED 2026-09-28: Option A (navy + gold) from _project-docs/design/PALETTE-PROPOSAL.md,
   sampled from the stadium emblem (public/assets/img/brand/rtshor-emblem.png) — Owner approved
   2026-09-28 (relayed in _project-docs/COORDINATION.md). Supersedes the 2026-09-26 UTF-blue set.
     • Header brand: STADIUM EMBLEM supreme; UTF = development partner (footer).
     • Palette: NAVY-LED (emblem wordmark) + phoenix-GOLD CTA + ball-GREEN status accents.
     • Hex: sampled from the emblem; contrast checked (WCAG AA) in the proposal — swap here only.

   Applies to the PUBLIC zone only (S4.3: a venue's brand shows on its public site;
   the admin zone wears the studio look via app-admin.css).
   ========================================================================= */
:root {
    /* ── Emblem navy (primary anchor) — wordmark navy + darker/lighter ramp */
    --rt-brand:        #3D4F86;  /* lighter navy — kickers, badges, focus rings (7.9:1 on white) */
    --rt-brand-deep:   #2C3963;  /* emblem wordmark navy — hero mid-stop, footer, links */
    --rt-brand-ink:    #1B2444;  /* darkest — header/footer bars, text on light */

    /* ── Accents from the emblem (highlights/CTAs, not fields) */
    --rt-yellow:       #F5A623;  /* phoenix gold — primary CTA, RU/EN pill (7.5:1 with ink text) */
    --rt-yellow-deep:  #D98C0F;  /* gold on light backgrounds (contrast) */
    --rt-green:        #5F8A14;  /* ball green, darkened to text-safe (4.1:1 on white) — "open", progress */
    --rt-green-deep:   #4C6F10;  /* green hover */

    /* RGB channels for tints/shadows: rgba(var(--rt-*-rgb), a) — keep in sync with the hexes above */
    --rt-brand-rgb:     61, 79, 134;
    --rt-brand-ink-rgb: 27, 36, 68;
    --rt-yellow-rgb:    245, 166, 35;
    --rt-green-rgb:     95, 138, 20;
    /* Text-safe variants: on dark surfaces / on the yellow badge tint */
    --rt-brand-on-dark: #9FB0E8;  /* navy lifted for dark theme text/badges */
    --rt-green-on-dark: #A9CF46;  /* emblem ball green, reads on dark */
    --rt-yellow-ink:    #5C3D06;  /* text on the gold badge tint */

    /* Back-compat aliases (placeholder landing used --rt-gold*) → point at yellow */
    --rt-gold:         var(--rt-yellow);
    --rt-gold-bright:  var(--rt-yellow);

    /* Surfaces derived from brand (light theme) */
    --rt-surface-tint: #F3F1EA;  /* warm off-white section background */
    --rt-hero-grad:    linear-gradient(135deg, var(--rt-brand-ink) 0%, var(--rt-brand-deep) 55%, var(--rt-brand) 100%);
}

/* Dark theme adjustments (S4.2 — light default, half-moon/sun toggle) */
:root[data-theme="dark"] {
    --rt-brand:        #7C90D0;  /* navy lifted for dark surfaces: 5.1:1 on the dark card as text (kickers, KPIs, outline buttons) */
    --rt-brand-rgb:    124, 144, 208;
    --rt-surface-tint: #151A2B;
    --rt-hero-grad:    linear-gradient(135deg, #0B0F1C 0%, var(--rt-brand-ink) 60%, var(--rt-brand-deep) 100%);
}
