:root {
  --ink: #0b0d10;
  --ink-2: #14181d;
  --panel: #1b2128;
  --line: rgba(224, 180, 90, 0.16);
  --bone: #efe8d8;
  --mute: #9a9386;
  --gold: #e0b45a;
  --gold-2: #f3d48a;
  --rust: #d4783a;
  --sage: #7d9a78;
  --danger: #c45c4a;
  --max: 1180px;
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bone);
  background: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-name span {
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: end start;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.18), rgba(11, 13, 16, 0.88) 72%),
    radial-gradient(circle at 18% 20%, rgba(224, 180, 90, 0.16), transparent 28%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(224, 180, 90, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 180, 90, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 88px;
  max-width: 760px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: 0.04em;
}

.lede {
  color: #d8d0c2;
  font-size: 18px;
  max-width: 640px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-gold {
  background: var(--gold);
  color: #1a1408;
}

.btn-ghost {
  border-color: rgba(239, 232, 216, 0.28);
  color: var(--bone);
  background: rgba(11, 13, 16, 0.28);
}

.btn:hover {
  transform: translateY(-1px);
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 720px;
}

.section-head p {
  color: var(--mute);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.facet-card,
.stat,
.feature,
.product-card,
.contact-card,
.legal {
  background: linear-gradient(180deg, rgba(27, 33, 40, 0.96), rgba(16, 19, 23, 0.96));
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.facet-card,
.product-card,
.contact-card,
.legal {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-body,
.legal,
.contact-card,
.feature,
.stat {
  padding: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  color: var(--gold-2);
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  color: var(--gold);
}

.stat span {
  color: var(--mute);
  font-size: 13px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature h3 {
  font-size: 22px;
}

.feature p,
.product-body p,
.muted {
  color: var(--mute);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery button {
  padding: 0;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notice {
  border-left: 3px solid var(--rust);
  padding: 16px 18px;
  background: rgba(212, 120, 58, 0.08);
  color: #e7c7ae;
}

.page-hero {
  padding: 72px 0 28px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.contact-grid,
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  color: var(--mute);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-grid a:hover {
  color: var(--gold-2);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(5, 6, 8, 0.86);
  z-index: 30;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 84vh;
  object-fit: contain;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 18px 20px 24px;
    background: #10141a;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.is-open {
    display: flex;
  }

  .split,
  .stats,
  .features,
  .gallery,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .split,
  .stats,
  .features,
  .contact-grid,
  .legal-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 56px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
