:root {
  color-scheme: dark;
  --ink: #f5f1e5;
  --muted: #a9b7ad;
  --gold: #dfc48a;
  --line: #34483d;
  font-family: "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  background: #0c1713;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--gold); text-underline-offset: .26em; }
a:hover { color: #fff0cb; }
a:focus-visible { outline: 2px solid #fff0cb; outline-offset: 4px; }
.shell { max-width: 1220px; margin: auto; padding: 0 clamp(18px, 4vw, 56px); }
.site-header, footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 66px; color: var(--muted); font-size: .83rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header a, footer a { text-decoration: none; }
footer { margin-top: 64px; border-top: 1px solid var(--line); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  align-items: center; gap: 12px; padding: clamp(24px, 5.3vw, 67px);
  margin: 24px 0 50px; border: 1px solid #52634b; border-radius: 12px;
  background: radial-gradient(ellipse at 81% 45%, #245041, transparent 46%), linear-gradient(132deg, #142c24, #0b211b);
}
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .8rem; letter-spacing: .1em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Baskerville, Georgia, serif; font-size: clamp(3.8rem, 8.5vw, 7rem); line-height: .9; margin-bottom: 20px; letter-spacing: -.065em; }
h1 span { display: block; margin: 15px 0 0; font: 600 clamp(1.25rem, 3vw, 1.95rem)/1.25 "PingFang TC", system-ui, sans-serif; letter-spacing: .06em; }
.intro { max-width: 31em; color: #c8d5cc; line-height: 1.75; margin-bottom: 21px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 20px; font-size: .88rem; }
.primary { padding: 10px 14px; background: #e6ca90; color: #10241b; border-radius: 5px; text-decoration: none; font-weight: 700; }
.primary:hover { background: #fff0cb; color: #10241b; }
.hero-mark { overflow: hidden; }
.hero-mark img { display: block; width: 152%; height: auto; max-width: none; margin-left: -26%; }
section + section { scroll-margin-top: 16px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; border-bottom: 1px solid var(--line); padding-bottom: 13px; margin-bottom: 17px; }
.section-title h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.section-title p, .section-title time { color: var(--muted); margin: 0; font-size: .83rem; }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-card, .references article { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #122019; }
.art { display: block; }
.art:focus-visible, .reference-img:focus-visible { outline-offset: -4px; }
.art img { display: block; width: 100%; height: auto; }
.art:hover img { filter: brightness(1.12); }
.jade { background: radial-gradient(ellipse at 50% 45%, #234c3b, #10261e); }
.coal { background: radial-gradient(ellipse at 50% 45%, #2b2a20, #141813); }
.navy { background: radial-gradient(ellipse at 50% 45%, #2a3047, #141a29); }
.card-body { padding: 15px 19px 17px; }
.card-body h3, .references h3 { margin-bottom: 6px; font-size: 1.06rem; }
.card-body h3 span { margin-right: 6px; color: var(--gold); font: 500 .8rem ui-monospace, monospace; }
.card-body p, .references p { color: var(--muted); line-height: 1.65; font-size: .86rem; margin-bottom: 8px; }
.download, .references a { font-size: .81rem; }
#references { margin-top: 52px; }
.references { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.references article { padding: 0 15px 15px; }
.reference-img { display: grid; place-items: center; aspect-ratio: 1.8; margin: 0 -15px 13px; overflow: hidden; }
.reference-img img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.reference-img.jade img { padding: 12px; }
.reference-img.navy img { object-position: center top; object-fit: cover; width: 66%; }
.ref-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(94px, .42fr); padding: 22px; margin-bottom: 35px; gap: 2px; }
  .hero-mark img { width: 245%; margin-left: -72.5%; }
  h1 { font-size: clamp(3.3rem, 10vw, 4.4rem); }
  .references { grid-template-columns: 1fr; }
  .reference-img { max-height: 210px; aspect-ratio: auto; height: 185px; }
  .reference-img.navy img { width: min(175px, 66%); }
}
@media (max-width: 520px) {
  .logos { grid-template-columns: 1fr; }
  .hero { position: relative; display: block; }
  .hero-mark { position: absolute; width: 100px; right: 15px; top: 21px; }
  .hero-mark img { width: 230%; margin-left: -65%; }
  .intro { font-size: .9rem; }
}
