.home-hero {
	position: relative;
	min-height: calc(100vh - 92px);
	display: grid;
	align-items: center;
	isolation: isolate;
	background: #071224;
}

.home-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 780px);
	gap: 48px;
	align-items: center;
	min-height: calc(100vh - 92px);
	padding-block: clamp(88px, 12vh, 150px);
}

.home-hero__content {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 24px;
	color: #fff;
}

.home-hero__content h1 {
	max-width: 760px;
	color: #fff;
}

.home-hero__content p {
	max-width: 620px;
	color: rgba(255, 255, 255, 0.82);
}

.home-hero__content .section-label {
	color: rgba(245, 197, 105, 0.96);
}

.home-hero__background,
.home-hero__background::after {
	position: absolute;
	inset: 0;
}

.home-hero__background {
	z-index: 0;
	overflow: hidden;
	background: #071224;
}

.home-hero__background::after {
	content: "";
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(4, 10, 20, 0.86) 0%, rgba(4, 10, 20, 0.68) 44%, rgba(4, 10, 20, 0.28) 100%),
		linear-gradient(180deg, rgba(4, 10, 20, 0.34), rgba(4, 10, 20, 0.76));
	pointer-events: none;
}

.home-hero__background-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-pills span::before {
	content: "\2726";
	color: var(--color-gold);
}

.hero-visual-note {
	display: grid;
	gap: 14px;
}

.hero-visual-note strong {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.hero-visual-note p {
	font-size: 14px;
}

.home-feature {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	align-items: center;
}

.editorial-number {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	border: 1px solid var(--color-border);
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 244, 245, 0.95));
	font-family: var(--font-display);
	font-size: clamp(5rem, 14vw, 10rem);
	color: #d4d4d8;
}

.capability-card {
	display: grid;
	gap: 18px;
}

.capability-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
}

.portfolio-stack {
	display: grid;
	gap: 24px;
}

.portfolio-highlight {
	display: grid;
	grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
	overflow: hidden;
}

.portfolio-highlight__visual {
	padding: 28px;
	background:
		radial-gradient(circle at top left, rgba(26, 26, 46, 0.05), transparent 24%),
		linear-gradient(180deg, #f4f4f5 0%, #ededee 100%);
	border-right: 1px solid var(--color-border);
}

.project-visual {
	min-height: 280px;
	padding: 26px;
}

.project-visual--logistics::before,
.project-visual--finance::before,
.project-visual--luxury::before {
	content: "";
	position: absolute;
	inset: 28px;
	border-radius: 18px;
	border: 1px solid var(--color-border);
}

.project-visual--logistics::after {
	content: "";
	position: absolute;
	inset: 70px 40px;
	background:
		radial-gradient(circle, var(--color-accent) 0 3px, transparent 4px),
		linear-gradient(135deg, transparent 48%, rgba(26, 26, 46, 0.45) 50%, transparent 52%),
		linear-gradient(45deg, transparent 48%, rgba(26, 26, 46, 0.35) 50%, transparent 52%);
}

.project-visual--luxury::after {
	content: "LUMINA";
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 6vw, 4.5rem);
	letter-spacing: 0.08em;
	color: rgba(13, 13, 15, 0.16);
}

.project-visual--finance::after {
	content: "";
	position: absolute;
	inset: 68px 40px 40px;
	background:
		linear-gradient(90deg, rgba(13, 13, 15, 0.08) 0 22%, transparent 22% 28%, rgba(13, 13, 15, 0.12) 28% 52%, transparent 52% 58%, rgba(13, 13, 15, 0.18) 58% 100%);
	border-radius: 16px;
}

.portfolio-highlight__content {
	display: grid;
	gap: 16px;
	padding: 32px;
}

.testimonial-marquee {
	position: relative;
	overflow: hidden;
	padding-block: 8px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimonial-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	width: max-content;
	animation: testimonialDrift 48s linear infinite;
	will-change: transform;
}

.testimonial-set {
	display: flex;
	flex: 0 0 auto;
	align-items: stretch;
	gap: 24px;
	padding-right: 24px;
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
	animation-play-state: paused;
}

.testimonial-card {
	flex: 0 0 360px;
	display: grid;
	grid-template-rows: auto minmax(160px, 1fr) auto;
	gap: 18px;
	padding: 28px;
	min-height: 340px;
	height: 100%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 24px;
	background:
		radial-gradient(circle at top right, rgba(35, 83, 151, 0.14), transparent 26%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(231, 240, 252, 0.72));
	box-shadow: 0 18px 40px rgba(7, 20, 41, 0.08);
	backdrop-filter: blur(18px);
}

.testimonial-mark {
	font-family: var(--font-display);
	font-size: 62px;
	line-height: 0.7;
	color: rgba(34, 79, 147, 0.18);
}

.testimonial-quote {
	font-family: var(--font-display);
	font-size: 20px;
	font-style: italic;
	line-height: 1.5;
	color: var(--color-text-primary);
}

.testimonial-person {
	display: grid;
	grid-template-columns: 52px auto;
	gap: 14px;
	align-items: center;
	text-align: left;
	padding-top: 16px;
	border-top: 1px solid rgba(19, 45, 88, 0.1);
}

.testimonial-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	color: var(--color-text-primary);
	font-weight: 700;
}

@keyframes testimonialDrift {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-12.5%);
	}
}

@media (max-width: 1024px) {
	.home-hero__grid,
	.home-feature,
	.portfolio-highlight {
		grid-template-columns: 1fr;
	}

	.portfolio-highlight__visual {
		border-right: 0;
		border-bottom: 1px solid var(--color-border);
	}
}

@media (max-width: 768px) {
	.home-hero {
		min-height: auto;
	}
}

.home-hero {
	padding-top: 144px;
	padding-bottom: 120px;
}

.home-hero__grid {
	grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
	gap: 56px;
}

.home-hero__content {
	gap: 28px;
}

.home-hero__content .page-intro {
	gap: 22px;
	margin-bottom: 0;
}

.home-hero__content h1 {
	max-width: 760px;
}

.home-hero__visual {
	display: grid;
	grid-template-rows: minmax(360px, 1fr) auto auto;
	gap: 20px;
	padding: 20px;
	background:
		radial-gradient(circle at top right, rgba(55, 110, 198, 0.22), transparent 26%),
		linear-gradient(180deg, rgba(9, 22, 45, 0.96), rgba(19, 45, 88, 0.9));
	border-color: rgba(20, 53, 104, 0.28);
	box-shadow: var(--shadow-strong);
}

.home-hero__media {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	border-radius: 24px;
}

.home-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 10, 20, 0.08), rgba(4, 10, 20, 0.48));
}

.home-hero__media img,
.home-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__video {
	display: block;
	background: #09162d;
}

.home-hero__media-overlay {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.home-hero__media-overlay span {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(7, 18, 36, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home-hero__media-trigger {
	position: absolute;
	left: 20px;
	top: 20px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(7, 18, 36, 0.72);
	backdrop-filter: blur(16px);
	color: rgba(255, 255, 255, 0.96);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home-hero__media-trigger:hover {
	background: rgba(19, 44, 86, 0.86);
	border-color: rgba(255, 255, 255, 0.28);
}

.hero-proof-card,
.hero-proof-strip {
	position: relative;
	z-index: 1;
}

.hero-proof-card {
	display: grid;
	gap: 12px;
	padding: 24px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(18px);
}

.hero-proof-card .section-label,
.hero-proof-card h3,
.hero-proof-card p,
.hero-proof-strip strong,
.hero-proof-strip span {
	color: #fff;
}

.hero-proof-card p,
.hero-proof-strip span {
	color: rgba(255, 255, 255, 0.74);
}

.hero-proof-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.hero-proof-strip > div {
	display: grid;
	gap: 6px;
	padding: 18px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-code-panel {
	display: grid;
	gap: 16px;
	padding: 20px;
	border-radius: 22px;
	background: rgba(7, 18, 36, 0.52);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-code-panel__copy {
	display: grid;
	gap: 8px;
}

.hero-code-panel__copy .section-label,
.hero-code-panel__copy h3 {
	color: #fff;
}

.hero-code-window {
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background:
		linear-gradient(180deg, rgba(9, 22, 45, 0.96), rgba(6, 14, 28, 0.98));
	box-shadow: 0 18px 40px rgba(3, 8, 18, 0.36);
}

.hero-code-window__chrome {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
}

.hero-code-window__chrome span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
}

.hero-code-window__chrome span:first-child {
	background: #ff5f57;
}

.hero-code-window__chrome span:nth-child(2) {
	background: #ffbd2e;
}

.hero-code-window__chrome span:nth-child(3) {
	background: #28c840;
}

.hero-code-window__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: 10px;
}

.hero-code-window__tabs span {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.hero-code-window__viewport {
	position: relative;
	overflow: hidden;
}

.hero-code-window__video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #050b15;
	object-fit: cover;
	opacity: 0.52;
	filter: saturate(0.88) contrast(1.08);
}

.hero-code-window__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 14px;
	padding: 18px 18px 14px;
	background:
		linear-gradient(180deg, rgba(6, 14, 28, 0.2), rgba(6, 14, 28, 0.54)),
		repeating-linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.02) 0,
			rgba(255, 255, 255, 0.02) 1px,
			transparent 1px,
			transparent 44px
		);
}

.hero-code-window__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(84, 160, 255, 0.08) 48%, transparent 100%);
	transform: translateY(-100%);
	animation: heroCodeScan 6.5s linear infinite;
	pointer-events: none;
}

.hero-code-window__gutter,
.hero-code-window__lines {
	display: grid;
	align-content: start;
	gap: 15px;
}

.hero-code-window__gutter span {
	color: rgba(166, 186, 214, 0.52);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.hero-code-window__lines {
	padding-top: 2px;
}

.token {
	display: block;
	height: 12px;
	border-radius: 999px;
	box-shadow: 0 0 24px rgba(70, 139, 255, 0.1);
	animation: heroCodePulse 3.2s ease-in-out infinite;
}

.token--wide {
	width: 88%;
}

.token--mid {
	width: 66%;
}

.token--narrow {
	width: 48%;
}

.token--purple {
	background: linear-gradient(90deg, rgba(156, 136, 255, 0.92), rgba(122, 103, 255, 0.78));
}

.token--blue {
	background: linear-gradient(90deg, rgba(89, 196, 255, 0.9), rgba(56, 139, 253, 0.76));
}

.token--green {
	background: linear-gradient(90deg, rgba(71, 207, 115, 0.92), rgba(27, 173, 102, 0.74));
}

.token--gold {
	background: linear-gradient(90deg, rgba(244, 190, 95, 0.92), rgba(214, 141, 55, 0.76));
}

.hero-code-window__lines .token:nth-child(2) {
	animation-delay: 0.2s;
}

.hero-code-window__lines .token:nth-child(3) {
	animation-delay: 0.4s;
}

.hero-code-window__lines .token:nth-child(4) {
	animation-delay: 0.6s;
}

.hero-code-window__lines .token:nth-child(5) {
	animation-delay: 0.8s;
}

.hero-code-window__lines .token:nth-child(6) {
	animation-delay: 1s;
}

.hero-code-window__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 16px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
}

.hero-code-window__footer span {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

@keyframes heroCodeScan {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(100%);
	}
}

@keyframes heroCodePulse {
	0%,
	100% {
		opacity: 0.82;
		transform: translateX(0);
	}

	50% {
		opacity: 1;
		transform: translateX(6px);
	}
}

.hero-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.hero-stat-card {
	display: grid;
	gap: 10px;
	padding: 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(19, 45, 88, 0.1);
	box-shadow: 0 18px 40px rgba(15, 39, 79, 0.06);
}

.hero-stat-card h3 {
	font-size: 1rem;
}

.hero-stat-card p {
	font-size: 14px;
	line-height: 1.65;
}

.home-feature {
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
}

.feature-spotlight {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	border-radius: 28px;
	box-shadow: var(--shadow-strong);
}

.feature-spotlight::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 17, 34, 0.04), rgba(6, 17, 34, 0.56));
}

.feature-spotlight img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-spotlight__card {
	position: absolute;
	right: 24px;
	bottom: 24px;
	left: 24px;
	z-index: 1;
	display: grid;
	gap: 10px;
	padding: 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(16px);
}

.feature-spotlight__card .section-label,
.feature-spotlight__card h3 {
	color: #fff;
}

.capability-card {
	gap: 22px;
	min-height: 100%;
}

.portfolio-highlight {
	grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
	border-radius: 24px;
}

.portfolio-highlight__visual {
	padding: 0;
	min-height: 100%;
	background: #d6e1f4;
}

.portfolio-highlight__visual img {
	display: block;
	min-height: 100%;
}

.portfolio-highlight__content {
	padding: 36px;
}

.home-insights {
	position: relative;
}

.home-insights::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(232, 241, 252, 0.72)),
		radial-gradient(circle at 0% 0%, rgba(34, 79, 147, 0.08), transparent 18%);
	pointer-events: none;
}

.home-insights .shell {
	position: relative;
}

@media (max-width: 1024px) {
	.home-hero__grid,
	.home-feature,
	.portfolio-highlight,
	.hero-stat-grid,
	.hero-proof-strip {
		grid-template-columns: 1fr;
	}

	.home-hero__visual {
		grid-template-rows: minmax(280px, 1fr) auto auto;
	}

	.testimonial-card {
		flex-basis: 320px;
		min-height: 320px;
	}

	.hero-code-window__video {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 768px) {
	.home-hero {
		padding-top: 116px;
		padding-bottom: 80px;
	}

	.testimonial-marquee {
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 10px;
		scrollbar-width: none;
		mask-image: none;
	}

	.testimonial-marquee::-webkit-scrollbar {
		display: none;
	}

	.testimonial-track {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		width: max-content;
		animation: none;
	}

	.testimonial-set[aria-hidden="true"] {
		display: none;
	}

	.testimonial-card {
		flex: 0 0 min(82vw, 320px);
		min-height: 300px;
	}

	.hero-stat-card,
	.hero-proof-card,
	.feature-spotlight__card {
		padding: 18px;
	}

	.home-hero__visual {
		padding: 14px;
	}

	.home-hero__media-overlay {
		left: 14px;
		right: 14px;
		bottom: 14px;
	}

	.home-hero__media-trigger {
		left: 14px;
		top: 14px;
	}

	.hero-code-panel {
		padding: 16px;
	}

	.portfolio-highlight__content {
		padding: 24px;
	}
}

.home-hero {
	position: relative;
	min-height: calc(100vh - 92px);
	padding-top: 244px;
	padding-bottom: 120px;
	isolation: isolate;
	background: #071224;
}

.home-hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: #071224;
}

.home-hero__background::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(4, 10, 20, 0.88) 0%, rgba(4, 10, 20, 0.68) 46%, rgba(4, 10, 20, 0.3) 100%),
		linear-gradient(180deg, rgba(4, 10, 20, 0.34), rgba(4, 10, 20, 0.76));
	pointer-events: none;
}

.home-hero__background-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-hero__grid {
	grid-template-columns: minmax(0, 780px);
	min-height: calc(100vh - 356px);
	align-content: center;
	gap: 0;
	padding-block: 0;
}

.home-hero__content {
	position: relative;
	z-index: 2;
	color: #fff;
}

.home-hero__content h1 {
	max-width: 760px;
	color: #fff;
}

.home-hero__content p {
	max-width: 620px;
	color: rgba(255, 255, 255, 0.84);
}

.home-hero__content .section-label {
	color: rgba(245, 197, 105, 0.96);
}

.home-hero .button--ghost,
.home-hero .hero-pills span,
.home-hero .hero-stat-card {
	background: rgba(5, 14, 28, 0.46);
	border-color: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
}

.home-hero .hero-stat-card h3 {
	color: #fff;
}

.home-hero .hero-stat-card p {
	color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1023px) {
	.home-hero__background-video {
		display: none;
	}
}

@media (max-width: 768px) {
	.home-hero {
		min-height: auto;
		padding-top: 158px;
		padding-bottom: 80px;
	}

	.home-hero__grid {
		min-height: auto;
	}
}
