/* Approved homepage typography. Animation timelines remain unchanged. */
/* stylelint-disable selector-class-pattern -- Existing theme hooks. */
body.home {
	--rc-section-heading-size: min(var(--wp--preset--font-size--display), 5.5rem);
	--rc-section-heading-gap: var(--wp--preset--spacing--card-gap-large);
}

/* Existing text accents keep their geometry and motion; only the ink changes. */
body.home #rent-club-valera .library-title em,
body.home .hero__title .hero__title-together {
	color: var(--wp--preset--color--heading-highlight);
}

body.home .rent-club-main :is(
	.rent-club-cases__title,
	.rent-club-process .rent-club-process__title,
	.rent-club-community__title,
	.rent-club-goals__title,
	.rent-club-reviews__title,
	.rent-club-faq__title,
	.rent-club-blog__title
),
body.home #rent-club-program.rc-monthly-program #program-title {
	max-width: 26ch;
	margin-inline: auto;
	font-size: var(--rc-section-heading-size);
	font-weight: 750 !important;
	line-height: 1.1;
	letter-spacing: -0.045em;
	text-align: center;
	text-transform: none;
	text-wrap: balance;
}

body.home .rent-club-main .rc-heading-accent {
	display: inline-flex;
	padding: 0.055em 0.28em 0.09em;
	border-radius: 999px;
	align-items: center;
	background: var(--wp--preset--color--heading-highlight);
	color: var(--wp--preset--color--paper-white);
	font-size: 0.88em;
	font-weight: 550;
	line-height: 1;
	letter-spacing: -0.045em;
	vertical-align: 0.025em;
	white-space: nowrap;
}

body.home .rent-club-main :is(
	.rent-club-cases__intro,
	.rent-club-process .rent-club-process__intro,
	.rent-club-community__intro,
	.rent-club-goals__intro,
	.rent-club-reviews__header,
	.rent-club-faq__header,
	.rent-club-blog__header
),
body.home #rent-club-program.rc-monthly-program .program-intro {
	display: grid;
	min-height: 0;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--rc-section-heading-gap);
	justify-items: center;
	text-align: center;
}

/* Each label belongs to its heading, not to the former side column. */
body.home .rent-club-main :is(
	.rent-club-goals__intro,
	.rent-club-reviews__header
) > .rent-club-section-label,
body.home #rent-club-program .program-label {
	grid-column: 1 / -1;
	margin: 0;
	text-align: center;
}

body.home .rent-club-process .rent-club-process__intro-main,
body.home #rent-club-program .program-intro > div {
	display: grid;
	width: 100%;
	grid-column: 1 / -1;
	gap: var(--rc-section-heading-gap);
	justify-items: center;
}

body.home .rent-club-main :is(
	.rent-club-cases__description,
	.rent-club-process .rent-club-process__description,
	.rent-club-community__description,
	.rent-club-goals__description,
	.rent-club-blog__description
),
body.home #rent-club-program.rc-monthly-program .program-intro-copy {
	max-width: 58ch;
	margin-inline: auto;
	text-align: center;
}

body.home .rent-club-main :is(
	.rent-club-goals__lead,
	.rent-club-blog__summary
),
body.home #rent-club-program.rc-monthly-program .program-intro > div {
	margin-inline: auto;
}

/* Center the supporting group; keep questions and card content left-aligned. */
body.home .rent-club-main :is(
	.rent-club-blog__summary,
	.rent-club-faq__cta
) {
	display: flex;
	max-width: 58ch;
	margin: 0 auto;
	padding: 0;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--card-gap-large);
}

body.home .rent-club-main :is(
	.rent-club-blog__button,
	.rent-club-faq__button,
	.rent-club-faq__cta-copy
) {
	margin: 0;
}

body.home .rent-club-main .rent-club-faq__cta-copy {
	text-align: center;
}

/* The blog changes its surface while scrolling; its copy follows that color. */
body.home .rent-club-main .rent-club-blog .rent-club-blog__description {
	color: inherit;
}

body.home .rent-club-main .rent-club-faq__cta {
	gap: var(--wp--preset--spacing--card-gap);
}

body.home .rent-club-main [data-rc-cta-position="after-content"] {
	grid-column: 1 / -1;
	margin: var(--wp--preset--spacing--card-gap-large) auto 0;
	flex-shrink: 0;
}

/* FAQ keeps its editorial side column on desktop; mobile reading order is unchanged. */
@media (min-width: 1024px) {

	body.home .rent-club-main .rent-club-faq {
		grid-template-rows: auto 1fr;
	}

	body.home .rent-club-main .rent-club-faq .rent-club-faq__header {
		grid-column: 1 / span 5;
		grid-row: 1;
		justify-items: start;
		text-align: left;
	}

	body.home .rent-club-main .rent-club-faq .rent-club-faq__title {
		max-width: 100%;
		margin: 0;
		font-size: var(--wp--preset--font-size--heading-xl);
		text-align: left;
		text-wrap: initial;
	}

	body.home .rent-club-main .rent-club-faq__list {
		grid-column: 7 / -1;
		grid-row: 1 / span 2;
	}

	body.home .rent-club-main .rent-club-faq__cta {
		grid-column: 1 / span 5;
		grid-row: 2;
		align-self: end;
		align-items: flex-start;
		margin: var(--wp--preset--spacing--card-gap-large) 0 0;
	}

	body.home .rent-club-main .rent-club-faq__cta-copy {
		text-align: left;
	}
}

@media (max-width: 767px) {

	body.home {
		--rc-section-heading-size: var(--wp--preset--font-size--heading-xl);
	}
}

/* Approved recordings-to-Game transition, 2026-10-18. */
body.home .rent-club-main #rent-club-game { margin-block-start: 0 !important; margin-top: 0 !important; }
body.home .rent-club-main #rent-club-game-title { font-size: min(calc(var(--wp--preset--font-size--display) * 1.12), 5.5rem); }
