/* === 痛點區塊（植物發出的訊號）=== */

.zhiyan-story {
  --zy-bg: #f7f4ee;
  --zy-paper: #fbfaf6;
  --zy-line: rgba(53, 65, 44, .18);
  --zy-ink: #2f402f;
  --zy-muted: #746f63;
  --zy-green: #344a31;
  --zy-shadow: 0 30px 80px rgba(67, 61, 47, .10);
  --zy-radius: 28px;
  width: 100%;
  padding: clamp(72px, 8vw, 126px) 20px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.76), transparent 35%),
    linear-gradient(180deg, #fbfaf6 0%, var(--zy-bg) 100%);
  overflow: visible;
}

.zhiyan-story__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.zhiyan-story__head {
  text-align: center;
  margin-bottom: clamp(42px, 5vw, 70px);
}

.zhiyan-story__kicker {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: .12em;
  color: var(--zy-muted);
  font-weight: 400;
}

.zhiyan-story__title {
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: .10em;
  font-weight: 300;
  color: var(--zy-green);
}

.zhiyan-story__title-br {
  display: none;
}

.zhiyan-story__rule {
  width: 60px;
  height: 1px;
  background: rgba(52, 74, 49, .28);
  margin: 30px auto 0;
}

.zhiyan-story__stage {
  position: relative;
}

.zhiyan-story__viewport {
  position: relative;
  min-height: 440px;
  height: auto;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  background: rgba(255, 255, 255, .45);
  box-shadow: var(--zy-shadow);
  overflow: hidden;
  isolation: isolate;
}

.zhiyan-story__slide {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  min-height: 520px;
  width: 100%;
  padding: clamp(46px, 5vw, 72px);
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity .48s ease, transform .48s ease;
}

.zhiyan-story__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}

.zhiyan-story__image-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 330px;
}

.zhiyan-story__image {
  width: min(360px, 100%);
  max-height: 385px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(.96) saturate(.92);
}

.zhiyan-story__image-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(52, 74, 49, .24);
  background: rgba(255, 255, 255, .72);
  color: var(--zy-green);
  cursor: pointer;
  place-items: center;
  padding: 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(67, 61, 47, .08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.zhiyan-story__image-arrow:hover {
  background: var(--zy-green);
  color: #fff;
  border-color: var(--zy-green);
}

.zhiyan-story__image-arrow--prev {
  left: 6px;
}

.zhiyan-story__image-arrow--next {
  right: 6px;
}

.zhiyan-story__image-arrow svg {
  width: 18px;
  height: 18px;
}

.zhiyan-story__copy {
  max-width: 560px;
  width: 100%;
}

.zhiyan-story__copy h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1.26;
  letter-spacing: .06em;
  font-weight: 300;
  color: var(--zy-green);
}

.zhiyan-story__number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--zy-green);
  font-family: Georgia, "Times New Roman", serif;
}

.zhiyan-story__number span {
  font-size: 25px;
  letter-spacing: .16em;
}

.zhiyan-story__number i {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(52, 74, 49, .34);
}

.zhiyan-story__number em {
  font-style: normal;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--zy-muted);
}

.zhiyan-story__eyebrow {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .08em;
  color: var(--zy-muted);
}

.zhiyan-story__copy h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(52, 74, 49, .3);
  margin: 28px 0 26px;
}

.zhiyan-story__body {
  margin: 0;
  font-size: 17px;
  line-height: 2.05;
  letter-spacing: .04em;
  color: var(--zy-muted);
  font-weight: 400;
}

.zhiyan-story__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.zhiyan-story__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(52, 74, 49, .22);
  background: rgba(255, 255, 255, .52);
  color: var(--zy-green);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
  padding: 0;
}

.zhiyan-story__arrow:hover {
  background: var(--zy-green);
  color: #fff;
  border-color: var(--zy-green);
  transform: translateY(-1px);
}

.zhiyan-story__arrow svg {
  width: 18px;
  height: 18px;
}

.zhiyan-story__dots {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.zhiyan-story__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(52, 74, 49, .34);
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: width .25s ease, background .25s ease, border-color .25s ease;
}

.zhiyan-story__dot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.zhiyan-story__dot.is-active {
  width: 30px;
  background: var(--zy-green);
  border-color: var(--zy-green);
}

@media (max-width: 900px) {
  .zhiyan-story {
    padding: 56px 14px 68px;
  }

  .zhiyan-story__head {
    margin-bottom: 28px;
  }

  .zhiyan-story__kicker {
    font-size: 12px;
    letter-spacing: .08em;
    margin-bottom: 10px;
    line-height: 1.7;
  }

  .zhiyan-story__title {
    font-size: 34px;
    letter-spacing: .08em;
  }

  .zhiyan-story__title-br {
    display: inline;
  }

  .zhiyan-story__rule {
    margin-top: 20px;
  }

  .zhiyan-story__viewport {
    border-radius: 22px;
    min-height: 0;
    height: auto;
    overflow: visible;
    background: rgba(255, 255, 255, .48);
  }

  .zhiyan-story__slide {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 22px 18px 26px;
    transform: translateX(18px);
  }

  .zhiyan-story__slide.is-active {
    position: relative;
    transform: translateX(0);
  }

  .zhiyan-story__image-panel {
    width: 100%;
    height: 270px;
    min-height: 270px;
    margin-bottom: 18px;
  }

  .zhiyan-story__image {
    width: min(265px, 78%);
    height: 250px;
    max-height: none;
  }

  .zhiyan-story__image-arrow {
    display: grid;
  }

  .zhiyan-story__copy {
    max-width: none;
    width: 100%;
    padding-top: 0;
    text-align: center;
  }

  .zhiyan-story__number {
    margin: 0 0 12px;
    gap: 12px;
    justify-content: center;
  }

  .zhiyan-story__number span {
    font-size: 18px;
    letter-spacing: .16em;
  }

  .zhiyan-story__number i {
    width: 34px;
  }

  .zhiyan-story__number em {
    font-size: 12px;
  }

  .zhiyan-story__eyebrow {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: .06em;
    margin: 0 0 14px;
  }

  .zhiyan-story__copy h3 {
    font-size: 27px;
    line-height: 1.32;
    letter-spacing: .055em;
  }

  .zhiyan-story__copy h3::after {
    width: 40px;
    margin: 18px auto 16px;
  }

  .zhiyan-story__body {
    font-size: 14.5px;
    line-height: 1.85;
    letter-spacing: .035em;
  }

  .zhiyan-story__controls {
    margin-top: 16px;
    gap: 0;
  }

  .zhiyan-story__controls .zhiyan-story__arrow {
    display: none;
  }

  .zhiyan-story__dots {
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .zhiyan-story__dot {
    width: 7px;
    height: 7px;
  }

  .zhiyan-story__dot.is-active {
    width: 26px;
  }
}

@media (max-width: 430px) {
  .zhiyan-story {
    padding: 48px 14px 60px;
  }

  .zhiyan-story__title {
    font-size: 31px;
  }

  .zhiyan-story__slide {
    padding: 18px 16px 24px;
  }

  .zhiyan-story__image-panel {
    height: 245px;
    min-height: 245px;
    margin-bottom: 16px;
  }

  .zhiyan-story__image {
    width: min(235px, 76%);
    height: 228px;
  }

  .zhiyan-story__image-arrow {
    width: 46px;
    height: 46px;
  }

  .zhiyan-story__image-arrow--prev {
    left: -2px;
  }

  .zhiyan-story__image-arrow--next {
    right: -2px;
  }

  .zhiyan-story__copy h3 {
    font-size: 25px;
  }

  .zhiyan-story__body {
    font-size: 14px;
    line-height: 1.8;
  }

  .zhiyan-story__dot {
    width: 6px;
    height: 6px;
  }

  .zhiyan-story__dot.is-active {
    width: 22px;
  }
}

@media (max-width: 380px) {
  .zhiyan-story__image-panel {
    height: 220px;
    min-height: 220px;
  }

  .zhiyan-story__image {
    width: min(215px, 74%);
    height: 205px;
  }

  .zhiyan-story__copy h3 {
    font-size: 23px;
  }

  .zhiyan-story__body {
    font-size: 13.5px;
    line-height: 1.75;
  }
}
