/* Rockford Ventures site styles
   Layout: a ledger. Left-aligned, ruled rows, tabular figures. The hero is a
   dark stage and the product (a cited answer card) is the one lit object.
   Palette: ink, paper, highlighter, ledger green.
   Type: Newsreader for display (editorial authority), Public Sans for body and UI
   (the US federal design system typeface, so it reads native to this audience). */
:root {
  color-scheme: light;
  --ink: #10212E;
  --ink-2: #1A3344;
  --ink-text: #F3F4F1;
  --ink-muted: #AEBDC6;
  --paper: #F3F4F1;
  --card: #FFFFFF;
  --text: #16232B;
  --muted: #5E6D75;
  --rule: #CBD2CE;
  --rule-strong: #9FAAA6;
  --mark: #E9C84A;
  --mark-soft: rgba(233, 200, 74, 0.45);
  --mark-ink: #7E6410;
  --verify: #2E6B4E;
  --verify-soft: #DDE9E1;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --ui: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 64ch;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--ui);
  font-size: 1.05rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 2px; }
mark { background: linear-gradient(transparent 35%, var(--mark-soft) 35%, var(--mark-soft) 92%, transparent 92%); color: inherit; padding: 0 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; text-decoration: none; }
.brand .name { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em; color: var(--text); }
.brand .what { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 640px) { .brand .what { display: none; } }
.nav { display: flex; gap: clamp(14px, 2.6vw, 28px); flex-wrap: wrap; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--text); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }

/* Buttons */
.button {
  display: inline-block;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1rem;
  background: var(--ink);
  color: var(--ink-text);
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  line-height: 1.3;
}
.button:hover { background: var(--ink-2); text-decoration: none; }
.button--paper { background: var(--paper); color: var(--ink); }
.button--paper:hover { background: #fff; color: var(--ink); }
.button:disabled { opacity: 0.7; cursor: default; }

/* Hero: the dark stage */
.hero { background: var(--ink); color: var(--ink-text); padding: clamp(44px, 7vw, 96px) 0 clamp(44px, 7vw, 88px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); } }
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 17ch;
  text-wrap: balance;
}
.hero .answer { max-width: 46ch; margin: 28px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: #D6DFE4; }
.hero .answer strong { color: var(--ink-text); font-weight: 600; }
.hero-actions { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .plain { color: var(--ink-text); font-weight: 500; }

/* The answer card */
.demo {
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  min-width: 0;
}
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--verify); background: var(--verify-soft); padding: 3px 9px; border-radius: 3px; }
.demo-top .how { font-size: 0.85rem; color: var(--muted); }
.demo-body { transition: opacity 0.35s ease; }
.demo-body.is-out { opacity: 0; }
.demo-q { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.demo-a p { margin: 0 0 10px; font-size: 0.98rem; line-height: 1.55; }
.demo-a p:last-child { margin-bottom: 0; }
.demo-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 0.95rem; }
.demo-table td { padding: 8px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.demo-table tr:last-child td { border-bottom: 1px solid var(--rule); }
.demo-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }
.demo-src { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.demo-src .label { font-size: 0.8rem; color: var(--muted); margin-right: 2px; }
.chip { font-size: 0.8rem; line-height: 1.3; background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; padding: 5px 9px; }
.chip b { font-weight: 600; }
.chip span { color: var(--muted); }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; color: var(--muted); font: inherit; font-size: 0.75rem; cursor: pointer; }
.dots button[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }

/* Stack strip */
.stack { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.stack .wrap { display: grid; gap: 10px 40px; align-items: baseline; }
@media (min-width: 900px) { .stack .wrap { grid-template-columns: auto 1fr; } }
.stack p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.stack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; }
.stack li { font-weight: 600; font-size: 0.98rem; padding: 0 16px; border-left: 1px solid var(--rule-strong); }
.stack li:first-child { padding-left: 0; border-left: 0; }
.stack .around { grid-column: 1 / -1; font-size: 0.9rem; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--card { background: var(--card); }
.section--ink { background: var(--ink); color: var(--ink-text); }
.section--ledger {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 32px, rgba(46, 107, 78, 0.05) 32px 64px);
}
.section-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 14px; max-width: 24ch; text-wrap: balance; }
.section-intro { max-width: 56ch; margin: 0 0 44px; color: var(--muted); font-size: 1.05rem; }
.section--ink .section-intro { color: var(--ink-muted); }

/* Outcome ledger: name left, body right */
.outcomes { margin: 0; }
.outcome { display: grid; gap: 10px 48px; padding: 26px 0; border-top: 1px solid var(--rule-strong); }
.outcome:last-child { border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 820px) { .outcome { grid-template-columns: minmax(240px, 1fr) 2fr; } }
.outcome dt { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.22; letter-spacing: -0.01em; }
.outcome dd { margin: 0; max-width: var(--measure); }
.outcome dd p { margin: 0 0 10px; }
.outcome dd .result { margin: 0 0 10px; }
.outcome dd .result b { font-weight: 600; }
.outcome dd .reads { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* Where we draw the line */
.line-grid { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .line-grid { grid-template-columns: 1fr 1.5fr; } }
.line-list { list-style: none; margin: 0; padding: 0; }
.line-list li { padding: 18px 0; border-top: 1px solid rgba(243, 244, 241, 0.18); font-size: 1.05rem; max-width: 58ch; }
.line-list li:last-child { border-bottom: 1px solid rgba(243, 244, 241, 0.18); }
.line-list b { font-weight: 600; }
.line-list .small { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--ink-muted); }

/* Engagement steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--muted); margin-bottom: 12px; }
.steps h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 0.98rem; color: var(--muted); }

/* Question list */
.questions { list-style: none; margin: 0; padding: 0; }
.questions li { border-top: 1px solid var(--rule-strong); }
.questions li:last-child { border-bottom: 1px solid var(--rule-strong); }
.questions a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 20px 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.25; letter-spacing: -0.01em;
  text-decoration: none;
}
.questions a:hover { text-decoration: underline; }
.questions small { font-family: var(--ui); font-size: 0.85rem; font-weight: 400; color: var(--muted); white-space: nowrap; }

/* Teaming */
.teaming { display: grid; gap: 28px; }
@media (min-width: 820px) { .teaming { grid-template-columns: 1fr 1fr; } }
.partner { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.partner img { width: 72px; height: auto; }
.partner h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 0 0 2px; }
.partner .full { color: var(--muted); font-size: 0.9rem; margin: 0 0 10px; }
.partner p { margin: 0; font-size: 0.98rem; }
.note { max-width: var(--measure); font-size: 0.95rem; color: var(--muted); margin: 32px 0 0; }

/* Contact */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }
.contact-details p { margin: 0 0 14px; }
.contact-details strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
form { display: grid; gap: 16px; min-width: 0; }
label { font-size: 0.92rem; font-weight: 500; display: grid; gap: 6px; }
input, textarea {
  font: inherit; font-size: 1rem;
  padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 4px;
  background: var(--card); color: var(--text); width: 100%;
}
input:focus, textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.95rem; margin: 0; min-height: 1.5em; }
.form-status.ok { color: var(--verify); }
.form-status.err { color: #8A2E1E; }

/* Footer */
.site-footer { padding: 36px 0 56px; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--muted); }
.site-footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.site-footer p { margin: 0; max-width: 90ch; }

/* Article pages */
.article { padding: clamp(40px, 7vw, 88px) 0; }
.article-head { max-width: 30ch; }
.article h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
.article .dek { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.4; max-width: 48ch; color: var(--muted); margin: 0 0 12px; }
.article .byline { font-size: 0.9rem; color: var(--muted); margin: 0 0 44px; }
.prose { max-width: var(--measure); line-height: 1.68; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.01em; margin: 2.2em 0 0.6em; }
.prose h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 1.8em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--ink); }
.prose .short-answer { background: var(--card); border-left: 4px solid var(--mark); padding: 20px 24px; border-radius: 0 4px 4px 0; }
.prose .short-answer p:last-child { margin-bottom: 0; }
.article-cta { max-width: var(--measure); margin-top: 56px; padding: 32px; background: var(--ink); color: var(--ink-text); border-radius: 6px; }
.article-cta h2 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin: 0 0 10px; }
.article-cta p { margin: 0 0 20px; color: #D6DFE4; }
.article-cta .button { background: var(--paper); color: var(--ink); }
.article-cta .button:hover { background: #fff; }
