/* ============================================================================
   The Home Team — tokens + self-hosted faces (hom-theme, "Open House")
   Loaded first; main.css reads the --color-* / --font-size-* bridge below,
   hom.css reads the --tp-* tokens.
   ========================================================================= */

/* --- Faces (2026-10-17, Stitch direction A): Domine 700 for headlines and
       the wordmark, Hanken Grotesk (variable 400–700 + italic 400) for text.
       latin + latin-ext, downloaded from Google Fonts css2 2026-10-17. ----- */
@font-face {
    font-family: 'Domine';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/domine-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: 'Domine';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/domine-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: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-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/hanken-grotesk-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: '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: white ground, warm linen panels and ONE garden green (the
       logo's roof green, darkened to pass for link text).
       WCAG: #3E6644 on #FFFFFF 6.59 · on #F5F1E8 5.84 · on #F9F7F2 6.15 ·
       #5A6157 on #FFFFFF 6.40 · on #F5F1E8 5.68 · #22261F on #F5F1E8 13.65 ·
       #FFFFFF on #3E6644 6.59 · on #2F4F34 9.17 · #D6E3D5 on #2F4F34 6.91 */
    --tp-paper:      #FFFFFF;   /* page ground */
    --tp-panel:      #F9F7F2;   /* room panels, boxes, cards */
    --tp-linen:      #F5F1E8;   /* utility strip, archive masthead, newsletter band */
    --tp-rule:       #E2DDD2;   /* hairlines */
    --tp-ink:        #22261F;   /* text */
    --tp-meta:       #5A6157;
    --tp-green:      #3E6644;   /* the one hue: links, labels, buttons, roof marks */
    --tp-green-dark: #2F4F34;   /* hover, footer ground */
    --tp-on-green:   #FFFFFF;
    --tp-on-green-meta: #D6E3D5;

    /* --- Type ---------------------------------------------------------------- */
    --tp-display: 'Domine', Georgia, 'Times New Roman', serif;
    --tp-text:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --tp-size-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.1875rem);   /* 17–19px */
    --tp-lh-body:   1.7;
    --tp-lh-head:   1.18;
    --tp-title: clamp(2.125rem, 1.6rem + 1.7vw, 2.75rem);   /* article + archive H1, capped 44px */
    --tp-h2:    clamp(1.625rem, 1.42rem + 0.8vw, 2.125rem);
    --tp-h3:    clamp(1.3125rem, 1.2rem + 0.45vw, 1.5625rem);
    --tp-label: 0.75rem;   /* uppercase labels, 12px, tracked 0.1em */

    /* --- Shape & metrics ------------------------------------------------------ */
    --tp-radius:    8px;
    --tp-page-max:  1280px;
    --tp-sidebar:   300px;
    --tp-side-gap:  2.5rem;
    --tp-gutter:    clamp(1rem, 3vw, 2rem);

    /* --- Bridge to main.css (do not restyle 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: 2.125rem;
    --font-size-h1-max: 2.75rem;
    --font-size-h1-fluid: calc(1.6rem + 1.7vw);
    --font-size-h2-min: 1.625rem;
    --font-size-h2-max: 2.125rem;
    --font-size-h2-fluid: calc(1.42rem + 0.8vw);
    --font-size-h3-min: 1.3125rem;
    --font-size-h3-max: 1.5625rem;
    --font-size-h3-fluid: calc(1.2rem + 0.45vw);
    --font-size-h4-min: 1.15rem;
    --font-size-h4-max: 1.3rem;
    --font-size-h4-fluid: calc(1.08rem + 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);
    --line-height-body: 1.7;
    --line-height-heading: 1.18;
    --color-primary: #3E6644;
    --color-primary-hover: #2F4F34;
    --color-heading: #22261F;
    --color-accent: #3E6644;
    --color-text-dark: #22261F;
    --color-text-medium: #5A6157;
    --color-text-light: #5A6157;
    --color-background: #FFFFFF;
    --color-background-light: #F9F7F2;
    --color-background-tint: #F5F1E8;
    --color-border: #E2DDD2;
    --color-border-soft: #E2DDD2;
    --color-footer-bg: #2F4F34;
    --color-error: #B42318;
    --color-warning: #8A5A00;
    --font-family-display: 'Domine', Georgia, 'Times New Roman', serif;
    --font-family-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 8px;
    --border-radius: 8px;
    --border-radius-lg: 8px;
    --content-max: 760px;
    --page-max: 1280px;
    --color-border-light: #E2DDD2;
    --color-footer-border: #2F4F34;
    --color-footer-text: #FFFFFF;
    --color-copyright: #D6E3D5;
    --color-facebook: #3E6644; --color-facebook-hover: #2F4F34;
    --color-twitter: #3E6644; --color-twitter-hover: #2F4F34;
    --color-pinterest: #3E6644; --color-pinterest-hover: #2F4F34;
    --color-linkedin: #3E6644; --color-linkedin-hover: #2F4F34;
    --color-error-bg: #F9E3E0; --color-error-text: #8A1C12;
    --color-warning-bg: #F6EBD2; --color-warning-text: #6B4600;
    --font-primary: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Domine', Georgia, 'Times New Roman', serif;
}
