/* ==========================================================================
   Zaagmachines.eu â€” Homepage
   Consolidated final homepage stylesheet.
   ========================================================================== */

.home-page {
	overflow: hidden;
}

/* Premium buttons */
.home-page .button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 2px;
	background: linear-gradient(180deg, #ffb52e 0%, #f5a623 48%, #e99212 100%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 28%),
		0 8px 18px rgb(189 118 7 / 16%);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease,
		background-color 180ms ease,
		color 180ms ease;
}

.home-page .button::before {
	position: absolute;
	z-index: -1;
	top: -60%;
	left: -55%;
	width: 34%;
	height: 220%;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / 34%), transparent);
	content: "";
	transform: skewX(-18deg);
	transition: left 560ms cubic-bezier(.2,.7,.2,1);
}

.home-page .button:hover {
	background: linear-gradient(180deg, #ffbc42 0%, #f5a623 48%, #df8d0d 100%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 34%),
		0 12px 26px rgb(189 118 7 / 24%);
	transform: translateY(-2px);
}

.home-page .button:hover::before {
	left: 125%;
}

.home-page .button--outline {
	background: transparent;
	box-shadow: none;
}

.home-page .button--outline::before {
	display: none;
}

.home-page .button--outline:hover {
	transform: translateY(-2px);
}


/* Hero */
.home-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(110deg, #202020 0%, #242424 58%, #292725 100%);
	color: #fff;
}

.home-hero::before {
	position: absolute;
	top: -25%;
	right: 9%;
	width: clamp(130px, 13vw, 220px);
	height: 155%;
	background: linear-gradient(180deg, rgb(245 166 35 / 5%), rgb(245 166 35 / 11%));
	content: "";
	pointer-events: none;
	transform: skewX(-12deg);
}

.home-page .home-hero::after {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 74% 42%, rgb(255 255 255 / 4%) 0 1px, transparent 2px);
	background-size: 26px 26px;
	content: "";
	pointer-events: none;
}

.home-hero__grid {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
	align-items: center;
	min-height: clamp(670px, 78vh, 820px);
	gap: clamp(60px, 8vw, 130px);
}

.home-hero__content {
	max-width: 760px;
	padding: clamp(80px, 8vw, 120px) 0;
}

.home-hero__content .eyebrow {
	margin-bottom: 20px;
}

.home-hero h1 {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: clamp(54px, 6vw, 88px);
	font-weight: 760;
	line-height: 0.96;
	letter-spacing: -0.052em;
}

.home-hero__lead {
	max-width: 650px;
	margin: 28px 0 0;
	color: rgb(255 255 255 / 70%);
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.65;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.home-hero__secondary {
	border-color: rgb(255 255 255 / 35%);
	color: #fff;
}

.home-hero__secondary:hover {
	border-color: #fff;
	background: #fff;
	color: #222;
}

.home-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.home-hero__visual::before {
	position: absolute;
	width: min(40vw, 540px);
	aspect-ratio: 1;
	border: 1px solid rgb(255 255 255 / 6%);
	border-radius: 50%;
	content: "";
}

.home-page .home-hero__visual::after {
	position: absolute;
	width: min(30vw, 420px);
	aspect-ratio: 1;
	border: 1px solid rgb(245 166 35 / 10%);
	border-radius: 50%;
	content: "";
	transform: scale(0.72);
}

.home-hero__machine-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.home-hero__machine-wrap::after {
	position: absolute;
	z-index: -1;
	right: 8%;
	bottom: 1%;
	width: 75%;
	height: 10%;
	border-radius: 50%;
	background: rgb(0 0 0 / 30%);
	filter: blur(25px);
	content: "";
}

.home-hero__machine {
	display: block;
	width: min(112%, 680px);
	max-width: none;
	height: auto;
	object-fit: contain;
	filter:
		drop-shadow(0 28px 35px rgb(0 0 0 / 25%))
		drop-shadow(0 6px 10px rgb(0 0 0 / 12%));
	transition: transform 420ms ease, filter 420ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.home-page .home-hero__visual:hover .home-hero__machine {
		filter:
			drop-shadow(0 34px 42px rgb(0 0 0 / 30%))
			drop-shadow(0 8px 12px rgb(0 0 0 / 14%));
		transform: translateY(-5px) scale(1.008);
	}
}


/* Machine types — editorial selector */
.home-types {
	padding: clamp(96px, 10vw, 154px) 0;
	background: #fff;
}

.home-types__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
	align-items: stretch;
	gap: clamp(54px, 8vw, 118px);
}

.home-types__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-types .section-heading {
	max-width: 690px;
	margin: 0 0 38px;
}

.home-types .section-heading h2 {
	max-width: 690px;
	font-size: clamp(42px, 4.7vw, 68px);
	line-height: 0.98;
	letter-spacing: -0.052em;
}

.home-types .section-heading > p:last-child {
	max-width: 610px;
	font-size: 16px;
	line-height: 1.72;
}

.home-types__routes {
	border-top: 1px solid var(--color-border-strong);
}

.machine-type-card {
	position: relative;
	border-bottom: 1px solid var(--color-border-strong);
	background: #fff;
	transition:
		background-color 180ms ease,
		padding-left 180ms ease;
}

.machine-type-card::before {
	position: absolute;
	top: -1px;
	left: 0;
	width: 30px;
	height: 3px;
	background: var(--color-orange);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 220ms var(--ease-premium);
}

.machine-type-card__link {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	min-height: 116px;
	padding: 20px 4px 20px 0;
	color: inherit;
	text-decoration: none;
}

.machine-type-card__number {
	margin: 0;
	color: var(--color-orange-dark);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.machine-type-card__content {
	display: grid;
	gap: 5px;
	max-width: 470px;
}

.machine-type-card__content strong {
	color: var(--color-heading);
	font-size: 20px;
	line-height: 1.15;
}

.machine-type-card__content small {
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.55;
}

.machine-type-card__arrow {
	color: var(--color-orange-dark);
	font-size: 23px;
	line-height: 1;
	transition: transform 180ms ease;
}

.home-types__visual {
	position: relative;
	min-height: 680px;
}

.home-types__media {
	position: absolute;
	inset: 0;
	margin: 0;
	overflow: hidden;
	background: #e5e5e3;
	box-shadow: var(--shadow-premium);
}

.home-types__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgb(0 0 0 / 22%));
	content: "";
	pointer-events: none;
}

.home-types__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 520ms var(--ease-premium);
}

.home-types__visual::before {
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	width: 48px;
	height: 3px;
	background: var(--color-orange);
	content: "";
}

.home-types__visual-label {
	position: absolute;
	z-index: 4;
	right: -18px;
	bottom: 34px;
	display: grid;
	gap: 4px;
	min-width: 190px;
	padding: 18px 20px;
	background: #202020;
	box-shadow: 0 18px 42px rgb(0 0 0 / 19%);
	color: #fff;
}

.home-types__visual-label span {
	color: var(--color-orange);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.11em;
}

.home-types__visual-label strong {
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
	.machine-type-card:hover {
		padding-left: 8px;
		background: #faf9f7;
	}

	.machine-type-card:hover::before {
		transform: scaleX(1);
	}

	.machine-type-card:hover .machine-type-card__arrow {
		transform: translateX(5px);
	}

	.home-types__visual:hover .home-types__media img {
		transform: scale(1.018);
	}
}


/* Featured machines */
.home-machines {
	padding: clamp(80px, 9vw, 130px) 0;
	background: #f5f5f4;
}

.home-machines .section-heading {
	margin-bottom: 46px;
}

.home-machines .section-heading--split {
	align-items: flex-end;
}

.home-machines .section-heading--split > div {
	max-width: 800px;
}

.home-machines .section-heading h2 {
	font-size: clamp(38px, 4vw, 58px);
	line-height: 1;
}

.home-machine-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.machine-card--home {
	position: relative;
	overflow: hidden;
	border: 1px solid #e6e5e3;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 1px 0 rgb(0 0 0 / 2%);
	transition:
		transform var(--transition-base),
		box-shadow var(--transition-base),
		border-color var(--transition-base);
}

.machine-card--home::before {
	position: absolute;
	z-index: 4;
	top: 0;
	left: 0;
	width: 42px;
	height: 2px;
	background: var(--color-orange);
	content: "";
}

.machine-card--home:hover {
	border-color: #d2cfcb;
	box-shadow:
		0 22px 48px rgb(0 0 0 / 9%),
		0 1px 0 rgb(255 255 255 / 40%) inset;
	transform: translateY(-2px);
}

.machine-card--home .machine-card__link {
	display: flex;
	height: 100%;
	flex-direction: column;
	text-decoration: none;
}

.machine-card--home .machine-card__image {
	position: relative;
	aspect-ratio: 1.4 / 1;
	overflow: hidden;
	padding: 25px;
	background: #fff;
}

.machine-card--home .machine-card__image::after {
	position: absolute;
	right: 22px;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: var(--color-orange);
	content: "";
}

.machine-card--home .machine-card__image img {
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: contain;
	transition: transform 260ms ease;
}

.machine-card--home:hover .machine-card__image img {
	transform: scale(1.025);
}

.machine-card--home .machine-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px 24px 22px;
}

.machine-card--home .machine-card__model {
	margin-bottom: 8px;
	color: var(--color-orange-dark);
	font-size: var(--font-size-xs);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.machine-card--home .machine-card__title {
	margin-bottom: 13px;
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.08;
}

.machine-card--home .machine-card__description {
	margin-bottom: 30px;
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 1.6;
}

.machine-card--home .machine-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
}

.machine-card--home .machine-card__price {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
}

.machine-card--home .machine-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	margin-top: 0;
	color: var(--color-orange-dark);
	font-size: 12px;
	font-weight: 800;
}

.machine-card--home .machine-card__cta span {
	transition: transform 180ms ease;
}

.machine-card--home:hover .machine-card__cta span {
	transform: translateX(3px);
}

.home-machines__empty {
	padding: var(--space-7);
	border: 1px solid var(--color-border);
	background: var(--color-bg-soft);
}

.home-machines__empty p {
	max-width: 42rem;
	margin: 0;
	color: var(--color-text-muted);
}


/* Practice */
.home-practice {
	padding: clamp(90px, 10vw, 150px) 0;
	background: #fff;
}

.home-practice__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
	align-items: stretch;
	gap: clamp(60px, 8vw, 120px);
}

.home-practice__media {
	position: relative;
	min-height: 610px;
	margin: 0;
	overflow: hidden;
	background: #dedede;
	box-shadow: 0 24px 58px rgb(0 0 0 / 10%);
}

.home-practice__media::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 55px;
	height: 4px;
	background: var(--color-orange);
	content: "";
}

.home-practice__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.home-practice__media:hover .home-practice__image {
	transform: scale(1.015);
}

.home-practice__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 610px;
	padding: 40px 0;
}

.home-practice__content h2 {
	margin: 0;
	font-size: clamp(38px, 4.2vw, 60px);
	line-height: 0.99;
	letter-spacing: -0.045em;
}

.home-practice__lead {
	margin: 25px 0 0;
	color: var(--color-text-muted);
	font-size: 17px;
	line-height: 1.7;
}

.home-practice__factors {
	margin: 34px 0;
	border-top: 1px solid var(--color-border-strong);
}

.home-practice__factors > div {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: center;
	min-height: 68px;
	border-bottom: 1px solid var(--color-border-strong);
	transition:
		padding-left 180ms ease,
		background-color 180ms ease;
}

.home-practice__factors span {
	color: var(--color-orange-dark);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.home-practice__factors strong {
	font-size: 15px;
	font-weight: 750;
}

@media (hover: hover) and (pointer: fine) {
	.home-practice__factors > div:hover {
		padding-left: 8px;
		background: #faf9f7;
	}
}


/* Practical proof */
.home-proof {
	padding: clamp(90px, 10vw, 150px) 0;
	background: #f4f4f3;
}

.home-proof__grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
	align-items: center;
	gap: clamp(50px, 8vw, 110px);
}

.home-proof__content {
	max-width: 540px;
}

.home-proof__content h2 {
	margin: 0;
	font-size: clamp(38px, 4.1vw, 58px);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.home-proof__lead {
	margin: 24px 0 0;
	color: var(--color-text-muted);
	font-size: 16px;
	line-height: 1.75;
}

.home-proof__facts {
	display: grid;
	grid-template-columns: 1fr;
	margin-top: 34px;
	border-top: 1px solid var(--color-border-strong);
}

.home-proof__facts span {
	padding: 16px 0;
	border-bottom: 1px solid var(--color-border-strong);
	color: #2b2b2b;
	font-size: 13px;
	font-weight: 800;
}

.home-proof__visuals {
	position: relative;
	min-height: clamp(520px, 48vw, 680px);
}

.home-proof__main,
.home-proof__detail {
	position: absolute;
	overflow: hidden;
	margin: 0;
	background: #ddd;
	box-shadow: 0 26px 70px rgb(0 0 0 / 14%);
}

.home-proof__main {
	inset: 0 8% 8% 0;
}

.home-proof__detail {
	right: 0;
	bottom: 0;
	width: 38%;
	aspect-ratio: 1 / 1.1;
	border: 8px solid #f4f4f3;
}

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

.home-proof__main img { object-position: center center; }
.home-proof__detail img { object-position: 54% center; }

.home-proof__main::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 48px;
	height: 4px;
	background: var(--color-orange);
	content: "";
}


/* Service */
.home-service {
	padding: clamp(84px, 9vw, 135px) 0;
	background: #222;
	color: #fff;
}

.home-service__top {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	align-items: center;
	gap: clamp(50px, 8vw, 110px);
	margin-bottom: 54px;
}

.home-service__top .section-heading {
	max-width: 660px;
	margin: 0;
}

.home-service__top .section-heading h2 {
	margin-bottom: 17px;
	color: #fff;
	font-size: clamp(38px, 4vw, 58px);
	line-height: 1;
}

.home-service__top .section-heading > p:last-of-type {
	color: rgb(255 255 255 / 63%);
}

.home-service__link {
	margin-top: 24px;
	border-color: rgb(255 255 255 / 35%);
	color: #fff;
}

.home-service__link:hover {
	border-color: #fff;
	background: #fff;
	color: #222;
}

.home-service__media {
	position: relative;
	aspect-ratio: 1.45 / 1;
	margin: 0;
	overflow: hidden;
	background: #171717;
}

.home-service__media::before {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: linear-gradient(90deg, rgb(34 34 34 / 12%), transparent 46%);
	content: "";
	pointer-events: none;
}

.home-service__media::after {
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	width: 52px;
	height: 3px;
	background: var(--color-orange);
	content: "";
}

.home-service__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
	transition: transform 480ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.home-service__media:hover img {
		transform: scale(1.018);
	}
}

.home-service-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 14%);
	border-left: 1px solid rgb(255 255 255 / 14%);
}

.home-service-grid article {
	position: relative;
	min-height: 250px;
	padding: 30px;
	border-right: 1px solid rgb(255 255 255 / 14%);
	border-bottom: 1px solid rgb(255 255 255 / 14%);
	transition:
		background-color 220ms ease,
		transform 220ms ease;
}

.home-service-grid article::before {
	position: absolute;
	top: 0;
	left: 30px;
	width: 30px;
	height: 3px;
	background: var(--color-orange);
	content: "";
}

.home-service-grid__number {
	display: block;
	margin: 12px 0 48px;
	color: var(--color-orange);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.home-service-grid h3 {
	margin: 0 0 13px;
	color: #fff;
	font-size: 21px;
}

.home-service-grid p {
	margin: 0;
	color: rgb(255 255 255 / 62%);
	font-size: 14px;
	line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
	.home-service-grid article:hover {
		z-index: 2;
		background: rgb(255 255 255 / 4%);
		transform: translateY(-2px);
	}
}


/* Expertise */
.home-expertise {
	padding: clamp(88px, 9vw, 140px) 0;
	background: #fff;
}

.home-expertise__intro {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: end;
	gap: clamp(50px, 8vw, 110px);
	margin-bottom: 60px;
}

.home-expertise__intro .eyebrow {
	grid-column: 1 / -1;
	margin-bottom: -20px;
}

.home-expertise__intro h2 {
	margin: 0;
	font-size: clamp(38px, 4vw, 58px);
	line-height: 1;
	letter-spacing: -0.045em;
}

.home-expertise__intro > p:last-child {
	max-width: 600px;
	margin: 0;
	color: var(--color-text-muted);
	font-size: 17px;
	line-height: 1.7;
}

.home-expertise__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--color-border);
	border-left: 1px solid var(--color-border);
}

.home-expertise__grid article {
	position: relative;
	min-height: 255px;
	overflow: hidden;
	padding: 30px;
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	transition:
		transform 220ms ease,
		box-shadow 220ms ease,
		background-color 220ms ease;
}

.home-expertise__grid article::after {
	position: absolute;
	right: -45px;
	bottom: -45px;
	width: 100px;
	height: 100px;
	border: 1px solid rgb(245 166 35 / 14%);
	border-radius: 50%;
	content: "";
}

.home-expertise__grid article > span {
	display: block;
	margin-bottom: 44px;
	color: var(--color-orange);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.home-expertise__grid h3 {
	margin: 0 0 14px;
	font-size: 21px;
	line-height: 1.15;
}

.home-expertise__grid p {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
	.home-expertise__grid article:hover {
		z-index: 2;
		background: #faf9f7;
		box-shadow: 0 20px 45px rgb(0 0 0 / 7%);
		transform: translateY(-2px);
	}
}


/* Direct machine routes */
.home-routes {
	padding: clamp(84px, 9vw, 130px) 0;
	background: #1f1f1f;
	color: #fff;
}

.home-routes__heading {
	display: grid;
	grid-template-columns: minmax(190px, 0.4fr) minmax(0, 1.6fr);
	align-items: end;
	gap: 40px;
	margin-bottom: 42px;
}

.home-routes__heading .eyebrow {
	margin: 0;
}

.home-routes__heading > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
	align-items: end;
	gap: 50px;
}

.home-routes__heading h2 {
	max-width: 630px;
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 4vw, 58px);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.home-routes__heading p:last-child {
	max-width: 460px;
	margin: 0;
	color: rgb(255 255 255 / 58%);
	line-height: 1.7;
}

.home-routes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 14%);
	border-left: 1px solid rgb(255 255 255 / 14%);
}

.home-routes__grid > a {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	min-height: 112px;
	overflow: hidden;
	padding: 24px;
	border-right: 1px solid rgb(255 255 255 / 14%);
	border-bottom: 1px solid rgb(255 255 255 / 14%);
	color: #fff;
	text-decoration: none;
}

.home-routes__grid > a::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, rgb(245 166 35 / 9%), transparent 65%);
	content: "";
	opacity: 0;
	transform: translateX(-16px);
	transition:
		opacity 220ms ease,
		transform 280ms ease;
}

.home-routes__grid > a > * {
	position: relative;
	z-index: 1;
}

.home-routes__number {
	color: var(--color-orange);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.home-routes__copy {
	display: grid;
	gap: 5px;
}

.home-routes__copy strong {
	font-size: 17px;
	line-height: 1.15;
}

.home-routes__copy small {
	color: rgb(255 255 255 / 50%);
	font-size: 11px;
	line-height: 1.45;
}

.home-routes__arrow {
	color: var(--color-orange);
	font-size: 20px;
	transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.home-routes__grid > a:hover::before {
		opacity: 1;
		transform: translateX(0);
	}

	.home-routes__grid > a:hover .home-routes__arrow {
		transform: translateX(5px);
	}
}


/* Final CTA */
.home-cta {
	padding: 0 0 clamp(90px, 9vw, 135px);
}

.home-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 60px;
	overflow: hidden;
	padding: clamp(42px, 5vw, 65px) clamp(38px, 5vw, 68px);
	background: #222;
	color: #fff;
	box-shadow: 0 28px 70px rgb(0 0 0 / 12%);
}

.home-cta__inner::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	height: 3px;
	background: var(--color-orange);
	content: "";
}

.home-cta__inner::after {
	position: absolute;
	top: -35%;
	right: 8%;
	width: 120px;
	height: 175%;
	background: rgb(245 166 35 / 8%);
	content: "";
	pointer-events: none;
	transform: skewX(-12deg);
}

.home-cta__inner > * {
	position: relative;
	z-index: 2;
}

.home-cta__inner > div {
	max-width: 760px;
}

.home-cta__inner h2 {
	max-width: 690px;
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.home-cta__inner p:not(.eyebrow) {
	max-width: 660px;
	margin: 18px 0 0;
	color: rgb(255 255 255 / 66%);
	font-size: 15px;
	line-height: 1.65;
}

.home-cta__inner > .button {
	min-width: 220px;
}


/* Focus */
.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page .button:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.home-page .home-service a:focus-visible,
.home-page .home-routes a:focus-visible,
.home-page .home-cta a:focus-visible,
.home-page .home-hero a:focus-visible {
	outline-color: #fff;
}


/* Tablet */
@media (max-width: 64rem) {
	.home-hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 10px;
	}

	.home-hero__content {
		max-width: 800px;
		padding: 75px 0 20px;
	}

	.home-hero__visual {
		min-height: 400px;
		padding-bottom: 50px;
	}

	.home-hero__machine {
		width: min(78%, 600px);
	}

	.machine-type-grid {
		grid-template-columns: 1fr;
	}

	.machine-type-card__link {
		min-height: 270px;
	}

	.machine-type-card__number {
		margin-bottom: 35px;
	}

	.home-machine-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-practice__grid,
	.home-proof__grid,
	.home-service__top {
		grid-template-columns: 1fr;
	}

	.home-practice__grid {
		gap: 48px;
	}

	.home-practice__media {
		min-height: 480px;
	}

	.home-practice__content {
		max-width: 760px;
		padding: 0;
	}

	.home-proof__visuals {
		min-height: 540px;
	}

	.home-service__top .section-heading {
		max-width: 760px;
	}

	.home-service__media {
		max-width: 760px;
	}

	.home-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-expertise__intro {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.home-expertise__intro .eyebrow {
		grid-column: auto;
		margin-bottom: 0;
	}

	.home-routes__heading,
	.home-routes__heading > div {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.home-routes__grid {
		grid-template-columns: 1fr;
	}

	.home-cta__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.home-cta__inner > .button {
		justify-self: start;
	}
}


/* Mobile */
@media (max-width: 48rem) {
	.home-hero__content {
		padding: 52px 0 10px;
	}

	.home-hero h1 {
		max-width: 360px;
		font-size: clamp(42px, 12vw, 58px);
	}

	.home-hero__lead {
		margin-top: 20px;
		font-size: 15px;
	}

	.home-hero__actions {
		align-items: stretch;
		flex-direction: column;
		margin-top: 26px;
	}

	.home-hero__actions .button {
		width: 100%;
	}

	.home-hero__visual {
		min-height: 280px;
		padding-bottom: 35px;
	}

	.home-hero__machine {
		width: min(100%, 420px);
	}

	.home-types,
	.home-machines,
	.home-practice,
	.home-proof,
	.home-service,
	.home-expertise,
	.home-routes {
		padding: 64px 0;
	}

	.home-page .section-heading,
	.home-types .section-heading,
	.home-machines .section-heading {
		margin-bottom: 28px;
	}

	.home-types .section-heading h2,
	.home-machines .section-heading h2,
	.home-service__top .section-heading h2,
	.home-expertise__intro h2,
	.home-proof__content h2,
	.home-routes__heading h2 {
		font-size: 34px;
		line-height: 1.02;
	}

	.machine-type-grid,
	.home-machine-grid,
	.home-expertise__grid,
	.home-service-grid {
		gap: 12px;
		border-left: 0;
	}

	.machine-type-card__link {
		min-height: 0;
		padding: 22px 18px;
	}

	.machine-type-card__number {
		margin-bottom: 28px;
	}

	.machine-type-card__cta {
		padding-top: 22px;
	}

	.home-machine-grid {
		grid-template-columns: 1fr;
	}

	.machine-card--home .machine-card__image {
		aspect-ratio: 1.5 / 1;
	}

	.machine-card--home .machine-card__content {
		padding: 18px 16px 16px;
	}

	.machine-card--home .machine-card__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.home-practice__grid {
		gap: 28px;
	}

	.home-practice__media {
		min-height: 0;
		aspect-ratio: 1 / 0.78;
		box-shadow: 0 14px 32px rgb(0 0 0 / 10%);
	}

	.home-practice__content h2 {
		font-size: 34px;
		line-height: 1.02;
	}

	.home-practice__lead {
		font-size: 15px;
	}

	.home-practice__factors {
		margin: 18px 0 28px;
	}

	.home-practice__factors > div {
		min-height: 60px;
	}

	.home-proof__grid {
		gap: 30px;
	}

	.home-proof__facts {
		margin-top: 24px;
	}

	.home-proof__visuals {
		display: grid;
		grid-template-columns: 1fr 0.42fr;
		align-items: end;
		min-height: 0;
		margin-top: 12px;
	}

	.home-proof__main,
	.home-proof__detail {
		position: relative;
		inset: auto;
		width: 100%;
	}

	.home-proof__main {
		aspect-ratio: 1 / 0.78;
	}

	.home-proof__detail {
		z-index: 2;
		margin-left: -28px;
		aspect-ratio: 1 / 1.2;
		border-width: 5px;
	}

	.home-service__top {
		gap: 26px;
		margin-bottom: 34px;
	}

	.home-service__top .section-heading {
		margin-bottom: 0;
	}

	.home-service__media {
		aspect-ratio: 1 / 0.78;
		box-shadow: 0 14px 32px rgb(0 0 0 / 10%);
	}

	.home-service__link {
		width: 100%;
	}

	.home-service-grid {
		grid-template-columns: 1fr;
	}

	.home-service-grid article,
	.home-expertise__grid article {
		min-height: 0;
		padding: 20px 16px;
	}

	.home-service-grid article::before {
		left: 16px;
	}

	.home-service-grid__number {
		margin: 8px 0 28px;
	}

	.home-expertise__intro {
		margin-bottom: 34px;
	}

	.home-expertise__intro > p:last-child {
		font-size: 15px;
	}

	.home-expertise__grid {
		grid-template-columns: 1fr;
	}

	.home-expertise__grid article > span {
		margin-bottom: 26px;
	}

	.home-routes__heading {
		margin-bottom: 28px;
	}

	.home-routes__grid > a {
		min-height: 96px;
		gap: 14px;
		padding: 18px 16px;
	}

	.home-routes__copy strong {
		font-size: 15px;
	}

	.home-routes__copy small {
		font-size: 10px;
	}

	.home-cta {
		padding-bottom: 64px;
	}

	.home-cta__inner {
		gap: 24px;
		padding: 28px 22px;
	}

	.home-cta__inner h2 {
		font-size: 32px;
	}

	.home-cta__inner p:not(.eyebrow) {
		font-size: 13px;
	}

	.home-cta__inner > .button {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 24rem) {
	.home-page .button,
	.home-page .home-hero__actions .button {
		padding-inline: 16px;
		font-size: 11px;
	}

	.home-page .home-hero h1 {
		font-size: 34px;
	}

	.home-proof__content h2,
	.home-routes__heading h2 {
		font-size: 31px;
	}
}

@media (hover: none), (pointer: coarse) {
	.home-page .button::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-page .button::before {
		display: none;
	}

	.home-page *,
	.home-page *::before,
	.home-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ==========================================================================
   Sitewide consistency — entity / experience proof
   ========================================================================== */

.home-origin {
	padding: clamp(88px, 9vw, 136px) 0;
	background: #202020;
	color: #fff;
}

.home-origin__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
	align-items: center;
	gap: clamp(55px, 9vw, 130px);
	overflow: hidden;
	padding: clamp(46px, 6vw, 78px);
	border-left: 4px solid var(--color-orange);
	background:
		linear-gradient(105deg, #202020 0 72%, #25221e 72% 100%);
	box-shadow: 0 30px 70px rgb(0 0 0 / 22%);
}

.home-origin__inner::after {
	position: absolute;
	top: -35%;
	right: 10%;
	width: 120px;
	height: 180%;
	background: rgb(245 166 35 / 8%);
	content: "";
	transform: skewX(-12deg);
}

.home-origin__inner > * {
	position: relative;
	z-index: 2;
}

.home-origin__stat {
	display: grid;
	align-content: center;
	min-height: 220px;
	padding-right: 44px;
	border-right: 1px solid rgb(255 255 255 / 14%);
}

.home-origin__stat strong {
	color: var(--color-orange);
	font-size: clamp(80px, 10vw, 150px);
	font-weight: 820;
	line-height: 0.78;
	letter-spacing: -0.075em;
}

.home-origin__stat span {
	margin-top: 20px;
	color: rgb(255 255 255 / 52%);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.home-origin__content {
	max-width: 850px;
}

.home-origin__content h2 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(40px, 4.7vw, 66px);
	line-height: 0.98;
	letter-spacing: -0.052em;
}

.home-origin__content > p:not(.eyebrow) {
	max-width: 720px;
	margin: 20px 0 0;
	color: rgb(255 255 255 / 62%);
	font-size: 15px;
	line-height: 1.72;
}

.home-origin__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.home-origin__meta span {
	padding: 8px 10px;
	border: 1px solid rgb(255 255 255 / 14%);
	color: rgb(255 255 255 / 67%);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.home-origin__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-top: 30px;
}

.home-origin__parent-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.home-origin__parent-link span {
	color: var(--color-orange);
	transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.home-origin__parent-link:hover span {
		transform: translateX(4px);
	}
}

@media (max-width: 48rem) {
	.home-origin {
		padding: 64px 0;
	}

	.home-origin__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 34px 24px;
	}

	.home-origin__stat {
		display: flex;
		align-items: flex-end;
		gap: 15px;
		min-height: 0;
		padding: 0 0 24px;
		border-right: 0;
		border-bottom: 1px solid rgb(255 255 255 / 14%);
	}

	.home-origin__stat strong {
		font-size: 76px;
	}

	.home-origin__stat span {
		margin: 0 0 7px;
	}

	.home-origin__content h2 {
		font-size: 34px;
	}

	.home-origin__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.home-origin__actions .button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-origin__parent-link span {
		transition: none;
	}
}

/* Homepage V1 final — machine selector responsive */
@media (max-width: 64rem) {
	.home-types__layout {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.home-types__visual {
		min-height: 540px;
	}

	.home-types__visual-label {
		right: 24px;
	}
}

@media (max-width: 48rem) {
	.home-types {
		padding: 64px 0;
	}

	.home-types .section-heading {
		margin-bottom: 28px;
	}

	.home-types .section-heading h2 {
		font-size: 35px;
	}

	.machine-type-card__link {
		grid-template-columns: 34px minmax(0, 1fr) auto;
		gap: 12px;
		min-height: 100px;
		padding-block: 16px;
	}

	.machine-type-card__content strong {
		font-size: 17px;
	}

	.machine-type-card__content small {
		font-size: 11px;
	}

	.home-types__visual {
		min-height: 390px;
	}

	.home-types__visual-label {
		right: 14px;
		bottom: 18px;
		min-width: 160px;
		padding: 14px 16px;
	}
}



/* ==========================================================================
   NL V1.2.4 — Lighthouse contrast pass
   ========================================================================== */

.home-types .eyebrow,
.home-machines .eyebrow,
.home-practice .eyebrow,
.home-expertise .eyebrow {
	color: #9a5b00;
}

.machine-type-card__number,
.machine-type-card__arrow,
.home-practice__factors span,
.machine-card--home .machine-card__model,
.machine-card--home .machine-card__cta,
.home-expertise__grid article > span {
	color: #9a5b00;
}

/*
 * Dark sections deliberately retain the brighter brand orange because it
 * has strong contrast against charcoal backgrounds.
 */
.home-service .eyebrow,
.home-routes .eyebrow,
.home-origin .eyebrow,
.home-service-grid__number,
.home-routes__number,
.home-routes__arrow,
.home-origin__stat strong,
.home-origin__parent-link span {
	color: var(--color-orange);
}


/* ==========================================================================
   V1.3.0 — mobile hero fit + brand-color correction
   ========================================================================== */

/* Accessibility without a brown pseudo-brand orange: on light surfaces the
   small informational text is charcoal, while actual graphic accents remain
   the approved brand orange. */
.home-types .eyebrow,
.home-machines .eyebrow,
.home-practice .eyebrow,
.home-expertise .eyebrow,
.machine-type-card__number,
.home-practice__factors span,
.machine-card--home .machine-card__model,
.machine-card--home .machine-card__cta,
.home-expertise__grid article > span {
    color: var(--color-heading);
}

.machine-type-card__arrow {
    color: var(--color-orange);
}

@media (max-width: 48rem) {
    .home-hero__grid,
    .home-hero__content,
    .home-hero__visual {
        min-width: 0;
    }

    .home-hero h1 {
        max-width: 100%;
        font-size: clamp(32px, 9.2vw, 42px);
        line-height: 0.98;
        letter-spacing: -0.045em;
        hyphens: auto;
        overflow-wrap: normal;
    }

    .home-hero__content {
        padding-top: 46px;
    }

    .home-hero__visual {
        min-height: 340px;
        padding: 22px 0 72px;
    }

    .home-hero__machine-wrap {
        display: grid;
        place-items: center;
        min-width: 0;
    }

    .home-hero__machine {
        width: min(92vw, 390px);
        max-width: 100%;
        height: auto;
    }

    .home-types .section-heading h2,
    .home-machines .section-heading h2,
    .home-service__top .section-heading h2,
    .home-expertise__intro h2,
    .home-proof__content h2,
    .home-routes__heading h2,
    .home-practice__content h2,
    .home-origin__content h2 {
        max-width: 100%;
        font-size: clamp(29px, 8.3vw, 35px);
        hyphens: auto;
        overflow-wrap: break-word;
    }
}

@media (max-width: 23.75rem) {
    .home-hero h1 {
        font-size: clamp(30px, 8.9vw, 35px);
    }
}
