.unified-footer {
  --footer-ink: #191918;
  --footer-paper: #fff;
  --footer-soft: #f2eee5;
  --footer-line: rgba(25, 25, 24, .16);
  --footer-red: #a32d3b;
  position: relative;
  z-index: 2;
  display: block;
  padding: 0;
  overflow: hidden;
  color: var(--footer-ink);
  border-top: 1px solid var(--footer-line);
  background: var(--footer-paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.unified-footer * { box-sizing: border-box; }
.unified-footer a { color: inherit; text-decoration: none; }
.unified-footer button { font: inherit; }

.unified-footer__cta {
  display: grid;
  grid-template-columns: 1.15fr .7fr auto;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  padding: clamp(3.5rem, 6vw, 6.5rem) clamp(1.25rem, 4.5vw, 5.5rem);
  background: var(--footer-soft);
}

.unified-footer__cta > div > p,
.unified-footer__column > p {
  margin: 0 0 1rem;
  color: var(--footer-red);
  font: 700 .61rem/1.4 Arial, sans-serif;
  letter-spacing: .2em;
}

.unified-footer__cta h2 {
  max-width: 10em;
  margin: 0;
  font: 400 clamp(2.7rem, 5vw, 5.8rem)/1.03 STSong, "Noto Serif SC", serif;
  letter-spacing: -.055em;
}

.unified-footer__cta > p {
  max-width: 34rem;
  margin: 0;
  color: #66635d;
  font-size: .86rem;
  line-height: 2;
}

.unified-footer__cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13rem;
  padding: 1.15rem 1.3rem;
  color: #fff;
  background: var(--footer-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: color .2s, background .2s;
}

.unified-footer__cta > a:hover,
.unified-footer__cta > a:focus-visible {
  color: #fff;
  background: var(--footer-red);
}

.unified-footer__main {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 4.5vw, 5.5rem);
}

.unified-footer__identity,
.unified-footer__column {
  display: grid;
  align-content: start;
  justify-items: start;
  min-width: 0;
}

.unified-footer__brand {
  display: inline-grid;
  justify-items: start;
}

.unified-footer__brand b {
  font: 400 clamp(2.5rem, 3.5vw, 4.2rem)/1 STSong, "Noto Serif SC", serif;
  letter-spacing: -.045em;
}

.unified-footer__brand span {
  margin-top: .35rem;
  font: 600 .58rem/1 Arial, sans-serif;
  letter-spacing: .25em;
  opacity: .58;
}

.unified-footer__identity > p {
  margin: 2rem 0 .35rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.7;
}

.unified-footer__identity > span {
  color: #77736c;
  font-size: .74rem;
  line-height: 1.7;
  letter-spacing: .04em;
}

.unified-footer__column {
  gap: .75rem;
}

.unified-footer__column > p {
  margin-bottom: .55rem;
}

.unified-footer__column a,
.unified-footer__wechat {
  position: relative;
  padding: .18rem 0;
  border: 0;
  color: #4f4d48;
  background: transparent;
  font-size: .8rem;
  line-height: 1.55;
  letter-spacing: .035em;
}

.unified-footer__column a::after,
.unified-footer__wechat::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.unified-footer__column a:hover::after,
.unified-footer__column a:focus-visible::after,
.unified-footer__wechat:hover::after,
.unified-footer__wechat:focus-visible::after {
  transform: scaleX(1);
}

.unified-footer__phone {
  margin-bottom: .35rem;
  color: var(--footer-ink) !important;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem) !important;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.unified-footer__wechat {
  cursor: pointer;
  text-align: left;
}

.unified-footer__wechat b {
  color: var(--footer-ink);
  font-weight: 600;
}

.unified-footer__contact small {
  max-width: 17rem;
  margin-top: .65rem;
  color: #77736c;
  font-size: .66rem;
  line-height: 1.75;
}

.unified-footer__bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  min-height: 6rem;
  padding: 1.5rem clamp(1.25rem, 4.5vw, 5.5rem);
  border-top: 1px solid var(--footer-line);
}

.unified-footer__bottom small,
.unified-footer__bottom p,
.unified-footer__bottom a {
  margin: 0;
  color: #77736c;
  font-size: .65rem;
  line-height: 1.75;
  letter-spacing: .035em;
}

.unified-footer__bottom p { text-align: center; }
.unified-footer__bottom a { color: var(--footer-ink); white-space: nowrap; }

@media (max-width: 1000px) {
  .unified-footer__cta { grid-template-columns: 1fr 1fr; }
  .unified-footer__cta > a { grid-column: 2; justify-self: start; }
  .unified-footer__main { grid-template-columns: 1.2fr 1fr 1fr; }
  .unified-footer__identity { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .unified-footer__cta {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .unified-footer__cta h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }
  .unified-footer__cta > p { font-size: .8rem; }
  .unified-footer__cta > a {
    grid-column: 1;
    justify-self: stretch;
    min-width: 0;
  }
  .unified-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .unified-footer__identity,
  .unified-footer__contact {
    grid-column: 1 / -1;
  }
  .unified-footer__bottom {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .unified-footer__bottom p { text-align: left; }
}
