@import url("https://use.typekit.net/dta5rlo.css");

:root {
	--site-pad: 32px;
	--primary-font: "jaf-bernina-sans", sans-serif;
	--gray-dark: #303030;
	--gray-light: #ededed;
	--green: #b2d235;
	--red: #ec1c24;
	--blue: #007db9;
	--blue-light: #00bcf1;
	--blue-dark: #003a5d;
}

/* 🔸 Reset  */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

img {
	width: 100%;
	margin: 0;
	display: block;
}
button {
	background: none;
	border: none;
	cursor: pointer;
}

/* 🔸 Typography */

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
a,
q,
span,
button,
input,
textarea,
label,
cite,
table,
details,
:before,
:after {
	font-family: var(--primary-font), sans-serif;
	color: var(--gray-dark);
}
h3{font-weight: 600;}
p {
	font-size: 16px;
	line-height: 1.2;
}

/* 🔸 Utility */

html {
	scroll-behavior: smooth;
}

.container {
	width: 100%;
	max-width: calc(1000px + var(--site-pad) + var(--site-pad));
	margin: 0 auto;
	padding: 0 var(--site-pad);
}
.container-sm {
	width: 100%;
	max-width: calc(900px + var(--site-pad) + var(--site-pad));
	margin: 0 auto;
	padding: 0 var(--site-pad);
}
.hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.btn {
	background: var(--blue);
	display: inline-block;
	color: #fff;
	font-size: 16px;
	line-height: 12px;
	font-weight: 600;
	padding: 10px 14px;
	border-radius: 5px;
	text-decoration: none;
	transition: transform 0.1s ease;

	&:active {
		transform: scale(0.95);
	}

	&:hover {
		background: var(--blue-dark);
	}

	&.red {
		background: var(--red);

		&:hover {
			background: #b11318;
		}
	}
}
.headline {
	font-size: 34px;
	font-weight: 300;
	font-style: italic;
	color: var(--blue-dark);
	line-height: 36px;
	text-wrap: balance;
}
/* 🔸 brand lp (pushing the limits) */
.brand .hero {
	background: url("./img/hero_brand.jpg") center center / cover no-repeat;
	text-align: center;
	padding: 73.6px 0;
}
.brand .hero h1 {
	color: #fff;
	font-weight: 300;
	font-size: 54px;
	line-height: 56px;
	margin: 0 0 16px 0;
	text-wrap: balance;
}
.brand .hero p {
	color: var(--green);
	font-size: 24px;
	line-height: 26px;
	font-weight: 400;
	text-wrap: balance;
}
.brand .people {
	padding: 32px 0;
}
.brand .people .group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	grid-auto-rows: minmax(180px, auto);
	gap: 8px;
}
.brand .people img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.brand .people .card2 {
	grid-column: span 3;
	padding: 16px;
}

.brand .people .card2 .txt {
	max-width: 450px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.brand .person {
	position: relative;
}
.brand .bio {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 125, 185, 0.8);
	padding: 16px;
	font-size: 12.8px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.brand .person:hover .bio {
	opacity: 1;
}
.brand .bio p {
	color: #fff;
	font-size: 12.8px;
	translate: -10px 0;
	transition: opacity 0.3s ease, translate 0.3s ease;
	opacity: 0;
	padding: 0px;
}
.brand .person:hover .bio p {
	translate: 0 0;
	opacity: 1;
}

@media (width <= 700px) {
	.brand .people .group {
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: unset;
	}
}
@media (width <= 501px) {
	.brand .people .card2 {
		grid-column: span 2;
		padding: 16px;
	}
	.brand .people .group {
		grid-template-columns: repeat(2, 1fr);
	}
}
.brand .stories header {
	background: url("./img/bg_success-stories.jpg") center left / cover no-repeat;
	padding: 100px 0;
}
.brand .stories .txt {
	max-width: 50%;
}
.brand .stories .txt h2 {
	color: #fff;
	margin: 0 0 16px 0;
	text-shadow: 1px 1px 2px #131313;
}
.brand .stories .txt p {
	color: #fff;
	font-size: 14px;
	text-shadow: 1px 1px 2px #131313;
}
@media (width <= 750px) {
	.brand .stories .txt {
		max-width: 300px;
		padding: 0;
	}
}
.brand .stories .group {
	display: flex;
	padding: 32px 0;
	gap: 16px;
}
.brand .stories .group article {
	flex: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.brand .stories .group article h3 {
	font-size: 22px;
	color: var(--blue);
	margin: 0 0 16px 0;
}
.brand .stories .group article p {
	font-size: 14px;
	margin: 0 0 16px 0;
	text-wrap: balance;
}
.brand .stories .group article button {
	align-self: center;
}
@media (width <= 750px) {
	.brand .stories .group {
		flex-direction: column;
		gap: 40px;
		max-width: 400px;
		margin: 0 auto;
	}
}
.brand .features {
	background: var(--gray-light);
	padding: 0 0 96px 0;
}
.brand .features header {
	padding: 56px 0;
}
.brand .features header .group {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.brand .features header .txt {
	flex: 2;
}
.brand .features header .ctas {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-end;
}
.brand .features header h2 {
	font-size: 28px;
	margin: 0 0 16px 0;
}
.brand .features header p {
	font-size: 12px;
}
@media (width <= 530px) {
	.brand .features header .group {
		flex-direction: column;
		gap: 32px;
	}
	.brand .features header .ctas {
		flex-direction: row;
		justify-content: center;
	}
}

.brand .features .icons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.brand .features .item {
	text-align: center;
}
.brand .features .icon {
	height: 90px;
	max-width: 90px;
	display: flex;
	margin: 0 auto 16px auto;
	justify-content: center;
}
.brand .features .icon img {
	object-fit: contain;
}
.brand .features h3 {
	font-size: 22px;
	color: var(--blue);
	margin: 0 0 16px 0;
}
.brand .features p {
	font-size: 12px;
}
@media (width <= 700px) {
	.brand .features .icons {
		grid-template-columns: repeat(2, 1fr);
		gap: 48px;
	}
}
@media (width <= 550px) {
	.brand .features .icons {
		grid-template-columns: 1fr;
		max-width: 300px;
		margin: 0 auto;
	}
}
.brand .contact {
	background: linear-gradient(90deg, #b2d235 28.87%, #829d18 127.56%);
	padding: 16px 0 32px;
	position: relative;
}
.brand .contact::before {
	content: "";
	position: absolute;
	top: auto;
	right: 0;
	bottom: calc(100% - 1px);
	left: 0;
	height: 50px;
	clip-path: polygon(0 0, 0% 100%, 105% 100%);
	background: linear-gradient(90deg, #b2d235 28.87%, #829d18 127.56%);
}
.brand .contact p {
	color: var(--blue-dark);
	margin-top: 20px;
}
.brand .contact .group {
	display: flex;
	gap: 32px;
	align-items: center;
}
@media (width <= 600px) {
	.brand .contact .group {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}
}
.popup {
	border: 0;
	margin: auto;
	background: none;
	padding: 40px var(--site-pad);
	width: 100%;
	max-width: calc(1000px + var(--site-pad) + var(--site-pad));
}
.popup .close {
	font-family: sans-serif;
	position: absolute;
	top: 0;
	right: var(--site-pad);
	color: #fff;
	background: var(--blue-light);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	/* padding: 2px 0 0 0; */
}
.popup .close:hover {
	background: var(--green);
}
.popup video,
.popup iframe.youtube-player {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	display: block;
	background: #000;
}
.popup .video-wrapper {
	position: relative;
	overflow: hidden;
}
.popup .video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.popup::backdrop {
	background: rgba(0, 0, 0, 0.8);
}
