:root {
  --ink: #101011;
  --muted: #6d6a66;
  --line: #e8e5e0;
  --paper: #ffffff;
  --paper-soft: #f7f5f1;
  --gold: #d8b56d;
  --gold-deep: #7b5a1e;
  --black: #09090a;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.has-dialog { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.page-shell { width: min(100% - 40px, 1180px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { position: relative; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 11px; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand strong { font-size: 20px; font-weight: 800; }
.brand span { font-size: 18px; font-weight: 680; }
.brand span[aria-hidden] { color: #aaa49c; font-weight: 400; }
.menu-button { min-width: 58px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; cursor: pointer; }
.menu-button:hover, .menu-button:focus-visible { border-color: #bfa875; background: #fbf7ef; }
.site-menu { position: absolute; inset: 100% 0 auto; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .98); box-shadow: 0 20px 45px rgba(22, 18, 13, .08); }
.site-menu[hidden] { display: none; }
.menu-links { padding-top: 16px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.menu-links a { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; color: #4e4a45; text-decoration: none; font-size: 14px; font-weight: 680; }
.menu-links a:hover, .menu-links a:focus-visible, .menu-links a[aria-current="page"] { border-color: #cbb17a; background: #fbf7ef; color: var(--ink); }

.product-intro { padding: 30px 0 28px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #77736d; font-size: 14px; }
.breadcrumb a { text-underline-offset: 4px; }
.brand-line { margin: 42px 0 0; color: var(--gold-deep); font-size: 12px; font-weight: 790; letter-spacing: .14em; }
.product-intro h1 { margin: 7px 0 0; font-size: clamp(70px, 12vw, 132px); line-height: .88; letter-spacing: -.075em; }

.hero-stage { position: relative; width: 100%; min-height: clamp(620px, 73vw, 900px); display: grid; place-items: center; overflow: hidden; isolation: isolate; background: #080808; }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,0) 48%, rgba(0,0,0,.4)); pointer-events: none; }
.hero-picture { position: absolute; inset: 0; z-index: -2; }
.hero-scene { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity 220ms ease, transform 420ms ease; }
.hero-scene.is-changing { opacity: 0; transform: scale(1.01); }
.stage-copy { position: absolute; z-index: 2; top: clamp(42px, 7vw, 84px); left: max(24px, calc((100vw - 1180px) / 2)); display: flex; flex-direction: column; color: #ead1a0; text-shadow: 0 2px 24px rgba(0,0,0,.48); }
.stage-copy span { font-size: 12px; font-weight: 800; letter-spacing: .25em; }
.stage-copy strong { margin-top: 10px; font-size: clamp(30px, 5vw, 58px); letter-spacing: -.04em; }
.viewer-launch { position: absolute; z-index: 4; left: 50%; bottom: 28px; min-height: 58px; padding: 0 25px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid #e8c579; border-radius: 999px; background: rgba(9,9,10,.86); color: #fff; box-shadow: 0 16px 36px rgba(0,0,0,.3); font-weight: 760; transform: translateX(-50%); cursor: pointer; backdrop-filter: blur(14px); }
.viewer-launch:hover, .viewer-launch:focus-visible { background: #17130d; box-shadow: 0 0 0 4px rgba(216,181,109,.24), 0 18px 42px rgba(0,0,0,.4); }
.viewer-launch-mark { color: #f0cf8c; font-size: 13px; letter-spacing: .02em; }

.purchase-panel { padding: 34px 0 44px; }
.color-options { width: min(100%, 630px); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.color-card { min-width: 0; min-height: 118px; padding: 10px 14px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid #dedbd6; border-radius: 20px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.color-card:hover { transform: translateY(-2px); }
.color-card:focus-visible { outline: 4px solid rgba(216,181,109,.3); outline-offset: 2px; }
.color-card.is-active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 12px 28px rgba(47,37,22,.08); }
.color-thumb { width: 94px; height: 92px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; }
.color-thumb-black { background: radial-gradient(circle at 50% 35%, #38383b, #09090a 74%); }
.color-thumb-gold { background: #f3eee5; }
.color-thumb img { width: 95%; height: 95%; object-fit: contain; }
.color-card > span:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.color-card strong { font-size: 18px; }
.color-card small { margin-top: 5px; color: #8a857e; font-size: 12px; }
.purchase-actions { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.purchase-button { min-height: 62px; border: 0; border-radius: 15px; color: #fff; font-size: 18px; font-weight: 780; cursor: pointer; box-shadow: 0 13px 26px rgba(20,18,15,.1); }
.purchase-button:hover, .purchase-button:focus-visible { transform: translateY(-1px); filter: brightness(1.04); }
.purchase-jd { background: linear-gradient(135deg, #d81320, #bc0d18); }
.purchase-tb { background: linear-gradient(135deg, #ff6a00, #ef3900); }
.purchase-note { min-height: 20px; margin: 18px 0 0; color: #858079; text-align: center; font-size: 13px; }

.section-nav { position: sticky; z-index: 10; top: 0; min-height: 60px; display: flex; align-items: stretch; justify-content: center; border-block: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.section-nav a { min-width: 150px; padding: 0 30px; display: grid; place-items: center; color: #4b4742; text-decoration: none; font-size: 14px; font-weight: 720; }
.section-nav a:hover, .section-nav a:focus-visible { color: var(--gold-deep); background: #fbf8f3; }
.content-section { padding-top: clamp(68px, 10vw, 118px); padding-bottom: clamp(70px, 10vw, 120px); scroll-margin-top: 60px; }
.section-kicker { margin: 0; color: var(--gold-deep); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.content-section h2 { margin: 11px 0 0; font-size: clamp(38px, 7vw, 68px); letter-spacing: -.055em; }
.section-intro { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.detail-gallery { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detail-card { position: relative; min-height: 500px; margin: 0; display: grid; place-items: center; overflow: hidden; border-radius: 28px; }
.detail-card-black { background: radial-gradient(circle at 55% 32%, #343437, #0a0a0b 70%); }
.detail-card-gold { background: linear-gradient(150deg, #faf8f4, #eae1d2); }
.detail-card img { width: 100%; height: 100%; object-fit: cover; }
.detail-card figcaption { position: absolute; left: 24px; bottom: 22px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.9); color: #252321; font-size: 13px; font-weight: 760; }
.support-section { border-top: 1px solid var(--line); }
.support-links { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-links a { min-height: 156px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper-soft); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.support-links a:hover, .support-links a:focus-visible { transform: translateY(-2px); border-color: #cbb17a; box-shadow: 0 16px 35px rgba(43,34,21,.08); }
.support-links a > span:first-child { display: flex; flex-direction: column; }
.support-links strong { font-size: 20px; }
.support-links small { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.link-action { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #d9d2c6; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 740; }
.site-footer { padding: 32px 0 max(38px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #716c66; font-size: 12px; line-height: 1.6; }
.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: 4px; }

.viewer-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.viewer-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.viewer-dialog[open] { display: grid; place-items: center; }
.viewer-dialog-card { width: min(calc(100vw - 36px), 1120px); height: min(calc(100dvh - 36px), 820px); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: #edeae4; box-shadow: 0 35px 100px rgba(0,0,0,.45); }
.viewer-dialog-header { min-height: 80px; padding: 14px 20px 14px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(33,31,28,.12); background: rgba(255,255,255,.74); }
.viewer-dialog-header p { margin: 0; color: #827b72; font-size: 11px; font-weight: 760; letter-spacing: .08em; }
.viewer-dialog-header h2 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.025em; }
.viewer-close { min-width: 64px; min-height: 42px; padding: 0 15px; border: 1px solid #d3cdc3; border-radius: 999px; background: #fff; color: #292622; font-weight: 720; cursor: pointer; }
.viewer-close:hover, .viewer-close:focus-visible { border-color: #a88749; background: #fbf7ef; }
.viewer-frame-wrap { position: relative; height: calc(100% - 80px); background: #dedbd5; }
.viewer-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #dedbd5; opacity: 0; transition: opacity 200ms ease; }
.viewer-frame-wrap.is-ready iframe { opacity: 1; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-content: center; gap: 9px; padding: 30px; color: #332f29; text-align: center; }
.viewer-loading strong { font-size: 20px; }
.viewer-loading span { color: #777169; font-size: 13px; }
.viewer-frame-wrap.is-ready .viewer-loading { display: none; }
.noscript-note { margin: 0; padding: 14px 20px; background: #fff4cb; color: #513f0f; text-align: center; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 16px; }
  .brand span { font-size: 14px; }
  .menu-links { grid-template-columns: repeat(2, 1fr); }
  .product-intro { padding-top: 24px; }
  .brand-line { margin-top: 30px; }
  .hero-stage { min-height: max(590px, 112vw); }
  .stage-copy { top: 32px; left: 20px; }
  .hero-scene { object-position: 50% center; }
  .viewer-launch { bottom: 24px; min-height: 54px; }
  .purchase-panel { padding-top: 26px; }
  .color-options { gap: 10px; }
  .color-card { min-height: 104px; padding: 8px; gap: 8px; border-radius: 16px; }
  .color-thumb { width: 70px; height: 72px; }
  .color-card strong { font-size: 15px; }
  .purchase-actions { gap: 10px; }
  .purchase-button { min-height: 58px; border-radius: 13px; font-size: 16px; }
  .section-nav { min-height: 56px; }
  .section-nav a { min-width: 0; flex: 1; padding: 0 12px; }
  .detail-gallery, .support-links { grid-template-columns: 1fr; }
  .detail-card { min-height: 430px; border-radius: 22px; }
  .site-footer { flex-direction: column; }
  .viewer-dialog-card { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .viewer-dialog-header { min-height: 74px; padding-top: max(12px, env(safe-area-inset-top)); }
  .viewer-frame-wrap { height: calc(100% - 74px - env(safe-area-inset-top)); }
}

@media (max-width: 420px) {
  .product-intro h1 { font-size: 72px; }
  .hero-stage { min-height: 560px; }
  .color-card > span:last-child small { display: none; }
  .color-thumb { width: 62px; height: 64px; }
  .detail-card { min-height: 360px; }
  .support-links a { min-height: 138px; padding: 22px; }
}

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