/* ============================================================
   Northline About page — exact port of the live Shopify section
   sections/aboutuspage.liquid rendered with live settings.
   Scope: #nlap-about  (do not restyle; live parity required)
   ============================================================ */
/* ═══════════════════════════════════════════════════
   NORTHLINE ABOUT — about
   Path Robotics structure: sidebar-left + content-right
   Light beige bg, vertical divider, sticky sidebar labels
═══════════════════════════════════════════════════ */

#nlap-about {
  --c-bg-light:       #000000;
  --c-bg-white:       #ffffff;
  --c-bg-dark:        #141414;
  --c-accent:         #e8553a;
  --c-text:           #111111;
  --c-text-sec:       #555555;
  --c-text-lt:        #ffffff;
  --c-text-lt-muted:  #888888;
  --c-border:         #d8d4cc;
  --c-border-dk:      #2a2a2a;
  --c-sidebar:        #888888;
  --g-start:          #d36868;
  --g-mid:            #e55db1;
  --g-end:            #3a8fe8;
  --grad:             linear-gradient(90deg, #d36868, #e55db1, #3a8fe8);
  --t-body:           17px;
  --t-body-lh:        2.2;
  --t-label:          12px;
  --l-sidebar:        260px;
  --l-pad-v:          100px;
  --l-pad-h:          72px;
  --l-pad-r:          80px;
  --l-mob:            24px;
  --a-dur:            750ms;
  --a-delay:          100ms;
  --a-rise:           30px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── SHARED: scroll-reveal ──────────────────────────── */
#nlap-about .nl-reveal {
  opacity: 0;
  transform: translateY(var(--a-rise));
  transition: opacity var(--a-dur) cubic-bezier(0.16,1,0.3,1),
              transform var(--a-dur) cubic-bezier(0.16,1,0.3,1);
}
#nlap-about .nl-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SHARED: gradient text ──────────────────────────── */
#nlap-about .nl-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SHARED: animated gradient underline ────────────── */
#nlap-about .nl-grad-line {
  display: block;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
#nlap-about .nl-grad-line.visible { transform: scaleX(1); }

/* ── SHARED: sidebar + content layout ──────────────── */
#nlap-about .nl-row {
  display: grid;
  grid-template-columns: var(--l-sidebar) 1px 1fr;
  min-height: 1px;
}
#nlap-about .nl-sidebar {
  padding: var(--l-pad-v) 0 var(--l-pad-v) 60px;
  position: relative;
}
#nlap-about .nl-sidebar-inner {
  position: sticky;
  top: 120px;
}
#nlap-about .nl-sidebar-label {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-sidebar);
  display: block;
  margin-bottom: 12px;
}
#nlap-about .nl-sidebar-arrow {
  display: block;
  width: 18px;
  height: 18px;
  color: var(--c-sidebar);
}
#nlap-about .nl-vline { background: var(--c-border); }
#nlap-about .nl-vline-dk { background: var(--c-border-dk); }
#nlap-about .nl-content {
  padding: var(--l-pad-v) var(--l-pad-r) var(--l-pad-v) var(--l-pad-h);
}

/* ── SHARED: section headline ───────────────────────── */
#nlap-about .nl-h2 {
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}
#nlap-about .nl-body {
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  max-width: 640px;
}
#nlap-about .nl-body p { margin: 0 0 20px; }
#nlap-about .nl-body p:last-child { margin: 0; }

/* ══════════════════════════════════════════════════
   1 — HERO
══════════════════════════════════════════════════ */
#nlap-about .nl-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d0d0d;
}
#nlap-about .nl-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  
  animation: nlKB 22s ease-in-out infinite alternate;
}
@keyframes nlKB { from { transform: scale(1); } to { transform: scale(1.06); } }
#nlap-about .nl-hero__overlay {
  position: absolute; inset: 0;
  background: #000000;
  opacity: 0.5;
}
/* gradient fade at bottom — helps text legibility */
#nlap-about .nl-hero__fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  pointer-events: none;
}
#nlap-about .nl-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 80px 80px;
  max-width: 1200px;
}
#nlap-about .nl-hero__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.55;
  margin-bottom: 24px;
}
#nlap-about .nl-hero__h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 28px;
}
#nlap-about .nl-hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: #cccccc;
  max-width: 580px;
  margin: 0 0 56px;
}
#nlap-about .nl-hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
  flex-wrap: nowrap;
}
#nlap-about .nl-hero__stat {
  flex: 1;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 32px;
}
#nlap-about .nl-hero__stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
#nlap-about .nl-hero__stat-val {
  display: block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  white-space: nowrap;
}
#nlap-about .nl-hero__stat-lbl {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════
   2, 3, 5 — LIGHT TEXT SECTIONS (sidebar + content)
══════════════════════════════════════════════════ */
#nlap-about .nl-text-section {
  border-bottom: 1px solid var(--c-border);
}

/* ══════════════════════════════════════════════════
   4 — FULL-WIDTH IMAGE
══════════════════════════════════════════════════ */
#nlap-about .nl-fw {
  height: 560px;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}
#nlap-about .nl-fw__img {
  width: 100%;
  height: 120%;
  margin-top: -10%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
#nlap-about .nl-fw__grad {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #d3686822 0%, transparent 60%, #3a8fe815 100%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════
   6 — CERTIFICATION (dark section)
══════════════════════════════════════════════════ */
#nlap-about .nl-cert {
  background: #141414;
  border-bottom: 1px solid #2a2a2a;
}
#nlap-about .nl-cert .nl-vline { background: #2a2a2a; }
#nlap-about .nl-cert .nl-sidebar-label { color: #555555; }
#nlap-about .nl-cert .nl-sidebar-arrow { color: #555555; }
#nlap-about .nl-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
  margin-top: 52px;
}
#nlap-about .nl-cert-card {
  background: #141414;
  padding: 36px 32px;
  transition: background 0.25s;
}
#nlap-about .nl-cert-card:hover { background: #1e1e1e; }
#nlap-about .nl-cert-card__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text-lt);
  margin: 0 0 8px;
}
#nlap-about .nl-cert-card__loc {
  font-size: 12px;
  color: #666;
  margin: 0 0 16px;
}
#nlap-about .nl-cert-card__scope {
  font-size: 13px;
  line-height: 1.55;
  color: #666;
  margin: 0;
}
/* animated gradient top border per card */
#nlap-about .nl-cert-card {
  position: relative;
  overflow: hidden;
}
#nlap-about .nl-cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
#nlap-about .nl-cert-card.visible::before { transform: scaleX(1); }

/* ══════════════════════════════════════════════════
   7 — OPERATING PRINCIPLES
══════════════════════════════════════════════════ */
#nlap-about .nl-op-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid #d8d4cc;
}
#nlap-about .nl-op-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 28px;
  padding: 36px 0;
  border-bottom: 1px solid #d8d4cc;
  align-items: start;
}
#nlap-about .nl-op-num {
  font-size: 13px;
  font-weight: 500;
  color: #dddddd;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
#nlap-about .nl-op-body {}
#nlap-about .nl-op-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 10px;
  line-height: 1.15;
}
#nlap-about .nl-op-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin: 0;
  max-width: 540px;
}
/* gradient left bar animates in on scroll */
#nlap-about .nl-op-item {
  position: relative;
}
#nlap-about .nl-op-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
#nlap-about .nl-op-item.visible::before { transform: scaleY(1); }

/* ══════════════════════════════════════════════════
   8 — FINAL CTA
══════════════════════════════════════════════════ */
#nlap-about .nl-cta {
  position: relative;
  min-height: 500px;
  background: #141414;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#nlap-about .nl-cta__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  
}
#nlap-about .nl-cta__overlay {
  position: absolute; inset: 0;
  background: #000000;
  opacity: 0.65;
}
#nlap-about .nl-cta__grad {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #d3686833 0%, transparent 50%, #3a8fe822 100%);
  pointer-events: none;
}
#nlap-about .nl-cta__content {
  position: relative;
  z-index: 2;
  padding: 80px;
  max-width: 760px;
}
#nlap-about .nl-cta__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8553a;
  margin-bottom: 20px;
}
#nlap-about .nl-cta__h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 24px;
}
#nlap-about .nl-cta__body {
  font-size: 17px;
  line-height: 1.65;
  color: #aaaaaa;
  margin: 0 0 40px;
  max-width: 520px;
}
#nlap-about .nl-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e8553a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}
#nlap-about .nl-cta__btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── MOBILE ─────────────────────────────────────── */
@media (max-width: 860px) {
  #nlap-about .nl-row {
    grid-template-columns: 1fr;
  }
  #nlap-about .nl-vline,
  #nlap-about .nl-vline-dk { display: none; }
  #nlap-about .nl-sidebar {
    padding: var(--l-mob) var(--l-mob) 8px;
  }
  #nlap-about .nl-sidebar-inner { position: static; }
  #nlap-about .nl-content {
    padding: 8px var(--l-mob) calc(var(--l-mob) * 2.5);
  }
  #nlap-about .nl-hero { min-height: 480px; }
  #nlap-about .nl-hero__content { padding: 80px var(--l-mob) var(--l-mob); }
  #nlap-about .nl-hero__stats { flex-wrap: wrap; gap: 24px; }
  #nlap-about .nl-hero__stat { flex: 0 0 calc(50% - 12px); border-right: none; margin-right: 0; padding-right: 0; }
  #nlap-about .nl-fw { height: 280px; }
  #nlap-about .nl-fw__img { height: 100%; margin-top: 0; }
  #nlap-about .nl-cert-grid { grid-template-columns: 1fr; }
  #nlap-about .nl-op-item { grid-template-columns: 36px 1fr; gap: 0 16px; }
  #nlap-about .nl-cta__content { padding: 60px var(--l-mob); }
  
  
}

@media (prefers-reduced-motion: reduce) {
  #nlap-about .nl-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  #nlap-about .nl-grad-line,
  #nlap-about .nl-cert-card::before,
  #nlap-about .nl-op-item::before { transition: none !important; transform: scaleX(1) scaleY(1) !important; }
  #nlap-about .nl-hero__bg { animation: none !important; }
}
