/* ============================================================
   Northline homepage — section styles ported 1:1 from the
   original Shopify sections with the live settings baked in.
   Section order: hero → market chart → experts → products →
   quality → testimonials → industries → gallery → final CTA.
   ============================================================ */

/* ════════ HERO (northlineherocopy) ════════ */
#nl-hero-wrap {
	--nl-heading-font: Assistant, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--nl-body-font: Assistant, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--nl-accent-start: #9b5de5;
	--nl-accent-end: #f97316;
	--nl-accent2-start: #f97316;
	--nl-accent2-end: #3a8fe8;
	--nl-min-height: 100vh;
	--nl-min-height-mobile: 100svh;
	--nl-pad-bottom: 80px;
	--nl-pad-top: 120px;
	--nl-pad-bottom-mobile: 60px;
	--nl-pad-top-mobile: 100px;
	--nl-gutter: 64px;
	--nl-gutter-mobile: 24px;
	--nl-content-max: 1100px;
	--nl-heading-min: 48px;
	--nl-heading-max: 120px;
	--nl-heading-weight: 800;
	--nl-heading-lh: 1.06;
	--nl-heading-tracking: -0.03em;
	--nl-heading-mb: 24px;
	--nl-eyebrow-size: 13px;
	--nl-eyebrow-weight: 600;
	--nl-eyebrow-spacing: 0.12em;
	--nl-eyebrow-mb: 24px;
	--nl-dot-size: 6px;
	--nl-subtext-size: 20px;
	--nl-subtext-weight: 400;
	--nl-subtext-lh: 1.6;
	--nl-subtext-opacity: 0.78;
	--nl-subtext-max: 620px;
	--nl-subtext-mb: 36px;
	--nl-stat-size: 17px;
	--nl-stat-value-weight: 700;
	--nl-stat-label-weight: 400;
	--nl-stat-opacity: 0.85;
	--nl-stats-gap: 40px;
	--nl-stats-gap-y: 8px;
	--nl-stats-mb: 36px;
	--nl-btn-font: 16px;
	--nl-btn-weight: 600;
	--nl-btn-pad-y: 18px;
	--nl-btn-pad-x: 36px;
	--nl-btn-radius: 32px;
	--nl-btn-gap: 12px;
	--nl-btn-tracking: -0.005em;
}
#nl-hero-wrap * { box-sizing: border-box; }

.nl-hero {
	position: relative;
	width: 100%;
	min-height: var(--nl-min-height, 100vh);
	display: flex;
	align-items: center;
	overflow: visible;
	padding-bottom: var(--nl-pad-bottom, 80px);
	padding-top: var(--nl-pad-top, 120px);
	font-family: var(--nl-body-font, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif);
}
.nl-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.nl-hero__bg-img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	animation: nl-kenburns 18s ease-out forwards;
}
@keyframes nl-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.nl-hero__overlay { position: absolute; inset: 0; z-index: 1; }

.nl-hero__eyebrow,
.nl-hero__heading,
.nl-hero__subtext,
.nl-hero__stats,
.nl-hero__actions {
	opacity: 0;
	transform: translateY(24px);
	animation: nl-fadeUp 0.7s ease-out forwards;
}
.nl-hero__eyebrow  { animation-delay: 0.2s; }
.nl-hero__heading  { animation-delay: 0.4s; }
.nl-hero__subtext  { animation-delay: 0.65s; }
.nl-hero__stats    { animation-delay: 0.85s; }
.nl-hero__actions  { animation-delay: 1.05s; }
@keyframes nl-fadeUp { to { opacity: 1; transform: translateY(0); } }

.nl-hero__content {
	position: relative; z-index: 2; width: 100%;
	max-width: var(--nl-content-max, 900px);
	padding-left: var(--nl-gutter, 64px);
	padding-right: var(--nl-gutter, 64px);
}
.nl-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: var(--nl-eyebrow-size, 13px);
	font-weight: var(--nl-eyebrow-weight, 600);
	letter-spacing: var(--nl-eyebrow-spacing, 0.12em);
	text-transform: uppercase;
	color: rgba(255,255,255,0.55);
	margin-bottom: var(--nl-eyebrow-mb, 24px);
}
.nl-hero__eyebrow-dot {
	width: var(--nl-dot-size, 6px); height: var(--nl-dot-size, 6px);
	border-radius: 50%; flex-shrink: 0;
}
.nl-hero__heading {
	font-family: var(--nl-heading-font, inherit);
	font-size: clamp(var(--nl-heading-min, 44px), 6vw, var(--nl-heading-max, 72px));
	font-weight: var(--nl-heading-weight, 700);
	line-height: var(--nl-heading-lh, 1.06);
	letter-spacing: var(--nl-heading-tracking, -0.03em);
	color: #ffffff;
	margin: 0 0 var(--nl-heading-mb, 24px);
}
.nl-hero__heading-accent {
	font-style: italic;
	background: linear-gradient(90deg, var(--nl-accent-start, #dc2626), var(--nl-accent-end, #f97316), var(--nl-accent-start, #dc2626));
	background-size: 200% 100%;
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text; display: inline;
	padding-right: 0.08em;
	animation: nl-fadeUp 0.7s ease-out forwards, nl-shimmer 4s ease-in-out 1.5s infinite;
	animation-delay: 0.4s;
	opacity: 0;
}
.nl-hero__heading-accent-2 {
	font-style: italic;
	background: linear-gradient(90deg, var(--nl-accent2-start, #f97316), var(--nl-accent2-end, #eab308), var(--nl-accent2-start, #f97316));
	background-size: 200% 100%;
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text; display: inline;
	padding-right: 0.08em;
	animation: nl-fadeUp 0.7s ease-out forwards, nl-shimmer 4s ease-in-out 2s infinite;
	animation-delay: 0.4s;
	opacity: 0;
}
@keyframes nl-shimmer {
	0%, 100% { background-position: 0% center; }
	50% { background-position: 100% center; }
}
.nl-hero__subtext {
	font-size: var(--nl-subtext-size, 20px);
	font-weight: var(--nl-subtext-weight, 400);
	line-height: var(--nl-subtext-lh, 1.6);
	color: rgba(255,255,255, var(--nl-subtext-opacity, 0.78));
	margin: 0 0 var(--nl-subtext-mb, 36px);
	max-width: var(--nl-subtext-max, 620px);
}
.nl-hero__stats {
	display: flex; flex-wrap: wrap;
	gap: var(--nl-stats-gap-y, 8px) var(--nl-stats-gap, 40px);
	margin-bottom: var(--nl-stats-mb, 36px);
}
.nl-hero__stat {
	font-size: var(--nl-stat-size, 17px);
	color: rgba(255,255,255, var(--nl-stat-opacity, 0.85));
}
.nl-hero__stat-value { font-weight: var(--nl-stat-value-weight, 700); color: #3a8fe8; }
.nl-hero__stat-label { font-weight: var(--nl-stat-label-weight, 400); }
.nl-hero__stats--one-row { flex-wrap: nowrap; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.nl-hero__stats--one-row::-webkit-scrollbar { display: none; }
.nl-hero__stats--one-row .nl-hero__stat { white-space: nowrap; flex-shrink: 0; }
.nl-hero__actions { display: flex; flex-wrap: wrap; gap: var(--nl-btn-gap, 12px); align-items: center; }
.nl-hero__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: var(--nl-btn-pad-y, 16px) var(--nl-btn-pad-x, 32px);
	border-radius: var(--nl-btn-radius, 8px);
	font-size: var(--nl-btn-font, 16px);
	font-weight: var(--nl-btn-weight, 600);
	text-decoration: none; cursor: pointer; border: none;
	transition: opacity .2s, transform .18s;
	letter-spacing: var(--nl-btn-tracking, -0.005em);
	white-space: nowrap;
}
.nl-hero__btn:hover { transform: translateY(-1px); opacity: 0.9; }
.nl-hero__btn--primary { background: #ffffff; color: #000000; }
.nl-hero__btn--secondary {
	background: rgba(255,255,255,0.08) !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,0.25);
	backdrop-filter: blur(8px);
}
.nl-hero__btn--secondary:hover { background: rgba(255,255,255,0.14) !important; }

@media (prefers-reduced-motion: reduce) {
	.nl-hero__bg-img { animation: none; }
	.nl-hero__eyebrow, .nl-hero__heading, .nl-hero__subtext,
	.nl-hero__stats, .nl-hero__actions,
	.nl-hero__heading-accent, .nl-hero__heading-accent-2 { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 767px) {
	.nl-hero {
		min-height: var(--nl-min-height-mobile, 100svh);
		padding-bottom: var(--nl-pad-bottom-mobile, 60px);
		padding-top: var(--nl-pad-top-mobile, 100px);
	}
	.nl-hero__content {
		padding-left: var(--nl-gutter-mobile, 24px);
		padding-right: var(--nl-gutter-mobile, 24px);
		max-width: 100%;
	}
	.nl-hero__stats { gap: 8px 16px; flex-wrap: wrap; }
	.nl-hero__stats--one-row { gap: 4px 14px; flex-wrap: wrap; }
	.nl-hero__stats--one-row .nl-hero__stat { white-space: normal; }
	.nl-hero__bg-img--desktop { display: none !important; }
	.nl-hero__bg-img--mobile { display: block !important; }
}
@media (min-width: 768px) {
	.nl-hero__bg-img--mobile { display: none !important; }
}
@media (max-width: 480px) {
	.nl-hero__actions { flex-direction: column; align-items: flex-start; }
	.nl-hero__btn { width: 100%; justify-content: center; }
}

/* ════════ MARKET CHART (northline-whoweare) ════════ */
#nl-crisis {
	--nl-bg: #0a0a0a;
	--nl-text: #ffffff;
	--nl-muted: #c3c8cf;
	--nl-grid: rgba(255,255,255,.08);
	background: var(--nl-bg);
	color: var(--nl-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 8vw, 8rem);
	position: relative; z-index: 10;
}
#nl-crisis * { box-sizing: border-box; }
#nl-crisis .nl-crisis__container { width: 90%; max-width: 1800px; margin: 0 auto; }
#nl-crisis .nl-crisis__header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
#nl-crisis .nl-crisis__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 52px);
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: -0.02em;
}
#nl-crisis .nl-crisis__subtitle {
	margin: 20px 0 0; max-width: 620px;
	color: var(--nl-muted);
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.55; letter-spacing: -.01em;
}
#nl-crisis .nl-crisis__grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 4rem); align-items: start;
}
#nl-crisis .nl-crisis__chart-col { position: relative; }
#nl-crisis .nl-crisis__chart-label-y-axis {
	color: var(--nl-muted); opacity: .48; font-size: 11px;
	letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
#nl-crisis .nl-crisis__chart-area { position: relative; width: 100%; }
#nl-crisis .nl-crisis__chart-inner { display: flex; width: 100%; align-items: stretch; }
#nl-crisis .nl-crisis__chart-labels-y {
	flex-shrink: 0; width: 36px; display: flex; flex-direction: column;
	justify-content: space-between; padding: 0; pointer-events: none;
	margin-right: 8px;
}
#nl-crisis .nl-crisis__label-y {
	color: var(--nl-muted); opacity: .48; font-size: 12px;
	letter-spacing: .04em; line-height: 1; text-align: right;
}
#nl-crisis .nl-crisis__svg-box { flex: 1; min-width: 0; }
#nl-crisis svg.nl-crisis__svg { display: block; width: 100%; height: auto; overflow: visible; }
#nl-crisis .nl-crisis__grid-line { stroke: var(--nl-grid); stroke-width: 1; }
#nl-crisis .nl-crisis__path-base {
	fill: none; stroke: rgba(255,255,255,.06); stroke-width: 2.5;
	stroke-linecap: round; stroke-linejoin: round;
}
#nl-crisis .nl-crisis__path-main {
	fill: none; stroke-width: 3.25; stroke-linecap: round; stroke-linejoin: round;
	filter: drop-shadow(0 0 10px rgba(96,165,250,.12));
}
#nl-crisis .nl-crisis__path-fill { transition: opacity .3s ease; }
#nl-crisis .nl-crisis__dot { fill: #5faef4; opacity: 0; transition: opacity .18s linear; }
#nl-crisis .nl-crisis__chart-x {
	display: flex; justify-content: space-between; gap: 8px; margin-top: 14px;
	margin-left: 44px;
}
#nl-crisis .nl-crisis__label-x {
	color: var(--nl-muted); opacity: .46; font-size: 12px;
	letter-spacing: .04em; line-height: 1; white-space: nowrap;
}
#nl-crisis .nl-crisis__chart-source {
	margin-top: 12px; color: var(--nl-muted); opacity: .44; font-size: 11px; line-height: 1.4;
}
#nl-crisis .nl-crisis__chart-source a { color: inherit; }
#nl-crisis .nl-crisis__chart-note {
	margin-top: 18px; color: var(--nl-muted); opacity: .52; font-size: 12px;
	letter-spacing: .14em; text-transform: uppercase;
	display: flex; align-items: center; gap: 10px;
}
#nl-crisis .nl-crisis__chart-note svg { width: 18px; height: 18px; flex-shrink: 0; }
#nl-crisis .nl-crisis__stats-col {
	border-left: 1px solid rgba(255,255,255,.1);
	padding-left: clamp(1.5rem, 3vw, 3rem);
	display: flex; flex-direction: column;
}
#nl-crisis .nl-crisis__main-num-wrap { display: flex; align-items: baseline; }
#nl-crisis .nl-crisis__main-prefix,
#nl-crisis .nl-crisis__main-suffix {
	font-size: clamp(36px, 4.5vw, 72px);
	font-weight: 700; letter-spacing: -.04em; line-height: .92;
}
#nl-crisis .nl-crisis__main-number {
	display: block;
	font-size: clamp(48px, 6vw, 72px);
	line-height: .92; font-weight: 700; letter-spacing: -.05em;
	font-variant-numeric: tabular-nums;
}
#nl-crisis .nl-crisis__main-label {
	display: block; margin-top: 14px; color: var(--nl-muted); opacity: .72;
	font-size: 13px;
	letter-spacing: .18em; line-height: 1.55; text-transform: uppercase;
	overflow-wrap: break-word; word-break: break-word; white-space: pre-line;
}
#nl-crisis .nl-crisis__cta {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 18px; margin-bottom: 28px;
	color: #60a5fa;
	font-size: 14px; font-weight: 600; letter-spacing: .02em;
	text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s;
}
#nl-crisis .nl-crisis__cta:hover { opacity: .7; }
#nl-crisis .nl-crisis__cta svg { width: 14px; height: 14px; }
#nl-crisis .nl-crisis__stat-cards { display: flex; flex-direction: column; gap: 20px; }
#nl-crisis .nl-crisis__stat-card {
	display: flex; align-items: flex-start; gap: 16px;
	opacity: 0; transform: translateY(18px); will-change: transform, opacity;
}
#nl-crisis .nl-crisis__stat-icon {
	flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
	border: 1.5px solid var(--_icon-color, rgba(255,255,255,.2));
	display: flex; align-items: center; justify-content: center;
}
#nl-crisis .nl-crisis__stat-icon svg {
	width: 22px; height: 22px; stroke: var(--_icon-color, rgba(255,255,255,.5));
	fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
#nl-crisis .nl-crisis__stat-card-body { min-width: 0; }
#nl-crisis .nl-crisis__stat-value {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
#nl-crisis .nl-crisis__stat-label {
	margin-top: 4px; color: var(--nl-muted); opacity: .72;
	font-size: 13px;
	line-height: 1.35; letter-spacing: .14em; text-transform: uppercase;
}
#nl-crisis .nl-crisis__stat-desc {
	margin-top: 4px; color: var(--nl-muted); opacity: .55;
	font-size: 13px; line-height: 1.45; text-transform: none;
}
@media (max-width: 990px) {
	#nl-crisis .nl-crisis__grid { grid-template-columns: 1fr; gap: 40px; }
	#nl-crisis .nl-crisis__stats-col {
		border-left: none; border-top: 1px solid rgba(255,255,255,.1);
		padding-left: 0; padding-top: 32px;
	}
	#nl-crisis .nl-crisis__title { font-size: clamp(30px, 9vw, 48px); }
	#nl-crisis .nl-crisis__subtitle { font-size: 16px; }
	#nl-crisis .nl-crisis__main-number { font-size: clamp(40px, 14vw, 64px); }
	#nl-crisis .nl-crisis__main-prefix,
	#nl-crisis .nl-crisis__main-suffix { font-size: clamp(28px, 10vw, 48px); }
	#nl-crisis .nl-crisis__chart-labels-y { width: 28px; }
	#nl-crisis .nl-crisis__label-y { font-size: 10px; }
	#nl-crisis .nl-crisis__chart-x { margin-left: 36px; }
	#nl-crisis .nl-crisis__stat-icon { width: 42px; height: 42px; }
	#nl-crisis .nl-crisis__stat-icon svg { width: 20px; height: 20px; }
}
@media (max-width: 480px) {
	#nl-crisis .nl-crisis__stat-cards { gap: 18px; }
	#nl-crisis .nl-crisis__stat-card { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	#nl-crisis .nl-crisis__stat-card,
	#nl-crisis .nl-crisis__dot { transition: none !important; }
}

/* ════════ EXPERTS (northline-experts) ════════ */
#nl-experts {
	--nla-bg: #f0ede8;
	--nla-text: #1a1a1a;
	--nla-muted: #555555;
	--nla-border: rgba(0,0,0,.12);
	--nla-canvas-bg: #000000;
	background: var(--nla-bg);
	color: var(--nla-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	padding: clamp(4rem, 8vw, 8rem) 0;
}
#nl-experts .nla__inner {
	width: 90%;
	margin: 0 5%;
	display: grid;
	grid-template-columns: 1fr auto 1fr 1fr;
	gap: 0;
	align-items: center;
}
#nl-experts .nla__visual {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--nla-canvas-bg);
	overflow: hidden;
}
#nl-experts .nla__visual canvas { display: block; width: 100%; height: 100%; }
#nl-experts .nla__visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
#nl-experts .nla__divider {
	width: 1px;
	align-self: stretch;
	background: var(--nla-border);
	margin: 0 clamp(20px, 3vw, 48px);
}
#nl-experts .nla__content { padding-right: clamp(16px, 2vw, 24px); }
#nl-experts .nla__eyebrow {
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--nla-muted);
	margin-bottom: 20px;
	line-height: 1;
}
#nl-experts .nla__title {
	margin: 0;
	font-size: clamp(28px, 3vw, 48px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -.03em;
}
#nl-experts .nla__desc {
	margin: 20px 0 0;
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.6;
	color: var(--nla-muted);
}
#nl-experts .nla__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	font-size: 16px;
	font-weight: 500;
	color: var(--nla-text);
	text-decoration: none;
	transition: opacity .2s;
}
#nl-experts .nla__cta:hover { opacity: .7; }
#nl-experts .nla__cta-arrow { font-size: 22px; opacity: .7; }
#nl-experts .nla__features {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-left: clamp(16px, 2vw, 32px);
}
#nl-experts .nla__feature { padding: clamp(18px, 2vw, 28px) 0; }
#nl-experts .nla__feature + .nla__feature { border-top: 1px solid var(--nla-border); }
#nl-experts .nla__feature-title {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.3;
	margin: 0 0 8px;
}
#nl-experts .nla__feature-desc {
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.5;
	color: var(--nla-muted);
	margin: 0;
}
@media (max-width: 990px) {
	#nl-experts .nla__inner { display: flex; flex-direction: column; gap: 40px; }
	#nl-experts .nla__divider { width: 100%; height: 1px; margin: 0; }
	#nl-experts .nla__visual { aspect-ratio: 4 / 3; }
	#nl-experts .nla__content,
	#nl-experts .nla__features { padding: 0; }
}

/* ════════ PRODUCTS (northline-products) ════════ */
#nl-pgrid {
	--npg-bg: #f0ede8;
	--npg-text: #1a1a1a;
	--npg-muted: #999999;
	--npg-accent: #e8553a;
	--npg-card-bg: #1a1a1a;
	--npg-card-radius: 6px;
	--npg-card-height: 480px;
	--npg-card-gap: 24px;
	--npg-title-size: 120px;
	--npg-subtitle-size: 30px;
	--npg-card-title-size: 40px;
	--npg-card-desc-size: 20px;
	--npg-arrow-size: 56px;
	--npg-pad-top: calc(112px + 0px);
	--npg-pad-bottom: 100px;
	--npg-pad-left: 48px;
	--npg-pad-right: 48px;
	--npg-header-mb: 48px;
	--npg-card-pad: 36px;
	background: var(--npg-bg) !important;
	color: var(--npg-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	padding-top: var(--npg-pad-top);
	padding-bottom: var(--npg-pad-bottom);
	width: 100%;
	position: relative;
	z-index: 1;
}
#nl-pgrid *, #nl-pgrid *::before, #nl-pgrid *::after { box-sizing: border-box; }
#nl-pgrid .npg__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding-left: var(--npg-pad-left);
	padding-right: var(--npg-pad-right);
}
#nl-pgrid .npg__header { margin-bottom: var(--npg-header-mb); }
#nl-pgrid .npg__title {
	margin: 0;
	font-size: clamp(42px, 8vw, var(--npg-title-size));
	line-height: max(1.05, 0.92);
	font-weight: 700;
	letter-spacing: -0.05em;
}
#nl-pgrid .npg__subtitle {
	margin: 16px 0 0;
	font-size: clamp(16px, 1.6vw, var(--npg-subtitle-size));
	color: var(--npg-muted);
	letter-spacing: -0.01em;
	line-height: 1.4;
	font-weight: 400;
}
#nl-pgrid .npg__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--npg-card-gap);
}
#nl-pgrid .npg__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: var(--npg-card-height);
	border-radius: var(--npg-card-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--npg-text);
	background: var(--npg-card-bg);
}
#nl-pgrid .npg__card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	transition: transform 0.4s ease;
}
#nl-pgrid .npg__card:hover .npg__card-img { transform: scale(1.03); }
#nl-pgrid .npg__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
	z-index: 1;
	pointer-events: none;
}
#nl-pgrid .npg__card-top { position: relative; z-index: 2; padding: var(--npg-card-pad); }
#nl-pgrid .npg__card-name {
	margin: 0;
	font-size: clamp(24px, 3vw, var(--npg-card-title-size));
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
}
#nl-pgrid .npg__card-bottom {
	position: relative;
	z-index: 2;
	padding: var(--npg-card-pad);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}
#nl-pgrid .npg__card-desc {
	margin: 0;
	font-size: clamp(14px, 1.2vw, var(--npg-card-desc-size));
	line-height: 1.4;
	font-weight: 400;
	max-width: 380px;
	color: rgba(255,255,255,.9);
}
#nl-pgrid .npg__card-arrow {
	flex-shrink: 0;
	width: var(--npg-arrow-size);
	height: var(--npg-arrow-size);
	border-radius: 50%;
	background: var(--npg-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease;
}
#nl-pgrid .npg__card:hover .npg__card-arrow { transform: scale(1.08); }
#nl-pgrid .npg__card-arrow svg {
	width: calc(var(--npg-arrow-size) * 0.38);
	height: calc(var(--npg-arrow-size) * 0.38);
	fill: none;
	stroke: #ffffff;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
@media (max-width: 740px) {
	#nl-pgrid {
		--npg-pad-top: calc(112px + 56px);
		--npg-pad-bottom: 56px;
		--npg-pad-left: 20px;
		--npg-pad-right: 20px;
	}
	#nl-pgrid .npg__cards { grid-template-columns: 1fr; }
	#nl-pgrid .npg__card { min-height: 320px; }
}

/* ════════ QUALITY (northline-blog) ════════ */
#nl-qual {
	--nq-text: #ffffff;
	--nq-muted: #cccccc;
	--nq-btn-bg: #ffffff;
	--nq-btn-color: #111111;
	--nq-btn-radius: 4px;
	--nq-pad-top: 132px;
	--nq-pad-bottom: 80px;
	--nq-pad-left: 60px;
	--nq-pad-right: 60px;
	position: relative;
	width: 100%;
	min-height: 760px;
	display: flex;
	align-items: center;
	overflow: hidden;
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	color: var(--nq-text);
}
#nl-qual *, #nl-qual *::before, #nl-qual *::after { box-sizing: border-box; }
#nl-qual .nq__bg { position: absolute; inset: 0; z-index: 0; }
#nl-qual .nq__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
#nl-qual .nq__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
	pointer-events: none;
}
#nl-qual .nq__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: var(--nq-pad-top) var(--nq-pad-right) var(--nq-pad-bottom) var(--nq-pad-left);
}
#nl-qual .nq__eyebrow {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nq-muted);
	margin-bottom: 24px;
	line-height: 1;
}
#nl-qual .nq__title {
	margin: 0;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.03em;
	max-width: 20ch;
}
#nl-qual .nq__stats { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 40px; }
#nl-qual .nq__stat { min-width: 140px; }
#nl-qual .nq__stat-value {
	display: block;
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
#nl-qual .nq__stat-label {
	display: block;
	margin-top: 8px;
	font-size: 16px;
	font-weight: 400;
	color: var(--nq-muted);
	line-height: 1.4;
	overflow-wrap: break-word;
	word-break: break-word;
}
#nl-qual .nq__cta {
	display: inline-block;
	margin-top: 40px;
	padding: 16px 32px;
	background: var(--nq-btn-bg);
	color: var(--nq-btn-color);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	border-radius: var(--nq-btn-radius);
	border: 1px solid #ffffff;
	transition: opacity .2s ease, transform .2s ease;
	cursor: pointer;
}
#nl-qual .nq__cta:hover { opacity: 0.85; transform: scale(1.02); }
#nl-qual .nq__bg--mobile { display: none; }
@media (max-width: 740px) {
	#nl-qual {
		min-height: 480px;
		--nq-pad-top: 48px;
		--nq-pad-bottom: 48px;
		--nq-pad-left: 20px;
		--nq-pad-right: 20px;
		align-items: flex-end;
	}
	#nl-qual.has-mobile-bg .nq__bg--desktop { display: none; }
	#nl-qual.has-mobile-bg .nq__bg--mobile { display: block; }
	#nl-qual .nq__bg--mobile img { object-position: center center; }
	#nl-qual .nq__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 100%); }
	#nl-qual .nq__stats { display: grid; grid-template-columns: 1fr 1fr; row-gap: 32px; gap: 32px; }
	#nl-qual .nq__stat { min-width: 0; }
	#nl-qual .nq__title { font-size: clamp(28px, 8vw, 42px); }
	#nl-qual .nq__eyebrow { font-size: 14px; margin-bottom: 24px; }
	#nl-qual .nq__cta { display: block; width: 100%; text-align: center; padding: 18px 24px; font-size: 15px; border-radius: 10px; margin-top: 40px; }
	#nl-qual .nq__stat-value { font-size: clamp(24px, 8vw, 40px); }
	#nl-qual .nq__stat-label { font-size: 16px; }
}

/* ════════ TESTIMONIALS (northline-faq) ════════ */
#nl-test {
	--nt-bg: #efefef;
	--nt-text: #1a1a1a;
	--nt-muted: #888888;
	--nt-dot: #cccccc;
	--nt-dot-active: #333333;
	--nt-arrow: #999999;
	--nt-btn-bg: transparent;
	--nt-btn-text: #111111;
	--nt-btn-border: #333333;
	--nt-pad-top: 80px;
	--nt-pad-bottom: 80px;
	--nt-pad-left: 60px;
	--nt-pad-right: 60px;
	background: var(--nt-bg) !important;
	color: var(--nt-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	padding-top: var(--nt-pad-top);
	padding-bottom: var(--nt-pad-bottom);
	position: relative;
	overflow: hidden;
}
#nl-test *, #nl-test *::before, #nl-test *::after { box-sizing: border-box; }
#nl-test .nt__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--nt-pad-right) 0 var(--nt-pad-left);
}
#nl-test .nt__track { position: relative; min-height: 400px; }
#nl-test .nt__slide {
	display: none;
	grid-template-columns: 260px 1fr;
	gap: 60px;
	align-items: start;
	opacity: 0;
	transition: opacity 0.35s ease;
}
#nl-test .nt__slide.nt--active { display: grid; opacity: 1; }
#nl-test .nt__logo { display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; }
#nl-test .nt__logo img { max-width: 100%; max-height: 100px; object-fit: contain; }
#nl-test .nt__logo-placeholder {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #e5e5e5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	color: #333333;
	letter-spacing: .02em;
}
#nl-test .nt__content { display: flex; flex-direction: column; }
#nl-test .nt__quote {
	margin: 0;
	font-size: clamp(20px, 2.5vw, 30px);
	line-height: 1.45;
	font-weight: 400;
	letter-spacing: -0.01em;
	max-width: 56ch;
}
#nl-test .nt__author { margin-top: 24px; font-size: 17px; font-weight: 600; line-height: 1.3; }
#nl-test .nt__role { margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--nt-muted); line-height: 1.4; }
#nl-test .nt__cta-row { display: flex; justify-content: flex-end; margin-top: 24px; }
#nl-test .nt__cta {
	display: inline-block;
	padding: 12px 28px;
	background: var(--nt-btn-bg);
	color: var(--nt-btn-text);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	border-radius: 24px;
	border: 1px solid var(--nt-btn-border);
	transition: opacity .2s;
}
#nl-test .nt__cta:hover { opacity: .8; }
#nl-test .nt__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 60px;
}
#nl-test .nt__arrow {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--nt-arrow);
	font-size: 28px;
	line-height: 1;
	opacity: .6;
	transition: opacity .2s;
}
#nl-test .nt__arrow:hover { opacity: 1; }
#nl-test .nt__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: var(--nt-dot);
	cursor: pointer;
	padding: 0;
	transition: background .2s, transform .2s;
}
#nl-test .nt__dot.nt--active { background: var(--nt-dot-active); transform: scale(1.25); }
@media (max-width: 740px) {
	#nl-test {
		--nt-pad-top: 48px;
		--nt-pad-bottom: 48px;
		--nt-pad-left: 20px;
		--nt-pad-right: 20px;
	}
	#nl-test .nt__slide { grid-template-columns: 1fr; gap: 24px; }
	#nl-test .nt__logo { justify-content: flex-start; }
}

/* ════════ INDUSTRIES (northline-quote) ════════ */
#nl-ind {
	--ni-bg: #647b7b;
	--ni-text: #000000;
	--ni-muted: #aaaaaa;
	--ni-border: rgba(255,255,255,.15);
	--ni-card-bg: transparent;
	--ni-pad-top: 100px;
	--ni-pad-bottom: 100px;
	--ni-pad-x: 48px;
	background: var(--ni-bg) !important;
	color: var(--ni-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	padding: var(--ni-pad-top) 0 var(--ni-pad-bottom);
	position: relative;
}
#nl-ind *, #nl-ind *::before, #nl-ind *::after { box-sizing: border-box; }
#nl-ind .ni__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--ni-pad-x); }
#nl-ind .ni__header { margin-bottom: 56px; }
#nl-ind .ni__eyebrow {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ni-muted);
	margin-bottom: 20px;
	line-height: 1;
}
#nl-ind .ni__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 72px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.03em;
	max-width: 24ch;
}
#nl-ind .ni__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
#nl-ind .ni__card { display: flex; flex-direction: column; cursor: pointer; }
#nl-ind .ni__cat {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 12px;
	line-height: 1;
}
#nl-ind .ni__img-wrap {
	border: 1px solid var(--ni-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--ni-card-bg);
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
#nl-ind .ni__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	transition: transform .3s ease;
}
#nl-ind .ni__card:hover .ni__img-wrap img { transform: scale(1.04); }
#nl-ind .ni__card-title {
	margin: 0;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
#nl-ind .ni__detail {
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s ease, opacity .3s ease;
	opacity: 0;
}
#nl-ind .ni__card:hover .ni__detail,
#nl-ind .ni__card.ni--open .ni__detail { max-height: 600px; opacity: 1; }
#nl-ind .ni__desc { margin: 12px 0 0; font-size: 16px; font-weight: 400; line-height: 1.55; color: var(--ni-muted); }
#nl-ind .ni__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 16px; }
#nl-ind .ni__tag { font-size: 15px; font-weight: 400; color: var(--ni-muted); line-height: 1.4; }
@media (max-width: 740px) {
	#nl-ind {
		--ni-pad-top: 56px;
		--ni-pad-bottom: 56px;
		--ni-pad-x: 20px;
	}
	#nl-ind .ni__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
	#nl-ind .ni__grid { grid-template-columns: 1fr; }
}

/* ════════ GALLERY (gallery) ════════ */
#nl-gal {
	--ng-bg: #f0ede8;
	--ng-text: #111111;
	--ng-muted: #777777;
	--ng-dot: #cccccc;
	--ng-dot-active: #222222;
	--ng-arrow-color: #333333;
	--ng-arrow-border: #999999;
	--ng-pad-top: 80px;
	--ng-pad-bottom: 80px;
	--ng-pad-x: 48px;
	--ng-img-radius: 10px;
	background: var(--ng-bg) !important;
	color: var(--ng-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	padding: var(--ng-pad-top) 0 var(--ng-pad-bottom);
	overflow: hidden;
	position: relative;
}
#nl-gal *, #nl-gal *::before, #nl-gal *::after { box-sizing: border-box; }
#nl-gal .ng__header {
	max-width: 1400px;
	margin: 0 auto 40px;
	padding: 0 var(--ng-pad-x);
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 16px;
}
#nl-gal .ng__title {
	margin: 0;
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
#nl-gal .ng__carousel { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 var(--ng-pad-x); }
#nl-gal .ng__track-wrap { overflow: visible; position: relative; }
#nl-gal .ng__track { display: flex; transition: transform 0.45s ease; gap: 20px; }
#nl-gal .ng__slide {
	flex: 0 0 56%;
	min-width: 0;
	transition: opacity .3s ease, transform .3s ease;
	opacity: 0.4;
	transform: scale(0.92);
}
#nl-gal .ng__slide.ng--active { opacity: 1; transform: scale(1); }
#nl-gal .ng__slide img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--ng-img-radius);
	box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
#nl-gal .ng__arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	padding: 0 16px;
	z-index: 5;
}
#nl-gal .ng__arrow {
	pointer-events: auto;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--ng-arrow-border);
	border-radius: 6px;
	color: var(--ng-arrow-color);
	font-size: 28px;
	cursor: pointer;
	transition: background .2s, border-color .2s;
	line-height: 1;
	padding: 0;
}
#nl-gal .ng__arrow:hover { background: rgba(0,0,0,.05); border-color: var(--ng-arrow-color); }
#nl-gal .ng__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
#nl-gal .ng__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: var(--ng-dot);
	cursor: pointer;
	transition: background .2s, transform .2s;
}
#nl-gal .ng__dot.ng--active { background: var(--ng-dot-active); transform: scale(1.3); }
@media (max-width: 740px) {
	#nl-gal {
		--ng-pad-top: 48px;
		--ng-pad-bottom: 48px;
		--ng-pad-x: 20px;
	}
}

/* ════════ FINAL CTA (footerhero) ════════ */
#nl-cta {
	--nc-text: #ffffff;
	position: relative;
	width: 100%;
	min-height: 900px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	color: var(--nc-text);
	padding: 124px 48px 80px;
}
#nl-cta *, #nl-cta *::before, #nl-cta *::after { box-sizing: border-box; }
#nl-cta .nc__bg { position: absolute; inset: 0; z-index: 0; }
#nl-cta .nc__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
#nl-cta .nc__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(0,0,0,0.3); }
#nl-cta .nc__content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
#nl-cta .nc__title {
	margin: 0;
	font-size: clamp(36px, 7vw, 80px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
}
#nl-cta .nc__btn {
	display: inline-block;
	margin-top: 32px;
	padding: 16px 36px;
	background: #ffffff;
	color: #111111;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	border-radius: 6px;
	transition: opacity .2s, transform .2s;
}
#nl-cta .nc__btn:hover { opacity: .9; transform: scale(1.02); }
#nl-cta .nc__bg--mobile { display: none; }
@media (max-width: 740px) {
	#nl-cta {
		min-height: 480px;
		padding: 48px 20px 48px;
		align-items: center;
	}
	#nl-cta.has-mobile-bg .nc__bg--desktop { display: none; }
	#nl-cta.has-mobile-bg .nc__bg--mobile { display: block; }
	#nl-cta .nc__bg--mobile img { object-position: center center; }
	#nl-cta .nc__overlay { background: rgba(0,0,0,0.4); }
	#nl-cta .nc__btn { display: block; width: 100%; text-align: center; padding: 16px 28px; font-size: 15px; border-radius: 10px; }
}
