:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ink: #29251f;
  --muted: #686157;
  --line: #d7d0c4;
  --accent: #a63d28;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
a:hover { color: var(--accent); }
::selection { background: #e3b9a3; color: var(--ink); }
.page { max-width: 1180px; padding: 0 56px; margin: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); background: var(--ink); color: var(--paper); padding: 12px 20px; z-index: 10; }
.skip-link:focus { transform: none; color: var(--paper); }
.header { padding-top: 27px; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-lockup img { display: block; border-radius: 8px; }
.social-links { display: flex; gap: 22px; align-items: center; font-size: 12px; }
.social-links a { padding: 10px 0; }
.social-links span { margin-left: 5px; }
.wordmark { white-space: nowrap; font-size: 27px; font-weight: 700; letter-spacing: -1.4px; }
.wordmark span { font-family: Georgia, serif; font-weight: 400; font-style: italic; font-size: 30px; }
.wordmark small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: -.5px; }
nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
nav a { padding: 13px 0 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
main { padding: 70px 0 66px; }
h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.07; font-weight: 500; letter-spacing: -2.8px; margin: 0; text-wrap: balance; }
.entry-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.entry-meta { font-family: monospace; font-size: 11px; line-height: 1.6; color: var(--muted); }
.entry p, .steps p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }
.entry:hover h3 { color: var(--accent); }
.lead { color: var(--muted); max-width: 680px; font-size: 18px; line-height: 1.7; margin: 24px 0 25px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 16px 30px; font-size: 14px; }
.resource-links a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line); }
.resource-links a:hover { text-decoration-color: var(--accent); }
.resource-links span { margin-left: 8px; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 35px; }
.metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics-single { grid-template-columns: minmax(0, 340px); }
.metric { display: flex; flex-direction: column; gap: 13px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric strong { font-size: 52px; font-weight: 400; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.metric > span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.metric > span span { margin-left: 5px; }
.activity-status, .source-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 17px 0 25px; }
.source-note { margin-top: 25px; }
.source-note a { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { font-size: 14px; color: var(--muted); padding: 25px 0; }
.project-links { gap: 18px 30px; }
.content-section { margin-top: 56px; }
.content-section > h2 { font-size: 13px; font-weight: 400; color: var(--muted); margin: 0 0 18px; }
.entry { display: flex; justify-content: space-between; align-items: start; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.entry-copy { max-width: 750px; }
.entry-meta { display: block; margin-bottom: 10px; }
.entry h3, .steps h3 { font-size: 21px; font-weight: 500; letter-spacing: -.3px; margin: 0 0 9px; }
.entry-arrow { font-size: 24px; line-height: 1; padding-top: 27px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); max-width: 820px; }
.steps li { counter-increment: step; position: relative; padding: 25px 0 25px 57px; border-bottom: 1px solid var(--line); }
.steps li::before { content: '0' counter(step); position: absolute; left: 0; top: 29px; font-family: monospace; font-size: 11px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 25px 0 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer span { margin-left: 7px; }

@media (max-width: 760px) {
  .page { padding: 0 28px; }
  .header { padding-top: 22px; }
  .header-top { padding-bottom: 18px; gap: 12px; }
  .brand-lockup { gap: 9px; }
  .brand-lockup img { width: 32px; height: 32px; border-radius: 6px; }
  .wordmark { font-size: 24px; }
  .wordmark span { font-size: 27px; }
  .social-links { gap: 15px; font-size: 11px; }
  .social-links span { margin-left: 2px; }
  nav { gap: 24px; font-size: 12px; }
  main { padding: 44px 0 45px; }
  h1 { font-size: clamp(39px, 8.8vw, 58px); letter-spacing: -1.8px; overflow-wrap: anywhere; }
  .entry p, .steps p { font-size: 14px; }
  .metrics { gap: 20px; }
  .metric strong { font-size: 43px; }
  .metric > span { font-size: 12px; }
  .lead { font-size: 16px; margin-top: 20px; }
  .content-section { margin-top: 40px; }
  .entry h3, .steps h3 { font-size: 19px; line-height: 1.35; }
  .steps li { padding-left: 40px; }
}

@media (max-width: 360px) {
  .page { padding: 0 20px; }
  nav { gap: 21px; font-size: 11px; }
  .wordmark { font-size: 22px; }
  .wordmark span { font-size: 24px; }
  .social-links { gap: 12px; font-size: 10px; }
  .social-links span { display: none; }
}
