.page-template-page-about {
	background: #042720;
}

.page-template-page-about {
	margin-bottom: 0;
}

.page-template-page-about .coffilia-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 10;
	color: #fffef4;
}

.coffilia-about {
	margin: 0;
	background: #042720;
	color: #fffef4;
	overflow: hidden;
}

.about-hero-intro {
	position: relative;
	background-color: #042720;
	background-image: var(--about-harvest-image);
	background-position: center var(--about-parallax-offset, 0px);
	background-size: cover;
	background-repeat: no-repeat;
}

.about-hero-intro::before {
	position: absolute;
	inset: 0;
	background: rgba(4, 39, 32, .59);
	content: "";
	pointer-events: none;
}

.about-hero {
	position: relative;
	padding: 13.875rem 1.5rem 0;
	z-index: 1;
}

.about-hero__wash {
	display: none;
}

.about-hero__media {
	position: relative;
	width: min(63.5rem, 100%);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 1.625rem;
	background: #0b382f;
	aspect-ratio: 1016 / 616;
	box-shadow: 0 2rem 5rem rgba(0, 0, 0, .18);
}

.about-hero__poster,
.about-hero__poster img,
.about-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.about-hero__poster {
	background-color: #0b382f;
	background-position: center;
	background-size: cover;
}

.about-hero__poster img {
	object-fit: cover;
	opacity: .92;
}

.about-hero__video {
	z-index: 1;
	border: 0;
	opacity: 0;
	transition: opacity .45s ease;
}

.about-hero__video.is-active {
	opacity: 1;
}

.about-hero__video-link {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	z-index: 2;
	padding: .75rem 1rem;
	background: #fffef4;
	color: #042720;
	text-decoration: none;
}

.about-intro {
	position: relative;
	padding: 9.5rem 1.5rem 9.75rem;
	z-index: 1;
}

.about-intro__inner {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 2.5rem;
	align-items: center;
	width: min(63rem, 100%);
	min-height: 19.8125rem;
	margin: 0 auto;
}

.about-intro__pattern {
	position: absolute;
	width: 12.625rem;
	height: 10.75rem;
	object-fit: cover;
	opacity: .6;
	pointer-events: none;
}

.about-intro__pattern--right {
	top: 1.5rem;
	right: 8%;
}

.about-intro__pattern--left {
	bottom: 1rem;
	left: 7.5%;
}

.about-intro__title {
	max-width: 15rem;
	margin: 0;
	color: #fffef4;
	font-size: clamp(2.75rem, 3.34vw, 3rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.14;
}

.about-intro__body {
	max-width: 33.5rem;
	color: rgba(255, 254, 244, .88);
	font-size: clamp(1.125rem, 1.4vw, 1.25rem);
	font-weight: 400;
	line-height: 1.45;
}

.about-intro__body p,
.about-story__body p,
.about-contact__body p {
	margin: 0 0 1rem;
}

.about-intro__body p:last-child,
.about-story__body p:last-child,
.about-contact__body p:last-child {
	margin-bottom: 0;
}

.about-stories {
	background: #06a17a;
	color: #fffef4;
}

.about-story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 45rem;
	overflow: hidden;
}

.about-story__media {
	position: relative;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: #0b382f;
}

html.js [data-about-reveal] {
	opacity: 0;
	transform: translateY(2rem);
	transition: opacity .7s ease, transform .7s ease;
}

html.js [data-about-reveal="content"] {
	transition-delay: .2s;
}

html.js [data-about-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.about-story__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.about-story__media:hover img,
.about-story__media:focus-within img {
	transform: scale(1.04);
}

.about-story__content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 6rem clamp(2rem, 8.5vw, 7.5rem);
	text-align: center;
}

.about-story--image-right .about-story__media {
	grid-column: 2;
}

.about-story--image-right .about-story__content {
	grid-column: 1;
	grid-row: 1;
}

.about-story__title {
	max-width: 31rem;
	margin: 0 0 2rem;
	font-size: clamp(2.75rem, 3.34vw, 3rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.05;
}

.about-story__body {
	max-width: 31rem;
	font-size: clamp(1.125rem, 1.4vw, 1.25rem);
	line-height: 1.45;
}

.about-contact {
	position: relative;
	height: 31.625rem;
	background-color: #042720;
	background-image: url("../../images/about/pattern.png");
	background-position: center;
	background-size: cover;
	color: #fffef4;
}

.about-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 30rem) minmax(0, 26.875rem);
	gap: 4rem;
	align-items: center;
	width: min(64rem, calc(100% - 3rem));
	height: 31.625rem;
	min-height: 0;
	margin: 0 auto;
	padding: 5rem 0;
}

.about-contact__copy {
	position: relative;
}

.about-contact__title {
	max-width: 30rem;
	margin: 0;
	font-size: clamp(3.75rem, 6.67vw, 6rem);
	font-weight: 400;
	letter-spacing: -.03em;
	line-height: normal;
	white-space: normal;
}

.about-contact__title-line {
	display: block;
	white-space: nowrap;
}

.about-contact__title-line:nth-child(2) {
	margin-left: 6rem;
}

.about-contact__title-logo {
	display: inline-block;
	width: 6rem;
	height: 6rem;
	margin: 0 -.08em 0 -.03em;
	vertical-align: -.16em;
	object-fit: contain;
	animation: about-globe-spin 16s linear infinite;
}

@keyframes about-globe-spin {
	to { transform: rotate(360deg); }
}

.about-contact__flower {
	position: absolute;
	top: 2rem;
	right: -1rem;
	width: 10.5rem;
	height: 9rem;
	object-fit: cover;
	opacity: .7;
	pointer-events: none;
}

.about-contact__body {
	margin-top: 2rem;
	color: rgba(255, 254, 244, .86);
	font-size: 1rem;
}

.about-contact .contact-section {
	margin: 0;
}

.about-contact .contact-form {
	width: 100%;
}

.coffilia-native-contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	row-gap: 2rem;
	column-gap: 1rem;
}

.coffilia-native-contact-form__field {
	margin: 0;
}

.coffilia-native-contact-form__field--name,
.coffilia-native-contact-form__field--message {
	grid-column: 1 / -1;
}

.coffilia-native-contact-form__field--email {
	grid-column: 1;
}

.coffilia-native-contact-form__field--phone {
	grid-column: 2;
}

.coffilia-native-contact-form__field label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.coffilia-native-contact-form__field input,
.coffilia-native-contact-form__field textarea {
	display: block;
	width: 100%;
	padding: .75rem 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 254, 244, .8);
	border-radius: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	color: #fffef4 !important;
	-webkit-text-fill-color: #fffef4;
	caret-color: #fffef4;
	font: inherit;
	font-size: .9375rem;
}

.coffilia-native-contact-form__field textarea {
	min-height: 6.5rem;
	resize: vertical;
}

.coffilia-native-contact-form__field input::placeholder,
.coffilia-native-contact-form__field textarea::placeholder {
	color: rgba(255, 254, 244, .85);
	opacity: 1;
}

.coffilia-native-contact-form__submit {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .75rem;
	grid-column: 1 / -1;
	margin: .25rem 0 0;
}

.coffilia-native-contact-form__submit .wpcf7-spinner {
	order: -1;
	margin: 0;
}

.coffilia-native-contact-form__submit input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	min-width: 6.25rem;
	padding: .45rem 1.25rem;
	border: 1px solid #fffef4;
	border-radius: 999px;
	background: transparent;
	color: #fffef4;
	cursor: pointer;
	font: inherit;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
}

.coffilia-native-contact-form__submit input[type="submit"]:hover,
.coffilia-native-contact-form__submit input[type="submit"]:focus-visible {
	background: #06a17a;
	color: #fffef4;
}

.about-contact .coffilia-native-contact-form__field .wpcf7-not-valid-tip {
	display: block;
	margin-top: .25rem;
	color: #fffef4;
	font-size: .6875rem;
	line-height: 1.2;
	white-space: nowrap;
}

.about-contact .coffilia-native-contact-form__field input.wpcf7-not-valid,
.about-contact .coffilia-native-contact-form__field textarea.wpcf7-not-valid {
	border-bottom-color: rgba(255, 254, 244, .8) !important;
}

.about-contact .coffilia-native-contact-form .wpcf7-response-output {
	grid-column: 1 / -1;
	justify-self: end;
	width: 100%;
	margin: .25rem 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fffef4;
	font-size: .6875rem;
	line-height: 1.2;
	text-align: right;
	white-space: nowrap;
}

.page-template-page-about .coffilia-footer {
	position: relative;
	margin: 0;
	background: #042720;
	color: #fffef4;
}

.page-template-page-about .coffilia-footer a {
	color: inherit;
}

.page-template-page-about .coffilia-footer__brand img,
.page-template-page-about .coffilia-footer__brand .custom-logo {
	width: auto;
	height: auto;
	max-width: 14.5625rem;
	max-height: 6.875rem;
}

.page-template-page-about .coffilia-footer__copyright {
	border-color: rgba(255, 254, 244, .35);
}

/* Partners slider: 30% copy / 70% logo grid, six logos per slide. */
.about-partners {
	padding: clamp(4rem, 7vw, 6.5rem) clamp(1.5rem, 9.4vw, 8.5rem);
	background: #fffef4;
	color: #042720;
}

.about-partners__inner {
	display: grid;
	grid-template-columns: 3fr 7fr;
	gap: clamp(2rem, 4vw, 4rem);
	max-width: 90rem;
	margin: 0 auto;
}

.about-partners__title {
	margin: 0 0 2rem;
	color: #042720;
	font-size: clamp(2.75rem, 3.34vw, 3rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.05;
}

.about-partners__body {
	max-width: 24rem;
	color: rgba(4, 39, 32, .82);
	font-size: clamp(1.125rem, 1.4vw, 1.25rem);
	line-height: 1.45;
}

.about-partners__body p {
	margin: 0 0 1rem;
}

.about-partners__body p:last-child {
	margin-bottom: 0;
}

.about-partners__nav {
	display: none;
	justify-content: flex-end;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

html.js .about-partners__nav {
	display: flex;
}

.about-partners__arrow {
	display: grid;
	place-items: center;
	padding: .25rem;
	border: 0;
	background: none;
	color: #042720;
	cursor: pointer;
	transition: opacity .25s ease, transform .25s ease;
}

.about-partners__arrow:hover {
	transform: scale(1.1);
}

.about-partners__arrow:focus-visible {
	outline: 2px solid #009f77;
	outline-offset: 2px;
}

.about-partners__viewport {
	overflow: hidden;
}

/* With JS the pages are stacked in one grid cell; only the active page (and the
   incoming one while sliding) is visible. */
html.js .about-partners__track {
	display: grid;
}

html.js .about-partners__page {
	grid-area: 1 / 1;
}

html.js .about-partners__page:not(.is-active) {
	visibility: hidden;
}

/* Rows of three cells; an incomplete last row is centred rather than left-packed. */
.about-partners__page {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: center;
	min-height: 26rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-partners__item {
	display: grid;
	flex: 0 0 33.3333%;
	place-items: center;
	box-sizing: border-box;
	min-width: 0;
	height: 13rem;
	margin: 0;
	padding: 1rem;
}

.about-partners__link {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.about-partners__logo {
	display: block;
	width: auto;
	max-width: 78%;
	height: auto;
	max-height: 8.5rem;
	object-fit: contain;
}

@media (max-width: 899px) {
	.about-partners {
		padding: 4rem 1.5rem;
	}

	.about-partners__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.about-partners__title {
		margin-bottom: 1.25rem;
	}

	.about-partners__body {
		max-width: 36rem;
	}
}

@media (max-width: 599px) {
	.about-partners__page {
		min-height: 27rem;
	}

	.about-partners__item {
		flex-basis: 50%;
		height: 9rem;
		padding: .5rem;
	}

	.about-partners__logo {
		max-width: 82%;
		max-height: 5.5rem;
	}
}

@media (max-width: 767px) {
	.page-template-page-about .coffilia-header {
		position: relative;
	}

	.about-hero {
		padding: 4rem 1rem 0;
	}

	.about-hero__media {
		border-radius: 1rem;
		aspect-ratio: 16 / 10;
	}

	.about-intro {
		padding: 5rem 1.5rem 6rem;
	}

	.about-intro__inner {
		display: block;
		min-height: 0;
	}

	.about-intro__pattern {
		display: none;
	}

	.about-intro__title {
		margin-bottom: 1.5rem;
		font-size: 2.75rem;
	}

	.about-intro__body,
	.about-story__body {
		font-size: 1.0625rem;
	}

	.about-story,
	.about-story--image-right {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
	}

	.about-story__media,
	.about-story__media img {
		height: auto;
		min-height: 0;
		aspect-ratio: 1 / .86;
	}

	.about-story__media img {
		height: 100%;
	}

	.about-story--image-right .about-story__media,
	.about-story--image-right .about-story__content {
		order: initial;
	}

	.about-story__content {
		min-height: 23rem;
		padding: 4rem 1.5rem;
	}

	.about-story__title {
		font-size: 2.75rem;
	}

	.about-contact__inner {
		display: block;
		width: min(100% - 3rem, 31rem);
		height: auto;
		min-height: 0;
		padding: 5rem 0 4rem;
	}

	.about-contact__title {
		font-size: clamp(3.5rem, 16vw, 5rem);
	}

	.about-contact__title-line:nth-child(2) {
		margin-left: 0;
	}

	.about-contact__title-logo {
		width: 4rem;
		height: 4rem;
		margin: 0;
	}

	.about-contact .contact-form {
		margin-top: 3rem;
	}

	.coffilia-native-contact-form {
		display: block;
	}

	.coffilia-native-contact-form__field {
		margin-bottom: 1.5rem;
	}

	.coffilia-native-contact-form__submit {
		margin-top: 1.5rem;
	}

	.page-template-page-about .coffilia-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-hero__video,
	.about-story__media img,
	[data-about-reveal],
	.about-contact__title-logo,
	.about-partners__arrow {
		transition: none;
		animation: none;
	}

	html.js [data-about-reveal] {
		opacity: 1;
		transform: none;
	}

	.about-hero__video {
		display: none;
	}

	.about-story__media:hover img,
	.about-story__media:focus-within img {
		transform: none;
	}
}
