/* The Broker Studio mark on the footer site credit.
 *
 * Components prints the credit and the theme styles it as Zero Digital's: the
 * whole line in Montserrat, the accent word in #FF7B00. On a broker site the
 * words already read "Another BrokerStudio Website" — this file makes the mark
 * look like Broker Studio's rather than Zero Digital's with the name swapped:
 *
 *   - "Another" and "Website" in the SITE's own body font. They are the
 *     sentence, not the mark, so they belong to the client's site.
 *   - "Broker" in Fraunces, in Amber #C2612B.
 *   - "Studio" in Poppins Regular, in Bone #F5F2ED: a bold serif beside a
 *     light sans, so the two halves of the mark read as two voices.
 *
 * THE FONTS ARE OWNED, NOT OFFERED. Both files ship in this plugin and are
 * declared here under private family names, rather than borrowed from the
 * theme. A theme.json font is only offered: a child theme that declares its own
 * font families replaces the parent's list and the parent's @font-face is
 * never printed (measured on a live site — see the theme's
 * assets/fonts/README.md). The mark cannot depend on a client's font choices.
 *
 * CONTRAST. The credit bar paints itself in the theme's foreground colour, dark
 * in every variation (#14181F to #2B2520). Bone on it is well over 12:1. Amber
 * on it is about 3.3:1 to 4.1:1 — under the 4.5:1 body-text line, which is why
 * the brand guidelines keep Amber to the logo and display words. This is the
 * logo: WCAG 1.4.3 exempts text that is part of a logotype or brand name.
 *
 * Specificity (0,2,0) rather than load order: this file and the theme's
 * stylesheet are enqueued by different packages, and neither can promise
 * which prints second.
 */

@font-face {
	font-family: "Broker Studio Serif";
	src: url("fonts/fraunces-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Broker Studio Sans";
	src: url("fonts/poppins-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.zerodigital-site-credit .zerodigital-site-credit__badge {
	font-family: var(--wp--preset--font-family--body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	letter-spacing: normal;
}

.zerodigital-site-credit .zerodigital-site-credit__brand {
	font-family: "Broker Studio Serif", Georgia, "Times New Roman", serif;
	font-size: 1.08em;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #c2612b;
}

.zerodigital-site-credit .zerodigital-site-credit__brand-accent {
	font-family: "Broker Studio Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: calc(1em / 1.08);
	font-weight: 400;
	letter-spacing: 0;
	color: #f5f2ed;
}
