/* Homepage. Tokens from base.css only. */

.home { min-height: 0; }

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 480px; overflow: hidden; background: var(--c-cream); color: #fff; }
.hero__media, .hero__media picture, .hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img, .hero__video, .hero__media picture img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 45%);
}
.hero__caption {
	position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--s-8); z-index: 1;
	display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1);
}
.hero__title { color: #fff; font-size: var(--fs-l); letter-spacing: .12em; max-width: 30ch; }
.hero__link { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 990px) {
	.hero { height: 92vh; }
	.hero__caption { bottom: var(--s-12); left: var(--gutter); }
	.hero__title { font-size: var(--fs-xl); }
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* Banners ------------------------------------------------------------------- */
.banners { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); margin-top: var(--grid-gap); }
@media (min-width: 750px) { .banners { grid-template-columns: 1fr 1fr; } }
.banner { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-cream); color: #fff; }
.banner:hover { text-decoration: none; }
.banner__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.banner:hover .banner__img { transform: scale(1.03); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 35%); pointer-events: none; }
.banner__label {
	position: absolute; left: 0; right: 0; bottom: var(--s-8); z-index: 1; text-align: center;
	font-size: var(--fs-l); letter-spacing: .16em;
	text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

/* Section head + product rails (new arrivals, best sellers) ------------------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s-6); }
.arrivals .product-grid, .bestsellers .product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap); }
@media (min-width: 990px) { .arrivals .product-grid, .bestsellers .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* Sustainability ------------------------------------------------------------- */
.sust { position: relative; margin-top: var(--grid-gap); overflow: hidden; background: var(--c-cream); color: #fff; aspect-ratio: 4 / 5; }
.sust__media, .sust__media picture, .sust__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sust__img, .sust__media picture img { width: 100%; height: 100%; object-fit: cover; }
.sust__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); pointer-events: none; }
.sust__caption {
	position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: var(--s-4); padding: var(--s-6) var(--gutter); text-align: center;
}
.sust__title { color: #fff; }
.sust__text { max-width: 44ch; font-size: var(--fs-l); font-weight: var(--fw-light); }
@media (min-width: 750px) { .sust { aspect-ratio: 16 / 7; } }

