@import url('https://fonts.googleapis.com/css2?family=Outfit:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital@0;1&display=swap');

:root {
	--hf-color-src-foreground-base: 12, 21, 70;
	--hf-color-src-background-base: 254, 252, 250;
	--hf-color-accent-base: 182, 129, 87;
	--hf-color-background-base: var(--hf-color-src-background-base);
	--hf-color-foreground-base: var(--hf-color-src-foreground-base);
	--hf-color-accent: rgb(var(--hf-color-accent-base));
	--hf-color-background: rgb(var(--hf-color-background-base));
	--hf-color-foreground: rgb(var(--hf-color-foreground-base));
	--hf-font-family-body: 'Outfit', sans-serif;
	--hf-font-family-heading: 'Outfit', sans-serif;
	
	--hf-cutout-radius: 52px;
	--hf-overlay-color: var(--hf-color-accent);
	--hf-overlay-color-back: var(--hf-color-foreground);
	--hf-overlay-scale: 1;
	--hf-overlay-intensity: .3;

	font-family: var(--hf-font-family-body);
	background-color: var(--hf-color-background);
	color: var(--hf-color-foreground);

	--hf-cutout-top-right: polygon(0 0, calc(100% - var(--hf-cutout-radius)) 0, 100% var(--hf-cutout-radius), 100% 100%, 0 100%);
	--hf-cutout-top-left: polygon(0 var(--hf-cutout-radius), var(--hf-cutout-radius) 0, 100% 0, 100% 100%, 0 100%);
	--hf-cutout-bottom-left: polygon(0 0, 100% 0, 100% 100%, var(--hf-cutout-radius) 100%, 0 calc(100% - var(--hf-cutout-radius)));
	--hf-cutout-bottom-right: polygon(0 0, 100% 0, 100% calc(100% - var(--hf-cutout-radius)), calc(100% - var(--hf-cutout-radius)) 100%, 0 100%);
	--hf-cutout-double-left-right: polygon(0 var(--hf-cutout-radius), var(--hf-cutout-radius) 0, 100% 0,  100% calc(100% - var(--hf-cutout-radius)), calc(100% - var(--hf-cutout-radius)) 100%, 0 100%);
}

body {
	margin: 0;
}

p {
	font-weight: 300;
	font-size: 1.1em;
	color: #848484;
	margin-block: 25px;
	line-height: 1.5;
}

	p.alt-white {
		color: white;
	}

	p.alt-tab {
		color: #343434; 
		font-size: 1em; 
	}

span.focus-box {
	display: flex;
}

	span div:first-of-type {
		width: 55%;
	}

h1, h2, h3, h4, h5 {
	/* font-weight: 700; */
	font-weight: 600;
	font-family: var(--hf-font-family-heading);
	margin-block: 10px;
}

h3, h4 {
	font-size: 1.8em;
	margin-block: 5px;
}

h5 {
	margin-block: 15px;
	font-size: 1.5em;
}

h1 {
	font-size: 2.8em;
	line-height: .8;
	margin-block: 15px;
	color: var(--hf-color-accent);
}

h2 {
	font-size: 2.4em;
	line-height: 1.1;
	margin-block: 10px;
}

h1.separator::before, h2.separator::before, h1.separator::after, h2.separator::after {
	content: '';
	display: inline-block;
	height: calc(.8rem + 2.4vmin);
	width: calc(2.4rem + 7.2vmin);
	vertical-align: baseline;
	margin-inline: 10px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

h1.separator::before, h2.separator::before {
	-webkit-mask-image: url(/assets/ui/title-decor-start.svg);
	mask-image: url(/assets/ui/title-decor-start.svg);
}

h1.separator::after, h2.separator::after {
	-webkit-mask-image: url(/assets/ui/title-decor-end.svg);
	mask-image: url(/assets/ui/title-decor-end.svg);
}

h1.separator {
	font-size: calc(1.1rem + 3.2vmin);
	font-weight: 500;

}

h2.separator {
	font-size: calc(1rem + 3vmin);
	font-weight: 600;
}

hf-content-box.with-eclair {
	min-height: 500px;
}

hf-page > h1, hf-page > p {
	text-align: center;
}

hf-page > h1.separator, hf-page > h2.separator, hf-page > div.separator {
	text-align: center;
	padding-block: clamp(30px, 5vw, 60px);
	padding-inline: clamp(10px, 2vw, 20px);
	margin-block: 0;
}

hf-page > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-block: clamp(15px, 4.5vw, 45px);
	padding-inline: clamp(10px, 2vw, 20px);
	background-color: rgba(var(--hf-color-foreground-base), .05);
}

	hf-page > div > h2 {
		font-weight: 300;
		font-size: 1.3em;
	}

hf-page > div + hf-tabs,
hf-page > div + hf-content-box,
hf-page > div + hf-tile-gallery,
hf-page > div + hf-checker-box {
	margin-top: 0;
	/* background-color: rgba(var(--hf-color-foreground-base), .1); */
}

hf-page > hf-tabs + div,
hf-page > hf-content-box + div,
hf-page > hf-tile-gallery + div,
hf-page > hf-checker-box + div {
	margin-top: clamp(-10px, -1vw, -4px);
}

hf-page > div > h1:first-child {
	margin-top: 0;
}

hf-page > div > h1:last-child {
	margin-bottom: 0;
}

hf-hero > h1 {
	font-size: 3.6em;
}

hf-hero lit-slider {
	pointer-events: none;
}

hf-hero lit-slider > lit-slide {
	width: 100%;
	height: 100%;
}

hf-hero lit-slider > lit-slide > * {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

h1 > span, h1 > div,
h2 > span, h2 > div {
	font-size: .7em;
	vertical-align: baseline;
	margin-inline: .7em;
	font-family: var(--hf-font-family-body);
	opacity: .6;
}

@media only screen and (max-width: 768px) {
	:root {
		font-size: .768em;
	}
}

.contact-info-container {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background-color: var(--hf-color-background);
	box-shadow: 0 6px 40px -30px #000;
	border-radius: 0.15rem;
	z-index: 4;
	padding-block: 30px 0;
	padding-inline: 20px;
	flex-wrap: wrap;
	align-self: center;
	inset-inline: max(calc(8vw - 20px), calc(50vw - 640px));
	margin-top: -50px;
	position: absolute;
}

	.contact-info-container > hf-meta-info {
		display: none;
	}

	.contact-info-container > hf-vantage {
		flex: 1;
	}

@media screen and (max-width: 1036px) {
	.contact-info-container > hf-vantage {
		display: none;
	}

	.contact-info-container > hf-meta-info {
		display: unset;
	}

	.contact-info-container {
		flex-direction: column;
		padding-block: 20px;
	}
}

.map {
	width: 100vw;
	height: calc(200px + 70vh);
	object-fit: cover;
	object-position: center;
}

a:not([itemlink]) {
	background-color: rgba(var(--hf-color-foreground-base), .05);
	color: var(--hf-color-accent);
	padding: 2px 5px;
	text-decoration: none;
	transition: .3s ease;
	border-bottom: 2px solid rgba(var(--hf-color-foreground-base), .2);
	
	&:hover {
		background-color: rgba(var(--hf-color-accent-base), .2);
		color: rgba(var(--hf-color-foreground-base), .9);
		border-color: var(--hf-color-accent);
	}
}
	
form {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;

	& > hf-button {
		align-self: flex-end;
	}
}

input:not([type]), input[type=text], textarea {
	outline: none;
	border-radius: 0;
	font-family: var(--hf-font-family-body);
	color: var(--hf-color-foreground);
	border: 1px solid transparent;
	padding: 5px;
	margin: 5px;
	font-size: 1em;
	transition: .2s ease;

	&:not(:focus) {
		background-color: rgba(var(--hf-color-foreground-base), .1);
		opacity: .7;
	}

	form > div.input-section:has(&:focus) {
		border-color: rgba(var(--hf-color-accent-base), .6);
	}
}

form > div.input-section {
	display: grid;
	align-items: center;
	grid-template-columns: 1fr 1fr;
	position: relative;
	padding: 10px;
	gap: 5px;
	border: 2px solid transparent;
	transition: .3s ease;
}

@media (max-width: 768px) {
	form {
		display: flex;

		& > div.input-section {
			grid-template-columns: 1fr;
			gap: 0;
		}
	}
}

h2 + hf-article {
	margin-top: -2em;
}