/* ============================================================================
   Inspiring Wishes — tokens + self-hosted faces (iws-theme 1.0.0, 2026-11-15)
   Stitch direction C "Wish Wall" (project 16789633459996813538, design system
   assets/12010969727172283614; user pick 2026-11-15). A night-sky pinboard:
   night-indigo masthead + footer, saffron moon phases, solid magenta/saffron
   pinned cards, a violet band, one solid fill per topic. Violet #6D28D9 is
   the ONE body-link hue (7.1:1 on white, 6.8:1 on the wall ground). Saffron
   is a fill with ink text, never text on white.
   Noto Serif Display 600 (display) + Albert Sans 400–700 (text).
   ========================================================================= */

@font-face {
    font-family: 'Noto Serif Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noto-serif-display-normal-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: 'Noto Serif Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noto-serif-display-normal-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: 'Albert Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/albert-sans-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: 'Albert Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/albert-sans-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: 'Albert Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/albert-sans-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: 'Albert Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/albert-sans-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 (each text/fill pair checked >= 4.5:1) --- */
    --mn-paper:      #FAFAF9;   /* Warm white wall ground */
    --mn-sheet:      #FFFFFF;   /* Cards, reading column */
    --mn-tint:       #F3EEFD;   /* Violet tint: SMALL surfaces only (TOC, table heads) */
    --mn-cream:      #FFFFFF;
    --mn-rule:       #E7E5E4;
    --mn-rule-soft:  #F0EEEC;
    --mn-ink:        #1C1917;   /* 16.7:1 on the wall */
    --mn-meta:       #57534E;   /* 7.3:1 */
    --mn-head:       #1C1917;
    --mn-blue:       #6D28D9;   /* Violet — the one link/button hue */
    --mn-blue-dark:  #5B21B6;
    --mn-on-blue:    #FFFFFF;
    --mn-mast:       #1E1B4B;   /* Night indigo masthead + footer (white 16:1) */
    --mn-mast-deep:  #15123A;
    --mn-on-mast:    #FFFFFF;
    --mn-on-mast-muted: #C7D2FE; /* 10.7:1 on mast */
    --mn-sun:        #F59E0B;   /* Saffron: moons, pinned cards, buttons on dark (ink text 8.1:1) */
    --mn-orange:     #9D174D;   /* Magenta: newsletter band, pinned cards (white 7.9:1) */
    --mn-violet:     #5B21B6;   /* Topics band (white 9:1) */
    --mn-footer:     #1E1B4B;
    --mn-on-footer:  #FFFFFF;
    --mn-on-footer-muted: #C7D2FE;
    --mn-shadow:     0 1px 2px rgba(30, 27, 75, 0.06), 0 6px 18px rgba(30, 27, 75, 0.07);
    --mn-shadow-hover: 0 2px 4px rgba(30, 27, 75, 0.08), 0 12px 28px rgba(30, 27, 75, 0.12);

    /* Topic fills (white text unless noted) */
    --t-lifestyle: #5B21B6;   /* violet 9:1 */
    --t-spirit:    #9D174D;   /* magenta 7.9:1 */
    --t-mind:      #0F766E;   /* teal 5.5:1 */
    --t-events:    #F59E0B;   /* saffron, ink text 8.1:1 */
    --t-quotes:    #3730A3;   /* indigo 9.9:1 */

    /* --- Type --- */
    --mn-display: 'Noto Serif Display', 'Noto Serif', Georgia, 'Times New Roman', serif;
    --mn-text:    'Albert Sans', -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.15;
    --mn-title: clamp(2.1rem, 1.5rem + 2vw, 3.1rem);
    --mn-h2:    clamp(1.55rem, 1.3rem + 0.8vw, 2.05rem);
    --mn-h3:    clamp(1.2rem, 1.1rem + 0.35vw, 1.4rem);

    /* --- Shape & metrics --- */
    --mn-radius:    4px;
    --mn-radius-sm: 4px;
    --mn-pill:      999px;
    --mn-page-max:  1360px;
    --mn-sidebar:   320px;
    --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: 2.1rem;
    --font-size-h1-max: 3.1rem;
    --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);
}
