/* ============================================================
   国佩酱酒 · 品牌官网样式
   Design tokens / layout / components
   ============================================================ */

:root {
  --ink: #0a0a0b;
  --ink-2: #121214;
  --ink-3: #1b1b1e;
  --paper: #f7f2e8;
  --paper-2: #efe6d4;
  --gold: #c9a25a;
  --gold-l: #f2dfb4;
  --gold-d: #8a6a2e;
  --red: #8c1c1c;
  --red-l: #b33a2f;
  --text-d: #e8e2d6;
  --text-d-dim: #a79f90;
  --text-l: #22201c;
  --text-l-dim: #6b6357;
  --line-d: rgba(201, 162, 90, 0.22);
  --line-l: rgba(140, 108, 52, 0.22);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-d);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ---------- 通用容器 ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section--paper { background: var(--paper); color: var(--text-l); }
.section--paper2 { background: var(--paper-2); color: var(--text-l); }
.section--ink { background: var(--ink); }

/* ---------- 标题组 ---------- */
.sec-head { margin-bottom: clamp(40px, 5vw, 66px); }
.sec-head--center { text-align: center; }
.overline {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-d); font-weight: 600;
}
.overflow-light .overline, .section--ink .overline { color: var(--gold); }
.overline::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.sec-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.35;
  margin: 16px 0 0;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.sec-title em { font-style: normal; color: var(--gold-d); }
.section--ink .sec-title em { color: var(--gold); }
.sec-sub {
  margin: 18px 0 0; max-width: 62ch; color: var(--text-l-dim); font-size: 15px;
}
.sec-head--center .sec-sub { margin-left: auto; margin-right: auto; }
.section--ink .sec-sub { color: var(--text-d-dim); }
.diamond {
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
  display: inline-block;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding: 20px 0;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  padding: 12px 0;
  border-bottom-color: var(--line-d);
}
.header__inner { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__seal {
  width: 44px; height: 44px; flex: none;
  background: linear-gradient(160deg, #a8261f, #7c1512);
  color: #f7e7c3; border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  line-height: 1.05; letter-spacing: 0;
  box-shadow: inset 0 0 0 2px rgba(247, 231, 195, 0.35), 0 6px 18px rgba(0, 0, 0, 0.4);
  text-align: center; padding: 4px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--serif); font-size: 21px; letter-spacing: 0.34em; font-weight: 600; }
.brand__en { font-size: 9.5px; letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative; font-size: 13.5px; letter-spacing: 0.16em; color: var(--text-d);
  padding: 6px 0; transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right 0.4s var(--ease);
}
.nav a:hover { color: var(--gold-l); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--gold-l); }
.nav__foot { display: none; }

.header__cta { display: flex; align-items: center; gap: 16px; }
.tel { font-size: 13px; letter-spacing: 0.1em; color: var(--text-d-dim); }
.tel b { color: var(--gold-l); font-weight: 600; letter-spacing: 0.06em; font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; font-size: 13px; letter-spacing: 0.22em; white-space: nowrap;
  border: 1px solid var(--gold); color: var(--gold-l);
  background: linear-gradient(120deg, rgba(201, 162, 90, 0.16), rgba(201, 162, 90, 0.02));
  transition: all 0.45s var(--ease); position: relative; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: translateY(101%); transition: transform 0.45s var(--ease); z-index: -1;
}
.btn:hover { color: #211705; border-color: var(--gold-l); }
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn--solid { background: linear-gradient(120deg, #d8b573, #b98f45); color: #221704; border-color: transparent; font-weight: 600; }
.btn--solid::before { background: linear-gradient(120deg, #f0d9a8, #cfa15a); }
.btn--ghost { color: var(--text-d); border-color: rgba(232, 226, 214, 0.32); background: none; }
.btn--ghost::before { background: rgba(242, 223, 180, 0.12); }
.btn--ghost:hover { color: var(--gold-l); border-color: var(--gold); }
.btn--dark { color: #2a2010; border-color: var(--gold-d); background: none; }
.btn--dark::before { background: var(--gold-d); }
.btn--dark:hover { color: #faf4e6; }

/* 汉堡按钮 */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--text-d);
  transition: all 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease);
  background-size: cover; background-position: 58% 46%;
  transform: scale(1.06);
}
.hero__slide.is-active { opacity: 1; animation: kenburns 12s ease-out forwards; }
@keyframes kenburns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 6, 7, 0.94) 0%, rgba(6, 6, 7, 0.78) 34%, rgba(6, 6, 7, 0.28) 62%, rgba(6, 6, 7, 0.62) 100%),
    linear-gradient(to top, rgba(10, 10, 11, 1) 0%, rgba(10, 10, 11, 0) 45%);
}
.hero__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 150px 40px 120px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 16px; border: 1px solid var(--line-d); border-radius: 40px;
  font-size: 11.5px; letter-spacing: 0.26em; color: var(--gold-l); background: rgba(20, 16, 10, 0.45);
  backdrop-filter: blur(6px);
}
.hero__badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 90, 0.18); }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 6.4vw, 82px); line-height: 1.12; letter-spacing: 0.06em;
  margin: 0; max-width: 15ch;
  background: linear-gradient(178deg, #fff8e8 8%, var(--gold-l) 44%, #c9a25a 74%, #9d7a37 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}
.hero h1 .t1 {
  display: block;
  font-size: 1.28em;
  letter-spacing: 0.24em;
  line-height: 1.05;
  margin-bottom: 0.12em;
}
.hero h1 .t2 {
  display: block;
  font-size: 0.4em;
  letter-spacing: 0.42em;
  line-height: 1.5;
  font-weight: 500;
  padding-left: 0.1em;
}
.hero__line {
  display: flex; align-items: center; gap: 16px; margin: 30px 0 22px;
  font-family: var(--serif); font-size: clamp(15px, 1.5vw, 20px); letter-spacing: 0.5em; color: var(--text-d);
}
.hero__line::before { content: ""; width: 52px; height: 1px; background: var(--gold); }
.hero__desc { max-width: 50ch; color: var(--text-d-dim); font-size: 15px; margin: 0 0 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__side {
  position: absolute; right: 42px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; letter-spacing: 0.5em; font-size: 11.5px;
  color: var(--text-d-dim); display: flex; align-items: center; gap: 22px;
}
.hero__side::before, .hero__side::after {
  content: ""; width: 1px; height: 58px; background: linear-gradient(var(--line-d), transparent);
}
.hero__side::after { background: linear-gradient(transparent, var(--line-d)); }
.hero__dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 34px;
  display: flex; gap: 10px; z-index: 3;
}
.hero__dots button {
  width: 26px; height: 2px; background: rgba(232, 226, 214, 0.3); transition: all 0.4s;
}
.hero__dots button.is-active { background: var(--gold); width: 46px; }
.hero__scroll {
  position: absolute; left: 40px; bottom: 30px; font-size: 11px; letter-spacing: 0.34em;
  color: var(--text-d-dim); display: flex; align-items: center; gap: 12px;
}
.hero__scroll i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: drop 2.4s infinite; }
@keyframes drop { 0%, 100% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- 滚动字条 ---------- */
.marquee {
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  background: var(--ink); overflow: hidden; padding: 16px 0;
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 42s linear infinite; }
.marquee span {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.4em; color: var(--gold);
  opacity: 0.85; white-space: nowrap; display: flex; align-items: center; gap: 56px;
}
.marquee span::after { content: "◆"; font-size: 7px; color: var(--gold-d); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 数据条 ---------- */
.stats { background: var(--ink-2); padding: clamp(56px, 6vw, 88px) 0; border-bottom: 1px solid var(--line-d); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-d); }
.stat { background: var(--ink-2); padding: 26px 22px; text-align: center; }
.stat__num {
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1;
  background: linear-gradient(180deg, #fff3d8, var(--gold) 70%, #97702e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.02em;
}
.stat__num small { font-size: 0.42em; letter-spacing: 0.1em; margin-left: 3px; }
.stat__label { font-size: 12px; letter-spacing: 0.24em; color: var(--text-d-dim); margin-top: 12px; }

/* ---------- 品牌故事 ---------- */
.story { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 78%; filter: saturate(1.02); }
.story__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold-d);
  opacity: 0.45; z-index: -1;
}
.story__tag {
  position: absolute; left: -20px; bottom: 26px; background: var(--paper);
  padding: 14px 22px; border-left: 2px solid var(--red);
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.3em; color: var(--text-l);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.story__body p { color: var(--text-l-dim); font-size: 15px; margin: 0 0 18px; }
.story__body .lead { font-size: 16.5px; color: var(--text-l); }
.story__quote {
  font-family: var(--serif); font-size: clamp(17px, 1.9vw, 22px); line-height: 1.9;
  color: var(--text-l); margin: 30px 0; padding-left: 22px; border-left: 2px solid var(--gold);
  letter-spacing: 0.08em;
}
.timeline { margin-top: 34px; border-top: 1px solid var(--line-l); }
.timeline li {
  display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--line-l); list-style: none;
}
.timeline { padding: 0; }
.timeline b {
  font-family: var(--serif); font-size: 20px; color: var(--red); font-weight: 600; letter-spacing: 0.04em;
}
.timeline p { margin: 0; font-size: 14px; color: var(--text-l-dim); }

/* ---------- 产品系列 ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pcard {
  position: relative; overflow: hidden; border: 1px solid var(--line-d);
  background: linear-gradient(180deg, #17171a, #0e0e10);
  transition: transform 0.6s var(--ease), border-color 0.6s, box-shadow 0.6s;
  text-align: left; width: 100%; padding: 0;
}
.pcard:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }
.pcard__img { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.92) 2%, rgba(10, 10, 11, 0) 46%);
}
.pcard__seal {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 50px; height: 50px; border: 1px solid rgba(201, 162, 90, 0.65); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 10.5px;
  letter-spacing: 0.06em; color: var(--gold-l); background: rgba(10, 8, 5, 0.45);
  backdrop-filter: blur(4px); text-align: center; line-height: 1.25;
}
.pcard__body { position: relative; padding: 4px 24px 26px; margin-top: -58px; z-index: 2; }
.pcard__series { font-size: 11px; letter-spacing: 0.3em; color: var(--gold-d); text-transform: uppercase; }
.pcard__name {
  font-family: var(--serif); font-size: 24px; letter-spacing: 0.14em; margin: 8px 0 10px;
  color: #f6efdf;
}
.pcard__name small { font-size: 11.5px; letter-spacing: 0.08em; color: var(--gold); margin-left: 8px; white-space: nowrap; }
.pcard__meta { font-size: 12px; letter-spacing: 0.12em; color: var(--text-d-dim); display: flex; gap: 14px; flex-wrap: wrap; }
.pcard__more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.26em; color: var(--gold-l);
  border-bottom: 1px solid rgba(201, 162, 90, 0.4); padding-bottom: 5px;
  transition: gap 0.4s var(--ease), border-color 0.4s;
}
.pcard:hover .pcard__more { gap: 16px; border-color: var(--gold); }
.products__foot { margin-top: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.products__note { font-size: 12.5px; color: var(--text-d-dim); max-width: 58ch; margin: 0; }

/* ---------- 工艺 ---------- */
.craft__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.craft__item { background: var(--paper); padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; }
.craft__item::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px;
  border: 1px solid rgba(140, 108, 52, 0.18); border-radius: 50%;
  transition: transform 0.8s var(--ease);
}
.craft__item:hover::after { transform: scale(1.35); }
.craft__no {
  font-family: var(--serif); font-size: 30px; color: var(--gold-d); letter-spacing: 0.06em;
  opacity: 0.9; line-height: 1;
}
.craft__no em { font-style: normal; font-size: 12px; letter-spacing: 0.28em; color: var(--red); margin-left: 10px; vertical-align: middle; }
.craft__title { font-family: var(--serif); font-size: 19px; letter-spacing: 0.14em; margin: 16px 0 8px; }
.craft__desc { font-size: 13.5px; color: var(--text-l-dim); margin: 0; line-height: 1.8; }
.craft__band {
  margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.craft__pill {
  border: 1px solid var(--line-l); padding: 20px 22px; display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.35);
}
.craft__pill b { font-family: var(--serif); font-size: 22px; color: var(--red); }
.craft__pill span { font-size: 12.5px; letter-spacing: 0.1em; color: var(--text-l-dim); line-height: 1.5; }

/* ---------- 产区 / 茅台镇 ---------- */
.region__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: end; }
.coords {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d);
  border: 1px solid var(--line-d); margin-top: 22px;
}
.coords div { background: var(--ink); padding: 16px 18px; }
.coords small { display: block; font-size: 10.5px; letter-spacing: 0.24em; color: var(--text-d-dim); }
.coords b { font-family: var(--serif); font-size: 14px; color: var(--gold-l); letter-spacing: 0.04em; white-space: nowrap; }

.gallery {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: #000; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.gallery figure:hover img { transform: scale(1.05); opacity: 0.88; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px; font-size: 12px;
  letter-spacing: 0.16em; color: #f4ecdc; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.85), transparent);
}
.gallery figcaption b { color: var(--gold-l); font-weight: 500; margin-right: 10px; letter-spacing: 0.2em; }
.gallery__tall { grid-row: span 2; }
.gallery--h { grid-auto-rows: 232px; }
.gallery figure { height: 100%; }
.gallery__wide { grid-column: 1 / -1; }
.region__credit { margin-top: 18px; font-size: 11.5px; color: var(--text-d-dim); letter-spacing: 0.04em; }
.region__credit a { color: var(--gold); border-bottom: 1px dotted var(--gold-d); }

/* ---------- 荣誉 ---------- */
.honors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor {
  border: 1px solid var(--line-l); padding: 30px 24px; background: rgba(255, 255, 255, 0.45);
  transition: all 0.5s var(--ease); position: relative;
}
.honor:hover { background: #fff; transform: translateY(-6px); box-shadow: 0 22px 44px rgba(60, 40, 12, 0.12); }
.honor__mark {
  width: 46px; height: 46px; border: 1px solid var(--gold-d); border-radius: 50%;
  display: grid; place-items: center; color: var(--red); font-family: var(--serif); font-size: 15px;
  margin-bottom: 18px;
}
.honor h4 { font-family: var(--serif); font-size: 17px; letter-spacing: 0.12em; margin: 0 0 8px; }
.honor p { margin: 0; font-size: 13px; color: var(--text-l-dim); line-height: 1.8; }

/* ---------- 品鉴 ---------- */
.taste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.taste__item { text-align: center; position: relative; }
.taste__item::before {
  content: ""; position: absolute; top: 36px; left: calc(50% + 54px); right: calc(-50% + 54px); height: 1px;
  background: linear-gradient(90deg, var(--line-l), transparent);
}
.taste__item:last-child::before { display: none; }
.taste__icon {
  width: 72px; height: 72px; margin: 0 auto 22px; border: 1px solid var(--gold-d); border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.5); position: relative; z-index: 1;
}
.taste__icon svg { width: 30px; height: 30px; stroke: var(--gold-d); fill: none; stroke-width: 1.2; }
.taste__char { font-family: var(--serif); font-size: 25px; color: var(--red); letter-spacing: 0; line-height: 1; }
.taste__item h4 { font-family: var(--serif); font-size: 17px; letter-spacing: 0.2em; margin: 0 0 6px; }
.taste__item p { font-size: 13px; color: var(--text-l-dim); margin: 0; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
.contact__info dl { margin: 0; }
.contact__info dt { font-size: 11px; letter-spacing: 0.3em; color: var(--gold); margin-top: 26px; }
.contact__info dd { margin: 8px 0 0; font-size: 15px; color: var(--text-d); }
.contact__info dd.big { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.06em; color: var(--gold-l); }
.form { border: 1px solid var(--line-d); padding: clamp(26px, 3vw, 40px); background: rgba(255, 255, 255, 0.02); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.26em; color: var(--text-d-dim); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-d);
  color: var(--text-d); padding: 13px 14px; font-family: inherit; font-size: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(201, 162, 90, 0.07);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select option { background: #16161a; }
.form__note { font-size: 11.5px; color: var(--text-d-dim); margin: 14px 0 0; line-height: 1.7; }
.form .btn { width: 100%; margin-top: 6px; }

/* ---------- 页脚 ---------- */
.footer { background: #070708; border-top: 1px solid var(--line-d); padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer__brand p { font-size: 12.5px; color: var(--text-d-dim); max-width: 34ch; line-height: 1.9; }
.footer h5 { font-size: 12px; letter-spacing: 0.24em; color: var(--gold); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a, .footer li { font-size: 12.5px; color: var(--text-d-dim); transition: color 0.3s; }
.footer a:hover { color: var(--gold-l); }
.footer__bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 11.5px; color: #6e675c;
}
.footer__credits { font-size: 11px; color: #5d564c; line-height: 1.8; margin-top: 8px; }

/* ---------- 产品弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 5, 0.86); backdrop-filter: blur(8px); }
.modal__panel {
  position: relative; width: min(1040px, 100%); max-height: 88svh; overflow: auto;
  background: #101012; border: 1px solid var(--line-d); display: grid;
  grid-template-columns: 1fr 1fr; animation: pop 0.5s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
.modal__media { background: #000; position: relative; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; padding: 10px; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); }
.modal__thumbs button { width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.25); overflow: hidden; opacity: 0.6; transition: opacity 0.3s, border-color 0.3s; }
.modal__thumbs button.is-active { opacity: 1; border-color: var(--gold); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(26px, 3.4vw, 44px); }
.modal__body h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 0.14em; margin: 6px 0 4px; color: #f6efdf; }
.modal__body .sub { font-size: 12px; letter-spacing: 0.28em; color: var(--gold); }
.modal__body p { font-size: 13.5px; color: var(--text-d-dim); line-height: 1.9; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); margin: 20px 0; }
.spec div { background: #101012; padding: 12px 14px; }
.spec small { display: block; font-size: 10px; letter-spacing: 0.22em; color: var(--text-d-dim); }
.spec b { font-size: 13px; color: var(--text-d); font-weight: 500; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px;
  border: 1px solid var(--line-d); color: var(--text-d); display: grid; place-items: center;
  background: rgba(10, 10, 11, 0.6); transition: all 0.3s;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold-l); transform: rotate(90deg); }
.tasting { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tasting li { font-size: 12.5px; color: var(--text-d-dim); padding-left: 18px; position: relative; }
.tasting li::before { content: "◆"; position: absolute; left: 0; top: 1px; font-size: 7px; color: var(--gold-d); }
.tasting b { color: var(--gold-l); font-weight: 500; letter-spacing: 0.12em; margin-right: 6px; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 220; display: none; background: rgba(3, 3, 4, 0.94);
  align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82svh; object-fit: contain; animation: pop 0.4s var(--ease); }
.lightbox figcaption { text-align: center; margin-top: 16px; font-size: 12.5px; letter-spacing: 0.12em; color: var(--text-d-dim); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--line-d); display: grid; place-items: center; color: var(--text-d); transition: all 0.3s; }
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold-l); }
.lightbox__nav.prev { left: 30px; }
.lightbox__nav.next { right: 30px; }
.lightbox__close { position: absolute; top: 26px; right: 30px; width: 44px; height: 44px; border: 1px solid var(--line-d); display: grid; place-items: center; transition: all 0.3s; }
.lightbox__close:hover { border-color: var(--gold); color: var(--gold-l); transform: rotate(90deg); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 24px); z-index: 300;
  background: rgba(18, 18, 20, 0.96); border: 1px solid var(--gold); color: var(--gold-l);
  padding: 14px 26px; font-size: 13px; letter-spacing: 0.12em; opacity: 0; pointer-events: none;
  transition: all 0.5s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 回到顶部 ---------- */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 80; width: 46px; height: 46px;
  border: 1px solid var(--line-d); background: rgba(12, 12, 14, 0.8); backdrop-filter: blur(8px);
  display: grid; place-items: center; color: var(--gold-l); opacity: 0; pointer-events: none;
  transition: all 0.4s var(--ease);
}
.totop.is-show { opacity: 1; pointer-events: auto; }
.totop:hover { border-color: var(--gold); transform: translateY(-4px); }

/* ---------- 滚动动效 ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header__cta .tel { display: none; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .honors { grid-template-columns: repeat(2, 1fr); }
  .taste { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .taste__item::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
  .gallery--h { grid-auto-rows: 200px; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { max-height: 40svh; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .hero__inner { padding: 132px 24px 96px; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 6, 7, 0.95) 0%, rgba(6, 6, 7, 0.87) 28%, rgba(6, 6, 7, 0.94) 66%, rgba(10, 10, 11, 1) 100%);
  }
  .hero h1 .t2 { font-size: 0.42em; letter-spacing: 0.3em; }
  .hero__desc { font-size: 14px; color: #cfc7b8; }
  .hero__line { font-size: 12.5px; letter-spacing: 0.18em; }
  .hero__side { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center;
    align-items: center; gap: 6px; background: rgba(8, 8, 9, 0.97); backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
  }
  .nav a { font-family: var(--serif); font-size: 22px; letter-spacing: 0.24em; padding: 14px 0; }
  .nav__foot {
    display: block; margin-top: 34px; text-align: center;
    font-size: 12px; letter-spacing: 0.2em; color: var(--text-d-dim);
  }
  .nav__foot b { display: block; margin-top: 8px; font-family: var(--serif); font-size: 20px; color: var(--gold-l); letter-spacing: 0.06em; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .header__cta .btn { padding: 11px 18px; font-size: 12px; letter-spacing: 0.16em; }
  .story { grid-template-columns: 1fr; }
  .story__media img { aspect-ratio: 4/4.4; }
  .region__head { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__tall { grid-row: auto; }
  .gallery--h { grid-auto-rows: 210px; }
  .craft__band { grid-template-columns: repeat(2, 1fr); }
  .coords { grid-template-columns: repeat(3, 1fr); }
  .hero__scroll { display: none; }
  .modal { padding: 12px; }
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav.prev { left: 8px; }
  .lightbox__nav.next { right: 8px; }
}

@media (max-width: 560px) {
  .header__cta .btn { display: none; }
  .brand__name { font-size: 19px; }
  .products, .craft__grid, .honors, .taste { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; }
  .craft__pill { flex-direction: column; align-items: flex-start; gap: 4px; }
  .coords { grid-template-columns: 1fr 1fr; }
  .coords div:last-child { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: 0.04em; }
  .hero__line { letter-spacing: 0.3em; font-size: 13.5px; }
  .story__tag { left: 10px; bottom: 12px; padding: 10px 14px; font-size: 11px; }
  .footer__top { grid-template-columns: 1fr; }
  .products__foot { flex-direction: column; align-items: flex-start; }
  .modal__thumbs button { width: 42px; height: 42px; }
  .taste { row-gap: 34px; }
}