/* =========================================================
   燕山药材店 · Yan Shan Herbal
   Design system + layout
   ========================================================= */

:root {
  /* palette */
  --paper:        #F7F2E7;
  --paper-deep:   #EFE6D3;
  --paper-warm:   #FBF7EE;
  --ink:          #1B1915;
  --ink-soft:     #4C463B;
  --ink-faint:    #857C6C;
  --jade:         #21352A;
  --jade-2:       #2C4636;
  --clay:         #8B5E3C;
  --cinnabar:     #A6392B;
  --cinnabar-dk:  #8B2C21;
  --gold:         #B08B4F;
  --wa:           #2A7A55;
  --wa-dk:        #226344;

  --line:         rgba(27, 25, 21, .13);
  --line-soft:    rgba(27, 25, 21, .07);
  --line-light:   rgba(247, 242, 231, .16);

  /* type */
  --serif:  'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --sans:   'Noto Sans SC', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --disp:   'Cormorant Garamond', 'Noto Serif SC', serif;

  /* metrics */
  --wrap: 1280px;
  --gut: clamp(20px, 5vw, 72px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  -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; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--cinnabar); color: var(--paper); }

/* paper grain */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb { background: #C9BCA2; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--clay); }

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

/* =========================================================
   Ticker
   ========================================================= */
.ticker {
  background: var(--jade);
  color: rgba(247, 242, 231, .82);
  font-size: 11.5px;
  letter-spacing: .18em;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 26px;
  padding-left: 26px;
  white-space: nowrap;
  animation: ticker 46s linear infinite;
}
.ticker__track i {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); flex: 0 0 auto;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(247, 242, 231, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -28px rgba(27, 25, 21, .5);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand__seal {
  width: 48px; height: 48px; flex: 0 0 auto;
  position: relative;
  display: block;
  transition: transform .5s var(--ease);
}
.brand__seal img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(27, 25, 21, .18));
}
.brand:hover .brand__seal { transform: rotate(-6deg); }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__text strong {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  letter-spacing: .1em; line-height: 1.3;
}
.brand__text em {
  font-style: normal;
  font-size: 9.5px; letter-spacing: .22em;
  color: var(--ink-faint); line-height: 1;
}

.nav { display: flex; gap: 30px; margin-right: 12px; }
.nav a {
  position: relative;
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--cinnabar);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--cinnabar); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; }

.lang { display: flex; align-items: center; gap: 5px; font-size: 12.5px; letter-spacing: .08em; }
.lang__btn { color: var(--ink-faint); padding: 3px 1px; transition: color .3s; }
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { color: var(--ink); font-weight: 500; }
.lang__sep { color: var(--line); font-size: 11px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  font-size: 13.5px; letter-spacing: .1em; line-height: 1;
  border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.btn--sm { padding: 10px 18px; font-size: 12.5px; }
.btn--lg { padding: 18px 34px; font-size: 14px; }
.btn--solid { background: var(--jade); color: var(--paper); }
.btn--solid:hover { background: var(--jade-2); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(27, 25, 21, .04); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dk); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(247, 242, 231, .35); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--jade); border-color: var(--paper); }
.btn__arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 9px; width: 22px; height: 1.4px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* =========================================================
   Shared type bits
   ========================================================= */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--clay); font-weight: 400;
}
.eyebrow__line { width: 34px; height: 1px; background: var(--gold); flex: 0 0 auto; }
.eyebrow--light { color: rgba(247, 242, 231, .62); }
.eyebrow--light .eyebrow__line { background: var(--gold); }

.section { padding-block: clamp(72px, 10vw, 132px); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.section__head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  font-weight: 500; line-height: 1.3;
  letter-spacing: .04em;
  margin-top: 20px;
}
.section__title--light { color: var(--paper); }
.section__sub {
  margin-top: 20px; max-width: 560px;
  color: var(--ink-soft); font-size: 15px; line-height: 2;
}
.section__aside {
  max-width: 330px; font-size: 13.5px; line-height: 2;
  color: var(--ink-faint);
  padding-bottom: 6px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  min-height: clamp(600px, 86vh, 880px);
  max-width: 1560px; margin-inline: auto;
}
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 5vw, 76px);
  padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(176, 139, 79, .10), transparent 60%),
    var(--paper);
}
.hero__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: .02em;
}
.hero__title-zh { display: block; }
.hero__lede {
  margin-top: 28px;
  max-width: 470px;
  font-size: 15.5px; line-height: 2.05;
  color: var(--ink-soft);
}
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  margin-top: 60px; padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; gap: clamp(24px, 4vw, 54px);
}
.hero__stats > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero__stats dd {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400; line-height: 1;
  letter-spacing: .02em;
}
.hero__stats sup { font-size: .5em; vertical-align: super; color: var(--clay); }
.hero__stats dt {
  font-size: 11px; letter-spacing: .16em; color: var(--ink-faint);
}

/* 首屏服务关键词 */
.hero__serves {
  display: flex; flex-wrap: wrap; align-items: center;
  margin-top: 28px;
}
.hero__serves li {
  font-size: 12px; letter-spacing: .1em; line-height: 1.3;
  color: var(--ink-soft);
  padding-right: 15px; margin-right: 15px;
  border-right: 1px solid var(--line);
}
.hero__serves li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.hero__media { position: relative; overflow: hidden; background: var(--jade); }
.hero__frame { position: absolute; inset: 0; }
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-out forwards;
}
@keyframes heroDrift { to { transform: scale(1.09); } }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(33, 53, 42, .34), transparent 42%),
              linear-gradient(0deg, rgba(27, 25, 21, .28), transparent 45%);
}
.hero__stamp {
  position: absolute; z-index: 3;
  left: clamp(18px, 3vw, 40px); bottom: clamp(24px, 4vw, 52px);
  width: 92px; height: 92px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .38));
}
.hero__stamp img { width: 100%; height: 100%; object-fit: contain; }
.hero__vertical {
  position: absolute; z-index: 3;
  right: clamp(14px, 2vw, 30px); top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 13px; letter-spacing: .5em;
  color: rgba(247, 242, 231, .62);
}

/* =========================================================
   Trust
   ========================================================= */
.trust {
  background: var(--paper-warm);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(38px, 4.5vw, 56px);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.trust__item { display: flex; flex-direction: column; gap: 8px; }
.trust__item svg {
  width: 26px; height: 26px; color: var(--clay);
  margin-bottom: 4px;
}
.trust__item h3 {
  font-family: var(--serif);
  font-size: 15.5px; font-weight: 600; letter-spacing: .07em;
}
.trust__item p { font-size: 12.5px; line-height: 1.85; color: var(--ink-faint); }

/* =========================================================
   Herbs — 柜上常备
   ========================================================= */
.section--herbs { background: var(--paper-deep); }

.herbs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.herb {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 18px 18px;
  min-height: 250px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
  overflow: hidden;
  transition: color .5s var(--ease);
}

/* 绿色底板：hover 时由下往上升起 */
.herb::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: var(--jade);
  transform: translateY(101%);
  transition: transform .62s var(--ease);
}
.herb:hover { color: var(--paper); }
.herb:hover::before { transform: translateY(0); }

/* 文字只占左边 70%，右边 30% 留给图 */
.herb__body {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; flex: 1;
  width: 70%;
}

/* 右侧竖条：平时藏在画外，hover 从右滑入 */
.herb__spine {
  position: absolute; z-index: 3;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  display: grid; place-items: center;
  background: var(--cinnabar-dk);
  overflow: hidden;
  transform: translateX(101%);
  transition: transform .62s var(--ease) .03s;
}
.herb:hover .herb__spine { transform: translateX(0); }

.herb__spine img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.herb__spine--photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 18, 15, .64), rgba(20, 18, 15, .12));
}
.herb__spine i {
  position: relative; z-index: 1;
  writing-mode: vertical-rl;
  font-style: normal;
  font-size: 8px; letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .78);
  white-space: nowrap;
}

/* 水印字：默认右下角，hover 滑到左下角 */
.herb__ghost {
  position: absolute; z-index: 2;
  bottom: -46px;
  left: 100%; margin-left: -8px;
  transform: translateX(-100%);
  font-family: var(--serif);
  font-size: 124px; line-height: 1;
  color: var(--ink); opacity: .045;
  pointer-events: none;
  transition: left .68s var(--ease), transform .68s var(--ease),
              opacity .55s var(--ease), color .55s var(--ease);
}
.herb:hover .herb__ghost {
  left: 0; transform: translateX(0);
  color: var(--paper); opacity: .085;
}

.herb__no {
  font-family: var(--disp);
  font-size: 10.5px; letter-spacing: .18em;
  color: var(--clay);
  transition: color .5s var(--ease);
}
.herb:hover .herb__no { color: var(--gold); }

.herb h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 21px; font-weight: 600; letter-spacing: .06em;
  line-height: 1.3;
}
.herb__en {
  margin-top: 4px;
  font-size: 8px; letter-spacing: .18em;
  color: var(--clay);
  transition: color .5s var(--ease);
}
.herb:hover .herb__en { color: rgba(247, 242, 231, .55); }
.herb__use {
  margin-top: 13px;
  font-size: 11px; letter-spacing: .02em; line-height: 1.7;
  color: var(--cinnabar);
  transition: color .5s var(--ease);
}
.herb:hover .herb__use { color: var(--gold); }
.herb__note {
  margin-top: 6px; flex: 1;
  font-size: 11px; line-height: 1.75;
  color: var(--ink-faint);
  transition: color .5s var(--ease);
}
.herb:hover .herb__note { color: rgba(247, 242, 231, .6); }
.herb__ask {
  margin-top: 12px; align-self: flex-start;
  font-size: 10px; letter-spacing: .16em;
  color: var(--wa);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .5s var(--ease), border-color .4s var(--ease);
}
.herb__ask::after { content: ' ↗'; }
.herb:hover .herb__ask { color: var(--gold); border-bottom-color: var(--gold); }

.herbs__foot {
  margin-top: 24px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-faint); letter-spacing: .02em;
}
.herbs__foot a {
  font-size: 12.5px; letter-spacing: .1em; color: var(--wa);
  border-bottom: 1px solid transparent;
  transition: border-color .35s;
}
.herbs__foot a:hover { border-bottom-color: var(--wa); }

/* 触屏没有 hover：右侧竖条常驻显示，文字留出位置 */
@media (hover: none) {
  .herb__spine { transform: none; }
  .herb__body { width: 64%; }
}

/* =========================================================
   Gallery — 店内实景
   ========================================================= */
.section--store { background: var(--paper); }

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 14px);
}
.gallery__item {
  position: relative; margin: 0; overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 1 / 1.1;
}
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1.15;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.96);
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); filter: none; }
.gallery__item::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 48%;
  background: linear-gradient(0deg, rgba(20, 18, 15, .66), transparent);
  pointer-events: none;
}
.gallery__item figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 2;
  color: rgba(247, 242, 231, .9);
  font-size: 10.5px; letter-spacing: .13em;
  line-height: 1.6;
}

/* 门面照 */
.shopfront {
  margin: 0 0 clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper-warm);
  overflow: hidden;
}
.shopfront img { width: 100%; height: auto; display: block; }

/* =========================================================
   Services
   ========================================================= */
.section--services {
  background: var(--jade);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.section--services::before {
  content: '';
  position: absolute; right: -10%; top: -20%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(176, 139, 79, .13), transparent 62%);
  pointer-events: none;
}
.services {
  position: relative;
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services__note {
  margin-top: 24px; max-width: 400px;
  font-size: 14px; line-height: 2.05;
  color: rgba(247, 242, 231, .62);
}
.services__head .btn { margin-top: 32px; }

.services__list { border-top: 1px solid var(--line-light); }
.svc {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 18px;
  padding-block: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line-light);
  align-items: start;
  transition: background .5s var(--ease);
}
.svc:hover { background: rgba(247, 242, 231, .045); }
.svc__no {
  font-family: var(--disp);
  font-size: 13px; letter-spacing: .16em;
  color: var(--gold); padding-top: 5px;
}
.svc h3 {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500; letter-spacing: .08em;
  margin-bottom: 8px;
}
.svc p {
  font-size: 13px; line-height: 1.95;
  color: rgba(247, 242, 231, .58);
  max-width: 440px;
}
.svc__meta {
  font-size: 11.5px; letter-spacing: .1em;
  color: rgba(247, 242, 231, .5);
  white-space: nowrap; padding-top: 6px;
}

/* =========================================================
   Story
   ========================================================= */
.story {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.story__media { position: relative; }
.story__media img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  filter: saturate(.94) contrast(1.02);
}
.story__media::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); opacity: .45;
  pointer-events: none;
}
.story__caption {
  position: absolute; left: 0; bottom: 0;
  background: var(--paper);
  padding: 12px 20px 11px;
  font-size: 11px; letter-spacing: .14em;
  color: var(--ink-faint);
}
.story__text .section__title { margin-top: 18px; }
.story__p {
  margin-top: 20px;
  font-size: 14.5px; line-height: 2.1;
  color: var(--ink-soft);
  max-width: 540px;
}
.story__p--lede {
  font-size: 16.5px; line-height: 2.02;
  color: var(--ink);
  font-weight: 300;
}

.creed { margin-top: 38px; border-top: 1px solid var(--line); }
.creed li {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 16px; align-items: start;
  padding-block: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.creed__no {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 12px; color: var(--clay);
  margin-top: 2px;
}
.creed h4 {
  font-family: var(--serif);
  font-size: 15px; font-weight: 600; letter-spacing: .08em;
  margin-bottom: 3px;
}
.creed p { font-size: 12.5px; line-height: 1.85; color: var(--ink-faint); }

/* =========================================================
   Visit
   ========================================================= */
.section--visit { background: var(--paper-deep); }
.visit {
  display: grid; grid-template-columns: 1fr 1.06fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.visit__info { display: flex; flex-direction: column; }
.info-row {
  display: grid; grid-template-columns: 96px 1fr;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row__label {
  font-size: 11px; letter-spacing: .18em;
  color: var(--clay); padding-top: 4px;
}
.info-row p { font-size: 14px; line-height: 1.95; }
.info-row p em {
  font-style: normal; font-size: 12px; color: var(--ink-faint);
}
.info-row a { border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.info-row a:hover { color: var(--cinnabar); border-bottom-color: var(--cinnabar); }
.info-row__link {
  display: inline-block; margin-left: 10px;
  font-size: 12px; letter-spacing: .06em; color: var(--clay) !important;
}
.info-row__wa {
  font-size: 9.5px; letter-spacing: .14em;
  background: var(--wa); color: #fff;
  padding: 2px 6px 1px; margin-left: 6px;
  vertical-align: 2px;
}

.visit__map {
  position: relative;
  min-height: 440px;
  background: #DFD4BC;
  border: 1px solid var(--line);
  overflow: hidden;
}
.visit__map iframe {
  position: relative; z-index: 2;
  width: 100%; height: 100%; min-height: 440px;
  border: 0; display: block;
  filter: grayscale(.35) sepia(.18) saturate(.9) contrast(1.02);
  transition: filter .6s var(--ease);
}
.visit__map:hover iframe { filter: none; }
.visit__map-fallback {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: .1em; color: var(--ink-faint);
  background:
    repeating-linear-gradient(45deg, rgba(139, 94, 60, .07) 0 2px, transparent 2px 12px),
    #E5DBC6;
}

/* 地图底部常驻的 Google Maps 链接：万一嵌入加载不出来，也有可点的入口 */
.visit__map-link {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: rgba(247, 242, 231, .95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: .12em; color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.visit__map-link:hover { background: var(--jade); color: var(--paper); }
.visit__map-link__arrow { font-size: 13px; line-height: 1; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: var(--cinnabar-dk);
  color: var(--paper);
  padding-block: clamp(52px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '燕';
  position: absolute; right: 4%; bottom: -14%;
  font-family: var(--serif);
  font-size: clamp(200px, 26vw, 380px);
  line-height: 1;
  color: rgba(247, 242, 231, .06);
  pointer-events: none;
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.cta-band__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
  font-weight: 500; letter-spacing: .05em; line-height: 1.4;
}
.cta-band p {
  margin-top: 16px; max-width: 600px;
  font-size: 13.5px; line-height: 2.05;
  color: rgba(247, 242, 231, .76);
}
.cta-band .btn--solid { background: var(--paper); color: var(--cinnabar-dk); }
.cta-band .btn--solid:hover { background: #fff; transform: translateY(-2px); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: rgba(247, 242, 231, .72); padding-block: clamp(48px, 6vw, 76px) 32px; }
.footer__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 242, 231, .12);
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand strong {
  font-family: var(--serif);
  font-size: 17px; font-weight: 600; letter-spacing: .1em;
  color: var(--paper); display: block;
}
.footer__brand p { margin-top: 6px; font-size: 12.5px; line-height: 1.8; max-width: 280px; }
.footer__nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: .1em; padding-top: 4px; }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--paper); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .04em; text-align: right; }
.footer__contact a { transition: color .3s; }
.footer__contact a:hover { color: var(--paper); }
.footer__addr { font-size: 11.5px; letter-spacing: .02em; color: rgba(247, 242, 231, .42); line-height: 1.7; }
.footer__legal {
  display: block;
  font-size: 10px; letter-spacing: .04em;
  color: rgba(247, 242, 231, .38);
  line-height: 1.85; margin-top: 4px;
}
.footer__bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__disc { font-size: 11.5px; line-height: 1.95; max-width: 660px; color: rgba(247, 242, 231, .52); }
.footer__copy { font-size: 11.5px; letter-spacing: .08em; color: rgba(247, 242, 231, .52); white-space: nowrap; }

/* =========================================================
   WhatsApp float
   ========================================================= */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
  z-index: 950;
  display: inline-flex; align-items: center; gap: 0;
  background: var(--wa); color: #fff;
  height: 54px; padding-inline: 15px;
  border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(34, 99, 68, .7);
  overflow: hidden;
  transition: background .35s var(--ease), padding .45s var(--ease), gap .45s var(--ease);
}
.wa-float svg { width: 25px; height: 25px; fill: currentColor; flex: 0 0 auto; }
.wa-float__label {
  max-width: 0; opacity: 0; white-space: nowrap;
  font-size: 13px; letter-spacing: .06em;
  transition: max-width .45s var(--ease), opacity .35s var(--ease), margin .45s var(--ease);
}
.wa-float:hover { background: var(--wa-dk); gap: 9px; }
.wa-float:hover .wa-float__label { max-width: 140px; opacity: 1; }
.wa-float::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(42, 122, 85, .5);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(42, 122, 85, .45); }
  70%  { box-shadow: 0 0 0 16px rgba(42, 122, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 122, 85, 0); }
}

/* =========================================================
   Reveal
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }
.reveal[data-d="6"] { transition-delay: .54s; }
.reveal[data-d="7"] { transition-delay: .63s; }

/* =========================================================
   English typography overrides
   ========================================================= */
html[data-lang="en"] body { font-family: 'Inter', var(--sans); letter-spacing: .004em; }
html[data-lang="en"] .brand__text strong,
html[data-lang="en"] .hero__title-zh,
html[data-lang="en"] .section__title,
html[data-lang="en"] .herb h3,
html[data-lang="en"] .svc h3,
html[data-lang="en"] .creed h4,
html[data-lang="en"] .trust__item h3,
html[data-lang="en"] .cta-band h2,
html[data-lang="en"] .footer__brand strong {
  font-family: var(--disp);
  font-weight: 500;
  letter-spacing: 0;
}
html[data-lang="en"] .brand__text strong { font-size: 19px; }
html[data-lang="en"] .hero__title-zh { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.04; }
html[data-lang="en"] .section__title { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.12; }
html[data-lang="en"] .herb h3 { font-size: 19px; line-height: 1.25; }
html[data-lang="en"] .svc h3 { font-size: 20px; }
html[data-lang="en"] .creed h4 { font-size: 17px; }
html[data-lang="en"] .trust__item h3 { font-size: 17px; }
html[data-lang="en"] .cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.2; }
html[data-lang="en"] .herb__ghost { font-family: var(--serif); }
html[data-lang="en"] .hero__lede,
html[data-lang="en"] .section__sub,
html[data-lang="en"] .story__p { line-height: 1.78; }
html[data-lang="en"] .story__p--lede { font-size: 17px; line-height: 1.7; }
html[data-lang="en"] .hero__vertical { letter-spacing: .34em; font-size: 11px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .herbs { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; gap: 44px; }
  .services__head { max-width: 620px; }
  .story { grid-template-columns: 1fr; }
  .story__media img { aspect-ratio: 16 / 10; }
  .story__media::before { display: none; }
  .visit { grid-template-columns: 1fr; }
  .visit__map { min-height: 380px; }
  .visit__map iframe { min-height: 380px; }
  .nav { gap: 22px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy {
    padding-inline: var(--gut);
    padding-block: clamp(44px, 8vw, 64px);
    order: 2;
  }
  .hero__media { order: 1; height: clamp(260px, 42vh, 400px); }
  .hero__media::after { background: linear-gradient(0deg, rgba(27,25,21,.34), transparent 55%); }
  .hero__vertical { display: none; }
  .hero__stats { margin-top: 40px; }
  .herbs { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 24px;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    box-shadow: 0 30px 50px -40px rgba(27,25,21,.6);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a {
    font-size: 19px; padding-block: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .burger { display: block; }
  .header__actions .btn--wa { display: none; }
  .footer__contact { text-align: left; }
  .footer__top { gap: 28px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .ticker { font-size: 10.5px; letter-spacing: .14em; }
  .brand { gap: 10px; }
  .brand__seal { width: 38px; height: 38px; }
  .brand__text strong { font-size: 15px; letter-spacing: .03em; white-space: nowrap; }
  .brand__text em { font-size: 7.5px; letter-spacing: .14em; white-space: nowrap; }
  .lang { gap: 3px; font-size: 11.5px; }
  .header__actions { gap: 10px; }
  .hero__serves { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .hero__serves li { border-right: 0; margin-right: 0; padding-right: 0; }
  .herbs { grid-template-columns: 1fr; }
  .herb { min-height: 0; padding: 20px 18px 16px; }
  .herb__body { width: 63%; }
  .herb__spine { display: grid; transform: none; width: 34%; }
  .herb__ghost { font-size: 96px; bottom: -26px; opacity: .038; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
  .trust__item:last-child { border-bottom: 0; }
  .section__head--row { gap: 20px; }
  .section__aside { max-width: none; }
  .svc { grid-template-columns: 34px 1fr; row-gap: 8px; }
  .svc__meta { grid-column: 2; padding-top: 0; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
  .info-row__label { padding-top: 0; }
  .visit__map-link { padding-right: 76px; }
  .cta-band__inner { gap: 28px; }
  .cta-band__actions { width: 100%; }
  .cta-band .btn { width: 100%; }
  .hero__stamp { width: 68px; height: 68px; }
  .creed li { grid-template-columns: 30px 1fr; gap: 12px; }
  .footer__bottom { flex-direction: column; gap: 14px; }
  .wa-float { height: 50px; padding-inline: 13px; }
  .wa-float svg { width: 23px; height: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
