.ac-page {
	--ac-page-space: clamp(76px, 8vw, 116px);
}

.ac-page-hero {
	background: #f7f6f1;
	border-bottom: 1px solid var(--ac-line);
	padding-block: clamp(62px, 8vw, 110px);
}

.ac-page-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(46px, 7vw, 100px);
	grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 1.1fr);
}

.ac-page-hero h1 {
	font-size: clamp(2.75rem, 4.9vw, 4rem);
	line-height: 1.04;
	margin-bottom: 26px;
	max-width: 870px;
}

.ac-page-hero p:not(.ac-breadcrumb) {
	color: var(--ac-graphite);
	font-size: clamp(1.08rem, 1.45vw, 1.24rem);
	line-height: 1.68;
	margin-bottom: 30px;
	max-width: 760px;
}

.ac-page-hero img {
	aspect-ratio: 4 / 3;
	display: block;
	filter: saturate(0.8) contrast(1.04);
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ac-page-hero--text .ac-shell {
	max-width: var(--ac-width-standard);
}

.ac-page-hero--text h1 {
	max-width: 960px;
}

.ac-page-hero--text p {
	margin-bottom: 0;
}

.ac-breadcrumb {
	color: var(--ac-graphite);
	font-size: 0.87rem;
	font-weight: 700;
	margin-bottom: 24px;
}

.ac-breadcrumb a {
	color: var(--ac-rust-dark);
}

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

.ac-page-section--white {
	background: var(--ac-white);
}

.ac-page-section--dark {
	background: var(--ac-machine);
	border-top: 6px solid var(--ac-rust);
	color: var(--ac-white);
}

.ac-page-heading {
	align-items: end;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 0.65fr);
	justify-content: space-between;
	margin-bottom: clamp(44px, 6vw, 72px);
}

.ac-page-heading h2,
.ac-two-columns > h2,
.ac-solutions-grid h2,
.ac-company-materials h2 {
	font-size: clamp(2.25rem, 4vw, 3.35rem);
	line-height: 1.08;
	margin: 0;
}

.ac-page-heading p,
.ac-two-columns > p,
.ac-two-columns > div,
.ac-solutions-grid > div > p,
.ac-company-materials p {
	color: var(--ac-graphite);
	font-size: 1.05rem;
	line-height: 1.72;
	margin: 0;
}

.ac-two-columns {
	align-items: start;
	display: grid;
	gap: clamp(48px, 9vw, 150px);
	grid-template-columns: minmax(340px, 0.95fr) minmax(360px, 0.75fr);
}

.ac-two-columns > div p {
	margin-bottom: 22px;
}

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

.ac-service-index article {
	align-items: center;
	border-bottom: 1px solid var(--ac-line);
	display: grid;
	gap: clamp(38px, 7vw, 100px);
	grid-template-columns: minmax(320px, 0.75fr) minmax(380px, 1fr);
	padding-block: clamp(36px, 5vw, 62px);
}

.ac-service-index article:nth-child(even) img {
	grid-column: 2;
	grid-row: 1;
}

.ac-service-index img {
	aspect-ratio: 4 / 3;
	display: block;
	filter: saturate(0.78) contrast(1.04);
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ac-service-index h2 {
	font-size: clamp(1.8rem, 3vw, 2.65rem);
	line-height: 1.12;
	margin-bottom: 18px;
}

.ac-service-index p {
	color: var(--ac-graphite);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 24px;
}

.ac-statement {
	background: var(--ac-machine);
	border-top: 6px solid var(--ac-rust);
	color: var(--ac-white);
	padding-block: clamp(70px, 8vw, 112px);
}

.ac-statement .ac-shell {
	max-width: var(--ac-width-standard);
}

.ac-statement h2 {
	font-size: clamp(2.3rem, 4.3vw, 3.55rem);
	line-height: 1.08;
	margin-bottom: 22px;
}

.ac-statement p {
	font-size: 1.08rem;
	line-height: 1.65;
	margin: 0;
	max-width: 720px;
}

.ac-solutions-grid {
	align-items: start;
	display: grid;
	gap: clamp(50px, 10vw, 160px);
	grid-template-columns: minmax(320px, 0.75fr) minmax(400px, 1fr);
}

.ac-solutions-grid > div > p {
	margin-top: 22px;
}

.ac-solutions-grid ul {
	border-top: 1px solid var(--ac-ink);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-solutions-grid li {
	border-bottom: 1px solid var(--ac-line);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.4;
	padding: 21px 0 21px 34px;
	position: relative;
}

.ac-solutions-grid li::before {
	background: var(--ac-rust);
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	top: 30px;
	width: 16px;
}

.ac-feature-pair,
.ac-principles {
	display: grid;
	gap: clamp(34px, 6vw, 90px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-feature-pair article,
.ac-principles article {
	border-top: 1px solid rgb(255 255 255 / 40%);
	padding-top: 28px;
}

.ac-feature-pair h2,
.ac-principles h2 {
	font-size: clamp(1.65rem, 2.5vw, 2.25rem);
	line-height: 1.15;
	margin-bottom: 18px;
}

.ac-feature-pair p,
.ac-principles p {
	color: rgb(255 255 255 / 78%);
	font-size: 1rem;
	line-height: 1.72;
	margin: 0;
}

.ac-principles {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-gallery {
	display: grid;
	gap: clamp(26px, 3vw, 42px);
}

.ac-gallery--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-gallery--works {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-gallery-card {
	color: var(--ac-ink);
	display: block;
}

.ac-gallery-card > span,
.ac-gallery-card > span:first-child {
	background: var(--ac-galvanized);
	display: block;
	overflow: hidden;
}

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

.ac-gallery-card:hover img,
.ac-gallery-card:focus-visible img {
	filter: saturate(1) contrast(1.02);
	transform: scale(1.045);
}

.ac-gallery-card > strong {
	display: block;
	font-size: 1.12rem;
	line-height: 1.3;
	padding-top: 18px;
}

.ac-gallery-card > div {
	padding: 22px 0 20px;
}

.ac-gallery-card h2 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	line-height: 1.18;
	margin-bottom: 10px;
}

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

.ac-gallery-dialog {
	background: var(--ac-machine-dark);
	border: 0;
	color: var(--ac-white);
	height: 100%;
	margin: auto;
	max-height: none;
	max-width: none;
	padding: 36px clamp(52px, 8vw, 130px);
	width: 100%;
}

.ac-gallery-dialog::backdrop {
	background: rgb(0 0 0 / 90%);
}

.ac-gallery-dialog[open] {
	align-items: center;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
}

.ac-gallery-dialog figure {
	margin: 0 auto;
	max-width: 1180px;
	width: 100%;
}

.ac-gallery-dialog img {
	display: block;
	height: min(72vh, 780px);
	object-fit: contain;
	width: 100%;
}

.ac-gallery-dialog figcaption {
	font-family: var(--ac-font);
	font-size: 1rem;
	font-weight: 700;
	padding-top: 18px;
	text-align: center;
}

.ac-gallery-dialog button {
	align-items: center;
	background: transparent;
	border: 1px solid rgb(255 255 255 / 45%);
	border-radius: 50%;
	color: var(--ac-white);
	cursor: pointer;
	display: flex;
	font-size: 1.2rem;
	height: 48px;
	justify-content: center;
	margin: 0;
	min-height: 0;
	padding: 0;
	width: 48px;
}

.ac-gallery-dialog__close {
	position: absolute;
	right: 28px;
	top: 24px;
}

.ac-gallery-dialog button:hover,
.ac-gallery-dialog button:focus-visible {
	background: var(--ac-rust);
	border-color: var(--ac-rust);
}

.ac-company-materials {
	align-items: center;
	display: grid;
	gap: clamp(50px, 9vw, 140px);
	grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.75fr);
}

.ac-company-materials img {
	aspect-ratio: 4 / 3;
	display: block;
	filter: saturate(0.8) contrast(1.04);
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ac-company-materials p {
	margin: 22px 0 28px;
}

.ac-contact-grid {
	display: grid;
	gap: clamp(60px, 10vw, 160px);
	grid-template-columns: minmax(280px, 0.65fr) minmax(480px, 1fr);
}

.ac-contact-grid aside {
	border-top: 4px solid var(--ac-rust);
	padding-top: 28px;
}

.ac-contact-grid aside h2 {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	margin-bottom: 25px;
}

.ac-contact-grid aside p {
	color: var(--ac-graphite);
	font-size: 1rem;
	line-height: 1.68;
	margin-bottom: 18px;
}

.ac-contact-phone {
	color: var(--ac-ink);
	display: inline-block;
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 18px;
}

.ac-contact-form {
	display: grid;
	gap: 21px;
}

.ac-contact-form p {
	margin: 0;
}

.ac-form-row {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
}

.ac-contact-form label {
	display: block;
	font-size: 0.92rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.ac-contact-form :where(input[type="text"], input[type="tel"], input[type="email"], select, textarea) {
	background: var(--ac-paper);
	border: 1px solid var(--ac-line);
	border-radius: 0;
	color: var(--ac-ink);
	font-family: var(--ac-font);
	font-size: 1rem;
	min-height: 52px;
	padding: 13px 15px;
	width: 100%;
}

.ac-contact-form textarea {
	min-height: 170px;
	resize: vertical;
}

.ac-contact-form :where(input, select, textarea):focus {
	border-color: var(--ac-rust);
	box-shadow: 0 0 0 2px rgb(232 109 10 / 18%);
	outline: 0;
}

.ac-form-consent label {
	display: flex;
	font-weight: 400;
	gap: 10px;
	line-height: 1.5;
}

.ac-form-consent input {
	margin-top: 4px;
}

.ac-form-consent a {
	color: var(--ac-rust-dark);
	text-decoration: underline;
}

.ac-form-trap {
	left: -10000px;
	position: absolute;
}

.ac-form-message {
	border-left: 4px solid var(--ac-rust);
	font-size: 0.98rem;
	line-height: 1.6;
	margin-bottom: 28px;
	padding: 16px 18px;
}

.ac-form-message--success {
	background: #edf5ec;
}

.ac-form-message--error {
	background: #fff0e6;
}

.ac-blog-grid {
	display: grid;
	gap: clamp(34px, 4vw, 56px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-blog-card {
	border-bottom: 1px solid var(--ac-line);
	padding-bottom: 28px;
}

.ac-blog-card__image {
	display: block;
	overflow: hidden;
}

.ac-blog-card img {
	aspect-ratio: 4 / 3;
	display: block;
	filter: saturate(0.78) contrast(1.04);
	height: auto;
	object-fit: cover;
	transition: transform 500ms ease;
	width: 100%;
}

.ac-blog-card:hover img {
	transform: scale(1.04);
}

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

.ac-blog-card time,
.ac-article__header time {
	color: var(--ac-graphite);
	font-size: 0.85rem;
}

.ac-blog-card h2 {
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	line-height: 1.18;
	margin: 12px 0 14px;
}

.ac-blog-preview .ac-blog-card h3 {
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	line-height: 1.18;
	margin: 0 0 14px;
}

.ac-blog-preview .ac-blog-card h3 a {
	color: var(--ac-ink);
}

.ac-blog-card h2 a {
	color: var(--ac-ink);
}

.ac-blog-card p {
	color: var(--ac-graphite);
	font-size: 0.97rem;
	line-height: 1.65;
	margin-bottom: 20px;
}

.ac-article__header {
	background: var(--ac-paper);
	padding-block: clamp(62px, 8vw, 108px) 42px;
}

.ac-article__header .ac-shell,
.ac-article__content {
	max-width: var(--ac-width-copy);
}

.ac-article__header h1 {
	font-size: clamp(2.55rem, 4.7vw, 3.9rem);
	line-height: 1.06;
	margin: 30px 0 20px;
}

.ac-article__media {
	max-width: var(--ac-width-standard);
}

.ac-article__media img {
	aspect-ratio: 16 / 8;
	display: block;
	filter: saturate(0.8) contrast(1.04);
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ac-article__content {
	font-size: clamp(1.03rem, 1.3vw, 1.16rem);
	line-height: 1.8;
	padding-block: clamp(58px, 8vw, 100px);
}

.ac-article__content h2 {
	font-size: clamp(1.7rem, 2.8vw, 2.35rem);
	line-height: 1.18;
	margin: 2.1em 0 0.7em;
}

.ac-article__content p {
	margin-bottom: 1.35em;
}

.ac-legal-shell {
	max-width: var(--ac-width-copy);
	padding-block: var(--ac-page-space);
}

.ac-legal-shell h1 {
	font-size: clamp(2.5rem, 4.5vw, 3.8rem);
	line-height: 1.06;
	margin-bottom: 42px;
}

.ac-legal-content {
	font-size: 1rem;
	line-height: 1.75;
}

.ac-not-found .ac-shell {
	max-width: var(--ac-width-standard);
	padding-block: clamp(100px, 14vw, 190px);
}

.ac-not-found h1 {
	font-size: clamp(2.8rem, 5vw, 4.2rem);
	line-height: 1.05;
	margin-bottom: 20px;
}

.ac-not-found p {
	color: var(--ac-graphite);
	font-size: 1.1rem;
	line-height: 1.65;
	margin-bottom: 30px;
}

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

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

.ac-page-cta h2 {
	font-size: clamp(2.25rem, 4.1vw, 3.45rem);
	line-height: 1.08;
	margin-bottom: 18px;
	max-width: 830px;
}

.ac-page-cta p {
	font-size: 1.04rem;
	line-height: 1.65;
	margin: 0;
}

.ac-page-cta__inner > div:last-child {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ac-page-cta__inner > div:last-child > a:last-child {
	color: var(--ac-white);
	font-size: 1.15rem;
	font-weight: 700;
}

.ac-site-footer {
	background: #111;
	color: var(--ac-white);
	font-family: var(--ac-font);
}

.ac-site-footer * {
	box-sizing: border-box;
}

.ac-site-footer a {
	text-decoration: none;
}

.ac-site-footer__main {
	display: grid;
	gap: clamp(40px, 6vw, 84px);
	grid-template-columns: minmax(260px, 1.25fr) 1fr 0.75fr 0.8fr;
	padding-block: clamp(62px, 7vw, 92px);
}

.ac-footer-brand {
	color: var(--ac-white);
	display: inline-block;
	font-size: 1.7rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 18px;
}

.ac-footer-brand span {
	color: var(--ac-rust);
}

.ac-site-footer__brand p {
	color: rgb(255 255 255 / 65%);
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0;
	max-width: 330px;
}

.ac-site-footer__nav,
.ac-site-footer__contact {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ac-site-footer__nav strong,
.ac-site-footer__contact strong {
	font-size: 0.92rem;
	margin-bottom: 7px;
}

.ac-site-footer__nav a,
.ac-site-footer__contact a,
.ac-site-footer__contact span {
	color: rgb(255 255 255 / 68%);
	font-size: 0.9rem;
	line-height: 1.45;
}

.ac-site-footer__nav a:hover,
.ac-site-footer__nav a:focus-visible,
.ac-site-footer__contact a:hover,
.ac-site-footer__contact a:focus-visible {
	color: var(--ac-white);
}

.ac-site-footer__contact .ac-footer-action {
	border-bottom: 2px solid var(--ac-rust);
	color: var(--ac-white);
	font-weight: 700;
	margin-top: 8px;
	padding-bottom: 5px;
}

.ac-site-footer__bottom {
	align-items: center;
	border-top: 1px solid rgb(255 255 255 / 18%);
	display: grid;
	gap: 22px;
	grid-template-columns: auto 1fr auto;
	padding-block: 22px;
}

.ac-site-footer__bottom p {
	color: rgb(255 255 255 / 55%);
	font-size: 0.78rem;
	margin: 0;
}

.ac-site-footer__bottom p:nth-child(2) {
	text-align: center;
}

.ac-site-footer__bottom a,
.ac-site-footer__bottom nav {
	color: rgb(255 255 255 / 66%);
	font-size: 0.78rem;
}

.ac-site-footer__bottom nav {
	display: flex;
	gap: 18px;
}

.ac-site-footer__bottom a:hover,
.ac-site-footer__bottom a:focus-visible {
	color: var(--ac-white);
}

@media (max-width: 1020px) {
	.ac-page-hero__grid {
		grid-template-columns: minmax(320px, 0.9fr) minmax(400px, 1.1fr);
	}

	.ac-site-footer__main {
		grid-template-columns: 1.25fr 1fr 1fr;
	}

	.ac-site-footer__contact {
		grid-column: 2;
	}
}

@media (max-width: 860px) {
	.ac-page-hero__grid,
	.ac-two-columns,
	.ac-solutions-grid,
	.ac-company-materials,
	.ac-contact-grid,
	.ac-page-cta__inner {
		grid-template-columns: 1fr;
	}

	.ac-page-hero__grid > img {
		max-width: 760px;
	}

	.ac-service-index article {
		gap: 34px;
		grid-template-columns: minmax(280px, 0.8fr) 1fr;
	}

	.ac-principles,
	.ac-blog-grid {
		grid-template-columns: 1fr 1fr;
	}

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

	.ac-page-cta__inner > div:last-child {
		align-items: flex-start;
	}

	.ac-site-footer__main {
		grid-template-columns: 1.25fr 1fr 1fr;
	}

	.ac-site-footer__contact {
		grid-column: auto;
	}

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

	.ac-site-footer__bottom p:nth-child(2) {
		text-align: right;
	}

	.ac-site-footer__bottom nav {
		grid-column: 1 / 3;
	}
}

@media (max-width: 620px) {
	.ac-page {
		--ac-page-space: 68px;
	}

	.ac-page-hero {
		padding-block: 50px 62px;
	}

	.ac-page-hero h1,
	.ac-article__header h1 {
		font-size: clamp(2.45rem, 11vw, 3.15rem);
	}

	.ac-page-heading,
	.ac-service-index article,
	.ac-feature-pair,
	.ac-principles,
	.ac-gallery--three,
	.ac-gallery--works,
	.ac-blog-grid,
	.ac-form-row,
	.ac-site-footer__main,
	.ac-site-footer__bottom {
		grid-template-columns: 1fr;
	}

	.ac-service-index article:nth-child(even) img {
		grid-column: 1;
		grid-row: auto;
	}

	.ac-gallery-dialog {
		padding: 70px 14px 24px;
	}

	.ac-gallery-dialog[open] {
		grid-template-columns: 1fr 1fr;
	}

	.ac-gallery-dialog figure {
		grid-column: 1 / 3;
		grid-row: 1;
	}

	.ac-gallery-dialog__arrow {
		grid-row: 2;
		margin-top: 18px !important;
	}

	.ac-gallery-dialog__arrow--prev {
		justify-self: end;
	}

	.ac-gallery-dialog__arrow--next {
		justify-self: start;
	}

	.ac-site-footer__bottom p:nth-child(2) {
		text-align: left;
	}

	.ac-site-footer__bottom nav {
		flex-wrap: wrap;
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ac-gallery-card img,
	.ac-blog-card img {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
 * Acabado interior 0.12: continuidad editorial con la portada.
 * -------------------------------------------------------------------------- */

.ac-page-hero {
	background:
		linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
		linear-gradient(0deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
		var(--ac-machine-dark);
	background-size: 84px 84px;
	border-bottom: 5px solid var(--ac-rust);
	overflow: hidden;
	position: relative;
}

.ac-page-hero::before {
	color: rgb(255 255 255 / 5%);
	content: "ACEDER";
	font-size: clamp(6rem, 16vw, 14rem);
	font-weight: 800;
	letter-spacing: -0.08em;
	line-height: .7;
	pointer-events: none;
	position: absolute;
	right: -.03em;
	top: .16em;
}

.ac-page-hero__grid,
.ac-page-hero--text .ac-shell {
	position: relative;
	z-index: 1;
}

.ac-page-hero__grid > div::before,
.ac-page-hero--text .ac-shell::before {
	color: var(--ac-rust);
	content: "TALLER · AJANGIZ · BIZKAIA";
	display: block;
	font-family: var(--ac-mono);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .11em;
	margin-bottom: 24px;
	text-transform: uppercase;
}

.ac-page-hero h1 {
	font-size: clamp(2.65rem, 5.2vw, 5.1rem);
	font-weight: 680;
	letter-spacing: -.045em;
	line-height: .98;
	text-wrap: balance;
}

.ac-page-hero p:not(.ac-breadcrumb) {
	color: rgb(255 255 255 / 67%);
	max-width: 720px;
}

.ac-page-hero img {
	box-shadow: 24px 24px 0 rgb(232 109 10 / 20%);
	filter: grayscale(.2) saturate(.78) contrast(1.05);
	outline: 1px solid rgb(255 255 255 / 18%);
	outline-offset: -13px;
	position: relative;
}

.ac-page-heading h2,
.ac-two-columns > h2,
.ac-solutions-grid h2,
.ac-company-materials h2 {
	font-weight: 650;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.ac-page-heading h2::before,
.ac-two-columns > h2::before,
.ac-solutions-grid h2::before,
.ac-company-materials h2::before {
	background: var(--ac-rust);
	content: "";
	display: block;
	height: 4px;
	margin-bottom: 22px;
	width: 52px;
}

.ac-service-index {
	counter-reset: ac-service-card;
}

.ac-service-index article {
	counter-increment: ac-service-card;
	isolation: isolate;
	position: relative;
}

.ac-service-index article::before {
	color: var(--ac-rust-dark);
	content: "0" counter(ac-service-card);
	font-family: var(--ac-mono);
	font-size: .68rem;
	font-weight: 700;
	left: 0;
	letter-spacing: .08em;
	position: absolute;
	top: 0;
	z-index: 2;
}

.ac-service-index article > div {
	padding-top: 30px;
}

.ac-service-index img,
.ac-gallery-card > span {
	background: var(--ac-machine);
}

.ac-service-index img {
	transition: filter 350ms ease, transform 850ms cubic-bezier(.22, 1, .36, 1);
}

.ac-service-index article:hover img,
.ac-service-index article:focus-within img {
	filter: grayscale(0) saturate(.92) contrast(1.03);
	transform: scale(1.025);
}

.ac-statement {
	background:
		linear-gradient(135deg, transparent 0 70%, rgb(255 255 255 / 4%) 70% 71%, transparent 71%),
		var(--ac-machine-dark);
	border-top: 5px solid var(--ac-rust);
	position: relative;
}

.ac-statement::after {
	border: 1px solid rgb(232 109 10 / 26%);
	border-radius: 50%;
	content: "";
	height: 380px;
	position: absolute;
	right: -220px;
	top: -250px;
	width: 380px;
}

.ac-statement .ac-shell {
	position: relative;
	z-index: 1;
}

.ac-statement h2 {
	font-size: clamp(2.15rem, 4vw, 3.65rem);
	font-weight: 650;
	letter-spacing: -.04em;
	line-height: 1.03;
	text-wrap: balance;
}

.ac-gallery-card {
	position: relative;
}

.ac-gallery-card > span::after {
	border: 1px solid rgb(255 255 255 / 55%);
	content: "";
	inset: 13px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: scale(.985);
	transition: opacity 280ms ease, transform 450ms cubic-bezier(.22, 1, .36, 1);
}

.ac-gallery-card:hover > span::after,
.ac-gallery-card:focus-visible > span::after {
	opacity: 1;
	transform: scale(1);
}

.ac-contact-grid aside {
	background:
		linear-gradient(135deg, transparent 0 78%, rgb(232 109 10 / 8%) 78%),
		var(--ac-paper-deep);
	border-top: 5px solid var(--ac-rust);
	padding: clamp(30px, 4vw, 52px);
}

.ac-contact-phone {
	letter-spacing: -.03em;
}

.ac-contact-form-wrap {
	border-top: 1px solid var(--ac-ink);
	padding-top: 30px;
}

.ac-contact-form :where(input[type="text"], input[type="tel"], input[type="email"], select, textarea) {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ac-line);
	border-radius: 0;
	padding-inline: 0;
}

.ac-contact-form :where(input, select, textarea):focus {
	border-color: var(--ac-rust);
	box-shadow: 0 2px 0 var(--ac-rust);
}

@media (max-width: 860px) {
	.ac-page-hero::before {
		font-size: 24vw;
		top: .35em;
	}

	.ac-page-hero img {
		box-shadow: 14px 14px 0 rgb(232 109 10 / 18%);
	}
}

@media (max-width: 620px) {
	.ac-page-hero {
		background-size: 56px 56px;
	}

	.ac-page-hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.6rem);
	}

	.ac-service-index article::before {
		position: static;
	}

	.ac-service-index article > div {
		padding-top: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ac-service-index img,
	.ac-gallery-card > span::after {
		transition: none;
	}
}

.ac-service-index article {
	overflow: hidden;
}

.ac-gallery-card > span,
.ac-gallery-card > span:first-child {
	position: relative;
}
