/* ============================================================================
   Retirement Living Hub — tokens + self-hosted faces
   (rlh-theme 1.0.x, Stitch direction "A · The Neighborhood" in the
   plum & apricot palette, picked 2026-10-26)
   Loaded first; main.css reads the --color-* / --font-size-* bridge below,
   rlh.css reads the --rl-* tokens.
   ========================================================================= */

/* --- Faces: Bricolage Grotesque 500–800 (with its opsz axis, 12–96: the
       display cut is what Stitch rendered) for headlines, labels and UI;
       Literata 400–700 + 400 italic for reading text (no opsz axis: half the
       bytes, the default optical size reads well at 17–19px). latin +
       latin-ext, Google Fonts css2 (Chrome UA), 2026-10-26. ------------- */
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url('../fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Literata';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/literata-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Literata';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/literata-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Literata';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/literata-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Literata';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/literata-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    /* --- Palette (user pick 2026-10-26, "plum & apricot"): warm cream paper,
       apricot doors and panels, ONE plum ink for everything interactive,
       sun-gold as decoration only (dots, short rules), never text. The
       footer is a deep plum-brown. WCAG: #7B3A6E on #FFF7EF 7.41 · on
       #FCE5D4 6.47 · on #FFFFFF 7.86 · #FFFFFF on #7B3A6E 7.86 · #64566A on
       #FFF7EF 6.43 · on #FCE5D4 5.61 · #2A1F27 on #FFF7EF 15.6 */
    --rl-ground:      #FFF7EF;   /* page: warm cream */
    --rl-tint:        #FCE5D4;   /* apricot: doors, panels */
    --rl-tint-soft:   #FFF0E5;
    --rl-tint-deep:   #F8CCAA;
    --rl-tint-rule:   #F1D2BC;
    --rl-plum-tint:   #F6ECF3;   /* the current topic, hover wash */
    --rl-card:        #FFFFFF;
    --rl-rule:        #EDD9CE;   /* hairlines */
    --rl-ink:         #2A1F27;   /* headlines + text */
    --rl-text:        #2A1F27;
    --rl-meta:        #64566A;
    --rl-brand:       #7B3A6E;   /* plum: links, buttons, numbers */
    --rl-brand-dark:  #612C57;
    --rl-stripe:      #F2B33D;   /* sun-gold, decorative only */
    --rl-footer:      #2A1A27;   /* deep plum-brown */
    --rl-footer-text: #F3E6EE;
    --rl-footer-meta: #CDB9C7;   /* 9.2:1 on the footer */

    /* --- Type ---------------------------------------------------------------- */
    --rl-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --rl-body:    Literata, Georgia, 'Times New Roman', serif;
    --rl-ui:      'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --rl-stretch: 100%;          /* no width axis on these faces */
    --rl-size-body: clamp(1.0625rem, 1.01rem + 0.3vw, 1.1875rem);   /* 17–19px */
    --rl-lh-body:   1.75;
    --rl-lh-head:   1.1;
    --rl-title: clamp(2.125rem, 1.55rem + 2vw, 2.875rem);   /* article H1, capped 46px */
    --rl-h2:    clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
    --rl-h3:    clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
    --rl-label: 0.75rem;

    /* --- Shape & metrics ------------------------------------------------------ */
    --rl-radius:    12px;
    --rl-arch:      50% 50% 12px 12px / 110px 110px 12px 12px;   /* arched top (% across, px down: never clamps flat) */
    --rl-page-max:  1280px;
    --rl-sidebar:   320px;
    --rl-gutter:    clamp(1rem, 3vw, 2rem);

    /* --- Bridge to main.css (do not restyle main.css) ------------------------- */
    --font-size-body-min: 1.0625rem;
    --font-size-body-max: 1.1875rem;
    --font-size-body-fluid: calc(1.01rem + 0.3vw);
    --font-size-h1-min: 2.125rem;
    --font-size-h1-max: 3rem;
    --font-size-h1-fluid: calc(1.5rem + 2.2vw);
    --font-size-h2-min: 1.5rem;
    --font-size-h2-max: 1.875rem;
    --font-size-h2-fluid: calc(1.3rem + 0.8vw);
    --font-size-h3-min: 1.1875rem;
    --font-size-h3-max: 1.375rem;
    --font-size-h3-fluid: calc(1.1rem + 0.35vw);
    --font-size-h4-min: 1.0625rem;
    --font-size-h4-max: 1.1875rem;
    --font-size-h4-fluid: calc(1.02rem + 0.2vw);
    --font-size-h5-min: 1rem;
    --font-size-h5-max: 1.0625rem;
    --font-size-h5-fluid: calc(0.98rem + 0.15vw);
    --font-size-h6-min: 1rem;
    --font-size-h6-max: 1rem;
    --font-size-h6-fluid: 1rem;
    --line-height-body: 1.75;
    --line-height-heading: 1.1;
    --color-primary: #7B3A6E;
    --color-primary-hover: #612C57;
    --color-heading: #2A1F27;
    --color-accent: #7B3A6E;
    --color-text-dark: #2A1F27;
    --color-text-medium: #64566A;
    --color-text-light: #64566A;
    --color-background: #FFF7EF;
    --color-background-light: #FFFFFF;
    --color-background-tint: #FCE5D4;
    --color-border: #EDD9CE;
    --color-border-soft: #EDD9CE;
    --color-footer-bg: #2A1A27;
    --color-error: #B42318;
    --color-warning: #8A5A00;
    --font-family-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-family-body: Literata, Georgia, 'Times New Roman', serif;
    --font-family: Literata, Georgia, 'Times New Roman', serif;
    --radius-sm: 12px;
    --radius-md: 12px;
    --radius-lg: 12px;
    --border-radius: 12px;
    --border-radius-lg: 12px;
    --content-max: 780px;
    --page-max: 1280px;
    --color-border-light: #EDD9CE;
    --color-footer-border: #F1D2BC;
    --color-footer-text: #F3E6EE;
    --color-copyright: #64566A;
    --color-facebook: #7B3A6E; --color-facebook-hover: #612C57;
    --color-twitter: #7B3A6E; --color-twitter-hover: #612C57;
    --color-pinterest: #7B3A6E; --color-pinterest-hover: #612C57;
    --color-linkedin: #7B3A6E; --color-linkedin-hover: #612C57;
    --color-error-bg: #F9E3E0; --color-error-text: #8A1C12;
    --color-warning-bg: #F6EBD2; --color-warning-text: #6B4600;
    --font-primary: Literata, Georgia, 'Times New Roman', serif;
    --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
