/* Home-only editorial treatment. Commerce templates retain their own styles. */

.as-home .as-eyebrow {
	color: #826233;
}

.as-home .as-editorial-card--hospitality .as-eyebrow,
.as-home .as-home-cta .as-eyebrow {
	color: #e2c697;
}

.as-home-hero--cinematic {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border: 0;
	background: #141715;
	color: #fffdf9;
}

.as-home-hero--cinematic::before {
	display: none;
}

.as-home-hero--cinematic .as-home-hero__grid {
	position: static;
	display: grid;
	min-height: clamp(40rem, 56vw, 51rem);
	grid-template-columns: 1fr;
	gap: 0;
	align-items: center;
	padding-block: clamp(4.5rem, 8vw, 8rem);
}

.as-home-hero--cinematic .as-home-hero__content {
	z-index: 2;
	width: 53%;
	max-width: 43rem;
	padding: 0;
}

.as-home-hero--cinematic .as-home-hero__content > .as-eyebrow {
	margin-bottom: 1.75rem;
	color: #e2c697;
	font-size: 0.66rem;
	letter-spacing: 0.19em;
}

.as-home-hero--cinematic .as-home-hero__content h1 {
	max-width: 12ch;
	margin-bottom: 1.5rem;
	color: #fffdf9;
	font-size: clamp(3.5rem, 6.8vw, 6.1rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 1.01;
	white-space: pre-line;
	text-wrap: initial;
}

.as-home-hero--cinematic .as-home-hero__lead {
	max-width: 27rem;
	margin-bottom: 2rem;
	color: #e1dfd8;
	font-size: clamp(1rem, 1.2vw, 1.1rem);
	line-height: 1.8;
}

.as-home-hero--cinematic .as-button,
.as-home-hero--cinematic .wp-block-button__link {
	min-height: 3.4rem;
	border: 1px solid #d7b580;
	border-radius: 0.2rem;
	background: #d7b580;
	color: #191c19;
	font-size: 0.67rem;
	letter-spacing: 0.09em;
}

.as-home-hero--cinematic .as-button:hover,
.as-home-hero--cinematic .wp-block-button__link:hover {
	border-color: #ebcfa5;
	background: #ebcfa5;
	color: #191c19;
}

.as-home-hero--cinematic .as-button--ghost,
.as-home-hero--cinematic .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 253, 249, 0.5);
	background: rgba(20, 23, 21, 0.2);
	color: #fffdf9;
}

.as-home-hero--cinematic .as-button--ghost:hover,
.as-home-hero--cinematic .is-style-outline .wp-block-button__link:hover {
	border-color: #fffdf9;
	background: rgba(255, 253, 249, 0.12);
	color: #fffdf9;
}

.as-home-hero--cinematic .as-home-hero__signals {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	width: fit-content;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-color: rgba(255, 253, 249, 0.22);
	color: #d8d6cd;
	font-size: 0.6rem;
	letter-spacing: 0.11em;
}

.as-home-hero--cinematic .as-home-hero__signals svg {
	color: #e2c697;
}

.as-home-hero--cinematic .as-home-hero__visual {
	position: absolute;
	z-index: -1;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
}

.as-home-hero--cinematic .as-home-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	aspect-ratio: auto;
	border-radius: 0;
	background: #141715;
	box-shadow: none;
}

.as-home-hero--cinematic .as-home-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	object-position: 65% 52%;
}

.as-home-hero--cinematic .as-home-hero__image::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(14, 18, 16, 0.92) 0%, rgba(14, 18, 16, 0.8) 30%, rgba(14, 18, 16, 0.25) 62%, rgba(14, 18, 16, 0.04) 100%),
		linear-gradient(0deg, rgba(14, 18, 16, 0.65), transparent 35%);
}

.as-home-hero--cinematic .as-home-hero__caption {
	position: absolute;
	right: max(var(--as-gutter), calc((100vw - var(--as-shell)) / 2));
	bottom: 2.5rem;
	width: min(21rem, 35%);
	margin: 0;
	padding: 0.3rem 0 0.3rem 1.25rem;
	border-left: 1px solid #d7b580;
	background: transparent;
	box-shadow: none;
}

.as-home-hero--cinematic .as-home-hero__caption span,
.as-home-hero--cinematic .as-home-hero__caption > p:first-child {
	color: #e2c697;
	font-size: 0.6rem;
	letter-spacing: 0.16em;
}

.as-home-hero--cinematic .as-home-hero__caption strong {
	color: #fffdf9;
	font-size: 1.4rem;
	font-weight: 400;
}

/* The collection cards feel like photographs in an editorial spread. */
.as-home .as-home-paths {
	padding-block: clamp(4rem, 7vw, 7rem);
}

.as-home .as-home-paths .as-section-heading h2 {
	max-width: 20ch;
}

.as-home .as-home-paths .as-section-heading > p {
	max-width: 23rem;
}

.as-home .as-path-grid {
	gap: clamp(1rem, 3vw, 2.5rem);
}

.as-home .as-path-card {
	border: 0;
	border-radius: 0.3rem;
	background: transparent;
}

.as-home .as-path-card:hover {
	transform: none;
	box-shadow: none;
}

.as-home .as-path-card__media {
	margin: 0;
	aspect-ratio: 6 / 5;
	border-radius: 0.3rem;
}

.as-home .as-path-card__media > a {
	display: block;
	height: 100%;
}

.as-home .as-path-card__body {
	padding: 1.75rem 0 0;
}

.as-home .as-path-card__body h3 {
	font-size: clamp(2rem, 3vw, 2.75rem);
}

.as-home .as-path-card__number {
	top: 1.7rem;
	right: 0;
	color: #9d7d43;
	font-size: 0.9rem;
}

.as-home .as-path-card--hospitality h3,
.as-home .as-path-card--hospitality .as-text-link {
	color: var(--as-graphite);
}

.as-home .as-path-card--hospitality .as-path-card__body > p:not(.as-eyebrow):not(.as-path-card__number) {
	color: #625e59;
}

.as-home .as-home-products {
	border-block: 1px solid #e7e1d7;
}

/* CSS motion is finite and opt-in; scroll enhancements never hide content. */
@media (prefers-reduced-motion: no-preference) {
	.as-home-motion .as-home-hero--cinematic .as-home-hero__image img {
		animation: as-home-photo 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.as-home-motion .as-home-hero--cinematic .as-home-hero__content {
		animation: as-home-arrive 850ms ease-out both;
	}
}

@keyframes as-home-photo {
	from { transform: scale(1.035); }
	to { transform: scale(1); }
}

@keyframes as-home-arrive {
	from { opacity: 0.5; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
	.as-home-hero--cinematic .as-home-hero__content { width: 63%; }
	.as-home-hero--cinematic .as-home-hero__content h1 { font-size: clamp(3.5rem, 7.5vw, 5rem); }
	.as-home-hero--cinematic .as-button-row { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
}

@media (max-width: 700px) {
	.as-home-hero--cinematic .as-home-hero__grid {
		min-height: 48rem;
		align-items: end;
		padding-block: 21rem 2.5rem;
	}
	.as-home-hero--cinematic .as-home-hero__content { width: 100%; max-width: 33rem; }
	.as-home-hero--cinematic .as-home-hero__content > .as-eyebrow { margin-bottom: 1rem; font-size: 0.59rem; }
	.as-home-hero--cinematic .as-home-hero__content h1 { max-width: 13ch; font-size: clamp(2.8rem, 11vw, 4.5rem); }
	.as-home-hero--cinematic .as-home-hero__lead { max-width: 29rem; font-size: 0.95rem; line-height: 1.65; }
	.as-home-hero--cinematic .as-home-hero__image img { object-position: 78% 0; }
	.as-home-hero--cinematic .as-home-hero__image::after {
		background: linear-gradient(0deg, #141715 0%, rgba(20, 23, 21, 0.97) 32%, rgba(20, 23, 21, 0.65) 56%, rgba(20, 23, 21, 0.04) 85%);
	}
	.as-home-hero--cinematic .as-button-row { width: 100%; align-items: stretch; }
	.as-home-hero--cinematic .as-button,
	.as-home-hero--cinematic .wp-block-button__link { width: 100%; }
	.as-home-hero--cinematic .as-home-hero__signals { gap: 0.65rem 0.9rem; margin-top: 1.75rem; font-size: 0.53rem; }
	.as-home-hero--cinematic .as-home-hero__caption { display: none; }
	.as-home .as-path-card__media { aspect-ratio: 5 / 4; }
}

@media (prefers-reduced-motion: reduce) {
	.as-home .as-path-card__media img { transition: none; }
	.as-home .as-path-card:hover .as-path-card__media img { transform: none; }
}
