/* ============================================================================
   Bright Living Guide — tokens + self-hosted faces
   (blg-theme 1.0.x, Stitch direction "B · Shelves", picked 2026-10-29)
   Loaded first; main.css reads the --color-* / --font-size-* bridge below,
   blg.css reads the --bl-* tokens.
   ========================================================================= */

/* --- Faces: Sora 600–700 (variable) for the wordmark, headlines, tags and
       UI; Noto Sans 400–600 (variable) + 400 italic for reading text.
       latin + latin-ext, Google Fonts css2 (Chrome UA), 2026-10-29. ------- */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('../fonts/sora-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: 'Sora';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('../fonts/sora-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: 'Noto Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/noto-sans-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: 'Noto Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/noto-sans-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: 'Noto Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-sans-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: 'Noto Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-sans-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 (Stitch "Shelves", 2026-10-29): cream paper alternating with
       white rows, ONE terracotta ink for everything interactive and the shelf
       boards, near-black label tape. WCAG: #A8461F on #FBF6EE 5.48 · on
       #FFFFFF 5.90 · on #F1E7D8 4.82 · #FFFFFF on #A8461F 5.90 · #5E574F on
       #FBF6EE 6.61 · on #F1E7D8 5.81 · #FFFFFF on #22201D 16.3 · #F0B48C on
       #22201D 8.99 · #22201D on #FBF6EE 15.1 */
    --bl-ground:      #FBF6EE;   /* page: cream */
    --bl-white:       #FFFFFF;   /* alternate rows, the reading sheet */
    --bl-deep:        #F1E7D8;   /* footer, "More shelves" */
    --bl-rule:        #E8DFD2;   /* hairlines, frames */
    --bl-ink:         #22201D;   /* headlines + text + label tape */
    --bl-text:        #2B2824;
    --bl-meta:        #5E574F;
    --bl-brand:       #A8461F;   /* terracotta: links, buttons, shelf boards */
    --bl-brand-dark:  #86371A;   /* hover, the board's lower edge */
    --bl-brand-tint:  #F6E6DA;   /* hover wash, current shelf */
    --bl-tape:        #22201D;
    --bl-tape-text:   #FFFFFF;
    --bl-tape-count:  #F0B48C;

    /* --- Type ---------------------------------------------------------------- */
    --bl-display: Sora, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --bl-body:    'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --bl-ui:      Sora, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --bl-size-body: clamp(1.0625rem, 1.01rem + 0.3vw, 1.1875rem);   /* 17–19px */
    --bl-lh-body:   1.75;
    --bl-lh-head:   1.12;
    --bl-title: clamp(2.125rem, 1.55rem + 2vw, 2.75rem);   /* article H1, capped 44px */
    --bl-h2:    clamp(1.5rem, 1.3rem + 0.7vw, 1.8125rem);
    --bl-h3:    clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem);
    --bl-label: 0.75rem;

    /* --- Shape & metrics ------------------------------------------------------ */
    --bl-radius:    4px;
    --bl-board:     6px;
    --bl-page-max:  1280px;
    --bl-sidebar:   304px;
    --bl-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: 2.75rem;
    --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.12;
    --color-primary: #A8461F;
    --color-primary-hover: #86371A;
    --color-heading: #22201D;
    --color-accent: #A8461F;
    --color-text-dark: #22201D;
    --color-text-medium: #5E574F;
    --color-text-light: #5E574F;
    --color-background: #FBF6EE;
    --color-background-light: #FFFFFF;
    --color-background-tint: #F1E7D8;
    --color-border: #E8DFD2;
    --color-border-soft: #E8DFD2;
    --color-footer-bg: #F1E7D8;
    --color-error: #B42318;
    --color-warning: #8A5A00;
    --font-family-display: Sora, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-family-body: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --radius-sm: 4px;
    --radius-md: 4px;
    --radius-lg: 4px;
    --border-radius: 4px;
    --border-radius-lg: 4px;
    --content-max: 780px;
    --page-max: 1280px;
    --color-border-light: #E8DFD2;
    --color-footer-border: #E8DFD2;
    --color-footer-text: #22201D;
    --color-copyright: #5E574F;
    --color-facebook: #A8461F; --color-facebook-hover: #86371A;
    --color-twitter: #A8461F; --color-twitter-hover: #86371A;
    --color-pinterest: #A8461F; --color-pinterest-hover: #86371A;
    --color-linkedin: #A8461F; --color-linkedin-hover: #86371A;
    --color-error-bg: #F9E3E0; --color-error-text: #8A1C12;
    --color-warning-bg: #F6EBD2; --color-warning-text: #6B4600;
    --font-primary: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: Sora, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
