.ac-home {
	--ac-section-space: clamp(78px, 9vw, 126px);
}

.ac-hero {
	background: var(--ac-machine-dark);
	color: var(--ac-white);
	min-height: 620px;
	min-height: min(700px, calc(100svh - 86px));
	overflow: hidden;
	position: relative;
}

.ac-hero::after {
	background: var(--ac-rust);
	bottom: 0;
	content: "";
	height: 8px;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 5;
}

.ac-hero__layout {
	align-items: stretch;
	display: grid;
	grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
	margin-inline: auto;
	max-width: var(--ac-width-stage);
	min-height: 620px;
	min-height: min(700px, calc(100svh - 86px));
	padding-left: var(--ac-gutter);
	width: 100%;
}

.ac-hero__copy {
	align-self: center;
	max-width: 560px;
	padding: clamp(64px, 7vw, 96px) clamp(38px, 5vw, 72px) clamp(64px, 7vw, 96px) 0;
	position: relative;
	z-index: 3;
}

.ac-hero h1 {
	color: var(--ac-white);
	font-size: clamp(2.35rem, 3.3vw, 2.85rem);
	line-height: 1.06;
	margin-bottom: 28px;
	max-width: 600px;
}

.ac-hero h1 span {
	color: var(--ac-rust);
	display: block;
}

.ac-hero__copy > p {
	color: rgb(255 255 255 / 76%);
	font-size: clamp(1.06rem, 1.35vw, 1.2rem);
	line-height: 1.65;
	margin-bottom: 35px;
	max-width: 570px;
}

.ac-hero__actions {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ac-hero__link {
	align-items: center;
	color: var(--ac-white);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 11px;
}

.ac-hero__link span {
	color: var(--ac-rust);
	font-size: 1.2rem;
}

.ac-hero__link:hover,
.ac-hero__link:focus-visible {
	color: var(--ac-rust);
}

.ac-hero__link:focus-visible {
	outline: 3px solid var(--ac-rust);
	outline-offset: 5px;
}

.ac-hero-slider {
	background: var(--ac-machine);
	border-left: 8px solid var(--ac-rust);
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto auto;
	min-height: 100%;
	overflow: hidden;
	position: relative;
}

.ac-hero-slider__frame {
	background: var(--ac-machine);
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.ac-hero-slider__slide {
	inset: 0;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	transition: opacity 800ms ease;
	z-index: 1;
}

.ac-hero-slider__slide::after {
	background: linear-gradient(180deg, transparent 60%, rgb(9 9 9 / 32%));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.ac-hero-slider__slide.is-active {
	opacity: 1;
	z-index: 2;
}

.ac-hero-slider__slide img {
	display: block;
	filter: saturate(0.9) contrast(1.05);
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	width: 100%;
}

.ac-hero-slider__slide:nth-child(1) img {
	object-position: center 52%;
}

.ac-hero-slider__slide:nth-child(2) img {
	object-position: center 42%;
}

.ac-hero-slider__slide:nth-child(3) img {
	object-position: center 37%;
}

.ac-hero-slider__slide:nth-child(4) img {
	object-position: center 48%;
}

.ac-hero-slider.is-ready .ac-hero-slider__slide.is-active img {
	animation: ac-hero-zoom 7.2s linear both;
}

.ac-hero-slider__controls {
	align-items: stretch;
	background: #111;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	min-height: 74px;
	position: relative;
	z-index: 4;
}

.ac-hero-slider__controls strong {
	align-items: center;
	display: flex;
	font-size: clamp(1rem, 1.45vw, 1.24rem);
	line-height: 1.25;
	padding: 15px 24px;
}

.ac-hero-slider__controls button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--ac-white);
	cursor: pointer;
	display: flex;
	font-size: 1.25rem;
	height: 100%;
	justify-content: center;
	margin: 0;
	min-height: 0;
	padding: 0;
	width: 100%;
}

.ac-hero-slider__controls button:first-child {
	border-right: 1px solid rgb(255 255 255 / 18%);
}

.ac-hero-slider__controls button:last-child {
	border-left: 1px solid rgb(255 255 255 / 18%);
}

.ac-hero-slider__controls button:hover,
.ac-hero-slider__controls button:focus-visible {
	background: var(--ac-rust);
	outline: 0;
}

.ac-hero-slider__progress {
	background: rgb(255 255 255 / 16%);
	height: 4px;
	position: relative;
	z-index: 4;
}

.ac-hero-slider__progress i {
	background: var(--ac-rust);
	display: block;
	height: 100%;
	transition: width 500ms ease;
	width: 25%;
}

@keyframes ac-hero-zoom {
	0% {
		transform: scale(1.01);
	}

	100% {
		transform: scale(1.085);
	}
}

.ac-intro {
	background: var(--ac-paper-deep);
	color: var(--ac-ink);
	padding-block: var(--ac-section-space);
}

.ac-intro__grid {
	align-items: start;
	display: grid;
	gap: clamp(42px, 8vw, 130px);
	grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.72fr);
}

.ac-intro h2 {
	font-size: clamp(2.45rem, 4.6vw, 3.8rem);
	line-height: 1.06;
	margin: 0;
}

.ac-intro__grid > div > p:first-child {
	font-size: clamp(1.08rem, 1.4vw, 1.23rem);
	line-height: 1.7;
	margin-bottom: 26px;
}

.ac-intro__materials {
	border-top: 1px solid var(--ac-line);
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	padding-top: 24px;
}

.ac-services,
.ac-process {
	background: var(--ac-paper);
	padding-block: var(--ac-section-space);
}

.ac-section-heading {
	align-items: end;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(280px, 0.8fr) minmax(330px, 0.65fr);
	justify-content: space-between;
	margin-bottom: clamp(42px, 6vw, 70px);
}

.ac-section-heading h2 {
	font-size: clamp(2.4rem, 4.6vw, 3.75rem);
	line-height: 1.06;
	margin: 0;
}

.ac-section-heading > p {
	color: var(--ac-graphite);
	font-size: 1.03rem;
	line-height: 1.7;
	margin: 0;
}

.ac-services__list {
	border-top: 1px solid var(--ac-ink);
}

.ac-service {
	align-items: center;
	border-bottom: 1px solid var(--ac-line);
	display: grid;
	gap: clamp(28px, 5vw, 74px);
	grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr) auto;
	padding-block: clamp(28px, 4vw, 46px);
}

.ac-service h3 {
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	line-height: 1.14;
	margin: 0;
}

.ac-service p {
	color: var(--ac-graphite);
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 0;
}

.ac-service > a {
	align-items: center;
	color: var(--ac-machine-dark);
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 15px;
	white-space: nowrap;
}

.ac-service > a b {
	align-items: center;
	border: 1px solid var(--ac-line);
	border-radius: 50%;
	display: flex;
	font-size: 1.05rem;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.ac-service > a:hover b,
.ac-service > a:focus-visible b {
	background: var(--ac-machine);
	border-color: var(--ac-machine);
	color: var(--ac-white);
}

.ac-projects {
	background: #ffffff;
	padding-block: var(--ac-section-space);
}

.ac-section-heading--projects {
	align-items: center;
	grid-template-columns: minmax(300px, 1fr) auto;
}

.ac-section-heading--projects h2 {
	max-width: 720px;
}

.ac-projects__grid {
	display: grid;
	gap: clamp(24px, 3vw, 42px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-project {
	min-width: 0;
}

.ac-project img {
	aspect-ratio: 4 / 3;
	display: block;
	filter: saturate(0.82) contrast(1.03);
	height: auto;
	object-fit: cover;
	transition: filter 220ms ease;
	width: 100%;
}

.ac-project:hover img {
	filter: saturate(1) contrast(1.02);
}

.ac-project > div {
	padding-top: 22px;
}

.ac-project h3 {
	font-size: clamp(1.32rem, 2vw, 1.75rem);
	line-height: 1.2;
	margin-bottom: 10px;
}

.ac-project p {
	color: var(--ac-graphite);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
}

.ac-team {
	background: var(--ac-paper-deep);
	padding-block: var(--ac-section-space);
}

.ac-team__grid {
	align-items: center;
	display: grid;
	gap: clamp(48px, 8vw, 126px);
	grid-template-columns: minmax(400px, 1fr) minmax(340px, 0.8fr);
}

.ac-team__grid > img {
	display: block;
	filter: saturate(0.76) contrast(1.04);
	height: auto;
	width: 100%;
}

.ac-team h2 {
	font-size: clamp(2.45rem, 4.5vw, 3.75rem);
	line-height: 1.06;
	margin-bottom: 24px;
}

.ac-team p {
	color: var(--ac-graphite);
	font-size: 1.05rem;
	line-height: 1.72;
	margin-bottom: 30px;
}

.ac-team .ac-button--light {
	background: var(--ac-machine);
	border-color: var(--ac-machine);
	color: var(--ac-white);
}

.ac-team .ac-button--light:hover,
.ac-team .ac-button--light:focus-visible {
	background: var(--ac-rust-dark);
	border-color: var(--ac-rust-dark);
	color: var(--ac-white);
}

.ac-process {
	background: #ffffff;
}

.ac-process__list {
	border-top: 1px solid var(--ac-ink);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-process__list li {
	border-right: 1px solid var(--ac-line);
	padding: 30px clamp(20px, 2.5vw, 36px) 10px;
}

.ac-process__list li:first-child {
	padding-left: 0;
}

.ac-process__list li:last-child {
	border-right: 0;
	padding-right: 0;
}

.ac-process__list h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.6rem);
	line-height: 1.2;
	margin-bottom: 13px;
}

.ac-process__list p {
	color: var(--ac-graphite);
	font-size: 0.92rem;
	line-height: 1.62;
	margin: 0;
}

.ac-cta {
	background: var(--ac-machine-dark);
	color: var(--ac-white);
	padding-block: clamp(68px, 8vw, 104px);
}

.ac-cta__inner {
	align-items: center;
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.ac-cta h2 {
	font-size: clamp(2.35rem, 4.5vw, 3.75rem);
	line-height: 1.07;
	margin-bottom: 18px;
	max-width: 840px;
}

.ac-cta__inner > div:first-child > p {
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}

.ac-cta__actions {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ac-cta__phone {
	color: var(--ac-white);
	font-size: 1.25rem;
	font-weight: 700;
}

.ac-cta .ac-button--light {
	background: var(--ac-rust);
	border-color: var(--ac-rust);
	color: var(--ac-white);
}

.ac-cta .ac-button--light:hover,
.ac-cta .ac-button--light:focus-visible {
	background: var(--ac-white);
	border-color: var(--ac-white);
	color: var(--ac-machine-dark);
}

@media (max-width: 1020px) {
	.ac-hero__layout {
		grid-template-columns: minmax(330px, 0.8fr) minmax(510px, 1.2fr);
	}

	.ac-hero__copy {
		padding-right: 48px;
	}

	.ac-service {
		grid-template-columns: minmax(220px, 0.8fr) 1.2fr auto;
	}

	.ac-team__grid {
		gap: 58px;
	}
}

@media (max-width: 860px) {
	.ac-intro__grid,
	.ac-team__grid,
	.ac-cta__inner {
		grid-template-columns: 1fr;
	}

	.ac-hero,
	.ac-hero__layout {
		min-height: 0;
	}

	.ac-hero__layout {
		grid-template-columns: 1fr;
		padding-left: 0;
	}

	.ac-hero__copy {
		max-width: 720px;
		padding: 76px var(--ac-gutter) 70px;
	}

	.ac-hero-slider {
		border-left: 0;
		border-top: 8px solid var(--ac-rust);
		min-height: 570px;
	}

	.ac-section-heading {
		grid-template-columns: 1fr;
	}

	.ac-section-heading > p {
		max-width: 650px;
	}

	.ac-service {
		align-items: start;
		grid-template-columns: 1fr auto;
	}

	.ac-service p {
		grid-column: 1;
	}

	.ac-service > a {
		grid-column: 2;
		grid-row: 1 / 3;
	}

	.ac-service > a span {
		display: none;
	}

	.ac-projects__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ac-project:last-child {
		grid-column: 1 / 3;
		max-width: calc(50% - 12px);
	}

	.ac-team__grid > img {
		max-width: 720px;
	}

	.ac-process__list {
		grid-template-columns: 1fr 1fr;
	}

	.ac-process__list li:nth-child(2) {
		border-right: 0;
	}

	.ac-process__list li:nth-child(n + 3) {
		border-top: 1px solid var(--ac-line);
	}

	.ac-cta__actions {
		align-items: flex-start;
	}
}

@media (max-width: 620px) {
	.ac-home {
		--ac-section-space: 70px;
	}

	.ac-hero__copy {
		padding-block: 58px 54px;
	}

	.ac-hero h1 {
		font-size: clamp(2.15rem, 9vw, 2.55rem);
	}

	.ac-hero__actions {
		align-items: stretch;
	}

	.ac-hero__actions .ac-hero__link {
		justify-content: center;
	}

	.ac-hero-slider {
		min-height: 470px;
	}

	.ac-hero-slider__controls {
		grid-template-columns: 54px minmax(0, 1fr) 54px;
		min-height: 68px;
	}

	.ac-hero-slider__controls strong {
		font-size: 0.95rem;
		padding-inline: 16px;
	}

	.ac-intro h2,
	.ac-section-heading h2,
	.ac-team h2,
	.ac-cta h2 {
		font-size: clamp(2.2rem, 10vw, 3rem);
	}

	.ac-service {
		gap: 18px;
		grid-template-columns: 1fr 42px;
	}

	.ac-service p {
		grid-column: 1 / 3;
	}

	.ac-projects__grid {
		grid-template-columns: 1fr;
	}

	.ac-project:last-child {
		grid-column: auto;
		max-width: none;
	}

	.ac-section-heading--projects {
		align-items: start;
	}

	.ac-process__list {
		grid-template-columns: 1fr;
	}

	.ac-process__list li,
	.ac-process__list li:first-child,
	.ac-process__list li:last-child {
		border-right: 0;
		border-top: 1px solid var(--ac-line);
		padding: 24px 0;
	}

	.ac-process__list li:first-child {
		border-top: 0;
	}

	.ac-cta__actions {
		align-items: stretch;
		width: 100%;
	}

	.ac-cta__phone {
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ac-hero-slider.is-ready .ac-hero-slider__slide.is-active img {
		animation: none;
		transform: scale(1.01);
	}
}
