.yirong-site-footer {
  --footer-ink: #171813;
  --footer-bone: #F4F1E9;
  --footer-brass: #967748;
  --footer-muted: #A8A297;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  background: #171813;
  color: #F4F1E9;
  font-family: Manrope, Arial, Helvetica, sans-serif;
}

.yirong-site-footer *,
.yirong-site-footer *::before,
.yirong-site-footer *::after {
  box-sizing: border-box;
}

.yirong-site-footer :is(h2, h3, p, ul) {
  margin-block: 0;
}

.yirong-site-footer a {
  color: inherit;
}

.yirong-footer__inner {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(80px, 7vw, 118px) clamp(32px, 4.2vw, 68px) 30px;
}

.yirong-footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(290px, .65fr);
  gap: clamp(48px, 7vw, 124px);
  align-items: end;
  padding-bottom: clamp(64px, 6vw, 94px);
  border-bottom: 1px solid rgb(244 241 233 / 20%);
}

.yirong-footer__eyebrow,
.yirong-footer__column h3 {
  color: var(--footer-brass);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.yirong-footer__title {
  max-width: 1050px;
  margin-top: 24px !important;
  color: var(--footer-bone);
  font-size: clamp(48px, 5.7vw, 92px);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.055em;
}

.yirong-footer__intro {
  color: var(--footer-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.yirong-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 34px;
}

.yirong-footer__actions .wp-block-button {
  width: 100%;
}

.yirong-footer__actions .wp-block-button__link {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid rgb(244 241 233 / 24%);
  border-radius: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--footer-bone);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}

.yirong-footer__quote .wp-block-button__link {
  position: relative;
  transition: color 180ms ease, padding 180ms ease;
}

.yirong-footer__quote .wp-block-button__link::after {
  content: "↗";
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transform: translate(0, 0);
  transition: transform 180ms ease;
}

.yirong-footer__quote .wp-block-button__link:hover,
.yirong-footer__contact-link .wp-block-button__link:hover {
  color: #C2A574;
  padding-inline: 8px;
}

.yirong-footer__quote .wp-block-button__link:hover::after {
  transform: translate(3px, -3px);
}

.yirong-footer__quote .wp-block-button__link:focus-visible,
.yirong-footer__contact-link .wp-block-button__link:focus-visible,
.yirong-site-footer a:focus-visible {
  outline: 2px solid var(--footer-brass);
  outline-offset: 4px;
}

.yirong-footer__directory {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(115px, .55fr)) minmax(250px, 1.1fr);
  gap: clamp(32px, 4vw, 72px);
  padding-block: clamp(62px, 6vw, 88px);
  border-bottom: 1px solid rgb(244 241 233 / 20%);
}

.yirong-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--footer-bone);
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 500;
  letter-spacing: -.035em;
  text-decoration: none;
}

.yirong-footer__mark {
  width: 38px;
  height: 38px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 4;
}

.yirong-footer__brand-note {
  max-width: 270px;
  margin-top: 22px !important;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.7;
}

.yirong-footer__column h3 {
  margin-bottom: 25px;
}

.yirong-footer__column ul,
.yirong-footer__legal-links {
  padding: 0;
  list-style: none;
}

.yirong-footer__column li + li {
  margin-top: 15px;
}

.yirong-footer__column a,
.yirong-footer__contact p {
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.65;
}

.yirong-footer__column a {
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.yirong-footer__column a:hover {
  color: var(--footer-bone);
  text-decoration-color: var(--footer-brass);
}

.yirong-footer__contact p + p {
  margin-top: 18px;
}

.yirong-footer__address {
  max-width: 280px;
}

.yirong-footer__legal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 28px;
  color: #827E75;
  font-size: 10px;
  letter-spacing: .04em;
}

.yirong-footer__origin {
  text-align: center;
}

.yirong-footer__legal-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.yirong-footer__legal a {
  text-decoration: none;
  transition: color 180ms ease;
}

.yirong-footer__legal a:hover {
  color: var(--footer-bone);
}

@media (max-width: 1100px) {
  .yirong-footer__directory {
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(110px, .6fr));
  }

  .yirong-footer__contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(150px, .65fr) minmax(220px, 1.2fr) minmax(170px, .7fr);
    gap: 28px;
    align-items: start;
  }

  .yirong-footer__contact h3 {
    grid-column: 1 / -1;
    margin-bottom: -4px;
  }

  .yirong-footer__contact p + p {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .yirong-footer__cta {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .yirong-footer__cta-aside {
    max-width: 540px;
  }

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

  .yirong-footer__brand,
  .yirong-footer__contact {
    grid-column: 1 / -1;
  }

  .yirong-footer__brand {
    padding-bottom: 16px;
  }

  .yirong-footer__contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yirong-footer__legal {
    grid-template-columns: 1fr auto;
  }

  .yirong-footer__origin {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .yirong-footer__inner {
    padding: 68px 22px 24px;
  }

  .yirong-footer__title {
    margin-top: 18px !important;
    font-size: clamp(40px, 12vw, 62px);
    line-height: .98;
  }

  .yirong-footer__title br {
    display: none;
  }

  .yirong-footer__cta {
    gap: 34px;
    padding-bottom: 56px;
  }

  .yirong-footer__actions {
    margin-top: 26px;
  }

  .yirong-footer__directory {
    gap: 46px 26px;
    padding-block: 56px;
  }

  .yirong-footer__contact {
    display: block;
  }

  .yirong-footer__contact h3 {
    margin-bottom: 25px;
  }

  .yirong-footer__contact p + p {
    margin-top: 18px;
  }

  .yirong-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .yirong-footer__origin {
    order: -1;
  }

  .yirong-footer__legal-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }
}

@media (max-width: 359px) {
  .yirong-footer__inner {
    padding-inline: 18px;
  }

  .yirong-footer__directory {
    grid-template-columns: 1fr;
  }

  .yirong-footer__brand,
  .yirong-footer__contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yirong-site-footer *,
  .yirong-site-footer *::before,
  .yirong-site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
