/* One set of contact data, two presentations: the greeting and the footer. */
.contact-channel { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; min-width: 0; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: center; text-decoration: none; border-radius: 14px; }
.contact-platform-icon { display: grid; place-items: center; width: 50px; height: 50px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: transform .22s, box-shadow .22s; }
.contact-platform-icon img { width: 36px; height: 36px; border-radius: 10px; }
.contact-channel:is(a, button):hover .contact-platform-icon { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-channel[data-unconfigured] .contact-platform-icon { border-style: dashed; }
.contact-channel[data-unconfigured] img { opacity: .72; }
.contact-caption { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.contact-label { font-size: 12px; font-weight: 550; line-height: 1.5; }
.contact-status { font-size: 9px; line-height: 1.5; color: var(--muted); }
.contact-feedback { margin: 15px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--lime); color: #313b1e; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }

.hello-contacts { position: absolute; z-index: 8; left: 8px; top: calc(var(--figure-size) * .4 + 58px); width: min(326px, calc(100% - 16px)); padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-hover); transform-origin: 38px 0; }
.hello-contacts::before { content: ""; position: absolute; top: -6px; left: 33px; width: 10px; height: 10px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); transform: rotate(45deg); }
.hello-contacts-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.hello-contacts-heading .mono { font-size: 8px; color: var(--muted); }
.hello-contacts-heading h2 { margin-top: 7px; font-size: 22px; font-weight: 550; letter-spacing: -.04em; }
.contact-close { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 22px; line-height: 1; }
.contact-close:hover { background: var(--paper); color: var(--ink); }
.hello-contact-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.hello-message-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 13px; min-height: 44px; font-size: 11px; }
.hello-message-link:hover { color: var(--accent-ink); }
.hello-message-link > span { font-size: 19px; }
.hello-toggle-symbol { display: inline-block; transition: transform .25s; }
.is-contact-open .hello-toggle-symbol { transform: rotate(45deg); }
.is-contact-open .character-hello { background: var(--lavender); color: #22231f; border-color: #b7a8cc; }
html[lang="en"] .hello-contact-options .contact-label { font-size: 10px; }
html[lang="en"] .hello-contact-options .contact-status { font-size: 8px; }

.collaboration-card .card-body { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.collaboration-card .card-body > span { font-size: 25px; }
.collaboration-art { display: grid; place-items: center; }
.collaboration-art-build { background: var(--lime); }
.collaboration-art-people { background: var(--lavender); }
.collaboration-art-ideas { background: #e2eaf2; }
.collaboration-art svg { width: 75%; height: 78%; margin-top: 18px; stroke: #2c3026; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.collaboration-art-build rect:first-child { fill: #ffffff60; }
.collaboration-art-build rect:nth-child(2) { fill: #e6f29a; }
.collaboration-art-people circle { fill: #ffffff50; }
.collaboration-art-ideas path { fill: #f4f2eb35; }
.collaboration-note { margin-top: 20px; font-size: 12px; line-height: 1.9; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding-top: 28px; }
.footer-top { align-items: center; padding-bottom: 24px; gap: 24px; }
.footer-wordmark { flex: 0 1 auto; min-width: 0; font-size: 24px; color: var(--ink); white-space: nowrap; }
.footer-wordmark > span { margin-left: 12px; }
.footer-connections { margin-left: auto; flex: 0 0 auto; max-width: 46%; }
.footer-social-icons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.contact-channel--icon { justify-content: center; }
.contact-channel--icon .contact-platform-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border-color: transparent; }
.contact-channel--icon .contact-platform-icon img { width: 25px; height: 25px; border-radius: 7px; }
.contact-channel--icon .contact-caption { position: absolute; bottom: calc(100% + 10px); right: 0; min-width: 108px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 7px 20px #22231f10; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .18s, transform .18s; z-index: 4; white-space: nowrap; }
.contact-channel--icon:hover .contact-caption, .contact-channel--icon:focus-visible .contact-caption { opacity: 1; transform: translateY(0); }
.footer-connections .contact-feedback { max-width: 280px; }
.site-footer .message-panel { border-color: var(--line); margin: 0 0 28px; }
.site-footer .footer-bottom { border-top: 0; padding-top: 0; }
.site-footer .message-panel > summary { color: var(--ink); font-size: 15px; padding-block: 21px; }
.site-footer .message-panel > summary .mono { color: var(--muted); }
.site-footer .message-layout { padding-top: 10px; }
.footer-note-link { display: inline-flex; align-items: center; min-height: 44px; gap: 20px; font-size: 13px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.footer-note-link:hover { color: var(--accent-ink); }
.footer-bottom .footer-back-top { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; color: var(--ink); }
.footer-bottom .footer-back-top:hover { text-decoration: none; background: var(--surface); }

.wechat-dialog { width: min(390px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 21px; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); color: var(--ink); box-shadow: 0 25px 100px #00000050; overflow-y: auto; }
.wechat-dialog::backdrop { background: #11150f99; backdrop-filter: blur(4px); }
.wechat-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.wechat-dialog-heading .mono { color: var(--muted); font-size: 8px; }
.wechat-dialog-heading h2 { font-size: 22px; letter-spacing: -.035em; margin-top: 7px; }
.wechat-qr-image { display: block; width: 100%; height: auto; max-height: 53dvh; object-fit: contain; border-radius: 12px; background: #fff; }
.wechat-qr-help { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 15px; }
.wechat-qr-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 11px; }
.wechat-qr-actions a { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 12px; }
.wechat-qr-actions a:hover { color: var(--accent-ink); }
html[lang="en"] .wechat-dialog-heading h2 { font-size: 20px; }
@media (max-width: 360px) {
  .wechat-dialog { padding: 17px; }
  .wechat-dialog-heading h2 { font-size: 20px; }
  .wechat-qr-help { font-size: 11px; }
  .wechat-qr-actions a { font-size: 11px; gap: 10px; }
}

@keyframes contacts-arrive { from { opacity: 0; transform: translateY(-10px) scale(.91); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes contact-bounce { 0% { opacity: 0; transform: translateY(16px) scale(.65) rotate(-8deg); } 65% { opacity: 1; transform: translateY(-4px) scale(1.05) rotate(2deg); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hello-contacts:not([hidden]) { animation: contacts-arrive .25s ease-out both; }
  .hello-contacts:not([hidden]) .contact-channel { animation: contact-bounce .42s ease-out both; }
  .hello-contact-options .contact-channel:nth-child(1) { animation-delay: .06s; }
  .hello-contact-options .contact-channel:nth-child(2) { animation-delay: .11s; }
  .hello-contact-options .contact-channel:nth-child(3) { animation-delay: .16s; }
  .hello-contact-options .contact-channel:nth-child(4) { animation-delay: .21s; }
}
@media (max-width: 1100px) {
  .footer-top { gap: 25px; }
  .footer-wordmark { font-size: 23px; }
  .footer-social-icons { gap: 9px; }
  .contact-channel--icon .contact-platform-icon { width: 44px; height: 44px; }
}
@media (max-width: 959px) {
  .hello-contacts { top: calc(var(--figure-size) * .49 + 57px); left: 0; width: min(326px, 100%); }
}
@media (max-width: 767px) {
  .collaboration-directions { gap: 20px; }
  .collaboration-note { font-size: 11px; }
  .footer-top { gap: 24px; }
  .footer-wordmark { font-size: 22px; }
  .footer-wordmark > span { display: none; }
  .footer-social-icons { display: grid; grid-template-columns: repeat(4, 44px); gap: 2px; }
  .footer-connections { max-width: none; }
  .site-footer .footer-bottom .footer-back-top { grid-column: 2; grid-row: 3; justify-self: end; }
}
@media (max-width: 540px) {
  .hello-contacts { width: min(310px, 100%); padding: 17px; }
  .hello-contact-options { gap: 8px; }
  .contact-platform-icon { width: 48px; height: 48px; }
  .contact-platform-icon img { width: 34px; height: 34px; }
  .footer-top { gap: 12px; padding-bottom: 20px; }
  .footer-wordmark { font-size: 20px; line-height: 1.3; }
  .contact-channel--icon .contact-platform-icon { width: 44px; height: 44px; }
  .contact-channel--icon .contact-platform-icon img { width: 24px; height: 24px; }
  .footer-connections .contact-feedback { position: relative; max-width: 150px; font-size: 10px; padding: 8px; }
  .site-footer .message-panel > summary { font-size: 13px; }
}
@media (max-width: 380px) {
  .footer-wordmark { font-size: 19px; }
  .footer-social-icons { grid-template-columns: repeat(2, 44px); gap: 4px; }
}
@media (max-width: 360px) {
  .hello-contacts { top: calc(var(--figure-size) * .43 + 57px); padding: 15px; }
  .hello-contacts-heading { margin-bottom: 17px; }
  .hello-contacts-heading h2 { font-size: 20px; }
  .hello-contact-options { gap: 7px; }
  .contact-platform-icon { width: 44px; height: 44px; padding: 4px; border-radius: 14px; }
  .contact-platform-icon img { width: 32px; height: 32px; }
  .hello-message-link { font-size: 10px; }
}
@media (max-width: 959px) and (max-height: 650px) {
  .hello-contacts { position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom)); width: auto; max-width: 390px; max-height: calc(100dvh - 100px); margin-inline: auto; overflow-y: auto; border-radius: 22px; }
  .hello-contacts::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hello-contacts, .contact-channel { animation: none !important; }
  .contact-platform-icon, .contact-caption, .hello-toggle-symbol { transition: none; }
}
@media print {
  .hello-contacts, .character-hello { display: none !important; }
}
