/* ============================================================================
   "So Cal Air" palette for the Refracted Descent theme (rd-post.css).

   The theme is entirely token-driven — every rule composes colour out of the
   24 tokens below plus the *-rgb triplets, so re-tokening is all it takes to
   put the client's brand on it. This is the same contract rd-themes.css uses
   for its 20 palettes; nothing here overrides a layout rule.

   Load AFTER rd-post.css: html[data-rd] and html[data-theme="socalair"] have
   equal specificity, so source order decides.
   ========================================================================== */
html[data-theme="socalair"] {
    color-scheme: light;

    /* The site proper uses Bricolage Grotesque for display; the theme's serif
       slot is what carries its editorial voice, so keep Instrument Serif and
       let Manrope/JetBrains Mono match the main site exactly. */
    --tc-serif: 'Instrument Serif', Georgia, serif;
    --tc-sans: 'Manrope', system-ui, -apple-system, sans-serif;
    --tc-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

    --bg: #F2EEE2; --bg-rgb: 242, 238, 226;
    --accent: #4f6f8f; --accent-rgb: 79, 111, 143;
    --accent-deep: #3b5570; --glow-rgb: 138, 160, 184;
    --line-rgb: 16, 16, 18;

    --ink: #101012; --ink-hi: #1b1b1e; --em: #101012;
    --rd-body: #433f37; --link: #101012; --label: #3d3a33;
    --mono-val: #4a463d; --note-link: #4a463d; --meta-hi: #57524a;
    --note: #57524a; --dim: #756e60; --num: #8a8377; --faint: #9a9284;
    --bar: #8aa0b8; --chrome: #101012;

    /* matches the main site's ::selection */
    --sel-bg: #101012; --sel-ink: #ECEBE9;
    --btn-ink: #FAF7F0; --btn-hover: #3b5570;
}

/* The highlighter (<i>) reads as the brand's sun-orange rather than the
   theme's lilac wash. */
html[data-rd][data-theme="socalair"] .rd-article i {
    background: rgba(245, 163, 57, 0.28);
    color: #101012;
}
html[data-rd][data-theme="socalair"] .rd-toc a.rd-on .rd-toc-label {
    background: rgba(245, 163, 57, 0.32);
}
