/* jaredslab.com: plain CSS, system fonts only, no external requests */

:root {
  --bg: #faf7f2;
  --text: #2b2a28;
  --muted: #6f6a62;
  --accent: #b4532a;
  --rule: #e4ddd0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b1a;      
    --text: #e4ddd0;   
    --muted: #9c978e;  
    --accent: #d97042;  
    --rule: #3a3836;
  }
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}

.wrap {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

header {
  margin-bottom: 3rem;
}

.name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
}

.name a {
  color: var(--text);
  text-decoration: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 2px;
}

nav a:hover { color: var(--accent); }

nav a[aria-current="page"] {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: normal;
  margin: 0 0 0.25rem;
}

p { margin: 0 0 1.2rem; }

a { color: var(--accent); }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
}

.project {
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.project:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.block {
  margin-top: 3rem;
}

dl {
  margin: 0 0 1.2rem;
}

dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.1rem;
}

dd {
  margin: 0.25rem 0 0;
}

.tags {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

footer {
  margin-top: 4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  html { font-size: 17px; }
  h1 { font-size: 1.8rem; }
}
