* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #132537;
  --secondary: #465b6d;
  --sky: #e9f2f7;
  --paper: #f8fbfc;
  --line: #cad9e1;
  --brand: #ac372f;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #2165a1; outline-offset: 4px; }
.masthead, main { width: min(100% - clamp(32px, 9vw, 136px), 1400px); margin-inline: auto; }
.masthead { min-height: 72px; display: flex; align-items: center; }
.wordmark { display: inline-flex; gap: 11px; align-items: center; font-size: 20px; font-weight: 750; text-decoration: none; }
.brand-mark {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.hero { display: grid; grid-template-columns: .73fr 1.27fr; background: var(--sky); }
.hero-copy { align-self: center; padding: clamp(25px, 5vw, 84px); }
.hero-copy h1 { margin: 0; font-size: clamp(38px, 6vw, 96px); font-weight: 750; letter-spacing: -.085em; line-height: 1.03; }
.hero-copy h1 span { display: block; }
.hero-copy p { margin: 19px 0 0; color: var(--secondary); font-size: clamp(14px, 1.6vw, 21px); }
.hero-media { margin: 0; min-width: 0; position: relative; aspect-ratio: 1.54; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 49% center; }
.hero-media figcaption { position: absolute; bottom: 12px; right: 13px; margin: 0; padding: 5px 9px; background: #132537e8; color: white; font-size: 11px; }
.resources { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; background: white; border: 1px solid var(--line); }
.resources a { display: flex; justify-content: space-between; align-items: center; gap: 5px; min-height: 102px; padding: 17px clamp(11px, 2.1vw, 32px); text-decoration: none; }
.resources a + a { border-left: 1px solid var(--line); }
.resources .primary-resource { color: white; background: #183449; }
.resources a:hover strong, .gallery a:hover span { text-decoration: underline; }
.resources a:not(.primary-resource):hover { background: var(--sky); }
.resources strong { display: block; font-size: clamp(15px, 2vw, 25px); font-weight: 730; }
.resources small { display: block; color: var(--secondary); margin-top: 5px; font-size: 12px; }
.primary-resource small { color: #c9dce8; }
.resources b { color: var(--brand); font-weight: 600; font-size: clamp(17px, 2vw, 25px); }
.primary-resource b { color: #d4e9f7; }
.collection { margin-top: clamp(58px, 8vw, 116px); scroll-margin-top: 26px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 17px; margin-bottom: 22px; }
.section-title h2 { margin: 0; font-size: clamp(26px, 3.4vw, 48px); letter-spacing: -.055em; }
.download-link { font-size: 14px; font-weight: 650; }
.download-link span { margin-left: 5px; color: var(--brand); }
.gallery-status { color: var(--secondary); font-size: 14px; }
.gallery-status:empty { display: none; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
.gallery a { display: block; text-decoration: none; overflow-wrap: anywhere; }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sky); margin-bottom: 8px; }
.gallery span { font-size: 14px; }
.design-gallery img { object-fit: contain; }
.filing { margin-top: 72px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--secondary); padding: 18px; }
@media (max-width: 760px) {
  .masthead { min-height: 54px; }
  .wordmark { font-size: 18px; }
  .brand-mark { width: 48px; height: 48px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 19px 16px 15px; }
  .hero-copy h1 { font-size: clamp(32px, 7.1vw, 50px); letter-spacing: -.07em; }
  .hero-copy h1 span { display: inline; }
  .hero-copy p { margin-top: 5px; }
  .hero-media { aspect-ratio: auto; height: clamp(137px, 45vw, 267px); }
  .hero-media figcaption { bottom: 7px; right: 7px; font-size: 10px; }
  .resources { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
  .resources a { min-height: 66px; padding-block: 9px; }
  .resources a:nth-child(3) { border-left: 0; }
  .resources a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .resources small { font-size: 11px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
}
