*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html, body { min-height:100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background:#fafafa; color:#1a1a1a;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
.wrap {
  max-width:860px;
  margin:0 auto;
  padding:80px 24px 120px;
}
header { margin-bottom:56px; display:flex; gap:18px; align-items:baseline; }
header a.brand {
  color:#1a1a1a; text-decoration:none;
  font-weight:700; letter-spacing:-0.01em;
  font-size:15px;
}
header a.brand:hover { opacity:0.6; }
header .crumb {
  color:#bbb; font-size:14px;
}
header .crumb a {
  color:#888; text-decoration:none;
}
header .crumb a:hover { color:#1a1a1a; }
h1 {
  font-size:clamp(28px, 4vw, 40px);
  font-weight:700; letter-spacing:-0.02em;
  margin-bottom:8px;
}
.sub {
  color:#888; font-size:15px;
  margin-bottom:48px;
}
p { color:#333; font-size:15px; margin-bottom:14px; }
a { color:#1a1a1a; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:0.92em;
  background:#f0f0f0;
  padding:1px 6px;
  border-radius:4px;
}
.project-list {
  margin:0 -16px;
}
.project-card {
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:24px 16px;
  text-decoration:none;
  color:inherit;
  border-radius:10px;
  transition:background 0.15s ease;
}
.project-card + .project-card { margin-top:4px; }
.project-card:hover { background:#f0f0f0; }
.project-card h2 {
  font-size:22px; font-weight:600;
  letter-spacing:-0.01em;
  margin-bottom:4px;
}
.project-card .tagline { color:#555; font-size:15px; }
.project-card .arrow {
  color:#bbb; font-size:20px; flex-shrink:0;
  transition:all 0.15s ease;
}
.project-card:hover .arrow { color:#1a1a1a; transform:translateX(3px); }

/* detail page bits */
.detail h1 { margin-bottom:6px; }
.tagline-big {
  color:#555; font-size:17px;
  margin-bottom:18px;
}
.links {
  display:flex; gap:14px; flex-wrap:wrap;
  margin:10px 0 28px;
}
.links a {
  color:#1a1a1a; text-decoration:none;
  font-size:14px; font-weight:500;
  padding:7px 14px;
  border:1px solid #d4d4d4;
  border-radius:999px;
  transition:all 0.15s ease;
}
.links a:hover { background:#1a1a1a; color:#fafafa; border-color:#1a1a1a; }

.meta {
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:24px;
}
.tag {
  font-size:12px;
  color:#666;
  background:#f0f0f0;
  padding:4px 10px;
  border-radius:999px;
  font-weight:500;
}
.status {
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; color:#888;
  margin-bottom:14px;
}
.status::before {
  content:""; width:6px; height:6px;
  border-radius:50%; background:#4ade80;
  display:inline-block;
}
.status.paused::before { background:#fbbf24; }
.status.archived::before { background:#9ca3af; }
.status.draft::before { background:#a78bfa; }

pre {
  background:#111; color:#e5e5e5;
  padding:14px 16px;
  border-radius:8px;
  font-size:13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-x:auto;
  margin:12px 0;
  line-height:1.5;
}
pre .c { color:#7c7c7c; }
pre .p { color:#4ade80; }

.map {
  background:#0d0f12; color:#6b8e5a;
  padding:10px 12px;
  border-radius:8px;
  font-size:10px;
  line-height:1.05;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-x:auto;
  margin:14px 0 6px;
  white-space:pre;
  letter-spacing:0;
}
.map .marker { color:#ff8a4c; font-weight:700; }
.map .frame  { color:#3d4650; }

.caption {
  color:#888; font-size:12px;
  margin-bottom:18px;
  font-style:italic;
}
.screenshots-label {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:#999;
  margin:24px 0 10px;
  font-weight:600;
}
.shot-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:12px;
  margin:12px 0 6px;
}
.shot {
  background:#111; color:#e5e5e5;
  border-radius:8px;
  overflow:hidden;
  aspect-ratio:9/19;
  position:relative;
}
.shot iframe {
  width:100%; height:100%; border:0;
  display:block;
}
footer {
  margin-top:64px;
  color:#aaa; font-size:13px;
}
@media (max-width:600px) {
  .map { font-size:7px; }
}
