/* ==========================================================
   Hollys brand type — self-hosted (no Google request)
   Fraunces (headings) + Work Sans (text). Both SIL OFL 1.1.
   ========================================================== */

@font-face {
	font-family: 'Hollys Serif';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/fraunces-latin-opsz-normal.woff2) format('woff2-variations'), url(fonts/fraunces-latin-opsz-normal.woff2) format('woff2');
}
@font-face {
	font-family: 'Hollys Serif';
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/fraunces-latin-opsz-italic.woff2) format('woff2-variations'), url(fonts/fraunces-latin-opsz-italic.woff2) format('woff2');
}
@font-face {
	font-family: 'Hollys Sans';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/work-sans-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/work-sans-latin-wght-normal.woff2) format('woff2');
}

/* The page sections ask for "Inter", which was never loaded, so they were
   falling back to Arial/Helvetica. Point that name at Work Sans so every
   custom block picks up the brand text face without editing each one. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/work-sans-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/work-sans-latin-wght-normal.woff2) format('woff2');
}

body.hm-type {
	--hm-serif: 'Hollys Serif', Georgia, 'Times New Roman', serif;
	--hm-sans: 'Hollys Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-family: var(--hm-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.hm-type .nav > li > a,
body.hm-type .button,
body.hm-type button,
body.hm-type input,
body.hm-type select,
body.hm-type textarea,
body.hm-type .alt-font,
body.hm-type p {
	font-family: var(--hm-sans);
}

/* Headings: serif, slightly tighter, optical sizing on */
body.hm-type h1,
body.hm-type h2,
body.hm-type h3,
body.hm-type .hero-title,
body.hm-type .heading-font {
	font-family: var(--hm-serif) !important;
	font-optical-sizing: auto;
	font-weight: 560 !important;
	letter-spacing: -0.015em;
}
body.hm-type h1,
body.hm-type .hero-title {
	font-weight: 520 !important;
	letter-spacing: -0.025em;
	line-height: 1.04;
}
body.hm-type h1 em,
body.hm-type h1 i,
body.hm-type .hero-title em,
body.hm-type .hero-title i,
body.hm-type .hero-title [style*="italic"],
body.hm-type .hm-italic {
	font-family: var(--hm-serif) !important;
	font-weight: 420 !important;
	font-style: italic;
	letter-spacing: -0.02em;
}

/* Small uppercase labels set as headings (e.g. BREATHABLE) stay in the sans.
   JS tags them .hm-label after measuring. */
body.hm-type .hm-label {
	font-family: var(--hm-sans) !important;
	font-weight: 650 !important;
	letter-spacing: 0.08em !important;
}
