/* ============================================================
   Dean Blankfield — Blog list + article reader.
   Extends home.css tokens & components.
   ============================================================ */

/* ---- Nav: light variant (for the white/paper blog hero) ---- */
.nav--light .nav__brand { color: var(--ink); }
.nav--light .nav__links a { color: rgba(28,28,27,0.74); }
.nav--light .nav__links a:hover { opacity: 1; color: var(--ink); }
.nav--light .nav__links a[aria-current] { color: var(--ink); font-weight: 600; }
.nav--light .nav__cta { background: var(--ink); color: #fff; }
.nav--light .nav__cta:hover { opacity: 1; background: #000; }
.nav--light.scrolled .nav__brand { color: #fff; }
.nav--light.scrolled .nav__links a { color: rgba(255,255,255,0.92); }
.nav--light.scrolled .nav__links a[aria-current] { color: #fff; }

/* ============================================================
   BLOG LIST / HUB
   ============================================================ */
.blog-hero { background: var(--paper); padding: clamp(132px,15vw,188px) 0 clamp(48px,6vw,76px); }
.blog-hero__eb { display: block; color: var(--brown); }
.blog-hero__title { font-family: var(--inter); font-weight: 700; font-size: clamp(40px,6vw,74px); line-height: 1.02; letter-spacing: -0.06em; color: var(--ink); margin-top: 16px; max-width: 15ch; text-wrap: balance; }
.blog-hero__sub { margin-top: clamp(20px,2.4vw,28px); font-size: clamp(17px,1.5vw,20px); line-height: 1.55; letter-spacing: -0.016em; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.blog-hero__cta { margin-top: clamp(28px,3.2vw,38px); }

.blog-index { background: var(--paper); padding-bottom: clamp(72px,9vw,120px); }
.blog-index__head { max-width: 760px; }
.blog-index__title { text-align: left; margin-top: 14px; }
.blog-index__sub { margin-top: 14px; font-size: clamp(16px,1.4vw,18px); line-height: 1.5; letter-spacing: -0.016em; color: var(--muted); }

/* filter pills */
.bfilter { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(32px,4vw,44px) 0 clamp(30px,3.6vw,40px); }
.bfilter button { font-family: var(--inter); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--hair); background: var(--cream); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.bfilter button:hover { border-color: var(--brown); color: var(--ink); transform: translateY(-1px); }
.bfilter button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* featured (full-width) + grid */
.bfeat { display: block; margin-bottom: 24px; }
.bfeat .bcard__t { max-width: 20ch; }
.bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.bcard--link { cursor: pointer; }
.bcard--link .bcard__t { transition: color .2s var(--ease); }
.bcard[hidden] { display: none; }
.bempty { display: none; padding: 48px 0; text-align: center; color: var(--muted2); font-size: 16px; }
.bempty.show { display: block; }

/* ============================================================
   ARTICLE READER
   ============================================================ */
.post { background: var(--cream); }
.post-hero { padding: clamp(124px,14vw,172px) 0 clamp(26px,3vw,38px); }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-cat { font-family: var(--inter); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown); background: #fff; border: 1px solid var(--hair); padding: 7px 14px; border-radius: var(--pill); }
.post-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted2); }
.post-meta__txt { font-size: 14px; letter-spacing: -0.01em; color: var(--muted2); }
.post-hero__title { font-family: var(--inter); font-weight: 700; font-size: clamp(34px,5vw,60px); line-height: 1.05; letter-spacing: -0.06em; color: var(--ink); margin-top: 20px; max-width: 18ch; text-wrap: balance; }
.post-hero__rule { height: 1px; background: var(--hair); margin: clamp(24px,3vw,32px) 0; }
.post-hero__dek { font-family: var(--inter); font-weight: 500; font-size: clamp(18px,1.7vw,22px); line-height: 1.4; letter-spacing: -0.03em; color: var(--ink); max-width: 50ch; text-wrap: pretty; }
.post-byline { display: flex; align-items: center; gap: 14px; margin-top: clamp(24px,3vw,30px); }
.post-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 26%; }
.post-byline b { display: block; font-family: var(--inter); font-weight: 600; font-size: 16px; letter-spacing: -0.03em; color: var(--ink); }
.post-byline span { font-size: 14px; letter-spacing: -0.01em; color: var(--muted2); }

.post-figure { max-width: var(--maxw); margin: clamp(30px,4vw,52px) auto 0; padding-inline: var(--pad); }
.post-figure__in { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 48px 90px -56px rgba(22,21,15,0.5); }
.post-figure__in img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; }

.post-body { max-width: 760px; margin: 0 auto; padding: clamp(44px,6vw,72px) var(--pad) 0; }
.post-body h2 { font-family: var(--inter); font-weight: 700; font-size: clamp(23px,2.4vw,31px); line-height: 1.16; letter-spacing: -0.045em; color: var(--ink); margin-top: clamp(40px,4.4vw,60px); text-wrap: balance; }
.post-body h2:first-child { margin-top: 0; }
.post-body p { font-size: clamp(17px,1.5vw,19px); line-height: 1.72; letter-spacing: -0.016em; color: var(--muted); margin-top: 1.1em; text-wrap: pretty; }
.post-body h2 + p { margin-top: 0.7em; }

.post-share { max-width: 760px; margin: clamp(40px,5vw,60px) auto 0; padding: clamp(28px,3.4vw,36px) var(--pad) 0; border-top: 1px solid var(--hair); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.post-share__txt { font-family: var(--inter); font-weight: 500; font-size: clamp(17px,1.6vw,20px); letter-spacing: -0.03em; color: var(--ink); }
.post-pad { padding-bottom: clamp(72px,9vw,110px); }

/* related band reuses .journal + .bcard */
.post-related { background: var(--paper); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .bgrid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav--light .nav__links { display: none; }
  .post-share { flex-direction: column; align-items: flex-start; }
}
