/* Narpoon Hero — Figma nodes 59:1075 / 59:1077 / 59:1073 (1440×962) */

.narpoon-hero {
	--narpoon-hero-height: clamp(640px, 66.8056vw, 962px);
	--narpoon-card-width: 404px;
	--narpoon-card-inset-right: clamp(24px, 8.333vw, 120px);
	position: relative;
	width: 100%;
	min-height: var(--narpoon-hero-height);
	overflow: hidden;
}

.narpoon-hero__media {
	position: absolute;
	inset: 0;
}

.narpoon-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	transition: opacity 0.8s ease;
	will-change: opacity;
}

.narpoon-hero__bg.is-active {
	opacity: 1;
}

.narpoon-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.narpoon-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.64);
	pointer-events: none;
}

.narpoon-hero__content {
	position: absolute;
	z-index: 2;
	left: clamp(24px, 5.6vw, 81px);
	top: clamp(140px, 28vw, 271px);
	max-width: min(874px, calc(100% - 48px));
	display: flex;
	flex-direction: column;
	gap: 40px;
	color: #ffffff;
}

.narpoon-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.narpoon-hero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--outfit, "Outfit", sans-serif);
	font-size: clamp(32px, 4.17vw, 60px);
	font-weight: 400;
	line-height: clamp(42px, 5.56vw, 80px);
	letter-spacing: -2px;
	color: #ffffff;
}

.narpoon-hero__title-line {
	display: block;
}

.narpoon-hero__title em {
	font-style: normal;
	font-weight: 500;
	color: #9fe35d;
}

.narpoon-hero__subtitle {
	margin: 0;
	max-width: 818px;
	font-size: clamp(16px, 1.53vw, 22px);
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: -0.8px;
}

.narpoon-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 175px;
	height: 46px;
	padding: 0;
	border: none;
	border-radius: 16px;
	background: var(--wp--preset--color--accent, #dcffba);
	color: var(--wp--preset--color--primary, #051f1c);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: -0.48px;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: opacity 0.2s ease;
}

.narpoon-hero__cta:hover {
	opacity: 0.9;
}

.narpoon-hero__cta:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, #051f1c);
	outline-offset: 3px;
}

.narpoon-hero__cta-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.narpoon-hero__card {
	position: absolute;
	right: var(--narpoon-card-inset-right);
	bottom: 0;
	width: min(var(--narpoon-card-width), calc(100% - 48px));
	height: 393px;
	background: var(--wp--preset--color--surface, #f7f7f7);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-bottom: none;
	border-radius: 16px 16px 0 0;
	padding: 70px 13px 0;
	box-sizing: border-box;
	overflow: visible;
}

.narpoon-hero__card--reveal {
	opacity: 0;
	transform: translateY(32px);
	animation: narpoon-hero-card-in 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes narpoon-hero-card-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.narpoon-hero__card-corner {
	position: absolute;
	bottom: -1px;
	width: 30px;
	height: 30px;
	pointer-events: none;
}

.narpoon-hero__card-corner--left {
	left: -29.39px;
}

.narpoon-hero__card-corner--right {
	right: -29.39px;
}

.narpoon-hero__card-corner svg,
.narpoon-hero__card-corner img {
	display: block;
	width: 30px;
	height: 30px;
}

.narpoon-hero__carousel {
	position: relative;
	height: 321px;
}

.narpoon-hero__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 129px;
	position: absolute;
	top: -42px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	z-index: 2;
}

.narpoon-hero__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}

.narpoon-hero__arrow:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, #051f1c);
	outline-offset: 2px;
	border-radius: 2px;
}

.narpoon-hero__arrow img {
	display: block;
	width: 6px;
	height: 11px;
}

.narpoon-hero__dots {
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.narpoon-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: var(--wp--preset--color--accent, #dcffba);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.narpoon-hero__dot.is-active,
.narpoon-hero__dot[aria-current="true"] {
	background: var(--wp--preset--color--primary, #051f1c);
}

.narpoon-hero__dot:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, #051f1c);
	outline-offset: 2px;
}

.narpoon-hero__viewport {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 378px;
	margin: 0 auto;
	border-radius: 12px;
	background: var(--wp--preset--color--surface-alt, #f5f7f9);
	height: 321px;
	overflow: hidden;
}

.narpoon-hero__image-viewport {
	width: 100%;
	max-width: 378px;
	height: 187px;
	overflow: hidden;
	flex-shrink: 0;
}

.narpoon-hero__track {
	display: flex;
	gap: 10px;
	width: max-content;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.narpoon-hero__slide {
	flex: 0 0 378px;
	width: 378px;
	max-width: 378px;
	margin: 0;
	height: 187px;
	overflow: hidden;
	border-radius: 8px;
}

.narpoon-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.narpoon-hero__slide-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	padding: 24px 0 0;
	width: 100%;
	max-width: 315.202px;
	margin: 0 auto;
	text-align: center;
	flex: 1;
}

.narpoon-hero__slide-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--outfit, "Outfit", sans-serif);
	font-size: var(--wp--preset--font-size--card-title, 22px);
	font-weight: 500;
	line-height: 36px;
	color: var(--wp--preset--color--heading, #043333);
}

.narpoon-hero__slide-desc {
	margin: 0;
	font-family: var(--wp--preset--font-family--outfit, "Outfit", sans-serif);
	font-size: var(--wp--preset--font-size--card-body, 13px);
	font-weight: 400;
	line-height: 21px;
	color: var(--wp--preset--color--body, #525866);
	max-width: 315.202px;
}

@media (min-width: 1440px) {
	.narpoon-hero__card {
		right: 120px;
		width: 404px;
	}
}

@media (max-width: 900px) {
	.narpoon-hero__nav {
		gap: 48px;
	}

	.narpoon-hero__card {
		left: 16px;
		right: 16px;
		width: auto;
		max-width: var(--narpoon-card-width);
		margin-inline: auto;
		transform: none;
	}
}

@media (max-width: 768px) {
	.narpoon-hero {
		--narpoon-hero-height: 985px;
		min-height: 985px;
		padding-top: 0;
		overflow-x: clip;
	}

	.narpoon-hero__media {
		overflow: hidden;
	}

	.narpoon-hero__bg {
		top: 0;
		left: -127%;
		width: 354%;
		height: 106%;
		max-width: none;
		inset: auto;
		object-fit: cover;
	}

	.narpoon-hero__content {
		left: 16px;
		right: 16px;
		width: auto;
		max-width: 361px;
		margin-inline: auto;
		top: 194px;
		transform: none;
		padding: 0;
		gap: 24px;
		align-items: flex-start;
		box-sizing: border-box;
	}

	.narpoon-hero__content.narpoon-reveal {
		transform: translateY(28px);
	}

	.narpoon-hero__content.narpoon-reveal.is-visible {
		transform: none;
	}

	.narpoon-hero__copy {
		gap: 8px;
		width: 100%;
	}

	.narpoon-hero__title {
		font-size: 26px;
		line-height: 40px;
		letter-spacing: -0.5px;
		word-break: break-word;
	}

	.narpoon-hero__title-line {
		display: inline;
	}

	.narpoon-hero__subtitle {
		font-size: 16px;
		line-height: 34px;
		letter-spacing: -0.8px;
		max-width: none;
		width: 100%;
	}

	.narpoon-hero__cta {
		width: 175px;
		height: 46px;
		padding: 0;
	}

	.narpoon-hero__card {
		left: 16px;
		right: 16px;
		top: 635px;
		bottom: auto;
		width: auto;
		max-width: 360px;
		margin-inline: auto;
		transform: none;
		height: 350px;
		min-height: 350px;
		border-radius: 14px 14px 0 0;
		padding-top: 56px;
		border-bottom: none;
		box-sizing: border-box;
	}

	.narpoon-hero__card-corner {
		display: block;
	}

	.narpoon-hero__carousel {
		height: 253px;
	}

	.narpoon-hero__nav {
		gap: 115px;
		top: -37px;
	}

	.narpoon-hero__viewport {
		width: 100%;
		max-width: 337px;
		height: 253px;
	}

	.narpoon-hero__image-viewport {
		height: 167px;
	}

	.narpoon-hero__slide {
		flex: 0 0 100%;
		width: 100%;
		max-width: 337px;
		height: 167px;
	}

	.narpoon-hero__slide-text {
		padding-top: 20px;
		gap: 4px;
	}

	.narpoon-hero__slide-title {
		font-size: 20px;
		line-height: 32px;
	}

	.narpoon-hero__slide-desc {
		font-size: 12px;
		line-height: 19px;
	}
}

@media (max-width: 640px) {
	.narpoon-hero__card {
		top: 635px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.narpoon-hero__track,
	.narpoon-hero__bg,
	.narpoon-hero__card--reveal {
		transition: none;
		animation: none;
		opacity: 1;
		transform: none;
	}
}
