/* V10: readable portfolio evidence. Keep display typography and hero intact. */
#projects .section-label,
#history .section-label {
  font-size: 12px;
  line-height: 1.6;
  color: #52616a;
}

#projects .card-category {
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: .035em;
  color: #52616a;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
#projects .card-category > span:first-child { min-width: 0; }
#projects .card-category > span:last-child { white-space: nowrap; }
#projects .card-meta {
  font-size: 14px;
  line-height: 1.6;
  color: #52616a;
  flex-wrap: wrap;
  gap: 4px 12px;
}
#projects .photo-count {
  font-size: 12px;
  line-height: 1.4;
  color: #21333e;
  background: #f3f1ec;
}
#projects .catalog-meta,
#projects .catalog-total small {
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .025em;
  color: #52616a;
}
#projects .catalog-note {
  font-size: 14px;
  line-height: 1.75;
  color: #52616a;
}
#projects .filters button,
#projects .search input { font-size: 14px; }
#projects .filters sup { font-size: 12px; color: #52616a; }
#projects .filters .active sup { color: #eae7df; }
#projects .search input::placeholder { color: #52616a; opacity: 1; }

/* Apply the same metadata hierarchy when a portfolio entry is opened. */
#project-dialog #dialog-category,
#project-dialog .dialog-facts small {
  font-size: 12px;
  line-height: 1.6;
  color: #52616a;
}
#project-dialog #dialog-location,
#project-dialog #dialog-description {
  font-size: 14px;
  line-height: 1.8;
  color: #52616a;
}
#project-dialog .gallery-top,
#project-dialog .gallery-top button,
#project-dialog .text-link,
#project-dialog #dialog-video a,
#project-dialog .dark-button { font-size: 13px; }

/* Map list labels sit on a solid dark panel; SVG cartography keeps its scale. */
#geography .section-label,
#geography .geo-results-head .eyebrow,
#geography .geo-region-heading small,
#geography .geo-region-heading p,
#geography .geo-results-head > span,
#geography .explore-card-text > small,
#geography .explore-card-text > span,
#geography .explore-crosslink,
#geography .geo-cities button,
#geography .geo-cities button span,
#geography .geo-filters button,
#geography .geo-attribution {
  font-size: 12px;
  line-height: 1.65;
}
#geography .section-label,
#geography .geo-results-head .eyebrow,
#geography .geo-region-heading p,
#geography .explore-card-text > small,
#geography .geo-attribution { color: #b9c9d2; }
#geography .explore-card-text > span,
#geography .explore-crosslink { color: #dfb58f; }
#geography .geo-heading > p,
#geography .geo-note,
#geography .geo-count-legend { font-size: 14px; line-height: 1.8; }
#geography .geo-note { color: #b9c9d2; }
#geography .explore-card-text > strong { font-size: 15px; line-height: 1.5; }

/* History metadata uses the same light/dark contrast pairs as the catalogue. */
#history .time-tab-number,
#history .time-rail button small,
#history .time-projects-label > span,
#history .time-projects-label > small,
#history .time-filmstrip small,
#history .time-footer > span {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .025em;
  color: #52616a;
}
#history .time-kicker,
#history .time-story-note,
#history .time-feature-caption small,
#history .time-facts small,
#history .time-about,
#history .time-map-link {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .025em;
}
#history .time-story-note,
#history .time-feature-caption small,
#history .time-facts small { color: #c0cdd3; }
#history .time-story-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #c0cdd3;
}
#history .time-filmstrip strong { font-size: 14px; line-height: 1.5; }
#history .time-photo-tag,
#history .time-photo-prompt {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .035em;
  background: #101e27e6;
  padding: 5px 8px;
  width: fit-content;
  max-width: calc(100% - 90px);
}
#history .time-photo-prompt > span { font-size: 12px; }
#history .recommendations .eyebrow,
#history .archive summary { font-size: 12px; line-height: 1.6; }
#history .recommendations p,
#history .section-heading > p { font-size: 14px; line-height: 1.8; color: #52616a; }
#history .time-feature-caption { flex-wrap: wrap; }
#history .time-facts { flex-wrap: wrap; }

@media (max-width: 760px) {
  #projects .card-meta { font-size: 13px; }
  #projects .project-card h3 { font-size: 16px; }
  #projects .filters button { font-size: 13px; }
  #projects .search input { font-size: 16px; }
  #projects .catalog-meta { flex-wrap: wrap; gap: 8px 20px; }
  #projects .catalog-meta > span:last-child { max-width: none; text-align: left; }
  #history .time-projects-label { flex-wrap: wrap; }
  #history .time-projects-label > small { max-width: none; text-align: left; }
  #history .time-story-note { flex-wrap: wrap; }
  #history .time-footer { align-items: flex-start; }
  #history .time-footer > div { flex-shrink: 0; }
}
