/* ==========================================================================
   Home page sections: category tiles, newsletter banner, Shop the look.
   Sit between the hero and "Latest on the blog."
   ========================================================================== */

/* ---------- Category tiles ---------- */
.wyh-tiles {
	background: var(--wyh-cream-bg, #f1eee9);
	padding: 24px 16px;
}

.wyh-tiles__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

/* Each tile: photo, with a dark label bar sitting over its bottom edge */
.wyh-tile {
	position: relative;
	display: block;
	padding-bottom: 18px;
	text-decoration: none;
	color: inherit;
}

.wyh-tile__photo {
	display: block;
	aspect-ratio: 4 / 5;
	background-color: #9c8f7e;
	background-size: cover;
	background-position: center;
}

.wyh-tile__label {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	white-space: nowrap;
	padding: 8px 14px;
	background: var(--wyh-ink, #1a1814);
	color: #faf9f8;
	font-family: var(--wyh-font-display, 'Playfair Display', Georgia, serif);
	font-size: 16px;
	line-height: 1.2;
}

.wyh-tile:hover .wyh-tile__label,
.wyh-tile:focus-visible .wyh-tile__label {
	background: var(--wyh-button-bg, #5e554a);
}

/* ---------- Newsletter banner ---------- */
.wyh-signup-banner {
	background: var(--wyh-footer-bg, #5e554a);
	padding: 32px 20px;
	text-align: center;
	color: #ffffff;
}

.wyh-signup-banner__eyebrow {
	margin: 0 0 8px;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.wyh-signup-banner__title {
	margin: 0 0 12px;
	font-family: var(--wyh-font-display, 'Playfair Display', Georgia, serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
}

.wyh-signup-banner__text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.wyh-signup-banner__form {
	display: flex;
}

.wyh-signup-banner__input {
	flex: 1;
	min-width: 0;
	padding: 12px 10px;
	border: 0.5px solid #cfc8bb;
	background: #ffffff;
	font-family: var(--wyh-font-ui, 'Jost', Helvetica, Arial, sans-serif);
	font-size: 12px;
	color: var(--wyh-ink, #1a1814);
}

.wyh-signup-banner__submit {
	padding: 12px 14px;
	border: 0;
	background: var(--wyh-ink, #1a1814);
	color: #ffffff;
	font-family: var(--wyh-font-ui, 'Jost', Helvetica, Arial, sans-serif);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ---------- Shop the look ---------- */
.wyh-shop {
	background: #ffffff;
	padding: 28px 16px;
}

.wyh-shop__title {
	margin: 0 0 18px;
	font-family: var(--wyh-font-display, 'Playfair Display', Georgia, serif);
	font-size: 22px;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	color: #5a4f44;
}

.wyh-shop__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 10px;
}

.wyh-shop__photo {
	display: block;
	aspect-ratio: 1 / 1;
	background: #d9d1c3;
	overflow: hidden;
}

.wyh-shop__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wyh-shop__name {
	margin: 8px 0 2px;
	font-size: 12px;
	text-align: center;
}

.wyh-shop__link {
	display: block;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	color: var(--wyh-ink, #1a1814);
}

.wyh-shop__link:hover,
.wyh-shop__link:focus-visible {
	color: var(--wyh-gold, #c4a882);
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	.wyh-tiles {
		padding: 40px 40px;
	}

	.wyh-tiles__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}

	.wyh-tile__label {
		font-size: 20px;
		padding: 10px 18px;
	}

	.wyh-signup-banner {
		padding: 56px 40px;
	}

	.wyh-signup-banner__title {
		font-size: 34px;
	}

	.wyh-signup-banner__text {
		font-size: 16px;
	}

	.wyh-signup-banner__form {
		max-width: 480px;
		margin: 0 auto;
	}

	.wyh-signup-banner__input {
		padding: 14px;
		font-size: 14px;
	}

	.wyh-signup-banner__submit {
		padding: 14px 22px;
		font-size: 12px;
	}

	.wyh-shop {
		padding: 56px 40px;
	}

	.wyh-shop__title {
		font-size: 30px;
		margin-bottom: 28px;
	}

	.wyh-shop__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}

	.wyh-shop__name {
		font-size: 14px;
	}

	.wyh-shop__link {
		font-size: 11px;
	}
}
