/**
 * About Techcore — continuous industrial narrative
 */

.abt {
	--abt-navy: #061b36;
	--abt-deep: #041326;
	--abt-blue: #063f8f;
	--abt-green: #53ce72;
	--abt-ink: #101820;
	--abt-muted: #626d79;
	--abt-line: rgba(16, 24, 32, 0.16);
	overflow: clip;
	background: var(--abt-navy);
	color: var(--abt-ink);
}

.abt *,
.abt *::before,
.abt *::after {
	box-sizing: border-box;
}

.abt-frame {
	position: relative;
	width: min(var(--ed-max), 100%);
	margin-inline: auto;
}

.abt-tag,
.abt-hero__top,
.abt-story figcaption,
.abt-direction__grid article > span,
.abt-capabilities__list li > span,
.abt-why__list li > span:last-child {
	font-family: var(--ed-mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.abt-tag {
	margin: 0;
	color: var(--abt-green);
}

/* Hero */
.abt-hero {
	position: relative;
	min-height: min(61rem, 100svh);
	display: grid;
	align-items: stretch;
	background: var(--abt-deep);
	color: #fff;
}

.abt-hero__media,
.abt-hero__shade {
	position: absolute;
	inset: 0;
}

.abt-hero__media {
	overflow: hidden;
}

.abt-hero__media img,
.abt-story figure img,
.abt-capabilities__media img,
.abt-network__media img,
.abt-direction__image img {
	width: 100%;
	height: 116%;
	object-fit: cover;
	transform: translate3d(0, calc(-7% + var(--abt-y, 0px)), 0);
	will-change: transform;
}

.abt-hero__shade {
	background:
		linear-gradient(90deg, rgba(3, 15, 32, 0.96) 0%, rgba(3, 22, 49, 0.76) 48%, rgba(3, 22, 49, 0.2) 100%),
		linear-gradient(0deg, rgba(3, 15, 32, 0.92), transparent 55%);
}

.abt-hero__content {
	z-index: 2;
	width: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding-top: calc(var(--ed-chrome) + 1rem);
	padding-inline: var(--ed-pad);
	padding-bottom: 1.5rem;
}

.abt-hero__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem 2rem;
	padding: 0.85rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	border-bottom: 1px solid rgba(255, 255, 255, 0.24);
	color: rgba(255, 255, 255, 0.64);
}

.abt-hero__main {
	display: grid;
	align-content: center;
	padding: clamp(2rem, 5vw, 4rem) 0;
}

.abt-hero__main > .abt-tag {
	margin-bottom: 1.2rem;
}

.abt-hero h1 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(3rem, 7.2vw, 7.3rem);
	font-weight: 650;
	line-height: 0.88;
	letter-spacing: -0.06em;
	text-wrap: balance;
}

.abt-hero h1 span {
	display: block;
}

.abt-hero h1 span:nth-child(2) {
	color: var(--abt-green);
}

.abt-hero__lead {
	max-width: 42rem;
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
	padding-left: 1.2rem;
	border-left: 2px solid var(--abt-green);
	font-size: clamp(1rem, 1.4vw, 1.16rem);
	line-height: 1.66;
	color: rgba(255, 255, 255, 0.75);
}

.abt-hero__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.abt-hero__facts div {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.85rem 1rem;
	border-right: 1px solid rgba(255, 255, 255, 0.24);
	border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.abt-hero__facts span {
	font-family: var(--ed-mono);
	font-size: 0.64rem;
	color: var(--abt-green);
}

.abt-hero__facts strong {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Shared heading */
.abt-heading {
	display: grid;
	gap: 1.5rem 4rem;
	align-items: end;
	padding: clamp(2.8rem, 5vw, 4.5rem) 0;
	border-bottom: 1px solid var(--abt-line);
}

.abt-heading h2,
.abt-network h2,
.abt-why h2,
.abt-contact h2 {
	max-width: 13ch;
	margin: 0.8rem 0 0;
	font-size: clamp(2.35rem, 4.9vw, 5rem);
	font-weight: 640;
	line-height: 0.96;
	letter-spacing: -0.05em;
}

.abt-heading > p {
	max-width: 36rem;
	margin: 0;
	font-size: clamp(1rem, 1.35vw, 1.14rem);
	line-height: 1.7;
	color: var(--abt-muted);
}

.abt-heading--dark {
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.abt-heading--dark > p {
	color: rgba(255, 255, 255, 0.68);
}

/* Story */
.abt-story {
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
	padding-inline: var(--ed-pad);
	background: var(--abt-navy);
	color: #fff;
}

.abt-story__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	padding-top: clamp(2rem, 4vw, 3.5rem);
}

.abt-story figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #122a45;
}

.abt-story__primary {
	grid-column: 1 / 7;
	min-height: 42rem;
}

.abt-story figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 0.85rem 1rem;
	background: rgba(4, 19, 38, 0.88);
	color: rgba(255, 255, 255, 0.72);
}

.abt-story__copy {
	grid-column: 7 / 13;
	display: grid;
	align-content: center;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-right: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.025);
}

.abt-story__copy p {
	margin: 0;
	padding: clamp(1.35rem, 2.6vw, 2.2rem);
	font-size: clamp(1rem, 1.25vw, 1.12rem);
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.74);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.abt-story__copy p:first-child {
	color: rgba(255, 255, 255, 0.94);
}

.abt-story__copy p:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.abt-story__descriptor {
	font-family: var(--ed-mono);
	font-size: 0.7rem !important;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--abt-green) !important;
}

/* Capabilities */
.abt-capabilities {
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
	padding-inline: var(--ed-pad);
	background: #e9edf1;
}

.abt-capabilities__layout {
	display: grid;
	gap: 0;
	padding-top: clamp(2rem, 4vw, 3.5rem);
}

.abt-capabilities__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--abt-line);
}

.abt-capabilities__list li {
	display: grid;
	grid-template-columns: 2.8rem 1fr 3rem;
	gap: 1rem;
	align-items: center;
	padding: clamp(1rem, 1.8vw, 1.45rem) 0;
	border-bottom: 1px solid var(--abt-line);
	transition: padding 0.3s ease, color 0.3s ease;
}

.abt-capabilities__list li:hover {
	padding-left: 0.7rem;
	color: var(--abt-blue);
}

.abt-capabilities__list li > span {
	color: var(--abt-muted);
}

.abt-capabilities__list strong {
	font-size: clamp(1.1rem, 1.8vw, 1.45rem);
	font-weight: 600;
}

.abt-capabilities__list i {
	width: 100%;
	height: 1px;
	background: var(--abt-green);
	transform-origin: right;
	transition: transform 0.3s ease;
}

.abt-capabilities__list li:hover i {
	transform: scaleX(0.45);
}

.abt-capabilities__media {
	position: relative;
	min-height: 34rem;
	margin: 0;
	overflow: hidden;
	background: #cfd6dc;
}

.abt-capabilities__media figcaption {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.9);
	font-family: var(--ed-mono);
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Network */
.abt-network {
	position: relative;
	min-height: min(44rem, 78svh);
	display: grid;
	align-items: end;
	overflow: hidden;
	padding-inline: var(--ed-pad);
	background: var(--abt-deep);
	color: #fff;
}

.abt-network__media {
	position: absolute;
	inset: 0;
}

.abt-network__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 19, 38, 0.94), rgba(4, 19, 38, 0.46) 72%, rgba(4, 19, 38, 0.18));
}

.abt-network__content {
	z-index: 2;
	padding-top: 5rem;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.abt-network h2 {
	max-width: 11ch;
}

.abt-network__content > p:last-child {
	max-width: 38rem;
	margin: 1.5rem 0 0;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	font-size: clamp(1rem, 1.4vw, 1.17rem);
	line-height: 1.68;
	color: rgba(255, 255, 255, 0.74);
}

/* Direction */
.abt-direction {
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
	padding-inline: var(--ed-pad);
	background: var(--abt-deep);
	color: #fff;
}

.abt-direction__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	padding-top: clamp(2rem, 4vw, 3.5rem);
}

.abt-direction__grid article {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.abt-direction__grid article > span {
	color: var(--abt-green);
}

.abt-direction__grid h3 {
	margin: clamp(2rem, 5vw, 4rem) 0 0;
	font-size: clamp(1.25rem, 2.15vw, 2rem);
	font-weight: 450;
	line-height: 1.45;
	letter-spacing: -0.025em;
	color: rgba(255, 255, 255, 0.86);
}

.abt-direction__vision {
	grid-column: 1 / 8;
	grid-row: 1;
}

.abt-direction__image {
	grid-column: 8 / 13;
	grid-row: 1 / 3;
	min-height: 34rem;
	margin: 0;
	overflow: hidden;
	background: #122a45;
}

.abt-direction__mission {
	grid-column: 1 / 8;
	grid-row: 2;
	border-top: 0 !important;
}

/* Why */
.abt-why {
	padding: clamp(3.5rem, 7vw, 6rem) var(--ed-pad);
	background: var(--abt-green);
	color: var(--abt-deep);
}

.abt-why__head {
	position: relative;
	display: grid;
	gap: 2rem 4rem;
	align-items: center;
	padding: clamp(1.75rem, 4vw, 3.5rem);
	overflow: hidden;
	background: var(--abt-deep);
	color: #fff;
	border-bottom: 3px solid var(--abt-blue);
}

.abt-why__head::after {
	content: "05";
	position: absolute;
	right: -0.04em;
	bottom: -0.28em;
	font-size: clamp(8rem, 17vw, 17rem);
	font-weight: 750;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.abt-why .abt-tag {
	color: var(--abt-green);
}

.abt-why h2 {
	position: relative;
	z-index: 1;
	max-width: 12ch;
	margin-top: 0.7rem;
}

.abt-why__intro {
	position: relative;
	z-index: 1;
	max-width: 30rem;
	padding-left: 1.25rem;
	border-left: 2px solid var(--abt-green);
}

.abt-why__intro span {
	font-family: var(--ed-mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--abt-green);
}

.abt-why__intro p {
	margin: 1rem 0 0;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
}

.abt-icon-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.abt-why__list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(4, 19, 38, 0.24);
	border-left: 1px solid rgba(4, 19, 38, 0.24);
}

.abt-why__list li {
	min-height: 10rem;
	display: grid;
	grid-template-columns: 3rem 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: clamp(1.2rem, 2.2vw, 1.75rem);
	border-right: 1px solid rgba(4, 19, 38, 0.24);
	border-bottom: 1px solid rgba(4, 19, 38, 0.24);
	transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.abt-why__list li:hover {
	background: var(--abt-deep);
	color: #fff;
	transform: translateY(-3px);
}

.abt-why__icon {
	width: 2.5rem;
	height: 2.5rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.abt-why__list li:hover .abt-why__icon {
	color: var(--abt-green);
	transform: scale(1.08) rotate(-3deg);
}

.abt-why__list strong {
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	font-weight: 650;
}

/* Contact */
.abt-contact {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 7vw, 6rem) var(--ed-pad);
	background: var(--abt-navy);
	color: #fff;
}

.abt-contact__blueprint {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.65;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 4.5rem 4.5rem;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
	mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.abt-contact__eyebrow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.7rem 2rem;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
	padding: 0.9rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	font-family: var(--ed-mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.62);
}

.abt-contact__grid {
	display: grid;
	gap: 2.5rem 6rem;
	align-items: end;
}

.abt-contact h2 {
	max-width: 11ch;
	margin-top: 0;
	font-size: clamp(3rem, 6.4vw, 6.5rem);
}

.abt-contact__lead {
	max-width: 37rem;
	margin: 1.5rem 0 0;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.68;
	color: rgba(255, 255, 255, 0.7);
}

.abt-contact__action {
	padding: clamp(1.35rem, 3vw, 2.25rem);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.abt-contact__action p {
	max-width: 29rem;
	margin: 0 0 1.5rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.abt-contact__action .abt-contact__status {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 2rem;
	font-family: var(--ed-mono);
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--abt-green);
}

.abt-contact__status i {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--abt-green);
	box-shadow: 0 0 0 0 rgba(83, 206, 114, 0.5);
	animation: abt-status-pulse 2s ease-out infinite;
}

.abt-contact__action a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 1.15rem;
	background: #fff;
	color: var(--abt-blue);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.abt-contact__action a:hover,
.abt-contact__action a:focus-visible {
	background: var(--abt-green);
	color: var(--abt-deep);
	transform: translateY(-3px);
}

@keyframes abt-status-pulse {
	70% {
		box-shadow: 0 0 0 0.55rem rgba(83, 206, 114, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(83, 206, 114, 0);
	}
}

/* Motion */
html.abt-motion {
	scroll-behavior: smooth;
}

.abt-motion [data-abt-reveal],
.abt-motion [data-abt-title] {
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--delay, 0s);
}

.abt-motion [data-abt-image] {
	opacity: 0;
	clip-path: inset(0 100% 0 0);
	transition: opacity 0.75s ease, clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.abt-motion [data-abt-reveal].is-visible,
.abt-motion [data-abt-title].is-visible {
	opacity: 1;
	transform: none;
}

.abt-motion [data-abt-image].is-visible {
	opacity: 1;
	clip-path: inset(0);
}

@media (min-width: 760px) {
	.abt-heading {
		grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
	}

	.abt-capabilities__layout {
		grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
	}

	.abt-why__head {
		grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
	}

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

	.abt-contact__grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.7fr);
	}
}

@media (max-width: 759px) {
	.abt-hero {
		min-height: 48rem;
	}

	.abt-hero__top span:nth-child(2) {
		display: none;
	}

	.abt-hero h1 {
		font-size: clamp(2.8rem, 13vw, 4.5rem);
	}

	.abt-hero__lead {
		margin-left: 0;
	}

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

	.abt-story__grid,
	.abt-direction__grid {
		display: block;
	}

	.abt-story__primary {
		min-height: 27rem;
	}

	.abt-capabilities__media,
	.abt-direction__image {
		min-height: 27rem;
	}

	.abt-direction__grid article {
		border-bottom: 0;
	}

	.abt-direction__mission {
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		border-bottom: 0 !important;
	}

	.abt-why__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.abt-hero__content {
		padding-inline: clamp(1rem, 4.5vw, 1.35rem);
	}
}

@media (max-width: 380px) {
	.abt-hero__content {
		padding-inline: 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.abt-motion {
		scroll-behavior: auto;
	}

	.abt-motion [data-abt-reveal],
	.abt-motion [data-abt-title],
	.abt-motion [data-abt-image] {
		opacity: 1;
		transform: none;
		clip-path: none;
		transition: none;
	}

	[data-abt-parallax] {
		--abt-y: 0px !important;
	}

	.abt-contact__status i {
		animation: none;
	}
}
