/* The dog footer for pages that do not load styles.css (the card trick page).
   A copy of the footer rules in styles.css: change both together. */
.footer-dogs-wrap, .footer-dogs, .footer-keys { box-sizing: border-box; }
.footer { background: var(--paper); padding-top: 36px; }
.footer-main { display: flex; justify-content: center; padding-bottom: 34px; }
/* Keyboard-only contact links: the dogs need a pointer, so these stay hidden until someone tabs to them. */
.footer-keys { display: flex; justify-content: center; gap: 10px; height: 0; translate: 0 -30px; }
.footer-keys a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-keys a:focus-visible { position: static; width: auto; height: auto; clip-path: none; align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; outline: 3px solid var(--blue); outline-offset: 3px; }
/* The origami dogs (footer-dogs.js): a 3D stage beside the contact copy. Each dog is a contact button. */
.footer-dogs-wrap { position: relative; flex: 1 1 0; min-width: 0; max-width: 820px; }
.footer-dogs { height: 380px; }
.footer-dogs canvas { display: block; width: 100%; height: 100%; }
/* The paw cursor shows anywhere inside the footer, not only over a dog. */
.footer, .footer canvas { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%23533c2e' stroke='white' stroke-width='1.4'%3E%3Cellipse cx='7' cy='12' rx='3.6' ry='4.7' transform='rotate(-25 7 12)'/%3E%3Cellipse cx='13' cy='7' rx='3.5' ry='4.7'/%3E%3Cellipse cx='21' cy='8' rx='3.5' ry='4.7' transform='rotate(15 21 8)'/%3E%3Cellipse cx='27' cy='14' rx='3.3' ry='4.4' transform='rotate(30 27 14)'/%3E%3Cpath d='M8 23c0-4 5-9 8-9s8 5 8 9c0 6-5 4-8 4s-8 2-8-4Z'/%3E%3C/g%3E%3C/svg%3E") 16 16, auto; }
.footer-dogs.dog-hovered, .footer-dogs.dog-hovered canvas { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%23533c2e' stroke='white' stroke-width='1.4'%3E%3Cellipse cx='7' cy='12' rx='3.6' ry='4.7' transform='rotate(-25 7 12)'/%3E%3Cellipse cx='13' cy='7' rx='3.5' ry='4.7'/%3E%3Cellipse cx='21' cy='8' rx='3.5' ry='4.7' transform='rotate(15 21 8)'/%3E%3Cellipse cx='27' cy='14' rx='3.3' ry='4.4' transform='rotate(30 27 14)'/%3E%3Cpath d='M8 23c0-4 5-9 8-9s8 5 8 9c0 6-5 4-8 4s-8 2-8-4Z'/%3E%3C/g%3E%3C/svg%3E") 16 16, pointer; }
/* "Email copied": a badge under the middle dog, shown for a moment after it's clicked. */
.footer-dogs-toast { position: absolute; left: 50%; bottom: 10px; translate: -50% -6px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 550; white-space: nowrap; box-shadow: 0 8px 18px #23242622; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; }
.footer-dogs-toast::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23232426' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.footer-dogs-toast:empty { display: none; }
.footer-dogs-toast.is-shown { opacity: 1; translate: -50% 0; }
@media (max-width: 760px) {
  .footer { padding-top: 45px; }
  .footer-main { padding-bottom: 44px; }
  .footer-dogs { height: 215px; }
  .footer-dogs-toast { bottom: -22px; }
}
