/*
 * Self-hosted webfonts, shared by views/layout.php and views/home.php.
 *
 * Headings: IvyPresto Headline. Body: Montserrat.
 *
 * Every file is subset to Latin + Latin Extended-A, so Serbian č ć š ž đ are
 * covered. Cyrillic is deliberately absent — IvyPresto ships no Cyrillic at
 * all, so headings could not render it even though Montserrat could.
 *
 * IvyPresto Headline has no Regular (400) weight. Display headings run at Thin
 * (100), the way angebos.com sets the same typeface; 300 is kept for the logo
 * and other mid-size marks, and 600 takes over where a heading gets small
 * enough that the Thin hairlines break up. Its only italic is Bold (700) —
 * there is no lighter italic to fall back on, which is what gives the coral
 * accent words their weight contrast against the Thin caps.
 *
 * See docs/fonts/README.md for how these files were generated.
 */

/* HEADINGS — IvyPresto Headline */

@font-face {
    font-family: "IvyPresto Headline";
    src: url("/assets/fonts/ivypresto-headline-thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IvyPresto Headline";
    src: url("/assets/fonts/ivypresto-headline-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IvyPresto Headline";
    src: url("/assets/fonts/ivypresto-headline-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ITALIC ACCENTS — IvyOra Display
 *
 * A different Ivy family on purpose. IvyPresto Headline's only italic is Bold
 * (700), which overpowers Thin caps. IvyOra Display Light Italic is weight 300
 * with enough stroke contrast to read as a regular-weight italic, and its 16°
 * slant makes it unmistakably an accent.
 *
 * The weight range is declared because this is the family's only italic: any
 * requested weight resolves to these outlines instead of synthesising a bold. */
@font-face {
    font-family: "IvyOra Display";
    src: url("/assets/fonts/ivyora-display-light-italic.woff2") format("woff2");
    font-weight: 100 700;
    font-style: italic;
    font-display: swap;
}

/* IvyOra is a Display cut: below roughly 1.2rem its hairlines stop holding.
 * IvyJournal is the superfamily's text face at the same 300 weight, drawn to
 * survive small sizes — it carries the testimonial quotes and the signature. */
@font-face {
    font-family: "IvyJournal";
    src: url("/assets/fonts/ivyjournal-light-italic.woff2") format("woff2");
    font-weight: 100 700;
    font-style: italic;
    font-display: swap;
}

/* BODY — Montserrat */

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
