:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #171b24;
  background: #f7f8fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; font-size: 1rem; }
.page-width { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 52px 40px;
}
.heading { display: flex; align-items: center; gap: 20px; }
.site-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border-radius: 12px;
  background: #1b45d8;
  color: #fff;
  font-size: 1.5625rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
h1 { margin: 0; font-size: clamp(1.75rem, 3.3vw, 2.625rem); font-weight: 650; line-height: 1.35; letter-spacing: -0.035em; }
.collection-label { margin: 0; flex-shrink: 0; font-size: 0.875rem; color: #606977; line-height: 1.6; letter-spacing: 0.04em; }
.collection-label span { padding-inline: 12px; color: #a2a8b2; }

.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; row-gap: 34px; }
.artwork { margin: 0; min-width: 0; }
.artwork-featured { grid-column: 1 / -1; }
.image-frame { overflow: hidden; border-radius: 9px; aspect-ratio: 3 / 2; background: #dce3ec; }
.artwork-featured .image-frame { aspect-ratio: 1.94 / 1; }
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 18px; }
.artwork-name { display: flex; align-items: baseline; min-width: 0; gap: 14px; }
.artwork-number { color: #7a828e; font-size: 0.8125rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
h2 { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.6; letter-spacing: 0.06em; }
.generation-label { flex-shrink: 0; font-size: 0.8125rem; color: #66707e; letter-spacing: 0.03em; }

.site-footer { margin-top: 70px; border-top: 1px solid #dfe3e9; padding-block: 28px 34px; text-align: center; }
.copyright { margin: 0 0 10px; font-size: 0.8125rem; color: #68717f; line-height: 1.6; }
.filing-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.filing-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; color: #475262; font-size: 0.875rem; line-height: 1.8; text-decoration: none; overflow-wrap: anywhere; }
.filing-link img { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.filing-link:hover { color: #1b45d8; text-decoration: underline; text-underline-offset: 4px; }
.filing-link:focus-visible { outline: 2px solid #1b45d8; outline-offset: 5px; border-radius: 2px; }

@media (min-width: 1600px) {
  .page-width { width: min(1320px, calc(100% - 128px)); }
}
@media (max-width: 720px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 16px; padding-block: 30px 26px; }
  .heading { gap: 13px; }
  .site-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; font-size: 1.375rem; }
  .collection-label { font-size: 0.875rem; }
  .gallery { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .artwork-featured { grid-column: auto; }
  .artwork-featured .image-frame { aspect-ratio: 3 / 2; }
  .image-frame { border-radius: 7px; }
  figcaption { padding-top: 12px; gap: 12px; }
  .artwork-name { gap: 10px; }
  .site-footer { margin-top: 42px; padding-block: 24px 30px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  .heading { gap: 10px; }
  h1 { font-size: 1.625rem; }
  figcaption { flex-wrap: wrap; row-gap: 4px; }
}
