/* ==========================================================================
   事事顺 · 古井贡酒出品 —— 官网样式
   一处浓墨（首页洒金红笺首屏），其余像一册宴席礼单：薛涛笺底、竖排标题、印章分类。
   ========================================================================== */

@font-face {
  font-family: "SSS Serif";
  src: url("/assets/fonts/serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SSS Serif";
  src: url("/assets/fonts/serif-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #a6192e;          /* 中国红：品牌色 */
  --red-deep: #7c1022;
  --night: #2a0b10;        /* 胭脂墨 */
  --night-2: #3a1016;
  --paper: #f7ece6;        /* 薛涛笺 */
  --paper-deep: #eedbd2;
  --gold: #c9a25e;         /* 泥金：线与纹 */
  --gold-text: #e6cb91;    /* 深底上的金字 */
  --ink: #2b1d1a;
  --muted: #6e5550;
  --persimmon: #d9672a;
  --line: rgba(166, 25, 46, 0.18);
  --line-strong: rgba(166, 25, 46, 0.38);

  --serif: "SSS Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
  --sec-y: clamp(72px, 9vw, 132px);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.85 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 2px solid var(--persimmon); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--ink); }
h2, h3 { font-feature-settings: "palt"; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
.serif { font-family: var(--serif); font-weight: 600; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--red); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* 竖排标题：像对联、书脊 */
.v-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  margin: 0;
}

/* 印章：只用来标注真实的类别 */
.seal {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 6px;
  background: var(--red);
  color: #fbeee6;
  font: 900 1.7rem/1 var(--serif);
  box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 5.5px rgba(251, 238, 230, 0.7);
}
.seal--persimmon { background: var(--persimmon); box-shadow: inset 0 0 0 4px var(--persimmon), inset 0 0 0 5.5px rgba(251, 238, 230, 0.7); }
.seal--wide { width: auto; min-width: 3.4rem; padding: 0 0.7rem; font-size: 1.35rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 1.6em;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 600 16px/1 var(--sans);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-line { border-color: var(--line-strong); color: var(--red); background: transparent; }
.btn-line:hover { border-color: var(--red); color: var(--red-deep); }
.btn-gold { background: var(--gold-text); color: var(--night); }
.btn-gold:hover { background: #f1dcab; color: var(--night); }
.btn-line-light { border-color: rgba(230, 203, 145, 0.55); color: var(--gold-text); background: transparent; }
.btn-line-light:hover { border-color: var(--gold-text); color: #f6e3b8; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- 页眉 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 236, 230, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--red); text-decoration: none; }
.brand:hover { color: var(--red-deep); }
.brand-mark {
  display: block;
  width: 128px;
  height: 31px;
  background-color: currentColor;
  -webkit-mask: url("/media/brand/wordmark-mask.png") left center / contain no-repeat;
  mask: url("/media/brand/wordmark-mask.png") left center / contain no-repeat;
}
.brand-sub { padding-left: 12px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; letter-spacing: 0.12em; line-height: 1.2; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.desktop-nav a { color: var(--ink); font-size: 15px; letter-spacing: 0.08em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.desktop-nav a:hover { color: var(--red); border-bottom-color: var(--line-strong); }
.desktop-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.desktop-nav a:last-child { margin-left: 6px; padding: 9px 18px; border: 1px solid var(--red); border-radius: 3px; color: var(--red); }
.desktop-nav a:last-child:hover, .desktop-nav a:last-child[aria-current="page"] { background: var(--red); color: #fff; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--red);
  font-size: 15px;
  letter-spacing: 0.12em;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { background: var(--red); color: #fff; border-color: var(--red); }
.mobile-nav-list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(78vw, 300px);
  display: grid;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(42, 11, 16, 0.18);
}
.mobile-nav-list a { padding: 12px 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 16px; letter-spacing: 0.08em; }
.mobile-nav-list a:last-child { border-bottom: 0; color: var(--red); font-weight: 600; }
.mobile-nav-list a[aria-current="page"] { color: var(--red); }

/* 首页：页眉浮在洒金红笺之上 */
.home .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: rgba(230, 203, 145, 0.18); -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .brand { color: var(--gold-text); }
.home .brand-sub { color: rgba(230, 203, 145, 0.75); border-left-color: rgba(230, 203, 145, 0.35); }
.home .desktop-nav a { color: #f1e1d6; }
.home .desktop-nav a:hover { color: var(--gold-text); border-bottom-color: rgba(230, 203, 145, 0.5); }
.home .desktop-nav a:last-child { border-color: var(--gold-text); color: var(--gold-text); }
.home .desktop-nav a:last-child:hover { background: var(--gold-text); color: var(--night); }
.home .mobile-nav summary { border-color: rgba(230, 203, 145, 0.55); color: var(--gold-text); }
.home .mobile-nav[open] summary { background: var(--gold-text); color: var(--night); }

/* ---------- 洒金底 ---------- */
.sajin { position: relative; isolation: isolate; }
.sajin::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/media/brand/sajin.png") 0 0 / 420px 420px repeat;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- 首页首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 920px);
  padding: 120px 0 72px;
  color: #f1e1d6;
  background:
    radial-gradient(60% 70% at 72% 46%, rgba(166, 25, 46, 0.72) 0%, rgba(124, 16, 34, 0.32) 46%, rgba(42, 11, 16, 0) 72%),
    linear-gradient(180deg, #2a0b10 0%, #34101a 60%, #2a0b10 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "title stage" "title copy";
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 24px clamp(28px, 4vw, 64px);
  min-height: calc(min(100svh, 920px) - 192px);
}
.hero-title { grid-area: title; align-self: center; color: var(--gold-text); font-size: clamp(96px, 12.5vw, 190px); }
.hero-copy { grid-area: copy; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px clamp(24px, 4vw, 56px); align-items: end; padding-top: 22px; border-top: 1px solid rgba(230, 203, 145, 0.2); }
.hero-motto { margin: 0 0 10px; font: 600 clamp(22px, 2.1vw, 28px)/1.45 var(--serif); color: var(--gold-text); letter-spacing: 0.08em; }
.hero-lede { color: #e9d4ca; font-size: 16px; max-width: 30em; }
.hero-act .actions { margin-top: 0; }
.hero-maker { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: rgba(241, 225, 214, 0.78); font-size: 13.5px; letter-spacing: 0.06em; }
.hero-maker img { width: 54px; height: auto; }
.hero-stage { grid-area: stage; position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 440px; }
.shidi { position: absolute; left: 50%; top: 46%; width: min(92%, 600px); transform: translate(-50%, -50%); color: var(--gold); opacity: 0.38; pointer-events: none; }
.shidi path, .shidi circle { fill: none; stroke: currentColor; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.hero-bottles { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; padding-bottom: 26px; }
.hero-bottles::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 94, 0), rgba(201, 162, 94, 0.75) 20%, rgba(201, 162, 94, 0.75) 80%, rgba(201, 162, 94, 0));
}
.hero-bottles img {
  position: relative;
  width: auto;
  height: clamp(220px, 30vw, 430px);
  margin: 0 -1.2%;
  filter: drop-shadow(0 26px 22px rgba(10, 2, 4, 0.55));
}
.hero-bottles img:nth-child(1) { height: clamp(190px, 25vw, 360px); z-index: 1; }
.hero-bottles img:nth-child(2) { z-index: 3; }
.hero-bottles img:nth-child(3) { height: clamp(208px, 28.5vw, 410px); z-index: 2; }
.hero-bottles img:nth-child(4) { height: clamp(190px, 25.5vw, 366px); z-index: 1; }

/* 首屏唯一的一次编排：纹样描出，酒瓶依次立起 */
@media (prefers-reduced-motion: no-preference) {
  .js .shidi path, .js .shidi circle { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s 0.2s cubic-bezier(.4, 0, .2, 1) forwards; }
  .js .hero-bottles img { opacity: 0; transform: translateY(28px); animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero-bottles img:nth-child(1) { animation-delay: 0.55s; }
  .js .hero-bottles img:nth-child(2) { animation-delay: 0.7s; }
  .js .hero-bottles img:nth-child(3) { animation-delay: 0.85s; }
  .js .hero-bottles img:nth-child(4) { animation-delay: 1s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 内页首屏 ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.page-hero .v-title { color: var(--red); font-size: clamp(56px, 7.4vw, 104px); }
.page-hero-copy { max-width: 36em; padding-bottom: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { color: var(--line-strong); }
.page-lead { font: 600 clamp(21px, 2.2vw, 28px)/1.6 var(--serif); color: var(--ink); margin-bottom: 0.7em; }
.page-sub { color: var(--muted); }

/* ---------- 区块 ---------- */
.sec { padding: var(--sec-y) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-deep { background: var(--paper-deep); }
.sec-night { background: var(--night); color: #ead8cf; }
.sec-red { background: var(--red); color: #fbeee6; }
.sec-night + .sec, .sec + .sec-night, .sec-red + .sec, .sec + .sec-red, .sec-deep + .sec, .sec + .sec-deep { border-top: 0; }
.sec-night h2, .sec-night h3, .sec-red h2, .sec-red h3 { color: var(--gold-text); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.35; letter-spacing: 0.02em; }
.sec-head p { color: var(--muted); max-width: 30em; }
.sec-night .sec-head p { color: #cdb3a8; }
.sec-red .sec-head p { color: #f3d9cd; }
.sec-head--single { grid-template-columns: minmax(0, 1fr); }
.sec-head--last { margin-bottom: 0; }
.sec--tight-top { padding-top: clamp(32px, 5vw, 64px); }
.sec--flush-top { padding-top: 0; }
.h2-lg { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.35; letter-spacing: 0.02em; }
.gap-b { margin-bottom: 26px; }
.gap-b-s { margin-bottom: 16px; }
.gap-t { margin-top: 28px; }
.hotlines-paper { margin-top: 22px; }
.hotlines-paper .hotline { border-color: var(--line-strong); color: var(--ink); background: #fff8f4; }
.hotlines-paper .hotline:hover { color: var(--red); border-color: var(--red); background: #fff8f4; }
.hotlines-paper .hotline .label { color: var(--muted); }
.hotlines-paper .hotline .num { color: var(--red); }
.sec-foot { margin-top: clamp(32px, 4vw, 52px); }
.prose { max-width: 36em; }
.prose p { margin-bottom: 1.1em; }

/* 首页：源流三点（真实的时间顺序） */
.origin-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.origin-grid h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.4; }
.origin-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-top: 36px; }
.origin-line li { position: relative; padding: 22px 18px 0 0; }
.origin-line li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.origin-line .year { display: block; font: 600 24px/1.2 var(--serif); color: var(--red); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.origin-line p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* 产品：宴席桌签式卡片 */
.bottle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.bottle-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.bottle-card .stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 22px 12px 18px;
  background: linear-gradient(180deg, var(--paper-deep) 0%, #e8cfc4 100%);
  border-top: 3px solid var(--red);
  overflow: hidden;
}
.bottle-card .stage img { height: 92%; width: auto; transition: transform 0.35s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 16px 14px rgba(42, 11, 16, 0.22)); }
.bottle-card:hover .stage img { transform: translateY(-6px); }
.bottle-card .meaning { position: absolute; top: 18px; right: 16px; writing-mode: vertical-rl; font: 600 15px/1 var(--serif); letter-spacing: 0.2em; color: var(--red); }
.bottle-card h3 { margin-top: 16px; font-size: 21px; letter-spacing: 0.04em; color: var(--ink); }
.bottle-card:hover h3 { color: var(--red); }
.bottle-card .spec { margin-top: 4px; color: var(--muted); font-size: 14px; }
.bottle-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sec-night .bottle-card .stage { background: linear-gradient(180deg, #3a1016, #4a141d); border-top-color: var(--gold); }

/* 图片与标注 */
.figure { margin: 0; }
.figure .frame { position: relative; display: block; }
.figure img { width: 100%; }
.ai-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(20, 6, 8, 0.66);
  color: #f3e3d9;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.sec-night .figure figcaption { color: #bfa59a; }

/* 吉祥图腾：印章 + 释义 */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--reverse > :first-child { order: 2; }
.motif-list { display: grid; gap: 26px; margin-top: 32px; }
.motif { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 16px; align-items: start; }
.motif h3 { font-size: 21px; margin: 2px 0 6px; }
.motif p { color: var(--muted); }
.motif-list--row { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; margin-top: 0; }
.sec-night .motif p { color: #cdb3a8; }

/* 宴席：像一张宴单 */
.menu-list { border-top: 1px solid var(--line-strong); }
.menu-item { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.menu-item .wish { font: 600 15px/1.4 var(--serif); color: var(--red); letter-spacing: 0.12em; }
.menu-item h3 { font-size: clamp(20px, 2vw, 25px); }
.menu-item p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.menu-item .go { color: var(--red); font-size: 14px; white-space: nowrap; }
a.menu-item:hover h3 { color: var(--red); }

/* 酿造：粮曲窖水人 */
.five-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(230, 203, 145, 0.25); border-bottom: 1px solid rgba(230, 203, 145, 0.25); }
.five-row li { padding: 26px 18px 24px; border-left: 1px solid rgba(230, 203, 145, 0.18); }
.five-row li:first-child { border-left: 0; padding-left: 0; }
.five-row .seal { margin-bottom: 14px; }
.five-row p { font-size: 15px; color: #d8c0b5; line-height: 1.7; }
.photo-trio { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.photo-trio .figure img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }

/* 招商条 */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.3; margin-bottom: 16px; }
.cta-band p { color: #f3d9cd; max-width: 30em; }
.hotlines { display: grid; gap: 12px; }
.hotline { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid rgba(251, 238, 230, 0.35); border-radius: 3px; color: #fff; text-decoration: none; }
.hotline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(251, 238, 230, 0.7); }
.hotline .label { font-size: 14px; color: #f3d9cd; letter-spacing: 0.08em; }
.hotline .num { font: 600 clamp(22px, 2.4vw, 30px)/1 var(--serif); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.sec-paper-hotline .hotline, .contact-card .hotline { border-color: var(--line-strong); color: var(--ink); }
.contact-card .hotline:hover { background: var(--paper); color: var(--red); }
.contact-card .hotline .label { color: var(--muted); }
.contact-card .hotline .num { color: var(--red); }

/* 品牌故事：时间线 */
.timeline { position: relative; display: grid; gap: 0; max-width: 920px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 9.5em; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 0 40px; padding: 0 0 38px; }
.timeline li::before { content: ""; position: absolute; left: calc(9.5em - 4.5px); top: 13px; width: 9px; height: 9px; background: var(--paper); border: 1.5px solid var(--red); transform: rotate(45deg); }
.timeline li.is-legend::before { border-style: dashed; }
.timeline .when { font: 600 20px/1.5 var(--serif); color: var(--red); text-align: right; padding-right: 12px; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 20px; line-height: 1.5; padding-left: 22px; }
.timeline p { padding-left: 22px; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.timeline .legend-tag { display: inline-block; margin-left: 10px; padding: 0 7px; border: 1px dashed var(--line-strong); border-radius: 2px; color: var(--muted); font: 400 12px/1.7 var(--sans); vertical-align: 3px; letter-spacing: 0.06em; }
.timeline-note { margin-top: 8px; color: var(--muted); font-size: 14px; }
.sources { margin-top: 28px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.sources a { color: var(--muted); }

/* 品牌理念：竖排四句 */
.motto-cols { display: flex; flex-direction: row-reverse; justify-content: center; gap: clamp(20px, 5vw, 64px); margin: 8px 0 0; }
.motto-cols span { writing-mode: vertical-rl; text-orientation: upright; font: 900 clamp(34px, 4.6vw, 60px)/1 var(--serif); letter-spacing: 0.18em; color: var(--gold-text); }
.quote { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 36em; text-align: center; }
.quote p { font: 600 clamp(20px, 2.2vw, 26px)/1.7 var(--serif); color: #f6e6dd; }
.quote footer { margin-top: 16px; color: #cdb3a8; font-size: 14.5px; letter-spacing: 0.06em; }

/* 产品详情 */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pd-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 5 / 6; padding: 36px 24px 30px; background: radial-gradient(80% 60% at 50% 55%, #f6e2d8 0%, var(--paper-deep) 60%, #e3c6ba 100%); border-top: 3px solid var(--red); overflow: hidden; }
.pd-stage img { height: 92%; width: auto; filter: drop-shadow(0 26px 22px rgba(42, 11, 16, 0.25)); }
.pd-stage .meaning { position: absolute; top: 28px; right: 26px; writing-mode: vertical-rl; text-orientation: upright; font: 900 clamp(28px, 3.2vw, 42px)/1 var(--serif); letter-spacing: 0.16em; color: var(--red); }
.pd-info h1 { font: 900 clamp(36px, 4.6vw, 60px)/1.15 var(--serif); letter-spacing: 0.02em; margin-bottom: 18px; color: var(--ink); }
.pd-info .pd-line { font: 600 clamp(19px, 1.9vw, 23px)/1.6 var(--serif); color: var(--red); margin-bottom: 18px; }
.pd-info .pd-desc { color: var(--muted); max-width: 32em; }
.spec-list { display: grid; grid-template-columns: 6em minmax(0, 1fr); margin: 28px 0 0; border-top: 1px solid var(--line-strong); }
.spec-list dt, .spec-list dd { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { color: var(--ink); font-weight: 600; }
.fine { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.pd-info .fine { margin-top: 16px; }

/* 宴席详情 */
.occasion { display: grid; grid-template-columns: 11em minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(20px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.occasion:first-of-type { border-top: 1px solid var(--line-strong); }
.occasion .wish { font: 900 clamp(26px, 2.8vw, 36px)/1.25 var(--serif); color: var(--red); letter-spacing: 0.06em; }
.occasion h2 { font-size: clamp(23px, 2.3vw, 30px); line-height: 1.4; margin-bottom: 12px; }
.occasion p { color: var(--muted); }
.occasion .picks h3 { font: 600 14px/1.6 var(--sans); color: var(--muted); letter-spacing: 0.1em; margin-bottom: 10px; }
.pick { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pick:last-child { border-bottom: 0; }
.pick img { width: 44px; height: 72px; object-fit: contain; }
.pick strong { display: block; font: 600 17px/1.4 var(--serif); }
.pick span { display: block; color: var(--muted); font-size: 14px; }
.pick:hover strong { color: var(--red); }
.occasion .note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.occasion .occ-head { display: block; margin-top: 6px; color: var(--muted); font-size: 0.72em; font-weight: 600; }
.craft-quote { margin: 0; }
.craft-item .craft-quote p { font: 900 clamp(30px, 3.6vw, 48px)/1.45 var(--serif); color: var(--red); letter-spacing: 0.04em; }

/* 酿造详情 */
.craft-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.craft-item:nth-of-type(even) > .figure { order: 2; }
.craft-item .head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.craft-item h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; }
.craft-item p { color: var(--muted); max-width: 30em; }
.figures { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 22px; }
.figures div { min-width: 7em; }
.figures strong { display: block; font: 600 28px/1.2 var(--serif); color: var(--red); font-variant-numeric: tabular-nums; }
.figures span { display: block; font-size: 14px; color: var(--muted); }

/* 品牌动态 */
.article { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line-strong); }
.article time { display: block; font: 600 16px/1.6 var(--serif); color: var(--red); margin-bottom: 10px; }
.article h2 { font-size: clamp(23px, 2.4vw, 31px); line-height: 1.4; margin-bottom: 14px; }
.article p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery .figure:first-child, .gallery .credit { grid-column: 1 / -1; }
.gallery .credit { margin: 2px 0 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .figure:first-child img { aspect-ratio: 16 / 10; }

/* 招商合作 */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.channels li { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.channels h3 { font-size: 21px; margin-bottom: 6px; }
.channels p { color: var(--muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillars li { padding-top: 18px; border-top: 2px solid var(--gold); }
.pillars h3 { font-size: 21px; margin-bottom: 6px; }
.pillars p { color: #cdb3a8; font-size: 15.5px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 48px); background: #fff8f4; border-top: 3px solid var(--red); }
.contact-card h2 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 18px; }
.contact-card .company { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 10px 14px; font-size: 15.5px; }
.contact-card .company dt { color: var(--muted); }
.contact-card .company dd { color: var(--ink); }
.contact-card .hotlines { align-content: start; }

/* 理性饮酒 */
.law-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); max-width: 760px; }
.law-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font: 600 clamp(19px, 2vw, 24px)/1.5 var(--serif); }
.notice { max-width: 760px; margin-top: 36px; padding: 22px 26px; background: #fff8f4; border-left: 3px solid var(--red); }

/* 404 */
.lost { min-height: 52vh; display: grid; align-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--night); color: #cdb3a8; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 40px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 40px; }
.footer-brand .brand-mark { color: var(--gold-text); width: 150px; height: 37px; }
.footer-brand .motto { margin: 16px 0 22px; font: 600 18px/1.5 var(--serif); color: var(--gold-text); letter-spacing: 0.08em; }
.footer-brand .maker { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.footer-brand .maker img { width: 52px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; align-content: start; }
.footer-links a { color: #ead8cf; text-decoration: none; padding: 3px 0; }
.footer-links a:hover { color: var(--gold-text); }
.footer-contact h2 { font: 600 15px/1.5 var(--sans); color: var(--gold-text); letter-spacing: 0.12em; margin-bottom: 10px; }
.footer-contact a { color: #f3e3d9; text-decoration: none; font: 600 20px/1.6 var(--serif); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.footer-contact a:hover { color: var(--gold-text); }
.footer-contact p { margin: 0 0 4px; }
.footer-contact .addr { margin-top: 14px; font-size: 14px; line-height: 1.7; }
.footer-law { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(230, 203, 145, 0.16); }
.footer-law .law { font: 600 17px/1.6 var(--serif); color: #f3e3d9; letter-spacing: 0.14em; margin-bottom: 8px; }
.footer-law .fine { color: #a98d83; }
.footer-law a { color: #cdb3a8; }

/* ---------- 年龄确认（仅在脚本判定需要时出现；后台编辑区不显示） ---------- */
.age-gate { display: none; }
.age-check .age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(30, 7, 11, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.age-check body { overflow: hidden; }
.age-card { width: min(440px, 100%); padding: 40px 32px 30px; text-align: center; background: var(--paper); border-top: 3px solid var(--red); border-radius: 4px; }
.age-card .seal { width: 4rem; height: 4rem; font-size: 2rem; margin-bottom: 18px; }
.age-card h2 { font-size: 26px; margin-bottom: 10px; }
.age-card p { color: var(--muted); }
.age-card .actions { justify-content: center; }
.age-card .fine { margin-top: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-areas: "title stage" "copy copy"; }
  .five-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .five-row li:nth-child(4) { border-left: 0; padding-left: 0; }
  .five-row li:nth-child(n+4) { border-top: 1px solid rgba(230, 203, 145, 0.18); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .sec-head, .origin-grid, .split, .split--reverse, .cta-band, .pd-grid, .article, .contact-card, .craft-item { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child, .craft-item:nth-of-type(even) > .figure { order: 0; }
  .bottle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .origin-line { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
  .origin-line li { padding: 0 0 22px 22px; }
  .origin-line li::before { top: 8px; left: -5px; }
  .menu-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .menu-item .go { display: none; }
  .photo-trio { grid-template-columns: 1fr 1fr; }
  .photo-trio .figure:first-child { grid-column: 1 / -1; }
  .timeline::before { left: 0; }
  .timeline li { grid-template-columns: minmax(0, 1fr); padding-left: 24px; }
  .timeline li::before { left: -4.5px; }
  .timeline .when { text-align: left; padding: 0; }
  .timeline h3, .timeline p { padding-left: 0; }
  .occasion { grid-template-columns: minmax(0, 1fr); }
  .channels, .pillars { grid-template-columns: minmax(0, 1fr); }
  .pd-stage { max-width: 460px; }
  .page-hero-grid { gap: 24px; }
}
@media (max-width: 560px) {
  .hero { min-height: 0; padding-top: 100px; padding-bottom: 44px; }
  .hero-grid { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "title words" "stage stage" "act act"; grid-template-rows: auto; gap: 18px 20px; min-height: 0; align-items: center; }
  .hero-copy { display: contents; }
  .hero-words { grid-area: words; }
  .hero-act { grid-area: act; }
  .hero-title { font-size: clamp(66px, 20vw, 92px); }
  .hero-motto { font-size: 19px; }
  .hero-lede { font-size: 15px; }
  .hero-stage { min-height: 0; margin-top: 6px; }
  .shidi { width: 84%; top: 50%; }
  .hero-bottles img { height: clamp(170px, 50vw, 250px); margin: 0 -2.5%; }
  .hero-bottles img:nth-child(1), .hero-bottles img:nth-child(4) { height: clamp(146px, 43vw, 214px); }
  .hero-bottles img:nth-child(3) { height: clamp(160px, 47vw, 236px); }
  .brand-sub { display: none; }
  .five-row { grid-template-columns: 1fr 1fr; }
  .five-row li { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(230, 203, 145, 0.18); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .contact-card .company { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact-card .company dd { margin-bottom: 10px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero .v-title { writing-mode: horizontal-tb; font-size: clamp(40px, 12vw, 56px); letter-spacing: 0.06em; }
  .motto-cols span { font-size: clamp(28px, 9vw, 40px); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .age-gate, .site-footer nav { display: none !important; }
  body { background: #fff; }
}
.footer-law .law span, .age-card .fine span { white-space: nowrap; }
