/* ==========================================================================
   Logic Nova — main stylesheet
   ========================================================================== */

:root {
	/* Night (default): deep navy, cyan signal, amber spark */
	--bg: #05070d;
	--bg2: #090d18;
	--panel: rgba(16, 22, 42, .55);
	--panel-solid: #0d1324;
	--line: rgba(150, 180, 255, .12);
	--line-strong: rgba(150, 180, 255, .22);
	--text: #e9eefb;
	--muted: #8f9ab8;
	--c1: #46e6ff;
	--c2: #ffb547;
	--c3: #8b6cff;
	--ok: #7dffb0;
	--bad: #ff4d6d;
	--tint: #ffffff;
	--on-accent: #001018;
	--header-bg: rgba(8, 12, 24, .68);
	--chip-bg: rgba(5, 7, 13, .74);
	--shadow: rgba(0, 0, 0, .8);
	--stage: #070a14;
	--stage-hi: #0d1630;
	--bp-ink: #9fb4ff;
	--dev-fill: #0b1226;
	--tip-bg: rgba(8, 12, 26, .92);
	--cta-a: #0d1530;
	--cta-b: #070a14;
	--handle: #ffffff;
	--handle-ink: #05070d;
	--node: 200, 215, 255;
	--wall: 235, 242, 255;
	--grain: .05;
	--paper: none;
	--star: #ffb547;
	--f-display: "Syne", "Manrope", system-ui, sans-serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--r: 20px;
	--r-sm: 12px;
	--r-md: 16px;
	--r-lg: 32px;
	--pill: 99px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1200px;
	--header-h: 76px;
	color-scheme: dark;
}

/* Daylight: the same layout on cool white, deeper cyan for contrast */
:root[data-style="daylight"] {
	--bg: #f3f6fa;
	--bg2: #e8edf5;
	--panel: rgba(255, 255, 255, .74);
	--panel-solid: #ffffff;
	--line: rgba(16, 36, 72, .1);
	--line-strong: rgba(16, 36, 72, .2);
	--text: #0c1424;
	--muted: #56627c;
	--c1: #0b7fa3;
	--c2: #d4700a;
	--c3: #6a4cf0;
	--ok: #12864c;
	--bad: #d92d4a;
	--tint: #0c1a36;
	--on-accent: #ffffff;
	--header-bg: rgba(255, 255, 255, .8);
	--chip-bg: rgba(255, 255, 255, .9);
	--shadow: rgba(16, 30, 60, .16);
	--stage: #f7f9fc;
	--stage-hi: #ffffff;
	--bp-ink: #3a5596;
	--dev-fill: #ffffff;
	--tip-bg: rgba(255, 255, 255, .97);
	--handle: #0c1424;
	--handle-ink: #ffffff;
	--node: 30, 60, 110;
	--wall: 24, 38, 70;
	--grain: .02;
	--star: #e39b0b;
	color-scheme: light;
}

/* Blueprint: drafting-paper grid, electric blue ink, signal orange, square corners */
:root[data-style="blueprint"] {
	--bg: #e9eff8;
	--bg2: #dee6f2;
	--panel: rgba(255, 255, 255, .82);
	--panel-solid: #fbfcff;
	--line: rgba(31, 79, 255, .16);
	--line-strong: rgba(31, 79, 255, .32);
	--text: #0a1a3c;
	--muted: #4a5a7e;
	--c1: #1f4fff;
	--c2: #f0531c;
	--c3: #7b3fe4;
	--ok: #0d8f62;
	--bad: #d8203f;
	--tint: #1f4fff;
	--on-accent: #ffffff;
	--header-bg: rgba(233, 239, 248, .86);
	--chip-bg: rgba(251, 252, 255, .92);
	--shadow: rgba(10, 26, 60, .14);
	--stage: #f6f9ff;
	--stage-hi: #ffffff;
	--bp-ink: #1f4fff;
	--dev-fill: #ffffff;
	--tip-bg: rgba(251, 252, 255, .97);
	--cta-a: #1f4fff;
	--cta-b: #1336c4;
	--handle: #1f4fff;
	--handle-ink: #ffffff;
	--node: 31, 79, 255;
	--wall: 10, 26, 60;
	--grain: 0;
	--star: #f0531c;
	--paper: linear-gradient(rgba(31, 79, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(31, 79, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px;
	--f-display: "Big Shoulders Display", "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
	--r: 10px;
	--r-sm: 6px;
	--r-md: 8px;
	--r-lg: 14px;
	--pill: 6px;
	color-scheme: light;
}

/* Pearl: warm pearl-cream, brass and deep teal, soft sheen */
:root[data-style="pearl"] {
	--bg: #f6f1e9;
	--bg2: #ece5d9;
	--panel: rgba(255, 252, 247, .78);
	--panel-solid: #fffcf7;
	--line: rgba(60, 44, 24, .11);
	--line-strong: rgba(60, 44, 24, .22);
	--text: #241d16;
	--muted: #6e6357;
	--c1: #8a5d1f;
	--c2: #1f6e68;
	--c3: #b07a83;
	--ok: #2f7d4f;
	--bad: #c2384a;
	--tint: #3a2a14;
	--on-accent: #fffaf2;
	--header-bg: rgba(246, 241, 233, .84);
	--chip-bg: rgba(255, 252, 247, .92);
	--shadow: rgba(60, 40, 15, .14);
	--stage: #fbf8f2;
	--stage-hi: #fffdf9;
	--bp-ink: #8a6a3e;
	--dev-fill: #fffcf7;
	--tip-bg: rgba(255, 252, 247, .97);
	--cta-a: #2a221a;
	--cta-b: #17120d;
	--handle: #241d16;
	--handle-ink: #fffaf2;
	--node: 138, 100, 50;
	--wall: 50, 38, 24;
	--grain: .03;
	--star: #c08a2c;
	--paper: radial-gradient(70vw 60vh at 100% 0%, rgba(232, 214, 222, .55), transparent 70%), radial-gradient(60vw 50vh at 0% 30%, rgba(214, 228, 232, .5), transparent 70%), radial-gradient(50vw 40vh at 60% 100%, rgba(240, 226, 200, .5), transparent 70%);
	--f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
	--r: 22px;
	--r-md: 18px;
	--r-lg: 34px;
	color-scheme: light;
}
:root[data-style="pearl"] .cta-band__box {
	--text: #f6f1e9; --muted: #c9bba6; --line: rgba(246, 241, 233, .16); --line-strong: rgba(246, 241, 233, .32);
	--c1: #e2b66c; --on-accent: #241d16; --tint: #ffffff; --node: 226, 182, 108; color: var(--text);
}
:root[data-style="pearl"] :is(.hero__title, .page-hero__title, .h1, .h2) { letter-spacing: -.035em; font-weight: 800; }
:root[data-style="pearl"] .hero__vignette { background: radial-gradient(ellipse at 30% 50%, transparent 35%, var(--bg) 90%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
:root[data-style="pearl"] .card-glass, :root[data-style="pearl"] .service-card, :root[data-style="pearl"] .rv-card { box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -28px var(--shadow); }

/* Inverse band: the call-to-action stays dark (Daylight) or solid blue (Blueprint) */
:root[data-style="daylight"] .cta-band__box {
	--text: #e9eefb; --muted: #9aa6c4; --line: rgba(150, 180, 255, .16); --line-strong: rgba(150, 180, 255, .3);
	--c1: #46e6ff; --on-accent: #001018; --tint: #ffffff; --node: 200, 215, 255; color: var(--text);
}
:root[data-style="blueprint"] .cta-band__box {
	--text: #ffffff; --muted: rgba(255, 255, 255, .78); --line: rgba(255, 255, 255, .25); --line-strong: rgba(255, 255, 255, .5);
	--c1: #ffffff; --on-accent: #1f4fff; --tint: #ffffff; --node: 255, 255, 255; color: var(--text);
}

/* Blueprint type: condensed, uppercase display */
:root[data-style="blueprint"] :is(.hero__title, .page-hero__title, .h1, .h2, .nf__code) { text-transform: uppercase; letter-spacing: -.005em; line-height: .94; font-weight: 800; }
:root[data-style="blueprint"] .hero__title { font-size: clamp(2.5rem, 5.4vw, 5rem); }
:root[data-style="blueprint"] .page-hero__title { font-size: clamp(2.6rem, 6vw, 5.2rem); }
:root[data-style="blueprint"] .h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
:root[data-style="blueprint"] .h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
:root[data-style="blueprint"] :is(h3, .brand__text b, .brand__name, .stat b, .badge-ring b, .work__item figcaption b) { font-family: var(--f-body); letter-spacing: -.01em; }
:root[data-style="blueprint"] .card-glass, :root[data-style="blueprint"] .service-card, :root[data-style="blueprint"] .layer-btn { box-shadow: 3px 3px 0 rgba(31, 79, 255, .12); }
:root[data-style="blueprint"] .btn--primary { box-shadow: 4px 4px 0 var(--text); }
:root[data-style="blueprint"] .btn--primary:hover { box-shadow: 6px 6px 0 var(--text); }
:root[data-style="blueprint"] .grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--c2); animation: none; }
:root[data-style="daylight"] .hero__vignette, :root[data-style="blueprint"] .hero__vignette { background: radial-gradient(ellipse at 30% 50%, transparent 35%, var(--bg) 90%), linear-gradient(to bottom, transparent 70%, var(--bg)); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body::before { /* ambient glows */
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background:
		var(--paper),
		radial-gradient(60vw 50vh at 85% -10%, color-mix(in srgb, var(--c3) 16%, transparent), transparent 70%),
		radial-gradient(50vw 40vh at -10% 40%, color-mix(in srgb, var(--c1) 9%, transparent), transparent 70%),
		var(--bg);
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--c1); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); }
.h2 { font-size: clamp(1.8rem, 3.5vw, 2.85rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--text); }
.grad, .h2 em {
	background: linear-gradient(100deg, var(--c1), color-mix(in srgb, var(--c1) 40%, var(--c3)) 50%, var(--c2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	background-size: 200% 100%;
	animation: gradShift 6s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--c1); margin-bottom: 1.2rem; }
.kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--pill); background: color-mix(in srgb, var(--tint) 2%, transparent); backdrop-filter: blur(8px); margin-bottom: 1.6rem; }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: ping 2s infinite; }
.kicker__dot--red { background: var(--bad); box-shadow: 0 0 0 0 var(--bad); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }

.section { padding: clamp(52px, 7vw, 96px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4.4vw, 54px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section-head__text { color: var(--muted); font-size: 1.08rem; }

/* ---------- buttons ---------- */
.btn {
	--bh: 50px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
	height: var(--bh); padding: 0 1.6rem; border-radius: var(--pill);
	font-weight: 700; font-size: .98rem; letter-spacing: .01em; white-space: nowrap;
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s, color .3s;
	isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { color: var(--on-accent); background: var(--c1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--c1) 50%, transparent), 0 10px 40px -10px color-mix(in srgb, var(--c1) 70%, transparent); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 0 0 6px color-mix(in srgb, var(--c1) 18%, transparent), 0 16px 50px -10px color-mix(in srgb, var(--c1) 90%, transparent); }
.btn--ghost { border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--tint) 3%, transparent); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--c1); color: var(--c1); }
.btn--sm { --bh: 40px; padding: 0 1.1rem; font-size: .9rem; }
.btn--lg { --bh: 56px; padding: 0 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--c1); border-bottom: 1px solid color-mix(in srgb, var(--c1) 40%, transparent); padding-bottom: 4px; }
.link-arrow svg { width: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: .3s; }
.round-btn svg { width: 20px; }
.round-btn:hover { border-color: var(--c1); color: var(--c1); background: color-mix(in srgb, var(--c1) 8%, transparent); }

/* ---------- glass card ---------- */
.card-glass { background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 7%, transparent), color-mix(in srgb, var(--tint) 1.5%, transparent)); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 80px -30px var(--shadow), inset 0 1px 0 color-mix(in srgb, var(--tint) 6%, transparent); }

/* ---------- preloader ---------- */
.boot { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: grid; place-items: center; transition: clip-path 1s var(--ease-in-out); clip-path: inset(0 0 0 0); }
html:not(.js) .boot, html.booted .boot { display: none; }
.boot.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.boot__inner { width: min(420px, 86vw); }
.boot__mark { width: 56px; height: 56px; margin-bottom: 22px; }
.boot__mark svg { width: 100%; height: 100%; overflow: visible; }
.boot__mark .bm-ring { fill: none; stroke: var(--c1); stroke-width: 1.5; stroke-dasharray: 107; stroke-dashoffset: 107; animation: draw 1.2s var(--ease) forwards; }
.boot__mark .bm-star { fill: var(--c2); transform-origin: 20px 20px; animation: spinIn 1.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spinIn { from { transform: scale(0) rotate(-180deg); } to { transform: none; } }
.boot__log { font-family: var(--f-mono); font-size: .82rem; color: var(--muted); min-height: 7.5em; margin: 0 0 16px; white-space: pre-wrap; }
.boot__log b { color: var(--ok); font-weight: 400; }
.boot__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c1), var(--c2)); transition: width .2s linear; }

/* ---------- cursor & grain ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 998; }
	.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
	.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--c1); }
	.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid color-mix(in srgb, var(--c1) 35%, transparent); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; }
	.cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: transparent; border-color: color-mix(in srgb, var(--c1) 70%, transparent); }
	.cursor.is-hidden { opacity: 0; }
}
.grain { position: fixed; inset: -50%; z-index: 997; pointer-events: none; opacity: var(--grain); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: none; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px var(--gutter); transition: transform .5s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { max-width: calc(var(--max) + 24px); margin: 0 auto; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 10px 0 18px; border-radius: var(--pill); border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; transform: translateZ(0); }
.site-header.is-scrolled .site-header__inner { background: var(--header-bg); border-color: var(--line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 20px 50px -25px var(--shadow); }
.site-header.is-hidden { transform: translateY(-120%); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }
.brand .bm-ring { fill: none; stroke: color-mix(in srgb, var(--c1) 60%, transparent); stroke-width: 1.5; stroke-dasharray: 4 6; animation: rot 14s linear infinite; transform-origin: 20px 20px; }
.brand .bm-star { fill: var(--c1); transform-origin: 20px 20px; transition: transform .6s var(--ease), fill .4s; }
.brand .bm-dot { fill: var(--c2); }
.brand:hover .bm-star { transform: rotate(90deg) scale(1.1); fill: var(--c2); }
@keyframes rot { to { transform: rotate(360deg); } }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.01em; }
.brand__text small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand--img img { max-height: 44px; width: auto; flex: none; }
.brand__name { display: inline-flex; align-items: baseline; gap: .32em; font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; letter-spacing: .02em; color: var(--text); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand__name, .brand__name * { font-style: normal !important; }
.brand__l2 { display: inline-flex; }

.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav .nav__list a { position: relative; display: block; padding: 9px 16px; border-radius: var(--pill); font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .3s, background .3s; }
.nav .nav__list a:hover { color: var(--text); background: color-mix(in srgb, var(--tint) 5%, transparent); }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--text); }
.nav .current-menu-item > a::after, .nav .current_page_item > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--tint) 3%, transparent); font-size: .88rem; transition: border-color .3s, background .3s; }
.status-pill:hover { border-color: var(--c1); background: color-mix(in srgb, var(--c1) 8%, transparent); }
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); color: var(--ok); animation: ping 2s infinite; }
.status-pill__label { color: var(--muted); }
.status-pill__icon { display: none; }
.status-pill__icon svg { width: 18px; color: var(--c1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease-in-out); }
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu .nav__list { flex-direction: column; gap: 6px; }
.mobile-menu .nav__list a { font-family: var(--f-display); font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 700; display: block; padding: 4px 0; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.mobile-menu .nav__list a:hover { color: var(--c1); }
.menu-open .mobile-menu .nav__list a { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .06s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .12s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .18s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .24s; }
.mobile-menu__foot { margin-top: 40px; display: grid; gap: 12px; color: var(--muted); }
.mobile-menu__foot a { display: inline-flex; gap: 10px; align-items: center; }
.mobile-menu__foot svg { width: 18px; color: var(--c1); }
.menu-open { overflow: hidden; }

/* ---------- reveal & split ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--sd, 0s)); }
.js .split.is-in .w > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 820px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.hero__vignette { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 30% 50%, transparent 30%, var(--bg) 85%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 4.3vw, 3.85rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 28px; }
.hero__title .w > .grad { --sd: .15s; }
.hero__text { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .8rem; color: var(--muted); }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 15px; color: var(--ok); }

.hero__console { position: relative; height: 460px; }
.hero__console .card-glass { position: absolute; padding: 16px 18px; transition: transform .6s var(--ease); }
.console__head { display: flex; justify-content: space-between; gap: 16px; font-size: .7rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.console__head .ok { color: var(--ok); }
.console__head .rec { color: #ff5c7a; display: inline-flex; align-items: center; gap: 6px; }
.console__head .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-wifi { top: 10px; right: 0; width: 260px; animation: float 7s ease-in-out infinite; }
.console-cam { top: 150px; left: 0; width: 290px; animation: float 8s ease-in-out infinite -2s; }
.console-rack { bottom: 16px; right: 16px; width: 270px; animation: float 9s ease-in-out infinite -4s; }
@keyframes float { 50% { translate: 0 -12px; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, color-mix(in srgb, var(--c1) 40%, transparent), var(--c1)); height: 30%; animation: bar 1.6s ease-in-out infinite; }
.bars i:nth-child(2n) { animation-delay: -.3s; } .bars i:nth-child(3n) { animation-delay: -.7s; } .bars i:nth-child(5n) { animation-delay: -1.1s; } .bars i:nth-child(7n) { animation-delay: -.5s; }
@keyframes bar { 0%,100% { height: 45%; } 50% { height: 95%; } }
.console__meta { display: flex; gap: 8px; align-items: baseline; margin-top: 12px; font-size: .72rem; color: var(--muted); }
.console__meta span:first-child { flex: 1; }
.ticker { color: var(--text); font-size: 1.15rem; font-weight: 600; }
.cam-feed { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.cam-feed svg { width: 100%; height: 100%; filter: saturate(.7) contrast(1.1); }
.cam-scan { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--tint) 4%, transparent) 0 1px, transparent 1px 3px); }
.cam-scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--c1) 18%, transparent), transparent); animation: scan 3.5s linear infinite; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.cam-box { position: absolute; left: 30%; top: 46%; width: 20%; height: 38%; border: 1.5px solid var(--c2); border-radius: 3px; animation: track 6s ease-in-out infinite; }
.cam-box::before { content: "MOTION"; position: absolute; top: -16px; left: -1px; font-family: var(--f-mono); font-size: 8px; letter-spacing: .1em; background: var(--c2); color: #1a1000; padding: 1px 4px; }
@keyframes track { 0%,100% { left: 22%; opacity: 0; } 15%, 85% { opacity: 1; } 50% { left: 46%; } }
.cam-time { position: absolute; right: 8px; bottom: 6px; font-size: .62rem; color: rgba(255,255,255,.75); }
.ports { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.ports i { aspect-ratio: 1.2; border-radius: 3px; background: var(--dev-fill); border: 1px solid var(--line); position: relative; }
.ports i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 3px; height: 3px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); animation: blink calc(.4s + var(--r) * 1.4s) steps(2) infinite; animation-delay: calc(var(--r) * -2s); }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 28px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--c1), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: linear-gradient(90deg, var(--bg), transparent 15%, transparent 85%, var(--bg)), color-mix(in srgb, var(--tint) 1.2%, transparent); position: relative; }
.marquee__row { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__track { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 700; white-space: nowrap; color: color-mix(in srgb, var(--text) 22%, transparent); transition: color .4s; }
.marquee__track span:hover { color: var(--c1); }
.marquee__track b { color: var(--c2); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement__text, .mission__text { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; max-width: 1080px; margin-bottom: 40px; }
[data-scrub-words] .sw { color: color-mix(in srgb, var(--text) 18%, transparent); transition: color .35s; }
[data-scrub-words] .sw.on { color: var(--text); }
[data-scrub-words] .sw.hl.on { color: var(--c1); }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 32px 30px 28px; min-height: 340px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); transform-style: preserve-3d; }
.service-card__glow { display: none; }
[data-spotlight] { position: relative; isolation: isolate; }
.service-card:hover { border-color: color-mix(in srgb, var(--c1) 40%, transparent); }
.service-card__num { position: absolute; top: 24px; right: 26px; font-size: .75rem; color: var(--muted); }
.service-card__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r-md); color: var(--c1); background: color-mix(in srgb, var(--c1) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 22%, transparent); margin-bottom: auto; transition: transform .6s var(--ease), background .4s; }
.service-card__icon svg { width: 34px; height: 34px; }
.service-card:hover .service-card__icon { transform: translateZ(40px) rotate(-6deg) scale(1.06); background: color-mix(in srgb, var(--c1) 16%, transparent); }
.service-card h3 { margin-top: 40px; font-size: 1.45rem; }
.service-card p { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.service-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c1); }
.service-card__more svg { width: 16px; transition: transform .35s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(6px); }

/* compact service tiles (homepage) */
.services--intro .section-head { margin-bottom: 40px; }
.services--intro .section-head__text .link-arrow { margin-left: 6px; }
.service-grid--compact { gap: 14px; }
.service-grid--compact .service-card { flex-direction: row; align-items: center; gap: 18px; min-height: 0; padding: 22px 22px; }
.service-grid--compact .service-card__icon { margin: 0; flex: none; width: 56px; height: 56px; }
.service-grid--compact .service-card__icon svg { width: 30px; height: 30px; }
.service-card__body { flex: 1; min-width: 0; }
.service-grid--compact .service-card h3 { margin: 0 0 4px; font-size: 1.12rem; }
.service-grid--compact .service-card p { margin: 0; font-size: .9rem; line-height: 1.5; }
.service-card__go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: .35s var(--ease); }
.service-card__go svg { width: 16px; }
.service-card:hover .service-card__go { background: var(--c1); border-color: var(--c1); color: var(--on-accent); transform: rotate(-45deg); }

/* animated icon parts */
.ic-packet { animation: packet 2s var(--ease-in-out) infinite; }
@keyframes packet { 0% { transform: translateY(-3px); opacity: 0; } 20% { opacity: 1; } 60% { transform: translateY(16px); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
.ic-wifi .ic-w1, .ic-wifi .ic-w2, .ic-wifi .ic-w3, .ic-speaker .ic-w1, .ic-speaker .ic-w2 { animation: wave 2.2s ease-in-out infinite; }
.ic-w2 { animation-delay: .25s !important; } .ic-w3 { animation-delay: .5s !important; }
@keyframes wave { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ic-rec { animation: blink 1.2s steps(2) infinite; color: #ff5c7a; }
.ic-spin { transform-origin: 24px 29px; animation: rot 6s linear infinite; }
.ic-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash 3s ease-in-out infinite; }
@keyframes dash { 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }

/* ---------- explorer ---------- */
.explorer__ui { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.explorer__tabs { display: flex; flex-direction: column; gap: 10px; }
.layer-btn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); text-align: left; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.layer-btn:hover { transform: translateX(4px); border-color: var(--line-strong); }
.layer-btn__icon { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; color: var(--muted); background: color-mix(in srgb, var(--tint) 4%, transparent); transition: .3s; flex: none; }
.layer-btn__icon svg { width: 24px; height: 24px; }
.layer-btn__label { flex: 1; font-weight: 700; }
.layer-btn__switch { width: 38px; height: 22px; border-radius: var(--pill); background: color-mix(in srgb, var(--tint) 8%, transparent); position: relative; transition: background .3s; flex: none; }
.layer-btn__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .4s var(--ease), background .3s; }
.layer-btn[aria-pressed="true"] { border-color: color-mix(in srgb, var(--lc, var(--c1)) 50%, transparent); background: color-mix(in srgb, var(--lc, var(--c1)) 8%, var(--panel-solid)); }
.layer-btn[aria-pressed="true"] .layer-btn__icon { color: var(--lc, var(--c1)); background: color-mix(in srgb, var(--lc, var(--c1)) 14%, transparent); }
.layer-btn[aria-pressed="true"] .layer-btn__switch { background: color-mix(in srgb, var(--lc, var(--c1)) 40%, transparent); }
.layer-btn[aria-pressed="true"] .layer-btn__switch::after { transform: translateX(16px); background: var(--lc, var(--c1)); }
.layer-btn[data-layer="network"] { --lc: var(--c1); }
.layer-btn[data-layer="security"] { --lc: var(--c2); }
.layer-btn[data-layer="av"] { --lc: var(--c3); }
.layer-btn[data-layer="smart"] { --lc: var(--ok); }
.layer-btn__dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; transition: .3s; }
.layer-btn[aria-pressed="true"] .layer-btn__dot { background: var(--lc, var(--c1)); border-color: var(--lc, var(--c1)); box-shadow: 0 0 10px var(--lc, var(--c1)); }
.layer-btn.is-current { transform: translateX(6px); }
.layer-btn--auto { --lc: var(--c2); position: relative; overflow: hidden; }
.layer-btn--auto .i-pause { display: none; }
.layer-btn--auto[aria-pressed="true"] .i-play { display: none; }
.layer-btn--auto[aria-pressed="true"] .i-pause { display: block; }
.layer-btn--auto svg { width: 20px; height: 20px; }
.auto-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.auto-progress i { display: block; height: 100%; width: 0; background: var(--c2); box-shadow: 0 0 8px var(--c2); }
.layer-btn--auto[aria-pressed="true"] .auto-progress i { width: var(--ap, 0%); transition: width .2s linear; }
.layer-btn--all { justify-content: center; border-style: dashed; color: var(--muted); font-size: .9rem; padding: 12px; }
.layer-btn--all:hover { color: var(--text); }
.explorer__info { margin-top: auto; padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 4%, transparent), transparent); min-height: 170px; }
.explorer__info-kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c1); margin-bottom: 8px; }
.explorer__info h3 { font-size: 1.15rem; margin-bottom: 8px; }
.explorer__info p { color: var(--muted); font-size: .92rem; margin: 0; }
.explorer__info.is-swap h3, .explorer__info.is-swap p { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }

.explorer__stage { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, var(--stage-hi), var(--stage) 70%); overflow: hidden; color: var(--bp-ink); }
.blueprint { width: 100%; height: auto; }
.bp-rooms rect { fill: color-mix(in srgb, var(--bp-ink) 3%, transparent); stroke: color-mix(in srgb, var(--bp-ink) 40%, transparent); stroke-width: 1.5; }
.bp-rooms .bp-outer { fill: none; stroke: color-mix(in srgb, var(--bp-ink) 85%, transparent); stroke-width: 4; }
.bp-rooms .bp-door { fill: var(--stage); stroke: none; }
.bp-labels text { font-size: 10px; letter-spacing: .2em; fill: color-mix(in srgb, var(--bp-ink) 55%, transparent); text-anchor: middle; }
.layer { opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.layer.is-on { opacity: 1; pointer-events: auto; }
.hs { cursor: pointer; outline: none; }
.hs .dev { transition: transform .35s var(--ease), filter .3s; transform-box: fill-box; transform-origin: center; }
.hs:hover .dev, .hs:focus .dev, .hs.is-active .dev { transform: scale(1.35); filter: drop-shadow(0 0 8px currentColor); }
.layer--network { color: var(--c1); }
.layer--security { color: var(--c2); }
.layer--av { color: var(--c3); }
.layer--smart { color: var(--ok); }
.cable { fill: none; stroke: var(--c1); stroke-width: 2; stroke-opacity: .55; stroke-dasharray: 6 10; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.dev { fill: var(--dev-fill); stroke: currentColor; stroke-width: 2; }
.dev-core { fill: currentColor; pointer-events: none; }
.rack-leds circle { fill: var(--ok); animation: blink .9s steps(2) infinite; }
.rack-leds circle:nth-child(2n) { animation-delay: -.3s; } .rack-leds circle:nth-child(3n) { animation-delay: -.6s; }
.wave { fill: none; stroke: currentColor; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ripple 2.4s var(--ease) infinite; animation-delay: var(--d); opacity: 0; pointer-events: none; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(6); opacity: 0; } }
.ripple { fill: none; stroke: currentColor; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ripple2 1.6s ease-out infinite; animation-delay: var(--d); pointer-events: none; }
@keyframes ripple2 { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
.cone-sweep { animation: sweep 5s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes sweep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
.cone { pointer-events: none; }
.dev-rec { fill: #ff5c7a; animation: blink 1.2s steps(2) infinite; pointer-events: none; }
.dev--tv { fill: color-mix(in srgb, var(--c3) 30%, var(--dev-fill)); }
.bulb-glow { pointer-events: none; animation: glow 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.dev--bulb { fill: #ffe7a8; stroke: var(--c2); }
.dev-line { fill: none; stroke: currentColor; stroke-width: 2; }
.thermo-t { font-size: 8px; fill: currentColor; text-anchor: middle; pointer-events: none; }
.bp-tip { position: absolute; z-index: 3; max-width: min(250px, 78%); padding: 10px 12px; border-radius: 10px; background: var(--tip-bg); border: 1px solid var(--line-strong); font-size: .75rem; line-height: 1.5; color: var(--text); pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); backdrop-filter: blur(8px); animation: tipIn .25s var(--ease); }
.bp-tip.is-below { transform: translate(-50%, 14px); }
@keyframes tipIn { from { opacity: 0; } }
.bp-corner { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 14px; font-size: .62rem; letter-spacing: .14em; color: color-mix(in srgb, var(--bp-ink) 55%, transparent); }

/* ---------- coverage ---------- */
.coverage__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.coverage__copy > p { color: var(--muted); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 26px 0 18px; font-size: .78rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.legend i.is-dark { box-shadow: none; border: 1px solid var(--line-strong); }
.legend i.lg-ring { background: none; box-shadow: none; border-radius: 50%; border: 1.5px solid var(--ok); outline: 1.5px solid color-mix(in srgb, var(--ok) 40%, transparent); outline-offset: 2px; }
.legend i.lg-hatch { box-shadow: none; background: repeating-linear-gradient(-45deg, var(--muted) 0 1px, transparent 1px 4px); opacity: .7; border-radius: 3px; }
.coverage__note { font-size: .72rem; color: color-mix(in srgb, var(--muted) 70%, transparent); }
.coverage__stage { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 8 / 5; background: var(--bg2); touch-action: pan-y; user-select: none; --x: 50%; }
.coverage__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cov-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.cov-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--handle); box-shadow: 0 0 20px color-mix(in srgb, var(--handle) 60%, transparent); pointer-events: none; }
.cov-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--handle); color: var(--handle-ink); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.cov-handle svg { width: 22px; }
.cov-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cov-tag { position: absolute; bottom: 14px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); background: var(--chip-bg); border: 1px solid var(--line); pointer-events: none; }
.cov-tag--l { left: 14px; color: var(--bad); }
.cov-tag--r { right: 14px; color: var(--ok); }

/* ---------- stats ---------- */
.stats { padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 46px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: flex; align-items: baseline; font-family: var(--f-display); font-size: clamp(2.6rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 12px; }
.stat em { font-style: normal; color: var(--c1); font-size: .6em; margin-left: 4px; }
.stat > span { color: var(--muted); font-size: .95rem; }

/* ---------- process ---------- */
.process__track { position: relative; }
.process__cable { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; }
.pc-bg { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.pc-fg { stroke: var(--c1); stroke-width: 3; fill: none; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p, 0)); filter: drop-shadow(0 0 6px var(--c1)); }
.process__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 70px; }
.step__node { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: var(--bg); border: 1px solid var(--line-strong); color: var(--muted); transition: .5s var(--ease); }
.step.is-lit .step__node { border-color: var(--c1); color: var(--on-accent); background: var(--c1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c1) 15%, transparent), 0 0 30px var(--c1); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- gallery ---------- */
.work__nav { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.work__all { margin-right: 14px; }
.work__hint { font-size: .72rem; color: var(--muted); margin-right: 10px; text-transform: uppercase; letter-spacing: .12em; }
.work__track { overflow: hidden; padding: 6px 0 10px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.work__track.is-dragging { cursor: grabbing; }
.work__track.is-dragging .work__btn { pointer-events: none; }
.work__rail { display: flex; gap: 18px; width: max-content; will-change: transform; }
.work__item { flex: none; width: clamp(240px, 26vw, 340px); margin: 0; }
.work__btn { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); position: relative; background: linear-gradient(135deg, var(--panel-solid), var(--bg2)); }
.work__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,13,.55), transparent 45%); transition: opacity .4s; }
.work__btn img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); pointer-events: none; }
.work__btn:hover img { transform: scale(1.01); filter: saturate(1.08); }
.work__btn:hover::after { opacity: .4; }
.work__tag { position: absolute; z-index: 1; left: 12px; top: 12px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); background: var(--chip-bg); border: 1px solid var(--line-strong); color: var(--c1); backdrop-filter: blur(6px); }
.work__item figcaption { display: grid; gap: 4px; margin-top: 14px; }
.work__item figcaption b { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -.01em; }
.work__item figcaption span { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.work__item figcaption svg { width: 13px; color: var(--c2); }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(3,4,8,.92); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 30px; animation: swapIn .35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 80vh; border-radius: var(--r-md); box-shadow: 0 40px 100px var(--shadow); }
.lightbox figcaption { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 50px; height: 50px; font-size: 2rem; line-height: 1; border-radius: 50%; border: 1px solid var(--line-strong); }

/* ---------- area ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.area__copy > p { color: var(--muted); }
.area__radar svg { width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.radar-rings circle, .radar-rings path { fill: none; stroke: color-mix(in srgb, var(--c1) 22%, transparent); stroke-width: 1; }
.radar-rings circle:first-child { stroke: color-mix(in srgb, var(--c1) 40%, transparent); }
.radar-sweep { transform-origin: 250px 250px; animation: rot 5s linear infinite; }
.radar-dot { fill: var(--c2); }
.radar-ping { fill: none; stroke: var(--c2); transform-box: fill-box; transform-origin: center; animation: ripple2 2.5s ease-out infinite; animation-delay: var(--d); }
.radar-pt text { font-size: 12px; fill: var(--text); text-anchor: middle; opacity: .85; }
.radar-home circle { fill: var(--c1); }
.radar-home .radar-home__ring { fill: color-mix(in srgb, var(--c1) 20%, transparent); stroke: var(--c1); transform-box: fill-box; transform-origin: center; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.35); opacity: .5; } }
.radar-home text { font-size: 12px; fill: var(--c1); text-anchor: middle; letter-spacing: .2em; font-weight: 600; }
.town-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { font-size: .8rem; padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: color-mix(in srgb, var(--tint) 2%, transparent); transition: .3s; }
.town-list li:hover { border-color: var(--c2); color: var(--c2); }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.faq__grid > div:first-child > p { color: var(--muted); }
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); transition: border-color .3s, background .3s; overflow: hidden; }
.acc[open] { border-color: color-mix(in srgb, var(--c1) 35%, transparent); background: color-mix(in srgb, var(--c1) 4%, var(--panel-solid)); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform .4s var(--ease), background .3s, color .3s; }
.acc summary i svg { width: 16px; }
.acc[open] summary i { transform: rotate(135deg); background: var(--c1); color: var(--on-accent); border-color: var(--c1); }
.acc__body { padding: 0 22px 20px; color: var(--muted); }
.acc__body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(40px, 8vw, 100px) 0 clamp(80px, 10vw, 140px); }
.cta-band__box { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(44px, 6vw, 88px) clamp(24px, 5vw, 70px); text-align: center; border: 1px solid color-mix(in srgb, var(--c1) 25%, transparent); background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--cta-a), var(--cta-b)); }
.cta-band__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .35; }
.cta-band__box .h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.cta-band__box > p:not(.eyebrow) { color: var(--muted); max-width: 560px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 48px 0 24px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--tint) 1.5%, transparent)); }
.footer-net { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 30px; }
.footer-net__map { translate: -30px 0; }
.footer-net__map canvas { display: block; width: 100%; max-width: 100%; aspect-ratio: 1 / .78; cursor: crosshair; touch-action: pan-y; }
.footer-net__side { display: grid; align-content: center; }
.site-footer .brand { flex-direction: column; align-items: flex-start; gap: 14px; }
.site-footer .brand__mark { width: 100px; height: 100px; }
.site-footer .brand--img img { max-height: 100px; }
.site-footer .brand__name { font-size: 1.12rem; }
.site-footer .brand__l2 { color: var(--c1); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 12px 0 0; max-width: 300px; }
.footer-area .eyebrow { margin-bottom: 10px; }
.footer-area__town { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; min-height: 2.3em; }
.footer-area__town span { color: var(--c1); }
.footer-area__contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-area__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); transition: color .3s; }
.footer-area__contact a:hover { color: var(--text); }
.footer-area__contact svg { width: 16px; flex: none; color: var(--c1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.to-top:hover { color: var(--c1); }
.credit a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.credit a:hover { color: var(--c1); border-color: var(--c1); }

/* ---------- floating back-to-top ---------- */
.to-top-fab { position: fixed; z-index: 120; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: var(--chip-bg); border: 1px solid var(--line-strong); box-shadow: 0 14px 34px -14px var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease), border-color .3s, color .3s; }
.to-top-fab[hidden] { display: none; }
.to-top-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top-fab:hover { color: var(--c1); border-color: var(--c1); }
.to-top-fab__ring { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); transform: rotate(-90deg); }
.to-top-fab__ring circle { fill: none; stroke: var(--line); stroke-width: 2.5; }
.to-top-fab__ring .to-top-fab__progress { stroke: var(--c1); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.to-top-fab__arrow { width: 20px; height: 20px; position: relative; animation: bob 2.4s ease-in-out infinite; }
.to-top-fab:hover .to-top-fab__arrow { animation-duration: .9s; }
@keyframes bob { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 80px) 0 clamp(48px, 6vw, 84px); min-height: 52vh; display: flex; align-items: flex-end; }
.page-hero--compact { min-height: 0; padding-bottom: 40px; }
.page-hero .container { position: relative; z-index: 1; }
.hero__canvas--soft { opacity: .3; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.page-hero__glyph { position: absolute; right: -2vw; top: 50%; transform: translateY(-40%); font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 30vw, 28rem); line-height: 1; letter-spacing: -.06em; color: color-mix(in srgb, var(--c1) 6%, transparent); pointer-events: none; user-select: none; z-index: 0; }
.page-hero__title { font-size: clamp(2.3rem, 5vw, 4.3rem); font-weight: 800; letter-spacing: -.035em; max-width: 1000px; line-height: 1; }
.page-hero__text { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 640px; }
.crumbs { display: flex; gap: 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--c1); }

.svc-index { padding: 0 0 40px; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: .92rem; transition: border-color .3s, color .3s; }
.svc-pill:hover { border-color: var(--c1); color: var(--c1); }
.svc-pill__icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--c1) 12%, transparent); color: var(--c1); }
.svc-pill__icon svg { width: 18px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 110px); align-items: center; padding: clamp(48px, 7vw, 92px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-row--flip .svc-row__visual { order: 2; }
.svc-row__copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.svc-row__visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c1) 12%, transparent), transparent 60%), linear-gradient(160deg, var(--panel-solid), var(--bg2)); display: grid; place-items: center; overflow: hidden; }
.svc-row__visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); opacity: .6; }
.svc-row__num { position: absolute; left: 24px; bottom: 20px; font-size: .78rem; color: var(--muted); }
.orbit { position: relative; width: 70%; aspect-ratio: 1; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c1) 28%, transparent); inset: 0; }
.orbit__ring--1 { animation: rot 30s linear infinite; border-style: dashed; }
.orbit__ring--2 { inset: 16%; border-color: color-mix(in srgb, var(--c3) 40%, transparent); animation: rot 20s linear infinite reverse; }
.orbit__ring--3 { inset: 32%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 18%, transparent), transparent 70%); }
.orbit__sat { position: absolute; inset: 0; animation: rot 9s linear infinite; }
.orbit__sat::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 20px var(--c1); }
.orbit__sat--2 { inset: 16%; animation-duration: 6s; animation-direction: reverse; }
.orbit__sat--2::after { background: var(--c2); box-shadow: 0 0 20px var(--c2); width: 9px; height: 9px; margin-left: -4.5px; top: -4.5px; }
.orbit__core { position: absolute; inset: 36%; display: grid; place-items: center; color: var(--c1); border-radius: 50%; background: var(--dev-fill); border: 1px solid color-mix(in srgb, var(--c1) 40%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--c1) 30%, transparent); }
.orbit__core svg { width: 52%; height: 52%; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; color: var(--on-accent); background: var(--c1); margin-top: 1px; }

.promise__grid, .values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise__card, .value-card { padding: 34px 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.promise__card > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--line-strong); color: var(--c2); margin-bottom: 40px; }
.promise__card p, .value-card p { color: var(--muted); margin: 0; }
.value-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-md); color: var(--c1); background: color-mix(in srgb, var(--c1) 10%, transparent); margin-bottom: 40px; }
.value-card__icon svg { width: 32px; }

.about-story__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 7vw, 110px); align-items: center; }
.about-story__copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.badge-ring { position: relative; width: min(380px, 80vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 14%, transparent), transparent 65%); }
.badge-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rot 24s linear infinite; }
.badge-ring text { font-size: 11.5px; letter-spacing: .32em; fill: var(--muted); }
.badge-ring b { display: flex; align-items: baseline; font-family: var(--f-display); font-size: clamp(4rem, 10vw, 7rem); line-height: 1; letter-spacing: -.05em; }
.badge-ring b span { padding: 0 .06em 0 .02em; margin-right: -.04em; background: linear-gradient(120deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-ring small { position: absolute; top: 64%; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.mission { padding-top: 0; }
.mission__box { border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 4%, transparent), transparent); padding: clamp(36px, 7vw, 90px); overflow: hidden; }
.mission__text { margin: 0; font-size: clamp(1.6rem, 3.6vw, 3rem); }

/* contact */
.contact { padding-top: 40px; scroll-margin-top: 90px; }
.contact__grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 22px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.form-card__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.form-card__head .eyebrow { margin: 0; }
.form-progress { flex: 1; max-width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.form-progress span { display: block; height: 100%; width: var(--fp, 0%); background: linear-gradient(90deg, var(--c1), var(--c2)); transition: width .5s var(--ease); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.field { position: relative; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field > input, .field > textarea { width: 100%; font: inherit; color: var(--text); background: color-mix(in srgb, var(--tint) 3%, transparent); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 26px 16px 10px; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical; }
.field textarea { min-height: 130px; }
.field > input:focus, .field > textarea:focus { border-color: var(--c1); background: color-mix(in srgb, var(--c1) 4%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 12%, transparent); }
.field > label { position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transition: .3s var(--ease); transform-origin: left top; }
.field > input:focus + label, .field > input:not(:placeholder-shown) + label, .field > textarea:focus + label, .field > textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--c1); }
.field.is-invalid input { border-color: var(--bad); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.chips-field { border: 0; padding: 0; }
.chips-field legend { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 600; cursor: pointer; transition: .25s; user-select: none; }
.chip span:hover { border-color: var(--c1); }
.chip input:checked + span { background: var(--c1); color: var(--on-accent); border-color: var(--c1); box-shadow: 0 0 20px color-mix(in srgb, var(--c1) 40%, transparent); }
.chip input:focus-visible + span { outline: 2px solid var(--c1); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 16px; border-radius: var(--r-md); background: color-mix(in srgb, var(--bad) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); font-size: .92rem; }
.btn__spinner { display: none; width: 20px; height: 20px; border: 2px solid color-mix(in srgb, var(--on-accent) 25%, transparent); border-top-color: var(--on-accent); border-radius: 50%; animation: rot .7s linear infinite; }
.is-loading .btn__spinner { display: block; }
.is-loading svg { display: none; }
.form-success { text-align: center; padding: 50px 10px; }
.form-success[hidden] { display: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: var(--c1); color: var(--on-accent); margin-bottom: 26px; box-shadow: 0 0 0 12px color-mix(in srgb, var(--c1) 15%, transparent), 0 0 60px var(--c1); animation: pop .7s var(--ease); }
.form-success__icon svg { width: 44px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0); } }
.form-success p { color: var(--muted); }
.contact__side { display: grid; gap: 14px; }
.contact-card { display: grid; gap: 4px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .3s; }
a.contact-card:hover { border-color: color-mix(in srgb, var(--c1) 45%, transparent); }
.contact-card__icon { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: color-mix(in srgb, var(--c1) 10%, transparent); color: var(--c1); margin-bottom: 12px; }
.contact-card__icon svg { width: 22px; }
.contact-card .mono { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-size: 1.12rem; word-break: break-word; }

/* generic content */
.prose { max-width: 780px; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--c1); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-md); height: auto; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--c1); color: var(--muted); }
.prose__media { margin: 0 0 30px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0; font-size: .85rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.post-card a { display: block; padding: 24px; }
.post-card__media { display: block; margin: -24px -24px 20px; aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { font-size: .72rem; color: var(--c1); }
.post-card h2 { font-size: 1.3rem; margin-top: 10px; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.pagination .nav-links { display: flex; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; }
.pagination .current { background: var(--c1); color: var(--on-accent); }
.nf { min-height: 100vh; align-items: center; }
.nf__code { font-size: clamp(8rem, 26vw, 20rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: var(--c1); transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); animation: glitch 2.5s infinite steps(1); mix-blend-mode: screen; }
.glitch::after { color: var(--bad); transform: translate(3px, 0); clip-path: inset(55% 0 0 0); animation: glitch 2s infinite steps(1) reverse; mix-blend-mode: screen; }
@keyframes glitch { 0% { clip-path: inset(0 0 70% 0); } 20% { clip-path: inset(40% 0 30% 0); } 40% { clip-path: inset(80% 0 5% 0); } 60% { clip-path: inset(10% 0 75% 0); } 80% { clip-path: inset(55% 0 20% 0); } }
.alignwide { max-width: 1100px; } .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: .85rem; }
.sticky, .bypostauthor { }


/* ---------- reviews ---------- */
.rating-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.rating-badge { display: grid; gap: 4px; min-width: 170px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .4s var(--ease); }
.rating-badge:hover { border-color: color-mix(in srgb, var(--c1) 45%, transparent); transform: translateY(-3px); }
.rating-badge__src { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rating-badge__score { display: flex; align-items: center; gap: 10px; }
.rating-badge__score b { font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.rating-badge small { color: var(--muted); font-size: .8rem; }
.rating-badge__read { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c1); }
.rating-badge__read svg { width: 16px; }
.stars { position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.stars__bg { color: color-mix(in srgb, var(--muted) 35%, transparent); }
.stars__fg { position: absolute; inset: 0 auto 0 0; width: var(--pct, 100%); overflow: hidden; white-space: nowrap; color: var(--star); }
.rv-marquee { overflow-x: auto; padding: 6px var(--gutter) 14px; scrollbar-width: none; }
.rv-marquee::-webkit-scrollbar { display: none; }
.rv-marquee.is-ready { overflow: hidden; padding: 6px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-track { display: flex; gap: 18px; width: max-content; }
.is-ready .rv-track { animation: marquee calc(var(--n, 4) * 9s) linear infinite; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.rv-card { margin: 0; width: clamp(280px, 30vw, 380px); display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--text); transition: border-color .3s, transform .4s var(--ease); }
a.rv-card:hover { border-color: color-mix(in srgb, var(--c1) 45%, transparent); transform: translateY(-4px); }
.rv-grid .rv-card { width: auto; }
.rv-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-card__src { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 5px 9px; border-radius: var(--pill); border: 1px solid var(--line); }
.rv-card__text { display: -webkit-box; font-size: 1.02rem; line-height: 1.6; flex: 1; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card__by { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.rv-card__by b { font-weight: 700; }
.rv-card__by .mono { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.rv-card__more { color: var(--c1) !important; margin-top: 6px; }
a.rv-card:hover .rv-card__more { text-decoration: underline; text-underline-offset: 3px; }
.rv-invite { display: flex; align-items: center; gap: 24px; padding: 30px; border-radius: var(--r); border: 1px dashed var(--line-strong); background: var(--panel); }
.rv-invite__stars { font-size: 1.6rem; letter-spacing: 3px; color: var(--star); flex: none; }
.rv-invite h3 { margin-bottom: 4px; }
.rv-invite p { margin: 0; color: var(--muted); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.reviews__widget { min-height: 120px; }
.sample-flag { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: var(--pill); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; background: color-mix(in srgb, var(--c2) 18%, transparent); color: var(--c2); vertical-align: middle; }

/* ---------- blog strip ---------- */
.post-card h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.post-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--c1); background: radial-gradient(circle, color-mix(in srgb, var(--c1) 14%, transparent), transparent 70%), var(--bg2); }
.post-card__ph svg { width: 56px; opacity: .7; }
.post-card__media img { transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }

/* ---------- services: recent jobs ---------- */
.svc-row__body { color: var(--muted); }
.svc-row__body p { margin: 0 0 1em; }
.svc-jobs { margin: 6px 0 28px; }
.svc-jobs__label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.svc-jobs__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.svc-job { display: block; margin: 0; }
.svc-job:hover img { border-color: var(--c1); }
.svc-job img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }
.svc-job span { display: block; font-size: .72rem; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.nav { display: none; }
	.burger { display: block; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__console { height: 360px; max-width: 560px; }
	.console-cam { top: 100px; width: 280px; }
	.console-wifi { width: 250px; }
	.console-rack { width: 260px; bottom: 0; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.explorer__ui { grid-template-columns: 1fr; }
	.explorer__tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
	.layer-btn--all, .layer-btn--auto { grid-column: 1 / -1; }
	.explorer__info { grid-column: 1 / -1; min-height: 0; order: 10; }
}
@media (max-width: 860px) {
	body { font-size: 16px; }
	.status-pill__label, .status-pill b, .status-pill__dot { display: none; }
	.status-pill__icon { display: grid; }
	.status-pill { width: 44px; padding: 0; justify-content: center; }
	.section-head--split, .coverage__grid, .area__grid, .faq__grid, .about-story__grid, .contact__grid, .svc-row { grid-template-columns: 1fr; }
	.svc-row--flip .svc-row__visual { order: 0; }
	.svc-row__visual { max-width: 460px; width: 100%; }
	.work__nav { justify-content: flex-start; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.process__cable { display: none; }
	.process__steps { grid-template-columns: 1fr; gap: 0; border-left: 1px dashed var(--line-strong); margin-left: 19px; }
	.step { padding: 0 0 36px 40px; }
	.step__node { left: -20px; }
	.promise__grid, .values__grid, .post-grid { grid-template-columns: 1fr; }
	.rating-badges { justify-content: flex-start; }
	.footer-net { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; }
	.footer-net__map { width: 100%; max-width: 420px; order: -2; translate: none; }
	.footer-net__side { order: -1; justify-items: center; }
	.footer-area__town { min-height: 0; }
	.footer-area__contact { justify-items: center; }
	.site-footer .brand { align-items: center; }
	.footer-brand p { margin-inline: auto; }
	.footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
	.rv-invite { flex-direction: column; align-items: flex-start; }
	.area__radar { order: 2; }
}
@media (max-width: 600px) {
	.site-header .brand__name, .mobile-menu .brand__name { display: inline-grid; gap: 4px; justify-items: stretch; font-size: .92rem; }
	.site-header .brand__l2, .mobile-menu .brand__l2 { display: flex; justify-content: space-between; font-size: 1.08em; }
	.hero__chips { flex-direction: column; gap: 8px; }
	.rating-badges { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
	.rating-badge { min-width: 0; padding: 14px; }
	.rating-badge__read { font-size: .88rem; gap: 6px; white-space: nowrap; }
	.rv-actions { flex-wrap: nowrap; gap: 8px; }
	.rv-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 .6rem; font-size: .8rem; gap: 6px; white-space: nowrap; }
	.rv-actions .btn svg { width: 14px; flex: none; }
	.brand--img img { max-height: 38px; }
	.to-top-fab { width: 46px; height: 46px; }
	.scroll-cue { display: none; }
	.hero { padding-top: calc(var(--header-h) + 40px); }
	.hero__console { height: 300px; }
	.console-wifi { width: 210px; right: 0; top: 0; }
	.console-cam { width: 230px; top: 80px; }
	.console-rack { width: 220px; right: 0; }
	.service-grid { grid-template-columns: 1fr; }
	.service-card { min-height: 0; }
	.service-card__go { display: none; }
	.service-card h3 { margin-top: 26px; }
	.fields { grid-template-columns: 1fr; }
	.explorer__tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
	.layer-btn { padding: 10px; gap: 10px; }
	.layer-btn__switch { display: none; }
	.layer-btn__icon { width: 34px; height: 34px; }
	.layer-btn__label { font-size: .88rem; }
	.bp-corner { display: none; }
	.stat { padding: 30px 16px; }
	.work__item { width: 72vw; }
	.rv-card { width: 80vw; }
	.page-hero { min-height: 0; }
	.cov-tag { font-size: .58rem; bottom: 8px; }
	.cov-tag--l { left: 8px; } .cov-tag--r { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .split .w > span { opacity: 1; transform: none; }
	.grain, .boot { display: none; }
}
