:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #163e57;
  background: #fff;
  --navy: #17436a;
  --teal: #006873;
  --cyan: #a8dfe3;
  --muted: #405c6f;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1050px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; padding: 6px 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-top { border-bottom: 1px solid #dce9ee; }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 56px; }
.top-inner nav { display: flex; gap: 22px; }
.top-inner a { text-decoration: none; }
.top-inner a:hover { text-decoration: underline; }
.brand { font-weight: 750; }
.hero { padding-block: 23px; background: var(--cyan); }
.detail .hero { background: var(--navy); color: white; }
.kicker { color: #b5e7e8; font-weight: 700; margin-bottom: 4px; }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.25; }
h2 { color: var(--teal); font-size: 1.27rem; line-height: 1.35; }
.home-body, .detail-body { padding-block: 21px 40px; }
.lead, .method-copy { color: var(--muted); max-width: 42em; }
.home-section { margin-top: 24px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid #94becd; gap: 13px; margin-top: 10px; padding-block: 12px; }
.tile a { display: block; height: 100%; text-align: center; text-decoration: none; }
.tile a:hover { background: #f1f8fa; text-decoration: underline; text-underline-offset: 3px; }
.category { display: block; padding: 3px 6px; background: var(--cyan); font-weight: 700; }
.tile img { width: min(calc(100% - 12px), 220px); margin: 7px auto; }
.tile h3 { color: var(--teal); font-size: 1rem; line-height: 1.4; margin: 7px 3px 4px; }
.tile p { color: var(--muted); font-size: .9rem; padding-inline: 7px; }
.method-copy { margin-top: 6px; }
.detail-body { width: min(860px, calc(100% - 64px)); }
.question { font-weight: 650; color: var(--navy); background: #edf5f7; padding: 9px 14px; }
.detail-figure { margin-block: 18px 22px; }
.detail-figure.small { max-width: 320px; }
.detail-figure a { display: block; cursor: zoom-in; }
.detail-body section + section { margin-top: 16px; }
.detail-body section p { color: var(--muted); margin-top: 5px; }
@media (max-width: 740px) {
  .shell, .detail-body { width: calc(100% - 36px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
