/* Design tokens. The scale unit follows the viewport like the reference design (1920 design width);
 * colours read the Blocksy palette so the site theme can recolour everything. */
:root {
	/* Sizes follow the width of the content area (container units), not the window, so the editor canvas
	 * and a boxed layout scale exactly like the full-width front end. */
	/* 1 design px at >= 1200px. It grows with the page until Blocksy's container stops growing (Customizer > General > Layout >
	 * Max Width), so text and the container keep their proportions on any screen, including 4K and zoomed-out browsers. */
	--hm-u: min(calc(100cqw / 1920), calc(var(--theme-normal-container-max-width, 1290px) / 1728));
	--hm-m: min(calc(100cqw / 390), 1.6px);    /* 1 design px on phones and tablets */

	/* Icons are Blocksy's own SVG paths (home: breadcrumbs, chevron: slider arrows, arrow: back-to-top rotated), used as masks so they take the text colour. */
	--hm-icon-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 1 0 7.8h2.1v6.1h4.1V9.8h2.7v4.1H13V7.8h2.1L7.5 1Z'/%3E%3C/svg%3E");
	--hm-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2.35778,6.88l2.88-2.88L2.35778,1.12,2.94445,0l4,4-4,4-.58667-1.12Z'/%3E%3C/svg%3E");
	--hm-icon-arrow-ur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 28 28'%3E%3Cpath transform='rotate(45 10 10)' d='M10,0L9.4,0.6L0.8,9.1l1.2,1.2l7.1-7.1V20h1.7V3.3l7.1,7.1l1.2-1.2l-8.5-8.5L10,0z'/%3E%3C/svg%3E");
	--hm-icon-arrow-thin: var(--hm-icon-arrow-ur);
	/* Large, hairline arrow pointing down-left (About page intro). */
	--hm-icon-arrow-dl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000' stroke-width='3.2'%3E%3Cpath d='M96 4L7 93M7 36V93H64'/%3E%3C/svg%3E");

	--hm-c-primary: var(--theme-palette-color-1, #ff5b00);
	--hm-c-primary-deep: color-mix(in srgb, var(--hm-c-primary) 80%, #000);
	/* Orange backgrounds: the logo's gradient (light orange top-left to deeper orange), not a flat colour. */
	--hm-bg-brand: linear-gradient(135deg, color-mix(in srgb, var(--hm-c-primary) 60%, #f5c33b) 0%, color-mix(in srgb, var(--hm-c-primary) 82%, #7a2a00) 100%);
	--hm-c-ink: #000;
	--hm-c-paper: #fff;
	--hm-c-soft: #fafafa;

	/* Reading sizes never shrink below the floor, whatever the content width. */
	--hm-fs-sm: max(14px, calc(16 * var(--hm-u)));
	--hm-fs-md: max(16px, calc(18 * var(--hm-u)));

	--hm-font-body: "Montserrat", system-ui, sans-serif;
	/* Titles and designed display text keep the condensed brand face; body text, menu and forms use Inter (Customizer > Typography > Base Font). */
	--hm-font-display: "Inter", system-ui, sans-serif;
	--hm-font-brand: "Big Shoulders Display", "Big Shoulders", sans-serif; /* the big faint wordmarks (services section, footer) and the counter numbers */

	--hm-ease: cubic-bezier(.22, 1, .36, 1);
	--hm-t-fast: .15s;
	--hm-t: .25s;
	--hm-t-slow: .4s;
}

@font-face { font-family: "Big Shoulders Display"; font-weight: 400; font-display: swap; src: url(../../BigShouldersDisplay-Regular.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 500; font-display: swap; src: url(../../BigShouldersDisplay-Medium.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 600; font-display: swap; src: url(../../BigShouldersDisplay-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-display: swap; src: url(../../BigShouldersDisplay-ExtraBold.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url(../../BigShouldersDisplay-Black.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url(../../BigShouldersDisplay-Black.woff2) format("woff2"); }

/* The content area is the size container every hm-* section measures against. */
:where(.entry-content, .hm-page, .editor-styles-wrapper) { container: hm / inline-size; }
