:root {
  --bg: #f7f7f5;
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --accent: #2a6fdb;
  --border: #1b1b1b;
  --dash: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}

@font-face {
  font-family: "Maple Mono";
  src: url("https://raw.githubusercontent.com/subframe7536/maple-font/variable/woff2/var/MapleMono%5Bwght%5D-VF.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Maple Mono";
  src: url("https://raw.githubusercontent.com/subframe7536/maple-font/variable/woff2/var/MapleMono-Italic%5Bwght%5D-VF.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Maple Mono", "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.6;
}

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

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

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 12px;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  box-shadow: 100px 0 0 var(--bg), -100px 0 0 var(--bg);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border: 2px dashed var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

.brand-title {
  display: grid;
  gap: 2px;
}

.brand-title .name {
  font-size: 20px;
  font-weight: 700;
}

.brand-title .tagline {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav a {
  border-bottom: 2px solid transparent;
}

.nav a.active {
  border-bottom-color: var(--border);
}

.hero {
  margin: 34px 0 26px;
  border: 2px dashed var(--border);
  padding: 26px;
  display: grid;
  gap: 12px;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  border: 2px solid var(--border);
  padding: 18px;
  display: grid;
  gap: 10px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--border);
}

.card .meta {
  font-size: 12px;
  color: var(--muted);
}

.card h2,
.card h3 {
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 36px 0 16px;
}

.post {
  border: 2px dashed var(--border);
  padding: 26px;
  background: #fff;
  box-shadow: 8px 8px 0 0 var(--border);
}

.post h1 {
  margin-top: 0;
}

.post-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.post-content img {
  max-width: 100%;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}

.list-item .date {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 2px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer a {
  color: var(--muted);
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  border: 1px dashed var(--border);
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }
}
