/* ============================================================
   hsynneva.com — v4 (Field Manual)
   Unified editorial operator design system.
   No purple/indigo. No gradient hero title. No Inter default.
   ============================================================ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0c0c0d;
  --ink-2:      #131316;
  --ink-3:      #1b1b1f;
  --rule:       rgba(236,231,219,0.12);
  --rule-2:     rgba(236,231,219,0.22);
  --paper:      #ece7db;
  --paper-2:    #c9c3b5;
  --paper-3:    #8a867c;
  --signal:     #c96a3a;
  --signal-2:   #e6865a;
  --signal-dim: rgba(201,106,58,0.14);

  --display:    'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:       'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius:     4px;
  --nav-h:      64px;
  --maxw:       1180px;
}

html { scroll-behavior: smooth; overflow-y: scroll; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.inner-page { background: var(--ink); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--signal); color: var(--ink); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); }
::-webkit-scrollbar-thumb:hover { background: var(--paper-3); }

/* ── Utility ────────────────────────────────────────────────── */
.mono { font-family: var(--mono); letter-spacing: 0; }

/* ── Nav ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(12,12,13,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  z-index: 150;
}
.nav-logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: var(--paper);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.nav-logo::before {
  content: '§';
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--signal);
  font-weight: 500;
  transform: translateY(-1px);
  display: inline-block;
}
#nav-check { display: none; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 12px;
  position: relative; z-index: 200;
  -webkit-tap-highlight-color: transparent;
  background: none; border: none;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--paper-2); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--paper-2);
  letter-spacing: 0.02em;
  transition: color 0.15s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.active { color: var(--paper); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--signal);
}
.nav-cta {
  font-family: var(--mono) !important;
  font-size: 0.76rem !important;
  color: var(--ink) !important;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--signal-2) !important; color: var(--ink) !important; }
.nav-cta::after { display: none !important; }

/* ── Hero (homepage) ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--rule);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: grayscale(0.35) contrast(0.95) brightness(0.55);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,13,0.55) 0%, rgba(12,12,13,0.35) 40%, rgba(12,12,13,0.9) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 40px;
  align-items: end;
}
.hero-slug {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--paper-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex; gap: 14px; align-items: center;
}
.hero-slug::before { content: ''; width: 28px; height: 1px; background: var(--signal); }
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--paper);
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--signal-2); }
.hero-sub {
  font-size: 1.02rem;
  color: var(--paper-2);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-side {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--paper-2);
  border-left: 1px solid var(--rule-2);
  padding: 8px 0 8px 20px;
  line-height: 1.7;
}
.hero-side dl { display: grid; gap: 10px; }
.hero-side dt { color: var(--paper-3); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-side dd { color: var(--paper); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary, .btn-ghost {
  font-family: var(--mono);
  font-size: 0.82rem; font-weight: 500;
  padding: 11px 20px;
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.btn-primary { color: var(--ink); background: var(--paper); }
.btn-primary:hover { background: var(--signal-2); color: var(--ink); }
.btn-ghost { color: var(--paper); background: transparent; border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(236,231,219,0.04); }

/* ── Section ────────────────────────────────────────────────── */
section {
  padding: 88px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
section.tight { padding: 56px 40px; }

/* Bounded inner column (used where a page needs its own wrapper
   around stacked blocks, e.g. about.html). Replaces inline styles. */
.page-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

.section-head {
  display: grid;
  grid-template-columns: 120px minmax(0,1fr);
  gap: 32px;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.section-index {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.1em;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.12;
  color: var(--paper);
  max-width: 22ch;
}
.section-title em { font-style: italic; color: var(--signal-2); font-weight: 400; }
.section-lede {
  font-size: 1rem;
  color: var(--paper-2);
  max-width: 58ch;
  margin-top: 14px;
  line-height: 1.7;
}
.section-cta { margin-top: 28px; }
.section-label { font-family: var(--mono); font-size: 0.72rem; color: var(--signal); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.section-sub  { font-size: 1rem; color: var(--paper-2); max-width: 58ch; margin-bottom: 28px; line-height: 1.7; }

/* ── Ledger ─────────────────────────────────────────────────── */
.ledger {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(236,231,219,0.015);
}
.ledger-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
}
.ledger-item { padding: 6px 22px; border-left: 1px solid var(--rule); }
.ledger-item:first-child { border-left: none; padding-left: 0; }
.ledger-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--paper-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.ledger-value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--paper);
  line-height: 1.3;
  display: block;
}

/* ── Practice rows ──────────────────────────────────────────── */
.practice-list { display: grid; gap: 0; }
.practice-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.practice-row:last-child { border-bottom: 1px solid var(--rule); }
.practice-index { font-family: var(--mono); font-size: 0.78rem; color: var(--paper-3); letter-spacing: 0.08em; }
.practice-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.2;
}
.practice-title em { color: var(--signal-2); font-style: italic; font-weight: 400; }
.practice-desc { font-size: 0.95rem; color: var(--paper-2); line-height: 1.7; }
.practice-desc a {
  color: var(--paper);
  border-bottom: 1px solid var(--signal);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.practice-desc a:hover { color: var(--signal-2); }

/* ── Systems index ──────────────────────────────────────────── */
.systems-list { display: grid; gap: 0; }
.system-row {
  display: grid;
  grid-template-columns: 56px 110px minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.system-row:last-child { border-bottom: 1px solid var(--rule); }
.system-num { font-family: var(--mono); font-size: 0.78rem; color: var(--paper-3); letter-spacing: 0.08em; }
.system-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.system-status[data-state="active"]  { color: var(--signal-2); }
.system-status[data-state="progress"] { color: var(--paper-2); }
.system-status[data-state="planned"] { color: var(--paper-3); }
.system-status::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  transform: translateY(-1px);
}
.system-body h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 8px;
  line-height: 1.2;
}
.system-body p {
  font-size: 0.92rem;
  color: var(--paper-2);
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 58ch;
}
.system-body ul { list-style: none; margin-bottom: 14px; display: grid; gap: 6px; }
.system-body ul li {
  font-size: 0.88rem; color: var(--paper-2);
  padding-left: 16px; position: relative; line-height: 1.6;
}
.system-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--signal); }
.system-highlight {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--paper);
  background: var(--signal-dim);
  border-left: 2px solid var(--signal);
  padding: 10px 14px;
  margin-bottom: 14px;
  line-height: 1.55;
}
.system-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.system-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--paper-2);
  background: transparent;
  border: 1px solid var(--rule-2);
  padding: 3px 8px;
  border-radius: 2px;
}
.system-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--paper-3);
  border-left: 1px solid var(--rule);
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.system-meta dt { color: var(--paper-3); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.system-meta dd { color: var(--paper); font-size: 0.82rem; }
.system-meta a { color: var(--signal-2); border-bottom: 1px solid var(--rule-2); }
.system-meta a:hover { border-color: var(--signal); }

/* ── Ops ────────────────────────────────────────────────────── */
.ops {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: start;
}
.ops-steps { display: grid; gap: 0; margin-top: 12px; }
.ops-step {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 80px minmax(0,1fr);
  gap: 20px;
  align-items: baseline;
}
.ops-step:last-child { border-bottom: 1px solid var(--rule); }
.ops-step-n { font-family: var(--mono); font-size: 0.78rem; color: var(--signal); letter-spacing: 0.08em; }
.ops-step h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.25;
  margin-bottom: 6px;
}
.ops-step p { font-size: 0.92rem; color: var(--paper-2); line-height: 1.65; }
.ops-aside {
  border: 1px solid var(--rule-2);
  padding: 24px;
  background: rgba(236,231,219,0.015);
}
.ops-aside-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--signal-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ops-aside ul { list-style: none; display: grid; gap: 12px; }
.ops-aside ul li {
  font-size: 0.9rem; color: var(--paper-2);
  padding-left: 18px; position: relative; line-height: 1.55;
}
.ops-aside ul li::before { content: '→'; position: absolute; left: 0; color: var(--signal); font-family: var(--mono); }

/* ── Closing CTA ────────────────────────────────────────────── */
.close-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.close-cta h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 20ch;
  margin-bottom: 18px;
}
.close-cta h2 em { font-style: italic; color: var(--signal-2); font-weight: 400; }
.close-cta p { color: var(--paper-2); font-size: 0.98rem; line-height: 1.7; margin-bottom: 18px; max-width: 50ch; }
.close-cta ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.close-cta ul li { font-size: 0.92rem; color: var(--paper-2); padding-left: 18px; position: relative; }
.close-cta ul li::before { content: '—'; position: absolute; left: 0; color: var(--signal); }
.close-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.close-cta figure { margin: 0; border: 1px solid var(--rule); overflow: hidden; background: var(--ink-2); }
.close-cta figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center top; }
.close-cta figure figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--paper-3);
  padding: 10px 14px;
  border-top: 1px solid var(--rule);
  line-height: 1.55;
}

/* ── Page hero (inner) ──────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 40px 56px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 340px);
  gap: 32px;
  align-items: end;
}
.page-hero-index {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.12em;
}
.page-hero-body h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--paper);
  max-width: 18ch;
}
.page-hero-body h1 em { font-style: italic; color: var(--signal-2); font-weight: 400; }
.page-hero-body p { font-size: 1rem; color: var(--paper-2); margin-top: 16px; max-width: 48ch; line-height: 1.65; }
.page-hero-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--paper-2);
  border-left: 1px solid var(--rule-2);
  padding-left: 20px;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}
.page-hero-meta dt { color: var(--paper-3); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.page-hero-meta dd { color: var(--paper); }

.page-hero-label { font-family: var(--mono); font-size: 0.72rem; color: var(--signal); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.page-hero-title { font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: var(--paper); max-width: 18ch; }
.page-hero-sub { font-size: 1rem; color: var(--paper-2); margin-top: 14px; max-width: 48ch; line-height: 1.65; }

/* ── Operator (about) ───────────────────────────────────────── */
.operator {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.operator-index { font-family: var(--mono); font-size: 0.78rem; color: var(--paper-3); letter-spacing: 0.08em; }
.operator-body p {
  font-size: 1rem; color: var(--paper-2);
  line-height: 1.85; margin-bottom: 18px; max-width: 58ch;
}
.operator-body p strong { color: var(--paper); font-weight: 600; }
.operator-aside figure { margin: 0; border: 1px solid var(--rule); }
.operator-aside figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center top; }
.operator-aside figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--paper-3);
  padding: 10px 14px;
  border-top: 1px solid var(--rule);
  line-height: 1.55;
}

.stack-block { margin-top: 28px; }
.stack-title { font-family: var(--mono); font-size: 0.72rem; color: var(--signal); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-tag, .tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--paper-2);
  background: transparent;
  border: 1px solid var(--rule-2);
  padding: 4px 9px;
  border-radius: 2px;
}

/* ── Gear (FPV) ─────────────────────────────────────────────── */
.gear-section { padding: 56px 40px; max-width: var(--maxw); margin: 0 auto; }
.gear-head {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}
.gear-head span:last-child { color: var(--paper-3); }
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.gear-card {
  background: var(--ink);
  padding: 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.15s;
  display: flex; flex-direction: column;
}
.gear-card:hover { background: var(--ink-2); }
.gear-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  margin-bottom: 16px;
  background: rgba(236,231,219,0.02);
  padding: 8px;
}
.gear-name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 6px;
  line-height: 1.25;
}
.gear-desc { font-size: 0.9rem; color: var(--paper-2); line-height: 1.6; margin-bottom: 14px; }
.gear-specs {
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-bottom: 12px;
}
.gear-specs li {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--paper-2);
  padding: 3px 0;
  display: flex;
  gap: 10px;
}
.gear-specs li::before { content: '·'; color: var(--signal); font-weight: 700; }
.gear-note {
  font-size: 0.8rem;
  color: var(--paper-3);
  font-style: italic;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  line-height: 1.55;
}
.fpv-video-frame {
  position: relative;
  padding-bottom: 56.25%; height: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--ink-2);
}
.fpv-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.fpv-cta {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.fpv-cta p { color: var(--paper-2); margin-bottom: 14px; font-size: 0.95rem; }
.fpv-cta a {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.82rem;
  margin: 0 10px;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 1px;
}
.fpv-cta a:hover { color: var(--signal-2); }

/* ── Field notes ────────────────────────────────────────────── */
.notes-list { display: grid; gap: 0; }
.note-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 120px;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.note-row:last-child { border-bottom: 1px solid var(--rule); }
.note-row:hover { background: rgba(236,231,219,0.02); }
.note-row:hover h3 { color: var(--signal-2); }
.note-date {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--paper-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note-body h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--paper);
  line-height: 1.25;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.note-body p {
  font-size: 0.92rem;
  color: var(--paper-2);
  line-height: 1.65;
  max-width: 60ch;
}
.note-cat {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--signal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-wrap {
  padding: calc(var(--nav-h) + 72px) 40px 80px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  margin-top: 40px;
}
.contact-guide {
  color: var(--paper-2);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  padding: 18px 22px;
  border-left: 2px solid var(--signal);
  background: var(--signal-dim);
}
.contact-guide p { margin-bottom: 6px; }
.contact-guide strong { color: var(--paper); }

.contact-form-wrap { margin-bottom: 32px; }
.contact-form-head { margin-bottom: 16px; }
.contact-form-note { font-size: 0.82rem; color: var(--paper-3); line-height: 1.55; }

.contact-form { display: grid; gap: 16px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form-grid-wide { grid-template-columns: 1fr 1.4fr; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--paper-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  padding: 10px 12px;
  transition: border-color 0.15s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--signal); }
.contact-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-form-help { font-size: 0.78rem; color: var(--paper-3); line-height: 1.5; }
.contact-form-help strong { color: var(--paper-2); }

.section-divider {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.contact-cards { display: grid; gap: 8px; }
.contact-primary-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.contact-card {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}
.contact-card:hover { border-color: var(--paper-3); background: var(--ink-3); }
.contact-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  background: var(--signal-dim);
  color: var(--signal-2);
}
.icon-x { background: var(--paper); color: var(--ink); font-weight: 700; }
.contact-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--paper-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.contact-value { color: var(--paper); font-size: 0.95rem; font-weight: 600; }
.contact-desc { color: var(--paper-3); font-size: 0.8rem; margin-top: 2px; }
.copy-email-btn {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  padding: 0 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.copy-email-btn:hover { border-color: var(--paper); background: rgba(236,231,219,0.04); }

/* ── Divider ────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--rule); margin: 0; max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.fade-up { opacity: 1; transform: none; }

/* ── Article (blog post) ────────────────────────────────────── */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 32px 64px;
}
.article-head { border-bottom: 1px solid var(--rule); padding-bottom: 28px; margin-bottom: 36px; }
.article-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.article-kicker a { color: var(--paper-3); border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.article-kicker a:hover { color: var(--paper); border-color: var(--signal); }
.article-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 16px;
}
.article-meta {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--paper-3);
  letter-spacing: 0.06em;
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
}
.article-excerpt {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--paper-2);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 62ch;
  padding-left: 18px;
  border-left: 2px solid var(--signal);
}
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tags .tag { font-family: var(--mono); font-size: 0.72rem; color: var(--paper-2); border: 1px solid var(--rule-2); padding: 3px 8px; border-radius: 2px; background: transparent; }
.article-body { font-size: 1.02rem; line-height: 1.8; color: var(--paper-2); }
.article-body h2 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 40px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.article-body h2::before {
  content: '§ ';
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--signal);
  font-weight: 500;
  letter-spacing: 0;
}
.article-body h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--paper); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 12px 0 16px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--paper); border-bottom: 1px solid var(--signal); padding-bottom: 1px; transition: color 0.15s; }
.article-body a:hover { color: var(--signal-2); }
.article-body em { color: var(--paper); font-style: italic; }
.article-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
}
.article-nav a { color: var(--paper-2); border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; }
.article-nav a:hover { color: var(--paper); border-color: var(--signal); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding: 48px 40px 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto 40px;
}
.footer-brand p {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--paper-3);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 30ch;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--paper-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-family: var(--mono); font-size: 0.8rem; color: var(--paper-2); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--paper-3);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 24px 48px; }
  .hero-side { border-left: none; border-top: 1px solid var(--rule-2); padding: 16px 0 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .practice-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .system-row { grid-template-columns: 1fr; gap: 10px; }
  .system-meta { border-left: none; border-top: 1px solid var(--rule); padding: 14px 0 0; }
  .ops { grid-template-columns: 1fr; gap: 24px; }
  .ops-step { grid-template-columns: 60px 1fr; gap: 16px; }
  .close-cta { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { grid-template-columns: 1fr; gap: 16px; padding: calc(var(--nav-h) + 40px) 24px 40px; }
  .page-hero-meta { border-left: none; border-top: 1px solid var(--rule-2); padding: 14px 0 0; }
  .operator { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .note-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .note-cat { text-align: left; }
  .ledger-inner { grid-template-columns: 1fr 1fr; gap: 16px 0; padding: 20px 24px; }
  .ledger-item { padding: 10px 16px; }
  .ledger-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  section { padding: 56px 24px; }
  section.tight { padding: 40px 24px; }
  .gear-section { padding: 40px 24px; }
  .page-wrap { padding: 0 24px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-hamburger { display: flex !important; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(12,12,13,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 0;
    z-index: 149;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  #nav-check:checked ~ ul.nav-links,
  .nav-links.is-open { display: flex !important; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    font-size: 0.9rem !important;
    padding: 12px 20px !important;
    display: inline-block !important;
    margin-top: 14px !important;
  }
  .contact-form-grid, .contact-form-grid-wide { grid-template-columns: 1fr; }
  .contact-primary-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ── Small phones (≤ 560px) — mobile-first tightening pass ──
   Spacing rhythm, tap comfort, clearer hierarchy, cleaner cards
   and a footer that behaves like a phone component, not a desktop
   four-column grid.                                              */
@media (max-width: 560px) {
  :root { --nav-h: 58px; }

  /* Nav — slightly smaller header, but comfortable tap targets */
  nav {
    padding: calc(env(safe-area-inset-top) + 8px) 18px 0;
    height: calc(var(--nav-h) + env(safe-area-inset-top) + 8px);
  }
  .nav-logo { font-size: 1rem; }
  .nav-hamburger { padding: 14px 10px; }

  /* Shared page rhythm: tighter horizontal, more vertical breathing */
  section { padding: 48px 20px; }
  section.tight { padding: 34px 20px; }
  .gear-section { padding: 36px 20px; }
  .page-wrap { padding: 0 20px; }

  /* Hero — make above-the-fold carry meaning, not just atmosphere */
  .hero {
    min-height: auto;
    max-height: none;
    align-items: stretch;
    padding-top: calc(var(--nav-h) + 52px);
  }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(12,12,13,0.68) 0%,
      rgba(12,12,13,0.28) 34%,
      rgba(12,12,13,0.82) 100%
    );
  }
  .hero-video {
    filter: grayscale(0.22) contrast(0.98) brightness(0.68);
  }
  .hero-inner {
    padding: 0 20px 18px;
    gap: 18px;
    align-items: end;
  }
  .hero-slug { display: none; }
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: 12px;
    max-width: 12ch;
  }
  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.55;
    max-width: 34ch;
    color: rgba(236,231,219,0.92);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .btn-primary, .btn-ghost { font-size: 0.86rem; padding: 13px 18px; }
  .hero-proof {
    display: grid;
    gap: 0;
    font-size: 0.7rem;
    color: var(--paper);
    margin-top: 12px;
  }
  .hero-proof span {
    padding: 8px 0;
    line-height: 1.45;
  }
  .hero-side { display: none; }

  /* Ledger — stack to single column with horizontal rules */
  .ledger-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 20px;
  }
  .ledger-item {
    padding: 14px 0;
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .ledger-item:first-child { border-top: none; }
  .ledger-item:nth-child(odd) { padding-left: 0; }
  .ledger-kicker { margin-bottom: 4px; }
  .ledger-value { font-size: 0.98rem; line-height: 1.35; }
  .ledger-value br { display: none; }

  /* Section heads — tighter hierarchy */
  .section-head { gap: 10px; margin-bottom: 26px; padding-bottom: 16px; }
  .section-index { font-size: 0.72rem; }
  .section-title { font-size: 1.55rem; line-height: 1.18; max-width: none; }
  .section-lede { font-size: 0.95rem; margin-top: 10px; line-height: 1.65; }
  .section-sub  { font-size: 0.95rem; margin-bottom: 22px; }

  /* Practice rows */
  .practice-row { padding: 20px 0; gap: 8px; }
  .practice-index { font-size: 0.7rem; }
  .practice-title { font-size: 1.2rem; line-height: 1.25; }
  .practice-desc { font-size: 0.92rem; line-height: 1.65; }

  /* Systems — keep num + status on one line, body below, meta at foot */
  .system-row {
    padding: 26px 0;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num    status"
      "body   body"
      "meta   meta";
    row-gap: 12px;
    column-gap: 14px;
    align-items: center;
  }
  .system-row .system-num    { grid-area: num;    }
  .system-row .system-status { grid-area: status; justify-self: start; }
  .system-row .system-body   { grid-area: body;   }
  .system-row .system-meta   { grid-area: meta; padding: 14px 0 0; }
  .system-num { font-size: 0.74rem; }
  .system-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
  .system-body p  { font-size: 0.92rem; line-height: 1.6; margin-bottom: 10px; }
  .system-body ul { margin-bottom: 12px; gap: 4px; }
  .system-body ul li { font-size: 0.88rem; line-height: 1.55; }
  .system-highlight { font-size: 0.82rem; padding: 10px 12px; margin-bottom: 12px; line-height: 1.5; }
  .system-tags { gap: 6px 5px; }
  .system-tag { padding: 4px 9px; font-size: 0.7rem; letter-spacing: 0; }
  /* Meta reads better as a 2-column mini grid on narrow screens */
  .system-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .system-meta > div { min-width: 0; }
  .system-meta dd { font-size: 0.82rem; }

  /* Page hero (inner pages) */
  .page-hero {
    padding: calc(var(--nav-h) + 28px) 20px 28px;
    gap: 14px;
  }
  .page-hero-index { font-size: 0.7rem; letter-spacing: 0.1em; }
  .page-hero-body h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.08;
    max-width: none;
  }
  .page-hero-body p { font-size: 0.95rem; margin-top: 12px; max-width: none; }
  .page-hero-meta { font-size: 0.74rem; padding-top: 12px; gap: 8px; }
  .page-hero-meta dt { font-size: 0.64rem; }

  /* Operator (about) */
  .operator { padding: 32px 0; gap: 20px; }
  .operator-body p { font-size: 0.96rem; line-height: 1.75; margin-bottom: 14px; max-width: none; }
  .stack-block { margin-top: 22px; }
  .stack-tags { gap: 6px 5px; }
  .stack-tag, .tag { font-size: 0.72rem; padding: 4px 9px; }

  /* Field notes index */
  .note-row { padding: 20px 0; gap: 6px; }
  .note-date { font-size: 0.7rem; }
  .note-body h3 { font-size: 1.2rem; line-height: 1.28; margin-bottom: 6px; }
  .note-body p  { font-size: 0.9rem; line-height: 1.6; max-width: none; }
  .note-cat { font-size: 0.68rem; letter-spacing: 0.08em; margin-top: 2px; }

  /* Article body — comfortable phone reading */
  .article-wrap { padding: calc(var(--nav-h) + 32px) 20px 48px; }
  .article-head { padding-bottom: 20px; margin-bottom: 24px; }
  .article-kicker {
    font-size: 0.68rem;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .article-title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); line-height: 1.15; margin-bottom: 12px; }
  .article-meta { font-size: 0.72rem; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
  .article-excerpt {
    font-size: 1rem;
    padding-left: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: none;
  }
  .article-body { font-size: 1rem; line-height: 1.75; }
  .article-body h2 { font-size: 1.3rem; margin: 28px 0 10px; padding-top: 16px; }
  .article-body h3 { font-size: 1.1rem; margin: 20px 0 8px; }
  .article-body p { margin-bottom: 14px; }
  .article-body ul, .article-body ol { margin: 10px 0 14px 22px; }
  .article-nav {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
    padding-top: 20px;
  }
  /* Per-article helpers defined inline on blog-multi-agent-ai.html */
  .callout { font-size: 0.86rem; padding: 12px 14px; margin: 16px 0; line-height: 1.55; }
  .org-chart { padding: 10px; margin: 22px -4px; }

  /* FPV */
  .gear-head {
    font-size: 0.72rem;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 18px;
  }
  .gear-grid { grid-template-columns: 1fr; }
  .gear-card { padding: 20px; }
  .gear-card img { margin-bottom: 14px; }
  .gear-name { font-size: 1.05rem; }
  .gear-desc { font-size: 0.9rem; line-height: 1.55; }
  .gear-specs li { font-size: 0.78rem; }
  .gear-note { font-size: 0.78rem; }
  .fpv-cta { padding: 26px 20px; margin-top: 32px; }
  .fpv-cta p { font-size: 0.92rem; }
  .fpv-cta a { display: inline-block; margin: 6px 8px; padding: 6px 0; }

  /* Contact */
  .contact-wrap { padding: calc(var(--nav-h) + 32px) 20px 56px; }
  .contact-grid { gap: 28px; margin-top: 28px; }
  .contact-guide { padding: 14px 16px; font-size: 0.92rem; margin-bottom: 24px; }
  .contact-form-grid, .contact-form-grid-wide { gap: 12px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS auto-zoom on focus */
    padding: 12px 14px;
  }
  .contact-form-actions { gap: 10px; }
  .contact-form-actions .btn-primary,
  .contact-form-actions .btn-ghost {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
  .contact-primary-row { gap: 8px; }
  .contact-card { padding: 14px 16px; gap: 12px; }
  .contact-value { font-size: 0.95rem; }
  .contact-desc { font-size: 0.78rem; line-height: 1.45; margin-top: 4px; }
  .copy-email-btn { padding: 12px 16px; font-size: 0.82rem; }
  .section-divider { margin: 24px 0 12px; }

  /* Close CTA (homepage) */
  .close-cta { gap: 24px; padding-top: 36px; }
  .close-cta h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 14px; max-width: none; }
  .close-cta p  { font-size: 0.95rem; max-width: none; }
  .close-cta-actions { gap: 10px; }
  .close-cta-actions .btn-primary,
  .close-cta-actions .btn-ghost { flex: 1 1 auto; justify-content: center; text-align: center; }

  /* Ops steps (method section) */
  .ops-step { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .ops-step-n { font-size: 0.72rem; }
  .ops-step h3 { font-size: 1.1rem; }
  .ops-step p  { font-size: 0.92rem; }
  .ops-aside { padding: 18px; }
  .ops-aside ul { gap: 10px; }
  .ops-aside ul li { font-size: 0.9rem; line-height: 1.5; }

  /* Footer — phone-friendly, not a shrunk desktop grid */
  footer { padding: 36px 20px 24px; margin-top: 32px; }
  .footer-grid { gap: 26px; margin-bottom: 24px; }
  .footer-col-title {
    font-size: 0.66rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }
  .footer-col ul { gap: 10px; }
  .footer-col ul a {
    font-size: 0.86rem;
    padding: 4px 0;
    display: inline-block;
  }
  .footer-brand p { margin-top: 10px; max-width: none; }
  .footer-bottom { padding-top: 18px; font-size: 0.7rem; gap: 6px; }
}
