/* ============================================================
   Northline header + mobile drawer — ported 1:1 from the
   original Shopify section (sections/header.liquid) with the
   live theme's settings baked in.
   ============================================================ */

/* Exact font files served by the live Shopify site (weight 800 is
   synthesised from the 700 file, matching live text metrics). */
@font-face {
	font-family: 'Assistant';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/assistant_n4.woff2') format('woff2');
}
@font-face {
	font-family: 'Assistant';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/assistant_n7.woff2') format('woff2');
}

#nl-header-wrap {
	--nl-font: Assistant, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--nl-header-h: 66px;
	--nl-header-bg: #0a0a0a;
	--nl-gutter: 66px;
	--nl-gutter-mobile: 24px;
	--nl-ann-h: 40px;
	--nl-ann-size: 13px;
	--nl-nav-size: 18px;
	--nl-cta-size: 17px;
	--nl-cta-pad-y: 9px;
	--nl-cta-pad-x: 22px;
	--nl-cta-radius: 100px;
}
#nl-header-wrap * { box-sizing: border-box; }

/* ── ANNOUNCEMENT BAR ── */
.nl-announce {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 24px;
	height: var(--nl-ann-h, 40px);
	font-family: var(--nl-font, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif);
	font-size: var(--nl-ann-size, 13px);
	letter-spacing: 0.01em;
	color: rgba(255,255,255,0.75);
}
.nl-announce__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; animation: nl-annpulse 2.5s ease-in-out infinite; }
@keyframes nl-annpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .nl-announce__dot { animation: none; } }

/* ── HEADER ── */
.nl-header {
	position: fixed;
	left: 0; right: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--nl-gutter, 48px);
	height: var(--nl-header-h, 72px);
	transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
	border-bottom: 1px solid transparent;
	font-family: var(--nl-font, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif);
}
.nl-header--scrolled {
	background: var(--nl-header-bg, #0a0a0a) !important;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom-color: rgba(255,255,255,0.07) !important;
}

/* ── LOGO ── */
.nl-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; z-index: 10; flex-shrink: 0; }
.nl-header__logo img { height: 34px; width: auto; object-fit: contain; display: block; }
.nl-header__logo-text { font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-size: 24px; color: #ffffff; }

/* ── DESKTOP NAV — pushed right beside the CTA (live site's custom CSS) ── */
.nl-header__nav { display: flex; align-items: center; gap: 2px; position: relative; margin-left: auto; }
.nl-header__nav-item { position: relative; }
.nl-header__nav-link {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 14px;
	color: rgba(255,255,255,0.78);
	font-size: var(--nl-nav-size, 14px);
	font-weight: 450;
	letter-spacing: 0.004em;
	text-decoration: none;
	border-radius: 6px;
	transition: color 0.15s, background 0.15s;
	background: none; border: none; cursor: pointer;
	font-family: inherit; white-space: nowrap; line-height: 1;
}
.nl-header__nav-link:hover,
.nl-header__nav-link:focus-visible { color: #fff; background: rgba(255,255,255,0.07); outline: none; }
.nl-header__nav-chevron {
	width: 13px; height: 13px;
	fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	transition: transform 0.22s ease; flex-shrink: 0; opacity: 0.7;
}
.nl-header__nav-item:hover .nl-header__nav-chevron,
.nl-header__nav-item.is-open .nl-header__nav-chevron { transform: rotate(180deg); opacity: 1; }

/* ── DROPDOWN ── */
.nl-header__dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 210px;
	background: #111;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 10px;
	padding: 6px;
	opacity: 0; pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
	box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}
.nl-header__dropdown::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 0; right: 0;
	height: 16px;
}
.nl-header__nav-item:hover .nl-header__dropdown,
.nl-header__nav-item.is-open .nl-header__dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nl-header__dropdown a {
	display: block; padding: 10px 14px;
	color: rgba(255,255,255,0.68);
	font-size: var(--nl-nav-size, 14px);
	text-decoration: none; border-radius: 6px;
	transition: color 0.13s, background 0.13s;
	font-family: inherit; white-space: nowrap;
}
.nl-header__dropdown a:hover { color: #fff; background: rgba(255,255,255,0.07); }

/* ── RIGHT SIDE ── */
.nl-header__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nl-header__cta {
	display: inline-flex; align-items: center;
	padding: var(--nl-cta-pad-y, 9px) var(--nl-cta-pad-x, 22px);
	border-radius: var(--nl-cta-radius, 100px);
	font-size: var(--nl-cta-size, 14px);
	font-weight: 600; text-decoration: none;
	transition: background 0.2s, color 0.2s, transform 0.15s;
	white-space: nowrap; font-family: inherit; letter-spacing: -0.005em;
	border: 1.5px solid transparent;
	background: #f0f5f5; color: #0a0a0a;
}
.nl-header__cta:hover { transform: translateY(-1px); opacity: 0.88; }

/* ── BURGER ── */
.nl-header__burger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 6px 4px; z-index: 10;
}
.nl-header__burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: center; }
.nl-header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nl-header__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nl-header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── DRAWER (mobile) ── */
.nl-drawer { position: fixed; inset: 0; z-index: 1002; pointer-events: none; }
.nl-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.35s ease; }
.nl-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(440px, 100vw); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.32,0,0.15,1); overflow-y: auto;
	background: #0d0d0d;
}
.nl-drawer.is-open { pointer-events: auto; }
.nl-drawer.is-open .nl-drawer__backdrop { opacity: 1; }
.nl-drawer.is-open .nl-drawer__panel { transform: translateX(0); }
.nl-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid rgba(255,255,255,0.07); flex-shrink: 0; min-height: var(--nl-header-h, 66px); }
.nl-drawer__top-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nl-drawer__top-logo img { height: 30px; width: auto; object-fit: contain; }
.nl-drawer__top-logo-text { font-family: var(--nl-font, inherit); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; color: #ffffff; }
.nl-drawer__close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.6); padding: 8px; transition: color 0.2s; line-height: 1; }
.nl-drawer__close:hover { color: #fff; }
.nl-drawer__close svg { display: block; width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nl-drawer__nav { flex: 1; padding: 8px 0; }
.nl-drawer__item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.nl-drawer__link {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 28px; color: #fff; text-decoration: none;
	font-family: var(--nl-font, inherit); font-size: 1.1rem; font-weight: 400; letter-spacing: -0.01em;
	transition: color 0.2s; width: 100%; background: none; border: none; cursor: pointer; text-align: left;
}
.nl-drawer__link:hover { color: rgba(255,255,255,0.6); }
.nl-drawer__chevron { width: 18px; height: 18px; fill: none; stroke: rgba(255,255,255,0.4); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; flex-shrink: 0; }
.nl-drawer__item.is-open .nl-drawer__chevron { transform: rotate(180deg); }
.nl-drawer__sub { display: none; padding: 0 0 10px 28px; border-top: 1px solid rgba(255,255,255,0.04); }
.nl-drawer__item.is-open .nl-drawer__sub { display: block; }
.nl-drawer__sub a { display: block; padding: 11px 16px; color: rgba(255,255,255,0.52); text-decoration: none; font-family: var(--nl-font, inherit); font-size: 0.92rem; transition: color 0.18s; border-radius: 6px; }
.nl-drawer__sub a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nl-drawer__footer { padding: 20px 28px 36px; border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.nl-drawer__cta { display: block; width: 100%; text-align: center; padding: 17px 24px; border-radius: 100px; font-family: var(--nl-font, inherit); font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: opacity 0.2s, transform 0.15s; letter-spacing: -0.005em; background: #f0f5f5; color: #0a0a0a; }
.nl-drawer__cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
	.nl-header__nav { display: none; }
	.nl-header__cta { display: none; }
	.nl-header__burger { display: flex; }
	.nl-header { padding: 0 var(--nl-gutter-mobile, 24px); }
}
@media (min-width: 1024px) { .nl-header__burger { display: none; } }

/* ════════ FOOTER (footerhero1) — sitewide ════════ */
#nl-foot {
	--nf-bg: rgba(20,20,20,.85);
	--nf-text: #ffffff;
	--nf-muted: #999999;
	--nf-input-bg: transparent;
	--nf-input-border: rgba(255,255,255,.3);
	--nf-input-text: #ffffff;
	--nf-divider: rgba(255,255,255,.12);
	background: var(--nf-bg) !important;
	color: var(--nf-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	padding: 48px 0 0;
	position: relative;
}
#nl-foot *, #nl-foot *::before, #nl-foot *::after { box-sizing: border-box; }
#nl-foot .nf__inner { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
#nl-foot .nf__newsletter { padding-bottom: 40px; }
#nl-foot .nf__nl-label {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 20px;
	line-height: 1;
}
#nl-foot .nf__nl-form { display: flex; align-items: center; gap: 16px; max-width: 480px; }
#nl-foot .nf__nl-input {
	flex: 1;
	background: var(--nf-input-bg);
	border: 1px solid var(--nf-input-border);
	border-radius: 4px;
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nf-input-text);
	font-family: inherit;
	outline: none;
	transition: border-color .2s;
}
#nl-foot .nf__nl-input::placeholder { color: var(--nf-muted); opacity: .7; }
#nl-foot .nf__nl-input:focus { border-color: var(--nf-text); }
#nl-foot .nf__nl-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--nf-text);
	font-size: 24px;
	padding: 8px;
	line-height: 1;
	transition: opacity .2s;
}
#nl-foot .nf__nl-btn:hover { opacity: .6; }
#nl-foot .nf__nl-btn svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
#nl-foot .nl-newsletter-form__msg { font-size: 13px; color: #4ade80; margin: 10px 0 0; min-height: 1em; }
#nl-foot .nf__bottom {
	border-top: 1px solid var(--nf-divider);
	padding: 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
#nl-foot .nf__logo {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--nf-text);
	text-decoration: none;
}
#nl-foot .nf__legal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	font-size: 13px;
	color: var(--nf-muted);
}
#nl-foot .nf__legal span, #nl-foot .nf__legal a { white-space: nowrap; }
#nl-foot .nf__legal a { color: var(--nf-muted); text-decoration: none; transition: color .2s; }
#nl-foot .nf__legal a:hover { color: var(--nf-text); }
#nl-foot .nf__sep { margin: 0 12px; opacity: .4; }
@media (max-width: 740px) {
	#nl-foot { padding-top: 32px; }
	#nl-foot .nf__inner { padding: 0 20px; }
	#nl-foot .nf__bottom { flex-direction: column; align-items: flex-start; }
}
