:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-2: #f8fafc;
	--text: #111827;
	--muted: #687171;
	--muted-2: #9c9c9c;
	--line: rgba(15, 23, 42, 0.1);
	--line-strong: rgba(15, 23, 42, 0.2);
	--accent: #046cac;
	--accent-2: #034f7e;
	--cyan: #e49434;
	--green: #046cac;
	--amber: #e49434;
	--pewter: #949c9c;
	--dusty: #9c9c9c;
	--shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
	--radius: 8px;
	--max: 1180px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #07131c;
	--surface: #0d1c27;
	--surface-2: #122837;
	--text: #f5f8ff;
	--muted: #c2c9c9;
	--muted-2: #949c9c;
	--line: rgba(224, 232, 246, 0.12);
	--line-strong: rgba(224, 232, 246, 0.24);
	--accent: #35a4e8;
	--accent-2: #046cac;
	--cyan: #f1a64c;
	--green: #35a4e8;
	--amber: #e49434;
	--pewter: #949c9c;
	--dusty: #9c9c9c;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.andgate-site {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.andgate-site a {
	color: inherit;
	text-decoration: none;
}

body.andgate-site img,
body.andgate-site canvas {
	max-width: 100%;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -120px;
	z-index: 20;
	padding: 10px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 16px;
}

.section-shell {
	width: min(calc(100% - 40px), var(--max));
	margin-inline: auto;
}

.agt-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: min(calc(100% - 32px), 1240px);
	margin: 12px auto 0;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--surface) 84%, transparent);
	border: 1px solid var(--line);
	border-radius: 999px;
	backdrop-filter: blur(18px);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.agt-header.is-elevated {
	box-shadow: var(--shadow);
}

.agt-brand,
.agt-nav,
.agt-header-actions {
	display: flex;
	align-items: center;
}

.agt-brand {
	gap: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.agt-logo {
	display: block;
	width: 176px;
	height: auto;
	padding: 7px 12px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 8px;
}

[data-theme="dark"] .agt-logo {
	background: #ffffff;
}

.agt-nav {
	gap: 22px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.agt-nav a:hover {
	color: var(--text);
}

.agt-header-actions {
	gap: 10px;
}

.theme-toggle {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.25s ease;
}

.theme-toggle span {
	display: block;
	position: relative;
	width: 18px;
	height: 18px;
	font-size: 16px;
	line-height: 18px;
	text-align: center;
	color: var(--text);
	transition: color 0.25s ease;
}

.theme-toggle span::before {
	content: "\263E";
}

[data-theme="dark"] .theme-toggle span {
	color: var(--cyan);
}

[data-theme="dark"] .theme-toggle span::before {
	content: "\2600";
}

.menu-toggle,
.mobile-nav {
	display: none;
}

.menu-toggle {
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--text);
	border-radius: 999px;
}

.menu-toggle span + span {
	margin-top: 5px;
}

.mobile-nav {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	padding: 10px;
	background: color-mix(in srgb, var(--surface) 96%, transparent);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow);
	backdrop-filter: blur(18px);
}

.mobile-nav a {
	display: block;
	padding: 12px 14px;
	color: var(--muted);
	border-radius: 8px;
	font-weight: 750;
}

.mobile-nav a:hover {
	color: var(--text);
	background: var(--surface-2);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: 750;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	color: #fff !important;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	box-shadow: 0 16px 36px rgba(4, 108, 172, 0.26);
}

.btn-primary:visited,
.btn-primary:hover {
	color: #fff !important;
}

.btn-secondary {
	background: var(--surface);
	border-color: var(--line);
	color: var(--text);
}

.btn-small {
	min-height: 40px;
	padding-inline: 14px;
	font-size: 14px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
	gap: 56px;
	align-items: center;
	padding: 104px 0 64px;
}

.page-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
	gap: 56px;
	align-items: center;
	padding: 104px 0 72px;
}

.page-hero-copy {
	max-width: 720px;
}

.page-hero-copy p:not(.eyebrow) {
	max-width: 640px;
	color: var(--muted);
	font-size: clamp(17px, 1.55vw, 19px);
	line-height: 1.72;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 780px;
	margin-bottom: 24px;
	font-size: clamp(46px, 6.4vw, 78px);
	line-height: 1;
	letter-spacing: 0;
	font-weight: 720;
}

h2 {
	margin-bottom: 18px;
	font-size: clamp(30px, 3.8vw, 46px);
	line-height: 1.08;
	letter-spacing: 0;
	font-weight: 740;
}

h3 {
	font-size: 19px;
	line-height: 1.32;
	font-weight: 720;
}

.page-hero h1 {
	max-width: 660px;
	font-size: clamp(40px, 4.4vw, 60px);
	line-height: 1.06;
}

.hero h1 {
	font-size: clamp(48px, 6.7vw, 80px);
	font-weight: 750;
}

.hero-lede {
	max-width: 680px;
	color: var(--muted);
	font-size: clamp(18px, 1.8vw, 20px);
	line-height: 1.72;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 32px 0;
}

.trust-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	overflow: hidden;
	max-width: 720px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.trust-strip div {
	padding: 18px;
	background: var(--surface);
}

.trust-strip strong {
	display: block;
	font-size: 22px;
	line-height: 1;
}

.trust-strip span {
	color: var(--muted);
	font-size: 13px;
}

.hero-visual {
	position: relative;
	min-height: 560px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 88%, transparent)),
		radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 28%),
		radial-gradient(circle at 72% 12%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 30%);
	box-shadow: var(--shadow);
	overflow: hidden;
}

#ecosystem-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.system-card,
.visual-device {
	position: absolute;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(10, 20, 40, 0.12);
	backdrop-filter: blur(14px);
}

.system-card {
	min-width: 168px;
	padding: 14px;
}

.system-card span,
.system-card small {
	display: block;
	color: var(--muted);
	font-size: 12px;
}

.system-card strong {
	display: block;
	margin: 4px 0;
	font-size: 18px;
}

.card-product {
	left: 9%;
	top: 13%;
}

.card-cloud {
	right: 8%;
	top: 17%;
}

.card-ai {
	right: 10%;
	bottom: 14%;
}

.visual-device {
	left: 50%;
	top: 50%;
	width: min(78%, 420px);
	padding: 18px;
	transform: translate(-50%, -42%);
}

.device-topbar {
	display: flex;
	gap: 7px;
	margin-bottom: 18px;
}

.device-topbar span {
	width: 9px;
	height: 9px;
	background: var(--line-strong);
	border-radius: 50%;
}

.device-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 16px;
}

.device-grid div {
	min-height: 72px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--cyan) 10%, transparent));
	border: 1px solid var(--line);
	border-radius: 8px;
}

.device-chart {
	display: flex;
	align-items: end;
	gap: 8px;
	height: 92px;
	padding: 12px;
	background: var(--surface-2);
	border-radius: 8px;
}

.device-chart i {
	flex: 1;
	background: linear-gradient(180deg, var(--cyan), var(--accent));
	border-radius: 6px 6px 2px 2px;
}

.device-chart i:nth-child(1) { height: 35%; }
.device-chart i:nth-child(2) { height: 62%; }
.device-chart i:nth-child(3) { height: 48%; }
.device-chart i:nth-child(4) { height: 82%; }
.device-chart i:nth-child(5) { height: 70%; }

.section-heading {
	max-width: 820px;
	margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.7;
}

.results,
.services,
.case-studies,
.industries,
.process,
.stack,
.why,
.testimonials,
.about,
.insights,
.final-cta {
	padding: 88px 0;
}

.metric-grid,
.service-grid,
.case-grid,
.why-grid,
.testimonial-grid,
.about-grid,
.insight-grid,
.portfolio-grid {
	display: grid;
	gap: 16px;
}

.metric-grid {
	grid-template-columns: repeat(4, 1fr);
}

.metric-grid article,
.service-card,
.case-card,
.portfolio-card,
.why-card,
.testimonial-grid blockquote,
.about-panel,
.insight-grid a,
.panel,
.contact-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 14px 40px rgba(10, 20, 40, 0.05);
}

.metric-grid article {
	padding: 24px;
}

.metric-grid strong {
	display: block;
	margin-bottom: 8px;
	color: var(--accent);
	font-size: 38px;
	line-height: 1;
}

.metric-grid span,
.service-card p,
.service-card dd,
.case-content p,
.testimonial-grid p,
.about-grid span,
.final-cta p {
	color: var(--muted);
}

.service-grid {
	grid-template-columns: repeat(4, 1fr);
}

.service-card {
	padding: 24px;
}

.portfolio-section {
	padding: 48px 0 88px;
}

.portfolio-grid {
	grid-template-columns: repeat(5, 1fr);
}

.portfolio-card {
	min-height: 280px;
	padding: 24px;
	overflow: hidden;
}

.portfolio-image {
	display: block;
	width: calc(100% + 48px);
	height: 140px;
	margin: -24px -24px 18px;
	object-fit: cover;
	background: var(--surface-2);
}

.portfolio-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 8%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
	border-radius: 8px;
}

.portfolio-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.portfolio-card h2 {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.18;
}

.portfolio-card p:not(.eyebrow),
.portfolio-status {
	color: var(--muted);
}

.portfolio-status {
	display: inline-flex;
	margin-top: 14px;
	font-weight: 800;
}

.service-icon {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	color: var(--accent);
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), color-mix(in srgb, var(--cyan) 12%, var(--surface)));
	border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
	border-radius: 8px;
}

.service-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.service-card dl {
	margin: 18px 0 0;
}

.service-card dt {
	margin-top: 12px;
	color: var(--text);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.service-card dd {
	margin: 4px 0 0;
}

.service-card h2 {
	margin-bottom: 12px;
	font-size: 20px;
	line-height: 1.28;
}

.text-link {
	display: inline-flex;
	margin-top: 14px;
	color: var(--accent);
	font-weight: 800;
}

.case-grid {
	grid-template-columns: 1fr;
}

.case-card {
	display: grid;
	grid-template-columns: 0.82fr 1fr;
	gap: 24px;
	padding: 18px;
}

.case-mockup {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 14px;
	min-height: 260px;
	padding: 16px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--cyan) 10%, transparent));
	border: 1px solid var(--line);
	border-radius: 8px;
}

.page-mockup {
	min-height: 360px;
	box-shadow: var(--shadow);
}

.visual-photo {
	position: relative;
	min-height: 360px;
	margin: 0;
	overflow: hidden;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.visual-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.visual-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(4, 20, 32, 0.72));
}

.visual-photo figcaption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 1;
	display: flex;
}

.visual-photo figcaption span {
	padding: 8px 12px;
	color: #fff;
	background: rgba(4, 20, 32, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	backdrop-filter: blur(12px);
}

.mock-sidebar,
.mock-main {
	background: color-mix(in srgb, var(--surface) 72%, transparent);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.mock-main {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 14px;
}

.mock-main span {
	min-height: 64px;
	background: var(--surface);
	border-radius: 8px;
}

.mock-main div {
	grid-column: 1 / -1;
	min-height: 118px;
	background: linear-gradient(90deg, var(--accent), var(--cyan));
	border-radius: 8px;
	opacity: 0.82;
}

.case-image {
	display: block;
	width: 100%;
	min-height: 260px;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-2);
}

.case-content {
	padding: 12px 8px;
}

.case-content a {
	display: inline-flex;
	margin-top: 10px;
	color: var(--accent);
	font-weight: 800;
}

.result-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 8px;
}

.result-list span {
	padding: 8px 10px;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 8%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
}

.split-section,
.case-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 48px 0 88px;
}

.case-detail {
	grid-template-columns: repeat(2, 1fr);
	padding-top: 28px;
}

.proof-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 24px 0 20px;
}

.proof-strip article {
	padding: 24px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), color-mix(in srgb, var(--cyan) 8%, var(--surface)));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 14px 40px rgba(10, 20, 40, 0.05);
}

.proof-strip strong,
.proof-strip span {
	display: block;
}

.proof-strip strong {
	font-size: 22px;
	line-height: 1.18;
}

.proof-strip span {
	margin-top: 6px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.case-narrative {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 24px 0 88px;
}

.case-narrative .panel {
	min-height: 220px;
}

.case-narrative .panel p:not(.eyebrow) {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.76;
}

.panel,
.contact-card {
	padding: 28px;
}

.panel h2,
.contact-card h2 {
	font-size: 26px;
	line-height: 1.16;
}

.panel p,
.contact-card span,
.contact-card a {
	color: var(--muted);
}

.contact-card a,
.contact-card span {
	display: block;
	margin-top: 12px;
	font-weight: 700;
}

.contact-form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 14px 40px rgba(10, 20, 40, 0.05);
}

.contact-form label {
	display: block;
	margin-bottom: 18px;
}

.contact-form label span {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
}

.contact-form label span em {
	font-style: normal;
	color: var(--accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--text);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

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

.contact-form .btn {
	width: 100%;
}

.contact-alt {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.contact-alt span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.contact-alt a {
	display: block;
	color: var(--accent);
	font-weight: 700;
	margin-bottom: 6px;
}

.contact-whatsapp {
	display: block;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	margin-top: 4px;
}

.form-success {
	padding: 18px 20px;
	color: #0d6e3e;
	background: color-mix(in srgb, #0d6e3e 8%, transparent);
	border: 1px solid color-mix(in srgb, #0d6e3e 20%, transparent);
	border-radius: 8px;
	font-weight: 650;
	font-size: 15px;
}

.form-error {
	padding: 18px 20px;
	margin-bottom: 18px;
	color: #b91c1c;
	background: color-mix(in srgb, #b91c1c 8%, transparent);
	border: 1px solid color-mix(in srgb, #b91c1c 20%, transparent);
	border-radius: 8px;
	font-weight: 650;
	font-size: 15px;
}

.check-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 30px;
	color: var(--muted);
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 16px;
	height: 16px;
	background: linear-gradient(135deg, var(--accent), var(--cyan));
	border-radius: 999px;
}

.page-content {
	margin-bottom: 88px;
}

.pill-grid,
.stack-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pill-grid span,
.stack-cloud span {
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-weight: 650;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
	padding: 0;
	list-style: none;
}

.timeline li {
	position: relative;
	min-height: 132px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.timeline span {
	display: block;
	margin-bottom: 22px;
	color: var(--accent);
	font-weight: 800;
}

.timeline strong {
	display: block;
	line-height: 1.25;
}

.stack-cloud span:nth-child(3n) {
	color: var(--accent);
}

.stack-cloud span:nth-child(4n) {
	color: var(--green);
}

.why-grid {
	grid-template-columns: repeat(7, 1fr);
}

.why-card {
	min-height: 154px;
	padding: 18px;
}

.why-card span {
	display: block;
	width: 18px;
	height: 18px;
	margin-bottom: 22px;
	background: var(--accent);
	border-radius: 6px;
	box-shadow: 18px 10px 0 color-mix(in srgb, var(--cyan) 72%, transparent);
}

.why-card h3 {
	margin: 0;
	font-size: 16px;
}

.testimonial-grid {
	grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid blockquote {
	position: relative;
	margin: 0;
	padding: 38px 28px 28px;
}

.testimonial-grid blockquote::before {
	content: "\201C";
	position: absolute;
	top: 10px;
	left: 22px;
	font-size: 48px;
	line-height: 1;
	color: var(--accent);
	font-weight: 800;
	font-family: Georgia, serif;
	opacity: 0.35;
}

.testimonial-grid p {
	font-size: 18px;
	position: relative;
	z-index: 1;
}

.testimonial-grid cite {
	display: block;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--text);
	font-style: normal;
	font-weight: 800;
	font-size: 14px;
}

.about-panel {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	gap: 32px;
	padding: 34px;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent));
}

.about-entity {
	margin-top: 16px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
}

.about-entity a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.about-grid {
	grid-template-columns: 1fr 1fr;
}

.about-grid article {
	padding: 18px;
	background: color-mix(in srgb, var(--surface) 64%, transparent);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.about-grid strong,
.about-grid span {
	display: block;
}

.about-visual {
	display: block;
	width: 100%;
	max-height: 380px;
	margin-top: 24px;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: 16px;
}

/* Key Facts block — structured data visible to crawlers + AI */
.key-facts {
	margin-top: 32px;
	padding: 24px 28px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.key-facts h3 {
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--accent);
}

.key-facts ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px 20px;
}

.key-facts li {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.key-facts strong {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.key-facts span {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.4;
}

.insight-grid {
	grid-template-columns: repeat(7, 1fr);
}

.insight-grid a {
	min-height: 132px;
	padding: 18px;
}

.insight-grid span,
.insight-grid strong {
	display: block;
}

.insight-grid span {
	margin-bottom: 18px;
	color: var(--text);
	font-weight: 800;
}

.insight-grid strong {
	color: var(--muted);
	font-size: 13px;
}

.final-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 80px;
	padding: 42px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--cyan) 10%, var(--surface)));
	border: 1px solid var(--line);
	border-radius: 18px;
}

.final-cta div {
	max-width: 720px;
}

.final-cta h2 {
	margin-bottom: 10px;
}

.agt-footer {
	padding: 52px 0;
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 24px;
}

.footer-grid p {
	max-width: 420px;
	color: var(--muted);
}

.footer-grid strong,
.footer-grid a {
	display: block;
}

.footer-grid strong {
	margin-bottom: 12px;
}

.footer-grid a:not(.agt-brand) {
	margin-bottom: 8px;
	color: var(--muted);
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Client logos strip ─────────────────────────── */
.clients {
	padding: 40px 0 48px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.clients-label {
	margin: 0 0 28px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: center;
}

.clients-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px 48px;
}

.clients-strip img {
	height: 36px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	opacity: 0.55;
	filter: grayscale(1);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.clients-strip img:hover {
	opacity: 0.9;
	filter: grayscale(0);
}

/* ── Team section ───────────────────────────────── */
.team {
	padding: 88px 0;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 16px;
}

.team-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

/* solid-background stock photos */
.team-photo {
	height: 240px;
	overflow: hidden;
	background: var(--surface-2);
}

.team-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 15%;
}

/* transparent cutout PNGs — show full body, gradient bg */
.team-photo--cutout {
	background: linear-gradient(160deg, var(--surface-2) 0%, color-mix(in srgb, var(--accent) 8%, var(--surface-2)) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.team-photo--cutout img {
	object-fit: contain;
	object-position: bottom center;
	width: 100%;
	height: 100%;
	padding-top: 10px;
}

/* initials avatar — used when no photo is available */
.team-avatar {
	height: 220px;
	background: linear-gradient(
		135deg,
		var(--av-color),
		color-mix(in srgb, var(--av-color) 65%, #000)
	);
	display: flex;
	align-items: center;
	justify-content: center;
}

.team-avatar span {
	font-size: 58px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.88);
	letter-spacing: -0.02em;
	line-height: 1;
	user-select: none;
}

.team-info {
	padding: 16px 14px 20px;
}

.team-name {
	display: block;
	font-size: 15px;
	font-weight: 750;
	color: var(--text);
}

.team-role {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--muted);
	font-weight: 600;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 18px;
}

.gallery-grid figure {
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-2);
}

.gallery-grid img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.gallery-grid figcaption {
	padding: 10px 12px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	background: var(--surface);
	border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media (max-width: 1080px) {
	.agt-nav {
		display: none;
	}

	.menu-toggle {
		display: grid;
	}

	.mobile-nav.is-open {
		display: block;
	}

	.hero {
		grid-template-columns: 1fr;
		padding-top: 72px;
	}

	.page-hero {
		grid-template-columns: 1fr;
		padding-top: 72px;
	}

	.hero-visual {
		min-height: 500px;
	}

	.metric-grid,
	.service-grid,
	.portfolio-grid,
	.gallery-grid,
	.why-grid,
	.insight-grid,
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.timeline {
		grid-template-columns: repeat(4, 1fr);
	}

	.about-panel,
	.case-card,
	.split-section,
	.case-detail,
	.proof-strip,
	.case-narrative {
		grid-template-columns: 1fr;
	}

	.key-facts ul {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.section-shell {
		width: min(calc(100% - 28px), var(--max));
	}

	.agt-header {
		align-items: stretch;
		border-radius: 18px;
	}

	.agt-logo {
		width: 142px;
		padding: 6px 10px;
	}

	.agt-header-actions .btn {
		display: none;
	}

	.hero {
		min-height: auto;
		padding-top: 54px;
	}

	h1,
	.hero h1,
	.page-hero h1 {
		font-size: clamp(38px, 12vw, 48px);
		line-height: 1.05;
		margin-bottom: 20px;
	}

	h2 {
		font-size: clamp(28px, 9vw, 36px);
		line-height: 1.12;
	}

	.hero-lede,
	.page-hero-copy p:not(.eyebrow) {
		font-size: 17px;
		line-height: 1.68;
	}

	.eyebrow {
		font-size: 11px;
		line-height: 1.45;
	}

	.hero-actions,
	.final-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.trust-strip,
	.metric-grid,
	.service-grid,
	.portfolio-grid,
	.gallery-grid,
	.why-grid,
	.testimonial-grid,
	.about-grid,
	.insight-grid,
	.footer-grid,
	.team-grid {
		grid-template-columns: 1fr;
	}

	.key-facts ul {
		grid-template-columns: 1fr 1fr;
	}

	.clients-strip {
		gap: 20px 32px;
	}

	.clients-strip img {
		height: 28px;
	}

	.hero-visual {
		min-height: 480px;
	}

	.system-card {
		min-width: 140px;
	}

	.card-product {
		left: 5%;
	}

	.card-cloud {
		right: 5%;
	}

	.card-ai {
		right: 6%;
		bottom: 7%;
	}

	.timeline {
		grid-template-columns: 1fr 1fr;
	}

	.results,
	.services,
	.case-studies,
	.industries,
	.process,
	.stack,
	.why,
	.team,
	.testimonials,
	.about,
	.insights,
	.final-cta {
		padding: 64px 0;
	}

	.final-cta {
		margin-bottom: 48px;
		padding: 28px;
	}
}

@media (max-width: 440px) {
	h1,
	.hero h1,
	.page-hero h1 {
		font-size: 40px;
	}

	.timeline {
		grid-template-columns: 1fr;
	}

	.case-mockup {
		grid-template-columns: 1fr;
	}

	.mock-sidebar {
		display: none;
	}
}
