/* ==========================================================================
   Furniture page. Halston editorial treatment.
   Reuses global tokens, .container, .eyebrow--chip, .section-rule, .button,
   and the global .closing-cta component. Page specific styles only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Editorial hero. Headline on the warm ground, hairline meta row,
   large calm image band below. Mirrors the home hero.
   -------------------------------------------------------------------------- */

/* Compact header. No hero image: uppercase headline and one supporting
   line, so the category tiles land within the first viewport. */
.furniture-hero {
	position: relative;
	background: var(--color-base);
	color: var(--color-text);
	padding-block: clamp(1.6rem, 3vw, 2.4rem) 0;
}

.furniture-hero__head {
	display: flex;
	flex-direction: column;
	gap: clamp(0.7rem, 1.4vw, 1rem);
}

/* Compact scale: one line at desktop so the six tiles land in view. */
.furniture-hero__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--color-ink);
}

.furniture-hero__lead {
	margin: 0;
	max-width: 60rem;
	color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   Local manufacture statement. The page's single FOREST moment, one short
   confident statement between the hero and the category grid.
   -------------------------------------------------------------------------- */

.section--furniture-statement {
	background: var(--color-forest);
	padding-block: clamp(5.5rem, 8vw, 8rem);
}

.furniture-statement {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1.6rem, 3vw, 2.4rem);
	max-width: 62rem;
}

.section--furniture-statement .eyebrow--chip {
	color: rgba(255, 255, 255, 0.72);
	border-color: rgba(255, 255, 255, 0.3);
}

.section--furniture-statement .eyebrow__marker {
	background: var(--color-sage);
}

.furniture-statement__lead {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: clamp(2.1rem, 4.4vw, 3.9rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: #f0f2ee;
}

.furniture-statement__body {
	margin: 0;
	max-width: 36rem;
	font-size: var(--type-body-lg);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Furniture categories. Editorial grid of calm cards, mirrors the
   home projects header and Halston disciplines treatment.
   -------------------------------------------------------------------------- */

.section--furniture-categories {
	padding-block: clamp(1rem, 1.8vw, 1.4rem) clamp(3rem, 5vw, 4.5rem);
}

.furniture-categories {
	display: flex;
	flex-direction: column;
}

/* Compact staggered three column grid: middle column dropped slightly so
   the set reads editorial rather than catalogue, all six tiles within the
   first viewport at 1440. */
.furniture-category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(1.2rem, 2.2vw, 2rem);
	row-gap: clamp(1.2rem, 2vw, 1.6rem);
}

.furniture-category-grid > .furniture-category-card:nth-child(3n + 2) {
	transform: translateY(clamp(0.5rem, 1vw, 0.75rem));
}

/* min-width 0: the one line nowrap description would otherwise set the
   card's min content width and blow the grid out past the viewport. */
.furniture-category-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
	color: var(--color-text);
}

.furniture-category-card__media {
	position: relative;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	background: var(--color-surface-strong);
}

.furniture-category-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: var(--photo-grade);
	transition: transform 720ms var(--ease-out-soft);
}

.furniture-category-card:hover .furniture-category-card__img {
	transform: scale(1.04);
}

.furniture-category-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: var(--type-label);
	letter-spacing: 0.12em;
	color: var(--color-muted);
}

.furniture-category-card__copy {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	flex: 1;
}

.furniture-category-card__title {
	font-family: var(--font-heading);
	font-size: clamp(1.05rem, 1.3vw, 1.25rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--color-text);
}

/* One line description per tile, per the page spec. */
.furniture-category-card__use {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--color-muted);
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.furniture-category-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-mono);
	font-size: var(--type-label);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-accent-deep);
	transition: transform 320ms var(--ease-out-soft);
}

.furniture-category-card:hover .furniture-category-card__link,
.furniture-category-card:focus-visible .furniture-category-card__link {
	transform: translateX(0.18rem);
}

.furniture-category-card__link .button__plus {
	opacity: 0.7;
}

/* Tablet: two columns, stagger moves to the second column of each pair. */
@media (max-width: 980px) {
	.furniture-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.furniture-category-grid > .furniture-category-card:nth-child(3n + 2) {
		transform: none;
	}

	.furniture-category-grid > .furniture-category-card:nth-child(2n) {
		transform: translateY(clamp(0.9rem, 2vw, 1.4rem));
	}
}

/* Mobile: single column, no stagger. */
@media (max-width: 680px) {
	.furniture-category-grid {
		grid-template-columns: 1fr;
		row-gap: clamp(2rem, 6vw, 2.8rem);
	}

	.furniture-category-grid > .furniture-category-card:nth-child(2n),
	.furniture-category-grid > .furniture-category-card:nth-child(3n + 2) {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Proof band. One real installed project photo with a clean caption below,
   mirroring the home projects rhythm.
   -------------------------------------------------------------------------- */

.section--furniture-proof {
	background: var(--color-sage);
	padding-block: clamp(5.5rem, 8vw, 8rem);
}

.section--furniture-proof-bleed {
	padding-bottom: 0;
	overflow: hidden;
}

.furniture-proof__intro {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.furniture-proof__header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-5);
	flex-wrap: wrap;
}

.furniture-proof__header-row h2 {
	font-size: var(--type-section-lg);
	font-weight: 500;
	letter-spacing: -0.015em;
	max-width: 20ch;
}

/* Full bleed, viewport wide, a direct child of the section rather than the
   container so the photo runs edge to edge. */
.furniture-proof__figure {
	margin: clamp(2rem, 4vw, 3.2rem) 0 0;
}

.furniture-proof__img {
	width: 100%;
	height: clamp(24rem, 78vh, 48rem);
	object-fit: cover;
	filter: var(--photo-grade);
	background: var(--color-surface-strong);
}

.furniture-proof__caption {
	display: flex;
	justify-content: space-between;
	gap: var(--space-5);
	margin-top: 0;
	padding-block: var(--space-4);
	border-top: 1px solid var(--color-line);
	font-size: 0.9rem;
	color: var(--color-muted);
}

.furniture-proof__caption-note {
	font-family: var(--font-mono);
	font-size: var(--type-label);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent);
	white-space: nowrap;
}

/* Proof band sits on SAGE, the FOREST moment lives with the statement. */
.section--furniture-proof .furniture-proof__caption {
	border-top-color: rgba(28, 24, 19, 0.18);
}

.section--furniture-proof .furniture-proof__rule {
	background: rgba(28, 24, 19, 0.18);
}

.section--furniture-proof .furniture-proof__caption-note {
	color: var(--color-accent-deep);
}
