:root {
  --ink: #1c1917;
  --muted: #6b645c;
  --paper: #f6f3ee;
  --band: #ebe6de;
  --line: #ddd6cc;
  --accent: #9a3b2f;
  --max: 1120px;
  --header: 68px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header); z-index: 30;
  background: #fff; display: flex; align-items: center;
}
.header-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-main { display: flex; gap: 36px; margin: 0 auto; font-weight: 700; font-size: 15px; }
.nav-main a { position: relative; padding: 8px 0; }
.nav-main a.current::after, .nav-main a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; background: var(--accent);
}
.lang { position: relative; font-weight: 700; font-size: 14px; }
.lang-btn { display: flex; align-items: center; gap: 6px; }
.lang-menu {
  display: none; position: absolute; top: 120%; right: 0; background: #fff; min-width: 96px;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; box-shadow: 0 10px 24px rgba(28, 25, 23, .08);
}
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 14px; font-weight: 600; }
.lang-menu a:hover { color: var(--accent); }
.dot { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; display: inline-block; position: relative; }
.dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid currentColor; border-left-color: transparent; }

.hero { position: relative; height: 100vh; min-height: 640px; color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; }
.slide.on { opacity: 1; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 12, .55), rgba(20, 14, 12, .18)); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; padding: 22vh 0 0 8vw; }
.hero h1 { font-size: clamp(56px, 7.2vw, 112px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; }
.hero .sub { margin-top: 16px; font-size: 32px; font-weight: 500; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 18px;
  border-bottom: 2px solid #fff; padding-bottom: 4px;
}
.stores { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; font-weight: 700; }
.stores a { opacity: .9; }
.stores a:hover { opacity: 1; }
.scroll-hint { position: absolute; left: 8vw; bottom: 28px; z-index: 2; letter-spacing: 2px; font-size: 13px; }

.intro { text-align: center; padding: 72px 24px 36px; }
.intro h2 { font-size: 48px; font-weight: 800; margin-bottom: 12px; }
.intro p { max-width: 640px; margin: 0 auto; color: var(--muted); }

.subnav { display: none; }

.story { max-width: var(--max); margin: 0 auto 20px; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 380px; background: var(--paper); }
.story.reverse { grid-template-columns: .95fr 1.05fr; }
.story.reverse img { order: 2; }
.story img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.story-copy { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.story h3 { font-size: 28px; font-weight: 800; }
.story h4 { margin: 8px 0 12px; font-size: 18px; font-weight: 600; }
.story p { color: var(--muted); margin-bottom: 18px; }
.more { font-weight: 700; color: var(--accent); }

.ways { background: var(--band); padding: 72px 24px 80px; }
.ways h2, .catalog-head h2, .banner h2 { text-align: center; font-size: 48px; font-weight: 800; }
.ways .lead, .catalog-head p { text-align: center; color: var(--muted); max-width: 640px; margin: 10px auto 36px; }
.card-row { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.way {
  width: 340px; background: #fff; border-radius: 16px; overflow: hidden; min-height: 280px;
}
.way .swatch { height: 120px; }
.way .body { padding: 18px 18px 22px; }
.way h3 { font-size: 18px; margin-bottom: 8px; }
.way p { color: var(--muted); font-size: 14.5px; }

.banner { background: #f7f4f0; padding: 72px 24px; text-align: center; }
.banner p { color: var(--muted); margin: 10px 0 18px; }
.banner a { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 12px 28px; border-radius: 999px; }

.catalog { padding: 72px 0 88px; }
.catalog-layout { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 200px 1fr; gap: 28px; }
.cats { display: flex; flex-direction: column; gap: 6px; }
.cats button { text-align: left; padding: 10px 12px; border-radius: 8px; font-weight: 700; }
.cats button.on { background: var(--ink); color: #fff; }
.products { display: flex; flex-wrap: wrap; gap: 16px; align-content: flex-start; }
.product { width: calc(33.333% - 11px); background: var(--paper); border-radius: 14px; min-height: 230px; padding: 18px; display: flex; flex-direction: column; }
.product .mark { width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.product h3 { font-size: 17px; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 14px; flex: 1; }
.product .more { margin-top: 12px; }
.product.hide { display: none; }

footer { background: #1c1917; color: #e7e1d8; padding: 36px 0 28px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 12px 0; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-logo { background: var(--accent); color: #fff; font-weight: 800; padding: 6px 10px; border-radius: 8px; margin-right: 16px; }
.foot-top a { margin-right: 14px; font-size: 14px; font-weight: 700; }
.foot-top a::after { content: "|"; margin-left: 14px; color: rgba(255,255,255,.25); }
.foot-top a:last-child::after { content: ""; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; font-size: 13px; color: #b7aea4; }
.foot-bottom a { margin-right: 16px; }
.foot-bottom a:hover, .foot-top a:hover { color: #fff; }

.page-hero { height: 72vh; min-height: 520px; }
.dl-note { text-align: center; color: var(--muted); margin-top: 8px; }

@media (max-width: 860px) {
  header { position: absolute; height: 0; background: transparent; overflow: visible; }
  .header-inner { height: 0; padding: 0; }
  .nav-main { display: none; }
  .logo { position: absolute; top: 22px; left: 18px; color: #fff; z-index: 5; }
  .lang { position: absolute; top: 20px; right: 18px; color: #fff; z-index: 5; }
  .lang-menu { color: var(--ink); }
  .hero { height: 520px; min-height: 0; }
  .hero-copy { padding: 120px 20px 0; }
  .hero h1 { font-size: 46px; }
  .hero .sub { font-size: 20px; }
  .scroll-hint { display: none; }
  .subnav {
    display: flex; justify-content: center; gap: 22px; background: #fff; height: 56px; align-items: center; font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .subnav a.current { box-shadow: inset 0 -4px 0 var(--accent); height: 100%; display: flex; align-items: center; }
  .intro h2, .ways h2, .catalog-head h2 { font-size: 30px; }
  .story, .story.reverse { grid-template-columns: 1fr; }
  .story.reverse img { order: 0; }
  .way, .product { width: 100%; }
  .catalog-layout { grid-template-columns: 1fr; }
  .cats { flex-direction: row; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
