/*
Theme Name: Axiom Tech Solutions
Theme URI: https://axiomtechsolutions.com/
Author: Axiom Tech Solutions LLC
Author URI: https://axiomtechsolutions.com/
Description: Modern, AI-first WordPress theme for Axiom Tech Solutions LLC. Built as a classic PHP theme. All content is editable via Appearance → Customize. Auto-installs 5 pages (Home, Services, Process, About, Contact) on activation.
Version: 0.1.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: axiom-tech-solutions
Tags: business, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, full-width-template
*/

/* ───────────────────────────────────────────────────────────
   TOKENS
   ─────────────────────────────────────────────────────────── */
:root {
	--navy:       #1B2A4E;
	--navy-deep:  #0F1A33;
	--blue:       #2E5A8C;
	--cyan:       #2DD4E0;
	--ink:        #0F172A;
	--muted:      #64748B;
	--light-bg:   #F8FAFC;
	--divider:    #E2E8F0;
	--white:      #FFFFFF;

	--font-display: 'Space Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
	--font-body:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

	--radius-sm: 6px;
	--radius:    12px;
	--radius-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(15,26,51,0.06), 0 1px 1px rgba(15,26,51,0.04);
	--shadow:    0 8px 24px rgba(15,26,51,0.08);
	--shadow-lg: 0 18px 48px rgba(15,26,51,0.18);

	--container: 1200px;
	--container-narrow: 760px;

	/* Single vertical-rhythm token — every full-width section (hero, page
	   heroes, content sections, CTA, footer top) shares this so page flow
	   stays even from phone (36px) to desktop (48px). */
	--section-pad: clamp(2.25rem, 5vw, 3rem);
}

/* ───────────────────────────────────────────────────────────
   RESET / BASE
   ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--navy);
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
p  { margin: 0 0 1em; }
a  { color: var(--blue); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }

.container        { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: var(--container-narrow); }

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 0.6em;
}

.accent { color: var(--cyan); }

.skip-link {
	position: absolute; left: -9999px; top: auto;
	background: var(--navy); color: var(--white); padding: 0.75rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ───────────────────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────────────────── */
.btn-primary, .btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.85rem 1.4rem;
	border-radius: var(--radius-sm);
	transition: transform 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	line-height: 1;
}
.btn-primary {
	background: var(--navy);
	color: var(--white);
}
.btn-primary:hover {
	background: var(--cyan);
	color: var(--navy-deep);
	box-shadow: var(--shadow);
}
.btn-outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--divider);
}
.btn-outline:hover {
	border-color: var(--cyan);
	color: var(--navy-deep);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--navy);
	border-bottom: 1px solid transparent;
}
.link-arrow:hover { color: var(--cyan); border-color: var(--cyan); }

/* ───────────────────────────────────────────────────────────
   STICKY NAV — single dark "neural" bar (ribbon merged in).
   Same gradient as the hero panel / About stage, with the
   particle network drifting behind the content.
   ─────────────────────────────────────────────────────────── */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #142346 100%);
	color: var(--white);
	padding: 0.9rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 84px;
	border-bottom: 1px solid rgba(45, 212, 224, 0.25);
	transition: box-shadow 120ms ease;
}
.site-nav.is-scrolled {
	box-shadow: 0 10px 30px rgba(8, 15, 33, 0.35);
}
/* Particle canvas fills the bar behind everything; content layers above. */
.nav-particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 0;
	pointer-events: none;
}
.logo-area,
.nav-blurb,
.mobile-toggle,
.menu-wrap {
	position: relative;
	z-index: 2;
}
/* Center blurb — quiet, uppercase, truncates rather than wraps. Hidden when
   the bar gets too crowded (it reappears inside the mobile dropdown). */
.nav-blurb {
	flex: 1;
	min-width: 0;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.82);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 0.5rem;
}
@media (max-width: 1280px) {
	.nav-blurb { display: none; }
}

.logo-area { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo { max-height: 64px; width: auto; }

.menu-wrap { margin-left: auto; }
.nav-menu {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu a {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 500;
	font-size: 0.95rem;
	padding: 0.25rem 0;
	border-bottom: 1px solid transparent;
}
.menu-item-cta .nav-button { padding: 0.6rem 1.1rem; }
/* CTA pops cyan against the dark bar; override link color rules. */
.nav-menu a.btn-primary {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--navy-deep);
	border-bottom-color: var(--cyan);
}
/* Hover styles scoped to pointing devices so tap doesn't leave items looking "selected" on touch. */
@media (hover: hover) {
	.nav-menu a:hover { color: var(--cyan); border-color: var(--cyan); }
	.nav-menu a.btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }
}

.mobile-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}
.mobile-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--white);
	margin: 5px 0;
	transition: transform 150ms ease, opacity 150ms ease;
}

/* Blurb inside the mobile dropdown — desktop hides it (the bar shows it). */
.menu-blurb { display: none; }

@media (max-width: 880px) {
	.mobile-toggle { display: block; }
	/* Menu anchors to the bottom of the nav via top: 100% so it always sits
	   directly below the bar. Dark to match the new nav. */
	.menu-wrap {
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		background: var(--navy-deep);
		padding: 1rem 1.5rem 1.5rem;
		box-shadow: 0 18px 40px rgba(8, 15, 33, 0.45);
		border-top: 1px solid rgba(45, 212, 224, 0.25);
		transform: translateY(-110%);
		transition: transform 220ms ease;
		z-index: 90;
		visibility: hidden;
	}
	.menu-wrap.is-open { transform: translateY(0); visibility: visible; }
	.menu-blurb {
		display: block;
		margin: 0 0 0.85rem;
		font-size: 0.72rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.12em;
		color: var(--cyan);
	}
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0.35rem; }
	.nav-menu a {
		font-size: 1.05rem;
		padding: 0.55rem 0;
		border-bottom: 0 !important;
	}
	/* CTA button stretches full-width in the dropdown so it's hittable. */
	.menu-item-cta .nav-button { padding: 0.85rem 1.1rem; justify-content: center; width: 100%; }
}

/* Hamburger → X transform when menu is open. */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px)  rotate( 45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Compact bar on phones — keep the logo prominent but the bar trim. */
@media (max-width: 720px) {
	.site-nav { padding: 0.7rem 1rem; min-height: 68px; gap: 1rem; }
	.site-logo { max-height: 50px; }
}

/* ───────────────────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────────────────── */
.hero {
	padding: var(--section-pad) 0;
	background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 3rem;
	align-items: center;
}
.hero-copy h1 { margin-top: 0.4rem; }
.hero-desc { font-size: 1.1rem; color: var(--muted); max-width: 32em; }
.hero-buttons {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 1.5rem 0;
}
.hero-panel {
	position: relative;
	aspect-ratio: 4/3;
	border-radius: var(--radius-lg);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.hero-panel-logo {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	width: 65%;
	max-width: 350px;
}

@media (max-width: 880px) {
	.hero-grid { grid-template-columns: 1fr; gap: 2rem; }
	.hero-panel { aspect-ratio: 16/10; }
}

/* ───────────────────────────────────────────────────────────
   PAGE HERO (services / process / about / contact / 404)
   ─────────────────────────────────────────────────────────── */
.page-hero {
	background-color: var(--navy-deep);
	background-size: cover;
	background-position: center;
	color: var(--white);
	padding: var(--section-pad) 0;
	text-align: left;
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero-lead {
	max-width: 36em;
	font-size: 1.1rem;
	color: rgba(255,255,255,0.85);
	margin-top: 0.75rem;
}

/* ───────────────────────────────────────────────────────────
   SECTION SCAFFOLDING
   ─────────────────────────────────────────────────────────── */
.section-services,
.section-process-snippet,
.section-about-snippet,
.section-services-detail,
.section-process-detail,
.section-faq,
.section-principles,
.section-capabilities,
.section-founder,
.section-contact,
.section-page {
	padding: var(--section-pad) 0;
}
.section-process-snippet,
.section-faq,
.section-capabilities {
	background: var(--light-bg);
}
.section-head { margin-bottom: 1.5rem; max-width: 36em; }

/* Electric-cyan keyline where two sections meet — marks each boundary so
   the tighter rhythm still reads as distinct sections. Sits at the very
   top edge of every section that follows another inside <main>. */
main > section + section { position: relative; }
main > section + section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(680px, calc(100% - 3rem));
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cyan), transparent);
	opacity: 0.55;
	pointer-events: none;
}
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ───────────────────────────────────────────────────────────
   SERVICES (home teaser + services page)
   ─────────────────────────────────────────────────────────── */
.services-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.service-card {
	display: block;
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius);
	padding: 1.5rem;
	color: var(--ink);
	flex: 1 1 240px;
	min-width: 240px;
	max-width: 340px;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, opacity 400ms ease;
	opacity: 0;
	transform: translateY(10px);
}
.service-card.is-visible { opacity: 1; transform: none; }
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--cyan);
}
.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: rgba(45,212,224,0.10);
	color: var(--blue);
	margin-bottom: 0.75rem;
}
.service-card h3 { margin: 0 0 0.5rem; color: var(--navy); }
.service-card p { color: var(--muted); }
.service-link {
	display: inline-flex; align-items: center; gap: 0.4rem;
	color: var(--navy); font-weight: 600; margin-top: 0.5rem;
}

.service-detail {
	border-top: 1px solid var(--divider);
	padding: 2.5rem 0;
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail-head { display: flex; align-items: center; gap: 1rem; }
.service-detail-head h2 { margin: 0; }
.service-detail-body { color: var(--muted); max-width: 44em; margin: 1rem 0; }

/* ───────────────────────────────────────────────────────────
   PROCESS
   ─────────────────────────────────────────────────────────── */
.process-steps,
.process-steps-detail {
	list-style: none;
	margin: 0; padding: 0;
	counter-reset: step;
}
.process-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}
.process-step,
.process-step-detail {
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius);
	padding: 1.5rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 400ms ease, transform 400ms ease;
}
.process-step.is-visible,
.process-step-detail.is-visible { opacity: 1; transform: none; }
.step-number {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--cyan);
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}
.process-step h3, .step-content h2 { color: var(--navy); }
.process-step p, .step-content p { color: var(--muted); }

.process-steps-detail { display: grid; gap: 1.5rem; max-width: 48em; }
.process-step-detail {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem 1.5rem;
	align-items: start;
}
.process-step-detail .step-number {
	font-size: 1.25rem;
	background: var(--navy);
	color: var(--cyan);
	padding: 0.35rem 0.6rem;
	border-radius: var(--radius-sm);
}
.step-content h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }

.process-cta-row { margin-top: 2rem; }

/* ───────────────────────────────────────────────────────────
   FAQ
   ─────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.75rem; max-width: 48em; }
.faq-item {
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius-sm);
	padding: 1rem 1.25rem;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 350ms ease, transform 350ms ease;
}
.faq-item.is-visible { opacity: 1; transform: none; }
.faq-item summary {
	cursor: pointer;
	font-weight: 600;
	font-family: var(--font-display);
	color: var(--navy);
	list-style: none;
	display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after {
	content: '+';
	font-size: 1.3rem;
	color: var(--cyan);
	transition: transform 150ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { margin-top: 0.75rem; color: var(--muted); }

/* ───────────────────────────────────────────────────────────
   ABOUT (home snippet + page)
   ─────────────────────────────────────────────────────────── */
.about-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 2rem;
	align-items: center;
}
.about-image {
	aspect-ratio: 4/3;
	border-radius: var(--radius-lg);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
}

/* Featured logo treatment on the home About-us snippet — dark panel with
   the same neural-network particles as the rest of the site drifting in
   the background. The logo sits directly on the panel, no backing card. */
.about-logo-stage {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #142346 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}
.about-logo-stage .atech-particles { z-index: 0; }

/* Stationary, like the hero-panel logo up top — only the particles drift. */
.about-logo-floating {
	position: relative;
	z-index: 2;
	width: 65%;
	max-width: 350px;
	height: auto;
}
@media (max-width: 880px) {
	.about-grid { grid-template-columns: 1fr; }
}

.principles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}
.principle-card {
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius);
	padding: 1.5rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 400ms ease, transform 400ms ease;
}
.principle-card.is-visible { opacity: 1; transform: none; }
.principle-card h3 { color: var(--navy); }
.principle-card p  { color: var(--muted); margin: 0; }

.capabilities-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
}
.capabilities-list li {
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius-sm);
	color: var(--navy);
	font-weight: 500;
	flex: 1 1 260px;
	min-width: 260px;
	max-width: 340px;
}
.cap-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	border-radius: var(--radius-sm);
	background: rgba(45,212,224,0.10);
	color: var(--blue);
}

.section-founder { background: var(--light-bg); }
.founder-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 2rem;
	align-items: center;
}
.founder-photo {
	aspect-ratio: 1/1;
	background-size: cover;
	background-position: center;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
@media (max-width: 880px) {
	.founder-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────
   CONTACT
   ─────────────────────────────────────────────────────────── */
.contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 2.5rem;
	align-items: start;
}
.contact-form {
	display: grid;
	gap: 1rem;
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius);
	padding: 1.75rem;
	box-shadow: var(--shadow-sm);
}
.contact-form .field { display: grid; gap: 0.4rem; }
.contact-form label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--navy);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
	font: inherit;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--divider);
	border-radius: var(--radius-sm);
	padding: 0.7rem 0.85rem;
	width: 100%;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 0;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(45,212,224,0.18);
}
.contact-form button[type="submit"] { justify-self: flex-start; }

.contact-errors {
	background: #FEF2F2;
	border: 1px solid #FECACA;
	color: #991B1B;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}
.contact-errors ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

.contact-success {
	background: var(--light-bg);
	border: 1px solid var(--divider);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
}

.contact-aside {
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius);
	padding: 1.75rem;
}
.contact-aside h2 { color: var(--white); font-size: 1.1rem; }
.contact-expect-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid; gap: 0.75rem;
	color: rgba(255,255,255,0.9);
}
.contact-expect-list strong { color: var(--cyan); display: block; font-family: var(--font-display); }
.contact-direct a { color: var(--white); display: inline-flex; align-items: center; gap: 0.4rem; }
.contact-direct a:hover { color: var(--cyan); }
.contact-location { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin: 0.5rem 0 0; }
.contact-aside .btn-outline {
	border-color: rgba(255,255,255,0.4);
	color: var(--white);
	margin-top: 0.75rem;
}
.contact-aside .btn-outline:hover {
	border-color: var(--cyan);
	color: var(--cyan);
}

@media (max-width: 880px) {
	.contact-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────
   PRE-FOOTER CTA + FOOTER
   ─────────────────────────────────────────────────────────── */
.cta-section {
	background-color: var(--navy-deep);
	background-size: cover;
	background-position: center;
	color: var(--white);
	padding: var(--section-pad) 1.5rem;
	text-align: center;
}
.cta-section h2 { color: var(--white); max-width: 24em; margin-left: auto; margin-right: auto; }
.cta-inner { max-width: var(--container); margin: 0 auto; }
.cta-section .btn-primary { background: var(--cyan); color: var(--navy-deep); }
.cta-section .btn-primary:hover { background: var(--white); }

.site-footer {
	background: var(--navy-deep);
	color: rgba(255,255,255,0.85);
	padding: var(--section-pad) 1.5rem 1.5rem;
}
.footer-grid {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 3rem;
}
.footer-brand { padding-right: 0.5rem; }
.footer-brand p {
	color: rgba(255,255,255,0.75);
	max-width: 30ch;
	line-height: 1.6;
	margin: 0 0 0.5rem;
}
.footer-logo {
	max-height: 56px;
	margin-bottom: 1rem;
	width: auto;
}
.footer-based-in { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.site-footer h4 {
	color: var(--cyan);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	margin-bottom: 0.85rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--cyan); }
.footer-contact-list a { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-socials {
	display: flex; gap: 0.75rem;
	margin-top: 1rem;
}
.footer-socials a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 50%;
	color: rgba(255,255,255,0.85);
}
.footer-socials a:hover { color: var(--navy-deep); background: var(--cyan); border-color: var(--cyan); }

.footer-bottom {
	max-width: var(--container);
	margin: 2rem auto 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	color: rgba(255,255,255,0.55);
}

@media (max-width: 880px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.footer-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────
   ARTICLE BODY (page.php / single.php / case-studies)
   ─────────────────────────────────────────────────────────── */
.section-page h2, .section-page h3 { color: var(--navy); }
.section-page p, .section-page li { color: var(--ink); }
.section-page a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--cyan); }
.post-back { margin-top: 2rem; }

/* ───────────────────────────────────────────────────────────
   MOTION — page-load entrance, accent shimmer, micro-interactions
   The prefers-reduced-motion rule below disables all of this for
   visitors who have requested reduced motion.
   ─────────────────────────────────────────────────────────── */
@keyframes atech-fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}
.hero .hero-copy > .eyebrow,
.hero .hero-copy > h1,
.hero .hero-copy > .hero-desc,
.hero .hero-copy > .hero-buttons,
.hero .hero-panel {
	opacity: 0;
	animation: atech-fade-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero .hero-copy > .eyebrow      { animation-delay:  80ms; }
.hero .hero-copy > h1            { animation-delay: 180ms; }
.hero .hero-copy > .hero-desc    { animation-delay: 320ms; }
.hero .hero-copy > .hero-buttons { animation-delay: 460ms; }
.hero .hero-panel                { animation-delay: 240ms; animation-duration: 900ms; }

/* Animated cyan→blue gradient on the hero accent word. Slow + subtle. */
@keyframes atech-shimmer {
	0%   { background-position:   0% 50%; }
	100% { background-position: 200% 50%; }
}
.hero h1 .accent {
	background: linear-gradient(90deg, var(--cyan), var(--blue), var(--cyan));
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: atech-shimmer 6s linear infinite;
}

/* Service icon micro-interaction — gentle tilt + grow on card hover. */
.service-card .service-icon { transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1), background 200ms ease; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); background: rgba(45,212,224,0.18); }

/* Arrow icons slide right on hover — links, service cards, primary buttons. */
.link-arrow svg,
.service-link svg,
.btn-primary svg {
	transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.link-arrow:hover svg,
.service-link:hover svg,
.btn-primary:hover svg { transform: translateX(4px); }

/* Site logo subtle scale-up on hover. */
.logo-area { transition: transform 200ms ease; }
.logo-area:hover { transform: scale(1.03); }

/* Scroll reveal — gentle fade-up for section chrome as it enters the
   viewport. Same spirit as the card reveals, slightly softer/slower.
   JS adds .is-visible (see revealSelector in main.js). */
.section-head,
.about-copy,
.about-image,
.cta-inner,
.service-detail,
.founder-copy,
.founder-photo,
.contact-form-col,
.contact-aside {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.section-head.is-visible,
.about-copy.is-visible,
.about-image.is-visible,
.cta-inner.is-visible,
.service-detail.is-visible,
.founder-copy.is-visible,
.founder-photo.is-visible,
.contact-form-col.is-visible,
.contact-aside.is-visible {
	opacity: 1;
	transform: none;
}

/* Particle network canvas — used in hero panel, CTA banner, and footer.
   Position absolute fills its positioned parent; content sits on top via z-index. */
.atech-particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	display: block;
	z-index: 0;
}

.cta-section { position: relative; overflow: hidden; }
.cta-section .cta-inner { position: relative; z-index: 1; }

.site-footer { position: relative; overflow: hidden; }
.site-footer > *:not(.atech-particles) { position: relative; z-index: 1; }

/* Services flow — auto-pulse cycle through cards. JS adds .is-pulsing to one card at a time. */
.service-card.is-pulsing {
	border-color: var(--cyan);
	box-shadow: 0 0 0 1px var(--cyan), 0 12px 34px rgba(45, 212, 224, 0.22);
}
.service-card.is-pulsing .service-icon {
	background: rgba(45, 212, 224, 0.22);
	color: var(--cyan);
	transform: scale(1.08);
}
.service-card .service-icon { transition: background 480ms ease, color 480ms ease, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1); }

/* ───────────────────────────────────────────────────────────
   MOBILE POLISH — keep things crisp, not blown up
   ─────────────────────────────────────────────────────────── */
/* Browser rendering hint for raster logos — Safari uses this to bias
   toward sharper downscaling. Harmless on browsers that don't honor it. */
.site-logo,
.footer-logo,
.hero-panel-logo,
.about-logo-floating {
	image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 880px) {
	/* Tighter heading rhythm on phones so type doesn't dominate the viewport. */
	h1 { font-size: clamp(1.65rem, 6.5vw, 2.2rem); line-height: 1.15; }
	h2 { font-size: clamp(1.35rem, 5.2vw, 1.85rem); }
	.hero-desc { font-size: 1rem; line-height: 1.55; }
	/* Section padding scales down automatically via --section-pad. */
	.cta-section { padding-inline: 1.25rem; }
	.section-head { margin-bottom: 1.25rem; }
	/* About-us logo stage — keep it featured but proportional on phones.
	   Smaller aspect ratio + centered max-width so it doesn't dominate. */
	.about-image {
		aspect-ratio: 5/4;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}
	.about-logo-floating { width: 62%; max-width: 300px; }
	/* Hero panel proportional, not towering. */
	.hero-panel { aspect-ratio: 16/11; max-width: 480px; margin: 0 auto; }
	.hero-panel-logo { width: 62%; max-width: 300px; }
}

@media (max-width: 480px) {
	h1 { font-size: clamp(1.55rem, 7vw, 1.85rem); }
	.hero-desc { font-size: 0.95rem; }
	.about-logo-floating { width: 65%; max-width: 250px; }
	.hero-panel-logo { width: 65%; max-width: 250px; }
	/* Tighter container padding so content doesn't feel cramped against edges. */
	.container { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ───────────────────────────────────────────────────────────
   UTILITIES
   ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
}
