/* V51 — approved real burl-wood colophon; content aligns with section-wrap. */
.site-footer.v51-footer {
  --footer-ink: #2e302a;
  --footer-muted: #716b60;
  --footer-rule: #d6d2c8;
  position: relative; isolation: isolate; width: 100%; max-width: none; margin: 0;
  padding: 0 max(7%, calc((100% - 1380px) / 2));
  background: #f5f3ee; color: var(--footer-ink);
  font: 400 13px/1.8 var(--sans);
}
.v51-footer .v50-brand-panel { position: static; isolation: auto; height: 300px; padding: 32px 0; display: flex; flex-direction: column; justify-content: center; }
.v51-footer .footer-wordmark {
  margin: 0; padding: 0; text-align: left; white-space: nowrap;
  font: 400 clamp(64px, 9vw, 140px)/1.3 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  letter-spacing: .075em; color: #f5f3ee;
}
.v51-footer .v50-brand-rule { width: 100%; height: 1px; background: #f5f3ee42; margin: 27px 0 14px; }
.v51-footer .v50-brand-meta { margin: 0; font: 400 10px/2 var(--sans); letter-spacing: .16em; color: #d2cdbe; white-space: nowrap; }
.v51-footer .v50-info { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; padding: 0 0 49px; align-items: start; }
.v51-footer .v50-note { grid-column: span 3; padding-top: 1px; }
.v51-footer .v50-note p { margin: 0; font: 400 clamp(18px, 1.6vw, 23px)/1.9 var(--serif); letter-spacing: .05em; white-space: nowrap; color: var(--footer-ink); }
.v51-footer .v50-note span { display: block; margin-top: 10px; color: var(--footer-muted); font-size: 10px; letter-spacing: .16em; }
.v51-footer .v50-nav { grid-column: span 2; display: grid; gap: 2px; justify-items: start; }
.v51-footer .v50-label { display: block; margin: 0 0 13px; color: var(--footer-muted); font-size: 10px; line-height: 1.8; letter-spacing: .14em; }
.v51-footer .v50-nav a { display: inline-flex; align-items: center; gap: 18px; min-height: 30px; font-size: 13px; white-space: nowrap; }
.v51-footer .v50-nav a span { font: 400 10px/1 Arial, sans-serif; color: var(--footer-muted); }
.v51-footer .v50-contact { grid-column: span 4; }
.v51-footer .v50-contact .v50-label { margin-bottom: 8px; font-size: 12px; letter-spacing: .04em; }
.v51-footer .v50-phone { display: inline-block; font: 400 clamp(23px, 2.05vw, 30px)/1.6 var(--serif); letter-spacing: .01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.v51-footer .v50-address { margin: 10px 0 0; font-size: 12px; color: var(--footer-muted); white-space: nowrap; }
.v51-footer .v50-wechat { grid-column: span 3; margin: 0; justify-self: end; text-align: center; }
.v51-footer .v50-qr-card { padding: 8px; width: 128px; margin: 0 auto; background: #fff; border: 1px solid #e5e1d8; }
.v51-footer .v50-qr-card img { display: block; width: 110px; height: 110px; max-width: none; padding: 0; object-fit: contain; }
.v51-footer .v50-wechat figcaption { margin-top: 10px; font: 400 11px/1.8 var(--sans); color: var(--footer-muted); white-space: nowrap; letter-spacing: .01em; }
.v51-footer .v50-save-qr { display: none; }
.v51-footer .v50-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--footer-rule); padding: 21px 0 25px; }
.v51-footer .v50-copyright { display: flex; gap: .4em; margin: 0; font: 400 10px/2 var(--sans); color: var(--footer-muted); white-space: nowrap; }
.v51-footer .v50-back-top { display: inline-flex; align-items: center; gap: 26px; min-height: 30px; font-size: 11px; white-space: nowrap; }
.v51-footer a { transition: opacity .2s ease; }
.v51-footer a:hover { opacity: .72; }
.v51-footer a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
/* B: a crop from the site's existing real burl-wood photograph. */
.v51-footer .v50-brand-panel::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 300px; background: linear-gradient(90deg, #171711a6, #17171145), linear-gradient(0deg, #17171170, transparent 70%), url('assets/v50-footer/burl-wood-plate.webp') center 54% / cover no-repeat; }
.v51-footer .v50-info { padding-top: 44px; }
@media (min-width: 1700px) { .site-footer.v51-footer { padding-inline: max(9.5%, calc((100% - 1380px) / 2)); } }
@media (max-width: 1050px) and (min-width: 761px) {
  .v51-footer .v50-info { gap: 18px; }
  .v51-footer .v50-note p { font-size: 16px; letter-spacing: 0; }
  .v51-footer .v50-phone { font-size: 22px; }
  .v51-footer .v50-brand-meta { font-size: 10px; }
}
@media (max-width: 760px) {
  .site-footer.v51-footer { padding: 0 6.5%; }
  .v51-footer .footer-wordmark { letter-spacing: .065em; }
  .v51-footer .v50-brand-rule { margin: 20px 0 13px; }
  .v51-footer .v50-brand-meta { font-size: 9px; letter-spacing: .08em; }
  .v51-footer .v50-info { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 26px; }
  .v51-footer .v50-info > * { grid-column: 1; }
  .v51-footer .v50-contact { grid-row: 1; padding: 0 0 25px; }
  .v51-footer .v50-contact .v50-label { font-size: 12px; margin-bottom: 4px; }
  .v51-footer .v50-phone { font-size: 29px; line-height: 1.6; }
  .v51-footer .v50-address { margin-top: 8px; font-size: 12px; }
  .v51-footer .v50-wechat { grid-row: 2; justify-self: start; text-align: left; margin: 0 0 25px; }
  .v51-footer .v50-qr-card { margin: 0; }
  .v51-footer .v50-wechat figcaption { margin-top: 9px; }
  .v51-footer .v50-save-qr { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 20px; border-bottom: 1px solid var(--footer-rule); margin-top: 7px; font-size: 11px; }
  .v51-footer .v50-nav { grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 24px; padding: 20px 0; border-top: 1px solid var(--footer-rule); border-bottom: 1px solid var(--footer-rule); }
  .v51-footer .v50-nav .v50-label { grid-column: 1 / -1; margin: 0 0 7px; }
  .v51-footer .v50-nav a { min-height: 40px; font-size: 12px; }
  .v51-footer .v50-note { grid-row: 4; padding: 22px 0 0; }
  .v51-footer .v50-note p { font-size: 18px; }
  .v51-footer .v50-note span { margin-top: 5px; font-size: 9px; }
  .v51-footer .v50-bottom { display: grid; justify-content: start; gap: 9px; padding: 19px 0 calc(80px + env(safe-area-inset-bottom)); }
  .v51-footer .v50-copyright { font-size: 10px; flex-wrap: nowrap; }
  .v51-footer .v50-back-top { gap: 35px; min-height: 36px; font-size: 11px; }
  .v51-footer .v50-brand-panel { height: 240px; padding: 30px 0; }
  .v51-footer .v50-brand-panel::before { height: 240px; }
  .v51-footer .v50-info { padding-top: 29px; }
}
@media (prefers-reduced-motion: reduce) { .v51-footer a { transition: none; } }
