/* ==========================================================================
   Why partner with ProHarvest
   Three wide rows between hairlines, not a grid of cards: a numeral, the
   point name and its description side by side on desktop, stacked on small
   screens. Cream background, deep green text, no fills or icons.
   ========================================================================== */

.ph-why {
	--ph-sec-muted: rgb(var(--ph-deep-rgb) / 0.78);
	--ph-sec-line: rgb(var(--ph-deep-rgb) / 0.14);

	padding-block: var(--ph-section-space);
	background: var(--ph-cream); /* alternates with the ivory isolate section above */
	color: var(--ph-deep);
}

/* Head
   ========================================================================== */

.ph-why__head {
	display: grid;
	gap: var(--ph-stack-space);
	justify-items: center; /* section heads are centred on the page */
	text-align: center;
	margin-bottom: var(--ph-block-space);
}

.ph-why__title {
	font-size: var(--ph-fs-h2);
	font-weight: var(--ph-fw-display);
	letter-spacing: -0.022em;
	line-height: 1.08;
	text-wrap: balance;
}

.ph-why__intro {
	max-width: 58ch;
	font-size: var(--ph-fs-lead);
	line-height: 1.6;
	color: var(--ph-sec-muted);
	text-wrap: balance;
}

/* Rows
   ========================================================================== */

.ph-why__list {
	max-width: 60rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--ph-sec-line);
}

.ph-why__item {
	position: relative;
	display: grid;
	grid-template-columns: var(--ph-space-l) minmax(0, 1fr);
	align-items: start;
	gap: var(--ph-space-2xs) var(--ph-space-s);
	padding-block: var(--ph-space-m);
	border-top: 1px solid var(--ph-sec-line);
}

.ph-why__num {
	font-family: var(--ph-font-heading);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	font-weight: var(--ph-fw-heading);
	letter-spacing: -0.01em;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	color: rgb(var(--ph-deep-rgb) / 0.62);
}

.ph-why__name {
	font-size: var(--ph-fs-h3);
	font-weight: var(--ph-fw-heading);
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.ph-why__text {
	grid-column: 2;
	max-width: 52ch;
	font-size: var(--ph-fs-text);
	line-height: 1.6;
	color: var(--ph-sec-muted);
}

/* Desktop: numeral, name and description side by side on one top line. */
@media (min-width: 64rem) {
	.ph-why__item {
		grid-template-columns: var(--ph-space-xl) minmax(0, 15rem) minmax(0, 1fr);
		column-gap: var(--ph-space-m);
	}

	.ph-why__text {
		grid-column: 3;
		padding-top: var(--ph-space-3xs); /* body text sits on the name's top line */
	}
}
