/* ============================================================================
   Today on Politics — tokens + self-hosted faces (tdp-theme, "Broadsheet Index")
   Loaded first; main.css reads the --color-* / --font-size-* bridge below,
   tdp.css reads the --tp-* tokens.
   ========================================================================= */

/* --- Faces: Bodoni Moda (display, variable 400–900) and Libre Franklin (text,
       variable 100–900 + italic). latin + latin-ext, downloaded from Google
       Fonts css2 2026-10-13. Google serves one variable file per subset, so
       one @font-face per subset covers every weight. ----------------------- */
@font-face {
    font-family: 'Bodoni Moda';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/bodoni-moda-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: 'Bodoni Moda';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/bodoni-moda-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: 'Libre Franklin';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/libre-franklin-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: 'Libre Franklin';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/libre-franklin-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: 'Libre Franklin';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/libre-franklin-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: 'Libre Franklin';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/libre-franklin-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: paper, ink and ONE navy (direction A).
       WCAG: #1B3A6B on #F6F3EC 10.17 · on #FFFFFF 11.27 · #13294D on #F6F3EC 13.05 ·
       #555B63 on #F6F3EC 6.19 · on #FFFFFF 6.86 · #1F2328 on #F6F3EC 14.26 ·
       #FFFFFF on #1B3A6B 11.27 · #C9D3E3 on #1B3A6B 7.46 · #F6F3EC on #1B3A6B 10.17 */
    --tp-paper:      #F6F3EC;   /* page ground */
    --tp-panel:      #FFFFFF;   /* index panel, rail boxes, cards */
    --tp-rule:       #D9D4C7;   /* hairlines */
    --tp-ink:        #1F2328;   /* text */
    --tp-meta:       #555B63;
    --tp-navy:       #1B3A6B;   /* the one hue: links, rules that matter, buttons, footer */
    --tp-navy-dark:  #13294D;
    --tp-on-navy:    #FFFFFF;
    --tp-on-navy-meta: #C9D3E3;

    /* --- Type ---------------------------------------------------------------- */
    --tp-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif;
    --tp-text:    'Libre Franklin', 'Franklin Gothic Book', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --tp-size-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.1875rem);   /* 17–19px */
    --tp-lh-body:   1.7;
    --tp-lh-head:   1.12;
    --tp-title: clamp(2.125rem, 1.6rem + 1.7vw, 2.75rem);   /* article + archive H1, capped 44px */
    --tp-h2:    clamp(1.625rem, 1.42rem + 0.8vw, 2.125rem);
    --tp-h3:    clamp(1.3125rem, 1.2rem + 0.45vw, 1.5625rem);
    --tp-label: 0.75rem;   /* small caps labels, 12px */

    /* --- Shape & metrics ------------------------------------------------------ */
    --tp-radius:    4px;
    --tp-page-max:  1280px;
    --tp-sidebar:   304px;
    --tp-side-gap:  2.5rem;
    --tp-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.02rem + 0.25vw);
    --font-size-h1-min: 2.125rem;
    --font-size-h1-max: 2.75rem;
    --font-size-h1-fluid: calc(1.6rem + 1.7vw);
    --font-size-h2-min: 1.625rem;
    --font-size-h2-max: 2.125rem;
    --font-size-h2-fluid: calc(1.42rem + 0.8vw);
    --font-size-h3-min: 1.3125rem;
    --font-size-h3-max: 1.5625rem;
    --font-size-h3-fluid: calc(1.2rem + 0.45vw);
    --font-size-h4-min: 1.15rem;
    --font-size-h4-max: 1.3rem;
    --font-size-h4-fluid: calc(1.08rem + 0.3vw);
    --font-size-h5-min: 1.0625rem;
    --font-size-h5-max: 1.125rem;
    --font-size-h5-fluid: calc(1rem + 0.2vw);
    --font-size-h6-min: 1rem;
    --font-size-h6-max: 1.0625rem;
    --font-size-h6-fluid: calc(0.96rem + 0.12vw);
    --line-height-body: 1.7;
    --line-height-heading: 1.12;
    --color-primary: #1B3A6B;
    --color-primary-hover: #13294D;
    --color-heading: #1F2328;
    --color-accent: #1B3A6B;
    --color-text-dark: #1F2328;
    --color-text-medium: #555B63;
    --color-text-light: #555B63;
    --color-background: #F6F3EC;
    --color-background-light: #FFFFFF;
    --color-background-tint: #FFFFFF;
    --color-border: #D9D4C7;
    --color-border-soft: #D9D4C7;
    --color-footer-bg: #1B3A6B;
    --color-error: #B42318;
    --color-warning: #8A5A00;
    --font-family-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif;
    --font-family-body: 'Libre Franklin', 'Franklin Gothic Book', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-family: 'Libre Franklin', 'Franklin Gothic Book', -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: 760px;
    --page-max: 1280px;
    --color-border-light: #D9D4C7;
    --color-footer-border: #13294D;
    --color-footer-text: #FFFFFF;
    --color-copyright: #C9D3E3;
    --color-facebook: #1B3A6B; --color-facebook-hover: #13294D;
    --color-twitter: #1B3A6B; --color-twitter-hover: #13294D;
    --color-pinterest: #1B3A6B; --color-pinterest-hover: #13294D;
    --color-linkedin: #1B3A6B; --color-linkedin-hover: #13294D;
    --color-error-bg: #F9E3E0; --color-error-text: #8A1C12;
    --color-warning-bg: #F6EBD2; --color-warning-text: #6B4600;
    --font-primary: 'Libre Franklin', 'Franklin Gothic Book', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif;
}
