/*
 * IntelliGuards: Netlify reference design, ported to WordPress.
 * Source of truth: reference/netlify/index-original.html (light theme).
 * Classes are prefixed n- to keep them separate from WordPress and theme classes.
 *
 * Deliberate corrections to the reference:
 * - Hero slides share one grid cell, so the hero keeps its height on tablet and mobile.
 * - Amber buttons use navy text (#C97514 with white text fails WCAG AA).
 * - Auto-rotating sliders have a pause control (WCAG 2.2.2).
 * - Orbit nodes are list items rather than focusable divs.
 */

:root {
	/* Aliases onto the theme.json palette (dark IntelliGuards system). */
	--n-bg: var(--wp--preset--color--base);
	--n-bg-2: var(--wp--preset--color--midnight);
	--n-panel: var(--wp--preset--color--surface);
	--n-panel-2: var(--wp--preset--color--surface-2);
	--n-line: var(--wp--preset--color--line);
	--n-line-strong: var(--wp--preset--color--line-strong);
	--n-ink: var(--wp--preset--color--text-1);
	--n-body: var(--wp--preset--color--text-2);
	--n-muted: var(--wp--preset--color--text-3);
	--n-accent: var(--wp--preset--color--violet-deep);
	--n-accent-hi: #6B57F5;
	--n-accent-text: var(--wp--preset--color--periwinkle);
	--n-accent-ink: #FFFFFF;
	--n-violet: var(--wp--preset--color--violet);
	--n-cyan: var(--wp--preset--color--cyan);
	--n-red: var(--wp--preset--color--red);
	--n-blue: var(--wp--preset--color--blue);
	--n-amber: var(--wp--preset--color--amber);
	--n-shadow: 0 24px 48px -28px rgba(0, 0, 0, .7);
	--n-glow: 0 0 0 1px rgba(118, 97, 255, .25), 0 18px 40px -22px rgba(118, 97, 255, .55);
	--n-duo-blend: multiply;
	--n-duo-a: rgba(9, 20, 38, .62);
	--n-duo-b: rgba(118, 97, 255, .34);
	--n-head: var(--wp--preset--font-family--heading);
	--n-mono-f: var(--wp--preset--font-family--mono);
	--n-wrap: 1180px;
	--n-header-h: 72px;
}

/* ---------------------------------------------------------------- Base */

body {
	color: var(--n-body);
	background: var(--n-bg);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4,
.n-h1 {
	color: var(--n-ink);
	font-family: var(--n-head);
}

h3, h4 { }

.n-wrap {
	max-width: var(--n-wrap);
	margin: 0 auto;
	padding: 0 26px;
}

.n-band { padding-block: clamp(70px, 8vw, 116px); }
.n-band--flush { padding-bottom: 0; }
.n-band--top0 { padding-top: 0; }
.n-tint { background: var(--wp--preset--color--navy); }
.n-mono { font-family: var(--n-mono-f); font-size: .76rem; letter-spacing: .04em; }
.n-lede { color: var(--n-body); font-size: 1.06rem; max-width: 62ch; }
.n-lede--gap { margin-top: 18px; }
.n-sec-head { max-width: 60ch; }
.n-sec-head > * { margin-block: 0; }
.n-sec-head h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
.n-sec-head p.n-lede { margin-top: 18px; }
.n-sec-head--gap { margin-bottom: 44px; }
.n-eyebrow { color: var(--n-cyan); margin-bottom: 12px !important; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }

/* WordPress wrappers inside n- sections */
.n-band > .n-sec-head,
.n-band > .wp-block-query { max-width: var(--wp--style--global--wide-size); }
.n-sec-head > * { max-width: 46rem; }
:where(.wp-block-post-content) > .n-band,
:where(.wp-block-post-content) > section { margin-block: 0 !important; }

/* -------------------------------------------------------------- Progress */

.n-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 0;
	background: var(--n-accent);
	z-index: 140;
	transition: width .1s linear;
}

.admin-bar .n-progress { top: var(--wp-admin--admin-bar--height, 0px); }

/* ---------------------------------------------------------------- Header */

.ig-site-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 130;
}

.admin-bar .ig-site-header { top: var(--wp-admin--admin-bar--height, 0px); }

.n-header {
	background: transparent !important;
	border-bottom: 1px solid transparent !important;
	padding-block: 14px;
	transition: background .35s ease, border-color .35s ease, padding .3s ease;
}

.n-bar { min-height: 44px; gap: 20px; }
.n-logo img { width: 193px !important; height: auto; }

body.n-solid .n-header,
.n-header.is-stuck {
	background: color-mix(in srgb, #060910 82%, transparent) !important;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--n-line) !important;
	padding-block: 8px;
}

/* The logo is never filtered: its white wordmark always sits on a dark surface. */

.n-nav .wp-block-navigation-item__content,
.n-nav .wp-block-navigation-submenu__toggle {
	position: relative;
	padding: 4px 0 !important;
	color: #FFFFFF !important;
	opacity: .9;
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
}

body.n-solid .n-nav .wp-block-navigation__container > li > .wp-block-navigation-item__content,
body.n-solid .n-nav .wp-block-navigation__container > li > .wp-block-navigation-submenu__toggle,
.n-header.is-stuck .n-nav .wp-block-navigation__container > li > .wp-block-navigation-item__content,
.n-header.is-stuck .n-nav .wp-block-navigation__container > li > .wp-block-navigation-submenu__toggle {
	color: var(--n-ink) !important;
	opacity: .9;
}

.n-nav .wp-block-navigation__container > li > .wp-block-navigation-item__content::after,
.n-nav .wp-block-navigation__container > li > .wp-block-navigation-submenu__toggle::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background: #FFFFFF;
	transition: width .28s ease;
}

body.n-solid .n-nav .wp-block-navigation__container > li > *::after,
.n-header.is-stuck .n-nav .wp-block-navigation__container > li > *::after { background: var(--n-accent); }

.n-nav .wp-block-navigation__container > li > *:hover { opacity: 1; }
.n-nav .wp-block-navigation__container > li > *:hover::after,
.n-nav .wp-block-navigation__container > li > [aria-expanded="true"]::after { width: 100%; }

.n-nav .wp-block-navigation__submenu-icon { color: inherit; }
body.n-solid .n-nav .wp-block-navigation__submenu-icon,
.n-header.is-stuck .n-nav .wp-block-navigation__submenu-icon { color: var(--n-ink); }

/* Dropdown panels */
.n-nav .wp-block-navigation__submenu-container {
	min-width: 15rem !important;
	padding: 8px !important;
	background: var(--n-panel) !important;
	border: 1px solid var(--n-line) !important;
	border-radius: 10px;
	box-shadow: var(--n-shadow);
	top: calc(100% + 10px) !important;
}

.n-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 9px 12px !important;
	border-radius: 8px;
	color: var(--n-ink) !important;
	opacity: 1;
}

.n-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--n-panel-2);
	color: var(--n-cyan) !important;
}

.n-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }

/* Burger and mobile panel */
.n-nav .wp-block-navigation__responsive-container-open {
	width: 42px;
	height: 40px;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(255, 255, 255, .1);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.n-solid .n-nav .wp-block-navigation__responsive-container-open,
.n-header.is-stuck .n-nav .wp-block-navigation__responsive-container-open {
	border-color: var(--n-line-strong);
	background: var(--n-panel);
	color: var(--n-ink);
}

.n-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 18px 26px 26px !important;
}

.n-nav .is-menu-open .wp-block-navigation-item__content,
.n-nav .is-menu-open .wp-block-navigation-submenu__toggle {
	color: var(--n-ink) !important;
	opacity: 1;
}

.n-nav .is-menu-open .wp-block-navigation-item { border-bottom: 1px solid var(--n-line); }
.n-nav .is-menu-open .wp-block-navigation-submenu__toggle { color: var(--n-cyan) !important; }
.n-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 10px !important; background: transparent !important; }
.n-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 0 !important; font-size: 1.05rem; }
.n-nav .is-menu-open .wp-block-navigation__container > li > *::after { display: none; }

/* IntelliC0N pill */
.n-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	background: var(--n-accent);
	color: var(--n-accent-ink);
	border-radius: 999px;
	padding: 9px 19px;
	font-weight: 700;
	font-size: .85rem;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow .3s ease, transform .2s ease;
}

.n-pill:hover {
	color: var(--n-accent-ink);
	transform: translateY(-1px);
	box-shadow: 0 0 0 7px color-mix(in srgb, var(--n-accent) 16%, transparent);
}

.n-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	animation: n-blink 1.9s ease-in-out infinite;
}

@keyframes n-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.n-actions { gap: 22px !important; }

@media (max-width: 1100px) and (min-width: 900px) {
	.n-nav { gap: 18px !important; }
	.n-pill { padding: 8px 14px; }
}

@media (max-width: 899.98px) {
	.n-actions .n-pill { order: 1; }
	.n-actions .n-nav { order: 2; }
}

@media (max-width: 479.98px) {
	.n-pill { padding: 8px 12px; font-size: .8rem; }
	.n-logo img { width: 150px !important; }
}

/* Page offsets for the fixed header */
body.n-solid main { padding-top: var(--n-header-h); }
.ig-service-hero { padding-top: calc(var(--n-header-h) + clamp(3rem, 6vw, 5.5rem)) !important; }

/* ------------------------------------------------------------------ Hero */

.n-hero {
	position: relative;
	display: grid;
	min-height: min(90vh, 780px);
	background: var(--n-bg);
	overflow: hidden;
}

.n-hslide {
	grid-area: 1 / 1;
	position: relative;
	display: grid;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility .9s;
}

.n-hslide.is-on { opacity: 1; visibility: visible; }

.n-hslide__bg { position: absolute; inset: 0; overflow: hidden; }

.n-hslide__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.4) contrast(1.05);
}

.n-hslide.is-on .n-hslide__bg img { animation: n-kb 9s ease-out forwards; }

@keyframes n-kb { from { transform: scale(1); } to { transform: scale(1.09); } }

.n-hslide__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(70% 90% at 90% 20%, rgba(118, 97, 255, .28), transparent 60%),
		linear-gradient(100deg, rgba(6, 9, 16, .95) 8%, rgba(9, 20, 38, .78) 46%, rgba(25, 22, 56, .5));
}

.n-hslide__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	padding: calc(var(--n-header-h) + 60px) 0 108px;
}

.n-hslide__inner > .n-wrap { width: 100%; }
.n-hbox { max-width: 44rem; }
.n-hbox h1, .n-hbox .n-h1 { margin: 0; color: #FFFFFF; font-family: var(--n-head); font-weight: 600; font-size: clamp(2.2rem, 1.1rem + 3.9vw, 3.8rem); line-height: 1.06; letter-spacing: -.03em; }

.n-hsub {
	margin: 22px 0 0;
	max-width: 56ch;
	font-size: 1.06rem;
	color: rgba(255, 255, 255, .82);
}

.n-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 6px 15px;
	color: var(--n-cyan);
	border: 1px solid rgba(111, 224, 246, .42);
	border-radius: 999px;
	background: rgba(111, 224, 246, .08);
}

.n-btnrow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.n-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 650;
	font-size: .97rem;
	line-height: 1.2;
	transition: transform .2s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, background .25s ease;
}

.n-btn-a { background: var(--n-accent); color: var(--n-accent-ink); }
.n-btn-a:hover { color: var(--n-accent-ink); background: var(--n-accent-hi); transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--n-violet); }
.n-btn-b { border: 1px solid var(--n-line-strong); color: var(--n-ink); background: transparent; }
.n-btn-b:hover { border-color: var(--n-cyan); color: var(--n-cyan); transform: translateY(-2px); }
.n-btn-ghost { border: 1px solid rgba(255, 255, 255, .45); color: #FFFFFF; }
.n-btn-ghost:hover { background: rgba(111, 224, 246, .08); border-color: var(--n-cyan); color: #FFFFFF; transform: translateY(-2px); }

/* Core button blocks styled as n-btn */
.wp-block-button.n-btn-a .wp-block-button__link { background: var(--n-accent); color: var(--n-accent-ink); border-radius: 8px; }
.wp-block-button.n-btn-a .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px var(--n-accent); }
.wp-block-button.n-btn-b .wp-block-button__link { border: 1px solid var(--n-line-strong); color: var(--n-ink); background: transparent; border-radius: 8px; }
.wp-block-button.n-btn-b .wp-block-button__link:hover { border-color: var(--n-cyan); color: var(--n-cyan); transform: translateY(-2px); }

/* Slider controls */
.n-sarrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 6;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(6, 16, 30, .35);
	color: #FFFFFF;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}

.n-sarrow:hover { background: var(--n-accent); border-color: var(--n-accent); color: #FFFFFF; }
.n-sarrow--prev { left: 22px; }
.n-sarrow--next { right: 22px; }
.n-sarrow svg, .n-spause svg, .n-garrow svg, .n-gnav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.n-sctrl {
	position: absolute;
	bottom: 26px;
	left: 0;
	right: 0;
	z-index: 6;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
}

.n-sdots { display: flex; gap: 10px; }

.n-sdots button {
	width: 34px;
	height: 24px;
	padding: 10px 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.n-sdots button::before {
	content: "";
	display: block;
	height: 4px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .35);
	transition: background .3s ease;
}

.n-sdots button { transition: width .3s ease; }
.n-sdots button[aria-current="true"] { width: 52px; }
.n-sdots button[aria-current="true"]::before { background: var(--n-accent); }

.n-spause {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(6, 16, 30, .35);
	color: #FFFFFF;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.n-spause svg { width: 13px; height: 13px; }
.n-ic-play { display: none; }
.is-paused .n-ic-play { display: block; }
.is-paused .n-ic-pause { display: none; }

/* ------------------------------------------------------------- Strip */

.n-strip { border-bottom: 1px solid var(--n-line); padding: 26px 0; overflow: hidden; background: var(--n-bg); }
.n-strip .n-wrap { display: flex; align-items: center; gap: 34px; }
.n-strip__lbl { color: var(--n-body); flex: none; max-width: 190px; line-height: 1.45; }

.n-marquee {
	overflow: hidden;
	flex: 1;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.n-track { display: flex; gap: 52px; width: max-content; animation: n-slide 36s linear infinite; }
.n-strip:hover .n-track, .n-strip:focus-within .n-track { animation-play-state: paused; }
@keyframes n-slide { to { transform: translateX(-50%); } }

.n-track span {
	color: var(--n-muted);
	font-family: var(--n-head);
	font-weight: 600;
	font-size: 1.08rem;
	letter-spacing: -.01em;
	white-space: nowrap;
	transition: opacity .25s;
}

.n-track span:hover { color: var(--n-ink); }

/* ------------------------------------------------------------- Stats */

.n-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--n-line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--n-panel);
	box-shadow: var(--n-shadow);
}

.n-stat { padding: 34px 28px; border-right: 1px solid var(--n-line); }
.n-stat:last-child { border-right: 0; }
.n-num { font-family: var(--n-head); font-size: clamp(2.1rem, 3.6vw, 2.9rem); font-weight: 600; color: var(--n-ink); line-height: 1; letter-spacing: -.03em; }
.n-stat p { margin: 10px 0 0; font-size: .92rem; }

/* ------------------------------------------------------------- Event */

.n-event {
	margin-top: clamp(70px, 8vw, 116px);
	background: linear-gradient(100deg, rgba(118, 97, 255, .22), rgba(111, 224, 246, .08) 58%, transparent), var(--wp--preset--color--indigo);
	border-top: 1px solid var(--n-line);
	border-bottom: 1px solid var(--n-line);
}

.n-event .n-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding-top: 26px; padding-bottom: 26px; }
.n-event__title { margin: 0; font-size: 1.55rem; font-weight: 650; }
.n-event__meta { color: var(--n-body); display: flex; flex-wrap: wrap; gap: 5px 20px; }
.n-event__actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------- Orbit */

.n-orbit-wrap { margin-top: 50px; display: grid; justify-items: center; }
.n-orbit { position: relative; width: min(540px, 92vw); aspect-ratio: 1 / 1; }
.n-orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.n-ring { fill: none; stroke: var(--n-line); stroke-width: .35; }
.n-ring--dash { stroke-dasharray: 1.6 2.6; transform-origin: 50% 50%; animation: n-spin 46s linear infinite; }
.n-ring--rev { animation-duration: 70s; animation-direction: reverse; }
@keyframes n-spin { to { transform: rotate(360deg); } }
.n-spoke { stroke: var(--n-line); stroke-width: .3; transition: stroke .3s, stroke-width .3s; }
.n-spoke.is-on { stroke: var(--n-cyan); stroke-width: .75; }

.n-core {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 23%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--n-cyan) 16%, var(--n-panel)), var(--n-panel));
	border: 1px solid color-mix(in srgb, var(--n-cyan) 40%, transparent);
	display: grid;
	place-items: center;
	color: var(--n-cyan);
}

.n-core::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--n-cyan) 45%, transparent);
	animation: n-pulse 3.2s ease-out infinite;
}

@keyframes n-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.85); opacity: 0; } }
.n-core svg { width: 42%; height: auto; }

.n-nodes { list-style: none; margin: 0; padding: 0; }

.n-node {
	position: absolute;
	transform: translate(-50%, -50%);
	width: 31%;
	min-height: 64px;
	padding: 12px 10px;
	background: var(--n-panel);
	border: 1px solid var(--n-line);
	border-radius: 10px;
	display: grid;
	place-items: center;
	text-align: center;
	font-size: .82rem;
	font-weight: 650;
	line-height: 1.3;
	color: var(--n-ink);
	box-shadow: var(--n-shadow);
	transition: border-color .3s, transform .3s, color .3s;
}

.n-node:hover { border-color: var(--n-cyan); color: var(--n-cyan); transform: translate(-50%, -50%) scale(1.05); }

.n-node-list { display: none; list-style: none; padding: 0; margin: 32px 0 0; width: 100%; }
.n-node-list li { border-left: 2px solid var(--n-cyan); padding: 11px 0 11px 16px; margin-bottom: 11px; font-weight: 650; color: var(--n-ink); }

/* ---------------------------------------------------------- Services */

.n-svc-row {
	display: grid;
	grid-template-columns: 6px 1fr 1.35fr;
	gap: 0 40px;
	align-items: start;
	padding: 44px 0;
	border-bottom: 1px solid var(--n-line);
}

.n-sec-head + .n-svc-row { border-top: 1px solid var(--n-line); }
.n-spine { width: 5px; height: 100%; min-height: 112px; border-radius: 3px; background: var(--c); transition: width .3s, box-shadow .3s; }
.n-svc-row:hover .n-spine { width: 9px; box-shadow: 0 0 20px -3px var(--c); }
.n-team { font-weight: 700; font-size: 1.3rem; color: var(--c); line-height: 1.25; }
.n-sub { color: var(--n-body); margin-top: 5px; font-size: .9rem; }
.n-svc-body h3 { margin: 0 0 11px; font-size: clamp(1.12rem, 1.6vw, 1.38rem); font-weight: 650; }
.n-svc-body p { margin: 0; }

.n-arrowlink {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 18px;
	text-decoration: none;
	font-weight: 650;
	color: var(--n-ink);
	border-bottom: 1px solid var(--n-line);
	padding-bottom: 4px;
	transition: color .25s, border-color .25s, gap .25s;
}

.n-arrowlink:hover { color: var(--c, var(--n-accent-text)); border-color: currentColor; gap: 15px; }
.n-arrowlink svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------------------------------------------------- Split / console */

.n-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.n-split h2 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 2.75rem); }

.n-featlist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.n-featlist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.n-featlist svg { width: 20px; height: 20px; stroke: var(--n-cyan); fill: none; stroke-width: 2; margin-top: 3px; }
.n-featlist b { color: var(--n-ink); font-weight: 650; display: block; }

.n-console { background: var(--n-panel); border: 1px solid var(--n-line); border-radius: 14px; overflow: hidden; box-shadow: var(--n-shadow); }
.n-console__top { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--n-line); color: var(--n-body); }
.n-led { width: 8px; height: 8px; border-radius: 50%; background: var(--n-cyan); box-shadow: 0 0 9px var(--n-cyan); animation: n-blink 2.4s infinite; }
.n-radar-box { padding: 22px 22px 6px; display: flex; justify-content: center; }
.n-radar { width: 100%; max-width: 300px; height: auto; color: var(--n-cyan); }
.n-r-ring { fill: none; stroke: var(--n-line); }
.n-r-axis { stroke: var(--n-line); }
.n-sweep { transform-origin: 160px 160px; animation: n-spin 4.6s linear infinite; }
.n-blip { opacity: 0; animation: n-ping 4.6s linear infinite; }
.n-blip--accent { fill: var(--n-amber); }
.n-blip:nth-of-type(2) { animation-delay: 1.1s; }
.n-blip:nth-of-type(3) { animation-delay: 2.4s; }
.n-blip:nth-of-type(4) { animation-delay: 3.4s; }
@keyframes n-ping { 0% { opacity: 1; } 20% { opacity: .85; } 70% { opacity: 0; } 100% { opacity: 0; } }

.n-feed { border-top: 1px solid var(--n-line); padding: 14px 18px 18px; }
.n-feed__label { color: var(--n-body); margin-bottom: 9px; }
.n-feedlines { list-style: none; margin: 0; padding: 0; height: 76px; overflow: hidden; }
.n-feedlines li { display: flex; gap: 10px; padding: 3px 0; color: var(--n-body); animation: n-slide-in .45s ease both; }
.n-feedlines li b { color: var(--n-ink); font-weight: 500; }
.n-feedlines li i { font-style: normal; color: var(--n-cyan); }
.n-feedlines li.warn i { color: var(--n-amber); }
@keyframes n-slide-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- Steps */

.n-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; counter-reset: n-s; }
.n-step { padding: 0 26px; border-left: 1px solid var(--n-line); }
.n-step:first-child { padding-left: 0; border-left: 0; }
.n-step::before {
	counter-increment: n-s;
	content: "0" counter(n-s);
	display: block;
	font-family: var(--n-mono-f);
	font-size: .78rem;
	color: var(--n-cyan);
	margin-bottom: 14px;
	letter-spacing: .08em;
}
.n-step h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 650; line-height: 1.3; }
.n-step p { margin: 0; font-size: .94rem; }
.n-steps__after { margin: 40px 0 0; max-width: 70ch; font-size: .97rem; }
.n-steps__after .n-arrowlink { margin-top: 10px; }

/* ----------------------------------------------------------- Gallery */

.n-gal { position: relative; margin-top: 44px; }
.n-gtrack { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.n-gtrack::-webkit-scrollbar { display: none; }
.n-gitem { flex: 0 0 calc((100% - 40px) / 3); margin: 0; scroll-snap-align: start; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--n-line); box-shadow: var(--n-shadow); }
.n-gitem img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; filter: grayscale(1) contrast(1.05); transition: transform .6s ease, filter .5s ease; }
.n-gitem:hover img { transform: scale(1.06); filter: grayscale(.2) contrast(1.05); }
.n-gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--n-duo-a), var(--n-duo-b)); mix-blend-mode: var(--n-duo-blend); pointer-events: none; transition: opacity .4s ease; }
.n-gitem:hover::after { opacity: .55; }
.n-gcap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; color: #FFFFFF; font-weight: 650; background: linear-gradient(transparent, rgba(6, 16, 30, .85)); }
.n-gnav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.n-gnav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--n-line); background: var(--n-panel); color: var(--n-ink); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.n-gnav button:hover { border-color: var(--n-accent); color: var(--n-accent-text); }

/* ------------------------------------------------------- Industries */

.n-inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.n-ind { display: block; background: var(--n-panel); border: 1px solid var(--n-line); border-radius: 12px; padding: 26px; color: var(--n-body); text-decoration: none; transition: border-color .3s, transform .3s, box-shadow .3s; }
.n-ind:hover { border-color: var(--n-cyan); transform: translateY(-4px); box-shadow: var(--n-shadow); color: var(--n-body); }
.n-ind svg { width: 24px; height: 24px; stroke: var(--n-cyan); fill: none; stroke-width: 1.7; margin-bottom: 16px; }
.n-ind h3 { margin: 0 0 7px; font-size: 1.02rem; font-weight: 650; line-height: 1.3; }
.n-ind p { margin: 0; font-size: .92rem; }

/* ----------------------------------------------------------- Offices */

.n-offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.n-office { display: flex; flex-direction: column; background: var(--n-panel); border: 1px solid var(--n-line); border-radius: 12px; padding: 24px; transition: border-color .3s, transform .3s; }
.n-office:hover { border-color: var(--n-accent); transform: translateY(-4px); }
.n-city { font-weight: 700; font-size: 1.12rem; color: var(--n-ink); line-height: 1.3; }
.n-addr { font-size: .9rem; margin-top: 7px; flex: 1; }
.n-clock { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--n-line); display: flex; align-items: center; justify-content: space-between; color: var(--n-cyan); }

/* ------------------------------------------------------ Quote slider */

.n-tslider { position: relative; margin-top: 44px; background: var(--n-panel); border: 1px solid var(--n-line); border-radius: 16px; padding: clamp(32px, 4vw, 52px); box-shadow: var(--n-shadow); overflow: hidden; }
.n-tstage { display: grid; }
.n-tslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.n-tslide.is-on { opacity: 1; visibility: visible; transform: none; }
.n-tslide blockquote { margin: 0; color: var(--n-ink); font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.5; max-width: 52ch; }
.n-who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.n-mono-av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; background: color-mix(in srgb, var(--n-cyan) 14%, transparent); color: var(--n-cyan); border: 1px solid color-mix(in srgb, var(--n-cyan) 35%, transparent); font-size: .95rem; }
.n-who b { color: var(--n-ink); display: block; font-weight: 650; font-size: .96rem; }
.n-who b a { color: inherit; text-decoration: none; }
.n-who b a:hover { color: var(--n-accent-text); text-decoration: underline; }
.n-who small { font-size: .85rem; }
.n-tnav { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.n-tdots { display: flex; gap: 8px; margin-right: auto; }
.n-tdots button { width: 26px; height: 24px; padding: 10px 0; border: 0; background: transparent; cursor: pointer; transition: width .3s; }
.n-tdots button::before { content: ""; display: block; height: 4px; border-radius: 3px; background: var(--n-line); transition: background .3s; }
.n-tdots button[aria-current="true"] { width: 40px; }
.n-tdots button[aria-current="true"]::before { background: var(--n-accent); }
.n-garrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--n-line); background: var(--n-bg); color: var(--n-ink); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, color .25s; }
.n-garrow:hover { border-color: var(--n-accent); color: var(--n-accent-text); }
.n-garrow svg { width: 17px; height: 17px; }

/* ----------------------------------------------------- Resource cards */

.n-cards { gap: 22px !important; margin-top: 44px !important; }
.n-card { height: 100%; display: flex; flex-direction: column; background: var(--n-panel); border: 1px solid var(--n-line); border-radius: 14px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.n-card:hover { transform: translateY(-5px); border-color: var(--n-accent); box-shadow: var(--n-shadow); }
.n-card > * { margin: 0 !important; }
.n-card__thumb { position: relative; overflow: hidden; }
.n-card__thumb img { filter: grayscale(1) contrast(1.05); transition: transform .5s ease; }
.n-card:hover .n-card__thumb img { transform: scale(1.05); }
.n-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--n-duo-a), var(--n-duo-b)); mix-blend-mode: var(--n-duo-blend); pointer-events: none; }
.n-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.n-card__body > * { margin: 0; }
.n-card__kind a { color: var(--n-accent-text); text-decoration: none; }
.n-card__kind { margin-bottom: 10px !important; }
.n-card .wp-block-post-title { margin-bottom: 9px; font-size: 1.02rem; font-weight: 650; line-height: 1.3; }
.n-card .wp-block-post-title a { color: var(--n-ink); text-decoration: none; }
.n-card .wp-block-post-excerpt { flex: 1; display: flex; flex-direction: column; font-size: .92rem; }
.n-card .wp-block-post-excerpt__excerpt { flex: 1; margin: 0; }
.n-card .wp-block-post-excerpt__more-text { margin: 16px 0 0; }
.n-card .wp-block-post-excerpt__more-link { color: var(--n-ink); font-weight: 650; font-size: .9rem; text-decoration: none; }
.n-card .wp-block-post-excerpt__more-link:hover { color: var(--n-accent-text); text-decoration: underline; }

/* --------------------------------------------------------------- CTA */

.n-cta { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; border-radius: 16px; overflow: hidden; border: 1px solid var(--n-line); background: var(--n-panel); }
.n-cta > * { margin: 0 !important; }
.n-cta__txt { padding: clamp(34px, 4vw, 58px); }
.n-cta__txt h2 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
.n-cta__txt .n-lede { margin-top: 16px; }
.n-duo { position: relative; overflow: hidden; margin: 0; }
.n-duo img { width: 100%; height: 100% !important; min-height: 300px; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.n-duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--n-duo-a), var(--n-duo-b)); mix-blend-mode: var(--n-duo-blend); pointer-events: none; }

/* ----------------------------------------------------------- Contact */

.n-cgrid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.n-cgrid > * { margin: 0 !important; }
.n-cgrid h2 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
.n-cmeta { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.n-cmeta li { display: grid; grid-template-columns: 20px 1fr; gap: 13px; align-items: center; }
.n-cmeta svg { width: 18px; height: 18px; stroke: var(--n-cyan); fill: none; stroke-width: 1.8; }
.n-cmeta a { text-decoration: none; color: var(--n-ink); font-weight: 500; }
.n-cmeta a:hover { color: var(--n-accent-text); text-decoration: underline; }

/* Netlify field styling for the IntelliGuards Core forms */
.ig-form-wrap { background: transparent; border: 0; padding: 0; }
.ig-field label { font-size: .83rem; color: var(--n-body); font-weight: 500; }
.ig-field input:not([type="checkbox"]),
.ig-field select,
.ig-field textarea { background: var(--n-bg); color: var(--n-ink); border: 1px solid var(--n-line-strong); border-radius: 7px; padding: 13px 14px; font-size: .95rem; transition: border-color .25s, box-shadow .25s; }
.ig-field input:focus-visible,
.ig-field select:focus-visible,
.ig-field textarea:focus-visible { outline: none; border-color: var(--n-cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-cyan) 20%, transparent); }
.ig-form__submit { background: var(--n-accent) !important; color: var(--n-accent-ink) !important; border-radius: 8px; padding: 14px 30px; font-weight: 650; transition: transform .2s ease, box-shadow .25s ease; }
.ig-form__submit:hover { background: var(--n-accent-hi) !important; transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--n-violet); }
.ig-field--check input { accent-color: var(--n-violet); }

/* ------------------------------------------------------------- Footer */

.n-footer { border-top: 1px solid var(--n-line); padding: 64px 26px 32px !important; background: radial-gradient(80% 120% at 0% 0%, rgba(118, 97, 255, .10), transparent 60%), var(--n-bg) !important; color: var(--n-body); }
.n-fgrid { display: grid; grid-template-columns: 1.5fr 2.5fr; gap: 48px; }
.n-flogo img { height: 42px; width: auto; }
.n-fbrand p { margin: 18px 0 0; font-size: .93rem; max-width: 36ch; }
.n-faddr a { color: var(--n-ink); }
.n-flinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; }
.n-fcol__title { font-family: var(--n-mono-f); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; color: var(--n-cyan); font-weight: 500; }
.n-fcol a { display: block; text-decoration: none; color: var(--n-body); font-size: .91rem; padding: 4px 0; transition: color .25s; }
.n-fcol a:hover { color: var(--n-accent-text); }
.n-social { display: flex; gap: 12px; margin-top: 22px; }
.n-social a { width: 38px; height: 38px; border: 1px solid var(--n-line); border-radius: 50%; display: grid; place-items: center; transition: border-color .25s, transform .25s; }
.n-social a:hover { border-color: var(--n-accent); transform: translateY(-2px); }
.n-social svg { width: 17px; height: 17px; fill: var(--n-body); }
.n-social a:hover svg { fill: var(--n-accent-text); }
.n-copy { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--n-line); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: .85rem; }
.n-legal { margin-left: auto; display: flex; gap: 20px; }
.n-copy a { color: var(--n-body); text-decoration: none; display: inline-block; padding-block: 3px; }
.n-copy a:hover { color: var(--n-accent-text); }

/* ------------------------------------------------------------- Reveal */

.n-js .n-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.n-js .n-reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------- Responsive */

@media (max-width: 1040px) {
	.n-stats { grid-template-columns: repeat(2, 1fr); }
	.n-stat:nth-child(2) { border-right: 0; }
	.n-stat:nth-child(1), .n-stat:nth-child(2) { border-bottom: 1px solid var(--n-line); }
	.n-steps { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
	.n-step:nth-child(3) { padding-left: 0; border-left: 0; }
	.n-offices, .n-inds { grid-template-columns: repeat(2, 1fr); }
	.n-cards { grid-template-columns: repeat(2, 1fr) !important; }
	.n-gitem { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 980px) {
	.n-split, .n-cgrid, .n-fgrid, .n-cta { grid-template-columns: 1fr; }
	.n-hero { min-height: 0; }
	.n-hslide__inner { padding: calc(var(--n-header-h) + 48px) 0 96px; }
	.n-duo img { min-height: 230px; }
	.n-sarrow { display: none; }
	.n-strip .n-wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
	.n-strip__lbl { max-width: none; }
}

@media (max-width: 720px) {
	.n-orbit { display: none; }
	.n-node-list { display: block; }
	.n-svc-row { grid-template-columns: 5px 1fr; gap: 0 22px; }
	.n-svc-head, .n-svc-body { grid-column: 2; }
	.n-spine { grid-row: 1 / span 2; }
	.n-svc-body { margin-top: 16px; }
	.n-stats, .n-steps, .n-offices, .n-inds { grid-template-columns: 1fr; }
	.n-cards { grid-template-columns: 1fr !important; }
	.n-stat { border-right: 0; border-bottom: 1px solid var(--n-line); }
	.n-stat:last-child { border-bottom: 0; }
	.n-step { padding-left: 0; border-left: 0; }
	.n-gitem { flex-basis: 86%; }
	.n-flinks { grid-template-columns: repeat(2, 1fr); }
	.n-event__actions { margin-left: 0; }
	.n-legal { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.n-track, .n-ring--dash, .n-sweep, .n-blip, .n-dot, .n-led, .n-core::after,
	.n-hslide.is-on .n-hslide__bg img { animation: none !important; }
	.n-blip { opacity: 1; }
	.n-js .n-reveal { opacity: 1; transform: none; }
	.n-gtrack { scroll-behavior: auto; }
}

/* Header spacing matches the reference (24px between links). */
.n-nav,
.n-nav .wp-block-navigation__container { gap: 24px !important; }
.n-nav .wp-block-navigation__submenu-icon { margin-left: 4px; }

/* Match the reference .wrap: 1180px including 26px gutters (1128px content). */
.n-header > .n-bar,
.n-footer > * { max-width: 1128px !important; }

/* The reference centres the 44rem copy box inside the wrap on wide screens. */
.n-hslide .n-hbox { margin-inline: auto; }
@media (max-width: 980px) { .n-hslide .n-hbox { margin-inline: 0; } }

/* Block layout margins must not cancel the gap above the event band. */
.wp-block-post-content > .n-event { margin-top: clamp(70px, 8vw, 116px) !important; }
@media (max-width: 980px) { .n-event__actions { margin-left: 0; } }

/* Phones: the IntelliC0N pill moves into the menu so the toggle stays visible. */
@media (max-width: 600px) { .n-header .n-pill { display: none; } }
@media (max-width: 720px) { .n-flinks { row-gap: 30px; } }

/* The overlay menu is dark, matching the header. */
.n-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: var(--n-ink); }
.n-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--n-bg) !important; color: var(--n-ink) !important; }
.n-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible { outline: 2px solid var(--n-accent); outline-offset: 3px; }

/* Ledes share the heading's left edge: they keep the layout width and limit
   the line length with a single grid column instead of a centred box. */
.ig-section__lead:not(:has(*)),
.ig-article-standfirst > p:not(:has(*)) {
	display: grid;
	grid-template-columns: minmax(0, 40rem);
}
/* Ledes with inline links or emphasis keep a plain 40rem box. */
.ig-section__lead:has(*),
.ig-article-standfirst:has(> p *) { max-width: 40rem; }

/* Footer built from core blocks ------------------------------------------- */
.n-fbrand > * { margin-block: 0; }
.n-fbrand > * + * { margin-top: 18px; }
.n-flogo { margin: 0; line-height: 0; }
.n-flogo img { width: 226px; max-width: 100%; height: auto; aspect-ratio: 322 / 60; }
.n-fcol > * { margin-block: 0; }
.n-fnav .wp-block-navigation__container { gap: 0 !important; align-items: flex-start; }
.n-fnav .wp-block-navigation-item__content { display: block; padding: 5px 0 !important; color: var(--n-body); font-size: .92rem; text-decoration: none; }
.n-fnav .wp-block-navigation-item__content:hover { color: var(--n-ink); }
.n-social { gap: 12px !important; }
.n-social .wp-social-link { background: transparent !important; color: var(--n-body) !important; border: 1px solid var(--n-line-strong); border-radius: 50%; transition: border-color .25s, color .25s, transform .25s; }
.n-social .wp-social-link a { width: 38px; height: 38px; display: grid; place-items: center; padding: 0 !important; border: 0; }
.n-social .wp-social-link svg { width: 17px; height: 17px; fill: currentColor; }
.n-social .wp-social-link:hover { border-color: var(--n-violet); color: var(--n-ink) !important; transform: translateY(-2px); }
.n-copy > * { margin: 0; }
.n-copy { color: var(--n-muted); }

/* =====================================================================
 * Homepage built from core blocks (patterns/home.php)
 * =================================================================== */

/* Visual chapters: distinct dark surfaces with controlled lighting. */
.n-ch-base { background: radial-gradient(60% 50% at 100% 0%, rgba(118, 97, 255, .08), transparent 60%), var(--wp--preset--color--base) !important; }
.n-ch-midnight { background: linear-gradient(180deg, var(--wp--preset--color--midnight), #0B1830) !important; }
.n-ch-navy { background: radial-gradient(70% 60% at 0% 0%, rgba(110, 184, 241, .09), transparent 60%), var(--wp--preset--color--navy) !important; }
.n-ch-indigo { background: var(--wp--preset--gradient--indigo-glow) !important; }
.n-ch-plum { background: radial-gradient(60% 70% at 100% 100%, rgba(111, 224, 246, .08), transparent 60%), var(--wp--preset--color--plum) !important; }
.n-ch-grid {
	position: relative;
	background: var(--wp--preset--color--base) !important;
	isolation: isolate;
}
.n-ch-grid::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(157, 168, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 168, 255, .06) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 60%, #000, transparent 75%);
	mask-image: radial-gradient(ellipse 55% 60% at 50% 60%, #000, transparent 75%);
	pointer-events: none;
}

/* n-wrap inside a constrained section: the section already sets width and gutters. */
.is-layout-constrained > .n-wrap { max-width: var(--wp--style--global--wide-size); padding-inline: 0; }
.n-strip { padding-block: 26px !important; padding-inline: 26px; border-bottom: 1px solid var(--n-line); }

/* Hero */
.n-hero > .n-hslide { margin: 0 !important; }
.n-hslide__bg { margin: 0 !important; }
.n-hbox > * { margin-block: 0; }
.n-hbox > .n-kicker { margin-bottom: 22px; }
.n-hbox > .n-hsub { margin-top: 22px; }
.n-hbox > .n-btnrow { margin-top: 32px; }
.n-hslide__inner > .n-wrap { margin: 0 auto; }
.wp-block-buttons.n-btnrow { gap: 14px; }
.wp-block-button.n-btn-ghost .wp-block-button__link, .wp-block-button.is-style-outline.n-btn-b .wp-block-button__link { padding: 13px 25px; }
.wp-block-button.n-btn-ghost .wp-block-button__link { border: 1px solid rgba(255, 255, 255, .45); color: #FFFFFF; background: transparent; border-radius: 8px; }
.wp-block-button.n-btn-ghost .wp-block-button__link:hover { background: rgba(111, 224, 246, .08); border-color: var(--n-cyan); color: #FFFFFF; transform: translateY(-2px); }
.wp-block-button.n-btn-a .wp-block-button__link:hover { background: var(--n-accent-hi); color: #FFFFFF; }
.wp-block-button .wp-block-button__link { transition: transform .2s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease; }

/* Partner marquee (a core list) */
ul.n-track { list-style: none; margin: 0; padding: 0; }
.n-track > li {
	color: var(--n-muted);
	font-family: var(--n-head);
	font-weight: 600;
	font-size: 1.08rem;
	letter-spacing: -.01em;
	white-space: nowrap;
	transition: color .25s;
}
.n-track > li:hover { color: var(--n-ink); }
.n-strip__lbl { margin: 0; }
.n-marquee { margin: 0 !important; }

/* Facts */
.n-stat > * { margin: 0; }
.n-stat > p:not(.n-num) { margin-top: 10px; font-size: .92rem; }
.n-stat > p.n-num { margin: 0; font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1; }
.n-stats { background: linear-gradient(180deg, var(--n-panel), #121E33); }

/* IntelliC0N band */
.n-event { padding-inline: 26px; border-color: rgba(118, 97, 255, .35) !important; }
.n-event__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding-block: 26px; }
.n-event__text > * { margin: 0; }
ul.n-event__meta { list-style: none; padding: 0; margin: 6px 0 0 !important; display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--n-body); }
.wp-block-buttons.n-event__actions { margin-left: auto; gap: 12px; }
.n-event__title { color: var(--n-ink); }

/* Services rows: the colour spine is a pseudo-element, the colour a class. */
.n-c-red { --c: var(--n-red); }
.n-c-blue { --c: var(--n-blue); }
.n-c-cyan { --c: var(--n-cyan); }
.n-c-violet { --c: var(--wp--preset--color--periwinkle); }
.n-svc-row { margin-block: 0 !important; }
.n-svc-row::before { content: ""; width: 5px; height: 100%; min-height: 112px; border-radius: 3px; background: var(--c); transition: width .3s, box-shadow .3s; }
.n-svc-row:hover::before { width: 9px; box-shadow: 0 0 22px -2px var(--c); }
.n-svc-head > *, .n-svc-body > * { margin: 0; }
.n-svc-body h3 { margin-bottom: 11px; }
.n-team { font-family: var(--n-head); font-weight: 600; letter-spacing: -.015em; }

/* Arrow links (a paragraph holding one link) */
p.n-arrowlink { display: block; margin: 18px 0 0; padding: 0; border: 0; }
p.n-arrowlink a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--n-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--n-line-strong);
	padding-bottom: 4px;
	transition: color .25s, border-color .25s, gap .25s;
}
p.n-arrowlink a::after { content: "\2192"; }
p.n-arrowlink a:hover { color: var(--c, var(--n-cyan)); border-color: currentColor; gap: 15px; }

/* Platform feature list (a core list) */
ul.n-featlist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
ul.n-featlist > li { display: block; position: relative; padding-left: 36px; }
ul.n-featlist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	background: var(--n-cyan);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3l8 3.5v6c0 5-3.4 8.9-8 10.2C7.4 21.4 4 17.5 4 12.5v-6z'/%3E%3Cpath d='M8.8 12.3l2.4 2.4 4.4-4.7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3l8 3.5v6c0 5-3.4 8.9-8 10.2C7.4 21.4 4 17.5 4 12.5v-6z'/%3E%3Cpath d='M8.8 12.3l2.4 2.4 4.4-4.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
ul.n-featlist strong { display: block; color: var(--n-ink); font-weight: 600; }
.n-split > * { margin: 0 !important; }
.n-split .n-reveal > * { margin-block: 0; }
.n-split .n-reveal > ul.n-featlist { margin-top: 26px; }
.n-split .n-reveal > p.n-arrowlink { margin-top: 22px; }
.n-split h2 + .n-lede { margin-top: 18px; }

/* Steps */
.n-step > * { margin: 0; }
.n-step h3 { margin-bottom: 8px; }
.n-steps__after a { color: var(--n-cyan); font-weight: 600; }

/* Gallery (a core gallery) */
.wp-block-gallery.n-gtrack {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 20px !important;
	margin: 0 !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 6px;
	scrollbar-width: none;
}
.wp-block-gallery.n-gtrack::-webkit-scrollbar { display: none; }
.wp-block-gallery.n-gtrack > figure.wp-block-image {
	flex: 0 0 calc((100% - 40px) / 3) !important;
	width: auto !important;
	margin: 0 !important;
	scroll-snap-align: start;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--n-line);
	box-shadow: var(--n-shadow);
}
.wp-block-gallery.n-gtrack > figure.wp-block-image img {
	aspect-ratio: 4 / 3;
	width: 100% !important;
	height: auto !important;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transition: transform .6s ease, filter .5s ease;
}
.wp-block-gallery.n-gtrack > figure.wp-block-image:hover img { transform: scale(1.06); filter: grayscale(.2) contrast(1.05); }
.wp-block-gallery.n-gtrack > figure.wp-block-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--n-duo-a), var(--n-duo-b)); mix-blend-mode: var(--n-duo-blend); pointer-events: none; transition: opacity .4s ease; }
.wp-block-gallery.n-gtrack > figure.wp-block-image:hover::after { opacity: .55; }
.wp-block-gallery.n-gtrack > figure.wp-block-image figcaption {
	z-index: 2;
	margin: 0 !important;
	padding: 18px !important;
	max-height: none !important;
	color: #FFFFFF !important;
	font-family: var(--n-head);
	font-size: 1rem !important;
	font-weight: 600;
	text-align: left !important;
	background: linear-gradient(transparent, rgba(6, 9, 16, .9)) !important;
}

/* Question cards: the whole card is the link (stretched). */
.n-inds { counter-reset: n-ind; }
.n-ind { position: relative; margin: 0 !important; }
.n-ind > * { margin: 0; }
.n-ind::before { counter-increment: n-ind; content: "0" counter(n-ind); display: block; margin-bottom: 16px; font-family: var(--n-mono-f); font-size: .76rem; letter-spacing: .08em; color: var(--n-cyan); }
.n-ind h3 { margin-bottom: 8px; }
.n-ind h3 a { color: var(--n-ink); text-decoration: none; }
.n-ind h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.n-ind:has(a:focus-visible) { outline: 2px solid var(--n-cyan); outline-offset: 3px; }
.n-ind h3 a:focus-visible { outline: none; }

/* Why cards */
.n-offices { counter-reset: n-why; }
.n-office { margin: 0 !important; background: rgba(9, 20, 38, .55); border-color: rgba(157, 168, 255, .18); }
.n-office > * { margin: 0; }
.n-office .n-city { font-family: var(--n-head); font-weight: 600; letter-spacing: -.01em; }
.n-office .n-addr { margin-top: 8px; }
.n-office .n-clock::after { counter-increment: n-why; content: "0" counter(n-why); }

/* Buyer-guide question rotator (core quotes) */
.n-tslide .wp-block-quote { margin: 0; padding: 0; border: 0; }
.n-tslide .wp-block-quote p {
	margin: 0;
	color: var(--n-ink);
	font-family: var(--n-head);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.4;
	letter-spacing: -.015em;
	max-width: 46ch;
}
.n-tslide .wp-block-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .9rem; }
.n-tslide .wp-block-quote cite a { color: var(--n-accent-text); }
.n-tslide .wp-block-quote cite a:hover { color: var(--n-cyan); }
.n-tslider { background: linear-gradient(160deg, rgba(118, 97, 255, .14), transparent 55%), var(--n-panel); }
.n-tslider > * { margin: 0 !important; }
.n-tslider .n-tnav { margin-top: 28px !important; }

/* CTA and contact */
.n-cta { background: linear-gradient(120deg, rgba(118, 97, 255, .16), transparent 60%), var(--n-panel); }
.n-cta__txt > * { margin-block: 0; }
.n-cta__txt .n-btnrow { margin-top: 28px; }
.n-duo { margin: 0 !important; }
.n-cgrid > .n-reveal > * { margin-block: 0; }
ul.n-cmeta { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
ul.n-cmeta > li { position: relative; padding-left: 32px; }
ul.n-cmeta > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	background: var(--n-cyan);
	-webkit-mask: var(--ic) center / contain no-repeat;
	mask: var(--ic) center / contain no-repeat;
}
ul.n-cmeta > li:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M3 6h18v12H3z'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
ul.n-cmeta > li:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M12 21s7-5.5 7-11a7 7 0 10-14 0c0 5.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
ul.n-cmeta > li:nth-child(n+3) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
ul.n-cmeta a { color: var(--n-ink); text-decoration: none; font-weight: 500; }
ul.n-cmeta a:hover { color: var(--n-cyan); text-decoration: underline; }
.n-cgrid .ig-form-wrap { background: var(--n-panel); border: 1px solid var(--n-line); padding: clamp(22px, 3vw, 34px); border-radius: 14px; }

/* Orbit on dark */
.n-node { background: var(--n-panel); border-color: rgba(157, 168, 255, .22); }
.n-node:hover { border-color: var(--n-cyan); color: var(--n-cyan); }
.n-core { background: radial-gradient(circle, rgba(118, 97, 255, .35), var(--n-panel) 70%); border-color: rgba(118, 97, 255, .55); color: var(--n-cyan); }
.n-ring, .n-spoke, .n-r-ring, .n-r-axis { stroke: rgba(157, 168, 255, .22); }
.n-spoke.is-on { stroke: var(--n-cyan); }
.n-console { background: linear-gradient(180deg, #121F36, var(--n-panel)); }

@media (max-width: 1040px) {
	.wp-block-gallery.n-gtrack > figure.wp-block-image { flex-basis: calc((100% - 20px) / 2) !important; }
}
@media (max-width: 980px) {
	.wp-block-buttons.n-event__actions { margin-left: 0; }
}
@media (max-width: 720px) {
	.n-svc-row::before { grid-row: 1 / span 2; min-height: 0; }
	.wp-block-gallery.n-gtrack > figure.wp-block-image { flex-basis: 86% !important; }
}

/* Navigation: Manrope semibold for clarity at small sizes. */
.n-nav .wp-block-navigation-item__content,
.n-nav .wp-block-navigation-submenu__toggle { font-family: var(--wp--preset--font-family--body); font-weight: 600 !important; font-size: .92rem; letter-spacing: .005em; }
.n-pill { font-family: var(--wp--preset--font-family--body); font-weight: 700; }
