/* ============================================================================
   Light on Politics — tokens + self-hosted faces (lop-theme 1.0.0, 2026-11-16)
   Stitch direction C "Spotlight" (project 6374987137639491977, design system
   assets/15782131820169364230; user pick 2026-11-16). Red date strip, white
   logo bar, a solid navy cover band (one story lit up beside an "Under the
   light" list), desk rails with coloured heads, navy newsletter band + footer.
   Navy #0B3A72 is the ONE body-link hue (11:1 on white). The logo red #F02020
   is 4.4:1 under white, so red FILLS use #D21F26 (5.2:1) and small red TEXT
   uses #C8102E (5.9:1). Bitter 700–800 (display) + Hanken Grotesk 400–700.
   ========================================================================= */

@font-face {
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url('../fonts/bitter-normal-700-800-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: 'Bitter';
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url('../fonts/bitter-normal-700-800-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: 'Hanken Grotesk';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/hankengrotesk-italic-400-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: 'Hanken Grotesk';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/hankengrotesk-italic-400-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: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/hankengrotesk-normal-400-700-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: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/hankengrotesk-normal-400-700-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 --- */
    --lp-ground:     #FFFFFF;   /* page ground */
    --lp-sheet:      #FFFFFF;   /* cards */
    --lp-tint:       #EEF2F8;   /* SMALL surfaces only: TOC, table zebra */
    --lp-rule:       #E2E5EA;
    --lp-rule-soft:  #EEF0F3;
    --lp-ink:        #111827;   /* body + headlines, 17:1 */
    --lp-meta:       #4B5563;   /* 7.6:1 */
    --lp-navy:       #0B3A72;   /* link hue, cover band, footer (white 11:1) */
    --lp-navy-deep:  #082B55;   /* hover, footer base */
    --lp-navy-line:  #2A5389;   /* hairlines on navy */
    --lp-red:        #D21F26;   /* red FILLS with white text (5.2:1) */
    --lp-red-text:   #C8102E;   /* small red text on white (5.9:1) */
    --lp-logo-red:   #F02020;   /* logo only, 4px bars — never under text */
    --lp-on-navy:    #FFFFFF;
    --lp-on-navy-muted: #C9D6EA; /* 8.4:1 on navy */
    --lp-shadow:     0 1px 2px rgba(17, 24, 39, 0.06), 0 8px 24px rgba(11, 58, 114, 0.10);
    --lp-shadow-hover: 0 2px 4px rgba(17, 24, 39, 0.08), 0 14px 32px rgba(11, 58, 114, 0.16);

    /* --- Type --- */
    --lp-display: 'Bitter', Rockwell, Georgia, 'Times New Roman', serif;
    --lp-text:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --lp-size-body: clamp(1.0625rem, 1.02rem + 0.3vw, 1.1875rem); /* 17–19px */
    --lp-lh-body:   1.7;
    --lp-lh-head:   1.15;
    --lp-title: clamp(1.95rem, 1.4rem + 1.8vw, 2.75rem);          /* H1 caps at 44px */
    --lp-h2:    clamp(1.45rem, 1.25rem + 0.7vw, 1.875rem);
    --lp-h3:    clamp(1.15rem, 1.07rem + 0.3vw, 1.3125rem);

    /* --- Shape & metrics --- */
    --lp-radius:    8px;
    --lp-radius-sm: 4px;
    --lp-page-max:  1320px;
    --lp-sidebar:   304px;
    --lp-side-gap:  2rem;
    --lp-gutter:    clamp(1rem, 3vw, 2rem);
    --lp-tap:       44px;

    /* --- Bridge to main.css --- */
    --font-size-body-min: 1.0625rem;
    --font-size-body-max: 1.1875rem;
    --font-size-body-fluid: calc(1.02rem + 0.3vw);
    --font-size-h1-min: 1.95rem;
    --font-size-h1-max: 2.75rem;
    --font-size-h1-fluid: calc(1.4rem + 1.8vw);
    --font-size-h2-min: 1.45rem;
    --font-size-h2-max: 1.875rem;
    --font-size-h2-fluid: calc(1.25rem + 0.7vw);
    --font-size-h3-min: 1.15rem;
    --font-size-h3-max: 1.3125rem;
    --font-size-h3-fluid: calc(1.07rem + 0.3vw);
    --font-size-h4-min: 1.0625rem;
    --font-size-h4-max: 1.1875rem;
    --font-size-h4-fluid: calc(1rem + 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);
    --color-primary:        var(--lp-navy);
    --color-primary-dark:   var(--lp-navy-deep);
    --color-primary-light:  var(--lp-navy);
    --color-secondary:      var(--lp-navy-deep);
    --color-accent:         var(--lp-tint);
    --color-text-primary:   var(--lp-ink);
    --color-text-secondary: var(--lp-ink);
    --color-text-muted:     var(--lp-meta);
    --color-text-light:     var(--lp-meta);
    --color-bg-primary:     var(--lp-ground);
    --color-bg-secondary:   var(--lp-tint);
    --color-bg-light:       var(--lp-ground);
    --color-border:         var(--lp-rule);
    --color-border-light:   var(--lp-rule-soft);
    --font-primary:         var(--lp-text);
    --font-heading:         var(--lp-display);
    --font-body:            var(--lp-text);
}
