/* Stackers — concrete palette so the look is distinctive, not generic.
   Paper background, ink text, petrol-teal accent, monospace metadata. */
:root {
  --paper: #f6f4ef;
  --panel: #fffdf9;
  --ink: #1a1d21;
  --muted: #6b7177;
  --accent: #0f6b62;        /* petrol teal */
  --accent-soft: #d8ebe7;
  --hairline: #e4ded2;
  --serif: "Charter", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", "Cascadia Code", monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--panel);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 24px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark .mark { color: var(--accent); }
.site-header nav a {
  color: var(--muted); text-decoration: none; margin-left: 22px;
  font-size: 15px; font-weight: 500;
}
.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 56px 0 28px; border-bottom: 1px solid var(--hairline); }
.hero.compact { padding: 40px 0 20px; }
.hero h1 {
  font-family: var(--serif); font-size: 48px; line-height: 1.05;
  margin: 0 0 10px; letter-spacing: -0.02em;
}
.hero .tagline { color: var(--muted); font-size: 19px; margin: 0; max-width: 36ch; }

/* Issue */
.issue { padding: 40px 0; }
.kicker {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent); margin: 0 0 8px;
}
.issue-head h2 {
  font-family: var(--serif); font-size: 33px; line-height: 1.15;
  margin: 0 0 12px; letter-spacing: -0.015em;
}
.issue-meta {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  margin: 0 0 6px; padding-bottom: 24px; border-bottom: 2px solid var(--ink);
}

/* Prose */
.prose { font-size: 18.5px; }
.prose h2 {
  font-family: var(--serif); font-size: 25px; margin: 40px 0 12px;
  padding-top: 6px; letter-spacing: -0.01em;
}
.prose h3 { font-family: var(--serif); font-size: 20px; margin: 28px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 700; }
.prose code {
  font-family: var(--mono); font-size: 0.85em; background: var(--accent-soft);
  padding: 1px 5px; border-radius: 4px;
}
.prose blockquote {
  margin: 0 0 18px; padding: 4px 18px; border-left: 3px solid var(--accent);
  color: var(--muted);
}

/* Issue lists */
.more { padding: 8px 0 40px; border-top: 1px solid var(--hairline); }
.more h3 { font-family: var(--serif); font-size: 20px; margin: 28px 0 14px; }
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
}
.issue-list a {
  color: var(--ink); text-decoration: none; font-weight: 600; flex: 1 1 60%;
}
.issue-list a:hover { color: var(--accent); }
.issue-list .date, .issue-list .count {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.more-link { color: var(--accent); font-weight: 600; text-decoration: none; }

.issue-foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.issue-foot a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Sponsor block */
.sponsor {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin: 28px 0 8px; padding: 14px 18px;
  background: var(--accent-soft); border: 1px solid #c4e0db; border-radius: 8px;
  font-size: 15px;
}
.sponsor-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); font-weight: 700;
  border: 1px solid var(--accent); border-radius: 4px; padding: 1px 6px;
}
.sponsor-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.sponsor-name:hover { color: var(--accent); }
.sponsor-blurb { color: var(--ink); }
.sponsor-invite { background: #faf7ef; border-color: var(--hairline); }
.sponsor-cta { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sponsor-cta:hover { text-decoration: underline; }

/* Jobs */
.issue-list.jobs a { flex: 1 1 55%; }
.jobs-cta { margin-top: 24px; }
.jobs-cta a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* Footer CTA */
.cta { margin: 0 0 14px; }
.cta a {
  display: inline-block; font-weight: 700; color: #fff; background: var(--accent);
  text-decoration: none; padding: 9px 16px; border-radius: 8px; font-size: 15px;
}
.cta a:hover { background: #0c574f; }

/* Footer */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--hairline); background: var(--panel);
}
.site-footer .wrap { padding-top: 28px; padding-bottom: 40px; }
.disclaimer { font-size: 13.5px; color: var(--muted); max-width: 60ch; margin: 0 0 8px; }
.colophon { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 38px; }
  .issue-head h2 { font-size: 27px; }
}
