/* Scoped final evidence polish. Real source pixels remain untouched. */
.home-consistency .hf-curated-evidence .project-evidence-card figcaption {
  min-height: 48px;
  font-weight: 600;
}
.home-consistency .hf-more-evidence {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--hc-line);
  color: var(--hc-ink);
}
.home-consistency .hf-more-evidence summary {
  width: fit-content;
  min-height: 44px;
  padding: 12px 0;
  color: var(--hc-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.home-consistency .hf-more-evidence ul {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 24px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.home-consistency .hf-more-evidence li { min-width: 0; }
.home-consistency .hf-more-evidence a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: var(--hc-ink);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-consistency .hf-curated-evidence .project-video-grid h3 {
  margin-top: 0;
  min-height: 2.5em;
  font-size: 19px;
  line-height: 1.25;
  text-wrap: balance;
}
.home-consistency .hf-curated-evidence .project-video-grid > a,
.home-consistency .hf-curated-evidence .project-video-grid > article { align-self: start; }
.home-consistency .hf-curated-evidence .project-video-grid > a > div,
.home-consistency .hf-curated-evidence .project-video-grid > article > div {
  padding-top: 16px;
}
.home-consistency .hf-curated-evidence .project-video-grid img {
  filter: saturate(.94) contrast(.985) brightness(1.015);
  object-fit: contain;
}
.home-consistency .hf-record-meta {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--hc-line);
}
.home-consistency .hf-record-meta > div {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  gap: 8px;
  align-items: start;
}
.home-consistency .hf-record-meta dt,
.home-consistency .hf-record-meta dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}
.home-consistency .hf-record-meta dt { color: var(--hc-muted); font-weight: 400; }
.home-consistency .hf-record-meta dd { color: var(--hc-ink); font-weight: 500; }
.home-consistency .hf-design-references {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--hc-line);
}
.home-consistency .hf-design-references p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 13px;
  line-height: 1.5;
}
.home-consistency .hf-design-references a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--hc-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-consistency .hf-design-references a span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.home-consistency .client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 190px;
  padding: 24px 16px 20px;
  text-align: center;
}
.home-consistency .client-logo-card img {
  width: 100%;
  height: 56px;
  max-width: 130px;
  max-height: none;
  margin: 0 0 16px;
  object-fit: contain;
}
.home-consistency .client-logo-card > span {
  display: block;
  min-height: 2.8em;
  color: var(--hc-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.home-consistency .client-logo-card .hf-company-context {
  margin: 8px 0 0;
  color: var(--hc-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}
.home-consistency .hf-company-context a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--hc-blue);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-consistency .inquiry h2 { max-width: 700px; }
.home-consistency .inquiry p:not(.kicker) { max-width: 59ch; }
.home-consistency .hf-more-evidence summary:focus-visible,
.home-consistency .hf-more-evidence a:focus-visible,
.home-consistency .hf-design-references a:focus-visible,
.home-consistency .hf-company-context a:focus-visible {
  outline: 3px solid var(--hc-blue);
  outline-offset: 4px;
}
@media (max-width: 980px) {
  .home-consistency .hf-curated-evidence .project-video-grid h3 { min-height: 0; }
  .home-consistency .hf-curated-evidence .project-video-grid > article {
    grid-column: auto;
  }
  .home-consistency .hf-curated-evidence .project-video-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .home-consistency .client-logo-card { padding-inline: 12px; }
}
@media (max-width: 640px) {
  .home-consistency .hf-more-evidence ul { grid-template-columns: 1fr; }
  .home-consistency .hf-curated-evidence .project-video-grid { grid-template-columns: 1fr; }
  .home-consistency .hf-design-references {
    display: grid;
    gap: 5px;
    margin-top: 24px;
  }
  .home-consistency .hf-design-references a { width: fit-content; }
  .home-consistency .hf-design-references p { margin-bottom: 4px; }
  .home-consistency .client-logo-card { min-height: 190px; padding: 20px 12px 16px; }
  .home-consistency .client-logo-card img { max-width: 115px; height: 50px; margin-bottom: 14px; }
}

/* Final independent review: nested metadata rows must not inherit .case-grid div overlays. */
.home-consistency .hf-record-meta > div {position:static;inset:auto;z-index:auto;padding:0;background:transparent;}

/* 2026-10-01 closeout: documentary captions and original logo visibility. */
.home-consistency .hf-evidence-label {
  display: block;
  margin: 0 0 6px;
  color: var(--hc-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
}
.home-consistency #factory .hf-evidence-heading {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.home-consistency #factory .hf-evidence-heading h2 { margin: 0; }
.home-consistency .hf-curated-evidence .project-evidence-card figcaption,
.home-consistency #factory .factory-evidence-grid figcaption {
  color: var(--hc-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  padding-top: 12px;
}
.home-consistency .hf-record-meta dt,
.home-consistency .hf-record-meta dd,
.home-consistency .client-logo-card .hf-company-context {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}
.home-consistency .client-logo-card img {
  height: 64px;
  max-width: 156px;
}
/* The existing Xinfa GIF is 137px wide; keep it within its source resolution. */
.home-consistency .client-logo-card img[src$="xinfa.gif"] { max-width: 137px; }
/* The Great Wall company mark is an unusually wide, existing company wordmark. */
.home-consistency .client-logo-card img[src$="chinalco.png"] { max-width: 100%; }
@media (max-width: 640px) {
  .home-consistency .client-logo-card img { height: 58px; max-width: 136px; }
  .home-consistency .client-logo-card img[src$="xinfa.gif"] { max-width: 136px; }
  .home-consistency .client-logo-card img[src$="chinalco.png"] { max-width: 100%; }
}
