/* Blog index only: existing editorial art, compact cards and local category filters. */
.blog-index { --blog-line: #2c3e50; --blog-muted: #a7b5c3; --blog-blue: #9dcdf5; }
.blog-index .blog-surface { padding: 4.5rem 0 5rem; }
.blog-index .blog-shell { max-width: 1080px; }
.blog-index .blog-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-bottom: 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--blog-line); }
.blog-index .blog-head { align-items: flex-start; gap: 1rem; margin: 0; }
.blog-index .blog-head img { width: 52px; height: 52px; border: 0; border-radius: 0; }
.blog-index .blog-head h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: .65rem; }
.blog-index .blog-head p { max-width: 28rem; font-size: 1rem; line-height: 1.65; color: var(--blog-muted); }
.blog-index .blog-process { margin: 0; min-width: 0; }
.blog-index .blog-process figcaption { margin-bottom: 1.1rem; color: var(--blog-muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.blog-index .blog-process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; padding: 0; margin: 0; list-style: none; }
.blog-index .blog-process li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; color: #dae8f3; font-size: .875rem; }
.blog-index .blog-process li:not(:last-child)::after { content: ''; position: absolute; left: 46px; right: 5px; top: 20px; border-top: 1px solid #415b72; }
.blog-index .blog-process svg { width: 40px; height: 40px; padding: 6px; border: 1px solid #415b72; border-radius: 7px; background: #132433; fill: none; stroke: var(--blog-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.blog-index .blog-process li:last-child svg { stroke: #a6d9c8; border-color: #446c61; background: #142d28; }

/* The evergreen essay stays distinct from the reverse chronological archive. */
.blog-index .blog-pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; margin-bottom: 2.8rem; overflow: hidden; border: 1px solid var(--blog-line); border-radius: 12px; background: #101820; color: inherit; text-decoration: none; }
.blog-index .blog-pillar__image { width: 100%; height: 100%; min-height: 265px; object-fit: cover; }
.blog-index .blog-pillar__body { display: flex; flex-direction: column; justify-content: center; padding: 1.8rem 2rem; }
.blog-index .blog-pillar__kicker { color: var(--blog-blue); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; }
.blog-index .blog-pillar__title { font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.25; margin: 0 0 .8rem; letter-spacing: -.02em; color: #edf4fa; }
.blog-index .blog-pillar__excerpt { font-size: 1rem; line-height: 1.65; color: var(--blog-muted); margin: 0 0 1rem; }
.blog-index .blog-pillar__more { color: var(--blog-blue); font-size: .875rem; font-weight: 600; }
.blog-index .blog-pillar:hover { border-color: var(--blog-blue); }

.blog-index .blog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1.25rem; scroll-margin-top: 6rem; }
.blog-index .blog-latest-title { margin: 0 auto 0 0; font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: #e8edf2; letter-spacing: -.01em; }
.blog-index .blog-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.blog-index .blog-filters button { padding: .55rem .8rem; min-height: 42px; border: 1px solid var(--blog-line); border-radius: 6px; background: #101820; color: #bdc9d3; font: inherit; font-size: .875rem; cursor: pointer; }
.blog-index .blog-filters button:hover { border-color: #739fbe; color: #fff; }
.blog-index .blog-filters button[aria-pressed="true"] { background: #233f55; border-color: #90bfe0; color: #eef7ff; }
.blog-index .blog-results { flex-basis: 100%; margin: -.2rem 0 0; color: var(--blog-muted); font-size: .8125rem; line-height: 1.5; }
.blog-index [hidden] { display: none !important; }
.blog-index .blog-filters button:focus-visible, .blog-index .post-card:focus-visible, .blog-index .blog-pillar:focus-visible { outline: 2px solid var(--blog-blue); outline-offset: 4px; }

.blog-index .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.blog-index .post-card { min-width: 0; padding: 0; overflow: hidden; border-radius: 10px; border-color: #253341; background: #0f161d; }
.blog-index .post-card:hover { transform: translateY(-2px); background: #131d27; }
.blog-index .post-card__art { display: block; width: 100%; height: 170px; object-fit: cover; border-bottom: 1px solid #253341; background: #111e2a; }
.blog-index .post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; min-width: 0; }
.blog-index .post-card__meta { flex-wrap: wrap; gap: .5rem .7rem; margin-bottom: .85rem; }
.blog-index .post-date { color: #a6b5c1; font-size: .8125rem; }
.blog-index .post-tag { font-size: .75rem; letter-spacing: .035em; }
.blog-index .post-tag--history { color: #e5c199; background: #3c2f23; }
.blog-index .post-card__title { font-size: 1.2rem; line-height: 1.4; margin-bottom: .75rem; }
.blog-index .post-card__excerpt { font-size: 1rem; line-height: 1.65; }
.blog-index .post-card__more { opacity: 1; transform: none; color: var(--blog-blue); font-size: .875rem; padding-top: .3rem; }
.blog-index .post-card--featured { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #111e29; border-color: #415b72; }
.blog-index .post-card--featured .post-card__art { height: 100%; min-height: 320px; object-fit: cover; border: 0; border-right: 1px solid #2c4356; }
.blog-index .post-card--featured .post-card__body { justify-content: center; padding: 2rem; }
.blog-index .post-card--featured .post-card__title { font-size: clamp(1.35rem, 2.5vw, 1.7rem); line-height: 1.3; }
.blog-index .post-card--featured .post-card__more { flex: 0; margin-top: .2rem; }

/* Posts without artwork get a reusable topic icon, never a dated application capture. */
.blog-index .post-card__symbol { display: flex; align-items: center; justify-content: center; gap: 1.5rem; background: linear-gradient(120deg, #15283b, #101a24); }
.blog-index .post-card__symbol::before, .blog-index .post-card__symbol::after { content: ''; width: 16%; height: 1px; background: #38546d; }
.blog-index .post-card__symbol svg { width: 64px; height: 64px; fill: none; stroke: #a0cdf4; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.blog-index .post-card[data-category="update"] .post-card__symbol { background: linear-gradient(120deg, #152c2c, #101c21); }
.blog-index .post-card[data-category="update"] .post-card__symbol svg { stroke: #99d1c1; }
.blog-index .post-card[data-category="design"] .post-card__symbol { background: linear-gradient(120deg, #28223b, #191825); }
.blog-index .post-card[data-category="design"] .post-card__symbol svg { stroke: #c6b8eb; }

@media (max-width: 850px) {
  .blog-index .blog-intro { grid-template-columns: 1fr; gap: 2rem; }
  .blog-index .blog-process { max-width: 30rem; width: 100%; }
  .blog-index .blog-process li:not(:last-child)::after { right: 12px; }
  .blog-index .post-card--featured .post-card__body { padding: 1.4rem; }
}
@media (max-width: 650px) {
  .blog-index .blog-surface { padding-top: 2.5rem; }
  .blog-index .blog-pillar, .blog-index .post-card--featured { grid-template-columns: minmax(0, 1fr); }
  .blog-index .blog-pillar__image { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .blog-index .blog-pillar__body { padding: 1.4rem; }
  .blog-index .post-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-index .post-card--featured .post-card__art { min-height: 0; height: auto; aspect-ratio: 16 / 9; border-right: 0; }
  .blog-index .blog-tools { align-items: flex-start; }
  .blog-index .blog-filters { flex-basis: 100%; }
  .blog-index .post-card__art { height: auto; aspect-ratio: 16 / 7; }
}
@media (max-width: 380px) {
  .blog-index .blog-head { gap: .7rem; }
  .blog-index .blog-head img { width: 42px; height: 42px; }
  .blog-index .blog-process ol { gap: .5rem; }
  .blog-index .blog-process li { font-size: .875rem; }
  .blog-index .blog-process li:not(:last-child)::after { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-index .post-card, .blog-index .post-card__more { transition: none; }
  .blog-index .post-card:hover { transform: none; }
}
