/* SR Consulting -- follows the SiliconRoshi design system (forms/DESIGN.md):
   white ground, Yale navy for action, Harvard red only as a mark. */
:root {
  --bg: #ffffff; --bg-subtle: #f7f8fa; --line: #e6e8ec; --line-strong: #d4d8de;
  --text: #0b0f17; --text-2: #4b5462; --text-3: #8a929f;
  --brand: #002d68; --brand-hover: #0a3b80; --brand-tint: #eef3fa; --mark: #d4101c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 18px/1.6 Inter, "Noto Sans SC", system-ui, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--brand); }
h1, h2, h3 { font-weight: 600; margin: 0 0 16px; }
h1 { max-width: 15em; font-size: clamp(34px, 5.4vw, 52px); letter-spacing: -0.035em; line-height: 1.12; }
h2 { font-size: clamp(26px, 3.4vw, 32px); letter-spacing: -0.02em; line-height: 1.2; max-width: 22em; }
h3 { font-size: 19px; }
p { margin: 0 0 16px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.top { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.brand strong { font-size: 20px; letter-spacing: -0.01em; }
.brand span { border-left: 1px solid var(--line-strong); padding-left: 12px; font-size: 18px; font-weight: 500; color: var(--text-2); }
nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
nav a { color: var(--text-2); text-decoration: none; }
nav a:hover { color: var(--text); }

.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 16px; border: 1px solid var(--brand); }
.btn:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-subtle); }
.btn-small { padding: 7px 14px; font-size: 15px; color: #fff !important; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.center { justify-content: center; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mark); margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--text-2); max-width: 38em; }

.hero { padding: 96px 0 80px; }
.story { background: var(--brand); color: #fff; padding: 72px 0; }
.story .eyebrow { color: #ffb3b8; }
.story p { color: #d9e2f0; }
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.quote { margin: 0; border-left: 3px solid var(--mark); padding-left: 24px; }
.quote blockquote { margin: 0 0 12px; font-size: 24px; line-height: 1.4; color: #fff; }
.quote figcaption { font-size: 15px; color: #b9c6da; }

.block { padding: 88px 0; }
.block.alt { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card p { color: var(--text-2); margin: 0; font-size: 17px; }

.steps-title { margin-top: 56px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; border-top: 2px solid var(--brand); padding-top: 14px; font-size: 16px; color: var(--text-2); }
.steps li::before { content: counter(s); display: block; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.steps strong { display: block; color: var(--text); }

.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.about p { color: var(--text-2); }

.contact { padding: 88px 0 96px; text-align: center; background: var(--brand-tint); }
.contact h2, .contact .lead { margin-left: auto; margin-right: auto; }
.mail { margin-top: 20px; font-size: 16px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--text-3); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--text-2); }

@media (max-width: 760px) {
  nav a:not(.btn) { display: none; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: auto; }
  .brand strong { font-size: 17px; }
  .brand span { font-size: 15px; padding-left: 8px; }
  .btn-small { padding: 6px 12px; font-size: 14px; }
  .hero { padding: 64px 0 56px; }
  .story-grid, .about-grid, .cards { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .block, .contact { padding: 64px 0; }
}

/* ---------- jobs pages (generated by scripts/build-jobs.mjs) ---------- */
.narrow { max-width: 780px; }
.jobs { padding: 64px 0 88px; }
.jobs h1 { max-width: none; }
.jobs .eyebrow a { color: var(--mark); text-decoration: none; }
.job-list { list-style: none; padding: 0; margin: 40px 0 0; }
.job-item { border-top: 1px solid var(--line); padding: 24px 0; }
.job-item > a { font-size: 21px; font-weight: 600; text-decoration: none; }
.job-item > a:hover { text-decoration: underline; }
.job-item p { margin: 6px 0 0; color: var(--text-2); }
.job-facts-line { font-size: 15px; color: var(--text-3) !important; }
.tag { font-size: 13px; background: var(--bg-subtle); border: 1px solid var(--line); border-radius: 9999px; padding: 2px 10px; color: var(--text-2); margin-left: 8px; }
.job-meta { color: var(--text-3); font-size: 15px; }
.job-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 32px; padding: 14px 16px; background: var(--brand-tint); border-radius: 6px; font-size: 17px; }
.job-facts dt { color: var(--text-2); }
.job-facts dd { margin: 0; font-weight: 600; }
.job-body { font-size: 18px; line-height: 1.7; }
.job-body h2 { font-size: 22px; margin-top: 36px; }
.job-body li { margin-bottom: 6px; }
.job-apply { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.job-apply h2 { font-size: 22px; }
.muted { color: var(--text-3); font-size: 15px; }
