.ff-home-container {
	width: calc(100% - 60px);
	max-width: 1300px;
	margin: 0 auto;
}

.ff-home-section {
	padding: 72px 0;
}

.ff-home-section--tint {
	background: #f7f5ee;
}

.ff-home-heading {
	margin: 0 0 36px;
	padding: 0;
	color: var(--ff-ink);
	font: 700 38px/1.2 'Playfair Display', Georgia, serif;
	text-align: center;
}

.ff-home-heading--left {
	margin-bottom: 18px;
	text-align: left;
}

.ff-home-text {
	font-size: 16px;
	font-weight: 400;
}

.ff-home-text p {
	margin: 0 0 1em;
	padding: 0;
	font-weight: 400;
}

.ff-home-text--small,
.ff-home-text--small p {
	font-size: 14px;
}


.ff-home-hero {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: min(72vh, 640px);
	padding: 64px 30px;
	overflow: hidden;
	background: var(--ff-ink);
}

.ff-home-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

.ff-home-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ff-home-hero__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	color: #fff;
	text-align: center;
	text-wrap: balance;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.ff-home-hero__eyebrow {
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ff-home-hero__title {
	margin: 0 0 16px;
	padding: 0;
	color: #fff;
	font: 700 52px/1.1 'Playfair Display', Georgia, serif;
}

.ff-home-hero__blurb {
	max-width: 560px;
	margin: 0 auto;
	padding: 0;
	font-size: 18px;
	line-height: 1.6;
}


.ff-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-cat {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background: var(--ff-ink);
}

.ff-cat::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 15, 10, .78), rgba(20, 15, 10, 0) 58%);
}

.ff-cat__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}

.ff-cat:hover .ff-cat__image,
.ff-cat:focus-visible .ff-cat__image {
	transform: scale(1.05);
}

.ff-cat__name {
	position: absolute;
	bottom: 20px;
	left: 22px;
	z-index: 1;
	margin: 0;
	padding: 0;
	color: #fff;
	font: 700 26px/1.2 'Playfair Display', Georgia, serif;
}

.ff-cat__arrow {
	position: absolute;
	right: 26px;
	bottom: 30px;
	z-index: 1;
	width: 10px;
	height: 10px;
	border: solid #fff;
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
	transition: transform .2s;
}

.ff-cat:hover .ff-cat__arrow,
.ff-cat:focus-visible .ff-cat__arrow {
	transform: translateX(5px) rotate(45deg);
}


.ff-home-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.ff-home-split--flip > :first-child {
	order: 2;
}

.ff-home-split__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}


.ff-home-contact {
	padding: 72px 0;
	background: var(--ff-maroon);
	color: #fff;
}

.ff-home-contact .ff-home-heading {
	color: #fff;
}

.ff-home-contact__list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.ff-home-contact__list a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.ff-home-form {
	padding: 28px;
	border-radius: 14px;
	background: #fff;
	color: var(--ff-ink);
}

/* The old Divi page's Custom CSS still prints and sets these labels to #fff !important. */
.ff-home-form #frm_form_2_container.with_frm_style .frm_primary_label {
	color: var(--ff-ink) !important;
}


.ff-modal {
	width: min(560px, 92vw);
	max-height: 88dvh;
	margin: auto;
	padding: 32px 28px 24px;
	overflow-y: auto;
	border: 0;
	border-radius: 14px;
	background: #fff;
	color: var(--ff-ink);
	font-family: 'Open Sans', Arial, sans-serif;
}

.ff-modal::backdrop {
	background: rgba(0, 0, 0, .55);
}

.ff-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 8px;
	border: 0;
	background: none;
	color: var(--ff-stone);
	cursor: pointer;
}

.ff-modal__intro {
	margin: 0 28px 16px 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
}


@media (max-width: 1200px) {
	.ff-home-split {
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.ff-home-container {
		width: auto;
		padding: 0 16px;
	}

	.ff-home-section,
	.ff-home-contact {
		padding: 48px 0;
	}

	.ff-home-heading {
		margin-bottom: 24px;
		font-size: 30px;
	}

	.ff-home-heading--left {
		margin-bottom: 14px;
	}

	.ff-home-hero__title {
		font-size: 38px;
	}

	.ff-home-hero__blurb {
		font-size: 16px;
	}

	.ff-cats {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.ff-cat {
		border-radius: 12px;
	}

	.ff-cat__name {
		right: 28px;
		bottom: 12px;
		left: 14px;
		font-size: 19px;
	}

	.ff-cat__arrow {
		right: 16px;
		bottom: 18px;
		width: 8px;
		height: 8px;
	}

	.ff-home-split {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ff-home-split--flip > :first-child {
		order: 0;
	}

	.ff-home-form {
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.ff-home-hero__eyebrow {
		font-size: 12px;
		letter-spacing: .1em;
	}

	.ff-home-hero__title {
		font-size: 30px;
	}

	.ff-home-hero__blurb {
		font-size: 15px;
	}

	.ff-cat__name {
		font-size: 17px;
	}
}
