/* SlashBuilder — Digital Zen tokens (Lockamy Studios), distinct treatment
   from Quickring: no golden-tab, no warm serif-forward hero. Leans on
   IBM Plex Mono and the "/" mark instead — an engineering register for
   an OSS org, not a consumer product. Values copied from
   lockamy-studios/digital-zen's _sass/_tokens.scss (DZ-TOKENS block). */

:root {
  /* Stone neutrals */
  --warm-white: #FDFCFA;
  --stone-50:  #FAF9F7;
  --stone-100: #F2EFE9;
  --stone-200: #E5E0D8;
  --stone-300: #CCC5B9;
  --stone-400: #A89E8E;
  --stone-500: #7D7168;
  --stone-600: #5A5049;
  --stone-700: #3D3630;
  --ink:       #1E1A16;

  /* Accent — used sparingly; sage, never gold. The Golden Tab is
     Quickring's mark, not SlashBuilder's. */
  --sage-500: #4D7D44;
  --sage-400: #6D9E63;
  --sage-200: #C8DBC1;

  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-md: 14px;
  --shadow-sm: 0 1px 3px rgba(30,26,22,0.06), 0 1px 2px rgba(30,26,22,0.04);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 24px;
  top: 12px;
  background: var(--ink);
  color: var(--warm-white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  z-index: 10;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--stone-200);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.mark {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mark-slash {
  color: var(--sage-500);
}
.site-header nav {
  display: flex;
  gap: 24px;
}
.site-header nav a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--stone-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--sage-500);
}

/* Post meta + body (post.html layout) */
.post-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone-500);
  margin: 0;
}
.post-body {
  color: var(--stone-700);
  max-width: 62ch;
}
.post-body p { margin: 0 0 20px; }
.post-body strong { color: var(--ink); }

/* Updates index (updates.html) */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--stone-200);
}
.post-list li:first-child { padding-top: 0; }
.post-list li:last-child { border-bottom: none; }
.post-list-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.post-list-title:hover { color: var(--sage-500); }
.post-list-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone-500);
}
.post-list-excerpt {
  margin: 8px 0 0;
  color: var(--stone-700);
  font-size: 15px;
}

/* Main content */
main { display: block; }

.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--stone-200);
}
.hero .wrap { display: block; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--ink);
}
.hero .lede {
  font-size: 19px;
  color: var(--stone-700);
  max-width: 56ch;
  margin: 0;
}
.hero .lede strong { color: var(--ink); }

.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--stone-200);
}
.section:last-of-type { border-bottom: none; }

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--sage-500);
  margin: 0 0 12px;
}
.eyebrow::before { content: "/"; margin-right: 2px; opacity: 0.6; }

.section > p.section-note {
  color: var(--stone-600);
  max-width: 62ch;
  margin: 0 0 32px;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .projects { grid-template-columns: 1fr 1fr; }
}

.project-card {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 28px;
}
.project-card h3 {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ink);
}
.project-card h3::before {
  content: "/";
  color: var(--sage-500);
}
.project-card p {
  margin: 0;
  color: var(--stone-700);
  font-size: 15.5px;
}

.plain p {
  color: var(--stone-700);
  max-width: 62ch;
}

a {
  color: var(--sage-500);
}
a:hover { color: var(--ink); }

ul.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.plain-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--stone-200);
  color: var(--stone-700);
}
ul.plain-list li:last-child { border-bottom: none; }
ul.plain-list code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--stone-100);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  padding: 32px 0 56px;
}
.site-footer p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone-500);
  margin: 0;
}
.site-footer a { color: var(--stone-500); text-decoration: underline; }
.site-footer a:hover { color: var(--sage-500); }

code, pre {
  font-family: var(--font-mono);
}
