/* Story-card variants and the sections that arrange them. */
.post-meta, .byline, .collection-count { font-family: var(--sans); font-size: .75rem; }
.byline-date::before { content: '·'; margin-right: .4rem; }
.post-category, .category-chip, .section-label { font: .75rem/1.4 var(--mono); color: var(--brand); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.story-card { min-width: 0; }
.story-card-media { display: block; margin: 0 0 .8rem; overflow: hidden; }
.story-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-card-copy { display: flex; align-items: flex-start; flex-direction: column; gap: .45rem; }
.story-card-title { font: 700 1.45rem/1.12 var(--sans); letter-spacing: -.035em; }
.story-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.story-card-dek { margin: 0; font: 1.22rem/1.24 var(--serif); color: var(--ink); }
.story-card .byline { margin-top: .25rem; }
.story-card--feature .story-card-title { font-size: clamp(1.7rem,2.8vw,2.7rem); }
.story-card--feature .story-card-dek { font-size: 1.45rem; }
.story-card--compact { display: grid; grid-template-columns: minmax(0,1fr) 145px; gap: 1.25rem; border-top: 1px solid var(--line); padding: 1.25rem 0; }
.story-card--compact .story-card-media { grid-column: 2; grid-row: 1; margin: 0; }
.story-card--compact .story-card-copy { grid-column: 1; grid-row: 1; }
.story-card--compact .story-card-title { font-size: 1.15rem; }
.story-card--compact .story-card-dek { font-size: 1.05rem; }
.story-card--compact.story-card--no-image { grid-template-columns: 1fr; }
.front-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; padding-bottom: 2rem; }
.front-grid > .story-card:first-child { grid-column: span 2; }
.front-grid > .story-card:first-child .story-card-media img { aspect-ratio: 16 / 9; }
.front-grid > .story-card:nth-child(3) { grid-column: 3; }
.front-grid > .story-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.front-grid > .story-card:first-child { grid-row: span 2; }
.front-grid > .story-card--no-image { padding-top: 1rem; border-top: 2px solid var(--brand); }
.story-grid, .section-grid, .latest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem 1.75rem; }
.section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; border-top: 2px solid var(--brand); margin: 1rem 0 1.5rem; padding-top: .8rem; }
.section-header h2 { font-size: 1.6rem; }
.section-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; font: 600 .8rem/1.4 var(--sans); color: var(--brand); }
.archive-more { margin: 2rem 0; display: flex; justify-content: center; }
.home-explore { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.explore-card { border-top: 2px solid var(--brand); padding-top: 1rem; }
.explore-card h2 { margin: .5rem 0; font-size: 1.7rem; }
.explore-card p { font: 1.2rem/1.4 var(--serif); }
.publication-intro { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem; }
.publication-intro-copy { font: 1.15rem/1.4 var(--serif); max-width: 65ch; }
.collection-header { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--brand); }
.collection-title { font-size: clamp(2rem,4vw,3.5rem); }
.collection-dek { max-width: 60ch; margin: 0; font: 1.15rem/1.4 var(--sans); }
.author-portrait { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }
.pagination { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding: 2rem 0; font: .85rem/1.5 var(--sans); }
.pagination a { border: 1px solid var(--brand); padding: .65rem 1rem; min-height: 44px; }
.empty-state, .collection-empty { text-align: center; padding: 2rem 0; }
.error-main { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; text-align: center; }
.error-code { font: 6rem/1 var(--sans); color: var(--brand); margin: 0; }
.error-title { font-size: 2rem; }
.error-dek { margin: 0; }
.component-samples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.component-sample { border-top: 1px solid var(--line); padding-top: 1rem; }
.component-sample > h2 { margin-bottom: 1rem; font-size: 1rem; color: var(--brand); }
@media (max-width: 1000px) { .latest-grid, .story-grid, .section-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .front-grid { display: flex; flex-direction: column; gap: 1.8rem; padding-bottom: 1rem; }
  .story-card--feature .story-card-title, .story-card-title { font-size: 1.45rem; line-height: 1.12; }
  .story-card--feature .story-card-dek, .story-card-dek { font-size: 1.15rem; line-height: 1.22; }
  .story-card-media { margin-bottom: .7rem; }
  .story-card-copy { gap: .35rem; }
  .story-card .byline { font-size: .75rem; }
  .story-card--compact { grid-template-columns: minmax(0,1fr) 90px; }
  .story-card--compact .story-card-title { font-size: 1.1rem; }
  .home-explore, .component-samples { grid-template-columns: 1fr; }
  .latest-grid, .story-grid, .section-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .publication-intro { grid-column: auto; }
}
