/* =========================================================================
   NOVAGROWTH — main stylesheet
   Table of contents:
   1. Design tokens          9. Process (dark)          17. Footer
   2. Reset & base          10. Metrics + logos         18. Page hero (inner pages)
   3. Layout utilities      11. Case studies             19. Services / Team / Contact info
   4. Typography            12. Testimonials             20. Filter bar / Pagination
   5. Buttons & eyebrow     13. Insights (blog)          21. Empty state / 404
   6. Image placeholders    14. FAQ accordion            22. Utilities & animations
   7. Header & nav          15. Forms
   8. Hero                  16. CTA banner
   ========================================================================= */

/* 1. DESIGN TOKENS -------------------------------------------------------- */
/* "Mist" (light-dominant) — the palette this edition ships with. It is
   applied unconditionally: header.php hardcodes data-theme="mist" on
   <html>. The :root[data-theme="slate"] block further down is retained
   so the two editions share one identical stylesheet, but it is never
   activated here — the dark palette ships as the separate
   "NovaGrowth — Slate" theme. Every component consumes var(--ng-*), so
   the palette drives the whole design with zero markup changes. */
:root {
	/* Color — Mist */
	--ng-charcoal: #33383A;       /* primary text, soft charcoal (not pure black) */
	--ng-charcoal-soft: #565C5F;  /* secondary text */
	--ng-sage: #7E9A7D;           /* primary accent — links, active states */
	--ng-sage-deep: #5F7C5E;      /* hover/emphasis on sage */
	--ng-gray-light: #E7E9E7;     /* alt section background */
	--ng-blue-pale: #C7D6E0;      /* secondary accent, badges, glass tint */
	--ng-paper: #F4F5F2;          /* primary page background, warm-cool neutral */
	--ng-white: #FFFFFF;
	--ng-line: #DADDD9;           /* hairlines */
	--ng-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18));
	--ng-glass-border: rgba(255, 255, 255, .55);
	--ng-glass-blur: 18px;
	--ng-glass-shadow: 0 8px 32px rgba(51, 56, 58, .10), 0 1px 2px rgba(51, 56, 58, .06);

	/* RGB triplets (for rgba()-composed tints) of tokens above that need
	   an alpha channel somewhere in the stylesheet. */
	--ng-paper-rgb: 244, 245, 242;
	--ng-sage-rgb: 126, 154, 125;
	--ng-sage-deep-rgb: 95, 124, 94;

	/* Fixed "always-dark" accent-band pair — hero, footer, process,
	   final-CTA, inner-page hero and the full-screen mobile nav are
	   deliberately dark in BOTH Mist and Slate (they're brand accent
	   bands, not part of the page's light/dark surface), so they're
	   built from their own charcoal-based tokens rather than
	   --ng-charcoal/--ng-paper, which invert between the two versions. */
	--ng-surface-dark: #2B2F31;
	--ng-surface-dark-rgb: 43, 47, 49;
	--ng-on-dark: #F4F5F2;
	--ng-on-dark-rgb: 244, 245, 242;
	--ng-line-on-dark: rgba(244, 245, 242, .14);

	/* Deprecated aliases — kept so any call site still reading the old
	   token names degrades to a sensible new color instead of a dead
	   reference (grep the theme before removing; --ng-accent-ink is a
	   fixed dark tone, not an alias, since --ng-sage is light-to-mid in
	   both versions and needs a constant dark ink for on-accent text). */
	--ng-accent: var(--ng-sage);
	--ng-accent-ink: #22262A;
	--ng-violet: var(--ng-sage-deep);

	/* Typography — Space Grotesk / Inter with a solid system fallback so
	   the site is fully usable if the Google Fonts request fails. */
	--font-display: 'Space Grotesk', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

	/* Spacing scale */
	--ng-space-1: 4px;
	--ng-space-2: 8px;
	--ng-space-3: 12px;
	--ng-space-4: 16px;
	--ng-space-5: 24px;
	--ng-space-6: 32px;
	--ng-space-7: 48px;
	--ng-space-8: 64px;
	--ng-space-9: 96px;
	--ng-space-10: 128px;

	--ng-container-max: 1280px;
	--ng-gutter: clamp(20px, 5vw, 64px);

	--ng-radius-sm: 8px;
	--ng-radius-md: 16px;
	--ng-radius-lg: 24px;
	--ng-radius-pill: 999px;

	--ng-shadow-card: 0 1px 2px rgba(51, 56, 58, .04), 0 12px 32px rgba(51, 56, 58, .08);
	--ng-shadow-card-hover: 0 2px 4px rgba(51, 56, 58, .06), 0 24px 48px rgba(51, 56, 58, .14);
	--ng-shadow-dark: 0 1px 2px rgba(0, 0, 0, .2), 0 20px 48px rgba(0, 0, 0, .35);

	--ng-ease: cubic-bezier(.16, 1, .3, 1);
	--ng-dur: 240ms;

	--ng-section-pad: clamp(64px, 9vw, 128px);
	--ng-header-h: 88px;
	--ng-header-h-scrolled: 68px;
}

/* "Slate" (dark-dominant) — set via data-theme="slate" on <html> by the
   Customizer control. Overrides only the color tokens above; spacing,
   radius, shadow shape, easing, breakpoints and font tokens are shared. */
:root[data-theme="slate"] {
	--ng-charcoal: #EDEFEE;       /* becomes the primary TEXT color on dark bg */
	--ng-charcoal-soft: #B7BCBA;
	--ng-sage: #9FBE9B;
	--ng-sage-deep: #BEDABA;
	--ng-gray-light: #3A3F42;
	--ng-blue-pale: #AFC9DA;
	--ng-paper: #24272B;          /* primary page background — deep soft charcoal, not pure black */
	--ng-white: #2C3033;          /* "card white" equivalent on dark */
	--ng-line: #3A3F42;
	--ng-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
	--ng-glass-border: rgba(255, 255, 255, .14);
	--ng-glass-blur: 20px;
	--ng-glass-shadow: 0 12px 40px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .25);

	--ng-paper-rgb: 36, 39, 43;
	--ng-sage-rgb: 159, 190, 155;
	--ng-sage-deep-rgb: 190, 218, 186;

	/* The fixed dark accent-band pair still needs to read as "darker
	   than the page" in Slate too, so it gets its own (darker) shade
	   here rather than inheriting the Mist value. --ng-on-dark and
	   --ng-line-on-dark are intentionally NOT overridden — those bands
	   are always dark in both versions, so the light text/hairline on
	   top of them never needs to change. */
	--ng-surface-dark: #1A1C1F;
	--ng-surface-dark-rgb: 26, 28, 31;

	--ng-accent: var(--ng-sage);
	--ng-accent-ink: #22262A;
	--ng-violet: var(--ng-sage-deep);
}

/* 2. RESET & BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}
body {
	margin: 0;
	background: var(--ng-paper);
	color: var(--ng-charcoal);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: fixed; top: -100px; left: 12px; z-index: 9999;
	background: var(--ng-charcoal); color: var(--ng-paper);
	padding: 14px 22px; border-radius: var(--ng-radius-sm);
	font-weight: 600;
	transition: top var(--ng-dur) var(--ng-ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
	outline: 2px solid var(--ng-sage);
	outline-offset: 3px;
	border-radius: 2px;
}
.hero :focus-visible,
.site-header :focus-visible,
.cta-banner--dark :focus-visible,
.process-section :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--ng-sage);
	outline-offset: 3px;
}

/* 3. LAYOUT UTILITIES -------------------------------------------------------- */
.container { max-width: var(--ng-container-max); margin-inline: auto; padding-inline: var(--ng-gutter); }
.container--narrow { max-width: 780px; }
.section { padding-block: var(--ng-section-pad); position: relative; }
.section--alt { background: var(--ng-gray-light); }
.section__intro { max-width: 620px; font-size: 1.1rem; color: var(--ng-charcoal-soft); }
.section__intro--light { color: rgba(var(--ng-on-dark-rgb), .72); }
.section__cta { margin-top: clamp(32px, 4vw, 56px); }

/* Restrained radial sage -> pale-blue mesh glow used behind dark sections. */
.ng-glow {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.ng-glow::before,
.ng-glow::after {
	content: '';
	position: absolute;
	width: 60vw;
	max-width: 720px;
	height: 60vw;
	max-height: 720px;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .28;
}
.ng-glow::before {
	top: -20%;
	left: -10%;
	background: radial-gradient(circle, var(--ng-sage-deep) 0%, transparent 70%);
}
.ng-glow::after {
	bottom: -25%;
	right: -10%;
	background: radial-gradient(circle, var(--ng-blue-pale) 0%, transparent 70%);
	opacity: .18;
}

/* Any image (or its themed placeholder) sitting inside a fixed-ratio
   media wrapper always covers that box completely — uploaded client
   photos of any aspect ratio crop safely via object-fit. */
.ng-img, .ng-placeholder, .ng-image-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* novagrowth_image()'s illustration fallback — an inlined SVG from the
   asset pack, wrapped in .ng-glass (see component 23). Unlike the flat
   .ng-placeholder gradient, the source SVG is a self-contained
   illustration, so it's centered/contained rather than stretched. */
.ng-image-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--ng-space-4);
}
.ng-image-fallback svg {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
}
.ng-image-fallback--square { aspect-ratio: 1 / 1; }

/* 4. TYPOGRAPHY --------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	color: var(--ng-charcoal);
}
.h1 { font-size: clamp(2.4rem, 4vw + 1.2rem, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
.h1--light { color: var(--ng-paper); }
.h2 { font-size: clamp(1.9rem, 2.2vw + 1.1rem, 2.9rem); }
.h2--light { color: var(--ng-paper); }
.h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
h3 { font-size: 1.3rem; }

.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { list-style: revert; margin: 0 0 1em 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: .15em; }
.entry-content img { border-radius: var(--ng-radius-md); }

/* 5. BUTTONS & EYEBROW ---------------------------------------------------------- */
.eyebrow {
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ng-charcoal-soft);
	margin: 0 0 1em;
}
.eyebrow--light { color: var(--ng-sage); }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* Dashicons rendered by novagrowth_service_icon() for _ng_service_icon /
   _ng_step_icon values (the plugin seeds real dashicons-* slugs) sit
   inside the same icon containers as the inline-SVG set above. */
.pillar-card__icon .dashicons,
.process-step__icon .dashicons,
.service-detail__icon .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	line-height: 1;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: var(--ng-space-2);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .95rem;
	padding: 15px 26px;
	border-radius: var(--ng-radius-pill);
	border: 1px solid transparent;
	transition: transform var(--ng-dur) var(--ng-ease), box-shadow var(--ng-dur) var(--ng-ease), background-color var(--ng-dur) var(--ng-ease), color var(--ng-dur) var(--ng-ease), border-color var(--ng-dur) var(--ng-ease);
	white-space: nowrap;
}
.btn .btn__arrow { display: inline-flex; transition: transform var(--ng-dur) var(--ng-ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
	background: var(--ng-sage);
	color: var(--ng-accent-ink);
	box-shadow: var(--ng-shadow-card);
}
.btn--primary:hover { box-shadow: var(--ng-shadow-card-hover); }

.btn--secondary {
	background: var(--ng-charcoal);
	color: var(--ng-paper);
}
.btn--secondary:hover { box-shadow: var(--ng-shadow-card-hover); }

.btn--ghost {
	background: transparent;
	color: var(--ng-charcoal);
	border-color: var(--ng-line);
}
.btn--ghost:hover { border-color: var(--ng-charcoal); }
.btn--ghost.btn--on-dark {
	color: var(--ng-on-dark);
	border-color: rgba(var(--ng-on-dark-rgb), .32);
}
.btn--ghost.btn--on-dark:hover { border-color: var(--ng-sage); color: var(--ng-sage); }

.btn--small { padding: 11px 20px; font-size: .85rem; }

/* 6. IMAGE PLACEHOLDERS ------------------------------------------------------- */
.ng-placeholder {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: var(--ng-space-5);
	overflow: hidden;
}
.ng-placeholder--a { background: linear-gradient(135deg, #14151a 0%, #2c2440 55%, #4d3f7a 100%); }
.ng-placeholder--b { background: linear-gradient(135deg, #10120f 0%, #263a1e 55%, #4a6b2f 100%); }
.ng-placeholder--c { background: linear-gradient(135deg, #12141a 0%, #212a3a 55%, #3a4d6b 100%); }
.ng-placeholder--d { background: linear-gradient(135deg, #16120f 0%, #3a2a1e 55%, #6b4a2f 100%); }
.ng-placeholder--e { background: linear-gradient(135deg, #0f1412 0%, #1e3a30 55%, #2f6b52 100%); }
.ng-placeholder--f { background: linear-gradient(135deg, #14121a 0%, #35244a 55%, #5f7c5e 100%); }
.ng-placeholder__mark {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 85% 12%, rgba(126, 154, 125, .22), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 26px);
}
.ng-placeholder__text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: rgba(var(--ng-on-dark-rgb), .92);
}
.ng-placeholder__text strong {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
}
.ng-placeholder__text em {
	font-style: normal;
	font-size: .78rem;
	color: rgba(var(--ng-on-dark-rgb), .6);
}
.ng-placeholder--square { aspect-ratio: 1 / 1; }

/* 7. HEADER & NAV -------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	height: var(--ng-header-h);
	display: flex;
	align-items: center;
	background: rgba(var(--ng-paper-rgb), .82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: height var(--ng-dur) var(--ng-ease), background-color var(--ng-dur) var(--ng-ease), border-color var(--ng-dur) var(--ng-ease), box-shadow var(--ng-dur) var(--ng-ease), backdrop-filter var(--ng-dur) var(--ng-ease);
}
/* Once scrolled, main.js adds both .is-scrolled (height compress — the
   original behaviour) and .ng-glass (the frosted "mirror" header — see
   component 22b) to #site-header via the same scroll listener, so the
   glass recipe's own background/border/shadow take over here instead of
   a bespoke translucent rule. .ng-glass's border-radius/overflow are
   tuned down to 0 for a full-bleed bar (see the override below). */
.site-header.is-scrolled {
	height: var(--ng-header-h-scrolled);
}
.site-header.ng-glass {
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-top: none;
	/* .ng-glass defaults to overflow:hidden to clip its sheen sweep, but
	   the header's own nav__submenu dropdowns render below its bottom
	   edge (position:absolute; top:100% on .nav__submenu) — keep them
	   from being clipped once the glass state is active. */
	overflow: visible;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ng-space-5);
	width: 100%;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo-img { max-height: 34px; width: auto; }
.site-header__logo-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	color: var(--ng-charcoal);
}

.site-nav__mobile-meta { display: none; }

.nav { display: flex; align-items: center; gap: var(--ng-space-6); }
.nav__item { position: relative; }
.nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	font-size: .95rem;
	padding: 8px 2px;
	color: var(--ng-charcoal-soft);
	transition: color var(--ng-dur) var(--ng-ease);
}
.nav__link:hover, .nav__item.is-current .nav__link { color: var(--ng-charcoal); }
.nav__item.is-current .nav__link { font-weight: 600; }
.nav__item--action .nav__link {
	background: var(--ng-charcoal);
	color: var(--ng-paper);
	padding: 9px 18px;
	border-radius: var(--ng-radius-pill);
}
.nav__item--action .nav__link:hover { background: var(--ng-sage); color: var(--ng-accent-ink); }
.nav__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--ng-white);
	border-radius: var(--ng-radius-sm);
	box-shadow: var(--ng-shadow-card-hover);
	padding: var(--ng-space-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--ng-dur) var(--ng-ease), transform var(--ng-dur) var(--ng-ease), visibility var(--ng-dur);
}
.nav__item--has-children:hover .nav__submenu,
.nav__item--has-children:focus-within .nav__submenu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__submenu .nav__link { padding: 8px 12px; border-radius: 6px; color: var(--ng-charcoal); }
.nav__submenu .nav__link:hover { background: var(--ng-gray-light); }

.site-header__actions { display: flex; align-items: center; gap: var(--ng-space-4); }
.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	position: relative;
	z-index: 620;
}
.site-header__toggle .icon--close { display: none; }
.site-header__toggle:hover { background: var(--ng-gray-light); }

/* Full-screen slide-in mobile nav (< 1024px) — see breakpoints below
   for the mobile-specific presentation of #primary-navigation. */
body.nav-open { overflow: hidden; }

/* 8. HERO ------------------------------------------------------------------------ */
.hero {
	position: relative;
	background: var(--ng-surface-dark);
	color: var(--ng-on-dark);
	padding-block: clamp(96px, 16vw, 200px) clamp(72px, 10vw, 128px);
	overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video, .hero__image { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--ng-surface-dark-rgb), .55) 0%, rgba(var(--ng-surface-dark-rgb), .85) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 820px; }
.hero__subhead {
	font-size: clamp(1.05rem, .5vw + 1rem, 1.3rem);
	color: rgba(var(--ng-on-dark-rgb), .78);
	max-width: 620px;
	margin-bottom: var(--ng-space-6);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--ng-space-4); margin-bottom: var(--ng-space-3); }
.hero__microcopy { font-size: .85rem; color: rgba(var(--ng-on-dark-rgb), .55); margin-bottom: var(--ng-space-6); }
.hero__proof-stat {
	display: inline-flex;
	align-items: center;
	gap: var(--ng-space-2);
	font-size: .9rem;
	color: var(--ng-on-dark);
	background: rgba(var(--ng-on-dark-rgb), .08);
	border: 1px solid rgba(var(--ng-on-dark-rgb), .16);
	padding: 10px 18px;
	border-radius: var(--ng-radius-pill);
}
.hero__proof-stat .icon { color: var(--ng-sage); }

/* Hero background illustration + its literal mirror reflection (see the
   .ng-reflect utility in section 23) — rendered by template-parts/hero.php
   when no hero_bg_image/hero_bg_video_url option is set. */
.hero__mesh.ng-reflect {
	/* .ng-reflect (component 23) defaults to position:relative to give
	   its own ::after reflection a containing block — override back to
	   absolute here since .hero__mesh needs to stay a full-bleed
	   backdrop layer regardless. */
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero__mesh svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 9. DIFFERENTIATION BANNER ------------------------------------------------------- */
/* Version-aware decorative full-width divider (section-divider-mist.svg /
   -slate.svg — see front-page.php) between the Differentiation banner
   and the Pillars section. */
.ng-section-divider {
	display: block;
	width: 100%;
	line-height: 0;
	overflow: hidden;
}
.ng-section-divider svg {
	display: block;
	width: 100%;
	height: auto;
}

.diff-banner { padding-block: clamp(56px, 8vw, 104px); }
.diff-banner__text {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.2vw + 1rem, 2.4rem);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

/* PILLARS ------------------------------------------------------------------------- */
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-6); margin-top: var(--ng-space-7); }
.pillar-card {
	background: var(--ng-white);
	border: 1px solid var(--ng-line);
	border-radius: var(--ng-radius-lg);
	padding: var(--ng-space-6);
	display: flex;
	flex-direction: column;
	gap: var(--ng-space-3);
	transition: transform var(--ng-dur) var(--ng-ease), box-shadow var(--ng-dur) var(--ng-ease);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--ng-shadow-card-hover); }
.pillar-card__icon {
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ng-blue-pale);
	border-radius: var(--ng-radius-md);
	color: var(--ng-charcoal);
	flex-shrink: 0;
}
.pillar-card__icon .icon { width: 24px; height: 24px; }
/* The pillar-card icon slot is a small badge, not the full-bleed card art
   used elsewhere — when novagrowth_image()'s illustration fallback (an
   SVG read via .ng-image-fallback.ng-glass, see template-tags.php) is
   used here instead of a dashicon/inline-icon, size and center it the
   same way rather than letting it stretch to fill like a photo. */
.pillar-card__icon .ng-image-fallback {
	width: 28px;
	height: 28px;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	box-shadow: none;
}
.pillar-card__icon .ng-image-fallback svg {
	width: 100%;
	height: 100%;
}
/* Defensive: if pillar-icon-*.svg isn't on disk yet, novagrowth_image()
   degrades all the way to the flat-gradient .ng-placeholder — keep that
   badge-sized too instead of the cramped full label text. */
.pillar-card__icon .ng-placeholder {
	padding: 4px;
	align-items: center;
	justify-content: center;
}
.pillar-card__icon .ng-placeholder__text { display: none; }
.pillar-card__title { font-size: 1.3rem; margin: 0; }
.pillar-card__outcome { font-weight: 600; color: var(--ng-charcoal); margin: 0; }
.pillar-card__text { color: var(--ng-charcoal-soft); margin: 0; }
.pillar-card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--ng-charcoal);
	padding-top: var(--ng-space-3);
}
.pillar-card__link .btn__arrow { transition: transform var(--ng-dur) var(--ng-ease); }
.pillar-card__link:hover .btn__arrow { transform: translateX(3px); }

/* 10. PROCESS (DARK) --------------------------------------------------------------- */
.process-section {
	background: var(--ng-surface-dark);
	color: var(--ng-on-dark);
}
.process-section .eyebrow { color: var(--ng-sage); }
.process-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ng-space-6);
	margin-top: var(--ng-space-7);
}
.process-step {
	position: relative;
	padding: var(--ng-space-5);
	border: 1px solid var(--ng-line-on-dark);
	border-radius: var(--ng-radius-lg);
	background: rgba(var(--ng-on-dark-rgb), .03);
	transition: transform var(--ng-dur) var(--ng-ease), border-color var(--ng-dur) var(--ng-ease);
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(var(--ng-sage-rgb), .4); }
.process-step__number {
	display: block;
	font-family: var(--font-display);
	font-size: .85rem;
	font-weight: 600;
	color: var(--ng-sage);
	letter-spacing: .1em;
	margin-bottom: var(--ng-space-4);
}
.process-step__icon { display: inline-flex; color: rgba(var(--ng-on-dark-rgb), .5); margin-bottom: var(--ng-space-3); }
.process-step__icon .icon { width: 26px; height: 26px; }
/* When rendered via novagrowth_image()'s process-icon-*.svg illustration
   (see template-parts/process-step.php) instead of the dashicon/inline
   icon set, keep it the same small badge size rather than the full-bleed
   card-art treatment used elsewhere. */
.process-step__icon .ng-image-fallback {
	width: 40px;
	height: 40px;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	box-shadow: none;
	padding: 0;
}
.process-step__icon .ng-image-fallback svg { width: 100%; height: 100%; }
.process-step__icon .ng-placeholder { width: 40px; height: 40px; padding: 4px; align-items: center; justify-content: center; }
.process-step__icon .ng-placeholder__text { display: none; }
.process-step__title { font-size: 1.25rem; color: var(--ng-on-dark); margin: 0 0 .4em; }
.process-step__text { color: rgba(var(--ng-on-dark-rgb), .68); font-size: .95rem; }
.process-step__text p:last-child { margin-bottom: 0; }

/* 11. METRICS + LOGOS --------------------------------------------------------------- */
.metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ng-space-6) var(--ng-space-4);
	text-align: center;
}
.metric-stat { display: flex; flex-direction: column; gap: 6px; }
.metric-stat__number {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3vw + 1rem, 3rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ng-charcoal);
}
.metric-stat__label { color: var(--ng-charcoal-soft); font-size: .92rem; }

.logo-marquee {
	margin-top: var(--ng-space-8);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.logo-marquee__track { display: flex; width: max-content; animation: ng-marquee 34s linear infinite; }
.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track,
.logo-marquee.is-paused .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__set { display: flex; align-items: center; }
.logo-marquee__item { display: flex; align-items: center; justify-content: center; padding: 0 var(--ng-space-7); opacity: .55; transition: opacity var(--ng-dur) var(--ng-ease); }
.logo-marquee__item:hover, .logo-marquee__item:focus-visible { opacity: 1; }
.logo-marquee__img { max-height: 32px; width: auto; filter: grayscale(1); }
.logo-marquee__item:hover .logo-marquee__img { filter: grayscale(0); }
/* novagrowth_image()'s client-logo-*.svg illustration fallback (see
   template-parts/logo-marquee.php) — a small badge, not a full-bleed
   card, and not glassy since it already sits on the logo strip. */
.logo-marquee__img-fallback.ng-image-fallback {
	width: auto;
	height: 32px;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	box-shadow: none;
	padding: 0;
	filter: grayscale(1);
}
.logo-marquee__img-fallback.ng-image-fallback svg { height: 100%; width: auto; }
.logo-marquee__item:hover .logo-marquee__img-fallback.ng-image-fallback { filter: grayscale(0); }
.logo-marquee__text { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ng-charcoal-soft); white-space: nowrap; }
@keyframes ng-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.logo-marquee__track { animation: none; }
	.logo-marquee { overflow-x: auto; }
}

/* 12. CASE STUDIES ------------------------------------------------------------------ */
.case-study-grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-6); margin-top: var(--ng-space-7); }
.case-study-card {
	background: var(--ng-white);
	border-radius: var(--ng-radius-lg);
	overflow: hidden;
	box-shadow: var(--ng-shadow-card);
	transition: transform var(--ng-dur) var(--ng-ease), box-shadow var(--ng-dur) var(--ng-ease);
}
.case-study-card:hover { transform: translateY(-4px); box-shadow: var(--ng-shadow-card-hover); }
.case-study-card__link { display: block; }
.case-study-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--ng-gray-light); }
.case-study-card__tag {
	position: absolute; top: var(--ng-space-3); left: var(--ng-space-3);
	background: rgba(var(--ng-surface-dark-rgb), .72);
	color: var(--ng-on-dark);
	font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--ng-radius-pill);
}
.case-study-card__body { display: flex; flex-direction: column; gap: 6px; padding: var(--ng-space-5); }
.case-study-card__client { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ng-charcoal-soft); }
.case-study-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ng-charcoal); }
.case-study-card__text { color: var(--ng-charcoal-soft); font-size: .92rem; }
.case-study-card__metric { font-size: .88rem; color: var(--ng-charcoal-soft); margin-top: 4px; }
.case-study-card__metric strong { color: var(--ng-charcoal); font-family: var(--font-display); }
.case-study-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: var(--ng-space-2); }
.case-study-card:hover .case-study-card__cta .btn__arrow { transform: translateX(3px); }

.case-study__client { display: flex; align-items: center; gap: var(--ng-space-3); font-weight: 600; font-size: 1.05rem; }
.case-study__client-logo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }

.case-study-metrics .metrics-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ng-space-5); text-align: center; }
.metrics-box__item { display: flex; flex-direction: column; gap: 4px; }
.metrics-box dt { font-family: var(--font-display); font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); font-weight: 700; color: var(--ng-charcoal); }
.metrics-box dd { margin: 0; color: var(--ng-charcoal-soft); font-size: .88rem; }

.case-study-block__grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-4); }
.case-study-block__label { display: flex; align-items: center; gap: var(--ng-space-3); }
.case-study-block__index {
	font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
	color: var(--ng-accent-ink);
	background: var(--ng-sage);
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}
.case-study-block__label h2 { margin: 0; }
.case-study-block__text { color: var(--ng-charcoal-soft); font-size: 1.05rem; max-width: 640px; }
.case-study-block__text p:last-child { margin-bottom: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ng-space-4); }
.gallery-grid__item { display: block; aspect-ratio: 4 / 3; border-radius: var(--ng-radius-md); overflow: hidden; }

.case-study-quote__text { max-width: 760px; margin: 0 auto; text-align: center; }
.case-study-quote__text p { font-family: var(--font-display); font-size: clamp(1.3rem, 1.6vw + 1rem, 1.8rem); font-weight: 500; line-height: 1.4; color: var(--ng-charcoal); }
.case-study-quote__text cite { display: block; margin-top: var(--ng-space-4); font-style: normal; font-weight: 600; color: var(--ng-charcoal-soft); font-size: .9rem; }

.case-study-close__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ng-space-4); }

.filter-bar { display: flex; flex-wrap: wrap; gap: var(--ng-space-2); margin-bottom: var(--ng-space-6); }
.filter-bar__pill {
	padding: 9px 18px;
	border-radius: var(--ng-radius-pill);
	border: 1px solid var(--ng-line);
	font-size: .88rem;
	font-weight: 500;
	color: var(--ng-charcoal-soft);
	transition: all var(--ng-dur) var(--ng-ease);
}
.filter-bar__pill:hover { border-color: var(--ng-charcoal); color: var(--ng-charcoal); }
.filter-bar__pill.is-active { background: var(--ng-charcoal); border-color: var(--ng-charcoal); color: var(--ng-paper); }
.case-study-grid__cell[hidden] { display: none; }

/* 13. TESTIMONIALS ------------------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-6); margin-top: var(--ng-space-7); }
.testimonial-card {
	background: var(--ng-white);
	border: 1px solid var(--ng-line);
	border-radius: var(--ng-radius-lg);
	padding: var(--ng-space-6);
	display: flex;
	flex-direction: column;
	gap: var(--ng-space-4);
}
.testimonial-card__quote-mark { color: var(--ng-sage-deep); }
.testimonial-card__quote-mark .icon { width: 28px; height: 28px; }
.testimonial-card__quote { margin: 0; font-size: 1.05rem; color: var(--ng-charcoal); }
.testimonial-card__quote p:last-child { margin-bottom: 0; }
.testimonial-card__author { display: flex; align-items: center; gap: var(--ng-space-3); margin-top: auto; }
.testimonial-card__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-card__author-text { display: flex; flex-direction: column; }
.testimonial-card__name { font-weight: 600; }
.testimonial-card__role { font-size: .85rem; color: var(--ng-charcoal-soft); }

/* 14. INSIGHTS (BLOG) ----------------------------------------------------------------- */
.insights-grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-6); margin-top: var(--ng-space-7); }
.insights-grid--archive { margin-top: 0; }
.insight-card {
	background: var(--ng-white);
	border-radius: var(--ng-radius-lg);
	overflow: hidden;
	box-shadow: var(--ng-shadow-card);
	transition: transform var(--ng-dur) var(--ng-ease), box-shadow var(--ng-dur) var(--ng-ease);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--ng-shadow-card-hover); }
.insight-card__media { display: block; aspect-ratio: 16 / 10; background: var(--ng-gray-light); }
.insight-card__body { display: flex; flex-direction: column; gap: 4px; padding: var(--ng-space-5); }
.insight-card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ng-sage-deep); }
.insight-card__date { font-size: .78rem; color: var(--ng-charcoal-soft); }
.insight-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ng-charcoal); margin-top: 2px; }
.insight-card__excerpt { font-size: .9rem; color: var(--ng-charcoal-soft); }
.insight-single__meta { color: rgba(var(--ng-on-dark-rgb), .7); }

/* 15. FAQ ACCORDION -------------------------------------------------------------------- */
.accordion { margin-top: var(--ng-space-6); border-top: 1px solid var(--ng-line); }
.accordion__item { border-bottom: 1px solid var(--ng-line); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__trigger {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ng-space-4);
	padding: var(--ng-space-5) var(--ng-space-2);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
}
.accordion__trigger:hover { color: var(--ng-sage-deep); }
.accordion__icon { position: relative; display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; color: var(--ng-charcoal-soft); }
.accordion__icon .icon { position: absolute; inset: 0; transition: opacity var(--ng-dur) var(--ng-ease), transform var(--ng-dur) var(--ng-ease); }
.accordion__icon .icon--minus { opacity: 0; transform: rotate(-90deg); }
.accordion__item[open] .accordion__icon .icon--plus { opacity: 0; transform: rotate(90deg); }
.accordion__item[open] .accordion__icon .icon--minus { opacity: 1; transform: rotate(0); }
.accordion__panel { overflow: hidden; }
.accordion__panel-inner { padding: 0 var(--ng-space-2) var(--ng-space-5); color: var(--ng-charcoal-soft); }
.accordion__panel-inner p:last-child { margin-bottom: 0; }
/* JS enhancement animates height via max-height on .accordion__panel — see main.js */

/* 16. FORMS ------------------------------------------------------------------------------ */
.ng-form { max-width: 720px; }
.ng-form__intro { color: var(--ng-charcoal-soft); margin-bottom: var(--ng-space-4); }
.ng-hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.form-message {
	padding: var(--ng-space-4) var(--ng-space-5);
	border-radius: var(--ng-radius-md);
	margin-bottom: var(--ng-space-5);
}
.form-message--success { background: rgba(var(--ng-sage-rgb), .18); border: 1px solid rgba(var(--ng-sage-rgb), .45); }
.form-message--error { background: rgba(220, 60, 60, .08); border: 1px solid rgba(220, 60, 60, .3); color: #a02c2c; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-4); margin-bottom: var(--ng-space-4); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--ng-charcoal); }
.form-field input, .form-field textarea, .form-field select {
	padding: 13px 16px;
	border: 1px solid var(--ng-line);
	border-radius: var(--ng-radius-sm);
	background: var(--ng-white);
	transition: border-color var(--ng-dur) var(--ng-ease), box-shadow var(--ng-dur) var(--ng-ease);
}
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible {
	outline: none;
	border-color: var(--ng-sage-deep);
	box-shadow: 0 0 0 3px rgba(var(--ng-sage-deep-rgb), .18);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.ng-form__form > .form-field { margin-bottom: var(--ng-space-4); }
.ng-form__form .btn { margin-top: var(--ng-space-2); }

/* 17. CTA BANNER -------------------------------------------------------------------------- */
.cta-banner { text-align: center; }
.cta-banner--dark { background: var(--ng-surface-dark); color: var(--ng-on-dark); }
.cta-banner__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-banner__text { color: rgba(var(--ng-on-dark-rgb), .72); font-size: 1.05rem; }
.cta-banner--light .cta-banner__text { color: var(--ng-charcoal-soft); }
.cta-banner__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ng-space-4); margin-top: var(--ng-space-5); }
.cta-banner__micro { font-size: .82rem; color: rgba(var(--ng-on-dark-rgb), .5); margin-top: var(--ng-space-3); }
.cta-banner--light .cta-banner__micro { color: var(--ng-charcoal-soft); }

/* 18. FOOTER ------------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--ng-surface-dark); color: rgba(var(--ng-on-dark-rgb), .82); padding-top: var(--ng-space-9); overflow: hidden; }
.site-footer__grid {
	position: relative; z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ng-space-7);
	padding-bottom: var(--ng-space-8);
	border-bottom: 1px solid var(--ng-line-on-dark);
}
.site-footer__brand { max-width: 320px; }
.site-footer .site-header__logo-text { color: var(--ng-on-dark); }
.site-footer__tagline { font-family: var(--font-display); font-weight: 600; color: var(--ng-on-dark); margin-top: var(--ng-space-4); }
.site-footer__about { font-size: .9rem; color: rgba(var(--ng-on-dark-rgb), .6); }
.site-footer__col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(var(--ng-on-dark-rgb), .5); margin-bottom: var(--ng-space-4); }
.site-footer__col ul { display: flex; flex-direction: column; gap: var(--ng-space-3); }
.site-footer__col a { font-size: .95rem; transition: color var(--ng-dur) var(--ng-ease); }
.site-footer__col a:hover { color: var(--ng-sage); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .icon { color: var(--ng-sage); margin-top: 3px; }
.site-footer__address span { font-size: .9rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ng-space-3); padding-block: var(--ng-space-5); font-size: .82rem; color: rgba(var(--ng-on-dark-rgb), .45); position: relative; z-index: 1; }

.social-links { display: flex; gap: var(--ng-space-3); margin-top: var(--ng-space-4); }
.social-links a {
	width: 38px; height: 38px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(var(--ng-on-dark-rgb), .18);
	border-radius: 50%;
	transition: all var(--ng-dur) var(--ng-ease);
}
.social-links a:hover { border-color: var(--ng-sage); color: var(--ng-sage); transform: translateY(-2px); }
.site-nav__social a { border-color: var(--ng-line); color: var(--ng-charcoal); }

.site-nav__phone { display: none; }

/* 19. PAGE HERO (inner pages) --------------------------------------------------------------- */
.page-hero { position: relative; background: var(--ng-surface-dark); color: var(--ng-on-dark); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__content { position: relative; z-index: 2; padding-block: clamp(72px, 12vw, 140px); max-width: 760px; }
.page-hero--compact .page-hero__content { padding-block: clamp(64px, 8vw, 108px); }
.page-hero__text { color: rgba(var(--ng-on-dark-rgb), .72); font-size: 1.05rem; margin-top: var(--ng-space-3); }
.page-hero__text--light { color: rgba(var(--ng-on-dark-rgb), .72); }

/* 20. SERVICES / TEAM / CONTACT INFO ---------------------------------------------------------- */
.service-detail {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ng-space-6);
	align-items: center;
	padding-block: var(--ng-space-8);
	border-bottom: 1px solid var(--ng-line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__media { aspect-ratio: 4 / 3; border-radius: var(--ng-radius-lg); overflow: hidden; }
.service-detail__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px;
	background: var(--ng-blue-pale);
	color: var(--ng-charcoal);
	border-radius: var(--ng-radius-md);
	margin-bottom: var(--ng-space-3);
}
.service-detail__outcome { font-weight: 600; }
.service-detail__text { color: var(--ng-charcoal-soft); margin-block: var(--ng-space-3) var(--ng-space-5); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ng-space-6); margin-top: var(--ng-space-7); }
.team-card { text-align: center; }
.team-card__media { display: block; width: 140px; height: 140px; margin: 0 auto var(--ng-space-4); border-radius: 50%; overflow: hidden; }
.team-card__media .ng-placeholder { border-radius: 50%; }
.team-card__name { font-size: 1.1rem; margin: 0; }
.team-card__role { color: var(--ng-charcoal-soft); font-size: .9rem; margin: 4px 0 0; }
.team-card__bio { color: var(--ng-charcoal-soft); font-size: .85rem; margin-top: var(--ng-space-2); }
.team-card__social { justify-content: center; margin-top: var(--ng-space-3); }
.team-card__social a { border-color: var(--ng-line); color: var(--ng-charcoal); width: 34px; height: 34px; }
.team-card__social a:hover { border-color: var(--ng-sage-deep); color: var(--ng-sage-deep); transform: translateY(-2px); }

.contact-info__grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-6); }
.contact-info__item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-info__item span[aria-hidden] {
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ng-blue-pale);
	border-radius: 50%;
	margin-bottom: var(--ng-space-2);
	color: var(--ng-charcoal);
}
.contact-info__item h3 { font-size: .95rem; margin: 0; }
.contact-info__item a, .contact-info__item p { color: var(--ng-charcoal-soft); margin: 0; }

.contact-forms__grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-8); }
.contact-forms__col .eyebrow { margin-bottom: var(--ng-space-2); }
.contact-forms__col h2 { margin-bottom: var(--ng-space-3); }
.contact-forms__col .section__intro { margin-bottom: var(--ng-space-5); }

.about-story__grid { display: grid; grid-template-columns: 1fr; gap: var(--ng-space-6); align-items: center; }
.about-story__media { aspect-ratio: 4 / 3; border-radius: var(--ng-radius-lg); overflow: hidden; }

.approach-philosophy .container--narrow > * + * { margin-top: 1em; }

/* 21. PAGINATION / EMPTY STATE / 404 ------------------------------------------------------------ */
.pagination { margin-top: var(--ng-space-7); display: flex; justify-content: center; }
.pagination__list { display: flex; gap: var(--ng-space-2); flex-wrap: wrap; }
.pagination__list .page-numbers {
	display: flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding-inline: 10px;
	border-radius: var(--ng-radius-pill);
	border: 1px solid var(--ng-line);
	font-size: .9rem;
	font-weight: 500;
	transition: all var(--ng-dur) var(--ng-ease);
}
.pagination__list .page-numbers:hover { border-color: var(--ng-charcoal); }
.pagination__list .page-numbers.current { background: var(--ng-charcoal); border-color: var(--ng-charcoal); color: var(--ng-paper); }

.empty-state { text-align: center; padding-block: var(--ng-space-8); color: var(--ng-charcoal-soft); }

.error-404 { text-align: center; background: var(--ng-surface-dark); color: var(--ng-on-dark); min-height: 60vh; display: flex; align-items: center; }
.error-404__inner { display: flex; flex-direction: column; align-items: center; gap: var(--ng-space-4); position: relative; z-index: 1; }
.error-404__code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem); font-weight: 700; color: rgba(var(--ng-on-dark-rgb), .12); line-height: 1; }
.error-404 h1 { color: var(--ng-on-dark); }
.error-404 p { color: rgba(var(--ng-on-dark-rgb), .68); max-width: 480px; }
.error-404 .search-form { margin-top: var(--ng-space-4); max-width: 420px; width: 100%; }

/* 22. UTILITIES & ANIMATIONS ---------------------------------------------------------------------- */
.search-form { display: flex; align-items: center; gap: var(--ng-space-2); background: rgba(var(--ng-on-dark-rgb), .08); border: 1px solid rgba(var(--ng-on-dark-rgb), .2); border-radius: var(--ng-radius-pill); padding: 6px 6px 6px 20px; }
.search-form input { flex: 1; background: transparent; border: none; color: inherit; }
.search-form input::placeholder { color: rgba(var(--ng-on-dark-rgb), .5); }
.search-form button { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ng-sage); color: var(--ng-accent-ink); flex-shrink: 0; }
.page-hero .search-form, .error-404 .search-form { background: rgba(var(--ng-on-dark-rgb), .08); }
body:not(.error-404-body) .archive-section .search-form,
.search .search-form { background: var(--ng-gray-light); border-color: var(--ng-line); }
.search .page-hero .search-form { background: rgba(var(--ng-on-dark-rgb), .1); border-color: rgba(var(--ng-on-dark-rgb), .22); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ng-ease), transform .6s var(--ng-ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition-delay: var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* 23. GLASS "MIRROR" COMPONENT + REFLECTION UTILITY ---------------------------------------------- */
/* Frosted, translucent, reflective panel. Applied to: the sticky header
   once scrolled (toggled by main.js alongside .is-scrolled), metric-stat
   cards, pillar cards, case-study cards, testimonial cards, FAQ
   accordion items, and the audit/contact form wrapper — see the
   individual component rules above/below for where the class lands. */
.ng-glass {
	background: var(--ng-glass-bg);
	backdrop-filter: blur(var(--ng-glass-blur)) saturate(150%);
	-webkit-backdrop-filter: blur(var(--ng-glass-blur)) saturate(150%);
	border: 1px solid var(--ng-glass-border);
	border-radius: var(--ng-radius-md);
	box-shadow: var(--ng-glass-shadow);
	position: relative;
	overflow: hidden;
}
/* Diagonal specular sheen sweep on hover/focus-within. */
.ng-glass::before {
	content: "";
	position: absolute; inset: -50% -50%;
	background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%);
	transform: translateX(-60%);
	transition: transform 600ms var(--ng-ease);
	pointer-events: none;
}
.ng-glass:hover::before, .ng-glass:focus-within::before { transform: translateX(60%); }
@media (prefers-reduced-motion: reduce) {
	.ng-glass::before { transition: none; content: none; }
}
/* The sheen is tuned for Mist's brighter glass tint — dial it back on
   Slate's much darker/lower-contrast glass so it doesn't blow out. */
:root[data-theme="slate"] .ng-glass::before {
	background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .12) 50%, transparent 60%);
}

/* Literal mirror reflection, for use under the hero's illustration/logo
   mark. The element carrying this class also carries a
   --ng-reflect-src: url(...) inline custom property pointing at the same
   artwork; the pseudo-element duplicates it, flips it, and fades it out. */
.ng-reflect {
	position: relative;
}
.ng-reflect::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	/* Anchored to the bottom edge of the element itself (not top:100%,
	   i.e. spilling below it) so it stays visible on elements like the
	   hero mesh that sit inside an overflow:hidden section — the source
	   image's own bottom edge is duplicated, flipped in place, and
	   faded out going further from that seam. */
	bottom: 0;
	height: 120px;
	background-image: var(--ng-reflect-src, none);
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% auto;
	transform: scaleY(-1);
	opacity: .25;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent);
	pointer-events: none;
}

/* Card/panel components re-skinned as glass — layered on top of their
   existing rules above rather than replacing them. pillar-card,
   case-study-card and testimonial-card already carry their own
   padding/layout, so only the color treatment changes for them;
   metric-stat has no card chrome at all normally, so it needs padding
   added once it gains a glass background/border. */
.metric-stat.ng-glass {
	padding: var(--ng-space-4);
}
.accordion__item.ng-glass {
	border: 1px solid var(--ng-glass-border);
	border-radius: var(--ng-radius-md);
	margin-bottom: var(--ng-space-3);
}
.accordion__item.ng-glass:last-child { margin-bottom: 0; }
.ng-form.ng-glass {
	padding: var(--ng-space-6);
}

/* =========================================================================
   RESPONSIVE — mobile-first; each breakpoint re-shapes layout, not just
   font-size. 480 / 768 / 1024 / 1280 / 1440.
   ========================================================================= */

/* ---- 480px: two-up begins on the tightest grids -------------------------- */
@media (min-width: 480px) {
	.metrics-grid { grid-template-columns: repeat(4, 1fr); }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.hero__ctas { flex-wrap: nowrap; }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 768px: cards go 2-up, forms go 2-col, footer starts widening -------- */
@media (min-width: 768px) {
	.pillars-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.case-study-grid { grid-template-columns: repeat(2, 1fr); }
	.testimonials-grid { grid-template-columns: repeat(2, 1fr); }
	.insights-grid { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(3, 1fr); }
	.form-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-info__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.case-study-close__inner { flex-wrap: nowrap; }
	.gallery-grid { grid-template-columns: repeat(4, 1fr); }

	.service-detail { grid-template-columns: 1fr; }
	.about-story__grid { grid-template-columns: 1.1fr 1fr; }
}

/* ---- 1024px: desktop nav replaces the mobile slide-in; 3/4-col grids ----- */
@media (max-width: 1023.98px) {
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 600;
		background: var(--ng-surface-dark);
		color: var(--ng-on-dark);
		display: flex;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: opacity var(--ng-dur) var(--ng-ease), visibility var(--ng-dur);
	}
	.site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
	.site-nav__inner {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: var(--ng-space-8);
		padding: var(--ng-space-9) var(--ng-gutter);
		margin: auto;
		max-width: 480px;
	}
	.nav { flex-direction: column; align-items: flex-start; gap: var(--ng-space-3); }
	.nav__item { width: 100%; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ng-ease), transform .4s var(--ng-ease); }
	.site-nav.is-open .nav__item { opacity: 1; transform: translateY(0); }
	.nav__link { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ng-on-dark); padding: 6px 0; }
	.nav__item--action { margin-top: var(--ng-space-4); }
	.nav__item--action .nav__link { background: var(--ng-sage); color: var(--ng-accent-ink); font-size: 1.1rem; padding: 14px 24px; display: inline-flex; }
	.nav__submenu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding-left: var(--ng-space-4); }
	.nav__submenu .nav__link { font-size: 1.1rem; color: rgba(var(--ng-on-dark-rgb), .7); }

	.site-nav__mobile-meta {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--ng-space-4);
		padding-top: var(--ng-space-6);
		border-top: 1px solid var(--ng-line-on-dark);
	}
	.site-nav__phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(var(--ng-on-dark-rgb), .7); }

	.site-header__toggle { display: inline-flex; }
	.site-header.is-open .site-header__toggle .icon--menu { display: none; }
	.site-header.is-open .site-header__toggle .icon--close { display: block; }
}

@media (min-width: 1024px) {
	.pillars-grid { grid-template-columns: repeat(3, 1fr); }
	.case-study-grid { grid-template-columns: repeat(3, 1fr); }
	.testimonials-grid { grid-template-columns: repeat(3, 1fr); }
	.insights-grid { grid-template-columns: repeat(3, 1fr); }
	.process-grid { grid-template-columns: repeat(4, 1fr); }
	.team-grid { grid-template-columns: repeat(4, 1fr); }
	.contact-info__grid { grid-template-columns: repeat(4, 1fr); }
	.site-footer__grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; }
	.contact-forms__grid { grid-template-columns: 1fr 1fr; }
	.case-study-block__grid { grid-template-columns: 320px 1fr; gap: var(--ng-space-8); }
	.service-detail { grid-template-columns: 1fr 1fr; }
	.service-detail--reverse .service-detail__media { order: 2; }
	.about-story__grid { grid-template-columns: 1fr 1fr; }

	.site-header__inner { gap: var(--ng-space-7); }
	.nav { gap: var(--ng-space-7); }
}

/* ---- 1280px: container reaches full max-width, tighten gutters slightly -- */
@media (min-width: 1280px) {
	.hero__content { max-width: 880px; }
	.metrics-grid { gap: var(--ng-space-6); }
}

/* ---- 1440px: extra breathing room on the widest canvases ----------------- */
@media (min-width: 1440px) {
	:root { --ng-container-max: 1320px; }
	.h1 { font-size: clamp(3rem, 3.4vw + 1.4rem, 4.8rem); }
	.pillars-grid, .case-study-grid, .testimonials-grid { gap: var(--ng-space-7); }
}
