/**
 * Homepage — sections: hero, products, editorial, testimonial, newsletter (top promo bar is global above navbar)
 * Tight, minimal, black/white/off-white. Editorial face: --font-editorial in tokens.css + head.php.
 */

/* ---------- Homepage sections: always visible (scroll-in opacity:0 hid all content below a collapsed hero or until scroll) ---------- */
.homepage .section-reveal {
	opacity: 1;
	transform: none;
}

/* ---------- 1. Hero: 100vh, black, centered editorial ---------- */
.homepage .index-hero {
	height: 100vh;
	min-height: 400px;
	background: var(--black);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	text-align: center;
	padding: 72px 24px 80px;
	box-sizing: border-box;
}
.index-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 900px;
}
.index-hero-label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 20px;
	opacity: 0;
	animation: fadeUp 0.6s ease-out 0s forwards;
}
.index-hero-image-wrap {
	margin: 0 0 24px;
	max-width: 320px;
	opacity: 0;
	animation: fadeUp 0.6s ease-out 0.1s forwards;
}
.index-hero-image-wrap img {
	width: 100%;
	height: auto;
	display: block;
	mix-blend-mode: screen;
}
.index-hero-title {
	font-family: var(--font-editorial);
	font-size: 72px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.1;
	color: var(--white);
	margin: 0 0 16px;
	opacity: 0;
	animation: fadeUp 0.6s ease-out 0.15s forwards;
}
.index-hero-title-line2 {
	display: block;
}
.index-hero-subtitle {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 32px;
	opacity: 0;
	animation: fadeUp 0.6s ease-out 0.28s forwards;
}
.index-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	opacity: 0;
	animation: fadeUp 0.6s ease-out 0.4s forwards;
}
.index-hero-btn-primary {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--black);
	background: var(--white);
	border: none;
	padding: 18px 28px;
	position: relative;
	overflow: hidden;
	transition: color 0.25s ease;
	text-decoration: none;
}
.index-hero-btn-primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s ease;
	pointer-events: none;
}
.index-hero-btn-primary:hover::after {
	transform: scaleX(1);
}
.index-hero-btn-primary:hover {
	color: var(--black);
}
.index-hero-btn-ghost {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--white);
	background: transparent;
	border: 1px solid var(--white);
	padding: 18px 28px;
	text-decoration: none;
	transition: opacity 0.25s ease, border-color 0.25s ease;
}
.index-hero-btn-ghost:hover {
	opacity: 0.9;
	border-color: var(--white);
	color: var(--white);
}
.index-hero-scroll {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 40px;
	background: var(--white);
	opacity: 0.7;
	overflow: hidden;
}
.index-hero-scroll::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: var(--white);
	animation: index-scroll-pulse 1.5s ease-in-out infinite;
}
@keyframes index-scroll-pulse {
	0% { transform: translateY(-100%); opacity: 0; }
	50% { opacity: 1; }
	100% { transform: translateY(40px); opacity: 0; }
}

@media (max-width: 767px) {
	.index-hero-title {
		font-size: 42px;
	}
	.index-hero-image-wrap {
		max-width: 220px;
	}
}

/* ---------- 2. Product grid: New Arrivals ---------- */
.index-products {
	background: var(--white);
	padding: 56px 56px 64px;
}
.index-products-head {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 24px;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}
.index-products-title {
	font-family: var(--font-editorial);
	font-size: 36px;
	font-weight: 400;
	color: var(--text-main);
	margin: 0;
}
.index-products-viewall {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-main);
	text-decoration: none;
	transition: color 0.2s ease;
}
.index-products-viewall:hover {
	color: var(--black);
}
/* New Arrivals: same grid shell as products listing (products.css .products-grid-wrap / .products-grid) */
.index-products .products-grid-wrap {
	max-width: none;
	margin: 0 auto;
}
@media (max-width: 575px) {
	.index-products {
		padding: 40px 20px 48px;
	}
	.index-products-head {
		padding: 0 20px;
	}
}

/* Reuse products.css card style on homepage — off-white image, hover zoom, add strip, Cormorant name */
.index-products .products-card-image-wrap {
	background: var(--off-white);
}
.index-products .products-card-name,
.index-products .products-card-name a {
	font-family: var(--font-editorial);
	font-size: 18px;
	font-weight: 400;
}
.index-products a {
	color: inherit;
}
.index-products a:hover {
	color: var(--black);
}

/* Keep Add-to-Cart strip text readable on hover/focus (override generic link hover) */
.index-products .products-card-addstrip,
.index-products .products-card-addstrip:hover,
.index-products .products-card-addstrip:focus,
.index-products .products-card-addstrip:active {
	color: #ffffff !important;
}

/* ---------- 3b. Category rails (under New Arrivals) ---------- */
.index-cat-showcases {
	background: var(--off-white);
	padding: 56px 56px 64px;
	border-top: 1px solid var(--border);
}
.index-cat-showcases-inner {
	max-width: none;
	margin: 0 auto;
}
.index-cat-showcases-title {
	font-family: var(--font-editorial);
	font-size: 36px;
	font-weight: 400;
	color: var(--text-main);
	margin: 0 0 40px;
	text-align: center;
}
.index-cat-showcase {
	margin-bottom: 48px;
}
.index-cat-showcase:last-child {
	margin-bottom: 0;
}
.index-cat-showcase-head {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}
.index-cat-showcase-title {
	font-family: var(--font-editorial);
	font-size: 28px;
	font-weight: 400;
	color: var(--text-main);
	margin: 0;
}
.index-cat-showcase-viewall {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-main);
	text-decoration: none;
	transition: color 0.2s ease;
	flex-shrink: 0;
	margin-left: 16px;
}
.index-cat-showcase-viewall:hover {
	color: var(--black);
}
@media (max-width: 575px) {
	.index-cat-showcases {
		padding: 40px 20px 48px;
	}
	.index-cat-showcases-title {
		font-size: 28px;
		margin-bottom: 32px;
	}
	.index-cat-showcase-head {
		padding: 0 4px;
	}
	.index-cat-showcase-title {
		font-size: 22px;
	}
}

/* Same card treatment as New Arrivals */
.index-cat-showcases .products-card-image-wrap {
	background: var(--off-white);
}
.index-cat-showcases .products-card-name,
.index-cat-showcases .products-card-name a {
	font-family: var(--font-editorial);
	font-size: 18px;
	font-weight: 400;
}
.index-cat-showcases a {
	color: inherit;
}
.index-cat-showcases a:hover {
	color: var(--black);
}
.index-cat-showcases .products-card-addstrip,
.index-cat-showcases .products-card-addstrip:hover,
.index-cat-showcases .products-card-addstrip:focus,
.index-cat-showcases .products-card-addstrip:active {
	color: #ffffff !important;
}

/* ---------- 4. Men / Women category images ---------- */
.index-categories {
	background: var(--white);
	padding: 0;
	overflow: hidden;
}
.index-categories-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.index-cat-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}
.index-cat-image-wrap {
	position: absolute;
	inset: 0;
	background: var(--off-white);
}
.index-cat-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.index-cat-tile:hover .index-cat-image {
	transform: scale(1.05);
}
.index-cat-label {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--white);
	background: var(--black);
	padding: 14px 24px;
	transition: opacity 0.2s ease;
}
.index-cat-tile:hover .index-cat-label {
	opacity: 0.95;
}
@media (max-width: 767px) {
	.index-categories-inner {
		grid-template-columns: 1fr;
	}
	.index-cat-tile {
		aspect-ratio: 3 / 2;
	}
}

/* ---------- 5. The Collection: 50/50 grid ---------- */
.index-editorial {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 520px;
	background: var(--black);
}
.index-editorial-left {
	background: var(--black);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px;
}
.index-editorial-label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 12px;
}
.index-editorial-heading {
	font-family: var(--font-editorial);
	font-size: 42px;
	font-weight: 400;
	font-style: italic;
	color: var(--white);
	margin: 0 0 16px;
	line-height: 1.2;
}
.index-editorial-text {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin: 0 0 24px;
	max-width: 360px;
}
.index-editorial-btn {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--white);
	background: transparent;
	border: 1px solid var(--white);
	padding: 18px 28px;
	text-decoration: none;
	transition: opacity 0.25s ease;
}
.index-editorial-btn:hover {
	opacity: 0.9;
	color: var(--white);
	border-color: var(--white);
}
.index-editorial-right {
	background: var(--black);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	overflow: hidden;
	min-height: 0;
}
.index-editorial-right-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.45s ease;
}
.index-editorial-right:hover .index-editorial-right-img {
	transform: scale(1.03);
}
@media (max-width: 767px) {
	.index-editorial {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 520px;
	}
	.index-editorial-left {
		order: 1;
		padding: 40px 24px;
	}
	.index-editorial-right {
		order: 0;
		min-height: 280px;
		height: min(52vh, 420px);
	}
}

/* ---------- 6. Testimonials carousel ---------- */
.index-testimonials {
	background: var(--off-white);
	border-top: 1px solid var(--border);
}
.index-testimonials-title {
	font-family: var(--font-editorial);
	font-size: 36px;
	font-weight: 400;
	color: var(--text-main);
	margin: 0;
}
.index-testimonials .testimonial-swiper .testimonial-item blockquote p {
	font-family: var(--font-editorial);
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-style: italic;
	line-height: 1.6;
	color: var(--text-main);
}
.index-testimonials .review-title {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 12px;
}
.index-testimonials .testimonial-swiper .swiper-slide {
	width: 42% !important;
}
@media (max-width: 767px) {
	.index-testimonials .testimonial-swiper .swiper-slide {
		width: 85% !important;
	}
}

/* ---------- 6. Newsletter strip ---------- */
.index-newsletter {
	background: var(--off-white);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 64px 24px;
	text-align: center;
}
.index-newsletter-label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 8px;
}
.index-newsletter-title {
	font-family: var(--font-editorial);
	font-size: 36px;
	font-weight: 400;
	color: var(--text-main);
	margin: 0 0 28px;
}
.index-newsletter-form-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: stretch;
	border-bottom: 1px solid var(--border);
	background: var(--white);
	max-width: 440px;
	margin: 0 auto;
}
.index-newsletter-input {
	flex: 1;
	min-width: 200px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--text-main);
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 14px 16px;
}
.index-newsletter-input::placeholder {
	color: var(--text-muted);
}
.index-newsletter-input:focus {
	outline: none;
}
.index-newsletter-btn {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--white);
	background: var(--black);
	border: none;
	padding: 14px 24px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.index-newsletter-btn:hover {
	opacity: 0.9;
	color: var(--white);
}

/* No blue links on homepage */
.homepage a:not(.btn):not(.index-hero-btn-primary):not(.index-hero-btn-ghost):not(.index-editorial-btn):not(.index-newsletter-btn):not(.products-card-addstrip):not(.home-launch-offer__cta) {
	color: inherit;
}
.homepage a:not(.btn):not(.index-hero-btn-primary):not(.index-hero-btn-ghost):not(.index-editorial-btn):not(.index-newsletter-btn):not(.products-card-addstrip):not(.home-launch-offer__cta):hover {
	color: var(--black);
}
