/* ============================================================================
   Everyday with Pets — tokens + self-hosted faces (ewp-theme 1.0.0, 2026-11-15)
   Stitch direction A2 "Bold Split" (project 7615993625657808705, design system
   assets/6511098897927493845; user pick 2026-11-15, with cards in place of the
   dogs|cats split). A vivid animal-magazine palette from the logo: navy
   masthead, sunflower cover panel, burnt-orange bands, one solid colour per
   topic. Navy #2C5F8D is the ONE body-link hue (6.71:1 on white). Orange is a
   fill, never text. Archivo 600–800 (display) + Karla 400–700 (text).
   ========================================================================= */

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('../fonts/archivo-normal-600-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: 'Archivo';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('../fonts/archivo-normal-600-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: 'Karla';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/karla-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: 'Karla';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/karla-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: 'Karla';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/karla-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: 'Karla';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/karla-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 (white text on every fill below passes 4.5:1; ink on sunflower 9.6:1) --- */
    --mn-paper:      #FFFFFF;
    --mn-sheet:      #FFFFFF;
    --mn-tint:       #FFF6DB;   /* Sunflower tint: SMALL surfaces only (TOC, table heads) */
    --mn-cream:      #FBF5EA;   /* Card ground under the grid band */
    --mn-rule:       #E2DCD0;
    --mn-rule-soft:  #EEE9DF;
    --mn-ink:        #24313F;   /* Slate body text, 13:1 — no pure black anywhere (user 1.0.1) */
    --mn-meta:       #5A6470;   /* 6.0:1 */
    --mn-head:       #1F4A70;   /* Headlines in logo navy (9.2:1 white, 5.1:1 sunflower) */
    --mn-blue:       #2C5F8D;   /* Logo navy — the one link/button hue */
    --mn-blue-dark:  #1F4A70;
    --mn-on-blue:    #FFFFFF;
    --mn-mast:       #1F4A70;   /* Masthead + footer (white 9.2:1) */
    --mn-mast-deep:  #173A5A;
    --mn-on-mast:    #FFFFFF;
    --mn-on-mast-muted: #D6E4F0; /* 7.1:1 on mast */
    --mn-sun:        #F2B705;   /* Sunflower: cover panel, Most read, Lifestyle (ink text) */
    --mn-orange:     #B8461A;   /* Burnt orange: Dog Care, newsletter band (white 5.3:1) */
    --mn-footer:     #1F4A70;
    --mn-on-footer:  #FFFFFF;
    --mn-on-footer-muted: #D6E4F0;
    --mn-shadow:     0 1px 2px rgba(26, 26, 26, 0.06), 0 6px 18px rgba(26, 26, 26, 0.06);
    --mn-shadow-hover: 0 2px 4px rgba(26, 26, 26, 0.08), 0 12px 28px rgba(26, 26, 26, 0.10);

    /* Topic fills (white text unless noted) */
    --t-dog:       #B8461A;
    --t-cat:       #2C5F8D;
    --t-training:  #2E7D32;
    --t-health:    #0F5257;
    --t-lifestyle: #F2B705;   /* navy text */
    --t-reviews:   #6B2E68;

    /* --- Type --- */
    --mn-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --mn-text:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --mn-size-body: clamp(1.0625rem, 1.02rem + 0.3vw, 1.25rem); /* 17–20px */
    --mn-lh-body:   1.7;
    --mn-lh-head:   1.12;
    --mn-title: clamp(2rem, 1.4rem + 2vw, 3rem);
    --mn-h2:    clamp(1.5rem, 1.3rem + 0.7vw, 1.95rem);
    --mn-h3:    clamp(1.15rem, 1.07rem + 0.3vw, 1.32rem);

    /* --- Shape & metrics --- */
    --mn-radius:    10px;
    --mn-radius-sm: 6px;
    --mn-pill:      999px;
    --mn-page-max:  1320px;
    --mn-sidebar:   340px;
    --mn-side-gap:  2.75rem;
    --mn-gutter:    clamp(1rem, 3vw, 2rem);
    --mn-tap:       44px;

    /* --- Bridge to main.css --- */
    --font-size-body-min: 1.0625rem;
    --font-size-body-max: 1.25rem;
    --font-size-body-fluid: calc(1.02rem + 0.3vw);
    --font-size-h1-min: 2rem;
    --font-size-h1-max: 3rem;
    --font-size-h1-fluid: calc(1.4rem + 2vw);
    --font-size-h2-min: 1.5rem;
    --font-size-h2-max: 1.95rem;
    --font-size-h2-fluid: calc(1.3rem + 0.7vw);
    --font-size-h3-min: 1.15rem;
    --font-size-h3-max: 1.32rem;
    --font-size-h3-fluid: calc(1.07rem + 0.3vw);
    --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);
}
