/* ════════════════════════════════════════════════════
   SCARLET LLC — SHARED STYLESHEET
   Light grey base, black + scarlet accents
   ════════════════════════════════════════════════════ */

:root {
  --bg: #F4F4F2;
  --surface: #EAEAE7;
  --border: #D8D8D4;
  --red: #C41E1E;
  --red-dim: #8B1414;
  --red-glow: rgba(196, 30, 30, 0.08);
  --text: #161616;
  --muted: #6E6E6A;
  --mid: #454541;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

a { color: inherit; }

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 40px;
}

.rule {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(244,244,242,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  height: 64px;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); font-weight: 500; }
.nav-cta {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  background: var(--red);
  padding: 8px 20px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--red-dim); }

/* ── PAGE HERO (non-home pages) ── */
.page-hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 64px;
  overflow: hidden;
}
.page-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.page-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 760px;
}
.page-hero-h1 span { color: var(--red); }

/* ── HOME HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#nodeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 45%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 68%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}
.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 30px;
}
.hero-h1 span { color: var(--red); }
.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--mid);
  max-width: 540px;
  margin-bottom: 52px;
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  font-size: 14px; font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--red);
  padding: 14px 28px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--red-dim); }
.btn-secondary {
  font-size: 14px; font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: all 0.15s;
}
.btn-secondary:hover { color: var(--text); border-color: var(--muted); }

/* ── TWO COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.two-col.align-start { align-items: start; }
.two-col.align-center { align-items: center; }

h2.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
h2.section-h2 .dim { color: var(--muted); }

p.body-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
}

/* ── ABOUT TABLE ── */
.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.fact-row:last-child { border-bottom: none; }
.fact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.fact-value {
  font-size: 14px;
  color: var(--mid);
  text-align: right;
}

/* ── SENTINEL HERO ── */
.sentinel-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.sentinel-glow {
  position: absolute;
  top: 50%; right: 5%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}
.sentinel-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 24px;
}
.sentinel-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}
.feature-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 36px;
}
.feature-panel-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.feature-tag {
  background: var(--red-glow);
  border: 1px solid rgba(196,30,30,0.18);
  border-radius: 2px;
  padding: 2px 8px;
  white-space: nowrap;
}
.feature-tag span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feature-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── PROBLEM LIST ── */
.problem-line {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.problem-dot {
  width: 4px; min-width: 4px; height: 4px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--red);
}
.problem-text {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
}
.callout {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 28px;
  line-height: 1.5;
  border-left: 3px solid var(--red);
  padding-left: 20px;
}
.callout .sub {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  display: block;
  margin-top: 6px;
}
.quote-block {
  border-left: 3px solid var(--red);
  padding-left: 20px;
}
.quote-block p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
}

/* ── CAPABILITIES ── */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.cap-card {
  background: var(--bg);
  border: none;
  padding: 32px 28px;
  transition: all 0.2s ease;
  cursor: default;
}
.cap-card:hover {
  background: var(--surface);
}
.cap-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.cap-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cap-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
}

/* ── ARCHITECTURE 3-COL ── */
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.three-col-item {
  background: var(--bg);
  padding: 36px 30px;
}
.three-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.three-col-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
}

/* ── GOVERNMENT DESIGNED FOR ── */
.designed-for-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 36px 32px;
}
.designed-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.designed-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.designed-dot {
  width: 6px; min-width: 6px; height: 6px;
  margin-top: 7px;
  background: var(--red);
  border-radius: 50%;
}
.designed-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── LEADERSHIP ── */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.headshot {
  width: 140px; height: 140px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.headshot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.leader-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.leader-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.cred-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 2px;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.metric-box {
  background: var(--surface);
  padding: 24px 20px;
}
.metric-stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}
.metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bio-para {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 20px;
}
.bio-para:last-child { margin-bottom: 0; }

/* ── CONTACT ── */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.contact-card:hover { border-color: rgba(196,30,30,0.4); }
.contact-card-primary {
  background: var(--red);
  border: none;
  transition: background 0.15s;
}
.contact-card-primary:hover { background: var(--red-dim); }
.contact-icon {
  width: 36px; height: 36px;
  background: rgba(196,30,30,0.1);
  border: 1px solid rgba(196,30,30,0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 15px;
}
.contact-icon-light {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
}
.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-label-light { color: rgba(255,255,255,0.75); }
.contact-value { font-size: 14px; color: var(--text); }
.contact-value-light { font-size: 14px; color: #fff; font-weight: 500; }
.partnership-note {
  padding: 20px 26px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.partnership-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.partnership-text {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

/* ── PAGE NAV CARDS (cross-links at bottom of pages) ── */
.page-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.page-nav-card {
  background: var(--bg);
  padding: 32px 28px;
  text-decoration: none;
  transition: background 0.2s ease;
  display: block;
}
.page-nav-card:hover { background: var(--surface); }
.page-nav-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.page-nav-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

/* ── FOOTER ── */
footer { background: var(--bg); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bar { width: 6px; height: 18px; background: var(--red); border-radius: 1px; }
.footer-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr !important; gap: 40px !important; }
  .leadership-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .three-col { grid-template-columns: 1fr !important; }
  .cap-grid { grid-template-columns: 1fr !important; }
  .page-nav-grid { grid-template-columns: 1fr !important; }
  .hero-h1 { font-size: 40px !important; }
  .page-hero-h1 { font-size: 38px !important; }
  .sentinel-h2 { font-size: 34px !important; }
  .nav-links { display: none !important; }
  .section { padding: 64px 24px !important; }
}
