/* Field notes — one small stylesheet, readable and boring on purpose. */
:root {
  --navy: hsl(207, 47%, 30%);
  --navy-deep: hsl(207, 50%, 23%);
  --green: hsl(82, 69%, 55%);
  --ink: hsl(210, 15%, 20%);
  --muted: hsl(210, 10%, 45%);
  --line: hsl(210, 20%, 90%);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.masthead, main, .colophon { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
.masthead {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.masthead img { display: block; }
.masthead nav a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.masthead nav a:hover { text-decoration: underline; text-decoration-color: var(--green); }
main { padding-bottom: 3rem; }
h1 { color: var(--navy-deep); font-size: 1.9rem; line-height: 1.25; margin: 0.5rem 0 0.75rem; }
h2 { color: var(--navy); font-size: 1.25rem; line-height: 1.35; margin: 0 0 0.35rem; }
h2 a, .more a { color: var(--navy); text-decoration: none; }
h2 a:hover, .more a:hover { text-decoration: underline; text-decoration-color: var(--green); }
a { color: var(--navy); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--green); }
.lede { font-size: 1.05rem; color: var(--muted); margin: 0 0 2rem; }
.meta { font-size: 0.85rem; color: var(--muted); margin: 0.1rem 0 0.9rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.pillar-card { border-top: 1px solid var(--line); padding: 1.4rem 0 0.6rem; }
.entry { border-top: 1px solid var(--line); padding: 1.6rem 0 0.8rem; }
.entry p { margin: 0 0 1rem; }
.provenance {
  font-size: 0.8rem; color: var(--muted); font-style: italic;
  border-left: 3px solid var(--green); padding-left: 0.6rem;
}
.colophon { border-top: 1px solid var(--line); padding-top: 1.25rem; padding-bottom: 2rem; }
.colophon p { font-size: 0.85rem; color: var(--muted); }

/* The gated capture card — a quiet aside, never a gate on the content. */
.capture-card {
  margin: 2.25rem 0 0.5rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 10px;
  padding: 1.15rem 1.25rem 1.25rem;
  background: hsl(210, 25%, 98%);
}
.capture-card h2 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.capture-card > p { margin: 0 0 0.9rem; font-size: 0.88rem; color: var(--muted); }
.capture-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.9rem; }
@media (max-width: 34rem) { .capture-fields { grid-template-columns: 1fr; } }
.capture-card label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.capture-card label .opt { font-weight: 400; }
.capture-card input {
  display: block; width: 100%; box-sizing: border-box; margin-top: 0.2rem;
  border: 1px solid var(--line); border-radius: 7px; padding: 0.45rem 0.6rem;
  font: inherit; font-size: 0.9rem; color: var(--ink); background: #fff;
}
.capture-card input:focus { outline: none; border-color: var(--navy); }
.capture-card button {
  margin-top: 0.9rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy); color: #fff; font: inherit; font-size: 0.9rem;
  font-weight: 600; padding: 0.55rem 1.5rem;
}
.capture-card button:hover { background: var(--navy-deep); }
.capture-card button:disabled { opacity: 0.6; cursor: default; }
/* The honeypot — off-canvas, not display:none, so naive scripts still fill it. */
.capture-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.capture-error { margin: 0.6rem 0 0; font-size: 0.8rem; color: hsl(0, 62%, 45%); }
.capture-done { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--navy-deep); }
