/* ============================================================================
   Senior Life Adventures — tokens + self-hosted faces (sla-theme 1.0.0, 2026-11-13)
   Stitch Direction B2 "Field Guide (bright)" (project 9871888612694158056,
   assets/1013143535723453371; user pick B + "livelier colors", 2026-11-13):
   warm paper, deep forest #17602F as the one link hue (from the logo
   wordmark), SOLID colour bands from the sunset badge — coral, lagoon, sun
   (navy text on them, >=5.2:1) and forest / navy (white text). Each topic
   owns one band colour. EB Garamond (display) + Hanken Grotesk (text).
   ========================================================================= */

@font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/eb-garamond-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: 'EB Garamond';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/eb-garamond-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;
}
@font-face {
    font-family: 'EB Garamond';
    font-style: italic;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/eb-garamond-italic-400-600-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: 'EB Garamond';
    font-style: italic;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/eb-garamond-italic-400-600-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 800;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-normal-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: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-normal-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: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-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/hanken-grotesk-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;
}

:root {
    color-scheme: light;
    /* --- Palette (WCAG AA+ verified) --- */
    --mn-paper:      #FFFCF5;   /* Warm paper ground */
    --mn-sheet:      #FFFFFF;   /* Elevated cards & tables */
    --mn-tint:       #FBF1DF;   /* Parchment: TOC, callouts, table heads */
    --mn-rule:       #E2D8C6;   /* Paper hairlines */
    --mn-rule-soft:  #EEE6D6;
    --mn-ink:        #1F2D3D;   /* Road navy from the logo (13.6:1 on paper) */
    --mn-meta:       #4A5663;   /* Slate meta (7.2:1 paper) */
    --mn-head:       #1F2D3D;   /* Navy headings */
    --mn-blue:       #17602F;   /* Deep forest — the one link/button hue (7.6:1 white, 7.0:1 parchment) */
    --mn-blue-dark:  #0F4520;   /* Forest hover */
    --mn-on-blue:    #FFFFFF;
    --mn-gold:       #F5B83D;   /* Sun gold: numerals on forest, bars, band fill (navy text on it) */
    --mn-coral:      #F08A5D;   /* Coral band (navy text 5.7:1) */
    --mn-lagoon:     #5FB3BE;   /* Lagoon band (navy text 5.8:1) */
    --mn-forest:     #17602F;   /* Forest band (white text 7.6:1) */
    --mn-navy:       #1F2D3D;   /* Navy band (white text 13.9:1) */
    --mn-sky:        #D7E4E6;   /* Light text on navy/forest */
    --mn-footer:     #1F2D3D;   /* Navy footer */
    --mn-shadow:     none;
    --mn-shadow-hover: none;

    /* --- Type --- */
    --mn-display: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
    --mn-text:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --mn-size-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.1875rem); /* 17–19px */
    --mn-lh-body:   1.7;
    --mn-lh-head:   1.12;
    --mn-title: clamp(2.15rem, 1.55rem + 1.9vw, 3.1rem);
    --mn-h2:    clamp(1.65rem, 1.38rem + 0.85vw, 2.15rem);
    --mn-h3:    clamp(1.2rem, 1.1rem + 0.4vw, 1.425rem);

    /* --- Shape & metrics --- */
    --mn-radius:    4px;
    --mn-radius-sm: 4px;
    --mn-page-max:  1360px;
    --mn-sidebar:   304px;
    --mn-side-gap:  2.25rem;
    --mn-gutter:    clamp(1rem, 3vw, 2rem);
    --mn-tap:       48px;

    /* --- Bridge to 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: 1.95rem;
    --font-size-h1-max: 2.75rem;
    --font-size-h1-fluid: calc(1.45rem + 1.6vw);
    --font-size-h2-min: 1.5rem;
    --font-size-h2-max: 1.9rem;
    --font-size-h2-fluid: calc(1.28rem + 0.7vw);
    --font-size-h3-min: 1.2rem;
    --font-size-h3-max: 1.4rem;
    --font-size-h3-fluid: calc(1.08rem + 0.4vw);
    --font-size-h4-min: 1.125rem;
    --font-size-h4-max: 1.25rem;
    --font-size-h4-fluid: calc(1.04rem + 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(--mn-blue);
    --color-primary-dark:   var(--mn-blue-dark);
    --color-primary-light:  var(--mn-blue);
    --color-secondary:      var(--mn-blue-dark);
    --color-accent:         var(--mn-tint);
    --color-text-primary:   var(--mn-ink);
    --color-text-secondary: var(--mn-ink);
    --color-text-muted:     var(--mn-meta);
    --color-text-light:     var(--mn-meta);
    --color-bg-primary:     var(--mn-paper);
    --color-bg-secondary:   var(--mn-tint);
    --color-bg-light:       var(--mn-paper);
    --color-border:         var(--mn-rule);
    --color-border-light:   var(--mn-rule-soft);
    --font-primary:         var(--mn-text);
    --font-heading:         var(--mn-display);
    --font-body:            var(--mn-text);
}
