/* ============================================================================
   Gardeners and Plants — tokens + self-hosted faces (gnp-theme 1.0.0, 2026-11-16)
   Stitch direction B "Specimen Book" (project 15911899783150782895, design
   system assets/9701541824488007758; user pick 2026-11-16). Warm paper
   ground, a charcoal strip, forest specimen tags, a solid leaf band, forest
   newsletter band. Link green #2F6B0C is the ONE body-link hue (6.5:1 white,
   6.1:1 paper). Leaf #57A008 (the logo's green) is a fill only, with ink text
   (5.1:1). Gloock 400 (display) + Instrument Sans 400–700 (text).
   ========================================================================= */

@font-face {
    font-family: 'Gloock';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/gloock-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: 'Gloock';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/gloock-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: 'Instrument Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrumentsans-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: 'Instrument Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrumentsans-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: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/instrumentsans-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: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/instrumentsans-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 --- */
    --mn-paper:      #FBF8F1;   /* page ground */
    --mn-sheet:      #FFFFFF;   /* cards, frames */
    --mn-tint:       #F2EDE0;   /* SMALL surfaces only: TOC, table zebra */
    --mn-rule:       #E2DCCB;
    --mn-rule-soft:  #ECE6D7;
    --mn-ink:        #1B1F17;   /* body + headlines, 16:1 on paper */
    --mn-meta:       #5A5648;   /* 6.6:1 on paper */
    --mn-head:       #1B1F17;
    --mn-blue:       #2F6B0C;   /* link green (name kept for main.css bridge) */
    --mn-blue-dark:  #1E4A12;
    --mn-forest:     #1E4A12;   /* tags, newsletter band, archive band (white 10.3:1) */
    --mn-forest-deep:#163A0D;
    --mn-leaf:       #57A008;   /* logo green: Expert Tips band (ink 5.1:1) — never text */
    --mn-bright:     #8CC63F;   /* bright leaf: accents on dark fills (8.2:1 ink, 6.9:1 on charcoal) */
    --mn-char:       #2D2D2D;   /* utility strip + footer (white 13.8:1) */
    --mn-on-dark-muted: #D9D6CB; /* 10:1 on charcoal, 8:1 on forest */
    --mn-shadow-hover: 0 2px 4px rgba(27, 31, 23, 0.06), 0 12px 28px rgba(27, 31, 23, 0.10);

    /* --- Type --- */
    --mn-display: 'Gloock', Georgia, 'Times New Roman', serif;
    --mn-text:    'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --mn-size-body: clamp(1.0625rem, 1.02rem + 0.3vw, 1.1875rem); /* 17–19px */
    --mn-lh-body:   1.7;
    --mn-lh-head:   1.12;
    --mn-title: clamp(2rem, 1.45rem + 1.8vw, 2.75rem);           /* H1 caps at 44px */
    --mn-h2:    clamp(1.5rem, 1.3rem + 0.7vw, 1.95rem);
    --mn-h3:    clamp(1.2rem, 1.1rem + 0.35vw, 1.375rem);

    /* --- Shape & metrics --- */
    --mn-radius:    4px;
    --mn-radius-sm: 4px;
    --mn-page-max:  1320px;
    --mn-sidebar:   304px;
    --mn-side-gap:  2rem;
    --mn-gutter:    clamp(1rem, 3vw, 2rem);
    --mn-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: 2rem;
    --font-size-h1-max: 2.75rem;
    --font-size-h1-fluid: calc(1.45rem + 1.8vw);
    --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.2rem;
    --font-size-h3-max: 1.375rem;
    --font-size-h3-fluid: calc(1.1rem + 0.35vw);
    --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);
}
