/* ============================================================
   Northline Distribution — main stylesheet
   Premium dark B2B industrial design. No external dependencies.
   ============================================================ */

/* ---------- Font (self-hosted) ---------- */
/* Exact Inter files served by the live Shopify site. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/inter_n4.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/inter_n5.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/inter_n7.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
	--nl-bg: #0a0a0a;
	--nl-ink: #1a1a1a;
	--nl-dark-2: #141414;
	--nl-cream: #f0ede8;
	--nl-light: #efefef;
	--nl-white: #ffffff;
	--nl-muted: #999999;
	--nl-muted-dark: #b0b0b0;
	--nl-accent: #e8553a;
	--nl-g1a: #9b5de5;
	--nl-g1b: #f97316;
	--nl-g2a: #f97316;
	--nl-g2b: #3a8fe8;
	--nl-teal: #647b7b;
	--nl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--nl-header-h: 68px;
	--nl-radius: 8px;
	--nl-container: 1400px;
	--nl-gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	font-family: var(--nl-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--nl-white);
	background: var(--nl-bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
figure { margin: 0; }
em { font-style: italic; }

.nl-container { max-width: var(--nl-container); margin: 0 auto; padding-left: var(--nl-gutter); padding-right: var(--nl-gutter); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}
.nl-skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--nl-white); color: var(--nl-ink);
	padding: 10px 18px; z-index: 300; border-radius: 0 0 6px 0;
}
.nl-skip-link:focus { left: 0; }

/* Honeypot */
.nl-hp-wrap, .nl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Placeholder for missing images */
.nl-placeholder {
	width: 100%; height: 100%; min-height: 200px;
	background: linear-gradient(135deg, #1c1c1e 0%, #2a2a2e 50%, #1c1c1e 100%);
	border-radius: inherit;
}

/* ---------- Type helpers ---------- */
.nl-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255,255,255,.85);
	margin: 0 0 20px;
}
.nl-eyebrow--dark { color: rgba(0,0,0,.55); }
.nl-eyebrow--accent { color: var(--nl-accent); }
.nl-eyebrow--dot::before {
	content: '';
	display: inline-block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #4ade80;
	margin-right: 10px;
	vertical-align: middle;
	animation: nl-pulse 2.4s ease-in-out infinite;
}
@keyframes nl-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.nl-grad-1 {
	background: linear-gradient(90deg, var(--nl-g1a), var(--nl-g1b));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-style: italic;
	padding-right: .06em;
}
.nl-grad-2 {
	background: linear-gradient(90deg, var(--nl-g2a), var(--nl-g2b));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-style: italic;
	padding-right: .06em;
}

/* ---------- Buttons ---------- */
.nl-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 100px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.005em;
	text-decoration: none;
	text-align: center;
	border: 1px solid transparent;
	transition: transform .25s ease, opacity .25s ease, background .25s ease;
	line-height: 1.3;
}
.nl-btn:hover { transform: translateY(-2px); opacity: .92; }
.nl-btn--lg { padding: 17px 38px; }
.nl-btn--light { background: var(--nl-white); color: #000; }
.nl-btn--ghost { background: transparent; color: var(--nl-white); border-color: rgba(255,255,255,.45); }
.nl-btn--ghost:hover { border-color: var(--nl-white); }
.nl-btn--accent { background: var(--nl-accent); color: var(--nl-white); }
.nl-btn--gradient { background: linear-gradient(90deg, #f59e0b, #a855f7); color: #111; font-weight: 700; border: 0; }
.nl-arrow-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 500; text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: opacity .2s;
}
.nl-arrow-link:hover { opacity: .65; }

/* ---------- Service pages ---------- */
.nl-svc-hero {
	position: relative;
	min-height: 78vh;
	min-height: 78svh;
	display: flex;
	align-items: center;
	isolation: isolate;
	background:
		radial-gradient(1200px 500px at 80% -10%, rgba(155,93,229,.22), transparent 60%),
		radial-gradient(900px 420px at 15% 110%, rgba(249,115,22,.16), transparent 60%),
		var(--nl-bg);
}
.nl-svc-hero__media, .nl-svc-hero__media picture { position: absolute; inset: 0; z-index: -2; }
.nl-svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.nl-svc-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.35)); }
.nl-svc-hero__content { max-width: 980px; padding: 150px var(--nl-gutter) 90px; margin-left: max(calc((100vw - var(--nl-container)) / 2), 0px); }
.nl-svc-hero h1 { font-size: clamp(38px, 5.6vw, 78px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.nl-svc-hero__sub { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255,255,255,.78); max-width: 600px; margin-bottom: 32px; }
.nl-svc-hero__note { margin-top: 18px; font-size: 14px; color: var(--nl-muted); }

.nl-svc-showcase { background: var(--nl-bg); padding-bottom: clamp(28px, 4vw, 56px); }
.nl-svc-showcase__media img { width: 100%; max-height: 86vh; object-fit: cover; }
.nl-svc-showcase__caption { max-width: 900px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--nl-gutter) 0; text-align: center; }
.nl-svc-showcase__body { color: var(--nl-muted-dark); font-size: clamp(16px, 1.5vw, 19px); }

.nl-svc-features { background: var(--nl-bg); padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 72px); }
.nl-svc-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nl-svc-features__card {
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	padding: clamp(22px, 2.5vw, 34px);
	background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.nl-svc-features__card h2 { font-size: 20px; margin-bottom: 10px; }
.nl-svc-features__card p { margin: 0; color: var(--nl-muted-dark); font-size: 15.5px; }
@media (max-width: 860px) { .nl-svc-features__grid { grid-template-columns: 1fr; } }

.nl-svc-steps { background: var(--nl-bg); padding: clamp(40px, 6vw, 90px) 0; }
.nl-svc-steps__head { margin-bottom: clamp(30px, 4vw, 48px); }
.nl-svc-steps__head h2 { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.03em; }
.nl-svc-steps__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.nl-svc-steps__card {
	position: relative;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	overflow: hidden;
	background: #101012;
}
.nl-svc-steps__media { aspect-ratio: 4 / 3; background: #17171a; }
.nl-svc-steps__media img { width: 100%; height: 100%; object-fit: cover; }
.nl-svc-steps__num {
	position: absolute; top: 12px; left: 14px;
	font-size: 13px; font-weight: 700; letter-spacing: .08em;
	background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 100px;
	border: 1px solid rgba(255,255,255,.2);
}
.nl-svc-steps__card h3 { font-size: 21px; margin: 18px 20px 8px; }
.nl-svc-steps__card p { margin: 0 20px 22px; color: var(--nl-muted-dark); font-size: 15px; }
@media (max-width: 1000px) { .nl-svc-steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nl-svc-steps__grid { grid-template-columns: 1fr; } }

.nl-svc-partner { background: var(--nl-bg); display: grid; grid-template-columns: 1.15fr 1fr; min-height: 560px; }
.nl-svc-partner__media { position: relative; min-height: 320px; }
.nl-svc-partner__media picture, .nl-svc-partner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-svc-partner__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 80px); }
.nl-svc-partner__desc { color: var(--nl-muted-dark); margin-bottom: 26px; max-width: 52ch; }
.nl-svc-partner__quote { margin: 0; border-left: 3px solid var(--nl-accent); padding-left: 22px; }
.nl-svc-partner__quote p { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; font-style: italic; margin-bottom: 12px; }
.nl-svc-partner__quote cite { font-style: normal; color: var(--nl-muted); }
@media (max-width: 860px) { .nl-svc-partner { grid-template-columns: 1fr; } }

.nl-svc-cert {
	background:
		radial-gradient(900px 400px at 50% 120%, rgba(58,143,232,.18), transparent 60%),
		#0d0d10;
	border-top: 1px solid rgba(255,255,255,.06);
	border-bottom: 1px solid rgba(255,255,255,.06);
	text-align: center;
	padding: clamp(64px, 9vw, 130px) var(--nl-gutter);
}
.nl-svc-cert h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.03em; }
.nl-svc-cert p { color: var(--nl-muted-dark); max-width: 560px; margin: 0 auto 30px; }

.nl-svc-related { background: var(--nl-bg); padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.nl-svc-related h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; margin-bottom: 32px; }
.nl-svc-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nl-svc-related__card {
	display: block;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	overflow: hidden;
	background: #101012;
	transition: transform .3s ease, border-color .3s ease;
}
.nl-svc-related__card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.nl-svc-related__media { aspect-ratio: 16 / 9; background: #17171a; }
.nl-svc-related__media img { width: 100%; height: 100%; object-fit: cover; }
.nl-svc-related__card h3 { font-size: 20px; margin: 18px 20px 6px; }
.nl-svc-related__card p { margin: 0 20px 20px; color: var(--nl-muted); font-size: 14.5px; }
@media (max-width: 860px) { .nl-svc-related__grid { grid-template-columns: 1fr; } }

.nl-svc-form { background: #101014; border-top: 1px solid rgba(255,255,255,.06); padding: clamp(56px, 8vw, 110px) 0; }
.nl-svc-form__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.nl-svc-form__intro h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.03em; }
.nl-svc-form__muted { color: var(--nl-muted); }
@media (max-width: 900px) { .nl-svc-form__grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.nl-form-field { margin-bottom: 18px; }
.nl-form-field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nl-muted); margin-bottom: 8px; }
.nl-form-field input, .nl-form-field select, .nl-form-field textarea {
	width: 100%;
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 8px;
	color: var(--nl-white);
	padding: 13px 15px;
	font-size: 16px;
	font-family: inherit;
	transition: border-color .2s;
}
.nl-form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.nl-form-field select option { color: #111; }
.nl-form-field input:focus, .nl-form-field select:focus, .nl-form-field textarea:focus { outline: none; border-color: #a855f7; }
.nl-form-field input::placeholder, .nl-form-field textarea::placeholder { color: #666; }
.nl-form-field.has-error input, .nl-form-field.has-error textarea, .nl-form-field.has-error select { border-color: #ef4444; }
.nl-quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.nl-form-field--consent label { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; color: var(--nl-muted-dark); line-height: 1.5; }
.nl-form-field--consent input { width: auto; margin-top: 2px; accent-color: #a855f7; }
.nl-form-field--consent a { color: var(--nl-white); }
.nl-quote-form__submit { margin: 6px 0 0; }
.nl-quote-form__submit .nl-btn { width: 100%; padding: 16px 32px; border-radius: 10px; }
.nl-quote-form__msg { min-height: 1.2em; font-size: 15px; margin-top: 14px; }
.nl-quote-form__msg.is-success { color: #4ade80; }
.nl-quote-form__msg.is-error { color: #f87171; }
.nl-field-error { display: block; font-size: 12.5px; color: #f87171; margin-top: 5px; text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) { .nl-quote-form__grid { grid-template-columns: 1fr; } }

/* ---------- Quote page ---------- */
.nl-quote { background: #151515; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.nl-quote__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; padding-top: 40px; }
.nl-quote__intro h1 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.03em; margin-bottom: 22px; }
.nl-quote__desc { color: var(--nl-muted-dark); font-size: clamp(15.5px, 1.3vw, 18px); max-width: 52ch; }
.nl-quote__stats { list-style: none; margin: 36px 0 0; border-top: 1px solid rgba(255,255,255,.15); }
.nl-quote__stats li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.nl-quote__stat-label { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--nl-muted); }
.nl-quote__stat-value { font-weight: 600; }
.nl-quote__contact { margin-top: 30px; }
.nl-quote__contact p { display: flex; gap: 14px; margin-bottom: 8px; font-size: 15px; }
.nl-quote__contact span { color: var(--nl-muted); min-width: 52px; }
.nl-quote__contact a { color: var(--nl-white); text-decoration: none; }
.nl-quote__form-card {
	background: rgba(255,255,255,.02);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px;
	padding: clamp(22px, 3vw, 40px);
}
@media (max-width: 900px) { .nl-quote__grid { grid-template-columns: 1fr; } }

/* ---------- Facility ---------- */
.nl-facility { background: var(--nl-white); color: var(--nl-ink); padding: clamp(56px, 7vw, 96px) 0; }
.nl-facility__head h2 { font-size: clamp(30px, 3.8vw, 50px); letter-spacing: -.02em; }
.nl-facility__head p { color: #666; margin-bottom: 36px; }
.nl-facility__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.nl-facility__track::-webkit-scrollbar { display: none; }
.nl-facility__slide { flex: 0 0 min(70%, 760px); scroll-snap-align: start; }
.nl-facility__slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.nl-facility__slide figcaption { margin-top: 10px; font-size: 15px; color: #555; }
.nl-facility__nav { display: flex; gap: 10px; margin-top: 8px; }
.nl-facility__nav .nl-slider-arrow { color: #777; border: 1px solid #ccc; border-radius: 6px; width: 44px; height: 44px; font-size: 20px; display: grid; place-items: center; }
.nl-facility__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.nl-facility__feature h3 { font-size: 21px; }
.nl-facility__feature h3 em { font-style: italic; }
.nl-facility__feature p { color: #555; font-size: 15.5px; margin: 0; }
@media (max-width: 800px) { .nl-facility__features { grid-template-columns: 1fr; } }

/* About page styles live in about.css (exact port of the live Shopify section). */

/* ---------- Careers ---------- */
.nl-careers-hero { position: relative; min-height: 86vh;
	min-height: 86svh; display: flex; align-items: center; isolation: isolate; }
.nl-careers-hero__media, .nl-careers-hero__media picture { position: absolute; inset: 0; z-index: -2; }
.nl-careers-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.nl-careers-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(0,0,0,.72), rgba(0,0,0,.3)); }
.nl-careers-hero__content { max-width: 940px; padding: 150px var(--nl-gutter) 90px; margin-left: max(calc((100vw - var(--nl-container)) / 2), 0px); }
.nl-careers-hero h1 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.nl-careers-hero__sub { color: rgba(255,255,255,.8); max-width: 580px; margin-bottom: 32px; font-size: clamp(16px, 1.4vw, 19px); }

.nl-careers-mission { background: var(--nl-cream); color: var(--nl-ink); padding: clamp(56px, 8vw, 110px) 0; }
.nl-careers-mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.nl-careers-mission h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.03em; }
.nl-careers-mission p { color: #555; font-size: clamp(15.5px, 1.3vw, 18px); }
.nl-careers-mission__img { border-radius: 12px; width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .nl-careers-mission__grid { grid-template-columns: 1fr; } }

.nl-careers-gallery { background: var(--nl-cream); padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; }
.nl-careers-gallery__track { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--nl-gutter) 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.nl-careers-gallery__track::-webkit-scrollbar { display: none; }
.nl-careers-gallery__item { flex: 0 0 min(320px, 74vw); scroll-snap-align: start; }
.nl-careers-gallery__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

.nl-careers-values { background: var(--nl-bg); padding: clamp(56px, 8vw, 110px) 0; }
.nl-careers-values__head h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.03em; }
.nl-careers-values__head p { color: var(--nl-muted-dark); max-width: 70ch; }
.nl-careers-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(30px, 4vw, 48px); }
.nl-careers-values__card { border-top: 1px solid rgba(255,255,255,.16); padding-top: 22px; }
.nl-careers-values__card h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; }
.nl-careers-values__card h3 em { font-style: italic; }
.nl-careers-values__card p { color: var(--nl-muted); font-size: 15.5px; }
@media (max-width: 740px) { .nl-careers-values__grid { grid-template-columns: 1fr; } }

.nl-careers-jobs { background: var(--nl-bg); padding-bottom: clamp(56px, 8vw, 100px); }
.nl-careers-jobs h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; margin-bottom: 28px; }
.nl-careers-jobs__list { list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.nl-careers-jobs__item { border-bottom: 1px solid rgba(255,255,255,.14); }
.nl-careers-jobs__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 22px 4px; cursor: pointer; list-style: none;
}
.nl-careers-jobs__item summary::-webkit-details-marker { display: none; }
.nl-careers-jobs__title { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.nl-careers-jobs__meta { display: flex; align-items: center; gap: 18px; color: var(--nl-muted); font-size: 14px; white-space: nowrap; }
.nl-careers-jobs__chevron { font-size: 20px; transition: transform .25s; }
.nl-careers-jobs__item details[open] .nl-careers-jobs__chevron { transform: rotate(45deg); }
.nl-careers-jobs__body { padding: 0 4px 28px; color: var(--nl-muted-dark); max-width: 76ch; }
.nl-careers-jobs__body h2 { font-size: 19px; margin-top: 12px; color: var(--nl-white); }
.nl-careers-jobs__body ul { padding-left: 20px; margin-bottom: 16px; }

.nl-careers-apply { background: var(--nl-dark-2); text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.nl-careers-apply h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.03em; }
.nl-careers-apply p { color: var(--nl-muted-dark); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Blog ---------- */
.nl-blog-hero {
	background:
		radial-gradient(1000px 420px at 80% -20%, rgba(155,93,229,.2), transparent 60%),
		var(--nl-bg);
	padding: clamp(120px, 15vw, 180px) 0 clamp(36px, 5vw, 64px);
}
.nl-blog-hero h1 { font-size: clamp(36px, 5vw, 68px); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; }
.nl-blog-hero p { color: var(--nl-muted-dark); max-width: 70ch; font-size: clamp(15.5px, 1.3vw, 18px); }
.nl-blog-list { background: var(--nl-bg); padding-bottom: clamp(64px, 9vw, 120px); }
.nl-blog-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.nl-blog-filter__label { color: var(--nl-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; }
.nl-blog-filter a {
	text-decoration: none;
	font-size: 14.5px;
	padding: 8px 18px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 100px;
	color: rgba(255,255,255,.8);
	transition: all .2s;
}
.nl-blog-filter a:hover { border-color: rgba(255,255,255,.5); }
.nl-blog-filter a.is-active { background: var(--nl-white); color: #000; border-color: var(--nl-white); }
.nl-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nl-blog-card { border: 1px solid rgba(255,255,255,.09); border-radius: 14px; overflow: hidden; background: #101012; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.nl-blog-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.25); }
.nl-blog-card__media { display: block; aspect-ratio: 16 / 10; background: #17171a; }
.nl-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nl-blog-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nl-blog-card__meta { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; color: var(--nl-muted); }
.nl-blog-card__cat { color: var(--nl-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.nl-blog-card h2 { font-size: 20px; line-height: 1.3; margin: 0; }
.nl-blog-card h2 a { text-decoration: none; }
.nl-blog-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nl-blog-card__excerpt { color: var(--nl-muted-dark); font-size: 14.5px; margin: 0; flex: 1; }
.nl-blog-card .nl-arrow-link { font-size: 14px; align-self: flex-start; }
.nl-blog-empty { color: var(--nl-muted); padding: 40px 0; }
@media (max-width: 1000px) { .nl-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nl-blog-grid { grid-template-columns: 1fr; } }
.nl-pagination { margin-top: 44px; text-align: center; }
.nl-pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; text-decoration: none; margin: 0 3px; color: rgba(255,255,255,.8); }
.nl-pagination .page-numbers.current { background: var(--nl-white); color: #000; }

/* ---------- Article ---------- */
.nl-article { background: var(--nl-bg); padding-bottom: clamp(56px, 8vw, 100px); }
.nl-article__hero { padding: clamp(120px, 15vw, 170px) 0 clamp(24px, 3vw, 40px); }
.nl-article__meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--nl-muted); font-size: 14px; margin-bottom: 18px; }
.nl-article__cat { color: var(--nl-accent); font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.nl-article__hero h1 { font-size: clamp(30px, 4.2vw, 56px); letter-spacing: -.03em; max-width: 24ch; }
.nl-article__featured img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 14px; }
.nl-article__layout { display: grid; grid-template-columns: 180px minmax(0, 680px); gap: 48px; padding-top: clamp(28px, 4vw, 48px); justify-content: center; }
.nl-article__sidebar { position: sticky; top: 100px; align-self: start; }
.nl-article__side-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #777; margin-bottom: 8px; }
.nl-article__author-name { font-weight: 600; font-size: 15px; }
.nl-article__author { margin-bottom: 30px; }
.nl-article__share a { display: block; color: #777; font-size: 13.5px; text-decoration: none; padding: 4px 0; }
.nl-article__share a:hover { color: var(--nl-white); }
@media (max-width: 800px) {
	.nl-article__layout { grid-template-columns: 1fr; gap: 24px; }
	.nl-article__sidebar { position: static; display: flex; gap: 40px; }
}
.nl-article__footer { margin-top: clamp(40px, 6vw, 64px); }
.nl-article__prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; }
.nl-article__pn { text-decoration: none; }
.nl-article__pn span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--nl-muted); margin-bottom: 6px; }
.nl-article__pn strong { font-size: 16px; }
.nl-article__pn--next { text-align: right; }
.nl-article__cta { margin-top: clamp(40px, 6vw, 64px); text-align: center; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: clamp(32px, 5vw, 56px); background: radial-gradient(600px 200px at 50% 0%, rgba(155,93,229,.14), transparent 70%); }
.nl-article__cta h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 22px; }
@media (max-width: 640px) { .nl-article__prevnext { grid-template-columns: 1fr; } .nl-article__pn--next { text-align: left; } }

/* ---------- Prose (article body, legal, pages) ---------- */
.nl-prose { font-size: 17px; line-height: 1.75; color: var(--nl-muted-dark); }
.nl-prose h2 { font-size: 28px; color: var(--nl-white); margin: 40px 0 16px; letter-spacing: -.02em; }
.nl-prose h3 { font-size: 20px; color: var(--nl-white); margin: 32px 0 12px; }
.nl-prose p { margin: 0 0 20px; }
.nl-prose ul, .nl-prose ol { padding-left: 24px; margin: 0 0 20px; }
.nl-prose li { margin-bottom: 8px; }
.nl-prose a { color: var(--nl-accent); text-underline-offset: 3px; }
.nl-prose img { border-radius: 8px; margin: 28px 0; }
.nl-prose blockquote { border-left: 3px solid var(--nl-accent); margin: 28px 0; padding: 4px 0 4px 24px; font-size: 19px; font-style: italic; color: var(--nl-white); }
.nl-prose strong { color: var(--nl-white); }
.nl-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
.nl-prose th, .nl-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #2a2a2a; vertical-align: top; }
.nl-prose th { color: var(--nl-white); }

/* ---------- Legal ---------- */
.nl-legal { background: var(--nl-bg); padding: clamp(120px, 15vw, 170px) 0 clamp(64px, 9vw, 110px); }
.nl-legal__head h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.03em; }
.nl-legal__updated { color: var(--nl-muted); font-size: 14px; }
.nl-legal__layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; margin-top: clamp(28px, 4vw, 48px); }
.nl-legal__toc { position: sticky; top: 100px; align-self: start; }
.nl-legal__toc p { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--nl-muted); margin-bottom: 12px; }
.nl-legal__toc ul { list-style: none; }
.nl-legal__toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--nl-muted-dark); text-decoration: none; border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; }
.nl-legal__toc a:hover { color: var(--nl-white); border-left-color: var(--nl-accent); }
@media (max-width: 800px) { .nl-legal__layout { grid-template-columns: 1fr; gap: 20px; } .nl-legal__toc { position: static; } }

/* ---------- Plain page ---------- */
.nl-page { background: var(--nl-bg); padding: clamp(120px, 15vw, 170px) 0 clamp(64px, 9vw, 110px); }
.nl-page__head h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.03em; }

/* ---------- 404 ---------- */
.nl-404 { background: radial-gradient(900px 400px at 50% 0%, rgba(155,93,229,.18), transparent 60%), var(--nl-bg); min-height: 80vh;
	min-height: 80svh; display: flex; align-items: center; text-align: center; padding: 140px 0 80px; }
.nl-404 .nl-container { width: 100%; }
.nl-404__code {
	font-size: clamp(90px, 16vw, 200px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
	margin: 0 0 10px;
	background: linear-gradient(90deg, var(--nl-g1a), var(--nl-g1b), var(--nl-g2b));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.nl-404 h1 { font-size: clamp(24px, 3vw, 40px); }
.nl-404__sub { color: var(--nl-muted-dark); max-width: 52ch; margin: 0 auto 32px; }
.nl-404__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.nl-404__list { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.nl-404__list a { color: var(--nl-muted); text-decoration: none; font-size: 15px; }
.nl-404__list a:hover { color: var(--nl-white); }

/* ---------- Thank you ---------- */
.nl-thankyou { background: radial-gradient(900px 400px at 50% 0%, rgba(74,222,128,.12), transparent 60%), var(--nl-bg); min-height: 80vh;
	min-height: 80svh; display: flex; align-items: center; padding: 140px 0 80px; }
.nl-thankyou__card { max-width: 640px; margin: 0 auto; text-align: center; }
.nl-thankyou__check {
	display: inline-grid; place-items: center;
	width: 74px; height: 74px;
	border-radius: 50%;
	background: rgba(74,222,128,.14);
	border: 1px solid rgba(74,222,128,.5);
	color: #4ade80;
	font-size: 32px;
	margin-bottom: 26px;
}
.nl-thankyou h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
.nl-thankyou p { color: var(--nl-muted-dark); }
.nl-thankyou__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- Reveal animation ---------- */
.nl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.nl-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nl-reveal { opacity: 1; transform: none; } }

/* ---------- Cookie banner ---------- */
.nl-cookie {
	position: fixed;
	left: 16px; right: 16px; bottom: 16px;
	z-index: 200;
	max-width: 520px;
	margin: 0 auto;
	background: #16161a;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 24px 60px rgba(0,0,0,.55);
	font-size: 14px;
	color: var(--nl-muted-dark);
}
.nl-cookie p { margin: 0 0 14px; }
.nl-cookie a { color: var(--nl-white); }
.nl-cookie__actions { display: flex; gap: 10px; }
.nl-cookie__actions button {
	flex: 1;
	padding: 10px 16px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,.2);
	background: transparent;
	color: var(--nl-white);
	font-size: 14px;
	font-weight: 600;
}
.nl-cookie__actions .nl-cookie__accept { background: var(--nl-white); color: #000; border-color: var(--nl-white); }
