/* Shared refinements only; home and project compositions stay in their source styles. */
html { scrollbar-gutter: stable; }
.skip-link { top: 10px; transform: none; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); }
.skip-link:focus { width: auto; height: auto; padding: 8px 16px; clip-path: none; }
.project-cover:not([data-photo]) { cursor: pointer; }
nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.photo-dialog .dialog-note { font-size: 13px; }
.works-index { width: min(89vw, 1420px); margin: 0 auto; padding: 38px 0 85px; }
.index-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.index-heading h1 { font-family: 'Yili Headings', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 30px; font-weight: 500; line-height: 1.5; letter-spacing: .035em; }
.index-heading p { font-size: 14px; color: var(--muted); }
.index-city { width: 89%; }
.index-city img { aspect-ratio: 1.6; object-fit: cover; object-position: 50% 56%; }
.index-collector { width: 73%; margin: 76px 0 0 auto; }
.index-collector img { aspect-ratio: 1.4; object-fit: cover; object-position: 50% 56%; }
.index-courtyard { width: 100%; margin-top: 76px; }
.index-courtyard img { aspect-ratio: 1.85; object-fit: cover; object-position: 61% 56%; }
.index-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding-top: 18px; }
.index-caption h2 { font-size: 23px; }
.index-caption [lang="en"] { font: 15px/1.7 'Helvetica Neue', Arial, sans-serif; margin-top: 6px; }
.index-caption > span { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (min-width: 701px) {
  .integrated-courtyard:not(.band-original) .light-band { width: 84vw; margin-inline: auto; }
}
@media (max-width: 700px) {
  .works-index { width: 94%; padding: 18px 0 48px; }
  .index-heading { display: block; margin: 0 2% 29px; }
  .index-heading h1 { font-size: 27px; }
  .index-heading p { font-size: 13px; margin-top: 10px; }
  .index-city { width: 100%; }
  .index-city img { aspect-ratio: 1.22; object-position: 40% 56%; }
  .index-collector { width: 90%; margin-top: 43px; }
  .index-collector img { aspect-ratio: 1.15; object-position: 48% 56%; }
  .index-courtyard { width: 100%; margin-top: 43px; }
  .index-courtyard img { aspect-ratio: 1.15; object-position: 63% 56%; }
  .index-caption { gap: 10px; padding-top: 14px; }
  .index-caption h2 { font-size: 21px; }
  .index-caption > span { font-size: 13px; }
  .index-caption [lang="en"] { font-size: 14px; }
}
@media (max-width: 700px), (hover: none) {
  /* Project names remain in their visible linked captions; no tap-to-hover step. */
  .project-cover:hover img, .project-cover:focus-visible img { transform: none; }
  .project-cover:hover::after, .project-cover:focus-visible::after { opacity: 0; }
  .project-cover:hover .cover-label, .project-cover:focus-visible .cover-label { opacity: 0; }
}
@media (max-width: 360px) { nav { gap: 20px; } }

