/* ════════════════════════════════════════════════════════════
   LONV FOUNDATION — BLACK & WHITE DESIGN SYSTEM
   Typography: IBM Plex Mono + IBM Plex Serif
   Palette: Pure black, pure white, grays, dithered textures
════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,700&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── Root tokens ── */
:root {
  --black:    #000000;
  --near-black: #0a0a0a;
  --gray-95:  #0d0d0d;
  --gray-90:  #1a1a1a;
  --gray-80:  #333333;
  --gray-70:  #4d4d4d;
  --gray-50:  #808080;
  --gray-30:  #b3b3b3;
  --gray-15:  #d9d9d9;
  --gray-05:  #f2f2f2;
  --white:    #ffffff;

  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --serif: 'IBM Plex Serif', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;

  /* Dither pattern via SVG data URI */
  --dither-coarse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23000'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23000'/%3E%3C/svg%3E");
  --dither-fine:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23000' opacity='0.15'/%3E%3C/svg%3E");
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Selection ── */
::selection { background: var(--black); color: var(--white); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--black); }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 30px; height: 30px;
  border: 2px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0;
  background: var(--black);
  color: var(--white);
}
.nav-logo-text {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 0 22px;
  height: 60px;
  line-height: 60px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-50);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 9px 20px;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--white); color: var(--black); }

/* ══════════════════════════════════════
   PAGE SYSTEM
══════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════════════════
   HERO — PAGE 1
══════════════════════════════════════ */
.hero {
  padding: 130px 48px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--black);
  position: relative;
  overflow: hidden;
}

/* Halftone dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Thick rule accent */
.hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 6px;
  height: 100%;
  background: var(--black);
}

.hero-index {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 900px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--gray-70);
}

.hero-body {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-70);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.btn-fill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 13px 28px;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background 0.15s, color 0.15s;
}
.btn-fill:hover { background: var(--gray-80); }

.btn-line {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
  padding: 13px 28px;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background 0.15s, color 0.15s;
}
.btn-line:hover { background: var(--black); color: var(--white); }

.hero-footnote {
  position: absolute;
  bottom: 48px; right: 48px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gray-30);
  letter-spacing: 0.08em;
  text-align: right;
  line-height: 1.9;
  opacity: 0;
  animation: fadeIn 0.8s ease 1s forwards;
}
.hero-footnote strong { color: var(--black); }

/* ══════════════════════════════════════
   SECTION PRIMITIVES
══════════════════════════════════════ */
.section { padding: 100px 48px; }
.section-ruled { border-bottom: 1px solid var(--black); }
.section-gray { background: var(--gray-05); }
.section-black { background: var(--black); color: var(--white); }
.section-dither {
  background-color: var(--white);
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: currentColor; }

.sec-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 54px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 700px;
  margin-bottom: 18px;
}
.sec-title em { font-style: italic; font-weight: 300; color: var(--gray-70); }
.section-black .sec-title { color: var(--white); }
.section-black .sec-title em { color: var(--gray-30); }

.sec-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-70);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 60px;
}
.section-black .sec-intro { color: var(--gray-30); }

/* ══════════════════════════════════════
   PROBLEM CARDS
══════════════════════════════════════ */
.deficiency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--black);
  gap: 0;
}
.def-card {
  padding: 44px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.def-card:nth-child(2n) { border-right: none; }
.def-card:nth-child(3), .def-card:nth-child(4) { border-bottom: none; }
.def-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 300;
  color: var(--gray-15);
  line-height: 1;
  margin-bottom: 12px;
}
.def-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.25;
}
.def-body {
  font-size: 13px;
  color: var(--gray-70);
  line-height: 1.75;
}

/* ══════════════════════════════════════
   FEATURE GRID
══════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--white);
  gap: 1px;
  background: var(--gray-80);
}
.feat-card {
  background: var(--black);
  padding: 40px;
  transition: background 0.15s;
}
.feat-card:hover { background: var(--gray-90); }
.feat-glyph {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 22px;
  display: block;
}
.feat-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.feat-body {
  font-size: 13px;
  color: var(--gray-30);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   PULL QUOTE
══════════════════════════════════════ */
.pull-quote-section {
  padding: 90px 48px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.pull-mark {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 700;
  color: var(--gray-15);
  line-height: 0.8;
  flex-shrink: 0;
  user-select: none;
}
.pull-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
}
.pull-text em { font-style: normal; font-weight: 700; }
.pull-attr {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-50);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   PAGE 2 — TECHNOLOGY
══════════════════════════════════════ */
.page-header {
  padding: 130px 48px 72px;
  border-bottom: 1px solid var(--black);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--black);
}
.ph-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 20px;
}
.ph-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 22px;
}
.ph-title em { font-style: italic; font-weight: 300; color: var(--gray-70); }
.ph-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-70);
  max-width: 560px;
  line-height: 1.75;
}

/* Architecture */
.arch-wrap {
  padding: 80px 48px;
  border-bottom: 1px solid var(--black);
}
.arch-layers {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--black);
}
.arch-arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-05);
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
  font-size: 16px;
  color: var(--black);
}
.arch-layer {
  padding: 40px;
}
.arch-layer:nth-child(1) { border-right: none; }
.arch-layer:nth-child(3) { border-left: none; border-right: none; }
.arch-layer:nth-child(5) { border-left: none; }
.arch-layer-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 3px 8px;
  margin-bottom: 18px;
}
.arch-layer-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.arch-layer-desc {
  font-size: 12px;
  color: var(--gray-70);
  line-height: 1.7;
  margin-bottom: 18px;
}
.arch-items { list-style: none; }
.arch-items li {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-50);
  padding: 5px 0;
  border-top: 1px solid var(--gray-15);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.arch-items li::before { content: '—'; color: var(--gray-30); flex-shrink: 0; }

/* Claims */
.claims-section { padding: 80px 48px; border-bottom: 1px solid var(--black); }
.claims-table { width: 100%; border-collapse: collapse; margin-top: 56px; }
.claims-table th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 12px 18px;
  text-align: left;
}
.claims-table td {
  padding: 16px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-15);
  vertical-align: top;
}
.claims-table tr:hover td { background: var(--gray-05); }
.ct-num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--black); white-space: nowrap; }
.ct-type { font-family: var(--mono); font-size: 10px; color: var(--gray-50); white-space: nowrap; }
.ct-title { font-weight: 600; color: var(--black); margin-bottom: 4px; font-family: var(--sans); }
.ct-desc { font-size: 12px; color: var(--gray-70); line-height: 1.65; }

/* Algorithm steps */
.steps-section { padding: 80px 48px; background: var(--gray-05); border-bottom: 1px solid var(--black); }
.steps-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--black); margin-top: 56px; }
.step-item {
  padding: 32px 28px;
  border-right: 1px solid var(--black);
  position: relative;
}
.step-item:last-child { border-right: none; }
.step-num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-15);
  line-height: 1;
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 12px;
  color: var(--gray-70);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   PAGE 3 — ABOUT
══════════════════════════════════════ */
.about-header {
  padding: 130px 48px 72px;
  border-bottom: 1px solid var(--black);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.about-mission-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 32px;
}
.about-mission-text em { font-style: normal; font-weight: 700; }
.about-mission-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-70);
  line-height: 1.8;
}
.founder-card {
  border: 1px solid var(--black);
  padding: 36px;
}
.fc-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 14px;
}
.fc-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.fc-title {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-50);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.fc-bio {
  font-size: 13px;
  color: var(--gray-70);
  line-height: 1.8;
  border-top: 1px solid var(--gray-15);
  padding-top: 18px;
  margin-bottom: 20px;
}
.fc-patent {
  background: var(--black);
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/* Timeline */
.timeline-section { padding: 100px 48px; border-bottom: 1px solid var(--black); }
.timeline { margin-top: 60px; position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 4px; top: 0; bottom: 0;
  width: 1px;
  background: var(--black);
}
.t-item { position: relative; margin-bottom: 56px; padding-left: 32px; }
.t-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 7px;
  width: 9px; height: 9px;
  background: var(--black);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--black);
}
.t-date {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 6px;
}
.t-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.t-desc {
  font-size: 13px;
  color: var(--gray-70);
  line-height: 1.75;
  max-width: 560px;
}

/* Jurisdictions */
.jur-section { padding: 100px 48px; background: var(--gray-05); border-bottom: 1px solid var(--black); }
.jur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--black);
  gap: 0;
  margin-top: 56px;
}
.jur-cell {
  padding: 32px;
  border-right: 1px solid var(--black);
  transition: background 0.15s;
}
.jur-cell:last-child { border-right: none; }
.jur-cell:hover { background: var(--white); }
.jur-flag { font-size: 28px; margin-bottom: 12px; }
.jur-country {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.jur-stat {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.jur-note { font-size: 11px; color: var(--gray-50); line-height: 1.5; }

/* Contact */
.contact-section {
  padding: 100px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--black);
}
.ct-lead {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.ct-lead em { font-style: italic; font-weight: 300; color: var(--gray-70); }
.ct-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-70);
  line-height: 1.75;
  margin-bottom: 36px;
}
.ct-links { border: 1px solid var(--black); }
.ct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--black);
  text-decoration: none;
  transition: background 0.15s;
  gap: 12px;
}
.ct-link:last-child { border-bottom: none; }
.ct-link:hover { background: var(--black); }
.ct-link:hover .ct-link-label { color: var(--gray-50); }
.ct-link:hover .ct-link-val   { color: var(--white); }
.ct-link:hover .ct-link-arr   { color: var(--white); }
.ct-link-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-50);
  white-space: nowrap;
  flex-shrink: 0;
  width: 110px;
  transition: color 0.15s;
}
.ct-link-val {
  font-size: 13px;
  color: var(--black);
  flex: 1;
  transition: color 0.15s;
}
.ct-link-arr { color: var(--gray-30); font-size: 14px; flex-shrink: 0; transition: color 0.15s; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--black);
  color: var(--white);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--black);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-70);
  letter-spacing: 0.06em;
}
.footer-copy strong { color: var(--white); }
.footer-patent {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-70);
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.7;
}
.footer-patent strong { color: var(--white); }

/* ══════════════════════════════════════
   ANIMATIONS & REVEAL
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .arch-layers { grid-template-columns: 1fr; }
  .arch-arrow-col { height: 36px; border: none; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
  .deficiency-grid, .contact-section, .about-header { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .steps-list .step-item:nth-child(2) { border-right: none; }
  .steps-list .step-item:nth-child(4) { border-right: none; }
  .jur-grid { grid-template-columns: 1fr 1fr; }
  .jur-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero, .section, .page-header { padding-left: 20px; padding-right: 20px; }
  .feature-grid, .steps-list, .jur-grid { grid-template-columns: 1fr; }
  .step-item, .jur-cell { border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
  .claims-section, .arch-wrap, .timeline-section, .jur-section, .contact-section { padding-left: 20px; padding-right: 20px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }
  .deficiency-grid .def-card { border-right: 1px solid var(--black); }
  .pull-quote-section { flex-direction: column; gap: 20px; padding: 60px 20px; }
}

/* ── Crisis box / jurisdiction table ── */
.contact-section {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: none !important;
}
.crisis-box {
  border: 1px solid var(--border);
  overflow: hidden;
}
.crisis-header {
  padding: 28px 28px 20px;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--border2);
}
.crisis-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray-30);
  margin-bottom: 10px;
}
.crisis-lead {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.crisis-sub {
  font-size: 12px;
  color: var(--gray-30);
  line-height: 1.65;
}
.jur-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-family: var(--mono);
}
.jur-table th {
  background: var(--gray-90);
  color: var(--gray-30);
  padding: 7px 10px;
  text-align: left;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.jur-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-80);
  vertical-align: middle;
}
.jur-table tr:last-child td { border-bottom: none; }
.jur-table tr:nth-child(even) td { background: var(--gray-05); }
.jf { margin-right: 4px; }
.jv { font-weight: 500; color: var(--black); font-family: var(--mono); }
.dp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 7px;
}
.dp-crit { background: var(--black); color: var(--white); }
.dp-high { background: var(--gray-80); color: var(--white); }
.dp-elev { background: var(--gray-15); color: var(--black); }
.dp-emrg { border: 1px solid var(--gray-30); color: var(--gray-70); }
@media (max-width: 900px) {
  .contact-section { grid-template-columns: 1fr !important; }
}