:root {
  color-scheme: light;
  --ink: #18211c;
  --pine: #17231c;
  --paper: #f7f6f0;
  --gold: #ffcf25;
  --muted: #535e55;
  --line: #d9ded5;
  --shell: min(1280px, 100% - 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a87700; outline-offset: 5px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 5; color: var(--paper); background: #121b16; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.identity { display: inline-flex; align-items: center; gap: 11px; font: 800 21px/1 Arial, sans-serif; letter-spacing: .045em; }
.identity img { width: 43px; height: 43px; object-fit: contain; }
.identity small { display: block; margin-top: 5px; font-size: 9px; font-weight: 500; letter-spacing: .18em; color: #b9c4ba; }
nav { display: flex; align-items: center; gap: 36px; }
nav a { padding-block: 12px; font-size: 14px; color: #e7ece4; transition: color .2s ease; }
nav a:hover, .site-footer a:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 1px solid #677169; padding: 8px 13px; cursor: pointer; }

.hero { position: relative; isolation: isolate; color: #fffdf1; background: #26362e; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 50% 52%; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, #0a1814ab 0%, #0e1b177d 30%, #0d171318 62%, transparent 85%), linear-gradient(0deg, #0914116b, transparent 30%); }
.hero-inner { min-height: clamp(495px, 46vw, 660px); position: relative; display: flex; align-items: center; padding-block: 72px; }
.hero-content { max-width: 530px; padding-left: 8px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 9px; color: #46564b; font: 700 12px/1.4 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .19em; }
.eyebrow > span { width: 19px; height: 2px; display: inline-block; background: #bd8a10; }
.hero-eyebrow { color: #f7e9b7; }
.hero-eyebrow > span, .about .eyebrow > span { background: var(--gold); }
.hero h1 { margin: 17px 0 21px; font-size: clamp(66px, 7.25vw, 112px); line-height: 1.03; font-weight: 850; letter-spacing: -.04em; }
.hero-copy { margin: 0 0 30px; font-size: 16px; line-height: 1.65; color: #eff0e6; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; padding: 0 17px; color: #192016; background: var(--gold); font-weight: 750; font-size: 14px; transition: background .22s ease, transform .22s ease; }
.button:hover { background: #ffe177; transform: translateY(-2px); }
.button svg { width: 16px; height: 16px; }
.hero-caption { margin: 0; position: absolute; right: 0; bottom: 26px; display: flex; gap: 13px; padding-top: 10px; border-top: 1px solid #edf3e380; font: 600 11px/1.4 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .14em; }
.hero-caption span:last-child { color: #e5e9dd; }

.collection { padding-block: 78px 94px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 29px; }
.section-heading h2, .about h2 { margin: 7px 0 0; font-size: clamp(36px, 4.1vw, 59px); font-weight: 800; letter-spacing: -.06em; line-height: 1.12; }
.section-heading > p { margin: 0 0 2px; text-align: right; font-size: 14px; line-height: 1.7; color: var(--muted); }
.section-heading small { font-size: 11px; color: #5a655b; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.product-card { min-width: 0; border-bottom: 1px solid var(--line); }
.product-image { position: relative; width: 100%; display: block; padding: 0; border: 0; background: #fff; overflow: hidden; cursor: zoom-in; }
.product-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; transition: transform .45s ease; }
.product-image:hover img, .product-image:focus-visible img { transform: scale(1.04); }
.product-index { position: absolute; top: 14px; left: 15px; padding: 7px 9px; background: #f9faf4e8; color: var(--ink); font: 700 11px/1 Arial, sans-serif; letter-spacing: .1em; }
.product-photo-count { position: absolute; right: 66px; bottom: 21px; padding: 6px 10px; border-radius: 14px; color: var(--ink); background: #f4f5ef; font-size: 11px; font-weight: 600; }
.circle-arrow { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fafbf5; transition: background .2s ease; }
.product-image:hover .circle-arrow, .product-image:focus-visible .circle-arrow { background: var(--gold); }
.product-info { padding-block: 19px 23px; }
.product-tag { margin: 0 0 7px; color: #4d5f51; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; }
.product-info h3 { margin: 0 0 8px; font-size: 25px; line-height: 1.3; letter-spacing: -.03em; }
.product-info > p:last-child, .dialog-copy > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.about { color: #f4f2e9; background: var(--pine); }
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: end; gap: 40px; padding-block: 71px 76px; }
.about .eyebrow { color: #eadca9; }
.about-inner > p { margin: 0 0 4px; color: #d3dcd0; font-size: 16px; line-height: 1.95; }
.site-footer { color: #c8d1c7; background: #121b16; border-top: 1px solid #334039; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 70px; font-size: 12px; }
.footer-top { justify-self: end; }
.site-filing { text-align: center; }
.footer-inner a { color: #f7f6f0; transition: color .2s ease; }
.footer-inner a > span { margin-left: 6px; }

#product-dialog { position: fixed; padding: 0; border: 0; width: min(704px, 100% - 40px); max-height: calc(100dvh - 44px); color: var(--ink); background: var(--paper); box-shadow: 0 18px 70px #0005; }
#product-dialog::backdrop { background: #111a16bb; }
.dialog-stage { position: relative; background: #fff; }
.dialog-image { width: 100%; height: min(440px, 52vh); object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #d9ded5; border-radius: 50%; background: #fafbf5; cursor: pointer; }
.gallery-arrow:hover { background: var(--gold); border-color: var(--gold); }
.gallery-prev { left: 13px; }
.gallery-next { right: 13px; }
.gallery-count { position: absolute; bottom: 11px; right: 14px; padding: 5px 9px; border-radius: 12px; background: #f4f5efeb; font-size: 11px; }
.gallery-thumbs { display: flex; justify-content: center; gap: 8px; padding: 10px 16px 0; }
.gallery-thumbs button { width: 61px; height: 49px; padding: 2px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { outline: 2px solid #a87700; outline-offset: 1px; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow[hidden], .gallery-count[hidden], .gallery-thumbs[hidden] { display: none; }
.dialog-copy { padding: 13px 24px 21px; }
.dialog-copy .product-tag { margin: 0 0 5px; font-size: 11px; }
.dialog-copy h2 { margin: 0 0 8px; font-size: 27px; }
.dialog-close { position: absolute; z-index: 1; top: 11px; right: 11px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; font: 27px/1 Arial, sans-serif; }
.dialog-close:hover { background: var(--gold); }

@media (max-width: 860px) {
  :root { --shell: calc(100% - 52px); }
  .hero-inner { min-height: 520px; }
  .collection { padding-block: 58px 66px; }
  .product-grid { gap: 16px; }
}

@media (max-width: 570px) {
  :root { --shell: calc(100% - 32px); }
  html { scroll-padding-top: 70px; }
  .header-inner { min-height: 60px; }
  .identity img { width: 36px; height: 36px; }
  .menu-toggle { display: inline-block; }
  nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: #121b16; padding: 7px 16px 13px; }
  nav.is-open { display: flex; }
  nav a { padding: 10px 5px; }
  .hero-inner { align-items: end; min-height: 490px; padding-block: 50px 73px; }
  .hero-image { object-position: 65% center; }
  .hero::after { background: linear-gradient(0deg, #0a1814e6, #0a181450 77%); }
  .hero-content { padding-left: 0; }
  .hero h1 { font-size: clamp(58px, 13vw, 72px); }
  .hero-copy { max-width: 260px; margin-bottom: 21px; }
  .hero-caption { bottom: 15px; font-size: 9px; }
  .collection { padding-block: 46px 58px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .product-grid, .about-inner { grid-template-columns: 1fr; gap: 25px; }
  .about-inner { padding-block: 50px 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
