/*
 * Homepage (Divi sections on the "Home Page" page). Uses the tokens from base.css.
 * Each section is a Divi section with an oya-* class (see Pages > Home Page); text, images and links are editable in the builder,
 * the look is set here.
 */

/* ------------------------------------------------------------------ resets */

/* Divi adds percentage padding/margins to sections, rows and modules; the layout here is driven by the tokens in base.css instead. */
.et_pb_section.oya-sec {
	padding: 0;
	font-family: var(--font);
}

.et_pb_section.oya-sec .et_pb_row.oya-row {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
	box-sizing: border-box;
}

.oya-sec .et_pb_column {
	margin-right: 0;
}

.et_pb_section.oya-sec .et_pb_column .et_pb_module {
	margin-bottom: 0 !important;
	margin-right: 0 !important;
}

.oya-sec :where(p, h1, h2, h3, h4, ul, li) {
	margin: 0;
	padding: 0;
	font-family: var(--font);
}

.oya-sec ul {
	list-style: none;
}

.oya-sec :where(p, li) {
	text-wrap: pretty;
}

.oya-sec .et_pb_text_inner {
	font-family: var(--font);
}

.oya-sec img {
	max-width: 100%;
	height: auto;
}

/* ----------------------------------------------------------------- hero */

.et_pb_section.oya-hero {
	display: flex;
	align-items: center;
	min-height: clamp(440px, 43.9vw, 842px);
	background-color: #d9d9d6;
	background-position: 20% center;
}

.oya-hero__copy {
	width: min(640px, 41%);
	margin-left: auto;
	padding-block: clamp(32px, 5vw, 80px);
}

.oya-hero__title {
	margin: 0 0 clamp(16px, 2vw, 32px);
	font-size: clamp(2.75rem, 1.2rem + 6.2vw, 8.25rem);
	line-height: 0.92;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--c-navy);
}

.oya-hero__title span {
	display: block;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.oya-hero__lead {
	max-width: 52ch;
	color: var(--c-ink);
	font-size: clamp(0.9375rem, 0.8rem + 0.35vw, 1.125rem);
	line-height: 1.55;
	font-weight: 500;
}

.oya-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(20px, 2.4vw, 36px);
}

/* ---------------------------------------------------------------- about */

.et_pb_section.oya-about {
	padding-block: var(--section-y);
	background: #fff;
	scroll-margin-top: var(--header-h);
}

.oya-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(24px, 5vw, 96px);
	align-items: center;
}

.oya-about__media {
	display: grid;
	justify-items: center;
}

.oya-about__hippo {
	width: min(100%, 369px);
}

.oya-about__copy .oya-h2 {
	margin: 10px 0 clamp(16px, 2vw, 32px);
}

.oya-about__text {
	max-width: 56ch;
	font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
	line-height: 1.7;
	color: var(--c-ink);
}

.oya-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 24px);
	margin-top: clamp(32px, 4vw, 64px);
}

.oya-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
	border-radius: var(--r-xl);
	background: var(--c-navy);
	color: #fff;
	text-align: center;
}

.oya-tick {
	width: 44px;
	height: 44px;
	margin-bottom: 4px;
}

.oya-feature h3 {
	color: #fff;
	font-size: clamp(0.8125rem, 0.7rem + 0.4vw, 1.0625rem);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.oya-feature p {
	color: #fff;
	font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
	line-height: 1.45;
}

/* ------------------------------------------------------------------ why */

.et_pb_section.oya-why {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(360px, 33vw, 640px);
	padding-block: var(--section-y);
	background-color: #0a0a0a;
	background-position: 70% center;
	isolation: isolate;
}

.oya-why::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 70%);
}

.oya-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	gap: 32px;
	align-items: center;
}

.oya-why__copy .oya-h2 {
	margin: 12px 0 clamp(20px, 2.4vw, 40px);
	max-width: 12ch;
}

.oya-link-yellow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-yellow);
	font-size: var(--fs-md);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.oya-link-yellow svg {
	width: 1.1em;
	height: 1.1em;
}

.oya-link-yellow:hover {
	color: #fff;
}

.oya-why__list {
	display: grid;
	gap: clamp(16px, 2.4vw, 40px);
}

.oya-why__list li {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.4vw, 20px);
	color: #fff;
}

.oya-why__ico {
	flex: none;
	width: clamp(40px, 3.6vw, 60px);
	height: auto;
	color: #fff;
}

.oya-why__list span {
	max-width: 11ch;
	font-size: clamp(1rem, 0.8rem + 0.9vw, 1.625rem);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------- range */

.et_pb_section.oya-range {
	padding-block: var(--section-y);
	background: var(--c-grey);
}

.oya-range .oya-h2--grey {
	margin: 8px 0 clamp(24px, 3vw, 48px);
}

.oya-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 24px);
}

.oya-cat a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(8px, 1.4vw, 20px);
	height: 100%;
	box-sizing: border-box;
	padding: clamp(16px, 2.4vw, 40px) 16px clamp(16px, 2vw, 32px);
	border-radius: clamp(24px, 3vw, 44px);
	background: #fff;
	color: var(--c-navy);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.oya-cat a:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.oya-cat__media {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 4 / 3;
}

.oya-cat__media img {
	width: auto;
	max-width: 70%;
	max-height: 100%;
	object-fit: contain;
}

.oya-cat__name {
	font-size: clamp(0.875rem, 0.7rem + 0.7vw, 1.375rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
}

/* ------------------------------------------------------------ catalogue */

.et_pb_section.oya-catalogue {
	display: flex;
	align-items: center;
	min-height: clamp(260px, 24vw, 520px);
	padding-block: var(--section-y);
	background-color: #0a0a0a;
	background-position: right center;
}

.oya-catalogue__copy {
	display: grid;
	justify-items: start;
	gap: 14px;
}

.oya-catalogue__copy .oya-h2 {
	font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3.25rem);
	margin-bottom: 8px;
}

/* -------------------------------------------------------------- phones */

@media (max-width: 1100px) {
	.et_pb_section.oya-hero {
		align-items: flex-end;
		min-height: 0;
		background-position: 12% top;
		background-size: auto 62vw;
		background-repeat: no-repeat;
		padding-top: 62vw;
	}

	.oya-hero__copy {
		width: 100%;
		margin: 0;
		padding-block: 28px 40px;
	}

	.oya-hero__title span {
		color: var(--c-navy);
		text-shadow: none;
	}
}

@media (max-width: 900px) {
	.oya-about__grid,
	.oya-why__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.oya-sec .oya-about__hippo {
		max-width: 240px;
	}

	.oya-features {
		grid-template-columns: minmax(0, 1fr);
	}

	.et_pb_section.oya-why {
		background-position: 62% center;
	}

	.oya-why::before {
		background: rgba(0, 0, 0, 0.5);
	}

	.oya-why__list span {
		max-width: none;
	}

	.oya-cats {
		grid-template-columns: minmax(0, 1fr);
		max-width: 420px;
		margin-inline: auto;
	}

	.oya-cat__media {
		aspect-ratio: 16 / 9;
	}

	.et_pb_section.oya-catalogue {
		background-position: 78% center;
	}
}
