@charset "UTF-8";
/* ── Nothing brand fonts ─────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap");
@font-face {
  font-family: "Ndot57";
  src: url("/assets/fonts/Ndot57-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NType82Mono";
  src: url("/assets/fonts/NType82Mono-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ── Google Fonts fallback ───────────────────────────────────── */
/* ── Variables ───────────────────────────────────────────────── */
:root {
  --bg: #FFFFFF;
  --surface: #F5F5F5;
  --text-primary: #0D0D0D;
  --text-secondary: #6B6660;
  --accent: #FF0000;
  --border: #E5E5E5;
  --font-display: 'Ndot57', 'Space Mono', monospace;
  --font-body: 'NType82Mono', 'IBM Plex Mono', monospace;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Dot matrix texture ──────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #0D0D0D 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.2s;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* ── Main wrapper ────────────────────────────────────────────── */
.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  position: relative;
  z-index: 1;
}

/* ── Section label pill ──────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  margin-bottom: 28px;
}

/* ── Home — article list ─────────────────────────────────────── */
.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.post-card-meta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-card-tag {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.post-card-arrow {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--border);
  transition: color 0.2s, transform 0.2s;
}

.post-card:hover .post-card-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ── Post page ───────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 36px;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--accent);
}

.post-header {
  margin-bottom: 36px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.post-meta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.post-meta-tag {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.62rem;
}

/* ── Post body prose ─────────────────────────────────────────── */
.post-body {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 2em 0 0.6em;
  line-height: 1.25;
}

.post-body h2 {
  font-size: 1.15rem;
}

.post-body h3 {
  font-size: 0.95rem;
}

.post-body p {
  margin-bottom: 1.2em;
}

.post-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 0, 0, 0.3);
}

.post-body a:hover {
  border-bottom-color: var(--accent);
}

.post-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.post-body em {
  font-style: italic;
}

.post-body ul, .post-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.post-body li {
  margin-bottom: 0.4em;
}

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5em 0 0.5em 1.2em;
  margin: 1.5em 0;
  color: var(--text-secondary);
  font-style: italic;
}

.post-body code {
  font-family: var(--font-body);
  font-size: 0.82em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-primary);
}

.post-body pre {
  background: #0D0D0D;
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 1.5em 0;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: #F0EBE3;
  line-height: 1.65;
}

.post-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1.5em 0;
  border: 1px solid var(--border);
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.82rem;
}

.post-body th, .post-body td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}

.post-body th {
  background: var(--surface);
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer p {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: opacity 0.2s ease;
}

.footer-icons a:hover {
  opacity: 0.7;
}

.footer-icons svg {
  width: 24px;
  height: 24px;
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* ── Screen Reader Only (SEO H1) ──────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .page-content {
    padding: 40px 16px 60px;
  }
  .nav-inner {
    padding: 12px 16px;
  }
}

/*# sourceMappingURL=main.css.map */