/*
 * Home, Updated Homepage board (2026-10-29): "Three pillars" (draft B2), "Shop by concern" (drifting rows) and
 * "Shop by product type" (grid). Loaded on the front page only (evon-home.php). Mobile first; the board is
 * desktop-only, so phones and tablets get sideways rows like the rest of the Home page.
 */

/* The concern rows run edge to edge: clip sideways overflow on the page instead of letting it scroll. */
html:has(.evon-hc) {
	overflow-x: clip;
}

/* ---- Three pillars (nodes home_pillars > home_pillars_in) ----------------------------------------------- */

/* "Three Dimensions." / "One Journey." on two lines rather than breaking inside the second phrase. */
.evon-hp-pillars .evon-sh__em {
	display: block;
}

.evon-hp-panels {
	display: flex;
	gap: var(--evon-space-12);
	margin-inline: calc(-1 * var(--evon-space-20));
	padding-inline: var(--evon-space-20);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--evon-space-20);
	scrollbar-width: none;
}
.evon-hp-panels::-webkit-scrollbar {
	display: none;
}
.evon-hp-panel {
	position: relative;
	flex: 0 0 300px;
	height: 540px;
	border-radius: var(--evon-radius-lg);
	overflow: hidden;
	background: var(--evon-color-teal-900);
	scroll-snap-align: start;
	isolation: isolate;
}
.evon-hp-panel::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 70%;
	background: linear-gradient(to top, rgba(15, 58, 58, .92) 0%, rgba(15, 58, 58, .6) 50%, rgba(15, 58, 58, 0) 100%);
	pointer-events: none;
	z-index: 0;
}
.evon-hp-panel .evon-hp-panel__img,
.evon-hp-panel .evon-hp-panel__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}
.evon-hp-panel__body {
	position: absolute;
	left: var(--evon-space-24);
	right: var(--evon-space-24);
	bottom: var(--evon-space-24);
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--evon-space-12);
}
.evon-hp-panel .evon-hp-panel__title {
	margin: 0;
	font-family: var(--evon-font-display);
	font-weight: var(--evon-weight-bold);
	font-size: 44px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--evon-color-text-on-accent);
}
.evon-hp-panel .evon-hp-panel__tagline {
	margin: 0;
	font-family: var(--evon-font-display);
	font-weight: var(--evon-weight-medium);
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--evon-color-teal-300);
}
.evon-hp-panel .evon-hp-panel__text {
	margin: 0;
	max-width: 440px;
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-body-s);
	line-height: 1.6;
	color: var(--evon-color-text-inv-1);
}
.evon-hp-panel .evon-hp-panel__link {
	margin-top: var(--evon-space-4);
	height: 48px;
	padding: 0 var(--evon-space-24);
	border-radius: var(--evon-radius-pill);
	background: var(--evon-color-bg-card);
	color: var(--evon-color-text-1);
	display: inline-flex;
	align-items: center;
	gap: var(--evon-space-10);
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-body-s);
	font-weight: var(--evon-weight-medium);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.evon-hp-panel .evon-hp-panel__link:hover {
	background: var(--evon-color-teal-300);
}
.evon-hp-panel__link svg {
	flex-shrink: 0;
}
/* JS adds the open button and the progress row (desktop only) and the spacer (phones and tablets only). */
.evon-hp-panel__open,
.evon-hp-progress,
.evon-hp-spacer {
	display: none;
}

/*
 * Phones and tablets (Bhima, 2026-10-29): the card row pins under the header while the spacer after it scrolls
 * past; evon-home.js slides the row one card per third of that. Cards are capped to the screen height so the
 * pinned row always fits.
 */
@media (max-width: 1024px), (max-height: 639px) {
	.evon-hp-pillars {
		--evon-hp-top: var(--evon-header-h, 88px);
	}
	.evon-hp-pillars--live .evon-hp-panels {
		position: sticky;
		top: calc(var(--evon-hp-top) + var(--evon-space-12));
		z-index: 1;
	}
	.evon-hp-pillars.evon-hp-pillars--live .evon-hp-panel {
		height: min(640px, calc(100svh - var(--evon-hp-top) - var(--evon-space-32)));
	}
	.evon-hp-pillars--live .evon-hp-spacer {
		display: block;
		height: 120vh;
	}
	/* The row ends at the bottom of the section's content, so the next section's top padding alone gives the one
	   section gap (spacing rule, 2026-10-30; this padding doubled it). */
	.evon-hp-pillars.evon-hp-pillars--live {
		padding-bottom: 0;
	}
}
@media (min-width: 601px) and (max-width: 1024px) {
	body.admin-bar .evon-hp-pillars {
		--evon-hp-top: calc(var(--wp-admin--admin-bar--height, 46px) + var(--evon-header-h, 88px));
	}
}
@media (max-width: 767px) {
	.evon-hp-pillars {
		--evon-hp-top: 64px; /* phone header */
	}
	.evon-hp-pillars.evon-hp-pillars--live .evon-hp-panel {
		height: min(540px, calc(100svh - var(--evon-hp-top) - var(--evon-space-32)));
	}
}

@media (min-width: 768px) {
	.evon-hp-panels {
		gap: var(--evon-space-16);
		margin-inline: calc(-1 * var(--evon-space-32));
		padding-inline: var(--evon-space-32);
		scroll-padding-inline: var(--evon-space-32);
	}
	.evon-hp-panel {
		flex-basis: 420px;
		height: 640px;
		border-radius: var(--evon-radius-xl);
	}
	.evon-hp-panel__body {
		left: var(--evon-space-32);
		right: var(--evon-space-32);
		bottom: var(--evon-space-32);
		gap: var(--evon-space-16);
	}
	.evon-hp-panel .evon-hp-panel__title {
		font-size: 60px;
	}
	.evon-hp-panel .evon-hp-panel__text {
		font-size: var(--evon-text-body);
	}
}

/*
 * Desktop (board B2): the section is taller than the window; its inner box sticks under the header while the
 * page scrolls through it, and evon-home.js opens one panel per third of that scroll (.is-open). Closed panels
 * are 200px strips with the name running upwards and a + disc.
 */
@media (min-width: 1025px) and (min-height: 640px) {
	.evon-hp-pillars.evon-hp-pillars--live {
		height: calc(100vh + 1200px);
		/* Spacing rule (Bhima, 2026-10-30): one 104px gap between sections. Hero → eyebrow = this margin + the
		   pinned box's 24px top padding; a margin, so the pinning maths (section top) is unchanged. */
		margin-top: var(--evon-space-80);
		padding-top: 0;
		padding-bottom: 0;
	}
	/* --evon-hp-top: where the box pins (under the header, and the admin bar when signed in). */
	.evon-hp-pillars {
		--evon-hp-top: var(--evon-header-h, 88px);
	}
	body.admin-bar .evon-hp-pillars {
		--evon-hp-top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--evon-header-h, 88px));
	}
	.evon-hp-pillars--live .evon-hp-pillars__sticky {
		position: sticky;
		top: var(--evon-hp-top);
		height: calc(100vh - var(--evon-hp-top));
		box-sizing: border-box;
		justify-content: flex-start;
		gap: var(--evon-space-40); /* heading → panels, as heading → content in every section */
		padding-top: var(--evon-space-24);
		padding-bottom: var(--evon-space-24);
	}
	/* The next section starts 104px below the progress row: its top padding + the box's 24px bottom padding. */
	.evon-hp-pillars--live + .evon-section {
		padding-top: var(--evon-space-80);
	}
	/* Tall photos (Bhima, 2026-10-29): the panels take whatever height the heading and progress row leave
	   (flex, so a longer intro just makes them a little shorter; 2026-10-30). */
	.evon-hp-panels {
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
		flex: 1 1 0;
		min-height: 300px;
		max-height: 760px;
		height: auto;
	}
	.evon-hp-panel {
		flex: 0 0 200px;
		height: auto;
		min-width: 0;
	}
	.evon-hp-panel.is-open {
		flex: 1 1 0;
	}
	/*
	 * Smooth opening (Bhima, 2026-10-30): the photo keeps the open panel's width (--evon-hp-open-w, set by
	 * evon-home.js) and stays centred, so a growing panel reveals more of it instead of re-scaling it every frame.
	 */
	.evon-hp-pillars--live .evon-hp-panel .evon-hp-panel__img {
		left: 50%;
		right: auto;
		width: var(--evon-hp-open-w, 100%);
		transform: translateX(-50%);
	}
	@media (prefers-reduced-motion: no-preference) {
		.evon-hp-panel {
			transition: flex-grow 750ms cubic-bezier(0.65, 0, 0.35, 1), flex-basis 750ms cubic-bezier(0.65, 0, 0.35, 1), background-color 750ms cubic-bezier(0.65, 0, 0.35, 1);
		}
		.evon-hp-panel::after {
			transition: opacity 600ms ease;
		}
		.evon-hp-panel__body {
			transition: opacity 450ms ease 350ms, transform 600ms cubic-bezier(0.22, 0.8, 0.3, 1) 300ms;
		}
		.evon-hp-panel:not(.is-open) .evon-hp-panel__body {
			transform: translateY(16px);
		}
		.evon-hp-panel__open {
			transition: opacity 200ms ease, visibility 0s linear 200ms;
		}
		.evon-hp-panel:not(.is-open) .evon-hp-panel__open {
			transition: opacity 400ms ease 300ms, visibility 0s;
		}
	}
	.evon-hp-panel__body {
		left: var(--evon-space-48);
		right: var(--evon-space-48);
		bottom: var(--evon-space-48);
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto auto;
		column-gap: var(--evon-space-32);
		row-gap: var(--evon-space-16);
		align-items: end;
	}
	.evon-hp-panel .evon-hp-panel__title {
		grid-column: 1;
		font-size: 88px;
	}
	.evon-hp-panel .evon-hp-panel__tagline {
		grid-column: 1;
		font-size: 20px;
	}
	.evon-hp-panel .evon-hp-panel__text {
		grid-column: 1;
		font-size: 17px;
	}
	.evon-hp-panel .evon-hp-panel__link {
		grid-column: 2;
		grid-row: 1 / span 3;
		height: 56px;
		padding: 0 26px;
	}
	/* Closed strip: only the vertical name and the + disc (the open button covers the strip). */
	.evon-hp-panel:not(.is-open) .evon-hp-panel__body {
		opacity: 0;
		visibility: hidden;
		transition: none;
	}
	.evon-hp-panel__open {
		display: block;
		opacity: 0;
		visibility: hidden;
		position: absolute;
		inset: 0;
		z-index: 2;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		text-align: left;
		color: var(--evon-color-text-on-accent);
	}
	.evon-hp-panel:not(.is-open) .evon-hp-panel__open {
		opacity: 1;
		visibility: visible;
	}
	.evon-hp-panel__open-name {
		position: absolute;
		left: 28px;
		bottom: 96px;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		font-family: var(--evon-font-display);
		font-weight: var(--evon-weight-bold);
		font-size: 64px;
		line-height: 1;
		letter-spacing: -0.03em;
	}
	.evon-hp-panel__open-plus {
		position: absolute;
		left: var(--evon-space-24);
		bottom: 28px;
		width: 48px;
		height: 48px;
		border-radius: var(--evon-radius-pill);
		background: var(--evon-color-bg-card);
		color: var(--evon-color-text-1);
		display: flex;
		align-items: center;
		justify-content: center;
		transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
	}
	.evon-hp-panel__open:hover .evon-hp-panel__open-plus {
		transform: scale(1.08);
	}
	.evon-hp-panel__open:focus-visible {
		outline: 2px solid var(--evon-color-teal-300);
		outline-offset: -6px;
		border-radius: var(--evon-radius-xl);
	}
	.evon-hp-progress {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--evon-space-16);
		margin-top: calc(-1 * var(--evon-space-16)); /* panels → progress stays 24px */
	}
	.evon-hp-progress__item {
		display: flex;
		flex-direction: column;
		gap: var(--evon-space-10);
		font-family: var(--evon-font-body);
		font-size: var(--evon-text-eyebrow);
		font-weight: var(--evon-weight-medium);
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--evon-color-text-4);
		transition: color 300ms ease;
	}
	.evon-hp-progress__item.is-current {
		color: var(--evon-color-text-1);
	}
	.evon-hp-progress__bar {
		display: block;
		height: 3px;
		border-radius: 2px;
		background: var(--evon-color-line-1);
		overflow: hidden;
	}
	.evon-hp-progress__bar::after {
		content: "";
		display: block;
		height: 100%;
		width: 100%;
		background: var(--evon-color-teal-700);
		transform: scaleX(var(--evon-hp-fill, 0)); /* follows the scroll, set by evon-home.js */
		transform-origin: left center;
	}
}

/*
 * Layout B1 (board PillarsOptionB, class evon-hp-pillars--b1 on node home_pillars): the open panel shows the photo
 * beside its text on a soft tint (Body mint, Mind sky, Spirit sand) with dark text and a teal Explore button.
 * Opening on scroll, closed strips and the progress row are as in B2. Phones and tablets: cards with the photo on
 * top and the text below on the tint.
 */
.evon-hp-pillars--b1 .evon-hp-panel:nth-child(3n+1) { --evon-hp-tint: var(--evon-color-bg-tint); }
.evon-hp-pillars--b1 .evon-hp-panel:nth-child(3n+2) { --evon-hp-tint: var(--evon-color-tint-sky); }
.evon-hp-pillars--b1 .evon-hp-panel:nth-child(3n+3) { --evon-hp-tint: var(--evon-color-tint-sand); }
.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__title {
	color: var(--evon-color-text-1);
}
.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__tagline {
	color: var(--evon-color-teal-700);
}
.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__text {
	color: var(--evon-color-text-2);
}
.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__link {
	background: var(--evon-color-teal-700);
	color: var(--evon-color-text-on-accent);
}
.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__link:hover {
	background: var(--evon-color-teal-900);
}
@media (max-width: 1024px), (max-height: 639px) {
	.evon-hp-pillars--b1 .evon-hp-panel {
		height: auto;
		display: flex;
		flex-direction: column;
		background: var(--evon-hp-tint);
	}
	.evon-hp-pillars--b1 .evon-hp-panel::after {
		content: none;
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__img,
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__img img {
		position: relative;
		height: 320px;
	}
	/* Pinned cards have a fixed height: the photo takes what the text leaves. */
	.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel .evon-hp-panel__img {
		flex: 1 1 auto;
		height: auto;
		min-height: 140px;
	}
	.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel__body {
		flex-grow: 0;
	}
	.evon-hp-pillars--b1 .evon-hp-panel__body {
		position: static;
		flex-grow: 1;
		padding: var(--evon-space-20) var(--evon-space-20) var(--evon-space-24);
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__title {
		font-size: 40px;
	}
}
@media (min-width: 768px) and (max-width: 1024px), (min-width: 768px) and (max-height: 639px) {
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__img,
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__img img {
		height: 420px;
	}
	.evon-hp-pillars--b1 .evon-hp-panel__body {
		padding: var(--evon-space-24) var(--evon-space-32) var(--evon-space-32);
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__title {
		font-size: 52px;
	}
}
@media (min-width: 1025px) and (min-height: 640px) {
	.evon-hp-pillars--b1 .evon-hp-panel.is-open {
		background: var(--evon-hp-tint);
	}
	.evon-hp-pillars--b1 .evon-hp-panel.is-open::after {
		opacity: 0;
	}
	/* Photo on the left 1.1 : 1 (board grid 1.1fr / 1fr), text in the right part. */
	.evon-hp-pillars--b1 .evon-hp-panel.is-open .evon-hp-panel__img,
	.evon-hp-pillars--b1 .evon-hp-panel.is-open .evon-hp-panel__img img {
		width: calc(100% * 1.1 / 2.1);
	}
	.evon-hp-pillars--b1 .evon-hp-panel.is-open .evon-hp-panel__img img {
		position: absolute;
	}
	/* Live: the photo keeps the open size and slides from centred (closed strip) to the left (open). */
	.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel .evon-hp-panel__img {
		width: calc(var(--evon-hp-open-w, 100%) * 1.1 / 2.1);
	}
	.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel.is-open .evon-hp-panel__img {
		left: 0;
		transform: none;
	}
	@media (prefers-reduced-motion: no-preference) {
		.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel .evon-hp-panel__img {
			transition: left 750ms cubic-bezier(0.65, 0, 0.35, 1), transform 750ms cubic-bezier(0.65, 0, 0.35, 1);
		}
	}
	.evon-hp-pillars--b1 .evon-hp-panel__body {
		top: 0;
		bottom: 0;
		left: auto;
		right: 0;
		width: calc(100% / 2.1);
		box-sizing: border-box;
		padding: var(--evon-space-48) var(--evon-space-40);
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: flex-start;
		gap: var(--evon-space-20);
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__title {
		font-size: 80px;
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__link {
		margin-top: var(--evon-space-12);
		height: 52px;
		padding: 0 var(--evon-space-24);
	}
}

/*
 * Short screens (Bhima, 2026-10-30; e.g. a phone held sideways, about 1232×480): the pinned layout needs at least
 * 640px of height, so below that every width gets the sideways card row, not pinned (no spacer, so evon-home.js
 * doesn't slide it) and with cards at their natural height.
 */
@media (max-height: 639px) {
	.evon-hp-pillars--live .evon-hp-panels {
		position: static;
	}
	.evon-hp-pillars--live .evon-hp-spacer {
		display: none;
	}
	.evon-hp-pillars.evon-hp-pillars--live .evon-hp-panel {
		height: 460px;
	}
	.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel {
		height: auto;
	}
	.evon-hp-pillars--b1.evon-hp-pillars--live .evon-hp-panel .evon-hp-panel__img {
		flex: none;
		height: 220px;
	}
}

/* Laptop-height windows (640–819px tall): the pinned layout stays, with smaller type so the open panel's text and
   the closed strips' upright names fit the shorter panels. */
@media (min-width: 1025px) and (min-height: 640px) and (max-height: 819px) {
	.evon-hp-panel .evon-hp-panel__title {
		font-size: 64px;
	}
	.evon-hp-panel .evon-hp-panel__text {
		font-size: var(--evon-text-body-s);
	}
	.evon-hp-panel .evon-hp-panel__tagline {
		font-size: 17px;
	}
	.evon-hp-panel__body {
		left: var(--evon-space-32);
		right: var(--evon-space-32);
		bottom: var(--evon-space-32);
	}
	.evon-hp-panel__open-name {
		bottom: 88px;
		font-size: 48px;
	}
	.evon-hp-pillars--b1 .evon-hp-panel__body {
		padding: var(--evon-space-32);
		gap: var(--evon-space-12);
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__title {
		font-size: 52px;
	}
	.evon-hp-pillars--b1 .evon-hp-panel .evon-hp-panel__link {
		margin-top: var(--evon-space-4);
		height: 48px;
	}
}

/* ---- Shop by concern, [evon_home_concerns] -------------------------------------------------------------- */

.evon-hc {
	display: flex;
	flex-direction: column;
	gap: var(--evon-space-32);
}
.evon-hc__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--evon-space-12);
	text-align: center;
}
.evon-hc__eyebrow {
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-eyebrow);
	font-weight: var(--evon-weight-medium);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--evon-color-teal-650);
}
.evon-hc .evon-hc__title {
	width: 100%;
	margin: 0;
	font-family: var(--evon-font-display);
	font-weight: var(--evon-weight-medium);
	/* The theme's h2 size: the wrapper used to be the h2, and the names' em letter-spacing is worked out from it. */
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: -0.035em;
	color: var(--evon-color-text-1);
	text-align: center;
}
/* The h2 inside the title wrapper (2026-11-20) takes the wrapper's look; .evon-hc__line2 sets its own size. */
.evon-hc .evon-hc__h2 {
	margin: 0;
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	color: inherit;
}
.evon-hc__words {
	position: relative;
	display: block;
	height: 37px;
	overflow: hidden;
	font-size: 30px; /* the longest name, Cellular Health & Immunity, fits a 350px phone column */
	line-height: 1.22;
}
.evon-hc__word {
	position: absolute;
	inset: 0 0 auto;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(100%);
}
.evon-hc__word.is-current {
	opacity: 1;
	transform: none;
}
.evon-hc__word.is-leaving {
	opacity: 0;
	transform: translateY(-100%);
}
@media (prefers-reduced-motion: no-preference) {
	.evon-hc__word {
		transition: transform 600ms cubic-bezier(.22, .8, .3, 1), opacity 500ms ease;
	}
}
.evon-hc__word--teal {
	color: var(--evon-color-teal-700);
}
.evon-hc__word--rust {
	color: var(--evon-color-accent-rust, #9a5535);
}
.evon-hc__word--slate {
	color: var(--evon-color-accent-slate, #3d6489);
}
.evon-hc__line2 {
	display: block;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}
.evon-hc__text {
	max-width: 560px;
	margin: var(--evon-space-4) 0 0;
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-body);
	line-height: 1.55;
	color: var(--evon-color-text-3);
}

/* Rows run the full window width with faded ends. */
.evon-hc__band {
	margin-inline: calc(50% - 50vw);
	display: flex;
	flex-direction: column;
	gap: var(--evon-space-4);
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.evon-hc-row {
	overflow-x: auto;
	overflow-y: hidden;
	padding: 6px 0 10px;
	scrollbar-width: none;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}
.evon-hc-row::-webkit-scrollbar {
	display: none;
}
.evon-hc-row.is-dragging {
	cursor: grabbing;
}
.evon-hc-row:focus-visible {
	outline: 2px solid var(--evon-color-teal-700);
	outline-offset: -2px;
}
.evon-hc-track {
	display: flex;
	width: max-content;
}
.evon-hc-set {
	display: flex;
	gap: var(--evon-space-10);
	padding-right: var(--evon-space-10);
	flex-shrink: 0;
}
.evon-hc .evon-hc-tile {
	height: 60px;
	flex-shrink: 0;
	box-sizing: border-box;
	padding: 0 var(--evon-space-24) 0 var(--evon-space-12);
	border-radius: var(--evon-radius-pill);
	background: var(--evon-color-bg-card);
	border: 1px solid var(--evon-color-line-1);
	display: flex;
	align-items: center;
	gap: var(--evon-space-12);
	color: var(--evon-color-text-1);
	text-decoration: none;
	white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
	.evon-hc .evon-hc-tile {
		transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
	}
}
.evon-hc .evon-hc-tile:hover,
.evon-hc .evon-hc-tile:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(15, 58, 58, .12);
	border-color: var(--evon-color-line-2);
}
.evon-hc-tile__icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--evon-color-text-1);
}
.evon-hc-tile__icon svg {
	width: 26px;
	height: 26px;
}
.evon-hc-tile__name {
	padding-bottom: 2px;
	font-family: var(--evon-font-display);
	font-weight: var(--evon-weight-medium);
	font-size: var(--evon-text-body-s);
	letter-spacing: -0.01em;
	background-image: linear-gradient(var(--evon-color-teal-700), var(--evon-color-teal-700));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1.5px;
}
.evon-hc-tile__name span {
	color: var(--evon-color-teal-650);
}
.evon-hc-tile:hover .evon-hc-tile__name,
.evon-hc-tile:focus-visible .evon-hc-tile__name {
	background-size: 100% 1.5px;
}

/* Board icons: a tinted shape that breathes, and a line drawing that redraws and moves on hover. */
.evon-hc-ic {
	display: block;
	flex-shrink: 0;
	overflow: visible;
	transform-origin: center;
}
.evon-hc-fill {
	transform-box: fill-box;
	transform-origin: center;
}
.evon-hc-fill--teal {
	fill: var(--evon-color-teal-300);
}
.evon-hc-fill--sand {
	fill: var(--evon-color-tone-sand, #e8c4ae);
}
.evon-hc-fill--sky {
	fill: var(--evon-color-tone-sky, #b8cce0);
}
.evon-hc-h-walk,
.evon-hc-h-grow,
.evon-hc-h-flame {
	transform-origin: 50% 100%;
}
.evon-hc-h-sway {
	transform-origin: 50% 25%;
}
@media (prefers-reduced-motion: no-preference) {
	.evon-hc-tile:hover .evon-hc-tile__name,
	.evon-hc-tile:focus-visible .evon-hc-tile__name {
		transition: background-size 350ms cubic-bezier(.22, .8, .3, 1);
	}
	.evon-hc-i-pulse { animation: evonHcPulse 2.8s ease-in-out infinite; }
	.evon-hc-i-look { animation: evonHcLook 3.6s ease-in-out infinite; }
	.evon-hc-i-fade { animation: evonHcFade 3s ease-in-out infinite; }
	.evon-hc-i-flicker { transform-origin: 50% 100%; animation: evonHcFlicker 1.6s ease-in-out infinite; }
	.evon-hc-tile:hover .evon-hc-path,
	.evon-hc-tile:focus-visible .evon-hc-path,
	.evon-hc-chip:hover .evon-hc-path,
	.evon-hc-chip:focus-visible .evon-hc-path,
	.evon-hc-spot__icon .evon-hc-path { stroke-dasharray: 1; animation: evonHcDraw 1s ease both; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-stack { animation: evonHcStack .9s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-blink { animation: evonHcBlink 1.8s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-guard { animation: evonHcGuard 1.3s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-beat { animation: evonHcBeat 1.1s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-think { animation: evonHcThink 1.4s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-flame { animation: evonHcFlame .8s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-swing { animation: evonHcSwing 1.8s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-drop { animation: evonHcDrop 1s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-sway { animation: evonHcSway 1.4s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-nudge { animation: evonHcNudge .9s ease-in-out infinite; }
	:is(.evon-hc-tile:hover, .evon-hc-tile:focus-visible, .evon-hc-chip:hover, .evon-hc-chip:focus-visible, .evon-hc-spot__icon) .evon-hc-h-walk { animation: evonHcWalk 1.2s ease-in-out infinite; }
}
@keyframes evonHcDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes evonHcPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.8); } }
@keyframes evonHcLook { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-2px); } 70% { transform: translateX(2px); } }
@keyframes evonHcFade { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes evonHcFlicker { 0%, 100% { transform: scale(1, 1); } 25% { transform: scale(.9, 1.14); } 50% { transform: scale(1.06, .94); } 75% { transform: scale(.95, 1.08); } }
@keyframes evonHcStack { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(.84) translateY(2px); } 70% { transform: scaleY(1.05); } }
@keyframes evonHcBlink { 0%, 42%, 58%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
@keyframes evonHcGuard { 0%, 100% { transform: translateY(0) scale(1); } 25% { transform: translateY(-4px) scale(1.08); } 45% { transform: translateY(0) scale(.96); } 60% { transform: translateY(-1px) scale(1.03); } }
@keyframes evonHcBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
@keyframes evonHcThink { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.1) rotate(-6deg); } 60% { transform: scale(1.06) rotate(5deg); } }
@keyframes evonHcFlame { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1, 1.16); } }
@keyframes evonHcSwing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-16deg); } 70% { transform: rotate(10deg); } }
@keyframes evonHcDrop { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-6px) scale(.94, 1.06); } 75% { transform: translateY(1px) scale(1.06, .94); } }
@keyframes evonHcSway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 70% { transform: rotate(8deg); } }
@keyframes evonHcNudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }
@keyframes evonHcWalk { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(2px) rotate(3deg); } 50% { transform: translateX(3px) rotate(0); } 75% { transform: translateX(1px) rotate(-2deg); } }

@media (min-width: 768px) {
	.evon-hc {
		gap: var(--evon-space-48);
	}
	.evon-hc__head {
		gap: var(--evon-space-16);
	}
	.evon-hc__words {
		height: 64px;
		font-size: 52px;
	}
	.evon-hc__line2 {
		font-size: 36px;
	}
	.evon-hc__text {
		font-size: 18px;
	}
	.evon-hc .evon-hc-tile {
		height: 72px;
		padding: 0 28px 0 var(--evon-space-16);
		gap: 14px;
	}
	.evon-hc-tile__icon {
		width: 44px;
		height: 44px;
	}
	.evon-hc-tile__icon svg {
		width: 30px;
		height: 30px;
	}
	.evon-hc-tile__name {
		font-size: var(--evon-text-body);
	}
	.evon-hc-set {
		gap: var(--evon-space-12);
		padding-right: var(--evon-space-12);
	}
}
@media (min-width: 1025px) {
	.evon-hc {
		gap: 56px;
	}
	.evon-hc__words {
		height: 78px;
		font-size: 64px;
	}
	.evon-hc__line2 {
		font-size: 44px;
	}
	.evon-hc__band {
		margin-top: -8px;
	}
}

/*
 * Spotlight layout, [evon_home_concerns layout="spotlight"] (board ConcernOptionV4, 2026-10-29): heading on the
 * left, then the intro and concern buttons beside a card for the chosen concern (Mint / Sand / Sky by position,
 * with teal / rust / slate ink). Phones: buttons in one sideways row above the card; tablets: buttons wrap.
 */
.evon-hc--spotlight .evon-hc__head {
	align-items: flex-start;
	text-align: left;
}
.evon-hc--spotlight .evon-hc__title {
	text-align: left;
}
.evon-hc-spot {
	display: flex;
	flex-direction: column;
	gap: var(--evon-space-24);
}
.evon-hc-spot__side {
	display: flex;
	flex-direction: column;
	gap: var(--evon-space-20);
}
.evon-hc--spotlight .evon-hc__text {
	margin: 0;
	max-width: 520px;
}
.evon-hc-spot__chips {
	display: flex;
	gap: var(--evon-space-10);
	margin-inline: calc(-1 * var(--evon-space-20));
	padding: 6px var(--evon-space-20) 10px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}
.evon-hc-spot__chips::-webkit-scrollbar {
	display: none;
}
.evon-hc-spot .evon-hc-chip {
	flex-shrink: 0;
	height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 var(--evon-space-20) 0 var(--evon-space-12);
	border: 1px solid var(--evon-color-line-1);
	border-radius: var(--evon-radius-pill);
	background: var(--evon-color-bg-card);
	display: flex;
	align-items: center;
	gap: var(--evon-space-10);
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-body-s);
	font-weight: var(--evon-weight-medium);
	line-height: 1;
	color: var(--evon-color-text-1);
	white-space: nowrap;
	cursor: pointer;
}
.evon-hc-chip svg {
	width: 24px;
	height: 24px;
}
@media (prefers-reduced-motion: no-preference) {
	.evon-hc-spot .evon-hc-chip,
	.evon-hc-spot__card {
		transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease, background-color 400ms ease;
	}
}
.evon-hc-spot .evon-hc-chip:hover,
.evon-hc-spot .evon-hc-chip:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 58, 58, .1);
	border-color: var(--evon-color-line-2);
}
.evon-hc-spot .evon-hc-chip--t0[aria-pressed="true"] {
	background: var(--evon-color-bg-tint);
	border-color: var(--evon-color-teal-700);
}
.evon-hc-spot .evon-hc-chip--t1[aria-pressed="true"] {
	background: var(--evon-color-tint-sand);
	border-color: var(--evon-color-accent-rust, #9a5535);
}
.evon-hc-spot .evon-hc-chip--t2[aria-pressed="true"] {
	background: var(--evon-color-tint-sky);
	border-color: var(--evon-color-accent-slate, #3d6489);
}
.evon-hc-spot .evon-hc-spot__card {
	--evon-hc-ink: var(--evon-color-teal-700);
	min-height: 220px;
	box-sizing: border-box;
	padding: var(--evon-space-24);
	border-radius: var(--evon-radius-lg);
	background: var(--evon-color-bg-tint);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 80px;
	gap: var(--evon-space-16);
	color: var(--evon-color-text-1);
	text-decoration: none;
}
.evon-hc-spot .evon-hc-spot__card--t1 {
	--evon-hc-ink: var(--evon-color-accent-rust, #9a5535);
	background: var(--evon-color-tint-sand);
}
.evon-hc-spot .evon-hc-spot__card--t2 {
	--evon-hc-ink: var(--evon-color-accent-slate, #3d6489);
	background: var(--evon-color-tint-sky);
}
.evon-hc-spot .evon-hc-spot__card:hover,
.evon-hc-spot .evon-hc-spot__card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(15, 58, 58, .12);
}
.evon-hc-spot__copy {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--evon-space-16);
}
.evon-hc-spot__num {
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-eyebrow);
	font-weight: var(--evon-weight-medium);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	color: var(--evon-hc-ink);
}
.evon-hc-spot__words {
	display: flex;
	flex-direction: column;
	gap: var(--evon-space-10);
}
.evon-hc-spot__name {
	font-family: var(--evon-font-display);
	font-weight: var(--evon-weight-medium);
	font-size: 26px;
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.evon-hc-spot__line {
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-body-s);
	line-height: 1.55;
	color: var(--evon-color-text-2);
}
.evon-hc-spot__cta {
	display: flex;
	align-items: center;
	gap: var(--evon-space-8);
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-body-s);
	font-weight: var(--evon-weight-medium);
	color: var(--evon-hc-ink);
}
.evon-hc-spot__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--evon-color-text-1);
}
.evon-hc-spot__icon svg {
	width: 80px;
	height: 80px;
}
@media (min-width: 768px) {
	.evon-hc-spot__chips {
		flex-wrap: wrap;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.evon-hc-spot .evon-hc-chip {
		height: 52px;
	}
	.evon-hc-chip svg {
		width: 26px;
		height: 26px;
	}
	.evon-hc-spot .evon-hc-spot__card {
		min-height: 260px;
		padding: var(--evon-space-32);
		border-radius: 28px;
		grid-template-columns: minmax(0, 1fr) 120px;
		gap: var(--evon-space-24);
	}
	.evon-hc-spot__name {
		font-size: 32px;
	}
	.evon-hc-spot__icon svg {
		width: 112px;
		height: 112px;
	}
}
@media (min-width: 1025px) {
	.evon-hc.evon-hc--spotlight {
		gap: var(--evon-space-48);
	}
	.evon-hc--spotlight .evon-hc__line2 {
		font-size: 64px;
		line-height: 1.06;
		letter-spacing: -0.035em;
	}
	.evon-hc-spot {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: var(--evon-space-24);
		align-items: stretch;
	}
	.evon-hc-spot__side {
		grid-column: span 7;
		justify-content: space-between;
		gap: var(--evon-space-24);
	}
	.evon-hc-spot .evon-hc-spot__card {
		grid-column: span 5;
		height: 300px;
	}
}

/* ---- Shop by product type, [evon_home_types] ---------------------------------------------------------- */

.evon-ht-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--evon-space-12);
	row-gap: var(--evon-space-32);
}
.evon-ht-grid .evon-ht-card {
	display: flex;
	flex-direction: column;
	gap: var(--evon-space-12);
	color: var(--evon-color-text-1);
	text-decoration: none;
}
.evon-ht-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--evon-radius-md);
	overflow: hidden;
	background: var(--evon-color-bg-subtle);
}
.evon-ht-grid .evon-ht-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.evon-ht-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.evon-ht-card__name {
	align-self: flex-start;
	padding-bottom: 2px;
	font-family: var(--evon-font-display);
	font-weight: var(--evon-weight-medium);
	font-size: var(--evon-text-body);
	line-height: 1.35;
	letter-spacing: -0.01em;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1.5px;
}
.evon-ht-card__text {
	font-family: var(--evon-font-body);
	font-size: var(--evon-text-caption);
	line-height: 1.55;
	color: var(--evon-color-text-3);
}
.evon-ht-card:hover .evon-ht-card__name,
.evon-ht-card:focus-visible .evon-ht-card__name {
	color: var(--evon-color-teal-650);
	background-size: 100% 1.5px;
}
@media (prefers-reduced-motion: no-preference) {
	.evon-ht-grid .evon-ht-card__img {
		transition: transform 500ms cubic-bezier(.22, .8, .3, 1);
	}
	.evon-ht-card__name {
		transition: background-size 350ms cubic-bezier(.22, .8, .3, 1), color 200ms ease;
	}
	.evon-ht-card:hover .evon-ht-card__img,
	.evon-ht-card:focus-visible .evon-ht-card__img {
		transform: scale(1.05);
	}
}
@media (min-width: 768px) {
	.evon-ht-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: var(--evon-space-24);
		row-gap: var(--evon-space-40);
	}
	.evon-ht-grid .evon-ht-card {
		gap: var(--evon-space-16);
	}
	.evon-ht-card__name {
		font-size: 18px;
	}
	.evon-ht-card__text {
		font-size: var(--evon-text-label);
	}
}
@media (min-width: 1025px) {
	.evon-ht-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: var(--evon-space-48);
	}
}
