:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --ink: #18181b;
  --muted: #52525b;
  --line: #e4e4e7;
  --accent: #1f4d3a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111312;
    --surface: #1a1d1b;
    --ink: #f4f4f5;
    --muted: #a1a1aa;
    --line: #2e322f;
    --accent: #7fc4a2;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 72px 16px 48px; }
.masthead { margin-bottom: 56px; }
.mark {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; margin: 0 0 20px;
  border: 2px solid var(--accent); border-radius: 10px;
  color: var(--accent); font-weight: 700; letter-spacing: .04em;
}
h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.15; letter-spacing: -.02em; }
.lede { margin: 12px 0 0; font-size: 1.15rem; color: var(--muted); }
h2 {
  margin: 0 0 16px; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
section { margin-bottom: 48px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card h3 a { color: var(--ink); }
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.fine { font-size: .85rem; color: var(--muted); }
.email { font-size: 1.1rem; font-weight: 600; }
.foot { border-top: 1px solid var(--line); padding-top: 20px; font-size: .85rem; color: var(--muted); }
.foot p { margin: 4px 0; }
.clients { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.projects { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 8px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.project h3 { margin: 0 0 6px; font-size: 1rem; }
.project p { margin: 0; color: var(--muted); font-size: .95rem; }
.sub { margin: 20px 0 10px; font-size: 1rem; }
.tags { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .9rem; font-weight: 600; }
.tags-quiet li { font-weight: 400; color: var(--muted); }
.intro { margin: 14px 0 0; color: var(--muted); max-width: 62ch; }
.steps { margin: 0 0 14px; padding-left: 22px; }
.steps li { margin-bottom: 10px; color: var(--muted); }
.steps strong { color: var(--ink); }
