/* ============================================================
   InkJaw Web — BLOG styles (list + single post).
   Builds on brand.css tokens + site.css shell.
   ============================================================ */

.wrap--blog { max-width: 1100px; }
.wrap--prose { max-width: 680px; }

/* ── Blog list ── */
.bloglist { padding: 52px 0 80px; min-height: 70vh; }
.bloglist__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 10px 0 28px;
}
.bloglist__empty { font-family: var(--font-serif); font-style: italic; font-size: var(--fz-lg); color: var(--ink-soft); }

/* featured post — big ink card with a world-colored swatch */
.bigpost {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  color: var(--cream);
  transition: transform .2s var(--ease-snap), box-shadow .2s;
}
.bigpost:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bigpost__meta { font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.bigpost__title { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(28px, 3.6vw, 42px); line-height: 1; letter-spacing: -0.03em; color: var(--cream); margin: 12px 0 10px; }
.bigpost__excerpt { font-family: var(--font-serif); font-style: italic; font-size: var(--fz-md); color: color-mix(in srgb, var(--cream) 78%, transparent); margin: 0; }
.bigpost__swatch { background: var(--world); border-radius: 16px; align-self: stretch; min-height: 160px; }

/* grid of remaining posts */
.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.postcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform .2s;
}
.postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.postcard__strip { height: 8px; background: var(--world); }
.postcard__body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.postcard__meta { font-family: var(--font-mono); font-size: 10px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac-700); }
.postcard__title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 19px; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); flex: 1; }
.postcard__excerpt { font-family: var(--font-serif); font-style: italic; font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }

/* newsletter CTA */
.blogcta {
  margin-top: 30px;
  background: var(--ink);
  border-radius: 22px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.blogcta__text { min-width: 240px; flex: 1; }
.blogcta__kicker { font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.blogcta__head { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(22px, 2.6vw, 30px); line-height: 1; letter-spacing: -0.03em; color: var(--cream); }

/* ── Single post ── */
.post { background: var(--cream); min-height: 70vh; }
.post__hero { background: var(--world); padding: 52px 0 44px; }
.post__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: var(--fw-bold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 20px;
}
.post__back svg { transform: rotate(180deg); }
.post__meta { font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); opacity: 0.7; }
.post__title { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(32px, 4.6vw, 52px); line-height: 0.98; letter-spacing: -0.035em; color: var(--ink); margin: 12px 0 0; }
.post__main { padding: 40px var(--gutter) 72px; }
.post__lede { font-family: var(--font-serif); font-style: italic; font-size: 21px; color: var(--lilac-700); line-height: 1.4; margin: 0 0 1.1em; }

/* the .prose class itself comes from tokens/base.css; widen it to the column */
.post .prose { max-width: none; }

/* byline footer */
.post__byline {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1.5px solid var(--cream-200);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.post__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lilac); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--fw-black); font-size: 15px;
  flex-shrink: 0;
}
.post__author { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 16px; color: var(--ink); }
.post__author-tag { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.post__byline-cta { margin-left: auto; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .postgrid { grid-template-columns: 1fr 1fr; }
  .bigpost { grid-template-columns: 1fr; }
  .bigpost__swatch { min-height: 90px; }
}
@media (max-width: 560px) {
  .postgrid { grid-template-columns: 1fr; }
  .post__byline-cta { margin-left: 0; }
}
