/* ==========================================================================
   Noted Engineering — core stylesheet
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Buttons, pills, links
   6. Header & navigation
   7. Hero
   8. Sections & cards
   9. Footer
  10. Forms
  11. Editorial content
  12. Utilities, motion, print
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */

:root {
	/* Brand: near-black and the logo orange. */
	--ne-primary: #16181c;
	--ne-primary-rgb: 22, 24, 28;
	--ne-secondary: #a8490b;
	--ne-secondary-rgb: 168, 73, 11;
	--ne-accent: #f97f07;
	--ne-accent-rgb: 249, 127, 7;
	/* Darkened accent for type and icons on light surfaces (AA on white).
	   Recomputed from the chosen accent at runtime in inc/enqueue.php. */
	--ne-accent-ink: #b85c00;
	--ne-dark: #0d0f12;
	--ne-surface: #f5f5f3;

	--ne-white: #ffffff;
	--ne-ink: #16181c;
	--ne-body: #4a4f55;
	--ne-muted: #6c7278;
	--ne-line: #e5e4e1;
	--ne-line-strong: #cfcdc9;

	--ne-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ne-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	/* Type scale — 1.22 ratio, fluid between 400px and 1280px. */
	--ne-fs-xs: 0.8125rem;
	--ne-fs-sm: 0.9375rem;
	--ne-fs-base: 1.0625rem;
	--ne-fs-md: clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
	--ne-fs-lg: clamp(1.3rem, 0.7vw + 1.15rem, 1.55rem);
	--ne-fs-xl: clamp(1.6rem, 1.3vw + 1.3rem, 2.1rem);
	--ne-fs-2xl: clamp(2rem, 2.2vw + 1.5rem, 2.9rem);
	--ne-fs-3xl: clamp(2.4rem, 3.4vw + 1.6rem, 3.9rem);

	--ne-lh-tight: 1.14;
	--ne-lh-snug: 1.3;
	--ne-lh-base: 1.65;

	--ne-space-1: 0.25rem;
	--ne-space-2: 0.5rem;
	--ne-space-3: 0.75rem;
	--ne-space-4: 1rem;
	--ne-space-5: 1.5rem;
	--ne-space-6: 2rem;
	--ne-space-7: 3rem;
	--ne-space-8: 4rem;
	--ne-space-9: 6rem;

	--ne-container: 1240px;
	--ne-container-narrow: 820px;
	--ne-gutter: clamp(1.25rem, 4vw, 2.5rem);

	--ne-radius-sm: 3px;
	--ne-radius: 6px;
	--ne-radius-lg: 10px;

	--ne-shadow-sm: 0 1px 2px rgba(10, 12, 16, 0.06);
	--ne-shadow: 0 2px 8px rgba(10, 12, 16, 0.08);
	--ne-shadow-lg: 0 18px 44px -22px rgba(10, 12, 16, 0.45);

	--ne-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ne-dur: 220ms;

	--ne-header-h: 76px;
}

/* 2. Reset & base ------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ne-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--ne-white);
	color: var(--ne-body);
	font-family: var(--ne-font-sans);
	font-size: var(--ne-fs-base);
	line-height: var(--ne-lh-base);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

hr {
	border: 0;
	border-top: 1px solid var(--ne-line);
	margin: var(--ne-space-7) 0;
}

:focus-visible {
	outline: 3px solid var(--ne-accent);
	outline-offset: 2px;
	border-radius: var(--ne-radius-sm);
}

::selection {
	background: rgba(var(--ne-accent-rgb), 0.22);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ne-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.9rem 1.4rem;
	background: var(--ne-primary);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.ne-skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* 3. Typography --------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--ne-space-4);
	color: var(--ne-primary);
	font-weight: 650;
	line-height: var(--ne-lh-tight);
	letter-spacing: -0.02em;
}

h1 { font-size: var(--ne-fs-3xl); }
h2 { font-size: var(--ne-fs-2xl); }
h3 { font-size: var(--ne-fs-xl); }
h4 { font-size: var(--ne-fs-lg); }
h5, h6 { font-size: var(--ne-fs-md); }

p, ul, ol, table, blockquote, figure, pre {
	margin: 0 0 var(--ne-space-4);
}

a {
	color: var(--ne-secondary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--ne-dur) var(--ne-ease);
}

a:hover {
	color: var(--ne-primary);
}

strong { font-weight: 650; }

small { font-size: var(--ne-fs-sm); }

code, pre {
	font-family: var(--ne-font-mono);
	font-size: 0.92em;
}

.ne-eyebrow {
	margin: 0 0 var(--ne-space-3);
	color: var(--ne-accent-ink);
	font-size: var(--ne-fs-xs);
	font-weight: 650;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ne-lead {
	font-size: var(--ne-fs-md);
	color: var(--ne-body);
}

/* 4. Layout primitives -------------------------------------------------- */

.ne-container {
	width: 100%;
	max-width: var(--ne-container);
	margin-inline: auto;
	padding-inline: var(--ne-gutter);
}

.ne-container--narrow {
	max-width: var(--ne-container-narrow);
}

.ne-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ne-section--tight {
	padding-block: clamp(2.5rem, 4vw, 4rem);
}

.ne-section--surface {
	background: var(--ne-surface);
}

.ne-section--dark {
	background: var(--ne-dark);
	color: rgba(255, 255, 255, 0.76);
}

.ne-section--dark h1,
.ne-section--dark h2,
.ne-section--dark h3,
.ne-section--dark .ne-section__title {
	color: #fff;
}

.ne-section--dark .ne-section__text {
	color: rgba(255, 255, 255, 0.7);
}

.ne-section__header {
	max-width: 62ch;
	margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.ne-section__header--center {
	margin-inline: auto;
	text-align: center;
}

.ne-section__title {
	margin-bottom: var(--ne-space-3);
}

.ne-section__text {
	margin: 0;
	font-size: var(--ne-fs-md);
	color: var(--ne-muted);
}

.ne-section__foot {
	margin-top: clamp(2rem, 3vw, 3rem);
}

.ne-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.ne-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.ne-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.ne-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }

.ne-split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

@media (min-width: 60em) {
	.ne-split {
		grid-template-columns: 1.05fr 1fr;
	}
}

/* 5. Buttons ------------------------------------------------------------ */

.ne-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--ne-radius);
	background: var(--ne-secondary);
	color: #fff;
	font-size: var(--ne-fs-sm);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--ne-dur) var(--ne-ease),
		border-color var(--ne-dur) var(--ne-ease),
		color var(--ne-dur) var(--ne-ease),
		transform var(--ne-dur) var(--ne-ease);
}

.ne-btn:hover {
	background: var(--ne-primary);
	color: #fff;
	transform: translateY(-1px);
}

.ne-btn__icon {
	transition: transform var(--ne-dur) var(--ne-ease);
	flex: none;
}

.ne-btn:hover .ne-btn__icon {
	transform: translateX(3px);
}

.ne-btn--primary {
	background: var(--ne-secondary);
}

.ne-btn--accent {
	background: var(--ne-accent);
	color: var(--ne-primary);
}

.ne-btn--accent:hover {
	background: #fff;
	color: var(--ne-primary);
}

.ne-btn--ghost {
	background: transparent;
	border-color: var(--ne-line-strong);
	color: var(--ne-primary);
}

.ne-btn--ghost:hover {
	background: var(--ne-primary);
	border-color: var(--ne-primary);
	color: #fff;
}

.ne-btn--on-dark {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.ne-btn--on-dark:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ne-primary);
}

.ne-btn--lg {
	padding: 1.05rem 1.9rem;
	font-size: var(--ne-fs-base);
}

.ne-btn--sm {
	padding: 0.6rem 1rem;
	font-size: var(--ne-fs-xs);
}

.ne-btn--block {
	width: 100%;
}

.ne-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ne-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--ne-fs-sm);
	font-weight: 600;
	color: var(--ne-secondary);
	text-decoration: none;
}

.ne-textlink svg {
	transition: transform var(--ne-dur) var(--ne-ease);
}

.ne-textlink:hover svg {
	transform: translateX(3px);
}

.ne-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--ne-line);
	transition: box-shadow var(--ne-dur) var(--ne-ease);
}

/*
 * Only from the desktop breakpoint up. backdrop-filter turns the header into
 * the containing block for any position:fixed descendant, which would size the
 * mobile offcanvas panel against the header instead of the viewport.
 */
@media (min-width: 62em) {
	.ne-header {
		backdrop-filter: saturate(180%) blur(8px);
	}
}

.ne-header.is-stuck {
	box-shadow: var(--ne-shadow);
}

.ne-header__bar {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	min-height: var(--ne-header-h);
}

.ne-brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex: none;
	text-decoration: none;
	color: var(--ne-primary);
}

.ne-brand img {
	max-height: 46px;
	width: auto;
}

/* The header logo. A stacked lockup needs the taller cap, hence 56px. */
.ne-header .ne-brand__logo {
	display: block;
	max-height: 56px;
	max-width: 100%;
	width: auto;
	height: auto;
}

@media (max-width: 47.99em) {
	.ne-header .ne-brand__logo {
		max-height: 44px;
	}
}

/*
 * The header shows the logo alone; the company name and tagline stay in the
 * markup, with the logo's alt text naming the link. Delete this rule to show
 * the wordmark beside the logo again. The footer brand is unaffected.
 */
.ne-header .ne-brand__text {
	display: none;
}

.custom-logo-link {
	display: flex;
	align-items: center;
	flex: none;
	line-height: 0;
}

.custom-logo {
	max-height: 56px;
	width: auto;
}

@media (max-width: 47.99em) {
	.custom-logo {
		max-height: 44px;
	}
}

.ne-brand__name {
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.ne-brand__tag {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ne-muted);
}

.ne-nav {
	margin-inline-start: auto;
}

.ne-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.5rem, 1.6vw, 1.6rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ne-nav__list a {
	display: block;
	padding: 0.5rem 0;
	color: var(--ne-primary);
	font-size: var(--ne-fs-sm);
	font-weight: 550;
	text-decoration: none;
	white-space: nowrap;
}

.ne-nav__list > li {
	position: relative;
}

.ne-nav__list > li > a::after {
	content: "";
	display: block;
	height: 2px;
	margin-top: 4px;
	background: var(--ne-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--ne-dur) var(--ne-ease);
}

.ne-nav__list > li > a:hover::after,
.ne-nav__list > li.current-menu-item > a::after,
.ne-nav__list > li.current-menu-parent > a::after {
	transform: scaleX(1);
}

/* Dropdowns */
.ne-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 15rem;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	box-shadow: var(--ne-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease), visibility var(--ne-dur);
}

.ne-nav li:hover > .sub-menu,
.ne-nav li:focus-within > .sub-menu,
.ne-nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ne-nav .sub-menu a {
	padding: 0.5rem 1rem;
	font-weight: 500;
	color: var(--ne-body);
}

.ne-nav .sub-menu a:hover {
	background: var(--ne-surface);
	color: var(--ne-primary);
}

.ne-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
}


.ne-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	background: #fff;
	color: var(--ne-primary);
	cursor: pointer;
	transition: border-color var(--ne-dur) var(--ne-ease), background var(--ne-dur) var(--ne-ease);
}

.ne-iconbtn:hover {
	border-color: var(--ne-primary);
	background: var(--ne-surface);
}

.ne-header__toggle {
	display: inline-flex;
}

@media (min-width: 62em) {
	.ne-header__toggle { display: none; }
}

/* The header CTA is desktop only; the offcanvas panel carries it on mobile. */
.ne-header__cta {
	display: none;
}

@media (min-width: 62em) {
	.ne-header__cta {
		display: inline-flex;
		white-space: nowrap;
	}
}

/* Shown only inside the open offcanvas panel. */
.ne-nav__foot {
	display: none;
}

/* Mobile navigation */
@media (max-width: 61.99em) {
	.ne-nav {
		position: fixed;
		inset: var(--ne-header-h) 0 0 auto;
		z-index: 101;
		width: min(23rem, 88vw);
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 1.25rem var(--ne-gutter) 3rem;
		background: #fff;
		border-left: 1px solid var(--ne-line);
		box-shadow: var(--ne-shadow-lg);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 260ms var(--ne-ease), visibility 260ms;
	}

	.ne-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.ne-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ne-nav__list > li {
		border-bottom: 1px solid var(--ne-line);
	}

	.ne-nav__list a {
		padding: 0.9rem 0;
		font-size: var(--ne-fs-md);
	}

	.ne-nav__list > li > a::after { display: none; }

	.ne-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 0.5rem 1rem;
		min-width: 0;
	}

	.ne-nav .sub-menu a { padding: 0.5rem 0; }

	.ne-nav__foot {
		display: block;
		margin-top: 1.5rem;
	}
}

.ne-scrim {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(13, 15, 18, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ne-dur) var(--ne-ease), visibility var(--ne-dur);
}

.ne-scrim.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Search panel */
.ne-searchpanel {
	display: none;
	border-top: 1px solid var(--ne-line);
	background: var(--ne-surface);
	padding-block: var(--ne-space-5);
}

.ne-searchpanel.is-open {
	display: block;
}

.ne-searchpanel__form {
	display: flex;
	gap: 0.5rem;
}

.ne-searchpanel input[type="search"] {
	flex: 1;
}

.ne-searchpanel__results {
	margin: var(--ne-space-4) 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.25rem;
}

.ne-searchpanel__results a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: var(--ne-radius);
	background: #fff;
	border: 1px solid var(--ne-line);
	text-decoration: none;
	color: var(--ne-primary);
	font-weight: 550;
	font-size: var(--ne-fs-sm);
}

.ne-searchpanel__results a:hover {
	border-color: var(--ne-accent);
}

.ne-searchpanel__type {
	color: var(--ne-muted);
	font-weight: 500;
	font-size: var(--ne-fs-xs);
	white-space: nowrap;
}

/* 7. Hero --------------------------------------------------------------- */

.ne-hero {
	position: relative;
	background: var(--ne-primary);
	color: rgba(255, 255, 255, 0.78);
	overflow: hidden;
}

.ne-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(68% 86% at 84% 8%, rgba(var(--ne-accent-rgb), 0.17), transparent 58%),
		linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent 52%);
	pointer-events: none;
}

.ne-hero__inner {
	position: relative;
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
	align-items: center;
}

@media (min-width: 62em) {
	.ne-hero__inner {
		grid-template-columns: 1.08fr 1fr;
	}
}

.ne-hero__title {
	margin-bottom: var(--ne-space-4);
	color: #fff;
	font-size: var(--ne-fs-3xl);
	max-width: 18ch;
}

.ne-hero__text {
	max-width: 52ch;
	margin-bottom: var(--ne-space-6);
	font-size: var(--ne-fs-md);
	color: rgba(255, 255, 255, 0.76);
}

.ne-hero__media {
	position: relative;
	border-radius: var(--ne-radius-lg);
	overflow: hidden;
	box-shadow: var(--ne-shadow-lg);
	aspect-ratio: 4 / 3;
	background: var(--ne-dark);
}

.ne-hero__media img,
.ne-hero__media svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ne-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	list-style: none;
	padding-inline: 0;
}

.ne-hero__badges li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--ne-fs-sm);
	font-weight: 550;
}

.ne-hero__badges svg { color: var(--ne-accent); flex: none; }

/* 8. Cards -------------------------------------------------------------- */

.ne-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	overflow: hidden;
	transition: border-color var(--ne-dur) var(--ne-ease), box-shadow var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-card:hover {
	border-color: var(--ne-line-strong);
	box-shadow: var(--ne-shadow-lg);
	transform: translateY(-2px);
}

.ne-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--ne-primary);
	overflow: hidden;
}

.ne-card__media img,
.ne-card__media svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--ne-ease);
}

.ne-card:hover .ne-card__media img {
	transform: scale(1.035);
}

.ne-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(1.1rem, 2vw, 1.5rem);
}

.ne-card__eyebrow {
	margin: 0 0 0.4rem;
	color: var(--ne-accent-ink);
	font-size: var(--ne-fs-xs);
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ne-card__title {
	margin: 0 0 0.5rem;
	font-size: var(--ne-fs-md);
	line-height: var(--ne-lh-snug);
}

.ne-card__title a {
	color: inherit;
	text-decoration: none;
}

.ne-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ne-card__text {
	margin: 0 0 var(--ne-space-4);
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: var(--ne-space-3);
	border-top: 1px solid var(--ne-line);
}

.ne-card__meta {
	margin: 0;
	font-size: var(--ne-fs-xs);
	color: var(--ne-muted);
	font-weight: 550;
}

/* Category tile */
.ne-tile {
	position: relative;
	display: block;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	text-decoration: none;
	overflow: hidden;
	transition: border-color var(--ne-dur) var(--ne-ease), box-shadow var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-tile::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 3px;
	background: var(--ne-accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 300ms var(--ne-ease);
}

.ne-tile:hover {
	border-color: var(--ne-line-strong);
	box-shadow: var(--ne-shadow-lg);
	transform: translateY(-2px);
}

.ne-tile:hover::after {
	transform: scaleY(1);
}

.ne-tile__media {
	aspect-ratio: 16 / 9;
	margin: calc(-1 * clamp(1.25rem, 2.5vw, 1.75rem));
	margin-bottom: var(--ne-space-4);
	background: var(--ne-primary);
	overflow: hidden;
}

.ne-tile__media img,
.ne-tile__media svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ne-tile__title {
	margin: 0 0 0.4rem;
	font-size: var(--ne-fs-md);
	color: var(--ne-primary);
}

.ne-tile__text {
	margin: 0 0 var(--ne-space-4);
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-tile__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--ne-fs-sm);
	font-weight: 600;
	color: var(--ne-secondary);
}

.ne-tile__link svg { transition: transform var(--ne-dur) var(--ne-ease); }
.ne-tile:hover .ne-tile__link svg { transform: translateX(3px); }
.ne-tile__count {
	font-size: var(--ne-fs-xs);
	color: var(--ne-muted);
	font-weight: 600;
}

/* Icon feature */
.ne-feature {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	background: #fff;
	transition: border-color var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-feature:hover {
	border-color: var(--ne-line-strong);
	transform: translateY(-2px);
}

.ne-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: var(--ne-space-4);
	border-radius: var(--ne-radius);
	background: rgba(var(--ne-accent-rgb), 0.12);
	color: var(--ne-accent-ink);
}

.ne-feature__title {
	margin: 0 0 0.4rem;
	font-size: var(--ne-fs-md);
}

.ne-feature__text {
	margin: 0;
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-section--dark .ne-feature {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.1);
}

.ne-section--dark .ne-feature:hover {
	border-color: rgba(var(--ne-accent-rgb), 0.5);
}

.ne-section--dark .ne-feature__text {
	color: rgba(255, 255, 255, 0.66);
}

/* CTA band */
.ne-cta {
	position: relative;
	background: var(--ne-primary);
	color: rgba(255, 255, 255, 0.78);
	overflow: hidden;
}

.ne-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 120% at 88% 0%, rgba(var(--ne-accent-rgb), 0.2), transparent 62%);
}

.ne-cta__inner {
	position: relative;
	display: grid;
	gap: var(--ne-space-6);
	align-items: center;
	padding-block: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 60em) {
	.ne-cta__inner { grid-template-columns: 1.35fr 1fr; }
}

.ne-cta__title {
	margin: 0 0 var(--ne-space-3);
	color: #fff;
	max-width: 22ch;
}

.ne-cta__text {
	margin: 0;
	max-width: 54ch;
	font-size: var(--ne-fs-md);
	color: rgba(255, 255, 255, 0.74);
}

.ne-cta__actions {
	justify-content: flex-start;
}

@media (min-width: 60em) {
	.ne-cta__actions { justify-content: flex-end; }
}

/* Breadcrumbs */
.ne-breadcrumbs {
	border-bottom: 1px solid var(--ne-line);
	background: #fff;
}

.ne-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding-block: 0.85rem;
	list-style: none;
	font-size: var(--ne-fs-xs);
	color: var(--ne-muted);
}

.ne-breadcrumbs__item {
	display: flex;
	gap: 0.4rem;
	align-items: center;
}

.ne-breadcrumbs a {
	color: var(--ne-muted);
	text-decoration: none;
}

.ne-breadcrumbs a:hover { color: var(--ne-primary); }

.ne-breadcrumbs__sep { color: var(--ne-line-strong); }

/* Page hero for inner pages */
.ne-pagehead {
	background: var(--ne-primary);
	color: rgba(255, 255, 255, 0.75);
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.ne-pagehead__title {
	margin: 0 0 var(--ne-space-3);
	color: #fff;
	max-width: 20ch;
}

.ne-pagehead__text {
	margin: 0;
	max-width: 62ch;
	font-size: var(--ne-fs-md);
	color: rgba(255, 255, 255, 0.72);
}

/* Pagination */
.ne-pagination {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.ne-pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
}

.ne-pagination__list .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6rem;
	height: 2.6rem;
	padding: 0 0.75rem;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	color: var(--ne-primary);
	font-size: var(--ne-fs-sm);
	font-weight: 600;
	text-decoration: none;
	background: #fff;
}

.ne-pagination__list .page-numbers:hover {
	border-color: var(--ne-primary);
}

.ne-pagination__list .page-numbers.current {
	background: var(--ne-primary);
	border-color: var(--ne-primary);
	color: #fff;
}

/* 9. Footer ------------------------------------------------------------- */

.ne-footer {
	background: var(--ne-dark);
	color: rgba(255, 255, 255, 0.62);
	font-size: var(--ne-fs-sm);
}

.ne-footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.ne-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.ne-footer__main {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 52em) {
	.ne-footer__main { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

.ne-footer__brand .ne-brand__name { color: #fff; }
.ne-footer__brand .ne-brand__tag { color: rgba(255, 255, 255, 0.5); }

.ne-footer__about {
	margin: var(--ne-space-4) 0 var(--ne-space-5);
	max-width: 44ch;
}

.ne-footer__title {
	margin: 0 0 var(--ne-space-4);
	color: #fff;
	font-size: var(--ne-fs-xs);
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ne-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.ne-footer__contact {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ne-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.ne-footer__contact svg {
	flex: none;
	margin-top: 2px;
	color: var(--ne-accent);
}

.ne-social {
	display: flex;
	gap: 0.5rem;
	margin: var(--ne-space-5) 0 0;
	padding: 0;
	list-style: none;
}

.ne-social a {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 100px;
	font-size: var(--ne-fs-xs);
	font-weight: 600;
}

.ne-social a:hover {
	border-color: var(--ne-accent);
	text-decoration: none;
}

.ne-footer__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--ne-fs-xs);
}

.ne-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ne-footer__note {
	margin: 0 0 var(--ne-space-4);
	padding-block: var(--ne-space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--ne-fs-xs);
}

/* 10. Forms ------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.72rem 0.9rem;
	border: 1px solid var(--ne-line-strong);
	border-radius: var(--ne-radius);
	background: #fff;
	color: var(--ne-ink);
	font: inherit;
	font-size: var(--ne-fs-sm);
	transition: border-color var(--ne-dur) var(--ne-ease), box-shadow var(--ne-dur) var(--ne-ease);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--ne-secondary);
	box-shadow: 0 0 0 3px rgba(var(--ne-secondary-rgb), 0.15);
	outline: none;
}

textarea { resize: vertical; min-height: 8rem; }

label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--ne-primary);
	font-size: var(--ne-fs-sm);
	font-weight: 600;
}

.ne-required { color: #c0392b; }

.ne-rfq {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
}

.ne-rfq__grid {
	display: grid;
	gap: var(--ne-space-4);
}

@media (min-width: 40em) {
	.ne-rfq__grid { grid-template-columns: repeat(2, 1fr); }
	.ne-rfq__field--wide { grid-column: 1 / -1; }
}

.ne-rfq__field { margin: 0; }

.ne-rfq__hint,
.ne-rfq__consent {
	display: block;
	margin-top: 0.4rem;
	color: var(--ne-muted);
	font-size: var(--ne-fs-xs);
}

.ne-rfq__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: var(--ne-space-5);
}

.ne-rfq__consent { margin: 0; max-width: 34ch; }

.ne-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ne-notice {
	margin: 0 0 var(--ne-space-4);
	padding: 0.85rem 1rem;
	border-radius: var(--ne-radius);
	border-inline-start: 3px solid;
	font-size: var(--ne-fs-sm);
}

.ne-notice--success {
	background: rgba(var(--ne-accent-rgb), 0.08);
	border-color: var(--ne-accent);
	color: var(--ne-primary);
}

.ne-notice--error {
	background: rgba(192, 57, 43, 0.07);
	border-color: #c0392b;
	color: #8e2b21;
}

.ne-field-error {
	border-color: #c0392b !important;
}

.ne-searchform {
	display: flex;
	gap: 0.5rem;
}

/* 11. Editorial content ------------------------------------------------- */

.ne-prose {
	max-width: 72ch;
	font-size: var(--ne-fs-base);
}

.ne-prose > * + * { margin-top: var(--ne-space-4); }

.ne-prose h2 { margin-top: var(--ne-space-7); font-size: var(--ne-fs-xl); }
.ne-prose h3 { margin-top: var(--ne-space-6); font-size: var(--ne-fs-lg); }

.ne-prose ul,
.ne-prose ol { padding-inline-start: 1.35rem; }

.ne-prose li + li { margin-top: 0.35rem; }

.ne-prose blockquote {
	margin-inline: 0;
	padding-inline-start: 1.25rem;
	border-inline-start: 3px solid var(--ne-accent);
	color: var(--ne-primary);
	font-size: var(--ne-fs-md);
}

.ne-prose img { border-radius: var(--ne-radius); }

.ne-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--ne-fs-sm);
}

.ne-prose th,
.ne-prose td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--ne-line);
	text-align: start;
}

.ne-prose th { color: var(--ne-primary); }

.ne-tablewrap { overflow-x: auto; }

.ne-entry__meta {
	margin: 0 0 var(--ne-space-3);
	color: var(--ne-muted);
	font-size: var(--ne-fs-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ne-layout {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 62em) {
	.ne-layout--sidebar { grid-template-columns: minmax(0, 1fr) 18rem; }
}

.widget { margin-bottom: var(--ne-space-6); }

.widget__title {
	margin: 0 0 var(--ne-space-3);
	font-size: var(--ne-fs-md);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.4rem;
	font-size: var(--ne-fs-sm);
}

/* 12. Utilities, motion, print ----------------------------------------- */

.ne-reveal {
	opacity: 0;
	transform: translateY(14px);
}

.ne-reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 520ms var(--ne-ease), transform 520ms var(--ne-ease);
}

.ne-reveal:nth-child(2) { transition-delay: 60ms; }
.ne-reveal:nth-child(3) { transition-delay: 120ms; }
.ne-reveal:nth-child(4) { transition-delay: 180ms; }

.ne-center { text-align: center; }
.ne-mt-6 { margin-top: var(--ne-space-6); }
.ne-hide { display: none !important; }

.ne-empty {
	padding: clamp(2rem, 4vw, 3rem);
	border: 1px dashed var(--ne-line-strong);
	border-radius: var(--ne-radius);
	background: var(--ne-surface);
	text-align: center;
	color: var(--ne-muted);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.ne-reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.ne-header,
	.ne-footer,
	.ne-cta,
	.ne-filters,
	.ne-scrim { display: none !important; }

	body { color: #000; font-size: 11pt; }
	a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ==========================================================================
   13. Page components
       Feature band, about block, service cards, process, stats, skills,
       people, testimonials, accordions, panels, search results.
   ========================================================================== */

/* Feature band ---------------------------------------------------------- */

.ne-featureband {
	border-bottom: 1px solid var(--ne-line);
	background: var(--ne-white);
}

.ne-featureband__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.ne-featureband__item {
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
	border-inline-end: 1px solid var(--ne-line);
}

.ne-featureband__item:last-child {
	border-inline-end: 0;
}

@media (max-width: 47.99em) {
	.ne-featureband__item {
		border-inline-end: 0;
		border-bottom: 1px solid var(--ne-line);
	}

	.ne-featureband__item:last-child { border-bottom: 0; }
}

.ne-featureband__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: var(--ne-space-4);
	border-radius: var(--ne-radius);
	background: rgba(var(--ne-accent-rgb), 0.12);
	color: var(--ne-accent-ink);
}

.ne-featureband__title {
	margin: 0 0 0.35rem;
	font-size: var(--ne-fs-md);
}

.ne-featureband__text {
	margin: 0;
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

/* About block ----------------------------------------------------------- */

.ne-about__media {
	position: relative;
	border-radius: var(--ne-radius-lg);
	overflow: hidden;
	background: var(--ne-primary);
	aspect-ratio: 4 / 3;
}

.ne-about__media > svg,
.ne-about__media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ne-about__stats {
	position: absolute;
	inset-inline-start: 1rem;
	inset-block-end: 1rem;
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ne-about__stats li {
	padding: 0.65rem 0.9rem;
	border-radius: var(--ne-radius);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--ne-shadow);
}

.ne-about__stats strong {
	display: block;
	color: var(--ne-primary);
	font-size: var(--ne-fs-lg);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ne-about__stats span {
	display: block;
	color: var(--ne-muted);
	font-size: var(--ne-fs-xs);
	font-weight: 600;
}

/* Service cards --------------------------------------------------------- */

.ne-servicecard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	overflow: hidden;
	transition: border-color var(--ne-dur) var(--ne-ease), box-shadow var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-servicecard:hover {
	border-color: var(--ne-line-strong);
	box-shadow: var(--ne-shadow-lg);
	transform: translateY(-2px);
}

.ne-servicecard__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--ne-primary);
	overflow: hidden;
}

.ne-servicecard__media img,
.ne-servicecard__media > svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--ne-ease);
}

.ne-servicecard:hover .ne-servicecard__media img {
	transform: scale(1.04);
}

.ne-servicecard__icon {
	position: absolute;
	inset-inline-start: 1rem;
	inset-block-end: -22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--ne-radius);
	background: var(--ne-accent);
	color: var(--ne-primary);
	box-shadow: var(--ne-shadow);
}

.ne-servicecard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 2rem clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.5rem);
}

.ne-servicecard__title {
	margin: 0 0 0.5rem;
	font-size: var(--ne-fs-md);
	line-height: var(--ne-lh-snug);
}

.ne-servicecard__title a {
	color: inherit;
	text-decoration: none;
}

.ne-servicecard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ne-servicecard__text {
	margin: 0 0 var(--ne-space-4);
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-servicecard__children {
	position: relative;
	z-index: 1;
	margin: 0 0 var(--ne-space-4);
	padding: 0 0 0 0.9rem;
	list-style: none;
	border-inline-start: 2px solid var(--ne-line);
	display: grid;
	gap: 0.3rem;
	font-size: var(--ne-fs-xs);
}

.ne-servicecard__children a {
	color: var(--ne-body);
	text-decoration: none;
	font-weight: 550;
}

.ne-servicecard__children a:hover {
	color: var(--ne-secondary);
}

.ne-servicecard__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	color: var(--ne-secondary);
	font-size: var(--ne-fs-sm);
	font-weight: 600;
}

.ne-servicecard__link svg { transition: transform var(--ne-dur) var(--ne-ease); }
.ne-servicecard:hover .ne-servicecard__link svg { transform: translateX(3px); }

/* Single service media -------------------------------------------------- */

.ne-service__media {
	position: relative;
	border-radius: var(--ne-radius-lg);
	overflow: hidden;
	background: var(--ne-primary);
	aspect-ratio: 16 / 10;
	box-shadow: var(--ne-shadow-lg);
}

.ne-service__media img,
.ne-service__media > svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ne-service__icon {
	position: absolute;
	inset-inline-end: 1rem;
	inset-block-start: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--ne-radius);
	background: var(--ne-accent);
	color: var(--ne-primary);
}

/* Process --------------------------------------------------------------- */

.ne-process {
	counter-reset: ne-step;
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.ne-process__step {
	position: relative;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	background: #fff;
	transition: border-color var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-process__step:hover {
	border-color: var(--ne-line-strong);
	transform: translateY(-2px);
}

.ne-process__num {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--ne-accent-ink);
	font-size: var(--ne-fs-lg);
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.ne-process__title {
	margin: 0 0 0.35rem;
	font-size: var(--ne-fs-md);
}

.ne-process__text {
	margin: 0;
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

/* Statistics ------------------------------------------------------------ */

.ne-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 48em) {
	.ne-stats { grid-template-columns: repeat(4, 1fr); }
}

.ne-stats__value {
	display: block;
	margin-bottom: 0.2rem;
	color: #fff;
	font-size: clamp(1.9rem, 2.8vw, 2.7rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.ne-stats__label {
	display: block;
	color: rgba(255, 255, 255, 0.66);
	font-size: var(--ne-fs-sm);
	font-weight: 550;
}

/* Skill bars ------------------------------------------------------------ */

.ne-skills {
	display: grid;
	gap: var(--ne-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ne-skills__note {
	margin: var(--ne-space-4) 0 0;
	font-size: var(--ne-fs-xs);
	color: var(--ne-muted);
	max-width: 44ch;
}

.ne-skills__label {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.5rem;
	font-size: var(--ne-fs-sm);
	font-weight: 600;
	color: var(--ne-primary);
}

.ne-skills__label b {
	color: var(--ne-accent-ink);
	font-variant-numeric: tabular-nums;
}

.ne-skills__track {
	height: 8px;
	border-radius: 100px;
	background: var(--ne-line);
	overflow: hidden;
}

.ne-skills__fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 100px;
	background: linear-gradient(90deg, var(--ne-secondary), var(--ne-accent));
	transition: width 900ms var(--ne-ease);
}

/* People ---------------------------------------------------------------- */

.ne-person {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	overflow: hidden;
	transition: border-color var(--ne-dur) var(--ne-ease), box-shadow var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-person:hover {
	border-color: var(--ne-line-strong);
	box-shadow: var(--ne-shadow-lg);
	transform: translateY(-2px);
}

.ne-person__media {
	aspect-ratio: 5 / 6;
	background: var(--ne-primary);
	overflow: hidden;
}

.ne-person__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ne-person__body {
	padding: clamp(1rem, 2vw, 1.35rem);
}

.ne-person__name {
	margin: 0 0 0.2rem;
	font-size: var(--ne-fs-md);
}

.ne-person__role {
	margin: 0 0 0.6rem;
	color: var(--ne-accent-ink);
	font-size: var(--ne-fs-xs);
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ne-person__text {
	margin: 0;
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-person__links {
	display: flex;
	gap: 0.4rem;
	margin: var(--ne-space-4) 0 0;
	padding: 0;
	list-style: none;
}

.ne-person__links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius-sm);
	color: var(--ne-primary);
}

.ne-person__links a:hover {
	border-color: var(--ne-accent);
	color: var(--ne-secondary);
}

/* Testimonials ---------------------------------------------------------- */

.ne-quote {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: clamp(1.4rem, 2.5vw, 1.9rem);
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	transition: border-color var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-quote:hover {
	border-color: var(--ne-line-strong);
	transform: translateY(-2px);
}

.ne-quote__mark {
	display: inline-flex;
	margin-bottom: var(--ne-space-4);
	color: var(--ne-accent-ink);
}

.ne-quote__text {
	margin: 0 0 var(--ne-space-4);
	padding: 0;
	border: 0;
	flex: 1;
}

.ne-quote__text p {
	margin: 0;
	color: var(--ne-ink);
	font-size: var(--ne-fs-sm);
	line-height: 1.7;
}

.ne-quote__by {
	padding-top: var(--ne-space-3);
	border-top: 1px solid var(--ne-line);
}

.ne-quote__name {
	display: block;
	color: var(--ne-primary);
	font-size: var(--ne-fs-sm);
	font-weight: 650;
}

.ne-quote__role {
	display: block;
	color: var(--ne-muted);
	font-size: var(--ne-fs-xs);
}

/* Accordion (FAQ) ------------------------------------------------------- */

.ne-faqgroup {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ne-accordion {
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	overflow: hidden;
	background: #fff;
}

.ne-accordion__item + .ne-accordion__item {
	border-top: 1px solid var(--ne-line);
}

.ne-accordion__heading {
	margin: 0;
	font-size: inherit;
}

.ne-accordion__trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	border: 0;
	background: none;
	color: var(--ne-primary);
	font: inherit;
	font-size: var(--ne-fs-base);
	font-weight: 600;
	text-align: start;
	cursor: pointer;
	transition: background var(--ne-dur) var(--ne-ease);
}

.ne-accordion__trigger:hover {
	background: var(--ne-surface);
}

.ne-accordion__trigger svg {
	flex: none;
	color: var(--ne-muted);
	transition: transform var(--ne-dur) var(--ne-ease);
}

.ne-accordion__trigger[aria-expanded="true"] svg {
	transform: rotate(90deg);
	color: var(--ne-accent-ink);
}

.ne-accordion__panel {
	padding: 0 1.25rem 1.25rem;
}

.ne-accordion__panel .ne-prose {
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-accordion__panel .ne-prose p {
	margin: 0 0 0.75rem;
}

/* Panels, checklists, search results ------------------------------------ */

.ne-panel {
	margin-bottom: var(--ne-space-6);
}

.ne-panel__title {
	margin: 0 0 var(--ne-space-4);
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ne-primary);
	font-size: var(--ne-fs-md);
	letter-spacing: -0.01em;
}

.ne-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
	font-size: var(--ne-fs-sm);
}

.ne-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.ne-checklist svg {
	flex: none;
	margin-top: 3px;
	color: var(--ne-accent-ink);
}

.ne-result {
	padding-block: var(--ne-space-5);
	border-bottom: 1px solid var(--ne-line);
}

.ne-result__type {
	display: inline-block;
	margin-bottom: 0.35rem;
	color: var(--ne-accent-ink);
	font-size: var(--ne-fs-xs);
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ne-result__title {
	margin: 0 0 0.35rem;
	font-size: var(--ne-fs-lg);
}

.ne-result__title a { color: inherit; text-decoration: none; }
.ne-result__title a:hover { color: var(--ne-secondary); }

.ne-result__text {
	margin: 0;
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

@media (prefers-reduced-motion: reduce) {
	.ne-skills__fill { transition: none !important; }
}

/* Projects --------------------------------------------------------------- */

.ne-projectcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ne-line);
	border-radius: var(--ne-radius);
	overflow: hidden;
	transition: border-color var(--ne-dur) var(--ne-ease), box-shadow var(--ne-dur) var(--ne-ease), transform var(--ne-dur) var(--ne-ease);
}

.ne-projectcard:hover {
	border-color: var(--ne-line-strong);
	box-shadow: var(--ne-shadow-lg);
	transform: translateY(-2px);
}

.ne-projectcard__media {
	aspect-ratio: 4 / 3;
	background: var(--ne-primary);
	overflow: hidden;
}

.ne-projectcard__media img,
.ne-projectcard__media > svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--ne-ease);
}

.ne-projectcard:hover .ne-projectcard__media img {
	transform: scale(1.04);
}

.ne-projectcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(1.1rem, 2vw, 1.5rem);
}

.ne-projectcard__title {
	margin: 0 0 0.5rem;
	font-size: var(--ne-fs-md);
	line-height: var(--ne-lh-snug);
}

.ne-projectcard__title a {
	color: inherit;
	text-decoration: none;
}

.ne-projectcard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ne-projectcard__text {
	margin: 0 0 var(--ne-space-4);
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

.ne-factlist {
	display: grid;
	gap: 0.75rem;
	margin: var(--ne-space-5) 0 0;
	padding-top: var(--ne-space-5);
	border-top: 1px solid var(--ne-line);
}

@media (min-width: 34em) {
	.ne-factlist {
		grid-template-columns: repeat(3, auto);
		justify-content: start;
		gap: 2rem;
	}
}

.ne-factlist dt {
	margin: 0 0 0.15rem;
	color: var(--ne-muted);
	font-size: var(--ne-fs-xs);
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ne-factlist dd {
	margin: 0;
	color: var(--ne-primary);
	font-size: var(--ne-fs-sm);
	font-weight: 600;
}

/* Contact form grid ------------------------------------------------------ */

.ne-rfq--contact .ne-rfq__grid {
	gap: var(--ne-space-4);
}

.ne-formnote {
	margin: 0 0 var(--ne-space-5);
	font-size: var(--ne-fs-sm);
	color: var(--ne-muted);
}

/* Social pills on a light panel ------------------------------------------ */

.ne-panel .ne-social a {
	border-color: var(--ne-line-strong);
	color: var(--ne-primary);
}

.ne-panel .ne-social a:hover {
	border-color: var(--ne-accent-ink);
	color: var(--ne-secondary);
	text-decoration: none;
}
