/* =========================================================
   Style Strand — design system v2 "Cinematic Dark"
   Full dark-mode tech aesthetic: aurora meshes, glass cards,
   glow accents, gradient display type, marquee client strip.
   ========================================================= */

:root {
	/* Brand */
	--ink: #060d1a;            /* page base */
	--ink-2: #0b1526;          /* raised section */
	--ink-3: #101f36;          /* raised surface */
	--line: rgba(255, 255, 255, .09);
	--glass: rgba(255, 255, 255, .045);
	--glass-2: rgba(255, 255, 255, .08);
	--blue: #2e5e94;
	--blue-bright: #4e86c4;
	--teal: #2bb6c4;
	--teal-bright: #46d4e2;
	--violet: #6860dc;
	--text: rgba(233, 240, 248, .78);
	--text-strong: #f2f7fc;
	--muted: rgba(233, 240, 248, .52);

	/* Gradients */
	--grad-brand: linear-gradient(96deg, #7fd8e2 0%, #4e86c4 55%, #8b84f0 100%);
	--grad-line: linear-gradient(90deg, transparent, rgba(43, 182, 196, .8), transparent);

	/* Type */
	--font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	/* Rhythm */
	--container: 1240px;
	--radius: 18px;
	--shadow: 0 24px 70px -30px rgba(0, 0, 0, .8);
	--glow-teal: 0 0 0 1px rgba(43, 182, 196, .35), 0 14px 44px -12px rgba(43, 182, 196, .38);
	--ease: cubic-bezier(.22, .61, .25, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--text);
	background:
		radial-gradient(70% 50% at 85% -10%, rgba(46, 94, 148, .28) 0%, transparent 60%),
		radial-gradient(60% 45% at 0% 30%, rgba(43, 182, 196, .10) 0%, transparent 55%),
		radial-gradient(55% 45% at 100% 75%, rgba(104, 96, 220, .10) 0%, transparent 55%),
		var(--ink);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}
/* film grain */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	background: url("../img/art/noise.png");
	opacity: .05;
	pointer-events: none;
	z-index: 1;
	mix-blend-mode: overlay;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-bright); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #7fe6f0; }
h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--text-strong);
	margin: 0 0 .6em;
}
::selection { background: rgba(43, 182, 196, .35); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden; white-space: nowrap;
}
.skip-link { left: 8px; top: 8px; z-index: 200; background: var(--teal); color: #04222a; padding: .6em 1em; border-radius: 8px; }
.skip-link:focus { position: fixed !important; width: auto; height: auto; clip-path: none; }

.container { width: min(var(--container), 92vw); margin-inline: auto; position: relative; z-index: 2; }
.container--narrow { width: min(800px, 92vw); margin-inline: auto; position: relative; z-index: 2; }

/* ---------- Scroll progress ---------- */
#scroll-progress {
	position: fixed;
	top: 0; left: 0;
	height: 2px;
	width: 0;
	background: var(--grad-brand);
	z-index: 300;
	box-shadow: 0 0 12px rgba(70, 212, 226, .8);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .95rem;
	letter-spacing: .02em;
	padding: .9em 1.8em;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	position: relative;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1.05em 2.3em; font-size: 1.02rem; }
.btn--primary {
	background: linear-gradient(120deg, #35c3d1, #2bb6c4 45%, #3f8fd4);
	color: #04222a;
	box-shadow: 0 10px 32px -10px rgba(43, 182, 196, .55);
}
.btn--primary:hover { box-shadow: 0 16px 44px -10px rgba(43, 182, 196, .75); color: #04222a; }
.btn--dark, .btn--light {
	background: var(--glass-2);
	color: var(--text-strong);
	border-color: var(--line);
	backdrop-filter: blur(8px);
}
.btn--dark:hover, .btn--light:hover { border-color: rgba(43, 182, 196, .7); color: #fff; box-shadow: var(--glow-teal); }
.btn--ghost, .btn--ghost-dark { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--ghost:hover, .btn--ghost-dark:hover { border-color: var(--teal-bright); color: var(--teal-bright); box-shadow: var(--glow-teal); }

/* ---------- Swoosh motif ---------- */
.swoosh { display: block; width: 150px; color: var(--teal); filter: drop-shadow(0 0 10px rgba(43, 182, 196, .6)); }
.swoosh--hero { margin: 1.3rem auto 1.5rem; width: 200px; }
.swoosh--footer { width: 120px; margin: .8rem 0 .6rem; color: var(--blue-bright); filter: none; }
.swoosh--quote { width: 90px; margin-bottom: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 1.15rem 0;
	transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(6, 13, 26, .78);
	backdrop-filter: blur(18px) saturate(1.4);
	padding: .6rem 0;
	border-bottom-color: var(--line);
	box-shadow: 0 14px 40px -22px rgba(0, 0, 0, .9);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-logo img { width: 205px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 1.55rem; }
.site-nav__list a {
	font-family: var(--font-display);
	font-size: .93rem;
	font-weight: 500;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .82);
	padding: .4em 0;
	position: relative;
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%; bottom: 0;
	height: 2px;
	background: var(--grad-brand);
	border-radius: 2px;
	transition: right .25s var(--ease);
}
.site-nav__list a:hover { color: #fff; }
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after { right: 0; }

/* dropdowns */
.site-nav__list li { position: relative; }
.site-nav__list .sub-menu {
	position: absolute; top: 100%; left: -1rem;
	min-width: 260px;
	background: rgba(11, 21, 38, .92);
	backdrop-filter: blur(18px);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: .6rem;
	list-style: none;
	display: none;
	box-shadow: var(--shadow);
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { display: block; }
.site-nav__list .sub-menu a { display: block; padding: .48em .85em; border-radius: 9px; font-size: .88rem; }
.site-nav__list .sub-menu a::after { content: none; }
.site-nav__list .sub-menu a:hover { background: rgba(43, 182, 196, .12); color: var(--teal-bright); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background: var(--ink);
}
.hero__media, .hero__media * { position: absolute; inset: 0; }
.hero__video, .hero__canvas { width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { display: block; }
.hero__video + .hero__canvas { display: none; }
.hero__scrim {
	background:
		radial-gradient(120% 90% at 50% 10%, rgba(6, 13, 26, .05) 0%, rgba(6, 13, 26, .5) 60%, rgba(6, 13, 26, .95) 100%),
		linear-gradient(180deg, rgba(6, 13, 26, .55) 0%, rgba(6, 13, 26, .2) 40%, var(--ink) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 8rem 0 6rem; max-width: 1020px; }
.hero__kicker {
	font-family: var(--font-display);
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .38em;
	text-transform: uppercase;
	color: var(--teal-bright);
	text-shadow: 0 0 24px rgba(43, 182, 196, .6);
	margin: 0 0 1.4rem;
	animation: rise 1s var(--ease) both .15s;
}
.hero__title {
	font-size: clamp(2.6rem, 6.2vw, 5.1rem);
	font-weight: 700;
	letter-spacing: -.03em;
	margin: 0;
	text-wrap: balance;
	background: linear-gradient(135deg, #ffffff 30%, #a9c6e8 68%, #7fd8e2 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #fff;
	animation: rise 1s var(--ease) both .3s;
}
.swoosh--hero { animation: rise 1s var(--ease) both .45s; }
.hero__subline {
	font-size: clamp(1.05rem, 1.6vw, 1.28rem);
	line-height: 1.68;
	color: rgba(233, 240, 248, .82);
	max-width: 740px;
	margin: 0 auto 2.4rem;
	animation: rise 1s var(--ease) both .55s;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 0; animation: rise 1s var(--ease) both .7s; }

.hero__scroll {
	position: absolute; left: 50%; bottom: 2rem; z-index: 2;
	width: 28px; height: 46px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-radius: 999px;
	transform: translateX(-50%);
}
.hero__scroll span {
	position: absolute; left: 50%; top: 8px;
	width: 4px; height: 10px;
	background: var(--teal-bright);
	border-radius: 4px;
	transform: translateX(-50%);
	box-shadow: 0 0 10px rgba(70, 212, 226, .9);
	animation: drip 2s var(--ease) infinite;
}
@keyframes drip { 0% { top: 8px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 8px; opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--paper { background: transparent; }
.section--ink {
	background:
		radial-gradient(80% 90% at 15% 0%, rgba(46, 94, 148, .22) 0%, transparent 55%),
		radial-gradient(70% 80% at 95% 100%, rgba(43, 182, 196, .12) 0%, transparent 55%),
		var(--ink-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.section--tide {
	background:
		radial-gradient(90% 130% at 100% 0%, rgba(104, 96, 220, .14) 0%, transparent 55%),
		radial-gradient(80% 110% at 0% 100%, rgba(43, 182, 196, .12) 0%, transparent 55%),
		transparent;
}
.section-cta { text-align: center; margin: 3.2rem 0 0; }

.section-head { max-width: 800px; margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.section-head__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.section-head__num {
	font-family: var(--font-display);
	font-size: .85rem;
	font-weight: 700;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	border: 1px solid rgba(43, 182, 196, .45);
	border-radius: 999px;
	padding: .18em .75em;
	box-shadow: inset 0 0 18px rgba(43, 182, 196, .12);
}
.section-head__kicker {
	font-family: var(--font-display);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--muted);
}
.section-head__title { font-size: clamp(1.9rem, 3.8vw, 3rem); margin: 0 0 .5em; letter-spacing: -.025em; }
.section-head__lede { font-size: 1.12rem; color: var(--muted); margin: 0; }

/* ---------- Glass card base ---------- */
.pillar, .stat, .post-card, .index-card, .aside-card, .quote-card, .contact-form, .service-card {
	background: linear-gradient(160deg, var(--glass-2) 0%, var(--glass) 40%);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	backdrop-filter: blur(14px);
	position: relative;
	overflow: hidden;
}
/* cursor sheen (set via JS --mx/--my) */
.pillar::before, .service-card::before, .index-card::before, .post-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(43, 182, 196, .12), transparent 45%);
	opacity: 0;
	transition: opacity .35s var(--ease);
	pointer-events: none;
}
.pillar:hover::before, .service-card:hover::before, .index-card:hover::before, .post-card:hover::before { opacity: 1; }

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pillar { padding: 2rem 1.7rem; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { transform: translateY(-8px); border-color: rgba(43, 182, 196, .5); box-shadow: var(--shadow); }
.pillar__num {
	font-family: var(--font-display); font-weight: 700; font-size: .9rem;
	background: var(--grad-brand);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pillar__title { font-size: 1.3rem; margin: .55rem 0 .4rem; }
.pillar__text { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; perspective: 1200px; }
.service-card {
	display: flex;
	flex-direction: column;
	padding: 1.9rem 1.7rem;
	transform-style: preserve-3d;
	transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
	will-change: transform;
}
.service-card:hover { border-color: rgba(43, 182, 196, .55); box-shadow: var(--glow-teal), var(--shadow); }
.service-card__num {
	font-family: var(--font-display); font-size: .85rem; font-weight: 700; margin-bottom: .9rem;
	background: var(--grad-brand);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.service-card__title { color: var(--text-strong); font-size: 1.2rem; margin: 0 0 .45em; }
.service-card__blurb { color: var(--muted); font-size: .94rem; margin: 0 0 1.3rem; flex: 1; }
.service-card__more { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--blue-bright); transition: color .2s, letter-spacing .25s var(--ease); }
.service-card:hover .service-card__more { color: var(--teal-bright); letter-spacing: .05em; }

/* ---------- Stats / proof ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { padding: 1.9rem 1.6rem; }
.stat::after {
	content: "";
	position: absolute;
	top: 0; left: 10%; right: 10%;
	height: 2px;
	background: var(--grad-line);
}
.stat__value {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	background: var(--grad-brand);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__value--word { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: .01em; }
.stat__label { display: block; margin-top: .7rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ---------- Industries ---------- */
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 3rem; }
.industry-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.3vw, 1.8rem);
	font-weight: 600;
	color: var(--text-strong);
	padding: 1.15rem .4rem;
	border-bottom: 1px solid var(--line);
	transition: padding .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.industry-list a span { color: var(--teal-bright); transition: transform .25s var(--ease); }
.industry-list a:hover { color: var(--teal-bright); padding-left: 1rem; border-bottom-color: rgba(43, 182, 196, .5); }
.industry-list a:hover span { transform: translateX(8px); }
.industry-note { margin-top: 2.2rem; color: var(--muted); font-size: .95rem; max-width: 640px; }

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-split__antrelix { border-left: 2px solid var(--teal); padding-left: 1.1rem; color: var(--muted); font-size: .97rem; }
.quote-card { padding: 2.4rem 2.2rem; box-shadow: var(--shadow); }
.quote-card blockquote {
	margin: 0 0 1.4rem;
	font-family: var(--font-display);
	font-size: 1.28rem;
	line-height: 1.55;
	color: var(--text-strong);
}
.quote-card cite { font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--teal-bright); }
.quote-card cite span { font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---------- Client marquee ---------- */
.section--experience { padding-block: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.client-marquee {
	position: relative;
	margin-top: .5rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-logos {
	list-style: none;
	margin: 0; padding: .5rem 0;
	display: flex;
	gap: 1.1rem;
	width: max-content;
	animation: marquee 42s linear infinite;
}
.client-marquee:hover .client-logos { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logos__item { flex: 0 0 auto; }
.client-logos__card {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
	min-width: 200px;
	padding: 1rem 1.6rem;
	background: var(--glass);
	border: 1px solid var(--line);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
a.client-logos__card:hover { transform: translateY(-5px); border-color: rgba(43, 182, 196, .55); box-shadow: var(--glow-teal); background: rgba(244, 246, 249, .96); }
.client-logos__card img { max-height: 52px; max-width: 190px; width: auto; object-fit: contain; filter: grayscale(1) brightness(2.4) contrast(.85); opacity: .8; transition: filter .3s var(--ease), opacity .3s var(--ease); }
a.client-logos__card:hover img { filter: none; opacity: 1; }
.client-logos__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .95rem;
	color: var(--text);
	text-align: center;
	line-height: 1.3;
	white-space: nowrap;
	transition: color .3s var(--ease);
}
a.client-logos__card:hover .client-logos__name { color: #0a1424; }
.client-strip__note { color: var(--muted); font-size: .93rem; margin-top: 1.8rem; max-width: 680px; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; perspective: 1200px; }
.post-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(43, 182, 196, .45); }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.post-card__title { font-size: 1.13rem; margin: 0 0 .5em; color: var(--text-strong); }
.post-card__excerpt { color: var(--muted); font-size: .93rem; margin: 0 0 1rem; flex: 1; }
.post-card__more { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--blue-bright); }
.post-card:hover .post-card__more { color: var(--teal-bright); }

/* ---------- Index cards ---------- */
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; perspective: 1200px; }
.index-card { display: flex; flex-direction: column; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); will-change: transform; }
.index-card:hover { box-shadow: var(--glow-teal), var(--shadow); border-color: rgba(43, 182, 196, .5); }
.index-card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.index-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.index-card:hover .index-card__media img { transform: scale(1.05); }
.index-card__body { padding: 1.6rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.index-card__num {
	font-family: var(--font-display); font-size: .85rem; font-weight: 700; margin-bottom: .6rem;
	background: var(--grad-brand);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.index-card__title { font-size: 1.2rem; margin: 0 0 .45em; }
.index-card__excerpt { color: var(--muted); font-size: .94rem; margin: 0 0 1.1rem; flex: 1; }
.index-card__more { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--blue-bright); }
.index-card:hover .index-card__more { color: var(--teal-bright); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
	position: relative;
	background:
		linear-gradient(180deg, rgba(6, 13, 26, .25) 0%, rgba(6, 13, 26, .6) 70%, var(--ink) 100%),
		url("../img/art/aurora-1.jpg") center / cover no-repeat,
		var(--ink);
	padding: clamp(9rem, 17vw, 12.5rem) 0 clamp(4rem, 8vw, 6rem);
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.page-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--grad-line);
}
.page-hero__kicker {
	font-family: var(--font-display);
	font-size: .84rem;
	font-weight: 600;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--teal-bright);
	text-shadow: 0 0 20px rgba(43, 182, 196, .55);
	margin: 0 0 .9rem;
}
.page-hero__title {
	font-size: clamp(1.8rem, 3.4vw, 2.7rem); /* page-title scale — the homepage hero alone speaks at slogan scale */
	margin: 0;
	max-width: 860px;
	text-wrap: balance;
	letter-spacing: -.024em;
	background: linear-gradient(135deg, #ffffff 35%, #a9c6e8 75%, #7fd8e2 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero__crumbs {
	font-family: var(--font-display);
	font-size: .88rem;
	font-weight: 500;
	color: var(--muted);
	margin: 0 0 1.1rem;
}
.page-hero__crumbs a { color: var(--muted); }
.page-hero__crumbs a:hover { color: var(--teal-bright); }
.page-hero__crumbs span { margin: 0 .55em; color: rgba(233, 240, 248, .25); }
.page-hero__lede { color: var(--text); font-size: 1.13rem; max-width: 740px; margin: 1.2rem 0 0; }
.page-hero__arc { display: none; }

/* ---------- Prose ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2em; letter-spacing: -.02em; }
.prose h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: .4em; background: var(--grad-brand); border-radius: 2px; }
.prose h3 { font-size: 1.28rem; margin-top: 1.8em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--teal-bright); }
.prose a { text-decoration: underline; text-decoration-color: rgba(70, 212, 226, .4); text-underline-offset: 3px; }
.prose blockquote {
	margin: 2em 0;
	padding: 1.4em 1.7em;
	background: var(--glass);
	border: 1px solid var(--line);
	border-left: 3px solid var(--teal);
	border-radius: 0 var(--radius) var(--radius) 0;
	backdrop-filter: blur(10px);
	font-family: var(--font-display);
	font-size: 1.13rem;
	color: var(--text-strong);
}
.prose img { border-radius: var(--radius); }
.prose .stat-grid { margin: 2em 0; grid-template-columns: repeat(2, 1fr); }
.prose hr { border: 0; height: 1px; background: var(--grad-line); margin: 2.5em 0; }
.prose .lead { font-size: 1.24rem; color: var(--text-strong); }
.prose .check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4em 1.6em; }
.prose .check-list li { padding-left: 1.55em; position: relative; }
.prose .check-list li::before { content: "—"; position: absolute; left: 0; color: var(--teal-bright); font-weight: 700; }
.prose strong { color: var(--text-strong); }

.entry-thumb { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.parent-link { margin: 0 0 1.6rem; }
.parent-link a { font-family: var(--font-display); font-size: .9rem; font-weight: 600; }

/* ---------- Service layout ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 330px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-card { padding: 1.6rem 1.5rem; margin-bottom: 1.2rem; }
.aside-card h4 { font-size: 1rem; letter-spacing: .05em; margin-bottom: .9em; }
.aside-card__list { list-style: none; margin: 0; padding: 0; }
.aside-card__list li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.aside-card__list li:last-child { border-bottom: 0; }
.aside-card__list a { display: block; padding: .52em 0; font-size: .93rem; color: var(--muted); }
.aside-card__list a:hover { color: var(--teal-bright); }
.aside-card__list .is-current a { color: var(--teal-bright); font-weight: 600; }
.aside-card--cta { border-color: rgba(43, 182, 196, .4); box-shadow: inset 0 0 40px rgba(43, 182, 196, .07); }
.aside-card--cta p { color: var(--muted); font-size: .93rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 350px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form { padding: clamp(1.6rem, 3vw, 2.6rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem; }
.form-grid p { margin: 0 0 1.05rem; }
.form-grid__full { grid-column: 1 / -1; }
.contact-form label { display: block; font-family: var(--font-display); font-size: .86rem; font-weight: 600; margin-bottom: .38em; color: var(--text-strong); }
.contact-form input, .contact-form select, .contact-form textarea {
	width: 100%;
	font: inherit;
	font-size: .97rem;
	color: var(--text-strong);
	background: rgba(6, 13, 26, .55);
	border: 1.5px solid var(--line);
	border-radius: 11px;
	padding: .68em .95em;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form select option { background: var(--ink-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(43, 182, 196, .22), 0 0 24px -6px rgba(43, 182, 196, .5);
}
.form-submit { margin: 1.1rem 0 0; }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice { border-radius: 12px; padding: 1em 1.2em; margin-bottom: 1.5rem; font-size: .97rem; }
.form-notice--ok { background: rgba(43, 182, 196, .12); border: 1px solid rgba(43, 182, 196, .5); color: #b8eef4; }
.form-notice--err { background: rgba(217, 119, 111, .12); border: 1px solid rgba(217, 119, 111, .6); color: #f3c3be; }

/* ---------- Universal form styling ----------
   Covers Contact Form 7, WPForms, comment forms, password forms — any form
   markup the theme doesn't control inherits the design system. */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="date"], input[type="password"], input[type="search"],
select, textarea {
	font: inherit;
	font-size: .97rem;
	color: var(--text-strong);
	background: rgba(6, 13, 26, .55);
	border: 1.5px solid var(--line);
	border-radius: 11px;
	padding: .68em .95em;
	max-width: 100%;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(43, 182, 196, .22), 0 0 24px -6px rgba(43, 182, 196, .5);
}
select option { background: var(--ink-2); }
input[type="submit"], button[type="submit"], .wpcf7-submit {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .95rem;
	letter-spacing: .02em;
	padding: .85em 1.9em;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	background: linear-gradient(120deg, #35c3d1, #2bb6c4 45%, #3f8fd4);
	color: #04222a;
	box-shadow: 0 10px 32px -10px rgba(43, 182, 196, .55);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
input[type="submit"]:hover, button[type="submit"]:hover, .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 44px -10px rgba(43, 182, 196, .75);
}

/* Contact Form 7 specifics */
.wpcf7 form { max-width: 640px; }
.wpcf7 label {
	display: block;
	font-family: var(--font-display);
	font-size: .86rem;
	font-weight: 600;
	color: var(--text-strong);
	margin-bottom: 1.05rem;
}
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: .38em; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select, .wpcf7 textarea { width: 100%; }
.wpcf7 .wpcf7-not-valid-tip { color: #f3a49c; font-size: .85rem; margin-top: .35em; font-weight: 400; }
.wpcf7 .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1em 1.2em;
	border-radius: 12px !important;
	border: 1px solid rgba(43, 182, 196, .5) !important;
	background: rgba(43, 182, 196, .1);
	color: #b8eef4;
	font-size: .95rem;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: rgba(217, 119, 111, .6) !important;
	background: rgba(217, 119, 111, .12);
	color: #f3c3be;
}
.wpcf7 img[src*="captcha"], img.wpcf7-captcha, [class*="wpcf7-captcha"] img {
	background: #fff;
	padding: .4em .8em;
	border-radius: 10px;
	margin-bottom: .5em;
}

/* Comment form */
.comment-form label { display: block; font-family: var(--font-display); font-size: .86rem; font-weight: 600; color: var(--text-strong); margin-bottom: .35em; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	background:
		linear-gradient(180deg, rgba(6, 13, 26, .55), rgba(6, 13, 26, .55)),
		url("../img/art/aurora-2.jpg") center / cover no-repeat,
		var(--ink-2);
	padding: clamp(4rem, 8vw, 6.5rem) 0;
	border-top: 1px solid var(--line);
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 1px;
	background: var(--grad-line);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-band__title {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	margin: 0 0 .4em;
	letter-spacing: -.025em;
	background: linear-gradient(135deg, #fff 40%, #7fd8e2 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-band__text { color: var(--text); max-width: 640px; margin: 0; }
.cta-band__action { margin: 0; }
.cta-band .btn--light { background: var(--teal); color: #04222a; border-color: transparent; box-shadow: 0 10px 36px -8px rgba(43, 182, 196, .6); }
.cta-band .btn--light:hover { box-shadow: 0 16px 48px -8px rgba(43, 182, 196, .8); }

/* ---------- Footer ---------- */
.site-footer { background: #040911; color: var(--muted); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; font-size: .95rem; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal-bright); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer__brand .site-logo img { width: 190px; }
.site-footer__tagline { color: var(--muted); font-size: .93rem; max-width: 280px; }
.site-footer h4 { color: var(--text-strong); font-size: .95rem; letter-spacing: .06em; margin-bottom: 1em; }
.site-footer__menu, .site-footer__social { list-style: none; margin: 0; padding: 0; }
.site-footer__menu li, .site-footer__social li { margin-bottom: .45em; }
.site-footer address { font-style: normal; margin-bottom: .8em; }
.site-footer__area, .site-footer__antrelix { color: rgba(233, 240, 248, .38); font-size: .86rem; margin-top: 1em; }
.site-footer__bottom {
	border-top: 1px solid var(--line);
	padding-top: 1.6rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	color: rgba(233, 240, 248, .4);
	font-size: .88rem;
}
.site-footer__strap { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--teal); }
.site-footer__legal a { color: rgba(233, 240, 248, .5); }
.site-footer__legal span { margin: 0 .5em; color: rgba(233, 240, 248, .25); }

/* ---------- Pagination / post nav / misc ---------- */
.pagination-wrap { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	font-family: var(--font-display);
	font-weight: 600;
	padding: .5em 1em;
	border-radius: 11px;
	border: 1px solid var(--line);
	background: var(--glass);
	color: var(--text-strong);
}
.pagination .page-numbers.current { background: var(--teal); color: #04222a; border-color: transparent; }
.post-nav { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; }
.entry-tags { margin-top: 2rem; }

.search-form { display: flex; gap: .6rem; }
.search-form input[type="search"] {
	flex: 1; font: inherit; padding: .6em 1.1em;
	color: var(--text-strong);
	border: 1.5px solid var(--line); border-radius: 999px; background: rgba(6, 13, 26, .55);
}
.search-form input[type="submit"], .search-form button {
	font-family: var(--font-display); font-weight: 600; border: 0; cursor: pointer;
	background: var(--teal); color: #04222a; border-radius: 999px; padding: .6em 1.5em;
}

/* WordPress core classes */
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; padding-top: .5em; }
.sticky { display: block; }
.bypostauthor { display: block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .hero__kicker, .hero__title, .hero__subline, .hero__actions, .swoosh--hero { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
	.hero__video { display: none; }
	.hero__scroll span { animation: none; }
	.client-logos { animation: none; flex-wrap: wrap; width: auto; }
	.client-marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
	.pillar-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
	.service-grid, .post-grid, .index-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
	.site-nav {
		position: fixed;
		inset: 0;
		background: rgba(4, 9, 17, .97);
		backdrop-filter: blur(14px);
		flex-direction: column;
		justify-content: center;
		gap: 2rem;
		transform: translateY(-102%);
		transition: transform .4s var(--ease);
		z-index: 90;
	}
	.site-nav.is-open { transform: none; }
	.site-nav__list { flex-direction: column; align-items: center; gap: 1.1rem; }
	.site-nav__list a { font-size: 1.3rem; }
	.site-nav__list .sub-menu { position: static; display: none !important; }
	.nav-toggle { display: block; position: relative; z-index: 95; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.about-split, .service-layout, .contact-layout { grid-template-columns: 1fr; }
	.industry-list { grid-template-columns: 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
	.pillar-grid, .stat-grid, .service-grid, .post-grid, .index-grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; gap: 2rem; }
	.hero__actions .btn { width: 100%; }
	.prose .check-list { grid-template-columns: 1fr; }
}
