.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 560px;
	height: clamp(560px, 41.8vw, 720px);
	background: var(--night);
	color: var(--white);
}
.hero-camera,
.scene,
.scene img,
.hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-camera {
	transform: translate3d(0, var(--travel, 0px), 0) scale(var(--zoom, 1));
	transform-origin: 70% 48%;
}
.scene {
	opacity: 0;
	transition: opacity 1.3s cubic-bezier(0.3, 0, 0.27, 1);
}
.scene.current {
	opacity: 1;
}
.scene img {
	object-fit: cover;
	object-position: 65% 48%;
}
.hero-shade {
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(11, 13, 12, 0.85) 0%,
			rgba(14, 15, 12, 0.6) 24%,
			rgba(19, 18, 14, 0.18) 52%,
			transparent 78%
		),
		linear-gradient(0deg, rgba(12, 13, 12, 0.76), transparent 25%);
}
.hero-inner {
	height: 100%;
	display: flex;
	align-items: center;
	position: relative;
	padding-block: 38px 92px;
}
.hero-copy {
	width: min(52%, 650px);
}
.hero-place {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 600 15px var(--body);
	color: var(--paper);
	margin-bottom: 21px;
}
.hero-place .icon {
	width: 16px;
	height: 16px;
	color: var(--accent);
}
h1 {
	font: 400 clamp(80px, 7.9vw, 142px) / 0.98 var(--display);
	letter-spacing: -0.045em;
}
h1 em {
	font-style: normal;
	display: inline-block;
	transform: skewX(-8deg);
	transform-origin: left bottom;
	color: var(--accent);
}
.intro {
	font-size: clamp(16px, 1.25vw, 20px);
	line-height: 1.5;
	max-width: 430px;
	margin: 20px 0 24px;
	color: var(--white);
	text-wrap: pretty;
}
.hero-actions,
.visit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.hero-foot {
	position: absolute;
	inset: auto 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.hero-foot::before {
	content: "";
	position: absolute;
	inset: -12px var(--gutter) auto;
	height: 1px;
	background: var(--light-rule);
}
.explore {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--white);
	font: 600 13px var(--body);
}
.explore span {
	display: grid;
	place-items: center;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	border: 1px solid var(--light-rule);
}
.explore .icon {
	width: 14px;
	height: 14px;
}
.viewer-top button,
.viewer-bottom button {
	border-radius: 50%;
	width: 40px;
	height: 40px;
	color: var(--white);
	background: var(--shade);
	border: 1px solid var(--light-rule);
	display: grid;
	place-items: center;
}
@media (min-width: 1800px) {
	.hero {
		height: 715px;
	}
	.hero-camera {
		transform-origin: 72% 45%;
	}
	.scene img {
		object-position: 50% 38%;
	}
}
@media (max-width: 850px) {
	.hero {
		height: 545px;
		min-height: 0;
	}
	.hero-copy {
		width: 59%;
	}
	.hero-actions {
		gap: 8px;
	}
	.scene img {
		object-position: 72% center;
	}
	.hero-shade {
		background:
			linear-gradient(
				90deg,
				rgba(10, 12, 10, 0.84),
				rgba(12, 13, 10, 0.46) 46%,
				transparent 85%
			),
			linear-gradient(0deg, var(--shade), transparent 20%);
	}
}
@media (max-width: 680px) {
	.hero {
		height: clamp(560px, 78svh, 680px);
	}
	.hero-inner {
		align-items: flex-end;
		padding-block: 0 90px;
	}
	.hero-copy {
		width: 100%;
	}
	.hero-place {
		font-size: 13px;
		margin-bottom: 12px;
	}
	.hero-camera {
		transform-origin: 77% 17%;
	}
	.scene img {
		height: 62%;
		object-position: 75% center;
	}
	.hero-shade {
		background: linear-gradient(
			0deg,
			var(--night) 0%,
			var(--night) 27%,
			rgba(16, 17, 14, 0.97) 38%,
			rgba(16, 17, 14, 0.62) 55%,
			transparent 74%
		);
	}
	h1 {
		font-size: clamp(64px, 14vw, 92px);
		line-height: 0.98;
	}
	.intro {
		max-width: 400px;
		font-size: 16px;
		margin: 14px 0 18px;
	}
	.hero-foot {
		bottom: 14px;
	}
	.hero-foot::before {
		top: -10px;
	}
	.hero-actions .button {
		min-height: 44px;
	}
	.explore {
		font-size: 12px;
	}
}
@media (max-width: 370px) {
	.hero-actions .button {
		padding-inline: 13px;
		font-size: 13px;
	}
	.hero-inner {
		padding-bottom: 84px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hero-camera {
		transform: none;
	}
}
