/**
 * Home — Hero + card scroller
 */

/* ---------- Hero ---------- */
.l1-hero {
	position: relative;
	min-height: 100vh;
	padding: 8.5rem 0 2.75rem;
	color: #fff;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	isolation: isolate;
}
.l1-hero-sky {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: var(--gradient);
}
.hero-bg-grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 75%);
}
.l1-hero-particles {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.l1-hero-particles canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
}
.l1-hero-glow {
	position: absolute;
	width: 70%;
	height: 50%;
	left: 15%;
	top: 8%;
	z-index: 1;
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.22), transparent 70%);
	pointer-events: none;
}

.l1-hero-inner {
	position: relative;
	z-index: 3;
	width: 100%;
	text-align: center;
}
.l1-hero-eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.9;
	margin: 0 0 0.65rem;
}
.l1-hero-copy h1 {
	font-size: clamp(1.75rem, 4.2vw, 3.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 auto 0.7rem;
	max-width: 16em;
	min-height: 0;
}
.l1-hero-copy h1 .l1-hero-rotate {
	display: block;
	position: relative;
	color: #fff;
	font-weight: 700;
	white-space: normal;
	min-height: 2.4em; /* reserve ~2 wrapped lines; JS refines to tallest phrase */
	box-sizing: content-box;
}
.l1-hero-copy h1 .l1-hero-rotate::after {
	content: '';
	display: inline-block;
	width: 0.08em;
	height: 0.92em;
	margin-left: 0.12em;
	vertical-align: -0.08em;
	background: linear-gradient(180deg, #d4ff3f 0%, #7995ff 100%);
	border-radius: 1px;
	animation: l1CaretBlink 0.85s steps(1) infinite;
}
@keyframes l1CaretBlink {
	0%, 45% { opacity: 1; }
	50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.l1-hero-copy h1 .l1-hero-rotate::after { animation: none; opacity: 1; }
}
@media (max-width: 640px) {
	.l1-hero-copy h1 .l1-hero-rotate { white-space: normal; }
}
.l1-hero-lead {
	max-width: 52ch;
	margin: 0 auto 1.15rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}
.l1-hero-cta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

/* Owl carousel scroller ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â same card design + edge blur */
.l1-scroller {
	position: relative;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 1.25rem;
	overflow: hidden;
	perspective: 1100px;
	perspective-origin: 50% 55%;
	height: 340px;
	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 0, 0, 0.15) 8%,
		rgba(0, 0, 0, 0.55) 16%,
		#000 26%,
		#000 74%,
		rgba(0, 0, 0, 0.55) 84%,
		rgba(0, 0, 0, 0.15) 92%,
		transparent 100%
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 0, 0, 0.15) 8%,
		rgba(0, 0, 0, 0.55) 16%,
		#000 26%,
		#000 74%,
		rgba(0, 0, 0, 0.55) 84%,
		rgba(0, 0, 0, 0.15) 92%,
		transparent 100%
	);
}
.l1-scroller::before,
.l1-scroller::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 120px;
	z-index: 4;
	pointer-events: none;
}
.l1-scroller::before {
	left: 0;
	background: linear-gradient(90deg, rgba(38, 63, 216, 0.55) 0%, rgba(38, 63, 216, 0.2) 45%, transparent 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 100%);
}
.l1-scroller::after {
	right: 0;
	background: linear-gradient(270deg, rgba(121, 149, 255, 0.55) 0%, rgba(121, 149, 255, 0.2) 45%, transparent 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	mask-image: linear-gradient(270deg, #000 0%, #000 40%, transparent 100%);
	-webkit-mask-image: linear-gradient(270deg, #000 0%, #000 40%, transparent 100%);
}

/* Owl: keep visible even before/without .owl-loaded (Owl CSS defaults to display:none) */
.l1-owl.owl-carousel,
.owl-carousel.l1-owl,
#l1HeroOwl.owl-carousel {
	display: block !important;
	height: 100%;
	width: 100%;
	opacity: 1 !important;
	visibility: visible !important;
}
.l1-owl .owl-stage-outer {
	height: 100%;
	overflow: visible;
	padding: 1.25rem 0 1.5rem;
}
.l1-owl .owl-stage {
	transform-style: preserve-3d;
}
.l1-owl .owl-item {
	float: left;
	transform-style: preserve-3d;
}
.l1-owl .owl-nav,
.l1-owl .owl-dots { display: none !important; }

.l1-scroll-card {
	width: 200px;
	max-width: 100%;
	height: 255px;
	margin: 0 auto;
	border-radius: 20px;
	background: #fff;
	color: var(--l1-ink);
	box-shadow: 0 12px 16px rgba(20, 10, 60, 0.26);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: left;
	transform-origin: center bottom;
	transform-style: preserve-3d;
	will-change: transform;
	backface-visibility: hidden;
}
.l1-scroll-img {
	height: 125px;
	flex-shrink: 0;
	background-size: cover;
	background-position: center;
	position: relative;
}
.l1-scroll-img::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 40%;
	background: linear-gradient(180deg, transparent, rgba(12, 18, 34, 0.2));
}
.l1-scroll-body {
	padding: 0.95rem 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
	min-height: 0;
}
.l1-scroll-body h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--l1-ink);
}
.l1-scroll-body p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--l1-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.l1-scroll-card { transform: none !important; }
}

.l1-rating {
	margin: 0 0 1.5rem;
}
.l1-rating p {
	margin: 0 0 0.35rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.92);
}
.l1-stars {
	color: #ffd400;
	letter-spacing: 0.2em;
	font-size: 1rem;
}
