/**
 * Homepage sections – loaded on the front page only.
 */

.eno-home {
	width: 100%;
}

.eno-home-section {
	padding-block: 6rem;
	border-top: 1px solid var(--eno-color-surface);
}

/* Section heading with accent rule */

.eno-home-heading {
	margin-bottom: 3.5rem;
}

.eno-home-heading__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.eno-home-heading::after {
	content: "";
	display: block;
	width: 4rem;
	height: 4px;
	margin-top: 1rem;
	border-radius: 0.75rem;
	background-color: var(--eno-color-orange);
}

.eno-home-heading--center {
	margin-bottom: 6rem;
	text-align: center;
}

.eno-home-heading--center .eno-home-heading__title {
	font-weight: 700;
}

.eno-home-heading--center::after {
	margin: 1.5rem auto 0;
}

/* Hero -------------------------------------------------------------------- */

.eno-hero__main {
	display: flex;
	flex-direction: column;
	max-width: 1920px;
	margin-inline: auto;
}

.eno-hero__content {
	position: relative;
	z-index: 1;
	padding: 3rem var(--eno-gutter) 0;
}

.eno-hero__title {
	margin: 0 0 1.5rem;
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.eno-hero__accent {
	display: block;
	color: var(--eno-color-orange);
}

.eno-hero__intro {
	max-width: 420px;
	margin-bottom: 2.5rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-hero__intro p {
	margin: 0;
}

.eno-hero__intro p + p {
	margin-top: 1rem;
}

.eno-hero__actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3.5rem;
}

/* Mobile: one tidy stacked list, each point on a single line (editor line
   breaks only apply from 640px, where the points sit side by side). */
.eno-hero__trust {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.875rem;
	margin: 0;
	padding: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	line-height: 1.4;
	list-style: none;
}

.eno-hero__trust li {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.eno-hero__trust br {
	display: none;
}

.eno-icon--star {
	color: var(--eno-color-star);
}

.eno-icon--eco {
	color: var(--eno-color-green);
}

.eno-hero__media {
	position: relative;
	min-height: 500px;
	margin-top: 2rem;
}

.eno-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	mix-blend-mode: multiply;
}

/* Mobile/tablet: the image sits behind the copy instead of stacking below it,
   with a bg-coloured wash so the text and trust items stay readable. */
@media (max-width: 1023px) {
	.eno-hero__main {
		position: relative;
		isolation: isolate;
		overflow: hidden;
	}

	.eno-hero__content {
		padding-bottom: 4.5rem;
	}

	.eno-hero__media {
		position: absolute;
		inset: 0;
		z-index: 0;
		min-height: 0;
		margin-top: 0;
	}

	.eno-hero__image {
		object-position: 75% center;
	}

	.eno-hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(
			to bottom,
			rgb(252 249 248 / 94%) 0%,
			rgb(252 249 248 / 82%) 55%,
			rgb(252 249 248 / 70%) 100%
		);
	}

	.eno-hero .eno-button--outline {
		background-color: rgb(255 255 255 / 85%);
	}

	.eno-hero__trust {
		color: var(--eno-color-text);
	}
}

@media (min-width: 640px) {
	.eno-hero__actions {
		flex-direction: row;
	}

	.eno-hero__trust {
		flex-direction: row;
		align-items: center;
		gap: 1rem 2rem;
	}

	.eno-hero__trust li {
		gap: 0.5rem;
		white-space: nowrap;
	}

	.eno-hero__trust br {
		display: revert;
	}
}

@media (min-width: 1024px) {
	.eno-hero__main {
		flex-direction: row;
	}

	.eno-hero__content {
		width: 45%;
		/* Relative to .eno-hero__main (capped at 1920px), not the full viewport. */
		padding: 4rem 3rem 0 max(var(--eno-gutter), calc((min(100vw, 1920px) - var(--eno-content-width)) / 2));
	}

	.eno-hero__trust {
		flex-wrap: nowrap;
	}

	.eno-hero__media {
		width: 55%;
		margin-top: 0;
	}

	.eno-hero__image {
		object-position: center;
	}

	.eno-hero__media::before {
		content: "";
		position: absolute;
		inset: 0 auto 0 0;
		z-index: 1;
		width: 12rem;
		background: linear-gradient(to right, var(--eno-color-bg), transparent);
	}
}

@media (min-width: 1280px) {
	.eno-hero__content {
		width: 40%;
	}

	.eno-hero__media {
		width: 60%;
	}
}

/* Wider than the 1920px hero cap (e.g. 1440p): fade the image's right edge
   into the page instead of ending on a hard cut, and give it more height so
   object-fit: cover crops less of the boxes. */
@media (min-width: 1921px) {
	.eno-hero__media {
		min-height: 560px;
	}

	.eno-hero__media::after {
		content: "";
		position: absolute;
		inset: 0 0 0 auto;
		z-index: 1;
		width: 12rem;
		background: linear-gradient(to left, var(--eno-color-bg), transparent);
	}
}

/* Configurator bar */

.eno-config-bar {
	position: relative;
	z-index: 2;
	margin-top: 3rem;
	padding: 0 var(--eno-gutter) 3rem;
	background-color: var(--eno-color-bg);
}

.eno-config-bar__card {
	max-width: var(--eno-content-width);
	margin-inline: auto;
	padding: 2rem;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	box-shadow: var(--eno-shadow-float);
}

.eno-config {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.eno-config__intro {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 1.25rem;
}

.eno-config__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-orange);
}

.eno-config__badge .eno-icon {
	width: 1.75rem;
	height: 1.75rem;
}

.eno-config__title {
	margin: 0;
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-body-lg);
	font-weight: 700;
	line-height: 1.25;
}

.eno-config__subtitle {
	margin: 0.25rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	line-height: 1.4;
}

.eno-config__fields {
	display: grid;
	flex-grow: 1;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	width: 100%;
}

.eno-config__field label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	line-height: 1.4;
}

.eno-config__input-wrap {
	position: relative;
}

.eno-config .eno-config__input {
	width: 100%;
	height: 3.5rem;
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text);
	font-size: var(--eno-text-body-lg);
	appearance: textfield;
	-moz-appearance: textfield;
}

.eno-config .eno-config__input::-webkit-outer-spin-button,
.eno-config .eno-config__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.eno-config .eno-config__input:focus {
	outline: none;
	box-shadow: 0 0 0 1px var(--eno-color-orange);
}

.eno-config .eno-config__input--unit {
	padding-right: 3.5rem;
	text-align: right;
}

.eno-config__unit {
	position: absolute;
	top: 50%;
	right: 1.25rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	transform: translateY(-50%);
	pointer-events: none;
}

.eno-config .eno-config__submit {
	width: 100%;
	height: 3.5rem;
	padding-inline: 1.5rem;
	border-radius: var(--eno-radius-sm);
}

.eno-config__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--eno-color-surface-high);
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	line-height: 1.4;
}

.eno-config__notes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.eno-config__notes .eno-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.eno-config__sep {
	padding-inline: 0.5rem;
}

/* Box finder link + help link, bottom right. */
.eno-config__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

/* Mobile/tablet: card overlaps the bottom of the hero image; fields in a
   compact 2×2 grid with inputs aligned even when a label wraps. */
@media (max-width: 1023px) {
	.eno-config-bar {
		margin-top: -2.5rem;
		background-color: transparent;
	}

	.eno-config {
		gap: 1.5rem;
	}

	.eno-config__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: end;
		gap: 1rem;
	}

	.eno-config .eno-config__input {
		min-width: 0;
		padding-left: 1rem;
	}

	.eno-config .eno-config__input--unit {
		padding-right: 2.75rem;
	}

	.eno-config__unit {
		right: 1rem;
	}
}

@media (max-width: 479px) {
	.eno-config-bar__card {
		padding: 1.25rem;
	}

	.eno-config__field label {
		font-size: 0.75rem;
	}

	.eno-config .eno-config__input {
		height: 3rem;
	}

	.eno-config .eno-config__submit {
		height: 3rem;
	}

	.eno-config__badge {
		width: 3rem;
		height: 3rem;
	}
}

@media (min-width: 640px) {
	.eno-config__fields {
		grid-template-columns: repeat(2, 1fr);
	}

	.eno-config__footer {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 768px) {
	.eno-config-bar__card {
		padding: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.eno-config-bar {
		margin-top: 0;
		padding-bottom: 4rem;
	}

	.eno-config {
		flex-direction: row;
		align-items: flex-end;
	}

	.eno-config__fields {
		grid-template-columns: repeat(4, 1fr);
	}

	.eno-config .eno-config__submit {
		width: auto;
	}

	.eno-config__footer {
		align-items: flex-end;
	}
}

@media (min-width: 1280px) {
	.eno-config {
		gap: 1.5rem;
	}

	.eno-config__intro {
		padding-bottom: 0.25rem;
	}

	.eno-config .eno-config__submit {
		width: 220px;
	}
}

/* Highlight banner ------------------------------------------------------- */

.eno-promo {
	padding-top: 3rem;
}

.eno-promo__card {
	position: relative;
	z-index: 0;
	display: grid;
	gap: 2rem;
	overflow: hidden;
	padding: 2rem 1.5rem;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-green-soft);
	color: var(--eno-color-green-ink);
}

/* Corrugated texture fading in from the right. */
.eno-promo__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--eno-corrugated);
	background-size: 40px 18px;
	opacity: 0.6;
	-webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
	mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
	pointer-events: none;
}

.eno-promo__card--kraft {
	background-color: var(--eno-color-kraft-soft);
	color: var(--eno-color-kraft-ink);
}

.eno-promo__card--orange {
	background-color: var(--eno-color-orange);
	color: var(--eno-color-footer);
}

.eno-promo__card--orange::before {
	opacity: 0.22;
}

.eno-promo__card--dark {
	background-color: var(--eno-color-footer);
	color: var(--eno-color-white);
}

.eno-promo__card--dark::before {
	opacity: 0.08;
}

.eno-promo__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: center;
}

.eno-promo__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.25rem 0.75rem;
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	font-size: var(--eno-text-small);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eno-promo__badge::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: var(--eno-color-orange);
}

.eno-promo__title {
	max-width: 22ch;
	margin: 0;
	color: inherit;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-headline-lg);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.eno-promo__text {
	max-width: 34rem;
	margin-top: 1rem;
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-promo__text p {
	margin: 0 0 0.75em;
}

.eno-promo__text > :last-child {
	margin-bottom: 0;
}

.eno-promo__text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.eno-promo__action {
	margin-top: 1.75rem;
}

.eno-promo__card--dark .eno-button--dark {
	border-color: var(--eno-color-orange);
	background-color: var(--eno-color-orange);
}

.eno-promo__card--dark .eno-button--dark:hover,
.eno-promo__card--dark .eno-button--dark:focus-visible {
	border-color: var(--eno-color-orange-dark);
	background-color: var(--eno-color-orange-dark);
}

.eno-promo__card--dark :focus-visible {
	outline-color: var(--eno-color-white);
}

.eno-promo__card--orange :focus-visible {
	outline-color: var(--eno-color-footer);
}

.eno-promo__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 1.5rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
}

.eno-promo__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 500ms var(--eno-ease);
}

.eno-promo__card:hover .eno-promo__media img {
	transform: scale(1.04) rotate(-1deg);
}

@media (min-width: 768px) {
	.eno-promo {
		padding-top: 4rem;
	}

	.eno-promo__card {
		padding: 3rem;
	}

	.eno-promo__card--has-image {
		grid-template-columns: 3fr 2fr;
		gap: 3rem;
	}
}

@media (min-width: 1024px) {
	.eno-promo__card--has-image {
		padding: 1.5rem 1.5rem 1.5rem 3.5rem;
	}

	.eno-promo__card:not(.eno-promo__card--has-image) {
		padding: 3.5rem;
	}

	.eno-promo__media {
		aspect-ratio: 5 / 4;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-promo__media img {
		transition: none;
	}

	.eno-promo__card:hover .eno-promo__media img {
		transform: none;
	}
}

/* Assortment carousel ---------------------------------------------------- */

/* Native scroll-snap row; main.js only adds previous/next controls. */

.eno-assortment {
	padding-block: 4rem 3.5rem;
	border-top: 0;
}

.eno-assortment__header {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.eno-assortment__eyebrow {
	margin-bottom: 1rem;
}

.eno-assortment__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.eno-assortment__lead {
	max-width: 36rem;
	margin: 1rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-assortment__aside {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.75rem;
}

.eno-assortment__all {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--eno-color-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--eno-color-surface-dim);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	transition: text-decoration-color 300ms var(--eno-ease);
}

.eno-assortment__all:hover,
.eno-assortment__all:focus-visible {
	color: var(--eno-color-text);
	text-decoration-color: var(--eno-color-orange);
}

.eno-assortment__all .eno-icon {
	color: var(--eno-color-orange-dark);
	transition: transform 300ms var(--eno-ease);
}

.eno-assortment__all:hover .eno-icon {
	transform: translateX(4px);
}

/* Previous/next: desktop only, revealed by main.js when the row overflows.
   A hairline sets them apart from the destination link. */
.eno-assortment__controls {
	display: none;
	gap: 0.5rem;
	padding-left: 1.75rem;
	border-left: 1px solid var(--eno-color-surface-high);
}

.eno-assortment__control,
.eno-assortment__control:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--eno-color-surface-dim);
	border-radius: 50%;
	background-color: transparent;
	color: var(--eno-color-text);
	cursor: pointer;
	transition: border-color 200ms var(--eno-ease), background-color 200ms var(--eno-ease);
}

.eno-assortment__control:hover {
	border-color: var(--eno-color-text);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
}

.eno-assortment__control[aria-disabled="true"] {
	border-color: var(--eno-color-surface-high);
	background-color: transparent;
	color: var(--eno-color-text);
	cursor: default;
	opacity: 0.35;
}

.eno-assortment__control .eno-icon {
	width: 1rem;
	height: 1rem;
}

/* Track: bleeds into the gutter so cards scroll edge to edge. Card width
   follows from how many cards should be visible (--eno-assortment-visible). */
.eno-assortment__track {
	--eno-assortment-gap: 1rem;
	--eno-assortment-visible: 1.15;

	display: flex;
	gap: var(--eno-assortment-gap);
	margin: 0 calc(-1 * var(--eno-gutter));
	padding: 0.5rem var(--eno-gutter) 1rem;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-padding-inline: var(--eno-gutter);
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--eno-color-surface-dim) transparent;
	scrollbar-width: thin;
}

/* With the script running the controls take over; hide the scrollbar. */
.eno-assortment.is-enhanced .eno-assortment__track {
	scrollbar-width: none;
}

.eno-assortment.is-enhanced .eno-assortment__track::-webkit-scrollbar {
	display: none;
}

.eno-assortment__item {
	display: flex;
	flex: 0 0 calc((100% - var(--eno-assortment-gap) * (var(--eno-assortment-visible) - 1)) / var(--eno-assortment-visible));
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

/* Card styles: project.css ("Assortment card"), shared with the local landing pages. */

@media (min-width: 768px) {
	.eno-assortment__header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 2rem;
		margin-bottom: 2.5rem;
	}

	.eno-assortment__aside {
		flex-shrink: 0;
	}

	.eno-assortment__track {
		--eno-assortment-gap: 1.25rem;
		--eno-assortment-visible: 2.2;
	}
}

@media (min-width: 1024px) {
	.eno-assortment {
		padding-block: 5rem 4rem;
	}

	.eno-assortment__header {
		margin-bottom: 3rem;
	}

	.eno-assortment__controls:not([hidden]) {
		display: flex;
	}

	.eno-assortment__track {
		--eno-assortment-gap: 1.5rem;
		--eno-assortment-visible: 3.25;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-assortment__all .eno-icon {
		transition: none;
	}

	.eno-assortment__all:hover .eno-icon {
		transform: none;
	}
}

/* Mobile reviews slider: swipeable row with the next card peeking in. */
@media (max-width: 767px) {
	.eno-reviews__list {
		grid-template-columns: none;
		grid-auto-columns: var(--eno-slide, 85%);
		grid-auto-flow: column;
		width: calc(100% + 2 * var(--eno-gutter));
		margin-inline: calc(-1 * var(--eno-gutter));
		padding: 0.25rem var(--eno-gutter) 0.75rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-padding-inline: var(--eno-gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.eno-reviews__list::-webkit-scrollbar {
		display: none;
	}

	.eno-reviews__list > li {
		scroll-snap-align: start;
	}

	.eno-reviews__list:focus-visible {
		outline-offset: -2px;
	}

	.eno-reviews__list {
		margin-bottom: 1.5rem;
	}
}

/* Situations ------------------------------------------------------------- */

.eno-situations__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.eno-situation {
	position: relative;
	overflow: hidden;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-surface-low);
}

.eno-situation--featured {
	display: flex;
	align-items: flex-end;
	height: 400px;
}

.eno-situation__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply;
	transition: transform 500ms var(--eno-ease);
}

.eno-situation--featured:hover .eno-situation__bg {
	transform: scale(1.05);
}

.eno-situation--featured::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 60%), transparent 50%, transparent);
	pointer-events: none;
}

.eno-situation--featured .eno-situation__body {
	position: relative;
	z-index: 1;
	padding: 2rem;
}

.eno-situation__badge {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.25rem 0.75rem;
	border-radius: var(--eno-radius-sm);
	background-color: rgb(242 113 17 / 20%);
	color: var(--eno-color-orange);
	font-size: var(--eno-text-small);
	font-weight: 700;
	line-height: 1.4;
	backdrop-filter: blur(4px);
}

.eno-situation__title {
	margin: 0 0 0.5rem;
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-headline-md);
	font-weight: 700;
	line-height: 1.3;
}

.eno-situation--featured .eno-situation__title {
	margin-bottom: 1rem;
	color: var(--eno-color-white);
	font-size: var(--eno-text-headline-lg);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.eno-situation__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--eno-color-orange);
	font-size: var(--eno-text-label);
	font-weight: 700;
	text-decoration: none;
}

.eno-situation__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.eno-situation:hover .eno-situation__link,
.eno-situation__link:focus-visible {
	color: var(--eno-color-orange);
	text-decoration: underline;
}

.eno-situation--featured .eno-situation__link,
.eno-situation--featured:hover .eno-situation__link {
	gap: 0.5rem;
	color: var(--eno-color-white);
	font-size: var(--eno-text-body);
}

.eno-situations__stack {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.eno-situation--green,
.eno-situation--kraft {
	display: flex;
	flex-grow: 1;
	align-items: center;
	min-height: 13rem;
	padding: 2rem;
	transition: box-shadow 300ms var(--eno-ease), transform 300ms var(--eno-ease);
}

.eno-situation--green {
	background-color: var(--eno-color-green-soft);
	color: var(--eno-color-green-ink);
}

.eno-situation--kraft {
	background-color: var(--eno-color-kraft-soft);
	color: var(--eno-color-kraft-ink);
}

.eno-situation--green:hover,
.eno-situation--kraft:hover {
	box-shadow: var(--eno-shadow-lg);
	transform: translateY(-3px);
}

.eno-situation--green .eno-situation__body,
.eno-situation--kraft .eno-situation__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 56%;
}

.eno-situation--green .eno-situation__title,
.eno-situation--kraft .eno-situation__title {
	margin-bottom: 1rem;
	color: inherit;
	font-family: var(--eno-font-heading);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.eno-situation--green .eno-situation__link,
.eno-situation--kraft .eno-situation__link,
.eno-situation--green:hover .eno-situation__link,
.eno-situation--kraft:hover .eno-situation__link {
	gap: 0.5rem;
	color: inherit;
	font-size: var(--eno-text-body);
}

.eno-situation__link .eno-icon {
	transition: transform 150ms var(--eno-ease);
}

.eno-situation:hover .eno-situation__link .eno-icon {
	transform: translateX(4px);
}

.eno-situation__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background-color: var(--eno-color-white);
}

.eno-situation--green .eno-situation__icon {
	color: var(--eno-color-green-ink);
}

.eno-situation--kraft .eno-situation__icon {
	color: var(--eno-color-kraft-ink);
}

/* Large product photo anchored bottom-right; multiply blends a white photo
   background into the card colour. */
.eno-situation__thumb {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 46%;
	height: 100%;
	padding: 1.25rem 1.25rem 0 0;
}

.eno-situation__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
	mix-blend-mode: multiply;
	transition: transform 500ms var(--eno-ease);
}

.eno-situation:hover .eno-situation__thumb img {
	transform: scale(1.05);
}

@media (max-width: 479px) {
	.eno-situation--green,
	.eno-situation--kraft {
		min-height: 11rem;
		padding: 1.5rem;
	}

	.eno-situation--green .eno-situation__body,
	.eno-situation--kraft .eno-situation__body {
		max-width: 60%;
	}

	.eno-situation__thumb {
		width: 42%;
		padding: 1rem 0.75rem 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-situation:hover,
	.eno-situation:hover .eno-situation__thumb img,
	.eno-situation:hover .eno-situation__link .eno-icon {
		transform: none;
	}
}

@media (min-width: 1024px) {
	.eno-situations__grid {
		grid-template-columns: repeat(12, 1fr);
	}

	.eno-situation--featured {
		grid-column: span 7;
		height: 500px;
	}

	.eno-situation--featured .eno-situation__body {
		padding: 3rem;
	}

	.eno-situations__stack {
		grid-column: span 5;
	}
}

/* USPs -------------------------------------------------------------------- */

.eno-usps {
	padding-block: 2rem 6rem;
	border-top: 0;
}

/* One bordered strip, columns separated by hairlines (1px gap on a
   border-coloured background). */
.eno-usps__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-surface-high);
	box-shadow: var(--eno-shadow-float);
	list-style: none;
}

.eno-usp {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2.5rem 1.5rem;
	background-color: var(--eno-color-white);
	text-align: center;
}

/* Shared rows (icon / title / points) across the columns of one grid row, so
   every checklist starts at the same height even when a title wraps. */
@supports (grid-template-rows: subgrid) {
	.eno-usp {
		display: grid;
		grid-row: span 3;
		grid-template-rows: subgrid;
		row-gap: 0;
		justify-items: center;
		align-content: start;
	}

	.eno-usp__icon {
		grid-row: 1;
	}

	.eno-usp__title {
		grid-row: 2;
		align-self: start;
	}

	.eno-usp__points {
		grid-row: 3;
	}
}

.eno-usp__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange);
	transition: transform 300ms var(--eno-ease);
}

.eno-usp__icon .eno-icon {
	width: 2rem;
	height: 2rem;
}

.eno-usp:hover .eno-usp__icon {
	transform: translateY(-4px) rotate(-6deg);
}

.eno-usp--green .eno-usp__icon {
	background-color: var(--eno-color-green-bg);
	color: var(--eno-color-green);
}

.eno-usp__title {
	margin: 0 0 1rem;
	font-family: var(--eno-font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* The list is centred as a block; its lines align left so the checks form
   one straight column. */
.eno-usp__points {
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
	text-align: left;
	list-style: none;
}

.eno-usp__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.5;
}

.eno-usp__points li + li {
	margin-top: 0.5rem;
}

.eno-usp__points .eno-icon {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: calc((1.5em - 1rem) / 2); /* centred on the first text line */
	color: var(--eno-color-orange);
}

.eno-usp--green .eno-usp__points .eno-icon {
	color: var(--eno-color-green);
}

@media (min-width: 640px) {
	.eno-usps__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.eno-usps__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.eno-usp {
		padding: 3rem 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-usp__icon {
		transition: none;
	}

	.eno-usp:hover .eno-usp__icon {
		transform: none;
	}
}

/* Colour bands with corrugated-board texture ----------------------------- */

/* Cross-section of single-wall board: a fluted wave under a liner line.
   Used as a faint texture so the bands feel like the product itself. */
.eno-band {
	position: relative;
	z-index: 0;
	overflow: hidden;
	border-top: 0;
}

.eno-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--eno-corrugated);
	background-size: 40px 18px;
	pointer-events: none;
}

.eno-band--dark {
	background-color: var(--eno-color-footer);
	color: var(--eno-color-white);
}

.eno-band--dark::before {
	opacity: 0.07;
	-webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 100%, #000, transparent);
	mask-image: radial-gradient(ellipse 70% 90% at 100% 100%, #000, transparent);
}

.eno-band--dark .eno-home-heading__title {
	color: inherit;
}

.eno-band--dark :focus-visible {
	outline-color: var(--eno-color-white);
}

.eno-band--orange {
	background-color: var(--eno-color-orange);
	color: var(--eno-color-footer);
}

.eno-band--orange::before {
	opacity: 0.22;
	-webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
	mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
}

.eno-band--orange :focus-visible {
	outline-color: var(--eno-color-footer);
}

/* Steps ------------------------------------------------------------------- */

.eno-steps {
	padding-block: 8rem;
}

.eno-steps__intro {
	max-width: 36rem;
	margin: -4rem auto 5rem;
	color: rgb(255 255 255 / 72%);
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
	text-align: center;
}

.eno-steps__list {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	max-width: 64rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.eno-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.eno-step__number {
	margin-bottom: 1rem;
	padding-inline: 1rem;
	background-color: var(--eno-color-footer);
	color: var(--eno-color-orange);
	font-family: var(--eno-font-heading);
	font-size: 5rem;
	font-weight: 900;
	line-height: 1;
}

@supports (-webkit-text-stroke: 2px) {
	.eno-step__number {
		color: transparent;
		-webkit-text-stroke: 2px var(--eno-color-orange);
	}
}

.eno-step__icon {
	width: 2rem;
	height: 2rem;
	margin-bottom: 1rem;
	color: var(--eno-color-orange);
}

.eno-step__title {
	margin: 0;
	color: var(--eno-color-white);
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-headline-md);
	font-weight: 700;
	line-height: 1.3;
}

.eno-step--final .eno-step__number {
	color: var(--eno-color-green-soft);
	-webkit-text-stroke-color: var(--eno-color-green-soft);
}

.eno-step--final .eno-step__icon {
	color: var(--eno-color-green-soft);
}

.eno-steps__action {
	margin-top: 4.5rem;
	text-align: center;
}

@media (max-width: 767px) {
	.eno-steps {
		padding-block: 5rem;
	}

	.eno-steps .eno-home-heading--center {
		margin-bottom: 3.5rem;
	}

	.eno-steps__intro {
		margin: -2rem auto 3.5rem;
	}

	.eno-steps__action {
		margin-top: 3.5rem;
	}
}

@media (min-width: 768px) {
	.eno-steps__list {
		grid-template-columns: repeat(var(--eno-steps, 4), 1fr);
	}

	.eno-steps__list::before {
		content: "";
		position: absolute;
		top: 2.5rem;
		right: 15%;
		left: 15%;
		height: 2px;
		background-image: linear-gradient(90deg, rgb(255 255 255 / 20%) 50%, transparent 0);
		background-size: 12px 2px;
	}
}

/* About ------------------------------------------------------------------- */

.eno-about {
	overflow: hidden;
	border-top: 0;
	background-color: var(--eno-color-surface-low);
}

.eno-about__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
}

.eno-about__media {
	position: relative;
	width: 100%;
}

.eno-about__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--eno-radius-lg);
	box-shadow: var(--eno-shadow-lg);
}

.eno-about__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eno-about__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.eno-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.eno-eyebrow .eno-icon {
	color: var(--eno-color-orange);
}

.eno-about__title {
	margin: 0 0 2rem;
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.eno-about__text {
	margin-bottom: 3rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
}

.eno-about__text p {
	margin: 0;
}

.eno-about__text p + p {
	margin-top: 1.5rem;
}

@media (min-width: 1024px) {
	.eno-about__inner {
		flex-direction: row;
		gap: 6rem;
	}

	.eno-about__media {
		width: 55%;
		flex-shrink: 0;
	}

	.eno-about__media::after {
		content: "";
		position: absolute;
		bottom: -1.5rem;
		left: -1.5rem;
		width: 6rem;
		height: 6rem;
		border-bottom: 4px solid var(--eno-color-orange);
		border-left: 4px solid var(--eno-color-orange);
		opacity: 0.2;
	}

	.eno-about__frame {
		aspect-ratio: auto;
		height: 500px;
	}

	.eno-about__content {
		width: 45%;
	}
}

/* Reviews ----------------------------------------------------------------- */

.eno-reviews {
	background-color: var(--eno-color-surface-low);
}

.eno-reviews__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.eno-reviews__title {
	margin: 0 0 3rem;
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-headline-lg);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.eno-reviews__rating {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-bottom: 3rem;
}

.eno-reviews__score {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.eno-reviews__value {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.eno-reviews__stars {
	display: flex;
	margin-top: 0.5rem;
	color: var(--eno-color-star);
}

.eno-reviews__meta {
	position: relative;
	padding-left: 2rem;
	text-align: left;
}

.eno-reviews__meta::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 3rem;
	background-color: var(--eno-color-surface-high);
	transform: translateY(-50%);
}

.eno-reviews__count {
	margin: 0;
	font-size: var(--eno-text-label);
	font-weight: 700;
	line-height: 1.4;
}

.eno-reviews__source {
	margin: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	line-height: 1.4;
}

.eno-reviews__list {
	display: grid;
	gap: 1rem;
	width: 100%;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
	text-align: left;
}

.eno-reviews__list > li {
	display: flex;
}

.eno-review {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: 0;
	padding: 2rem 1.75rem 1.75rem;
	border: 1px solid var(--eno-color-surface-high);
	border-top: 3px solid var(--eno-color-orange);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	box-shadow: var(--eno-shadow-sm);
}

.eno-review::before {
	content: "\201C";
	display: block;
	height: 2.5rem;
	color: var(--eno-color-orange);
	font-family: var(--eno-font-heading);
	font-size: 4rem;
	font-weight: 800;
	line-height: 1;
}

.eno-review__quote {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: inherit;
	font-style: normal;
}

.eno-review__quote p {
	margin: 0;
	color: var(--eno-color-text);
	font-size: var(--eno-text-body-lg);
	font-weight: 500;
	line-height: 1.6;
}

.eno-review__author {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--eno-color-surface);
	color: var(--eno-color-orange-dark);
	font-size: var(--eno-text-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.eno-slider-dots {
	display: flex;
	justify-content: center;
	gap: 0.25rem;
	margin-bottom: 2rem;
}

.eno-slider-dots button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.eno-slider-dots button::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 0.25rem;
	background-color: var(--eno-color-surface-dim);
	transition: width 200ms var(--eno-ease), background-color 200ms var(--eno-ease);
}

.eno-slider-dots button[aria-current="true"]::before {
	width: 1.5rem;
	background-color: var(--eno-color-orange);
}

@media (min-width: 768px) {
	.eno-slider-dots {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-slider-dots button::before {
		transition: none;
	}
}

.eno-arrow-link--muted {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body);
}

.eno-arrow-link--muted:hover,
.eno-arrow-link--muted:focus-visible {
	color: var(--eno-color-orange);
}

@media (max-width: 479px) {
	.eno-reviews__rating {
		flex-direction: column;
		gap: 1rem;
	}

	.eno-reviews__meta {
		padding-left: 0;
		text-align: center;
	}

	.eno-reviews__meta::before {
		display: none;
	}
}

@media (min-width: 768px) {
	.eno-reviews__list {
		grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
		gap: 1.5rem;
	}
}

/* Closing call to action -------------------------------------------------- */

.eno-cta {
	padding-block: 5rem;
}

.eno-cta__inner {
	display: grid;
	align-items: center;
	gap: 3rem;
}

.eno-cta__title {
	max-width: 20ch;
	margin: 0;
	color: inherit;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.eno-cta__accent {
	color: var(--eno-color-white);
}

.eno-cta__text {
	max-width: 36rem;
	margin-top: 1.25rem;
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-cta__text p {
	margin: 0 0 0.75em;
}

.eno-cta__text > :last-child {
	margin-bottom: 0;
}

.eno-cta__text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.eno-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.eno-cta__media {
	display: none;
}

@media (max-width: 479px) {
	.eno-cta__actions .eno-button {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.eno-cta {
		padding-block: 6rem;
	}

	.eno-cta__inner {
		grid-template-columns: 3fr 2fr;
	}

	.eno-cta__media {
		display: block;
	}

	.eno-cta__media img {
		display: block;
		width: 100%;
		max-height: 22rem;
		object-fit: contain;
		filter: drop-shadow(0 24px 32px rgb(28 27 27 / 22%));
	}
}

/* Soft light behind the media side for depth. */
.eno-cta {
	background-image: radial-gradient(circle at 78% 50%, rgb(255 255 255 / 16%), transparent 40%);
}

@keyframes eno-band-drift {
	to {
		background-position: 160px 0;
	}
}

.eno-band--orange::before {
	animation: eno-band-drift 30s linear infinite;
}

.eno-cta .eno-button .eno-icon {
	transition: transform 150ms var(--eno-ease);
}

.eno-cta .eno-button:hover .eno-icon {
	transform: translateX(4px);
}

/* Reveal on scroll: only when JS has armed the section (is-armed), so the
   content is always visible without JS. */

.eno-cta__content > * {
	transition: opacity 600ms var(--eno-ease), transform 600ms var(--eno-ease);
}

.eno-cta__content > :nth-child(2) {
	transition-delay: 100ms;
}

.eno-cta__content > :nth-child(3) {
	transition-delay: 200ms;
}

.eno-cta.is-armed:not(.is-inview) .eno-cta__content > * {
	opacity: 0;
	transform: translateY(1.25rem);
}

@media (prefers-reduced-motion: reduce) {
	.eno-band--orange::before {
		animation: none;
	}

	.eno-cta__content > * {
		transition: none;
	}

	.eno-cta .eno-button:hover .eno-icon {
		transform: none;
	}
}

/* Hero entrance ------------------------------------------------------------
   CSS-only on load (no JS needed, ends fully visible). The scroll reveals of
   the other sections live in project.css; the closing CTA keeps its own
   reveal (see above). */

.eno-home {
	--eno-enter-distance: 8px;
}

@media (min-width: 768px) {
	.eno-home {
		--eno-enter-distance: 12px;
	}
}

@keyframes eno-enter {
	from {
		opacity: 0;
		transform: translate3d(0, var(--eno-enter-distance), 0);
	}
}

.eno-hero__title,
.eno-hero__intro,
.eno-hero__actions,
.eno-hero__trust,
.eno-config-bar__card {
	animation: eno-enter 600ms var(--eno-ease-out) both;
}

.eno-hero__intro {
	animation-delay: 100ms;
}

.eno-hero__actions {
	animation-delay: 200ms;
}

.eno-hero__trust {
	animation-delay: 280ms;
}

.eno-config-bar__card {
	animation-delay: 360ms;
}

@media (prefers-reduced-motion: reduce) {
	.eno-hero__title,
	.eno-hero__intro,
	.eno-hero__actions,
	.eno-hero__trust,
	.eno-config-bar__card {
		animation: none;
	}
}
