.nish-home-hero {
	--hero-green: var(--nish-primary, #43aa5b);
	--hero-green-dark: var(--nish-primary-dark, #2f7d43);
	--hero-ink: #183225;
	position: relative;
	margin: 0 0 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}

.nish-home-hero__stage {
	position: relative;
	min-height: clamp(430px, 36vw, 488px);
}

.nish-home-hero__slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.18fr);
	gap: clamp(22px, 3vw, 48px);
	padding: clamp(28px, 4vw, 58px);
	opacity: 0;
	visibility: hidden;
	transform: translateX(18px);
	transition: opacity .45s ease, transform .55s cubic-bezier(.22, 1, .36, 1), visibility .45s;
}

.nish-home-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nish-home-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-bottom: 0;
}

.nish-home-hero__title {
	max-width: 580px;
	margin: 0;
	color: var(--hero-ink);
	font-family: inherit;
	font-size: clamp(38px, 4vw, 60px);
	font-weight: 760;
	line-height: 1.03;
	letter-spacing: -.045em;
}

.nish-home-hero__copy > p {
	max-width: 600px;
	margin: 22px 0 26px;
	color: #57655d;
	font-size: clamp(15px, 1.35vw, 18px);
	line-height: 1.65;
}

.nish-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nish-home-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 50px;
	padding: 12px 23px;
	font-size: 14px;
	font-weight: 750;
	border: 1px solid var(--hero-green);
	border-radius: 12px;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nish-home-hero__button:hover {
	transform: translateY(-2px);
}

.nish-home-hero__button--primary {
	color: #fff;
	background: var(--hero-green);
	box-shadow: 0 10px 22px rgba(22, 113, 59, .18);
}

.nish-home-hero__button--primary:hover {
	color: #fff;
	background: var(--hero-green-dark);
}

.nish-home-hero__button--secondary {
	color: var(--hero-green);
	background: rgba(255, 255, 255, .68);
}

.nish-home-hero__button--secondary:hover {
	color: var(--hero-green-dark);
	background: #fff;
}

.nish-home-hero__media {
	position: relative;
	display: block;
	align-self: stretch;
	min-height: 100%;
	border-radius: 22px;
	background: #e6eee7;
	box-shadow: 0 18px 40px rgba(24, 50, 37, .14);
	overflow: hidden;
}

.nish-home-hero__media-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.nish-home-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform 7s ease;
}

.nish-home-hero__slide.is-active .nish-home-hero__media img {
	transform: scale(1.035);
}

.nish-home-hero__slide--crop-right .nish-home-hero__media img {
	width: 205%;
	margin-left: -105%;
	object-position: right center;
}

.nish-home-hero__slide--crop-right.is-active .nish-home-hero__media img {
	transform: scale(1.025);
}

.nish-home-hero__media-shade {
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
	pointer-events: none;
}

.nish-home-hero__controls {
	position: absolute;
	z-index: 4;
	inset: 0;
	display: block;
	pointer-events: none;
}

.nish-home-hero__arrow {
	position: absolute;
	top: 50%;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	font-size: 17px;
	background: var(--hero-green);
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	box-shadow: 0 7px 18px rgba(47, 125, 67, .28);
	transform: translateY(-50%);
	pointer-events: auto;
}

.nish-home-hero__arrow:hover {
	color: #fff;
	background: var(--hero-green-dark);
}

.nish-home-hero__arrow:first-child { left: 14px; }
.nish-home-hero__arrow:last-child { right: 14px; }

.nish-home-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 15px;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px;
	background: rgba(255, 255, 255, .78);
	border-radius: 999px;
	box-shadow: 0 5px 16px rgba(24, 50, 37, .12);
	transform: translateX(-50%);
	pointer-events: auto;
}

.nish-home-hero__dot {
	width: 7px;
	height: 7px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	background: rgba(22, 113, 59, .28);
	border: 0;
	border-radius: 999px;
	transition: width .25s ease, background .25s ease;
}

.nish-home-hero__dot.is-active {
	width: 25px;
	background: var(--hero-green);
}

@media (max-width: 1024px) {
	.nish-home-hero__stage {
		min-height: 470px;
	}

	.nish-home-hero__slide {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 22px;
		padding: 34px;
	}

	.nish-home-hero__title {
		font-size: clamp(34px, 4.7vw, 48px);
	}

	.nish-home-hero__copy > p {
		font-size: 15px;
	}

}

@media (max-width: 900px) {
	.nish-home-hero {
		margin-bottom: 14px;
		border-radius: 0;
	}

	.nish-home-hero__stage {
		min-height: 610px;
	}

	.nish-home-hero__slide {
		grid-template-columns: 1fr;
		grid-template-rows: 230px auto;
		gap: 20px;
		padding: 25px 20px 66px;
	}

	.nish-home-hero__copy {
		grid-row: 2;
		justify-content: flex-start;
		padding: 0;
	}

	.nish-home-hero__media {
		grid-row: 1;
	}

	.nish-home-hero__title {
		font-size: clamp(32px, 9.6vw, 40px);
		line-height: 1.05;
	}

	.nish-home-hero__copy > p {
		margin: 15px 0 18px;
		font-size: 14px;
		line-height: 1.55;
	}

	.nish-home-hero__actions {
		width: 100%;
		gap: 8px;
	}

	.nish-home-hero__button {
		flex: 1 1 0;
		min-height: 46px;
		padding: 10px 12px;
		font-size: 12.5px;
		border-radius: 11px;
	}

	.nish-home-hero__media {
		min-height: 230px;
		border-radius: 17px;
	}

	.nish-home-hero__slide--crop-right .nish-home-hero__media img {
		width: 190%;
		margin-left: -90%;
	}

	.nish-home-hero__arrow {
		top: 140px;
		width: 38px;
		height: 38px;
	}
	.nish-home-hero__arrow:first-child { left: 10px; }
	.nish-home-hero__arrow:last-child { right: 10px; }
	.nish-home-hero__dots {
		top: 214px;
		bottom: auto;
	}
}

@media (max-width: 420px) {
	.nish-home-hero__stage {
		min-height: 625px;
	}

	.nish-home-hero__slide {
		grid-template-rows: 220px auto;
	}

	.nish-home-hero__arrow { top: 135px; }
	.nish-home-hero__dots { top: 204px; }
}

@media (prefers-reduced-motion: reduce) {
	.nish-home-hero__slide,
	.nish-home-hero__media img,
	.nish-home-hero__button {
		transition: none;
	}
}
