/* =====================================================================
   YakLink palette — "data point" gold, on the shared yw-theme.css system
   ---------------------------------------------------------------------
   Load order (YakLinkApplication.cpp): yakware-style.css → yw-theme.css →
   THIS → link-yak-style.css. The shared yw-theme.css carries the whole
   design-language re-skin + neutral light/dark token blocks; this file only
   sets YakLink's accent palette (gold, solid) + fonts. YakLink defaults to
   DARK (the server stamps html.yw-dark unless the yw-theme cookie says light).

   Contrast: dark accent-ink #e3b24c on --surface #121d31 = 8.1:1 ·
   light accent-ink #8c6207 on #fff = 5.1:1 · accent-contrast #1b1304 on gold.
   ===================================================================== */

:root {
    /* typography — Cormorant Garamond display + Mulish body (both themes) */
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body:    "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* footer is a dark anchor in both themes → a bright gold link-hover */
    --footer-accent: #e3b24c;
}

/* —— accents: DARK —— */
html.yw-dark {
    --accent:          #d6a23a;
    --accent-strong:   #e3b24c;
    --accent-soft:     #c8a85a;
    --accent-contrast: #1b1304;
    --accent-tint:     rgba(214,162,58,0.12);
    --accent-ink:      #e3b24c;
}

/* —— accents: LIGHT (gold darkens as TEXT to hold contrast on white) —— */
html.yw-light {
    --accent:          #cf9a2e;
    --accent-strong:   #b9851c;
    --accent-soft:     #c79a3f;
    --accent-contrast: #1b1304;
    --accent-tint:     rgba(207,154,46,0.13);
    --accent-ink:      #8c6207;
}

/* —— type tuning for Cormorant + Mulish —— */
body { font-size: 1.0625rem; line-height: 1.7; }   /* ~17px Mulish, rem-scalable */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.005em; }
::selection { background: rgba(214,162,58,0.28); }
