.fm-home-main {
	padding-top: 0;
}

.fm-hero,
.fm-ritual-section,
.fm-spotlight {
	width: min(100%, var(--fanmatcher-wide-width));
	margin-inline: auto;
	background: #fff;
}

.fm-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(14rem, .7fr);
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
	min-height: clamp(26rem, 48vw, 42rem);
	padding-block: 4rem;
}

.fm-hero-copy {
	margin: 0;
}

.fm-hero h1 {
	max-width: 11ch;
	font-size: clamp(3rem, 7vw, 6.5rem);
	line-height: 1.05;
	letter-spacing: -.055em;
}

.fm-hero-copy > p:not(.fm-eyebrow) {
	max-width: 42ch;
	font-size: 1.125rem;
}

.fm-eyebrow {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.fm-hero-art {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 24rem;
	justify-self: center;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 48%, var(--fanmatcher-ivory) 0 37%, var(--fanmatcher-sage) 37.5% 69%, transparent 69.5%);
}

.fm-hero-art svg {
	display: block;
	width: 100%;
	stroke: var(--fanmatcher-accent);
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fm-hero-art svg circle {
	stroke: #c9d9cb;
	stroke-width: 1.5;
}

.fm-hero-art svg .fm-hero-leaf-left { fill: #e6eee7; }
.fm-hero-art svg .fm-hero-leaf-right { fill: #f7f4ec; }
.fm-hero-art svg .fm-hero-flower { fill: #c98770; stroke: #c98770; }

.fm-ritual-section {
	padding-block: clamp(2.5rem, 6vw, 5rem);
	border-top: 1px solid #dce6dc;
}

.fm-ritual-section h2,
.fm-spotlight h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.15;
	letter-spacing: -.04em;
}

.fm-ritual-grid {
	display: grid;
	width: 100%;
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.fm-ritual-tile {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	min-height: 10rem;
	padding: 1.5rem;
	border: 1px solid #dce6dc;
	border-radius: 1rem;
	background: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	text-decoration: none;
}

.fm-ritual-tile span:last-child {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: var(--fanmatcher-sage);
	color: var(--fanmatcher-accent);
}

.fm-ritual-tile:hover,
.fm-ritual-tile:focus-visible {
	border-width: 2px;
}

.fm-spotlight {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	padding-block: clamp(3rem, 6vw, 6rem);
	border-top: 1px solid #dce6dc;
}

.fm-spotlight:not(:has(.fm-spotlight-media)) {
	grid-template-columns: 1fr;
}

.fm-spotlight-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 36rem;
	object-fit: cover;
}

.fm-spotlight-copy {
	max-width: 42rem;
}

.fm-page-main,
.fm-search-main,
.fm-not-found {
	min-height: 45vh;
}

.fm-page-main > .wp-block-post-content {
	width: 100%;
}

.fm-empty-search {
	padding-block: 2rem;
	border-top: 1px solid var(--fanmatcher-accent);
}

@media (max-width: 48rem) {
	.fm-hero,
	.fm-spotlight {
		grid-template-columns: 1fr;
	}

	.fm-hero {
		min-height: auto;
		padding-block: 3rem;
	}

	.fm-hero-art {
		max-width: 16rem;
	}

	.fm-ritual-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 34rem) {
	.fm-ritual-grid {
		grid-template-columns: 1fr;
	}
}
