/* Automotive industry page. */

body.automotive-page {
	background: #ffffff;
}

body.automotive-page .site {
	padding-top: var(--hero-inset);
}

body.automotive-page .site-main--automotive {
	padding-block: 0;
}

body.automotive-page .site-header {
	background-color: transparent;
}

body.automotive-page .site-header.is-scrolled {
	background-color: rgb(1 19 37 / 0.92);
	backdrop-filter: blur(12px);
}

body.automotive-page.has-mobile-nav-open .site-header {
	background-color: var(--color-navy);
}
body.automotive-page .container{margin-inline: auto;}
.auto-split {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.auto-split h2,
.auto-workflow h2,
.auto-eco h2,
.auto-solutions__intro h2 {
	margin: 0;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.4vw, 3rem);
	font-weight: var(--font-weight-medium);
	line-height: 1.15;
}

.auto-split__aside {
	max-width: 26rem;
	margin: 0;
	color: #646464;
	font-size: 1.125rem;
	line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.auto-hero {
	position: relative;
	width: calc(100% - (var(--hero-inset) * 2));
	min-height: 42rem;
	margin-top: calc(var(--header-height) * -1);
	margin-inline: auto;
	overflow: hidden;
	border-radius: 1.5rem;
	color: var(--color-on-dark);
	background: #07131f;
}

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

.auto-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 82% center;
}

.auto-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(7 19 31 / 0.82) 0%, rgb(7 19 31 / 0.55) 38%, rgb(7 19 31 / 0.28) 68%, rgb(7 19 31 / 0.45) 100%),
		linear-gradient(180deg, rgb(0 0 0 / 0.28) 0%, transparent 22%, transparent 62%, rgb(0 0 0 / 0.55) 100%);
}

.auto-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: inherit;
	padding-top: calc(var(--header-height) + var(--space-6));
	padding-bottom: var(--space-5);
}

.auto-hero__kicker {
	color: var(--color-accent);
}

.auto-hero__kicker .section-kicker__rule {
	background: var(--color-accent);
}

.auto-hero__title {
	max-width: 42rem;
	margin: 0 0 var(--space-5);
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4.6vw, var(--font-size-h1));
	font-weight: var(--font-weight-semibold);
	line-height: 1.06;
}

.auto-hero__lede {
	max-width: 39rem;
	margin: 0 0 var(--space-5);
	color: rgb(255 255 255 / 0.93);
	font-size: var(--font-size-md);
	line-height: 1.55;
}

.auto-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.auto-hero__layout {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.auto-hero__pills {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.auto-hero__pill {
	display: flex;
	align-items: center;
	gap: 8px;
	width: min(100%, 184px);
	margin: 0;
	padding: 10px;
	border-radius: 16px;
	background: rgb(255 255 255 / 0.05);
	backdrop-filter: blur(10px);
	font-size: 14px;
	line-height: 16px;
}

.auto-hero__pill img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.auto-hero__stats {
	display: grid;
	gap: var(--space-4);
	margin: var(--space-6) 0 0;
	padding: 20px 25px;
	border: 1px solid #3b3b3b;
	border-radius: 16px;
	background: rgb(30 30 30 / 0.5);
	backdrop-filter: blur(8.75px);
	list-style: none;
}

.auto-hero__stat p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.25;
}

.auto-hero__stat span {
	display: inline-block;
	margin-bottom: 0.15rem;
	font-size: 0.72rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Pipeline
   -------------------------------------------------------------------------- */

.auto-pipeline {
	padding: 4.5rem 0 3.5rem;
	background: #f9f9f9;
}

.auto-pipeline__track {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.auto-pipeline__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	padding: 1.5rem 1rem;
	border-radius: 16px;
	background: #ffffff;
	text-align: center;
}

.auto-pipeline__card img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.auto-pipeline__card h3 {
	margin: 0;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
}

.auto-pipeline__card p {
	margin: 0;
	color: #646464;
	font-size: 14px;
	line-height: 1.4;
}

.auto-pipeline__arrow {
	display: none;
}

/* --------------------------------------------------------------------------
   Stack
   -------------------------------------------------------------------------- */

.auto-stack {
	padding: 4.5rem 0;
}

.auto-stack__stage {
	display: grid;
	gap: 2rem;
}

.auto-stack__visual {
	position: relative;
	width: min(100%, 28rem);
	margin: 0 auto;
}

.auto-stack__art {
	position: relative;
	aspect-ratio: 560 / 746;
	margin: 0;
	overflow: hidden;
}

.auto-stack__photo {
	position: absolute;
	top: -4.42%;
	left: -25%;
	width: 146.43%;
	max-width: none;
	height: 109.92%;
}

.auto-stack__lines {
	display: none;
}

.auto-stack__layers {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.auto-stack__layers li {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 0.85rem;
}

.auto-stack__dot {
	width: 16px;
	height: 16px;
}

.auto-stack__gem {
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	border-radius: 18px;
	background: linear-gradient(135deg, #0d8651 19%, #014e2d 100%);
	transform: rotate(42deg);
}

.auto-stack__gem img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	transform: rotate(-42deg);
}

.auto-stack__layers h3 {
	margin: 0;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: clamp(1rem, 2vw, 1.375rem);
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.auto-stack__layers p {
	margin: 0.15rem 0 0;
	color: #646464;
	font-size: 1rem;
	line-height: 1.35;
}

/* --------------------------------------------------------------------------
   ADAS
   -------------------------------------------------------------------------- */

.auto-adas {
	padding: 4.5rem 0;
	background: #f7f8f9;
}

.auto-adas h2 span {
	color: var(--color-primary);
}

.auto-adas__stage {
	display: grid;
	gap: 1.25rem;
}

.auto-adas__car {
	width: min(100%, 420px);
	height: auto;
	margin-inline: auto;
}

.auto-adas__card {
	padding: 1.6rem 1.4rem 1.4rem;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 0 6px rgb(0 0 0 / 0.08);
}

.auto-adas__card h3 {
	margin: 0 0 1rem;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.auto-adas__card--tl h3 {
	max-width: 11rem;
}

.auto-adas__icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	min-height: 4.2rem;
	margin-bottom: 1rem;
}

.auto-adas__icons img {
	width: auto;
	max-width: 72px;
	height: 56px;
	object-fit: contain;
}

.auto-adas__icons .is-flip {
	transform: scaleX(-1);
}

.auto-adas__card ul {
	margin: 0;
	padding: 1rem 0 0;
	border-top: 1px solid #e6e6e6;
	list-style: none;
}

.auto-adas__card li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: #646464;
	font-size: 14px;
	line-height: 1.7;
}

.auto-adas__card li::before {
	content: "";
	width: 9px;
	height: 9px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */

.auto-solutions {
	padding: 4.5rem 0 0;
	background: var(--color-primary);
}

.auto-solutions__intro h2 {
	max-width: 52rem;
	color: #ffffff;
}

.auto-solutions__sheet {
	display: grid;
	gap: 2.5rem;
	margin-top: 2rem;
	padding: 2rem 1.25rem 2.5rem;
	border-radius: 28px 28px 0 0;
	background: #ffffff;
}

.auto-solutions__row {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

.auto-solutions__row + .auto-solutions__row {
	padding-top: 2.5rem;
	border-top: 1px dashed #d5dbe0;
}

.auto-solutions__copy h3 {
	margin: 0 0 0.75rem;
	color: #1c1b1b;
	font-family: var(--font-grotesk);
	font-size: clamp(1.8rem, 3vw, 3rem);
	font-weight: var(--font-weight-medium);
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.auto-solutions__copy > p {
	max-width: 26rem;
	margin: 0 0 1rem;
	color: #1c1b1b;
	font-size: 0.95rem;
	line-height: 1.65;
}

.auto-solutions__label {
	font-weight: var(--font-weight-semibold);
	font-size: 1.125rem;
}

.auto-solutions__inputs {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.1rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.auto-solutions__inputs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	max-width: 6.5rem;
	text-align: center;
}

.auto-solutions__inputs img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.auto-solutions__inputs span {
	color: #1c1b1b;
	font-size: 13px;
	line-height: 1.25;
}

.auto-solutions__photo {
	width: 100%;
	height: auto;
	border-radius: 16px;
	object-fit: cover;
}

.auto-solutions__cta.button--sm {
	gap: 0.75rem;
	padding: 0.25rem 0.25rem 0.25rem 1.5rem;
	min-height: 3rem;
	border-color: var(--color-primary);
	background: #ffffff;
	color: #1c1b1b;
	font-weight: var(--font-weight-medium);
	text-transform: capitalize;
}

.auto-solutions__cta .button__icon {
	width: 2.4rem;
	height: 2.4rem;
	background: var(--color-primary);
	color: #ffffff;
}

/* --------------------------------------------------------------------------
   Workflow
   -------------------------------------------------------------------------- */

.auto-workflow {
	padding: 4.5rem 0;
	background: #07131f;
	color: #ffffff;
}

.auto-workflow h2 {
	max-width: 34rem;
	margin-bottom: 2rem;
	color: #ffffff;
}

.auto-workflow__track {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.auto-workflow__track li {
	min-height: 11.5rem;
	padding: 1.15rem;
	border-radius: 16px;
	background: #0f1f2f;
}

.auto-workflow__track img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.auto-workflow__track h3 {
	margin: 0.75rem 0 0.35rem;
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
}

.auto-workflow__track p {
	margin: 0;
	color: #a4a4a4;
	font-size: 14px;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Ecosystem
   -------------------------------------------------------------------------- */

.auto-eco {
	padding: 4.5rem 0 3rem;
}

.auto-eco h2 span {
	color: var(--color-primary);
}

.auto-eco__map {
	position: relative;
	display: grid;
	gap: 1rem;
	margin-top: 2.5rem;
}

.auto-eco__arrows {
	display: none;
}

.auto-eco__node {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.15rem 1.25rem;
	border: 1.2px solid var(--color-primary);
	border-radius: 24px;
	background: #f9f9f9;
	box-shadow: 0 0 7px rgb(0 0 0 / 0.08);
}

.auto-eco__node img {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	object-fit: contain;
}

.auto-eco__node h3 {
	margin: 0;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: var(--font-weight-semibold);
}

.auto-eco__node p {
	margin: 0.15rem 0 0;
	color: #646464;
	font-size: 1rem;
	line-height: 1.3;
}

.auto-eco__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: min(100%, 27rem);
	margin: 1.5rem auto 0;
	padding: 1.1rem 1.6rem;
	border-radius: 999px;
	background: #011325;
	box-shadow: 0 0 7px rgb(0 0 0 / 0.08);
}

.auto-eco__brand img {
	width: auto;
	height: 58px;
}

.auto-eco__wordmark {
	display: block;
	width: 11.5rem;
	height: 3.3rem;
	background: #ffffff;
	mask-image: url("../../images/automotive/logo-wordmark.png");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}
.auto-hero__stat {
	display: flex;
	gap: 1rem;
	align-items: center;
}
/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */

@media (min-width: 48rem) {
	.auto-hero__stats,
	.auto-workflow__track {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.auto-hero {
		min-height: 713px;
	}

	.auto-hero__layout {
		position: relative;
		align-items: flex-start;
	}

	.auto-hero__pills {
		position: absolute;
		right: 1rem;
		bottom: 1.5rem;
	}

	.auto-hero__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0;
	}

	.auto-hero__stat {
		padding-inline: 1.25rem;
	}

	.auto-hero__stat + .auto-hero__stat {
		border-left: 1px solid rgb(255 255 255 / 0.22);
	}

	.auto-split {
		grid-template-columns: minmax(0, 1fr) 16.125rem;
		align-items: start;
		justify-content: space-between;
		column-gap: 2rem;
	}

	.auto-split__aside--end {
		justify-self: end;
		text-align: right;
	}

	.auto-pipeline__track {
		grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
		align-items: stretch;
	}

	.auto-pipeline__arrow {
		display: grid;
		place-items: center;
	}

	.auto-pipeline__arrow img {
		width: 35px;
		height: 14px;
	}

	.auto-stack__stage {
		grid-template-columns: minmax(18rem, 35rem) minmax(0, 1fr);
		align-items: stretch;
		column-gap: 0;
	}

	.auto-stack__visual {
		width: 100%;
		margin: 0;
	}

	.auto-stack__lines {
		display: block;
		position: absolute;
		top: 0.94%;
		left: 80.2%;
		z-index: 1;
		width: 35.4%;
		height: 84.2%;
		pointer-events: none;
	}

	.auto-stack__layers {
        position: relative;
        height: 100%;
        margin-left: 110px;
        margin-top: -10px;
        gap: 0;
    }

	.auto-stack__layers li {
		position: absolute;
		right: 0;
		left: 0;
		gap: 0.7rem;
		transform: translateY(-50%);
	}

	.auto-stack__layers li:nth-child(1) { top: 2%; }
	.auto-stack__layers li:nth-child(2) { top: 15.5%; }
	.auto-stack__layers li:nth-child(3) { top: 29%; }
	.auto-stack__layers li:nth-child(4) { top: 43.5%; }
	.auto-stack__layers li:nth-child(5) { top: 58%; }
	.auto-stack__layers li:nth-child(6) { top: 72%; }
	.auto-stack__layers li:nth-child(7) { top: 86%; }

	.auto-stack__dot {
		width: 18px;
		height: 18px;
	}

	.auto-adas__stage {
		grid-template-columns: 18.7rem minmax(0, 1fr) 18.7rem;
		grid-template-rows: auto auto;
		align-items: start;
		column-gap: 1rem;
	}

	.auto-adas__car {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: center;
		width: min(100%, 662px);
	}

	.auto-adas__card--tl { grid-column: 1; grid-row: 1; }
	.auto-adas__card--bl { grid-column: 1; grid-row: 2; }
	.auto-adas__card--tr { grid-column: 3; grid-row: 1; }
	.auto-adas__card--br { grid-column: 3; grid-row: 2; }

	.auto-solutions__sheet {
		padding: 3.2rem 2.4rem 3.5rem;
	}

	.auto-solutions__row,
	.auto-solutions__row--reverse {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		column-gap: 2.5rem;
	}

	.auto-solutions__row--reverse .auto-solutions__copy {
		order: 2;
	}

	.auto-workflow__track {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}

	.auto-eco__map {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.4rem 1.4rem;
		min-height: 31rem;
		align-items: center;
	}

	.auto-eco__arrows {
		display: block;
		position: absolute;
		top: 3.2rem;
		left: 8%;
		width: 84%;
		height: auto;
		pointer-events: none;
	}

	.auto-eco__node--oem {
		grid-column: 2;
		grid-row: 1;
	}

	.auto-eco__node--adas { grid-column: 1; grid-row: 2; }
	.auto-eco__node--svd { grid-column: 2; grid-row: 2; }
	.auto-eco__node--mobility { grid-column: 3; grid-row: 2; }

	.auto-eco__brand {
		grid-column: 1 / -1;
		grid-row: 3;
	}
}
