@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Mono:wght@300;400;500&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;1,9..144,300&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0e0d0b;
  --paper: #f4f0e8;
  --warm: #e8dcc8;
  --ember: #c94a2a;
  --copper: #b5742a;
  --sage: #3d5a4a;
  --mist: #8c8880;
  --grid: rgba(14,13,11,0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── NOISE OVERLAY ─────────────────────────────────── */
body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── HEADER ────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid rgba(244, 240, 232, 0.16);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(14, 13, 11, 0.92);
}

.site-header .logo-text {
  color: var(--paper);
}

.site-header .site-nav a {
  color: rgba(244, 240, 232, 0.72);
}

.site-header .site-nav a:hover {
  color: var(--paper);
}

.site-header .site-nav a.active {
  color: var(--copper);
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--ember);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--paper);
  flex-shrink: 0;
}

.logo-text {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-text span {
  color: var(--ember);
}

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-nav a {
  color: rgba(14, 13, 11, 0.7);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active {
  color: var(--ember);
}

/* ─── HERO (homepage) ───────────────────────────────── */
.hero {
  padding: 84px 48px 36px;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.6s ease both;
}

.hero-label::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ember);
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--copper);
}

.hero-sub {
  color: rgba(14, 13, 11, 0.72);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-values {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.value-chip {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(14, 13, 11, 0.2);
  padding: 6px 10px;
  color: rgba(14, 13, 11, 0.75);
  background: rgba(232, 220, 200, 0.45);
}

.focus-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 48px 34px;
}

.focus-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 13, 11, 0.56);
  margin-bottom: 16px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.focus-card {
  border: 1px solid rgba(14, 13, 11, 0.12);
  background: rgba(232, 220, 200, 0.34);
  padding: 18px;
}

.focus-card h2 {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.focus-card p {
  color: rgba(14, 13, 11, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

/* ─── BLOG LIST ─────────────────────────────────────── */
.blog-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 48px 96px;
}

.blog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(14, 13, 11, 0.12);
}

.blog-section-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 13, 11, 0.62);
}

.post-count {
  font-size: 11px;
  color: rgba(14, 13, 11, 0.48);
  letter-spacing: 0.1em;
}

.empty-state {
  border: 1px solid rgba(14, 13, 11, 0.12);
  background: rgba(232, 220, 200, 0.32);
  padding: 18px;
  margin-bottom: 18px;
  color: rgba(14, 13, 11, 0.72);
  font-size: 13px;
}

.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(14, 13, 11, 0.1);
  text-decoration: none;
  transition: background 0.2s;
  position: relative;
}

.post-card::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ember);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.post-card:hover::before {
  transform: scaleY(1);
}

.post-card:hover .post-title {
  color: var(--ink);
}

.post-card:hover .post-arrow {
  color: var(--ember);
}

.post-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-date {
  font-size: 11px;
  color: rgba(14, 13, 11, 0.58);
  letter-spacing: 0.08em;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.post-tag {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  opacity: 0.8;
}

.post-tag::after {
  content: " ·";
}

.post-tag:last-child::after {
  content: "";
}

.post-content-preview {
  flex: 1;
}

.post-title {
  font-family: "Fraunces", serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgba(14, 13, 11, 0.88);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.post-excerpt {
  font-size: 13px;
  color: rgba(14, 13, 11, 0.72);
  line-height: 1.65;
  max-width: 580px;
}

.post-arrow {
  font-size: 20px;
  color: rgba(14, 13, 11, 0.36);
  transition: color 0.2s;
  padding-top: 4px;
  align-self: center;
}

/* ─── POST PAGE ─────────────────────────────────────── */
.post-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}

.post-header {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(14, 13, 11, 0.12);
}

.post-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ember);
}

.post-wrapper h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}

.post-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.post-info-date,
.post-info-author {
  font-size: 11px;
  color: rgba(14, 13, 11, 0.6);
  letter-spacing: 0.08em;
}

.post-info-sep {
  color: rgba(14, 13, 11, 0.28);
  font-size: 10px;
}

.post-info-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.post-info-tag {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  border: 1px solid rgba(201, 74, 42, 0.3);
  padding: 2px 8px;
}

/* ─── POST BODY TYPOGRAPHY ──────────────────────────── */
.post-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(14, 13, 11, 0.84);
}

.post-body h2 {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(14, 13, 11, 0.1);
}

.post-body h3 {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 16px;
}

.post-body h4 {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.05em;
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-body p {
  margin-bottom: 20px;
}

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

.post-body em {
  font-style: italic;
  color: var(--copper);
}

.post-body a {
  color: var(--ember);
  text-decoration: underline;
  text-decoration-color: rgba(201, 74, 42, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.post-body a:hover {
  text-decoration-color: var(--ember);
}

.post-body ul, .post-body ol {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.post-body ul li, .post-body ol li {
  padding-left: 24px;
  margin-bottom: 8px;
  position: relative;
}

.post-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(244, 240, 232, 0.25);
}

.post-body ol {
  counter-reset: ol-counter;
}

.post-body ol li::before {
  counter-increment: ol-counter;
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  color: var(--ember);
  font-size: 12px;
}

.post-body blockquote {
  border-left: 2px solid var(--ember);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(14, 13, 11, 0.72);
  font-style: italic;
}

.post-body code {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  background: rgba(14, 13, 11, 0.06);
  color: var(--copper);
  padding: 2px 6px;
  border: 1px solid rgba(14, 13, 11, 0.12);
}

.post-body pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(244, 240, 232, 0.08);
  padding: 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--paper);
}

.post-body hr {
  border: none;
  border-top: 1px solid rgba(14, 13, 11, 0.14);
  margin: 48px 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 13px;
}

.post-body table th {
  font-family: "Syne", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 13, 11, 0.62);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(14, 13, 11, 0.16);
  text-align: left;
}

.post-body table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(14, 13, 11, 0.1);
  color: rgba(14, 13, 11, 0.78);
  vertical-align: top;
}

.post-body table tr:hover td {
  background: rgba(232, 220, 200, 0.24);
}

/* TL;DR callout (first h2 = TL;DR) */
.post-body .tldr-block {
  background: rgba(201, 74, 42, 0.06);
  border: 1px solid rgba(201, 74, 42, 0.2);
  border-left: 3px solid var(--ember);
  padding: 24px;
  margin-bottom: 48px;
  font-size: 14px;
  color: rgba(244, 240, 232, 0.75);
  line-height: 1.7;
}

/* ─── POST NAVIGATION ───────────────────────────────── */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(14, 13, 11, 0.12);
  gap: 32px;
}

.post-nav-back {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14, 13, 11, 0.56);
  transition: color 0.2s;
}

.post-nav-back:hover {
  color: var(--ink);
}

.post-nav-back::before {
  content: "←";
  color: var(--ember);
}

.post-nav-next {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14, 13, 11, 0.56);
  transition: color 0.2s;
}

.post-nav-next:hover {
  color: var(--ink);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(14, 13, 11, 0.12);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(14, 13, 11, 0.58);
  font-size: 11px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-brand .logo-icon {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.footer-brand .logo-text {
  font-size: 13px;
}

.footer-tagline {
  color: var(--ember);
  letter-spacing: 0.08em;
}

/* ─── 404 PAGE ──────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}

.error-code {
  font-family: "Fraunces", serif;
  font-size: 120px;
  font-weight: 300;
  color: rgba(14, 13, 11, 0.1);
  line-height: 1;
  margin-bottom: 24px;
}

.error-title {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.error-desc {
  color: rgba(14, 13, 11, 0.68);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-primary {
  background: var(--ember);
  color: var(--paper);
  border: none;
  padding: 13px 26px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 95% 100%, 0 100%);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: #d45530;
  transform: translateY(-2px);
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--ember);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .site-header {
    padding: 16px 24px;
  }
  .site-nav {
    gap: 16px;
  }
  .hero {
    padding: 72px 24px 56px;
  }
  .focus-section {
    padding: 0 24px 18px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .blog-section {
    padding: 48px 24px 80px;
  }
  .post-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .post-arrow {
    display: none;
  }
  .post-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .post-wrapper {
    padding: 56px 24px 80px;
  }
  .site-footer {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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