/* ==================================================================
   luduanwisp — 视觉系统
   暗色烟雾首屏 + 暖纸正文 + 余烬橙强调色
   ================================================================== */

:root {
  --paper: #f6f1e8;
  --paper-2: #efe8dc;
  --paper-3: #e8dfd0;
  --ink: #14110e;
  --ink-soft: #3a332c;
  --muted: #8a8177;
  --line: rgba(20, 17, 14, 0.12);
  --line-strong: rgba(20, 17, 14, 0.24);
  --ember: #c05b2e;
  --ember-soft: #e08a5c;
  --gold: #b08a4f;
  --night: #0c0a08;
  --night-2: #16120f;
  --cream: #f3ece0;
  --cream-dim: #cfc4b3;
  --cream-muted: #9c9284;
  --line-dark: rgba(243, 236, 224, 0.14);

  --max: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --r: 2px;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC",
    "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "SimSun",
    "Noto Serif JP", "Yu Mincho", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans KR",
    "Malgun Gothic", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ember);
  color: #fff;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

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

/* ---------------------------------------------------------------- */
/* 排版                                                              */
/* ---------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  text-wrap: balance;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.section {
  padding: clamp(80px, 10vw, 148px) 0;
  position: relative;
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--night);
  color: var(--cream);
}

.section--dark .kicker {
  color: var(--cream-muted);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.section__intro {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--dark .section__intro {
  color: var(--cream-muted);
}

.note,
.disclaimer {
  max-width: 780px;
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/* 按钮                                                              */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
    transform 0.35s ease;
  white-space: nowrap;
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  background: var(--ember);
  transform: translateY(-1px);
}

.btn--line {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hero .btn--solid,
.section--dark .btn--solid {
  background: var(--cream);
  color: var(--night);
}
.hero .btn--solid:hover,
.section--dark .btn--solid:hover {
  background: var(--ember-soft);
}

.hero .btn--line,
.section--dark .btn--line {
  border-color: rgba(243, 236, 224, 0.32);
  color: var(--cream);
}
.hero .btn--line:hover,
.section--dark .btn--line:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--night);
}

.btn--small {
  padding: 9px 18px;
  font-size: 13px;
}

.btn--wide {
  width: 100%;
  padding: 17px 30px;
}

/* ---------------------------------------------------------------- */
/* 导航                                                              */
/* ---------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  transition: background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

.nav.is-scrolled {
  background: rgba(246, 241, 232, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.nav.is-open {
  background: rgba(246, 241, 232, 0.97);
  color: var(--ink);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 26px;
  height: 26px;
  color: var(--ember-soft);
}

.nav.is-scrolled .brand__mark {
  color: var(--ember);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
  font-size: 13.5px;
}

.nav__links a {
  position: relative;
  opacity: 0.82;
  transition: opacity 0.25s ease;
  padding: 4px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.lang {
  display: flex;
  align-items: center;
  flex: none;
}

.select-wrap--lang {
  display: inline-flex;
  position: relative;
}

.select-wrap--lang::after {
  right: 14px;
  width: 6px;
  height: 6px;
  border-color: currentColor;
  opacity: 0.75;
}

.input--lang {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 7px 30px 7px 12px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.input--lang:hover,
.input--lang:focus-visible {
  opacity: 1;
  outline: none;
}

.input--lang:focus-visible {
  box-shadow: 0 0 0 3px rgba(192, 91, 46, 0.25);
}

.input--lang option {
  color: var(--ink);
  background: var(--paper);
}

.nav__links .lang {
  display: none;
}

.nav.is-open .nav__links .lang {
  display: flex;
  width: 100%;
  padding: 14px 0 0;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.nav.is-open .nav__links .input--lang {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  opacity: 0.9;
}

.nav .input.input--lang {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 30px 7px 12px;
  font-size: 11.5px;
  box-shadow: none;
}

/* 首屏（深色 hero）用奶白描边；滚动后导航变浅底，描边随之转深 */
.nav.is-scrolled .input.input--lang {
  border-color: var(--ink);
}

.nav .input.input--lang:focus {
  background: rgba(246, 241, 232, 0.08);
  border-color: currentColor;
  box-shadow: none;
}

.nav.is-scrolled .input.input--lang:focus,
.nav.is-open .input.input--lang:focus,
.nav.is-open .input.input--lang {
  background: rgba(20, 17, 14, 0.04);
  border-color: var(--ink);
  color: var(--ink);
}

.nav__cta {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.nav__cta:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}

.nav.is-scrolled .nav__cta:hover,
.nav.is-open .nav__cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 36px;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------------------------------------------------------------- */
/* 首屏                                                              */
/* ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px var(--pad) 120px;
  background: radial-gradient(120% 80% at 50% 10%, #241a12 0%, #100d0a 55%, #0c0a08 100%);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: heroIn 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__eyebrow {
  margin: 0 0 26px;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: italic;
  color: var(--ember-soft);
  margin-left: 0.04em;
}

.hero__lead {
  max-width: 620px;
  margin: 34px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--cream);
  font-family: var(--font-display);
}

.hero__desc {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--cream-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.hero__meta {
  margin: 44px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.38);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.45);
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(243, 236, 224, 0.5), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- */
/* 品牌故事                                                          */
/* ---------------------------------------------------------------- */

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.story__text p {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.story__quote {
  margin: 40px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--ember);
}

.story__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
}

.story__quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.story__glyph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}

.story__glyph span {
  font-family: var(--font-display);
  font-size: clamp(160px, 23vw, 300px);
  line-height: 0.8;
  color: rgba(20, 17, 14, 0.05);
  -webkit-text-stroke: 1px rgba(20, 17, 14, 0.16);
  user-select: none;
}

/* ---------------------------------------------------------------- */
/* 时间线                                                            */
/* ---------------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 1px solid var(--line-strong);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 38px 22px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 9px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ember);
  border-radius: 50%;
  background: var(--paper-2);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__era {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ember);
  padding-top: 1px;
}

.timeline__title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.timeline__text {
  margin: 0;
  max-width: 560px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/* 四宫格卡片                                                        */
/* ---------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 0;
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line-strong);
}

.card {
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
  transition: border-color 0.35s ease;
}

.card:last-child {
  border-right: 0;
}

.card:hover {
  border-color: var(--ember);
}

.card__index {
  display: block;
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/* 场景                                                              */
/* ---------------------------------------------------------------- */

.scenarios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
}

.scenario {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
}

.scenario:nth-child(-n + 2) {
  border-top: 0;
}

.scenario__time {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ember-soft);
  letter-spacing: 0.02em;
  padding-top: 2px;
}

.scenario__title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 500;
}

.scenario__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cream-muted);
}

/* ---------------------------------------------------------------- */
/* 香方                                                              */
/* ---------------------------------------------------------------- */

.formulas {
  border-top: 1px solid var(--line-strong);
}

.formula {
  display: grid;
  grid-template-columns: 54px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, padding 0.35s ease;
}

.formula:hover {
  background: rgba(20, 17, 14, 0.025);
}

.formula__no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.formula__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.formula__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/* 产品                                                              */
/* ---------------------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fbf7f0;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent, var(--ember));
  border-radius: var(--r);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(20, 17, 14, 0.4);
  border-color: var(--accent, var(--ember));
}

.product__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #14110e;
}

.product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, 0.45), rgba(12, 10, 8, 0) 55%);
  pointer-events: none;
}

.product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.01);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

.product:hover .product__media img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.03);
}

.product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.product__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.product__no {
  color: var(--accent, var(--ember));
}

.product__name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  font-weight: 400;
  line-height: 1.25;
}

.product__formula {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent, var(--ember));
}

.product__desc {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product__btn {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.product__btn:hover {
  background: var(--accent, var(--ink));
  border-color: var(--accent, var(--ink));
  color: #fff;
}

.product.is-selected .product__btn {
  background: var(--accent, var(--ink));
  border-color: var(--accent, var(--ink));
  color: #fff;
}

.product__count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- */
/* 点赞                                                              */
/* ---------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 12px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.like:hover {
  border-color: var(--accent, var(--ember));
  color: var(--accent, var(--ember));
}

.like:active {
  transform: scale(0.97);
}

.like:disabled {
  opacity: 0.6;
  cursor: progress;
}

.like__icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill 0.25s ease;
}

.like__count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.like.is-liked {
  background: var(--accent, var(--ember));
  border-color: var(--accent, var(--ember));
  color: #fff;
}

.like.is-liked .like__icon {
  fill: currentColor;
}

.like.is-liked .like__count {
  opacity: 1;
}

.product__hint {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 订阅 */
.subscribe {
  max-width: 1080px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px 40px;
  align-items: center;
}

.subscribe__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 400;
}

.subscribe__desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.subscribe__form {
  display: flex;
  gap: 10px;
}

.subscribe__form .input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px;
  font-size: 14px;
}

.subscribe__form .btn {
  flex: none;
  white-space: nowrap;
}

.subscribe__note {
  grid-column: 2;
  margin: -8px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.subscribe__status {
  grid-column: 2;
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  color: var(--ember);
}

.subscribe__status.is-error {
  color: #a8321f;
}

/* ---------------------------------------------------------------- */
/* 表单                                                              */
/* ---------------------------------------------------------------- */

.form {
  max-width: 880px;
}

.field {
  border: 0;
  margin: 0 0 36px;
  padding: 0;
  min-width: 0;
}

.field__label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.field__num {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ember);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 1px 7px;
  flex: none;
}

.field__opt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.input::placeholder {
  color: rgba(138, 129, 119, 0.8);
}

.input:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 17, 14, 0.06);
}

.input--area {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

/* 产品选择卡 */
.pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pick__item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.pick__item:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.pick__item.is-active {
  border-color: var(--ink);
  background: rgba(192, 91, 46, 0.055);
}

.pick__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick__dot {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.25s ease;
}

.pick__item.is-active .pick__dot {
  border-color: var(--ember);
}

.pick__item.is-active .pick__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--ember);
  border-radius: 50%;
}

.pick__thumb {
  flex: none;
  width: 44px;
  height: 44px;
  margin-top: -1px;
  overflow: hidden;
  border-radius: 4px;
  background: #14110e;
}

.pick__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pick__item:hover .pick__thumb img {
  transform: scale(1.06);
}

.pick__body {
  min-width: 0;
}

.pick__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pick__formula {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

/* 购买方式 */
.intents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intent {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.intent:hover {
  border-color: var(--line-strong);
}

.intent.is-active {
  border-color: var(--ink);
  background: rgba(192, 91, 46, 0.055);
}

.intent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intent__dot {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
}

.intent.is-active .intent__dot {
  border-color: var(--ember);
}

.intent.is-active .intent__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--ember);
  border-radius: 50%;
}

.intent__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.intent__note {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* 勾选 */
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 640px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.65;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.check input:checked + .check__box {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked + .check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(40deg);
}

.check input:focus-visible + .check__box {
  box-shadow: 0 0 0 3px rgba(20, 17, 14, 0.12);
}

.form__footer {
  margin-top: 32px;
}

.form__privacy {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.form__error {
  display: none;
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #a83f22;
}

.form__error.is-visible {
  display: block;
}

.form__status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ember);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks {
  max-width: 640px;
  padding: 40px;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--ember);
  background: #fbf7f0;
}

.thanks[hidden] {
  display: none;
}

.thanks__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
}

.thanks p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------------------------------------------------------------- */
/* 统计                                                              */
/* ---------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 40px;
  align-items: start;
}

.stats__total {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.stats__num {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}

.stats__label {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.stats__time {
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(138, 129, 119, 0.8);
}

.stats__panel {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
  min-width: 0;
}

.stats__panel--wide {
  grid-column: 1 / -1;
}

.stats__head {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.bars {
  display: grid;
  gap: 14px;
}

.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: baseline;
}

.bar__label {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar__value {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.bar__track {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(20, 17, 14, 0.08);
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ember);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bars--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 40px;
}

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

.region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.4);
}

.region__count {
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}

.stats__empty {
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/* 联系                                                              */
/* ---------------------------------------------------------------- */

.contact {
  text-align: center;
}

.contact__inner {
  max-width: 720px;
}

.contact .kicker {
  justify-content: center;
}

.contact .section__intro {
  margin: 0 auto;
}

.contact__mail {
  display: inline-block;
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 2.4rem);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 4px;
}

.contact__mail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  transition: background 0.35s ease;
}

.contact__mail:hover::after {
  background: var(--ink);
}

.contact__note {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/* 页脚                                                              */
/* ---------------------------------------------------------------- */

.footer {
  background: var(--night);
  color: var(--cream-muted);
  padding: clamp(56px, 8vw, 88px) 0 40px;
  font-size: 13px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.footer__brand .brand__name {
  color: var(--cream);
  font-size: 21px;
}

.footer__brand p {
  margin: 12px 0 0;
  max-width: 300px;
  line-height: 1.7;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__legal {
  line-height: 1.7;
  font-size: 12px;
  color: rgba(156, 146, 132, 0.8);
}

.footer__legal p {
  margin: 0 0 10px;
}

/* ---------------------------------------------------------------- */
/* 进入动画                                                          */
/* ---------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- */
/* 响应式                                                            */
/* ---------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  /* nav__right 在所有断点都保持 margin-left:auto 推到右侧 */

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--pad) 24px;
    background: rgba(246, 241, 232, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav.is-open .nav__links a {
    padding: 10px 0;
    font-size: 15px;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    display: none;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats__total {
    grid-column: 1 / -1;
  }

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

  .footer__legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .story__grid {
    grid-template-columns: 1fr;
  }

  .story__glyph {
    order: -1;
    min-height: 200px;
  }

  .story__glyph span {
    font-size: clamp(150px, 40vw, 240px);
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .scenario:nth-child(2) {
    border-top: 1px solid var(--line-dark);
  }

  .formula {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 16px;
  }

  .formula__note {
    grid-column: 2;
  }

  .pick,
  .intents {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bars--inline {
    grid-template-columns: 1fr;
  }

  .subscribe {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .subscribe__note,
  .subscribe__status {
    grid-column: 1;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 64px;
  }

  .nav__inner {
    height: 64px;
    gap: 14px;
  }

  .nav.is-open .nav__links {
    top: 64px;
  }

  .lang {
    gap: 0;
  }

  .input--lang {
    font-size: 11px;
    padding: 6px 26px 6px 10px;
  }

  .hero {
    padding: 120px var(--pad) 100px;
    min-height: 92svh;
  }

  .hero__title {
    letter-spacing: -0.03em;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

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

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

  .stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline__item {
    padding-left: 16px;
  }

  .timeline__item::before {
    left: -23px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .thanks {
    padding: 24px;
  }

  .subscribe__form {
    flex-direction: column;
  }

  .subscribe__form .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .nav__inner {
    gap: 8px;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__mark {
    width: 22px;
    height: 22px;
  }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 焦点可见性 */
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}
