/* jasondpike.com — mobile-first, mostly text, per Nick Gray's playbook */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #595959;
  --link: #0b57d0;
  --rule: #e5e5e5;
  --accent-bg: #f6f6f4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #e8e8e8;
    --muted: #a0a0a0;
    --link: #8ab4f8;
    --rule: #2c2c2c;
    --accent-bg: #1c1c1c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}
header.site {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.1rem;
}
header.site .name { font-weight: 700; text-decoration: none; color: var(--text); }
header.site nav { display: flex; gap: 1.1rem; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--link); }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 1.6rem 0 0.6rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
a { color: var(--link); }
p, ul, ol { margin: 0.75rem 0; }
li { margin: 0.3rem 0; }
hr { border: none; border-top: 1px solid var(--rule); margin: 2rem 0; }
.meta { color: var(--muted); font-size: 0.9rem; margin: 0.2rem 0 1.2rem; }
.headshot {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  float: right;
  margin: 0.5rem 0 0.75rem 1.25rem;
}
.headshot-placeholder {
  width: 160px; height: 160px;
  border-radius: 50%;
  float: right;
  margin: 0.5rem 0 0.75rem 1.25rem;
  background: var(--accent-bg);
  border: 1px dashed var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.75rem; text-align: center; padding: 0.5rem;
}
.project-list { list-style: none; padding: 0; }
.project-list li { margin: 1.1rem 0; }
.project-list .when { color: var(--muted); font-size: 0.85rem; display: block; }
.callout {
  background: var(--accent-bg);
  border-left: 3px solid var(--link);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  border-radius: 0 6px 6px 0;
}
footer.site {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}
footer.site a { color: var(--muted); }
code {
  background: var(--accent-bg);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}
@media (max-width: 480px) {
  .headshot, .headshot-placeholder { width: 110px; height: 110px; }
  body { font-size: 17px; }
}
