/*
 * Type for each business demo: a display face and a text face.
 *
 * All fonts are bundled under the SIL Open Font License 1.1 (see the
 * licence files in assets/fonts/demos). A browser only downloads the
 * faces a page actually uses.
 */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/demos/newsreader.woff2") format("woff2");
}

@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/demos/newsreader-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Bodoni Moda";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/demos/bodoni-moda.woff2") format("woff2");
}

@font-face {
	font-family: "Bodoni Moda";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/demos/bodoni-moda-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/demos/literata.woff2") format("woff2");
}

@font-face {
	font-family: "Literata";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/demos/literata-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/demos/cormorant-garamond.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/demos/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/demos/lora.woff2") format("woff2");
}

@font-face {
	font-family: "Lora";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/demos/lora-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Libre Caslon Text";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/demos/libre-caslon-text.woff2") format("woff2");
}

@font-face {
	font-family: "Libre Caslon Text";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/demos/libre-caslon-text-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Spectral";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/demos/spectral-300.woff2") format("woff2");
}

@font-face {
	font-family: "Spectral";
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/demos/spectral-300-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/demos/archivo.woff2") format("woff2");
}

@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/demos/archivo-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/demos/figtree.woff2") format("woff2");
}

@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/demos/outfit.woff2") format("woff2");
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/demos/public-sans.woff2") format("woff2");
}

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/demos/jost.woff2") format("woff2");
}

@font-face {
	font-family: "Nunito Sans";
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url("../fonts/demos/nunito-sans.woff2") format("woff2");
}

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
	src: url("../fonts/demos/ibm-plex-sans.woff2") format("woff2");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/demos/manrope.woff2") format("woff2");
}

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/demos/inter-tight.woff2") format("woff2");
}

/* BrightSmile: an open, friendly editorial serif with a rounded modern sans. */
.oryx-demo-dental {
	--ox-serif: "Newsreader", georgia, serif;
	--ox-font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 400;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.022em;
	--ox-display-size: clamp(52px, 6.4vw, 94px);
	--ox-display-leading: 0.98;
}

/* Northside: high-contrast Bodoni for a classic barbershop, with a geometric sans. */
.oryx-demo-barber {
	--ox-serif: "Bodoni Moda", georgia, serif;
	--ox-font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 500;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.02em;
	--ox-display-size: clamp(50px, 6vw, 88px);
	--ox-display-leading: 1;
}

/* CityCare: a calm reading serif with a clear, public-service sans. */
.oryx-demo-medical {
	--ox-serif: "Literata", georgia, serif;
	--ox-font: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 400;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.025em;
	--ox-display-size: clamp(46px, 5.6vw, 82px);
	--ox-display-leading: 1;
}

/* Bloom: an elegant Garamond with a light geometric sans. */
.oryx-demo-beauty {
	--ox-serif: "Cormorant Garamond", georgia, serif;
	--ox-font: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 500;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.01em;
	--ox-display-size: clamp(58px, 7vw, 104px);
	--ox-display-leading: 0.92;
}

/* Harbour Lane: a warm brushed serif with a soft rounded sans. */
.oryx-demo-vet {
	--ox-serif: "Lora", georgia, serif;
	--ox-font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 400;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.025em;
	--ox-display-size: clamp(48px, 5.8vw, 86px);
	--ox-display-leading: 1;
}

/* Hartley & Quinn: traditional Caslon with a precise, technical sans. */
.oryx-demo-law {
	--ox-serif: "Libre Caslon Text", georgia, serif;
	--ox-font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 400;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.025em;
	--ox-display-size: clamp(44px, 5.2vw, 76px);
	--ox-display-leading: 1.04;
}

/* Still: a light, airy serif with a quiet modern sans. */
.oryx-demo-pilates {
	--ox-serif: "Spectral", georgia, serif;
	--ox-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 300;
	--ox-serif-stretch: 100%;
	--ox-display-tracking: -0.025em;
	--ox-display-size: clamp(52px, 6.4vw, 92px);
	--ox-display-leading: 1;
}

/* Graphite: a wide engineered grotesk with a tight sans. */
.oryx-demo-auto {
	--ox-serif: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--ox-serif-weight: 500;
	--ox-serif-stretch: 118%;
	--ox-display-tracking: -0.035em;
	--ox-display-size: clamp(42px, 5vw, 74px);
	--ox-display-leading: 1;
}

/* The text face carries through the page, the booking form included. */
.oryx-demo-business {
	font-family: var(--ox-font);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Wide display face: headings set a little smaller in the bands. */
.oryx-demo-auto .ox-band__title,
.oryx-demo-auto .ox-band__title .elementor-heading-title {
	font-size: clamp(34px, 3.8vw, 52px) !important;
	letter-spacing: -0.03em;
}

.oryx-demo-auto .ox-info h3,
.oryx-demo-auto .ox-info .elementor-heading-title {
	font-size: 22px !important;
	letter-spacing: -0.02em;
}

/* Light display faces read better a touch larger in the bands. */
.oryx-demo-beauty .ox-info h3,
.oryx-demo-pilates .ox-info h3,
.oryx-demo-pilates .ox-info .elementor-heading-title {
	font-size: 31px;
}

/* Photo strip (barbershop) */

.ox-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ox-gallery li {
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
}

.ox-gallery li:nth-child(even) {
	margin-top: 48px;
}

.ox-gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: saturate(0.9);
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ox-gallery li:hover img {
	transform: scale(1.04);
}

@media (max-width: 781px) {
	.ox-gallery {
		grid-template-columns: 1fr 1fr;
	}

	.ox-gallery li:nth-child(even) {
		margin-top: 24px;
	}
}

/* The site header, demo bar and footer stay in the Oryx site type on every demo. */
.oryx-demo-business .ox-nav,
.oryx-demo-business .ox-demobar,
.oryx-demo-business .ox-foot {
	font-family: var(--ox-font);
}
