/*
Theme Name: ETG Signal
Theme URI: https://www.etgcommunications.com/
Author: ETG Communications
Description: Bold, dark "network operations center" theme for ETG Communications — deep graphite surfaces, brand-red signal accents, grid and scanline textures and crisp display type. Renders all business content from the ETG Core plugin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: etg-signal
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #0a0c0f;
	--bg-2: #0e1115;
	--bg-3: #07080a;
	--surface: #13171d;
	--surface-2: #1a1f27;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--field-line: #6f7a88; /* 4.5:1 on the field and panel backgrounds (WCAG 1.4.11) */
	--text: #f3f5f8;
	--soft: #d3d9e1;
	--muted: #a7b0bd;
	--dim: #808a97;

	--red: #e60000;
	--red-btn: #d40000;
	--red-hi: #ff4a4a;
	--red-soft: rgba(230, 0, 0, .14);
	--glow: rgba(230, 0, 0, .55);
	--ok: #3ddc84;

	--paper: #f3f4f6;
	--paper-2: #ffffff;
	--ink: #0d1014;
	--ink-muted: #48515d;
	--red-ink: #b80000;

	--f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	--r: 14px;
	--r-sm: 10px;
	--hdr: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--hdr) + 24px); scroll-padding-bottom: 88px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1.03125rem/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
html.menu-open body { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
[id] { scroll-margin-top: 110px; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--red-ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--red-btn); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 56px, 1240px); } }
@media (min-width: 1500px) { .wrap { width: min(100% - 80px, 1320px); } }

.muted { color: var(--muted); }

.dot {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: var(--red); box-shadow: 0 0 0 3px rgba(230, 0, 0, .2), 0 0 12px var(--glow);
	flex: none;
}

/* ==========================================================================
   Type helpers
   ========================================================================== */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin: 0 0 18px;
	font: 500 .78rem/1.3 var(--f-mono);
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--red-hi);
}
.eyebrow::before {
	content: ""; width: 28px; height: 2px; background: var(--red);
	box-shadow: 0 0 10px var(--glow); flex: none;
}
.eyebrow--live::before { display: none; }
.eyebrow--live .dot { animation: blink 2.4s ease-in-out 2; }
.eyebrow__icon { display: inline-flex; color: var(--red-hi); }
.eyebrow__icon .icon { width: 18px; height: 18px; }
.eyebrow:has(.eyebrow__icon)::before { display: none; }

.section-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; }
.section-title--sm { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.section-lead { color: var(--muted); font-size: 1.125rem; max-width: 68ch; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.35rem); line-height: 1.6; color: var(--soft); }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px; border-radius: var(--r-sm);
	font: 600 .97rem/1 var(--f-body); letter-spacing: .005em;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s, color .2s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:first-child:hover .icon:first-child:not(:last-child) { transform: none; }
.btn--primary {
	background: var(--red-btn); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -12px rgba(230, 0, 0, .8);
}
.btn--primary:hover { background: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 4px rgba(230, 0, 0, .18), 0 14px 36px -10px rgba(230, 0, 0, .9); }
.btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	color: var(--red-hi); font-weight: 600; text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--dark { color: var(--red-ink); }
.link-arrow--dark:hover { color: var(--ink); }

/* ==========================================================================
   Signal line (glowing red rule with travelling pulse)
   ========================================================================== */
.signal-line {
	position: absolute; left: 0; right: 0; bottom: 0; height: 1px; overflow: hidden;
	background: linear-gradient(90deg, transparent, rgba(230, 0, 0, .75) 18%, rgba(230, 0, 0, .75) 82%, transparent);
	box-shadow: 0 0 18px 1px rgba(230, 0, 0, .45);
	pointer-events: none;
}
.signal-line::after {
	content: ""; position: absolute; top: 0; left: -20%; width: 20%; height: 100%;
	background: linear-gradient(90deg, transparent, #fff, transparent);
	animation: pulse-run 2.4s linear 2 both;
}
@keyframes pulse-run { to { left: 110%; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, .55); } 80%, 100% { box-shadow: 0 0 0 14px rgba(230, 0, 0, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--bg-3); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar__note { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar__note .dot { width: 6px; height: 6px; background: var(--ok); box-shadow: 0 0 10px rgba(61, 220, 132, .7); }
.topbar__links { display: flex; gap: 22px; list-style: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; min-height: 38px; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 15px; height: 15px; }
@media (max-width: 767px) { .topbar { display: none; } }

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would become the containing block for the fixed mobile menu. */
.site-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .3s;
}
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(10, 12, 15, .82);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	transition: background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .9); }
.site-header.is-scrolled::before, .menu-open .site-header::before { background: rgba(8, 10, 12, .96); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--hdr); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; min-height: 44px; }
.brand:hover { color: var(--text); }
.brand__mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; padding: 0 2px; }
.brand__mark i { display: block; width: 5px; background: var(--red); border-radius: 1px; box-shadow: 0 0 10px rgba(230, 0, 0, .6); }
.brand__mark i:nth-child(1) { height: 9px; }
.brand__mark i:nth-child(2) { height: 17px; }
.brand__mark i:nth-child(3) { height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; margin: 0; }
.brand__etg { font: 700 1.72rem/.9 var(--f-display); letter-spacing: -.01em; color: var(--red); text-shadow: 0 0 22px rgba(230, 0, 0, .35); }
.brand__sub { font: 500 .6rem/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--soft); margin-top: 5px; }

/* Nav — shared */
.nav__list { list-style: none; }
.nav__sub { list-style: none; }
.nav__link, .nav__sub a { text-decoration: none; }
.nav__toggle { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.call { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
.call:hover { color: #fff; }
.call__icon {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	background: var(--red-soft); border: 1px solid rgba(230, 0, 0, .45); color: var(--red-hi);
	animation: ring 2.4s ease-out 2;
}
.call__icon .icon { width: 19px; height: 19px; }
.call__text { display: flex; flex-direction: column; line-height: 1.15; }
.call__text small { font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.call__text strong { font: 600 1.08rem/1.2 var(--f-display); letter-spacing: .01em; }

.menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: var(--r-sm);
	background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text);
	align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle__open { display: inline-flex; }
.menu-toggle__close { display: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: inline-flex; }

.nav__mobile-cta { display: none; }

/* Nav — desktop */
@media (min-width: 1100px) {
	.nav { margin-left: 12px; }
	.nav__list { display: flex; align-items: center; gap: 2px; }
	.nav__item { position: relative; display: flex; align-items: center; }
	.nav__link {
		position: relative; display: inline-flex; align-items: center; min-height: 44px;
		padding: 0 6px 0 12px; color: var(--soft); font-weight: 500; font-size: .95rem;
		transition: color .2s;
	}
	.nav__item:not(.has-sub) .nav__link { padding-right: 12px; }
	.nav__link::after {
		content: ""; position: absolute; left: 12px; right: 6px; bottom: 4px; height: 2px;
		background: var(--red); box-shadow: 0 0 10px var(--glow);
		transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
	}
	.nav__item:not(.has-sub) .nav__link::after { right: 12px; }
	.nav__item:hover > .nav__link, .nav__link:focus-visible, .nav__item.is-active > .nav__link, .nav__link[aria-current] { color: #fff; }
	.nav__item.is-active > .nav__link::after, .nav__item:hover > .nav__link::after { transform: scaleX(1); }
	.nav__toggle { width: 26px; height: 44px; color: var(--muted); margin-right: 4px; }
	.nav__item:hover > .nav__toggle { color: #fff; }

	.nav__sub {
		position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; z-index: 20;
		padding: 8px; background: rgba(19, 23, 29, .98); border: 1px solid var(--line-2); border-top: 2px solid var(--red);
		border-radius: 0 0 var(--r) var(--r);
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 -8px 30px -12px rgba(230, 0, 0, .4);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
	}
	.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
	.nav__item.is-open > .nav__sub,
	.nav__item:hover > .nav__sub,
	html:not(.js) .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav__sub a {
		position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 14px;
		color: var(--soft); border-radius: 8px; font-size: .94rem; transition: background-color .15s, color .15s, padding .2s;
	}
	.nav__sub a::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 2px; background: var(--red); opacity: 0; transition: opacity .2s; }
	.nav__sub a:hover, .nav__sub a:focus-visible, .nav__sub a[aria-current] { background: var(--surface-2); color: #fff; padding-left: 18px; }
	.nav__sub a:hover::before, .nav__sub a[aria-current]::before { opacity: 1; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
	.call__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.nav__link { font-size: .92rem; padding-left: 9px; }
}

/* Nav — mobile */
@media (max-width: 1099px) {
	:root { --hdr: 66px; }
	.menu-toggle { display: inline-flex; }
	.call__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.nav {
		position: fixed; inset: var(--hdr) 0 0 0; z-index: 99;
		background:
			linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 100% 48px,
			var(--bg);
		overflow-y: auto; overscroll-behavior: contain;
		padding: 12px 16px 120px;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
	}
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav__item { display: grid; grid-template-columns: 1fr 52px; align-items: center; border-bottom: 1px solid var(--line); }
	.nav__link { display: flex; align-items: center; min-height: 56px; color: var(--text); font: 600 1.2rem/1.2 var(--f-display); }
	.nav__link[aria-current], .nav__item.is-active > .nav__link { color: var(--red-hi); }
	.nav__toggle { width: 52px; height: 52px; border-left: 1px solid var(--line); color: var(--muted); }
	.nav__toggle .icon { width: 20px; height: 20px; }
	.nav__sub { grid-column: 1 / -1; display: none; padding: 0 0 12px 14px; border-left: 2px solid var(--red); margin: 0 0 14px 2px; }
	.nav__item.is-open > .nav__sub { display: block; }
	.nav__sub a { display: flex; align-items: center; min-height: 46px; color: var(--soft); padding-left: 10px; }
	.nav__sub a[aria-current] { color: var(--red-hi); }
	.nav__mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
	.nav__mobile-addr { margin: 8px 0 0; color: var(--dim); font-size: .9rem; text-align: center; }
}
@media (max-width: 599px) {
	.site-header__quote { display: none; }
	.site-header__bar { gap: 12px; }
	.brand__etg { font-size: 1.5rem; }
	.brand__sub { font-size: .54rem; letter-spacing: .26em; }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #050608; min-height: min(88vh, 860px); display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__img, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: grayscale(.35) contrast(1.1) brightness(.62); }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(60% 70% at 85% 15%, rgba(230, 0, 0, .22), transparent 60%),
		linear-gradient(90deg, rgba(5, 6, 8, .97) 0%, rgba(5, 6, 8, .86) 38%, rgba(5, 6, 8, .45) 75%, rgba(5, 6, 8, .6) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__scan { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 4px); }
.hero__grid, .phero__grid, .shero__grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(64px, 9vw, 128px); }
.hero__title { font-size: clamp(2.45rem, 1.1rem + 4.4vw, 4.9rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; margin-bottom: 26px; }
.hero__accent { display: block; color: var(--red-hi); text-shadow: 0 0 40px rgba(230, 0, 0, .35); }
.hero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); color: var(--soft); max-width: 58ch; }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.console { animation: rise 1s var(--ease) .3s both; }

/* Console card */
.console {
	background: linear-gradient(180deg, rgba(22, 26, 33, .82), rgba(12, 14, 18, .82));
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(230, 0, 0, .08), 0 0 60px -20px rgba(230, 0, 0, .35);
}
.console__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.console__lights { display: inline-flex; gap: 6px; }
.console__lights i { width: 9px; height: 9px; border-radius: 50%; background: #3a404a; }
.console__lights i:first-child { background: var(--red); box-shadow: 0 0 8px var(--glow); }
.console__label { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.console__call { display: flex; align-items: center; gap: 16px; padding: 18px; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); transition: background-color .2s; }
.console__call:hover { background: rgba(230, 0, 0, .08); color: #fff; }
.console__call small { display: block; font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.console__call strong { font: 600 1.45rem/1.2 var(--f-display); }
.console__pulse { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red-btn); color: #fff; animation: ring 2.4s ease-out 2; flex: none; }
.console__pulse .icon { width: 21px; height: 21px; }

/* Stats */
.stats { margin: 0; display: grid; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stats dd { margin: 0; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.05 var(--f-display); letter-spacing: -.02em; color: #fff; }
.stats dt { font: 500 .7rem/1.35 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stats--console { grid-template-columns: 1fr 1fr; }
.stats--console .stats__item { padding: 20px 18px; border-bottom: 1px solid var(--line); }
.stats--console .stats__item:nth-child(odd) { border-right: 1px solid var(--line); }
.stats--console .stats__item:nth-last-child(-n+2) { border-bottom: 0; }
.stats--console .stats__item:first-child dd { color: var(--red-hi); }
.stats--band { grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.stats--band .stats__item { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats--band .stats__item:last-child { border-right: 0; }
@media (max-width: 767px) {
	.stats--band { grid-template-columns: 1fr 1fr; }
	.stats--band .stats__item:nth-child(2) { border-right: 0; }
	.stats--band .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 959px) {
	.hero { min-height: 0; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media::after {
		background:
			radial-gradient(80% 50% at 90% 0%, rgba(230, 0, 0, .22), transparent 60%),
			linear-gradient(180deg, rgba(5, 6, 8, .7) 0%, rgba(5, 6, 8, .88) 55%, var(--bg) 100%);
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */
.site-main { display: block; }
.section { position: relative; padding-block: clamp(72px, 8.5vw, 124px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head .btn { margin-top: 26px; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.svc-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.svc-card {
	position: relative; display: flex; flex-direction: column;
	padding: 28px 28px 24px; border-radius: var(--r);
	background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
	border: 1px solid var(--line);
	transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
	overflow: hidden;
}
.svc-card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--red), transparent);
	box-shadow: 0 0 16px var(--glow); opacity: 0; transition: opacity .3s;
}
.svc-card::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(400px 200px at 0% 0%, rgba(230, 0, 0, .1), transparent 70%);
	opacity: 0; transition: opacity .35s;
}
.svc-card:hover, .svc-card:focus-within { border-color: rgba(230, 0, 0, .45); transform: translateY(-4px); box-shadow: 0 26px 60px -30px rgba(230, 0, 0, .55); }
.svc-card:hover::before, .svc-card:focus-within::before, .svc-card:hover::after, .svc-card:focus-within::after { opacity: 1; }
.svc-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.svc-card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); border: 1px solid rgba(230, 0, 0, .38); color: var(--red-hi); }
.svc-card__icon .icon { width: 24px; height: 24px; }
.svc-card__num { font: 500 .78rem/1 var(--f-mono); color: var(--dim); letter-spacing: .1em; }
.svc-card__title { font-size: 1.35rem; margin-bottom: 10px; }
.svc-card__title a { color: var(--text); text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card__title a:focus-visible { outline: none; }
.svc-card:focus-within { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.svc-card__text { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 500 .76rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); }
.svc-card__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(5px); }

/* Legacy / why ETG */
.legacy { overflow: hidden; }
.circuit {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23e60000' stroke-opacity='.22' stroke-width='1'%3E%3Cpath d='M0 40h60l20 20h60M140 60v60l20 20h80M40 240v-60l20-20h40l20-20v-40M200 0v40l-20 20M0 200h30l20-20'/%3E%3Ccircle cx='140' cy='60' r='3' fill='%23e60000' fill-opacity='.35'/%3E%3Ccircle cx='120' cy='120' r='3' fill='%23e60000' fill-opacity='.35'/%3E%3Ccircle cx='50' cy='180' r='3' fill='%23e60000' fill-opacity='.35'/%3E%3C/svg%3E");
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.legacy__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.points { list-style: none; margin: 34px 0 20px; display: grid; gap: 22px; }
.points li { display: flex; gap: 16px; }
.points__icon { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid rgba(230, 0, 0, .5); color: var(--red-hi); background: var(--red-soft); }
.points__icon .icon { width: 17px; height: 17px; }
.points h3 { font-size: 1.12rem; margin: 4px 0 4px; }
.points p { color: var(--muted); font-size: .98rem; }

/* Spec sheet panel (for product shots on white) */
.spec { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.spec__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #0f1217; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec__ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.spec__ok .dot { width: 7px; height: 7px; background: var(--ok); box-shadow: 0 0 10px rgba(61, 220, 132, .7); animation: blink 2.4s 2; }
.spec__img { padding: clamp(18px, 3vw, 32px); display: grid; place-items: center; }
.spec__img img { width: 100%; max-height: 380px; object-fit: contain; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #0f1217; color: #fff; font: 500 .78rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* Story */
.story__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.frame { position: relative; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; filter: contrast(1.05); }
.frame::before, .frame::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--red); filter: drop-shadow(0 0 6px var(--glow)); }
.frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.frame__tag { position: absolute; left: 28px; bottom: -16px; padding: 9px 14px; border-radius: 8px; background: var(--red-btn); color: #fff; font: 500 .78rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 30px -8px rgba(230, 0, 0, .8); }
.people-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 30px 0 16px; }
.people-mini li { display: flex; align-items: center; gap: 12px; }
.people-mini strong { display: block; font: 600 1rem/1.2 var(--f-display); }
.people-mini small { display: block; color: var(--muted); font-size: .84rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 600 .95rem/1 var(--f-display); color: #fff; background: radial-gradient(circle at 30% 25%, #d10000, #7a0000 70%); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(230, 0, 0, .5); }
.avatar--lg { width: 72px; height: 72px; font-size: 1.4rem; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 18px; }
.quote { position: relative; margin: 0; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.quote__icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 18px; }
.quote__title { font: 500 .76rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 10px; }
.quote__body { margin: 0 0 24px; flex: 1; }
.quote__body p { color: var(--soft); font-size: 1rem; }
.quote__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-family: var(--f-display); }
.quote__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .85rem; color: var(--red-hi); }
.quote-list { display: grid; gap: 22px; max-width: 980px; }
.quote--lg { padding: clamp(28px, 4vw, 52px); }
.quote--lg .quote__body p { font: 500 clamp(1.15rem, 1rem + .6vw, 1.55rem)/1.5 var(--f-display); color: var(--text); letter-spacing: -.01em; }
.quote--lg::before { content: ""; position: absolute; left: -1px; top: 28px; bottom: 28px; width: 2px; background: var(--red); box-shadow: 0 0 14px var(--glow); }

/* FAQ (etg-core markup) */
.faq-teaser { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-teaser .section-head { position: sticky; top: calc(var(--hdr) + 32px); margin-bottom: 0; }
.etg-faq { border-top: 1px solid var(--line); }
.etg-faq__item { border-bottom: 1px solid var(--line); }
.etg-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: 64px; padding: 18px 4px; cursor: pointer; list-style: none;
	transition: color .2s;
}
.etg-faq__q::-webkit-details-marker { display: none; }
.etg-faq__q::marker { content: ""; }
.etg-faq__qt { margin: 0; font: 500 1.12rem/1.35 var(--f-display); letter-spacing: -.005em; }
.etg-faq__icon { width: 30px; height: 30px; padding: 6px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--red-hi); transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.etg-faq__q:hover .etg-faq__icon { border-color: var(--red); }
.etg-faq__item[open] > .etg-faq__q .etg-faq__icon { transform: rotate(45deg); background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.etg-faq__item[open] > .etg-faq__q { color: #fff; }
.etg-faq__a { padding: 0 56px 24px 4px; }
.etg-faq__a p { color: var(--muted); max-width: 70ch; }
.etg-faq__item[open] .etg-faq__a { animation: rise .4s var(--ease) both; }

/* Light surfaces (long-form reading) */
.light { background: var(--paper); color: var(--ink); }
.light a { color: var(--red-ink); }
.light a:hover { color: var(--ink); }
.light .etg-faq { border-color: rgba(13, 16, 20, .12); }
.light .etg-faq__item { border-color: rgba(13, 16, 20, .12); }
.light .etg-faq__icon { border-color: rgba(13, 16, 20, .2); color: var(--red-ink); }
.light .etg-faq__item[open] > .etg-faq__q { color: var(--ink); }
.light .etg-faq__item[open] > .etg-faq__q .etg-faq__icon { color: #fff; }
.light .etg-faq__a p { color: var(--ink-muted); }

/* FAQ page */
.faq-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-layout .etg-faq-toc { grid-column: 1; grid-row: 1 / span 40; align-self: start; position: sticky; top: calc(var(--hdr) + 28px); }
.faq-layout .etg-faq-toc ul { list-style: none; border-left: 1px solid rgba(13, 16, 20, .14); }
.faq-layout .etg-faq-toc a { display: flex; align-items: center; min-height: 44px; padding: 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-muted); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s, border-color .2s; }
.faq-layout .etg-faq-toc a:hover { color: var(--ink); border-left-color: var(--red); }
.faq-layout .etg-faq-group { grid-column: 2; margin-bottom: clamp(40px, 5vw, 64px); }
.faq-layout .etg-faq-group:last-child { margin-bottom: 0; }
.etg-faq-group__title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 14px; }
.etg-faq-group__title::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px var(--glow); flex: none; }
@media (max-width: 899px) {
	.faq-layout { grid-template-columns: 1fr; }
	.faq-layout .etg-faq-toc { position: static; grid-row: auto; margin-bottom: 40px; }
	.faq-layout .etg-faq-toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
	.faq-layout .etg-faq-toc a { border: 1px solid rgba(13, 16, 20, .16); border-radius: 999px; margin: 0; padding: 6px 16px; font-size: .9rem; background: #fff; }
	.faq-layout .etg-faq-group { grid-column: 1; }
}

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 96px); background: radial-gradient(70% 90% at 100% 0%, rgba(230, 0, 0, .16), transparent 60%), var(--bg); }
.phero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 10%, transparent 70%); }
.phero__title { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.2rem); font-weight: 700; line-height: 1.03; letter-spacing: -.03em; max-width: 22ch; margin-bottom: 20px; }
.phero__lead { color: var(--muted); font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); max-width: 62ch; }
.phero__meta { font: 500 .8rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.phero__inner > * { animation: rise .8s var(--ease) both; }
.phero__inner > :nth-child(2) { animation-delay: .05s; }
.phero__inner > :nth-child(3) { animation-delay: .1s; }
.phero__inner > :nth-child(4) { animation-delay: .15s; }

/* Breadcrumbs */
.crumbs { margin-bottom: 30px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--red); opacity: .8; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--soft); }

/* ==========================================================================
   Service page
   ========================================================================== */
.shero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 100px); background: radial-gradient(60% 80% at 100% 10%, rgba(230, 0, 0, .15), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(255, 255, 255, .03), transparent 60%), var(--bg); }
.shero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.shero__copy > * { animation: rise .8s var(--ease) both; }
.shero__copy > :nth-child(3) { animation-delay: .06s; }
.shero__copy > :nth-child(4) { animation-delay: .12s; }
.shero__copy > :nth-child(5) { animation-delay: .18s; }
.shero__media { animation: rise 1s var(--ease) .2s both; }
.shero__title { margin-bottom: 22px; }
.shero__kicker { display: block; margin-bottom: 14px; font: 600 clamp(.95rem, .9rem + .2vw, 1.1rem)/1.3 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--red-hi); }
.shero__headline { display: block; font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.8rem); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
.shero__lead { color: var(--soft); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); max-width: 56ch; }

.viewfinder { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 60px -30px rgba(230, 0, 0, .5); }
.viewfinder__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85) contrast(1.08) brightness(1.1); }
.viewfinder::before {
	content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
	background:
		linear-gradient(var(--red), var(--red)) top left / 26px 2px,
		linear-gradient(var(--red), var(--red)) top left / 2px 26px,
		linear-gradient(var(--red), var(--red)) top right / 26px 2px,
		linear-gradient(var(--red), var(--red)) top right / 2px 26px,
		linear-gradient(var(--red), var(--red)) bottom left / 26px 2px,
		linear-gradient(var(--red), var(--red)) bottom left / 2px 26px,
		linear-gradient(var(--red), var(--red)) bottom right / 26px 2px,
		linear-gradient(var(--red), var(--red)) bottom right / 2px 26px;
	background-repeat: no-repeat;
	filter: drop-shadow(0 0 4px var(--glow));
}
.viewfinder::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px), linear-gradient(0deg, rgba(5, 6, 8, .45), transparent 40%); }
.viewfinder__rec { position: absolute; top: 26px; left: 30px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; background: rgba(0, 0, 0, .6); font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; color: #fff; }
.viewfinder__rec .dot { width: 7px; height: 7px; animation: blink 1.6s 3; }
.spec--hero .spec__img img { max-height: 400px; }

.overview__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.checklist { position: relative; padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.checklist::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); box-shadow: 0 0 14px var(--glow); }
.checklist__title { display: flex; align-items: center; gap: 12px; font: 500 .78rem/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.checklist ul { list-style: none; }
.checklist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); color: var(--soft); }
.checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist li .icon { width: 20px; height: 20px; color: var(--red-hi); margin-top: 2px; }

.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.block { position: relative; padding: 34px 30px 30px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.block__num { display: block; margin-bottom: 22px; font: 700 2.6rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px #e83a3a; letter-spacing: -.02em; }
.block__title { font-size: 1.4rem; margin-bottom: 12px; }
.block p { color: var(--muted); }

.brands { border-block: 1px solid var(--line); background: var(--bg-3); padding-block: 30px; }
.brands__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.brands__title { margin: 0; font: 500 .76rem/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brands__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.brands__note { margin: 0; flex-basis: 100%; color: var(--soft); font-size: .95rem; }
.brands__list li { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 1rem/1 var(--f-display); color: var(--soft); background: rgba(255, 255, 255, .02); }

.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.gallery--1 { max-width: 560px; }
.gallery--2 { max-width: 820px; }
.gallery__item { aspect-ratio: 4 / 3; border-radius: var(--r); background: #fff; padding: 22px; display: grid; place-items: center; border: 1px solid var(--line-2); overflow: clip; /* images only: clip, no text to hide */ }
.gallery__item img { width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.gallery__item--photo { padding: 0; }
.gallery__item--photo img { object-fit: cover; }

/* ==========================================================================
   About
   ========================================================================== */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.person { padding: clamp(26px, 3.5vw, 40px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.person__head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.person__name { font-size: 1.55rem; margin: 0 0 4px; }
.person__role { margin: 0; font: 500 .76rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); }
.person__bio { color: var(--soft); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.value { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.value__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red-hi); border: 1px solid rgba(230, 0, 0, .35); margin-bottom: 20px; }
.value__icon .icon { width: 22px; height: 22px; }
.value__title { font-size: 1.18rem; }
.value p { color: var(--muted); font-size: .97rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__side { display: grid; gap: 14px; }
.ccard { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--soft); text-decoration: none; transition: border-color .25s, background-color .25s; }
a.ccard:hover { border-color: rgba(230, 0, 0, .5); color: var(--soft); background: var(--surface-2); }
.ccard__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--red-soft); border: 1px solid rgba(230, 0, 0, .35); color: var(--red-hi); }
.ccard__icon .icon { width: 21px; height: 21px; }
.ccard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.ccard__body small { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.ccard__body strong { font: 600 clamp(1rem, .9rem + .6vw, 1.12rem)/1.3 var(--f-display); color: var(--text); }
.ccard--primary { border-color: rgba(230, 0, 0, .5); background: linear-gradient(135deg, rgba(230, 0, 0, .16), var(--surface) 60%); box-shadow: 0 20px 50px -30px rgba(230, 0, 0, .8); }
.ccard--primary strong { font-size: 1.6rem; }
.ccard--primary .ccard__icon { background: var(--red-btn); color: #fff; border-color: var(--red-btn); animation: ring 2.4s ease-out 2; }

.form-panel { padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9); }
.form-panel__head { margin-bottom: 26px; }
.form-panel__head .section-title { margin-bottom: 8px; }

/* Contact Form 7 */
.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.wpcf7 form > * { grid-column: 1 / -1; }
.wpcf7 form > p:nth-of-type(-n+4) { grid-column: auto; }
.wpcf7 .hidden-fields-container { border: 0; padding: 0; margin: 0; }
.wpcf7 form p { margin: 0 0 18px; }
.wpcf7 label { display: block; font-size: .9rem; font-weight: 500; color: var(--soft); }
.wpcf7 label br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm);
	background: #0b0e12; border: 1px solid var(--field-line); color: var(--text);
	font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea { min-height: 170px; height: 170px; resize: vertical; }
.wpcf7 select {
	-webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
	background: #0b0e12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ff4040' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.wpcf7 select option { background: #13171d; color: var(--text); }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 2px solid var(--red-hi); outline-offset: 2px; border-color: var(--red-hi); box-shadow: 0 0 0 4px rgba(230, 0, 0, .28); }
.wpcf7 input[aria-invalid="true"], .wpcf7 textarea[aria-invalid="true"] { border-color: #ff6b6b; }
.wpcf7 .wpcf7-submit {
	min-height: 52px; padding: 0 34px; border: 0; border-radius: var(--r-sm); cursor: pointer;
	background: var(--red-btn); color: #fff; font: 600 1rem/1 var(--f-body);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -12px rgba(230, 0, 0, .8);
	transition: background-color .2s, box-shadow .25s;
}
.wpcf7 .wpcf7-submit:hover { background: var(--red); box-shadow: 0 0 0 4px rgba(230, 0, 0, .18), 0 14px 36px -10px rgba(230, 0, 0, .9); }
.wpcf7 .wpcf7-submit:disabled { opacity: .6; cursor: wait; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #ff8080; font-size: .85rem; }
.wpcf7 form .wpcf7-response-output { margin: 8px 0 0; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--soft); font-size: .95rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--ok); color: #b8f5d2; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #f5b400; color: #ffe08a; }
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output { border-color: #ff6b6b; color: #ffb3b3; }
@media (max-width: 599px) { .wpcf7 form { grid-template-columns: 1fr; } .wpcf7 form > p:nth-of-type(-n+4) { grid-column: 1 / -1; } }

.map { position: relative; height: 440px; border-top: 1px solid var(--line); background: var(--bg-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.map__card { position: absolute; left: max(16px, calc((100vw - 1240px) / 2)); bottom: 28px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r); background: rgba(19, 23, 29, .94); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); max-width: calc(100% - 32px); }
.map__card .icon { width: 26px; height: 26px; color: var(--red-hi); }
.map__card strong { display: block; font-family: var(--f-display); }
.map__card span { color: var(--muted); font-size: .92rem; }
@media (max-width: 767px) { .map { height: 340px; } .map__card { left: 16px; bottom: 16px; } }

/* ==========================================================================
   Posts
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.post-card:hover, .post-card:focus-within { border-color: rgba(230, 0, 0, .45); transform: translateY(-3px); }
.post-card:focus-within { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.post-card__meta { margin-bottom: 12px; font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); }
.post-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card__excerpt { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); }
.post-card__more .icon { width: 15px; height: 15px; }
.empty { color: var(--muted); font-size: 1.1rem; }

.pager ul, .nav-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager a, .pager span, .nav-links a, .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--soft); text-decoration: none; }
.pager .current, .nav-links .current { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }

.search-inline { margin-bottom: 36px; }
.search-form { display: flex; gap: 10px; max-width: 560px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r-sm); background: #0b0e12; border: 1px solid var(--field-line); color: var(--text); font: inherit; }
.search-submit { min-height: 50px; padding: 0 20px; border: 0; border-radius: var(--r-sm); background: var(--red-btn); color: #fff; font: 600 .95rem var(--f-body); cursor: pointer; }

/* Prose (light) */
.prose { max-width: 74ch; margin-inline: auto; font-size: 1.0625rem; line-height: 1.75; color: #1d232b; }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.8em; margin-bottom: .5em; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.3rem; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--red-ink); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); color: var(--ink-muted); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid rgba(13, 16, 20, .12); text-align: left; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-caption, .prose figure { max-width: 100%; margin-inline: 0; }
.prose__lead-img img { width: 100%; border-radius: var(--r); }
.prose [class*="mp-row"], .prose [class*="motopress"] { max-width: 100%; }
.prose iframe { max-width: 100%; }
.post-nav { max-width: 74ch; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid rgba(13, 16, 20, .1); color: var(--ink) !important; text-decoration: none; font-weight: 600; font-family: var(--f-display); }
.post-nav__link small { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__link:hover { border-color: var(--red-ink); }
.back-link { max-width: 74ch; margin: 28px auto 0; }
@media (max-width: 599px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: 1; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 9vw, 132px); border-top: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(1.15) contrast(1.1); }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 0% 100%, rgba(230, 0, 0, .35), transparent 60%), linear-gradient(90deg, rgba(7, 8, 10, .94) 15%, rgba(7, 8, 10, .5)); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.cta-band__title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.cta-band__text { color: var(--soft); font-size: 1.1rem; max-width: 52ch; }
.cta-band__facts { list-style: none; border-radius: 18px; background: rgba(12, 14, 18, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-2); padding: 8px 22px; }
.cta-band__facts li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.cta-band__facts li:last-child { border-bottom: 0; }
.cta-band__facts .icon { width: 22px; height: 22px; color: var(--red-hi); margin-top: 3px; }
.cta-band__facts span { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.cta-band__facts small { font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.cta-band__facts a { color: #fff; text-decoration: none; font: 600 1.1rem/1.35 var(--f-display); display: inline-block; padding-block: 4px; }
.cta-band__facts a:hover { color: var(--red-hi); }

/* ==========================================================================
   404
   ========================================================================== */
.nosignal { position: relative; isolation: isolate; overflow: hidden; min-height: 72vh; display: flex; align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.nosignal__bars { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(7, 1fr); opacity: .12; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.nosignal__bars i:nth-child(1) { background: #c0c0c0; }
.nosignal__bars i:nth-child(2) { background: #c0c000; }
.nosignal__bars i:nth-child(3) { background: #00c0c0; }
.nosignal__bars i:nth-child(4) { background: #00c000; }
.nosignal__bars i:nth-child(5) { background: #c000c0; }
.nosignal__bars i:nth-child(6) { background: #e60000; }
.nosignal__bars i:nth-child(7) { background: #0000c0; }
.nosignal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px 3px), linear-gradient(90deg, var(--bg) 35%, transparent); }
.nosignal__code { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); margin: 0; z-index: -1; font: 700 clamp(7rem, 24vw, 20rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2); letter-spacing: -.05em; }
.nosignal__inner { position: relative; }
.nosignal__links { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; margin-top: 44px; max-width: 820px; }
.nosignal__links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); background: rgba(19, 23, 29, .85); border: 1px solid var(--line-2); color: var(--soft); text-decoration: none; font-weight: 500; }
.nosignal__links a:hover { border-color: rgba(230, 0, 0, .5); color: #fff; }
.nosignal__links .icon { width: 19px; height: 19px; color: var(--red-hi); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--bg-3); color: var(--muted); padding-top: clamp(56px, 7vw, 88px); padding-bottom: 88px; font-size: .95rem; }
.site-footer .signal-line { top: 0; bottom: auto; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px clamp(28px, 4vw, 56px); }
.site-footer__tag { margin: 18px 0 22px; color: var(--muted); max-width: 34ch; }
.nap { display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
.nap strong { color: var(--text); font-family: var(--f-display); font-weight: 600; }
.nap a, .nap > span:has(.icon) { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--soft); text-decoration: none; overflow-wrap: anywhere; }
.nap a:hover { color: #fff; }
.nap .icon { width: 17px; height: 17px; color: var(--red-hi); }
.nap > span:first-of-type { margin-bottom: 4px; }
.site-footer__h { margin: 6px 0 18px; font: 500 .74rem/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.site-footer__col ul { list-style: none; }
.site-footer__col li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer__col li a:hover { color: #fff; }
.site-footer__call p { margin-bottom: 18px; }
.site-footer__call .btn + .btn { margin-top: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--dim); }
.site-footer__bottom p { margin: 0; }
.site-footer__since { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__since .dot { width: 6px; height: 6px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .svc-card.reveal.is-in:hover, .js .svc-card.reveal.is-in:focus-within { transform: translateY(-4px); transition-delay: 0ms; }
.js .post-card.reveal.is-in:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* ==========================================================================
   Responsive layout
   ========================================================================== */
@media (max-width: 1099px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
	.legacy__grid, .story__grid, .shero__inner, .overview__grid, .cta-band__inner, .contact__grid, .faq-teaser { grid-template-columns: 1fr; }
	.faq-teaser .section-head { position: static; }
	.story__media { max-width: 560px; }
	.legacy__visual { max-width: 620px; }
	.shero__media { max-width: 640px; }
}
@media (max-width: 599px) {
	body { font-size: 1rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.ctas .btn { flex: 1 1 100%; }
	.svc-card { padding: 24px 22px 22px; }
	.etg-faq__a { padding-right: 4px; }
	.etg-faq__qt { font-size: 1.04rem; }
	.stats--console .stats__item { padding: 16px 14px; }
	.frame__tag { left: 18px; }
}

/* ==========================================================================
   Motion & print preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
	.signal-line::after { display: none; }
	.js .reveal { opacity: 1; transform: none; }
}
@media print {
	.topbar, .site-header, .cta-band, .site-footer__call, .map, .signal-line { display: none !important; }
	body { background: #fff; color: #000; }
}

/* Service page rhythm tweaks */
.shero .eyebrow { color: var(--muted); }
.shero .eyebrow__icon { color: var(--red-hi); }
.overview { padding-bottom: clamp(36px, 4vw, 56px); }
.overview + .section--tight { padding-top: 0; }

/* ==========================================================================
   Google rating badge (etg-core etg_google_badge())
   ========================================================================== */
.etg-rating {
	display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 18px;
	padding: 8px 16px 8px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
	color: var(--soft); text-decoration: none; font-size: .92rem; line-height: 1.3;
	transition: border-color .2s, background-color .2s;
}
.etg-rating:hover { border-color: rgba(255, 196, 0, .55); background: rgba(255, 255, 255, .07); color: #fff; }
.etg-rating__stars { color: #ffc400; letter-spacing: 2px; font-size: 1.02rem; text-shadow: 0 0 12px rgba(255, 196, 0, .35); }
.etg-rating__text strong { color: #fff; font-family: var(--f-display); font-size: 1.02rem; }
.etg-rating--hero { margin-top: 26px; background: rgba(10, 12, 15, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__copy > .etg-rating { animation-delay: .32s; }
.phero__inner > .etg-rating { animation-delay: .2s; }
.section-head .etg-rating { margin-top: 8px; }

/* Testimonial source line */
.quote__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote__name { font-weight: 600; font-family: var(--f-display); }
.quote__source { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quote__stars { color: #ffc400; letter-spacing: 1px; font-size: .85rem; font-family: var(--f-body); }
.quote__who { align-items: center; }
.quote__avatar { flex: none; }
.quote__title { overflow-wrap: anywhere; }

/* Testimonials page: balanced columns so long and short quotes pack cleanly */
.quote-list { display: block; max-width: none; column-count: 2; column-gap: 22px; }
.quote-list .quote { break-inside: avoid; margin: 0 0 22px; display: flex; }
.quote-list .quote--lg { padding: clamp(26px, 3vw, 40px); }
.quote-list .quote--lg .quote__body p { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); }
@media (max-width: 859px) { .quote-list { column-count: 1; } }

/* Hours / fax / social */
.topbar__hours { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
@media (max-width: 1099px) { .topbar__note { display: none; } .topbar__inner { justify-content: flex-end; } }
.nap__fax { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--soft); }
.nap__label { display: inline-grid; place-items: center; width: 17px; font: 600 .66rem/1 var(--f-mono); letter-spacing: 0; color: var(--red-hi); }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); text-decoration: none; }
.social:hover { border-color: rgba(230, 0, 0, .5); color: #fff; }
.social .icon { width: 18px; height: 18px; color: var(--red-hi); }
.ccard__icon--text { font: 600 .66rem/1 var(--f-mono); letter-spacing: .08em; }

/* ==========================================================================
   Trade / contract work block — speaks to other companies, so it deliberately
   reads as a different surface: steel panel, blueprint grid, no red headline.
   ========================================================================== */
.trade { background: #0c0f13; border-block: 1px solid var(--line); overflow: hidden; }
.trade__tape {
	position: absolute; left: 0; right: 0; top: 0; height: 6px;
	background: repeating-linear-gradient(135deg, rgba(230, 0, 0, .85) 0 14px, rgba(12, 15, 19, 0) 14px 28px);
	opacity: .75;
}
.trade__panel {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(28px, 4vw, 64px); align-items: start;
	padding: clamp(28px, 4vw, 52px); border-radius: 18px;
	border: 1px solid var(--line-2);
	background:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 28px,
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 28px 100%,
		linear-gradient(140deg, #171b22, #0e1116 65%);
	box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .95);
}
.trade__eyebrow {
	display: inline-flex; align-items: center; margin: 0 0 18px; padding: 8px 14px; border-radius: 6px;
	background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2);
	font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.trade__title { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.trade__intro { color: var(--soft); font-size: 1.06rem; max-width: 56ch; }
.trade__cta { margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--red); color: var(--muted); font-style: italic; }
.btn--trade { margin-top: 26px; background: #fff; color: #0c0f13; }
.btn--trade:hover { background: var(--red-btn); color: #fff; }
.trade__list { list-style: none; display: grid; gap: 2px; align-self: stretch; }
.trade__list li {
	display: flex; align-items: center; gap: 14px; padding: 15px 16px;
	background: rgba(255, 255, 255, .035); border: 1px solid transparent; border-radius: var(--r-sm);
	color: var(--soft); font-size: .98rem;
}
.trade__list li:hover { border-color: var(--line-2); }
.trade__num { font: 500 .74rem/1 var(--f-mono); color: #ff7070; letter-spacing: .08em; flex: none; }
@media (max-width: 959px) { .trade__panel { grid-template-columns: 1fr; } }

/* ==========================================================================
   Accessibility: focus, main target, forced colors
   ========================================================================== */
.site-main:focus { outline: none; }
.topbar { position: relative; }

@media (forced-colors: active) {
	:focus-visible, .wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus, .svc-card:focus-within, .post-card:focus-within {
		outline: 3px solid Highlight; outline-offset: 3px;
	}
	.btn, .call__icon, .menu-toggle, .console, .svc-card, .quote, .ccard, .form-panel, .post-card, .person, .value, .block, .checklist, .trade__panel, .trade__list li, .brands__list li, .chip, .etg-rating, .social, .cta-band__facts {
		border: 1px solid CanvasText;
	}
	.btn--primary, .wpcf7 .wpcf7-submit { border: 2px solid ButtonText; background: ButtonFace; color: ButtonText; forced-color-adjust: none; }
	.hero__scan, .hero__grid, .phero__grid, .shero__grid, .circuit, .signal-line, .nosignal__bars, .nosignal::after { display: none; }
	.hero__media::after, .cta-band__bg::after { display: none; }
	.eyebrow::before, .brand__mark i { background: CanvasText; box-shadow: none; }
	.brand__etg { color: CanvasText; text-shadow: none; }
	.icon, .etg-faq__icon { color: CanvasText; }
	.etg-faq__item, .etg-faq { border-color: CanvasText; }
	.avatar { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
	.block__num { -webkit-text-stroke: 0; color: CanvasText; }
	.nav__sub { border: 1px solid CanvasText; }
}

/* ==========================================================================
   Timeline (About + Portfolio)
   ========================================================================== */
.pf-history__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pf-history__grid .section-head { position: sticky; top: calc(var(--hdr) + 32px); margin-bottom: 0; }
.timeline { list-style: none; position: relative; margin: 0; padding: 0 0 0 36px; }
.timeline::before {
	content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
	background: linear-gradient(180deg, var(--red), rgba(230, 0, 0, .25));
	box-shadow: 0 0 12px rgba(230, 0, 0, .45);
}
.timeline__item { position: relative; padding: 0 0 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node {
	position: absolute; left: -36px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--bg); border: 2px solid var(--red); box-shadow: 0 0 0 4px rgba(230, 0, 0, .12);
}
.timeline__item--now .timeline__node { background: var(--red); box-shadow: 0 0 0 4px rgba(230, 0, 0, .2), 0 0 16px var(--glow); }
.timeline__year { margin: 0 0 6px; font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.timeline__text { margin: 0; color: var(--soft); max-width: 60ch; }
.section--panel .timeline__node { background: var(--bg-2); }
@media (max-width: 959px) {
	.pf-history__grid { grid-template-columns: 1fr; }
	.pf-history__grid .section-head { position: static; margin-bottom: 8px; }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.pf-toc { margin-top: 34px; }
.pf-toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-toc a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
	color: var(--soft); text-decoration: none; font-size: .92rem; font-weight: 500;
	transition: border-color .2s, color .2s, background-color .2s;
}
.pf-toc a:hover { border-color: rgba(230, 0, 0, .55); color: #fff; background: rgba(230, 0, 0, .08); }
.pf-toc .icon { width: 16px; height: 16px; color: var(--red-hi); }
.phero__inner > .pf-toc { animation-delay: .2s; }

.pf-group { border-top: 1px solid var(--line); }
.pf-group--alt { background: var(--bg-2); }
.pf-group__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pf-group__head { position: sticky; top: calc(var(--hdr) + 28px); }
.pf-group__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pf-group__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); border: 1px solid rgba(230, 0, 0, .4); color: var(--red-hi); box-shadow: 0 0 30px -10px rgba(230, 0, 0, .6); }
.pf-group__icon .icon { width: 26px; height: 26px; }
.pf-group__num { font: 500 .78rem/1 var(--f-mono); letter-spacing: .12em; color: var(--dim); }
.pf-group__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 14px; }
.pf-group__brand {
	display: flex; width: fit-content; max-width: 100%; margin: 0 0 22px; padding: 7px 12px; border-radius: 6px;
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
	font: 500 .74rem/1.35 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft);
}
.pf-group__img { margin: 0 0 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); padding: 18px; max-width: 340px; }
.pf-group__img img { width: 100%; height: 190px; object-fit: contain; }
.pf-group__img--photo { padding: 0; overflow: hidden; background: #000; }
.pf-group__img--photo img { height: 210px; object-fit: cover; filter: contrast(1.05); }

.pf-items { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.pf-item {
	position: relative; padding: 24px 24px 22px; border-radius: var(--r);
	background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
	transition: border-color .25s;
}
.pf-group--alt .pf-item { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.pf-item::before { content: ""; position: absolute; left: 24px; top: 0; width: 28px; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--glow); }
.pf-item:hover { border-color: rgba(230, 0, 0, .4); }
.pf-item__title { font-size: 1.12rem; margin: 6px 0 8px; }
.pf-item__text { margin: 0; color: var(--muted); font-size: .96rem; }

.pf-note { border-top: 1px solid var(--line); background: var(--bg-3); padding-block: 22px; }
.pf-note p { margin: 0; font: 500 .8rem/1.6 var(--f-mono); letter-spacing: .04em; color: var(--muted); }

@media (max-width: 959px) {
	.pf-group__grid { grid-template-columns: 1fr; }
	.pf-group__head { position: static; }
	.pf-group__img { max-width: 420px; }
}
@media (forced-colors: active) {
	.timeline::before { background: CanvasText; box-shadow: none; }
	.timeline__node { border-color: CanvasText; background: Canvas; }
	.pf-item, .pf-toc a, .pf-group__brand, .pf-group__icon { border: 1px solid CanvasText; }
}
/* Four detail blocks read better as a 2 × 2 grid than 3 + 1 */
@media (min-width: 700px) { .blocks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
	.pf-toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.pf-toc a { border-radius: 12px; padding: 8px 12px; font-size: .84rem; line-height: 1.25; align-items: center; }
}
@media (max-width: 599px) { .pf-group__img { max-width: 280px; } .pf-group__img img { height: 150px; } .pf-group__img--photo img { height: 170px; } }
