/*
 * home.css — front page, matching the homepage prototype.
 * Depends on the tokens in main.css (and .wfm-pill / .wfm-band__btn
 * from archive.css, which is also enqueued on the front page).
 */

.wfm-home {
	max-width: var(--wfm-max);
	margin: 0 auto;
}


.wfm-highlight--peach {
	background: var(--wfm-peach);
	color: var(--wfm-white);
}

.wfm-highlight--ink {
	background: var(--wfm-ink);
	color: var(--wfm-white);
}

/* Tinted image placeholders */
.wfm-tint--cyan { background: var(--wfm-cyan); }
.wfm-tint--powder { background: var(--wfm-powder); }
.wfm-tint--peach { background: var(--wfm-peach); }

/* ---- Hero ---- */
.wfm-hero {
	padding-top: 56px;
}

.wfm-hero__kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wfm-hero__title {
	margin: 16px 0 0;
	font-size: clamp(48px, 7vw, 96px);
	line-height: 0.96;
	max-width: 1120px;
	text-wrap: pretty;
}

.wfm-hero__title .wfm-highlight {
	padding: 0 0.1em;
}

.wfm-hero__row {
	margin-top: 28px;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 48px;
	align-items: end;
}

.wfm-hero__lede {
	margin: 0;
	font-size: 20px;
	line-height: 1.45;
	max-width: 600px;
}

.wfm-hero__cta {
	display: flex;
	justify-content: flex-end;
}

.wfm-hero__btn {
	padding: 16px 24px;
	background: var(--wfm-ink);
	color: var(--wfm-white);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wfm-hero__btn:hover {
	background: var(--wfm-peach);
	color: var(--wfm-white);
}

.wfm-hero__img {
	margin-top: 36px;
	height: 520px;
	overflow: hidden;
	background: var(--wfm-cyan);
}

.wfm-hero__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Stats band */
.wfm-stats {
	margin-top: 2px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2px;
	background: var(--wfm-ink);
	border: var(--wfm-rule);
}

.wfm-stat {
	background: var(--wfm-white);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wfm-stat:hover {
	background: var(--wfm-cyan);
	color: var(--wfm-ink);
}

.wfm-stat__num {
	font-size: 32px;
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
}

.wfm-stat__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--wfm-slate);
}

/* ---- Trending ---- */
.wfm-trending {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding-top: 22px;
	border-top: var(--wfm-rule);
}

.wfm-trend {
	display: flex;
	gap: 14px;
	align-items: center;
}

.wfm-trend__thumb {
	flex: none;
	width: 72px;
	height: 72px;
	overflow: hidden;
}

.wfm-trend__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wfm-trend__title {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* ---- Section head ---- */
.wfm-sect {
	padding-top: 96px;
}

.wfm-sect__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.wfm-sect__title {
	margin: 0;
	font-size: 56px;
	line-height: 1;
}



/* ---- Latest ---- */
.wfm-latest {
	margin-top: 36px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.wfm-story__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 16px;
}

.wfm-story__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wfm-story__title {
	margin: 8px 0 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.wfm-story__title .wfm-highlight {
	padding: 0 0.12em;
}

.wfm-story__meta {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--wfm-slate);
}

/* ---- Find it in band ---- */
.wfm-findband {
	margin-top: 96px;
	padding: 56px 0;
	border-top: var(--wfm-rule);
	border-bottom: var(--wfm-rule);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	align-items: center;
}

.wfm-findband__title {
	margin: 0;
	font-size: 64px;
	line-height: 0.98;
}

.wfm-findband__title .wfm-highlight--peach {
	padding: 0 0.1em;
}

.wfm-findband__sub {
	margin: 16px 0 0;
	font-size: 18px;
	max-width: 440px;
	line-height: 1.45;
}

.wfm-findband__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ---- Eat & Drink feature ---- */
.wfm-feature {
	margin-top: 36px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.wfm-feature__img {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	margin-bottom: 16px;
}

.wfm-feature__img img,
.wfm-feature__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wfm-feature__title {
	margin: 8px 0 0;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.wfm-feature__title .wfm-highlight,
.wfm-feature__rowtitle .wfm-highlight {
	padding: 0 0.12em;
}

.wfm-feature__dek {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.5;
}

.wfm-feature__stack {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 28px;
}

.wfm-feature__row {
	display: flex;
	gap: 22px;
}

.wfm-feature__thumb {
	flex: none;
	width: 200px;
	aspect-ratio: 1;
	overflow: hidden;
}

.wfm-feature__rowtitle {
	margin: 8px 0 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

/* ---- Home events ---- */
.wfm-homeevents {
	padding-top: 96px;
}


.wfm-homeevents__list {
	display: flex;
	flex-direction: column;
	border-top: var(--wfm-rule);
	margin-top: 36px;
}

.wfm-homeevent {
	display: grid;
	grid-template-columns: 120px 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 24px 0;
	border-bottom: 1px solid var(--wfm-powder);
}

.wfm-homeevent:last-child {
	border-bottom: 0;
}

.wfm-homeevent__day {
	font-size: 56px;
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
}

.wfm-homeevent__day small {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-left: 6px;
}

.wfm-homeevent__title {
	display: block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.wfm-homeevent__title .wfm-highlight {
	padding: 0 0.12em;
}

.wfm-homeevent__meta {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: var(--wfm-slate);
}

.wfm-homeevent__arrow {
	font-size: 13px;
	font-weight: 700;
}

/* ---- Get listed band ---- */
.wfm-getlisted {
	margin: 96px 0 0;
	padding: 56px;
	background: var(--wfm-powder);
}

.wfm-getlisted__title {
	margin: 0;
	font-size: 56px;
	line-height: 0.98;
}

.wfm-getlisted__title .wfm-highlight--ink {
	padding: 0 0.1em;
}

.wfm-getlisted__sub {
	margin: 16px 0 0;
	font-size: 18px;
	line-height: 1.45;
	max-width: 480px;
}

.wfm-getlisted__actions {
	margin-top: 26px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

@media (max-width: 900px) {
	.wfm-hero__row,
	.wfm-findband,
	.wfm-feature,
	.wfm-hero__cta {
		justify-content: flex-start;
	}

	.wfm-hero__img {
		height: 300px;
	}

	.wfm-stats,
	.wfm-trending {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wfm-latest {
		grid-template-columns: 1fr;
	}

	.wfm-sect__title,
	.wfm-findband__title,
	.wfm-getlisted__title {
		font-size: 38px;
	}

	.wfm-homeevent {
		grid-template-columns: 84px 1fr auto;
	}

	.wfm-homeevent__day {
		font-size: 40px;
	}

	.wfm-feature__thumb {
		width: 120px;
	}

	.wfm-getlisted {
		padding: 40px 24px;
	}
}

@media (max-width: 560px) {
	.wfm-stats,
	.wfm-trending {
		grid-template-columns: 1fr;
	}
}
