:root {
  --paper: #FFFFFF;
  --wash: #EEF5FF;
  --ink: #0E1F3A;
  --navy: #01285D;
  --muted: #4E5F78;
  --line: #DCE4EF;
  --link: #0063C6;
  --spark: #0083FD;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #2563EB; outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.dot { width: .9rem; height: .9rem; border-radius: 50%; background: var(--spark); flex: none; }
nav.site a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav.site a:hover { color: var(--ink); }

.hero { padding: 4rem 0 3rem; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; margin: 0; font-weight: 800; }
.hero h1 .by { display: block; font-size: .42em; letter-spacing: -.01em; font-weight: 600; color: var(--muted); margin-top: .5rem; }
.hero p { font-size: 1.2rem; max-width: 34rem; margin: 1.5rem 0 0; color: var(--ink); }

section { padding: 2rem 0; }
h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 1.8rem 0 .4rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: .35rem; }

.project { background: var(--wash); border-radius: 14px; padding: 1.5rem 1.5rem 1.25rem; }
.project h3 { margin: 0; font-size: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.project .what { margin: .5rem 0 1rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.25rem; margin: 0 0 1rem; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }

.policy h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; letter-spacing: -.025em; margin: 3rem 0 .5rem; }
.policy .meta { color: var(--muted); margin-bottom: 2rem; }
.policy .short { background: var(--wash); border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.policy .short h2 { margin-bottom: .5rem; }
.policy .short ul { margin: 0; }
.policy section { padding: 1rem 0; border-top: 1px solid var(--line); }
.policy section:first-of-type { border-top: 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 3rem; color: var(--muted); font-size: .95rem; }
footer.site .wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ── Homepage v2 ─────────────────────────────────────────────────────────── */
.home .wrap { max-width: 64rem; }
.home main.wrap { padding-top: 0; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 4.5rem 0 4rem; }
.hero2 h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 0; max-width: 14ch; }
.hero2 .lede { font-size: 1.2rem; color: var(--ink); margin: 1.4rem 0 0; max-width: 32rem; }
.hero2 .sig { margin-top: 1.6rem; color: var(--muted); font-size: .98rem; display: flex; align-items: center; gap: .55rem; }
.btn-link { display: inline-block; margin-top: 1.8rem; background: var(--link); color: #fff; text-decoration: none; font-weight: 650; padding: .75rem 1.15rem; border-radius: 10px; }
.btn-link:hover { background: #004A96; color: #fff; }

/* the scorecard row that fills itself in */
.sheet { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(1, 40, 93, .30); overflow: hidden; font-size: .9rem; }
.sheet .bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--wash); color: var(--muted); font-size: .82rem; }
.sheet .bar .dot { width: .6rem; height: .6rem; }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: .55rem .7rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet th { color: var(--muted); font-weight: 600; font-size: .78rem; }
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet td.n { color: var(--ink); font-weight: 600; }
.sheet .status { padding: .6rem .9rem; border-top: 1px solid var(--line); color: var(--link); font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: .45rem; }
@media (prefers-reduced-motion: no-preference) {
  .sheet td.n { animation: fill .35s ease-out both; }
  .sheet .status { animation: fill .4s ease-out both; animation-delay: 2.5s; }
}
@keyframes fill { from { opacity: 0; transform: translateY(3px); background: var(--wash); } to { opacity: 1; transform: none; background: transparent; } }

.band { padding: 3rem 0; border-top: 1px solid var(--line); }
.band > h2 { margin-bottom: 1.5rem; }
.proj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.proj h3 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.proj ul { list-style: none; padding: 0; margin: 0; }
.proj ul li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.proj ul li:first-child { padding-top: 0; }
.proj ul li b { display: block; }
.proj .aside { color: var(--muted); font-size: .95rem; margin-top: 1rem; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.principles h3 { margin: 0 0 .35rem; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.principles h3::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--spark); flex: none; }
.principles p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.about p { max-width: 34rem; }
.contact-email { font-size: 1.25rem; font-weight: 650; }

@media (max-width: 820px) {
  .hero2, .proj, .about { grid-template-columns: 1fr; }
  .hero2 { padding: 3rem 0; gap: 2rem; }
  .principles { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 420px) {
  .sheet th:nth-child(5), .sheet td:nth-child(5) { display: none; }
}

/* ── VA Labs brand ───────────────────────────────────────────────────────── */
.brand img { width: 40px; height: 40px; display: block; }
.brand { color: var(--navy); }
h1, h2, .proj h3 { color: var(--navy); }
.hero2 h1 em { font-style: normal; color: var(--spark); }
.about-logo { width: 132px; height: 132px; display: block; margin-bottom: 1rem; }
