/* ============ Blog ============ */

/* Index header */
.blog-header {
  padding: clamp(40px,6vw,72px) clamp(24px,5vw,64px) clamp(24px,3vw,36px);
}
.blog-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.blog-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px,7vw,84px);
  line-height: .95;
  letter-spacing: -.045em;
}
.blog-intro {
  font-size: clamp(16px,1.6vw,20px);
  line-height: 1.5;
  color: var(--body);
  max-width: 56ch;
  margin-top: 22px;
}
.blog-empty {
  padding: 0 clamp(24px,5vw,64px) 80px;
  font-family: var(--mono);
  color: var(--muted);
}

/* Index list */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(16px,2.4vw,28px);
  padding: clamp(16px,3vw,32px) clamp(24px,5vw,64px) clamp(56px,7vw,88px);
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(20,21,13,.08), inset 0 1px 0 rgba(255,255,255,.8);
  border: 1px solid rgba(20,21,13,.14);
  border-radius: 18px;
  padding: 26px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.post-card-banner {
  display: block;
  width: calc(100% + 52px);
  height: auto;
  margin: -26px -26px 8px;
  border-bottom: 1px solid rgba(20,21,13,.1);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20,21,13,.14), inset 0 1px 0 rgba(255,255,255,.8);
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.post-card-tag {
  background: rgba(203,232,0,.35);
  color: #4d5600;
  padding: 3px 9px;
  border-radius: 999px;
}
.post-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px,2.4vw,26px);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.post-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  flex: 1;
}
.post-card-link {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--lime);
  padding-bottom: 2px;
  align-self: flex-start;
}

/* Post (article) */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px,5vw,56px) clamp(24px,5vw,40px) clamp(56px,7vw,88px);
}
.post-back {
  font-family: var(--mono);
  font-size: 13px;
  margin-bottom: 22px;
}
.post-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(20,21,13,.14);
  margin: 0 0 30px;
}
.post-back a { color: var(--muted); }
.post-back a:hover { color: var(--ink); }
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.post-meta-sep { opacity: .5; }
.post-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px,5vw,56px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.post-lead {
  font-size: clamp(18px,2vw,22px);
  line-height: 1.45;
  color: var(--body);
  margin-top: 20px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(20,21,13,.14);
}

/* Prose */
.post-body {
  font-size: 17px;
  line-height: 1.7;
  color: #23241b;
  margin-top: 32px;
}
.post-body > * + * { margin-top: 1.25em; }
.post-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px,3vw,32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-top: 1.9em;
}
.post-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px,2.4vw,24px);
  letter-spacing: -.01em;
  margin-top: 1.6em;
}
.post-body a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--lime);
  padding-bottom: 1px;
  transition: background .2s;
}
.post-body a:hover { background: rgba(203,232,0,.28); }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin-top: .5em; }
.post-body li::marker { color: var(--lime-deep, #7c8a00); }
.post-body blockquote {
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 22px;
  margin-left: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px,2.4vw,26px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
}
.post-body code {
  font-family: var(--mono);
  font-size: .88em;
  background: rgba(20,21,13,.06);
  padding: 2px 7px;
  border-radius: 5px;
}
.post-body pre {
  background: #14150d;
  color: #f2f1ea;
  padding: 20px 22px;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 14px;
}
.post-body pre code { background: none; padding: 0; }
.post-body hr {
  border: none;
  border-top: 1px solid rgba(20,21,13,.16);
  margin: 2.4em 0;
}
.post-body img { max-width: 100%; height: auto; border-radius: 12px; }
