/* =========================================================
   Northgate IP — Intellectual Property Demo
   Standalone. No Tailwind. No shared dependencies.
   Namespace prefix: ng-
   Palette: technical white / paper grey, deep indigo, electric violet
   Type: Space Grotesk (display/body) + JetBrains Mono (metadata)
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Backgrounds — paper-white technical register */
  --ng-bg:       #f8f7f5;
  --ng-bg-2:     #f1f0ed;
  --ng-bg-3:     #e8e6e1;
  --ng-bg-4:     #dddbd6;
  --ng-bg-dark:  #0f0f14;
  --ng-bg-dark2: #161620;
  --ng-bg-dark3: #1e1e2c;
  --ng-bg-dark4: #262638;

  /* Primary — deep indigo / graphite */
  --ng-indigo:       #1a1a3e;
  --ng-indigo-mid:   #252554;
  --ng-indigo-soft:  rgba(26, 26, 62, 0.08);

  /* Accent — electric violet */
  --ng-violet:       #5b21fa;
  --ng-violet-lt:    #7c4aff;
  --ng-violet-pale:  #a07fff;
  --ng-violet-dim:   rgba(91, 33, 250, 0.12);
  --ng-violet-glow:  rgba(91, 33, 250, 0.25);

  /* Text on light backgrounds */
  --ng-text:   #0f0f14;
  --ng-text-2: #2a2a3c;
  --ng-text-3: #4e4e68;
  --ng-text-4: #82829a;
  --ng-text-5: #afafc4;

  /* Text on dark backgrounds */
  --ng-light:   #f4f3ff;
  --ng-light-2: #cccce0;
  --ng-light-3: #9898b4;
  --ng-light-4: #606080;

  /* Rules */
  --ng-rule:        rgba(26, 26, 62, 0.12);
  --ng-rule-strong: rgba(26, 26, 62, 0.22);
  --ng-rule-accent: rgba(91, 33, 250, 0.25);
  --ng-rule-dark:   rgba(255, 255, 255, 0.08);
  --ng-rule-dark-s: rgba(255, 255, 255, 0.15);

  /* Typography */
  --ng-ff-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --ng-ff-mono: "JetBrains Mono", "Fira Mono", "Courier New", monospace;

  /* Layout */
  --ng-max:   1320px;
  --ng-pad-x: clamp(20px, 5vw, 80px);
  --ng-sec-y: clamp(72px, 8vw, 120px);

  /* Radii */
  --ng-r-xs:  2px;
  --ng-r-sm:  4px;
  --ng-r-md:  6px;
  --ng-r-lg:  10px;

  /* Motion */
  --ng-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ng-ff-sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--ng-bg);
  color: var(--ng-text-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
ol, ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
table { border-collapse: collapse; width: 100%; }
select, input, textarea {
  font: inherit;
  color: inherit;
}

::selection { background: var(--ng-violet); color: white; }

/* ---------- 3. Skip Link ---------- */
.ng-skip {
  position: absolute;
  left: -9999px;
  top: 4px;
  background: var(--ng-violet);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 var(--ng-r-md) var(--ng-r-md);
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
}
.ng-skip:focus { left: 16px; }

/* ---------- 4. Typography utilities ---------- */
.ng-mono {
  font-family: var(--ng-ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ng-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ng-violet);
  margin: 0 0 14px;
}
.ng-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ng-violet);
  flex-shrink: 0;
}

.ng-heading {
  font-family: var(--ng-ff-sans);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ng-indigo);
  margin: 0 0 16px;
  text-wrap: balance;
}

.ng-section-desc {
  font-size: 15px;
  color: var(--ng-text-3);
  max-width: 58ch;
  line-height: 1.7;
  margin: 0;
}

/* Screen reader only */
.ng-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. Section head ---------- */
.ng-section-head {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: flex-start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.ng-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.ng-section-head--center .ng-section-desc { margin: 0 auto; }

.ng-section-num {
  font-family: var(--ng-ff-mono);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  color: var(--ng-violet);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
  letter-spacing: -0.02em;
}

/* ---------- 6. Buttons ---------- */
.ng-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  font-family: var(--ng-ff-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--ng-r-sm);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s var(--ng-ease),
    color 0.2s var(--ng-ease),
    border-color 0.2s var(--ng-ease),
    transform 0.2s var(--ng-ease),
    box-shadow 0.2s var(--ng-ease);
}
.ng-btn:focus-visible {
  outline: 2px solid var(--ng-violet);
  outline-offset: 3px;
}
.ng-btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }

.ng-btn--primary {
  background: var(--ng-violet);
  color: white;
  border-color: var(--ng-violet);
}
.ng-btn--primary:hover {
  background: var(--ng-violet-lt);
  border-color: var(--ng-violet-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px var(--ng-violet-glow);
}

.ng-btn--outline {
  background: transparent;
  color: var(--ng-indigo);
  border-color: var(--ng-rule-strong);
}
.ng-btn--outline:hover {
  border-color: var(--ng-violet);
  color: var(--ng-violet);
}

/* ---------- 7. Navigation ---------- */
.ng-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ng-ease), background 0.3s var(--ng-ease);
}
.ng-nav.is-scrolled {
  border-color: var(--ng-rule);
  background: rgba(248, 247, 245, 0.98);
}
.ng-nav__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

/* Brand */
.ng-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ng-ff-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ng-indigo);
  white-space: nowrap;
}
.ng-brand__mark { color: var(--ng-violet); flex-shrink: 0; display: flex; }
.ng-brand__ip { color: var(--ng-violet); }
.ng-brand--footer { color: var(--ng-light); }
.ng-brand--footer .ng-brand__mark { color: var(--ng-violet-pale); }
.ng-brand--footer .ng-brand__ip { color: var(--ng-violet-pale); }

/* Nav links */
.ng-nav__links {
  justify-self: center;
  display: flex;
  gap: 2px;
}
.ng-nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ng-text-3);
  padding: 7px 12px;
  border-radius: var(--ng-r-sm);
  transition: color 0.18s, background 0.18s;
}
.ng-nav__links a:hover {
  color: var(--ng-violet);
  background: var(--ng-violet-dim);
}
.ng-nav__links a:focus-visible {
  outline: 2px solid var(--ng-violet);
  outline-offset: 2px;
}

/* Nav right */
.ng-nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ng-nav__phone {
  font-family: var(--ng-ff-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ng-text-3);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.ng-nav__phone:hover { color: var(--ng-violet); }

/* Hamburger */
.ng-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--ng-bg-2);
  border: 1px solid var(--ng-rule);
  border-radius: var(--ng-r-sm);
  padding: 0;
}
.ng-nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ng-text-2);
  border-radius: 1px;
  transition: transform 0.22s var(--ng-ease), opacity 0.22s;
}
.ng-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.ng-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ng-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.ng-nav__toggle:focus-visible {
  outline: 2px solid var(--ng-violet);
  outline-offset: 2px;
}

/* Mobile drawer */
.ng-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--ng-pad-x) 24px;
  border-top: 1px solid var(--ng-rule);
  background: var(--ng-bg);
}
.ng-drawer.is-open { display: flex; }
.ng-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 18px;
}
.ng-drawer nav a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--ng-rule);
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-text-2);
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
.ng-drawer nav a:hover { color: var(--ng-violet); }
.ng-drawer .ng-btn { align-self: flex-start; margin-top: 4px; }
.ng-drawer__meta {
  margin: 12px 0 0;
  color: var(--ng-text-4);
  font-size: 11px;
}

@media (max-width: 1040px) {
  .ng-nav__links { display: none; }
  .ng-nav__phone { display: none; }
  .ng-nav__cta   { display: none; }
  .ng-nav__toggle { display: flex; }
  .ng-nav__inner { grid-template-columns: auto 1fr; }
}

/* ---------- 8. Hero ---------- */
.ng-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ng-bg-dark);
}

/* Schematic grid — pure CSS */
.ng-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 33, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 250, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(91, 33, 250, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 250, 0.025) 1px, transparent 1px);
  background-size:
    80px 80px,
    80px 80px,
    16px 16px,
    16px 16px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 0%, transparent 75%);
}

.ng-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ng-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.35;
}
.ng-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, var(--ng-bg-dark) 0%, rgba(15,15,20,0.85) 55%, rgba(15,15,20,0.55) 100%),
    linear-gradient(to top, var(--ng-bg-dark) 0%, transparent 40%);
}

.ng-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) var(--ng-pad-x) clamp(60px, 7vw, 100px);
}

.ng-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.ng-hero__code {
  color: var(--ng-light-3);
  font-size: 11px;
}
.ng-hero__rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--ng-rule-dark-s);
  flex-shrink: 0;
}

.ng-hero__heading {
  font-family: var(--ng-ff-sans);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--ng-light);
  margin: 0 0 28px;
  max-width: 12ch;
  text-wrap: balance;
}
.ng-accent { color: var(--ng-violet-pale); }

.ng-hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--ng-light-3);
  max-width: 52ch;
  margin: 0 0 36px;
}

.ng-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.ng-hero .ng-btn--outline {
  color: var(--ng-light);
  border-color: var(--ng-rule-dark-s);
}
.ng-hero .ng-btn--outline:hover {
  border-color: var(--ng-violet-pale);
  color: var(--ng-violet-pale);
}

/* Stats strip */
.ng-hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--ng-rule-dark);
  padding-top: 28px;
  flex-wrap: wrap;
}
.ng-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 32px;
  padding-left: 0;
}
.ng-hero__stat:not(:first-child) { padding-left: 32px; }
.ng-hero__stat-div {
  width: 1px;
  height: 32px;
  background: var(--ng-rule-dark-s);
  flex-shrink: 0;
}
.ng-hero__stat-num {
  font-family: var(--ng-ff-mono);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--ng-violet-pale);
  line-height: 1;
  letter-spacing: -0.01em;
}
.ng-hero__stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ng-light-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 600px) {
  .ng-hero__stats { gap: 20px 0; }
  .ng-hero__stat { padding: 0 20px 0 0; }
  .ng-hero__stat:not(:first-child) { padding-left: 20px; }
  .ng-hero__stat-div { height: 24px; }
}

/* ---------- 9. Credibility strip ---------- */
.ng-cred {
  background: var(--ng-indigo);
  border-top: 1px solid rgba(91,33,250,0.3);
  border-bottom: 1px solid rgba(91,33,250,0.3);
}
.ng-cred__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
  display: flex;
  align-items: stretch;
  min-height: 64px;
  flex-wrap: wrap;
}
.ng-cred__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px 32px;
  flex: 1;
  min-width: 180px;
}
.ng-cred__item:first-child { padding-left: 0; }
.ng-cred__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ng-light-4);
}
.ng-cred__value {
  font-size: 13px;
  font-weight: 500;
  color: var(--ng-light-2);
}
.ng-cred__div {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 12px 0;
}

@media (max-width: 900px) {
  .ng-cred__inner { gap: 0; }
  .ng-cred__div { display: none; }
  .ng-cred__item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); min-width: 50%; }
}
@media (max-width: 500px) {
  .ng-cred__item { min-width: 100%; }
}

/* ---------- 10. Decision Matrix ---------- */
.ng-matrix {
  background: var(--ng-bg);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-matrix__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
}

.ng-matrix__panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid var(--ng-rule-strong);
  border-radius: var(--ng-r-lg);
  overflow: hidden;
}
@media (max-width: 860px) {
  .ng-matrix__panel { grid-template-columns: 1fr; }
}

.ng-matrix__selector {
  background: var(--ng-indigo);
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ng-matrix__prompt {
  color: var(--ng-light-4);
  font-size: 11px;
  margin-bottom: 16px;
  display: block;
}

.ng-matrix__options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 860px) {
  .ng-matrix__options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
}

.ng-matrix__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--ng-r-sm);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  text-align: left;
  background: transparent;
  color: var(--ng-light-3);
  font-size: 13px;
  font-weight: 500;
  width: 100%;
}
@media (max-width: 860px) {
  .ng-matrix__opt { width: auto; }
}
.ng-matrix__opt:hover {
  background: rgba(91,33,250,0.15);
  color: var(--ng-light);
}
.ng-matrix__opt--active {
  background: var(--ng-violet-dim);
  border-color: rgba(91,33,250,0.4);
  color: var(--ng-violet-pale);
}
.ng-matrix__opt:focus-visible {
  outline: 2px solid var(--ng-violet-pale);
  outline-offset: 2px;
}

.ng-matrix__opt-code {
  font-family: var(--ng-ff-mono);
  font-size: 10px;
  font-weight: 600;
  background: rgba(91,33,250,0.18);
  border: 1px solid rgba(91,33,250,0.3);
  border-radius: var(--ng-r-xs);
  padding: 2px 6px;
  color: var(--ng-violet-pale);
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

/* Result panel */
.ng-matrix__result {
  padding: 36px;
  background: var(--ng-bg);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 600px) {
  .ng-matrix__result { padding: 24px 20px; }
}

/* Result inner — injected by JS */
.ng-matrix__result-inner { display: grid; gap: 20px; }

.ng-matrix__right-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-matrix__right-heading {
  font-family: var(--ng-ff-sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--ng-indigo);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.ng-matrix__right-tag {
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  font-weight: 600;
  background: var(--ng-violet-dim);
  border: 1px solid var(--ng-rule-accent);
  color: var(--ng-violet);
  border-radius: var(--ng-r-xs);
  padding: 4px 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  align-self: flex-start;
}

.ng-matrix__rows {
  display: grid;
  gap: 0;
}
.ng-matrix__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--ng-rule);
  padding: 12px 0;
}
.ng-matrix__row:last-child { border-bottom: 0; }
.ng-matrix__row-label {
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ng-text-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-right: 16px;
  align-self: start;
  padding-top: 2px;
}
.ng-matrix__row-val {
  font-size: 14px;
  color: var(--ng-text-2);
  line-height: 1.6;
}
.ng-matrix__row-val strong { color: var(--ng-indigo); font-weight: 600; }

.ng-matrix__not-covered {
  background: rgba(91,33,250,0.04);
  border: 1px solid var(--ng-rule-accent);
  border-radius: var(--ng-r-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ng-text-3);
  line-height: 1.6;
}
.ng-matrix__not-covered .ng-mono { color: var(--ng-violet); margin-bottom: 5px; display: block; }

.ng-matrix__layering {
  background: var(--ng-indigo-soft);
  border-left: 3px solid var(--ng-violet);
  border-radius: 0 var(--ng-r-sm) var(--ng-r-sm) 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ng-text-3);
  line-height: 1.6;
}
.ng-matrix__layering .ng-mono { color: var(--ng-violet); margin-bottom: 4px; display: block; }

@media (max-width: 600px) {
  .ng-matrix__row { grid-template-columns: 1fr; gap: 4px; }
  .ng-matrix__row-label { padding-top: 0; }
}

/* ---------- 11. Services ---------- */
.ng-services {
  background: var(--ng-bg-2);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-services__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
}

.ng-services__media {
  margin-bottom: 48px;
  border-radius: var(--ng-r-lg);
  overflow: hidden;
  max-height: 280px;
  position: relative;
}
.ng-services__media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.6);
}
.ng-services__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ng-bg-2) 0%, transparent 30%, transparent 70%, var(--ng-bg-2) 100%);
  pointer-events: none;
}

.ng-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ng-rule-strong);
  border-radius: var(--ng-r-lg);
  overflow: hidden;
}
@media (max-width: 860px) {
  .ng-services__grid { grid-template-columns: 1fr; }
}

.ng-svc-group {
  border-right: 1px solid var(--ng-rule);
  border-bottom: 1px solid var(--ng-rule);
  padding: 32px 30px;
  background: var(--ng-bg);
}
.ng-svc-group:nth-child(even) { border-right: none; }
@media (max-width: 860px) {
  .ng-svc-group { border-right: none; }
}

.ng-svc-group__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-svc-group__code {
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  font-weight: 600;
  background: var(--ng-violet-dim);
  border: 1px solid var(--ng-rule-accent);
  color: var(--ng-violet);
  border-radius: var(--ng-r-xs);
  padding: 3px 8px;
  letter-spacing: 0.08em;
}
.ng-svc-group h3 {
  font-family: var(--ng-ff-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--ng-indigo);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ng-svc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ng-svc-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-svc-item:last-child { border-bottom: none; padding-bottom: 0; }
.ng-svc-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ng-violet);
  flex-shrink: 0;
  margin-top: 7px;
}
.ng-svc-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-indigo);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ng-svc-item p {
  font-size: 13px;
  color: var(--ng-text-3);
  line-height: 1.65;
  margin: 0;
}

/* ---------- 12. Timeline ---------- */
.ng-timeline {
  background: var(--ng-bg-dark);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule-dark-s);
}
.ng-timeline__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
}

/* Override section head colors for dark bg */
.ng-timeline .ng-eyebrow { color: var(--ng-violet-pale); }
.ng-timeline .ng-eyebrow::before { background: var(--ng-violet-pale); }
.ng-timeline .ng-heading { color: var(--ng-light); }
.ng-timeline .ng-section-desc { color: var(--ng-light-3); }
.ng-timeline .ng-section-num { color: var(--ng-violet); }

.ng-timeline__panel {
  border: 1px solid var(--ng-rule-dark-s);
  border-radius: var(--ng-r-lg);
  overflow: hidden;
  background: var(--ng-bg-dark2);
}

.ng-timeline__tabs {
  display: flex;
  border-bottom: 1px solid var(--ng-rule-dark-s);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ng-timeline__tabs::-webkit-scrollbar { display: none; }

.ng-timeline__tab {
  flex-shrink: 0;
  padding: 14px 24px;
  font-family: var(--ng-ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ng-light-4);
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  background: transparent;
  white-space: nowrap;
}
.ng-timeline__tab:hover { color: var(--ng-light-2); background: rgba(255,255,255,0.03); }
.ng-timeline__tab--active {
  color: var(--ng-violet-pale);
  border-bottom-color: var(--ng-violet);
  background: rgba(91,33,250,0.06);
}
.ng-timeline__tab:focus-visible {
  outline: 2px solid var(--ng-violet);
  outline-offset: -2px;
}

.ng-timeline__pane { overflow: hidden; }
.ng-timeline__pane--hidden { display: none; }

.ng-tl-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ng-tl-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.ng-tl-table thead {
  background: var(--ng-bg-dark3);
  border-bottom: 1px solid var(--ng-rule-dark-s);
}
.ng-tl-table th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--ng-ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ng-light-4);
  white-space: nowrap;
}
.ng-tl-table th:first-child { width: 200px; }
.ng-tl-table th:nth-child(2) { width: 160px; }
.ng-tl-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ng-light-2);
  border-bottom: 1px solid var(--ng-rule-dark);
  vertical-align: top;
  line-height: 1.55;
}
.ng-tl-table tr:last-child td { border-bottom: none; }
.ng-tl-table tr:hover td { background: rgba(91,33,250,0.04); }
.ng-tl-stage {
  font-family: var(--ng-ff-mono);
  font-size: 11px !important;
  font-weight: 600;
  color: var(--ng-violet-pale) !important;
  letter-spacing: 0.04em;
  vertical-align: top;
}
.ng-tl-dur {
  font-family: var(--ng-ff-mono);
  font-size: 12px !important;
  font-weight: 500;
  color: var(--ng-light-3) !important;
}

/* ---------- 13. Fees ---------- */
.ng-fees {
  background: var(--ng-bg);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-fees__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
}

.ng-fees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--ng-rule-strong);
  border-radius: var(--ng-r-lg);
  overflow: hidden;
  background: var(--ng-rule-strong);
  margin-bottom: 28px;
}
@media (max-width: 900px) { .ng-fees__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ng-fees__grid { grid-template-columns: 1fr; } }

.ng-fee-card {
  background: var(--ng-bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}
.ng-fee-card:hover { background: var(--ng-bg-2); }
.ng-fee-card--scoped { background: var(--ng-bg-2); }
.ng-fee-card--scoped:hover { background: var(--ng-bg-3); }

.ng-fee-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ng-fee-card__code {
  font-family: var(--ng-ff-mono);
  font-size: 10px;
  font-weight: 600;
  background: var(--ng-violet-dim);
  border: 1px solid var(--ng-rule-accent);
  color: var(--ng-violet);
  border-radius: var(--ng-r-xs);
  padding: 3px 8px;
  letter-spacing: 0.1em;
}
.ng-fee-card__badge {
  font-family: var(--ng-ff-mono);
  font-size: 10px;
  font-weight: 500;
  color: white;
  background: var(--ng-violet);
  border-radius: var(--ng-r-xs);
  padding: 3px 8px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ng-fee-card__badge--scoped {
  background: var(--ng-text-4);
  color: white;
}

.ng-fee-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-indigo);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ng-fee-card__price {
  font-family: var(--ng-ff-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ng-violet);
  letter-spacing: -0.01em;
  line-height: 1;
}

.ng-fee-card__desc {
  font-size: 13px;
  color: var(--ng-text-3);
  line-height: 1.6;
}

.ng-fees__note {
  font-size: 12px;
  color: var(--ng-text-4);
  line-height: 1.65;
  padding: 16px 20px;
  background: var(--ng-bg-2);
  border: 1px solid var(--ng-rule);
  border-left: 3px solid var(--ng-violet-dim);
  border-radius: var(--ng-r-sm);
}
.ng-fees__note .ng-mono { color: var(--ng-violet); font-size: 11px; margin-right: 4px; }

/* Services dual media */
.ng-services__media--multi {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
}
.ng-services__media-main {
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.6);
  width: 100%;
}
.ng-services__media-secondary {
  height: 280px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.5);
  width: 100%;
}
@media (max-width: 600px) {
  .ng-services__media--multi { grid-template-columns: 1fr; }
  .ng-services__media-secondary { display: none; }
}

/* ---------- 14. Startup section ---------- */
.ng-startup {
  background: var(--ng-bg-2);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-startup__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) {
  .ng-startup__inner { grid-template-columns: 1fr; }
}

.ng-startup__media {
  position: relative;
  border-radius: var(--ng-r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ng-bg-3);
}
.ng-startup__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.ng-startup__media-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15,15,20,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--ng-rule-dark-s);
  border-radius: var(--ng-r-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ng-startup__media-meta .ng-mono {
  color: var(--ng-light-2);
  font-size: 11px;
}
.ng-startup__media-sub {
  color: var(--ng-light-4) !important;
  font-size: 10px !important;
}

/* secondary image under main startup media */
.ng-startup__secondary-img {
  margin-top: 1px;
  border-radius: 0 0 var(--ng-r-lg) var(--ng-r-lg);
  overflow: hidden;
  height: 140px;
}
.ng-startup__secondary-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%);
}
@media (max-width: 860px) {
  .ng-startup__secondary-img { display: none; }
}

.ng-startup__body {
  font-size: 15px;
  color: var(--ng-text-3);
  line-height: 1.72;
  margin-bottom: 20px;
}
.ng-startup__body:last-of-type { margin-bottom: 28px; }

.ng-startup__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ng-rule);
}
.ng-startup__point {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ng-rule);
  align-items: flex-start;
}
.ng-startup__point:last-child { border-bottom: none; }
.ng-startup__point-code {
  font-family: var(--ng-ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ng-violet);
  opacity: 0.6;
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 24px;
}
.ng-startup__point strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-indigo);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.ng-startup__point p {
  font-size: 13px;
  color: var(--ng-text-3);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 15. Attorneys ---------- */
.ng-attorneys {
  background: var(--ng-bg);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-attorneys__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
}
.ng-attorneys .ng-section-head--center .ng-section-desc {
  max-width: 64ch;
}

.ng-attorneys__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--ng-rule-strong);
  border-radius: var(--ng-r-lg);
  overflow: hidden;
  background: var(--ng-rule-strong);
}
@media (max-width: 900px) { .ng-attorneys__grid { grid-template-columns: 1fr; } }

.ng-attorney {
  background: var(--ng-bg);
  display: flex;
  flex-direction: column;
}

.ng-attorney__photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ng-bg-3);
}
.ng-attorney__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: transform 0.7s var(--ng-ease), filter 0.4s;
}
.ng-attorney:hover .ng-attorney__photo img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.ng-attorney__body {
  padding: 28px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ng-rule);
}

.ng-attorney__name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ng-indigo);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.ng-attorney__title {
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ng-violet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ng-attorney__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ng-rule);
  border-bottom: 1px solid var(--ng-rule);
  padding: 12px 0;
  margin-bottom: 18px;
}
.ng-attorney__meta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ng-rule);
  align-items: baseline;
}
.ng-attorney__meta-row:last-child { border-bottom: none; }
.ng-attorney__meta dt {
  font-family: var(--ng-ff-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ng-text-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.ng-attorney__meta dd {
  font-size: 12px;
  color: var(--ng-text-3);
  margin: 0;
  line-height: 1.5;
}
.ng-attorney__meta dd.ng-mono { font-size: 12px; color: var(--ng-indigo); }

.ng-attorney__bio {
  font-size: 13.5px;
  color: var(--ng-text-3);
  line-height: 1.68;
}

/* ---------- 16. FAQ ---------- */
.ng-faq {
  background: var(--ng-bg-2);
  padding: var(--ng-sec-y) 0;
  border-bottom: 1px solid var(--ng-rule);
}
.ng-faq__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .ng-faq__inner { grid-template-columns: 1fr; } }

.ng-faq__sidebar .ng-section-num { display: block; margin-bottom: 8px; }
.ng-faq__sidebar .ng-heading { font-size: clamp(22px, 2.5vw, 32px); margin-bottom: 12px; }
.ng-faq__contact-prompt {
  font-size: 14px;
  color: var(--ng-text-3);
  margin-bottom: 24px;
}
.ng-faq__phone {
  color: var(--ng-violet);
  font-weight: 600;
  transition: color 0.18s;
}
.ng-faq__phone:hover { color: var(--ng-violet-lt); }
.ng-faq__sidebar-img {
  border-radius: var(--ng-r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ng-faq__sidebar-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5);
}
@media (max-width: 860px) {
  .ng-faq__sidebar-img { display: none; }
}

.ng-faq__list {
  border-top: 2px solid var(--ng-violet);
}
.ng-faq__list details {
  border-bottom: 1px solid var(--ng-rule);
}
.ng-faq__list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 20px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ng-indigo);
  transition: color 0.18s;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ng-faq__list summary::-webkit-details-marker { display: none; }
.ng-faq__list summary:hover { color: var(--ng-violet); }
.ng-faq__list details[open] summary { color: var(--ng-violet); }
.ng-faq__list details:focus-within { outline: 2px solid var(--ng-violet); outline-offset: 2px; }

.ng-faq__icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--ng-rule-accent);
  border-radius: 50%;
}
.ng-faq__icon::before, .ng-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ng-violet);
  top: 50%; left: 50%;
  border-radius: 1px;
  transition: transform 0.22s var(--ng-ease);
}
.ng-faq__icon::before {
  width: 8px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.ng-faq__icon::after {
  width: 1.5px; height: 8px;
  transform: translate(-50%, -50%);
}
.ng-faq__list details[open] .ng-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ng-faq__answer {
  padding: 0 4px 20px;
}
.ng-faq__answer p {
  font-size: 14px;
  color: var(--ng-text-3);
  line-height: 1.72;
  max-width: 64ch;
}
.ng-faq__answer em {
  font-style: italic;
  color: var(--ng-indigo);
}

/* ---------- 17. Contact / Form ---------- */
.ng-contact {
  background: var(--ng-bg-dark);
  padding: var(--ng-sec-y) 0;
}
.ng-contact__inner {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 0 var(--ng-pad-x);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 900px) { .ng-contact__inner { grid-template-columns: 1fr; } }

.ng-contact .ng-section-num { color: var(--ng-violet); }
.ng-contact .ng-eyebrow { color: var(--ng-violet-pale); }
.ng-contact .ng-eyebrow::before { background: var(--ng-violet-pale); }
.ng-contact .ng-heading { color: var(--ng-light); font-size: clamp(24px, 2.8vw, 38px); }

.ng-contact__intro {
  font-size: 15px;
  color: var(--ng-light-3);
  line-height: 1.7;
  margin-bottom: 24px;
}

.ng-contact__warning {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(91,33,250,0.08);
  border: 1px solid rgba(91,33,250,0.25);
  border-left: 3px solid var(--ng-violet);
  border-radius: 0 var(--ng-r-sm) var(--ng-r-sm) 0;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--ng-light-3);
  line-height: 1.65;
  margin-bottom: 28px;
}
.ng-contact__warning svg { color: var(--ng-violet-pale); flex-shrink: 0; margin-top: 2px; }
.ng-contact__warning strong { color: var(--ng-light-2); display: block; margin-bottom: 6px; }

.ng-contact__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ng-contact__meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ng-contact__meta-item .ng-mono {
  color: var(--ng-light-4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.ng-contact__meta-item a,
.ng-contact__meta-item span {
  font-size: 14px;
  color: var(--ng-light-2);
  line-height: 1.5;
  transition: color 0.18s;
}
.ng-contact__meta-item a:hover { color: var(--ng-violet-pale); }

/* City image in contact section */
.ng-contact__cityimg {
  margin-top: 28px;
  border-radius: var(--ng-r-md);
  overflow: hidden;
  aspect-ratio: 16/5;
  position: relative;
}
.ng-contact__cityimg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: grayscale(40%) brightness(0.55);
}
.ng-contact__cityimg-cap {
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
}
@media (max-width: 900px) {
  .ng-contact__cityimg { display: none; }
}

/* Form */
.ng-form {
  background: var(--ng-bg-dark2);
  border: 1px solid var(--ng-rule-dark-s);
  border-radius: var(--ng-r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 600px) { .ng-form { padding: 24px 20px; } }

.ng-form__row { display: flex; flex-direction: column; gap: 18px; }
.ng-form__row--2 { flex-direction: row; gap: 16px; }
@media (max-width: 600px) { .ng-form__row--2 { flex-direction: column; } }

.ng-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.ng-form__field label {
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ng-light-4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.ng-form__field label span { color: var(--ng-violet-pale); }

.ng-form__field input,
.ng-form__field select,
.ng-form__field textarea {
  background: var(--ng-bg-dark3);
  border: 1px solid var(--ng-rule-dark-s);
  border-radius: var(--ng-r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ng-light);
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.ng-form__field input::placeholder,
.ng-form__field textarea::placeholder {
  color: var(--ng-light-4);
}
.ng-form__field input:focus,
.ng-form__field select:focus,
.ng-form__field textarea:focus {
  outline: none;
  border-color: var(--ng-violet);
  box-shadow: 0 0 0 3px var(--ng-violet-dim);
}
.ng-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23606080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  color: var(--ng-light);
}
.ng-form__field select option { background: var(--ng-bg-dark3); }
.ng-form__field textarea { resize: vertical; min-height: 120px; }

.ng-form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ng-light-3);
  line-height: 1.6;
}
.ng-form__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--ng-rule-dark-s);
  border-radius: var(--ng-r-xs);
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  cursor: pointer;
  background: var(--ng-bg-dark3);
  accent-color: var(--ng-violet);
}
.ng-form__check label { cursor: pointer; }

.ng-form__submit { align-self: flex-start; }
.ng-form__submit:focus-visible {
  outline: 2px solid var(--ng-violet-pale);
  outline-offset: 3px;
}

.ng-form__note {
  font-family: var(--ng-ff-mono);
  font-size: 11px;
  color: var(--ng-light-4);
  margin: 0;
}

/* Success state */
.ng-form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  min-height: 280px;
}
.ng-form__success.is-visible { display: flex; }
.ng-form__success-icon {
  width: 56px; height: 56px;
  background: var(--ng-violet-dim);
  border: 1px solid var(--ng-rule-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ng-violet-pale);
}
.ng-form__success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ng-light);
  letter-spacing: -0.015em;
}
.ng-form__success p {
  font-size: 14px;
  color: var(--ng-light-3);
  max-width: 40ch;
  line-height: 1.65;
}

/* ---------- 18. Footer ---------- */
.ng-footer {
  background: var(--ng-bg-dark);
  border-top: 1px solid var(--ng-rule-dark-s);
}
.ng-footer__top {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--ng-pad-x) clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(36px, 5vw, 80px);
  border-bottom: 1px solid var(--ng-rule-dark);
}
@media (max-width: 860px) { .ng-footer__top { grid-template-columns: 1fr; } }

.ng-footer__tagline {
  font-size: 11px;
  color: var(--ng-light-4);
  margin: 12px 0 20px;
  letter-spacing: 0.06em;
}
.ng-footer__address {
  font-size: 13px;
  color: var(--ng-light-3);
  line-height: 1.9;
}
.ng-footer__address a {
  color: var(--ng-violet-pale);
  transition: color 0.18s;
}
.ng-footer__address a:hover { color: var(--ng-light); }

.ng-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 600px) { .ng-footer__cols { grid-template-columns: 1fr 1fr; } }

.ng-footer__col h3 {
  font-family: var(--ng-ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ng-light-4);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ng-rule-dark);
}
.ng-footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.ng-footer__col li { font-size: 13px; color: var(--ng-light-3); }
.ng-footer__col a { color: var(--ng-light-3); transition: color 0.18s; }
.ng-footer__col a:hover { color: var(--ng-violet-pale); }

.ng-footer__disclaimer {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 28px var(--ng-pad-x);
  border-bottom: 1px solid var(--ng-rule-dark);
}
.ng-footer__disclaimer p {
  font-size: 12px;
  color: var(--ng-light-4);
  line-height: 1.65;
  max-width: 92ch;
  margin: 0 0 12px;
}
.ng-footer__disclaimer p:last-child { margin-bottom: 0; }

.ng-footer__bar {
  max-width: var(--ng-max);
  margin: 0 auto;
  padding: 16px var(--ng-pad-x);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--ng-light-4);
}
.ng-footer__demo { font-style: italic; }

/* ---------- 19. Focus & motion ---------- */
:focus-visible {
  outline: 2px solid var(--ng-violet);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 20. Scroll-reveal ---------- */
.ng-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ng-ease), transform 0.55s var(--ng-ease);
}
.ng-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .ng-reveal { opacity: 1; transform: none; transition: none; }
}
