@font-face {
  font-family: "Wasteland Title";
  src: url("assets/title-font.woff2");
  font-weight: 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #201f1b;
  --paper: #f3eddb;
  --gold: #efb746;
  --line: #504c40;
  --display: "Wasteland Title", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.55 system-ui, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.wrap { width: min(90%, 1440px); margin-inline: auto; }
.mast { border-bottom: 1px solid #655b44; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; font: 900 clamp(15px, 1.5vw, 22px)/1.2 var(--display); }
.brand img { border-radius: 6px; outline: 1px solid #746549; }
.nav-link { font-size: 14px; font-weight: 700; padding: 12px 0 12px 14px; }
.nav-link span { margin-left: 5px; color: var(--gold); }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #786846; background: #29271f; }
.scene, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.scene { object-fit: cover; object-position: center 46%; }
.hero::after { content: ""; background: linear-gradient(90deg, #161612ee 0%, #171612bd 27%, #1c1a151a 60%, transparent 75%); }
.hero-inner { padding-block: clamp(48px, 5vw, 84px); }
h1 { margin: 0; font: 900 clamp(66px, 6.9vw, 126px)/1.05 var(--display); letter-spacing: -.065em; }
h1 span, h1 strong { display: block; width: fit-content; transform: skew(-6deg); transform-origin: bottom left; }
h1 strong { font-weight: inherit; color: var(--gold); }
.hero p { font-size: clamp(15px, 1.3vw, 20px); margin: 20px 0 29px; color: #f1ead8; }
.actions { display: flex; align-items: center; gap: 12px; }
.actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 2px; font-weight: 800; }
.cta { background: var(--gold); color: #221e15; padding: 0 23px; gap: 7px; }
.cta b { font: 900 1.23em/1 Arial,sans-serif; letter-spacing: -.07em; }
.arrow { font: bold 1.3em/1 Arial,sans-serif; margin-left: 9px; }
.qr-trigger { padding: 0 19px; border: 1px solid #a69c7f; gap: 9px; background: #211f1a90; }
.scan { display: inline-block; position: relative; width: 18px; height: 18px; border: 2px dashed currentColor; border-radius: 2px; }
.scan::after { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; border-top: 2px solid; }
.gallery { padding-block: 26px 32px; }
.gallery h2 { margin: 0 0 19px; display: flex; align-items: center; gap: 21px; justify-content: center; font: 900 clamp(23px, 2.1vw, 34px)/1.2 var(--display); }
.gallery h2::before, .gallery h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(15px,2vw,32px); }
.shot { display: block; text-align: center; }
.crop { aspect-ratio: 3 / 1; overflow: hidden; border: 1px solid #786d53; background: #36352b; }
.crop img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.field { object-position: 50% 13%; }
.bag { object-position: 50% 49%; }
.bench { object-position: 50% 35%; }
.shot span { display: inline-block; margin-top: 8px; font: 900 18px/1.5 var(--display); }
footer { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 22px 12px; color: #c6bda3; font-size: 13px; border-top: 1px solid var(--line); }
footer span { border-left: 1px solid #6a624d; padding-left: 15px; }
dialog { background: var(--ink); color: var(--paper); border: 1px solid #6a624e; border-radius: 5px; padding: 15px 20px 20px; max-width: 94vw; max-height: 94vh; max-height: 94dvh; }
dialog::backdrop { background: #11100edb; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 10px; }
.viewer-head h2 { font-size: 18px; margin: 0; }
.viewer-head button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--paper); cursor: pointer; font: 28px/1 Arial,sans-serif; }
.viewer-image { display: block; max-height: 72vh; max-height: 72dvh; max-width: min(77vw, 560px); width: auto; margin: auto; object-fit: contain; }
.qr-view .viewer-image { width: min(240px, 66vw, 56vh); background: white; padding: 14px; image-rendering: pixelated; }
.viewer-link { display: block; text-align: center; color: var(--gold); margin-top: 14px; }
[hidden] { display: none !important; }
@media (hover:hover) {
  .cta:hover { background: #ffcd61; }
  .nav-link:hover, .qr-trigger:hover, .shot:hover span { color: var(--gold); }
  .shot:hover img { transform: scale(1.025); }
}
@media (max-width: 650px) {
  .mast-inner { min-height: 55px; }
  .brand { gap: 9px; }
  .brand img { width: 30px; height: 30px; }
  .nav-link { font-size: 12px; }
  .scene { object-position: 70% top; height: 82%; }
  .hero::after { background: linear-gradient(0deg, #211f19 13%, #211f19f5 23%, #211f1970 57%, transparent 82%); }
  .hero-inner { padding-top: clamp(182px, 55vw, 300px); padding-bottom: 28px; }
  h1 { font-size: clamp(43px, 10.8vw, 68px); }
  .hero p { font-size: 14px; margin: 14px 0 21px; }
  .actions a { min-height: 46px; }
  .cta { padding-inline: 18px; }
  .qr-trigger { padding-inline: 14px; }
  .gallery { padding-block: 24px 29px; }
  .shots { grid-template-columns: 1fr; gap: 17px; }
  .shot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; text-align: left; }
  .shot span { font-size: 16px; margin: 0; }
  .crop { aspect-ratio: 3.1 / 1; }
}
@media (prefers-reduced-motion: reduce) { .crop img { transition: none; } }
