/* Graphite-style Bufo bufo illustration, isolated from the site's typography. */
.contact-toad-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1000;
}
.contact-toad {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 120px;
  height: 78px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  appearance: none;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  contain: layout style;
  will-change: transform;
  --toad-facing: 1;
  --toad-step: 0.55s;
}
.contact-toad:focus-visible { outline: 1px dotted #666; outline-offset: 3px; }
.contact-toad[hidden] { display: none; }
.contact-toad svg { display: block; width: 100%; height: 100%; overflow: visible; }
.toad-facing { transform: scaleX(var(--toad-facing)); transform-origin: 80px 52px; }
.toad-shadow { fill: #333; opacity: 0.08; }
.toad-body, .toad-limbs { stroke: #444; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.toad-coat, .toad-limbs-near { fill: url(#toad-skin); }
.toad-limbs-far { fill: #d8d8d8; stroke: #666; }
.toad-mottling { fill: url(#toad-shade); stroke: none; }
.toad-throat { fill: url(#toad-throat); stroke: none; transform-origin: 116px 62px; }
.toad-parotoid { fill: url(#toad-throat); stroke: #666; stroke-width: 0.8; }
.toad-fold, .toad-toes { fill: none; stroke: #666; stroke-width: 0.8; }
.toad-warts, .toad-wart { fill: #f5f5f5; stroke: #777; stroke-width: 0.65; }
.toad-eye-rim { fill: #ededed; stroke: #555; }
.toad-iris { fill: url(#toad-shade); stroke: #444; stroke-width: 0.7; }
.toad-pupil, .toad-nostril { fill: #252525; stroke: none; }
.toad-eye-glint { fill: #fff; stroke: none; }
.toad-brow { fill: none; stroke: #555; stroke-width: 1.1; }
.toad-mouth-closed { fill: none; stroke: #333; stroke-width: 1.1; }
.toad-mouth-open { opacity: 0; transform: scaleY(0.05); transform-origin: 130px 60px; }
.toad-mouth-cavity { fill: #333; stroke: #555; }
.toad-mouth-inner { fill: #aaa; stroke: none; }
.toad-jaw { fill: none; stroke: #ddd; stroke-width: 1.7; }
.toad-leg-a, .toad-leg-b { transform-box: fill-box; transform-origin: 65% 15%; }
.contact-toad:is([data-motion="walk"], [data-motion="flee"], [data-motion="escape"]) .toad-leg-a {
  animation: toad-step var(--toad-step) ease-in-out infinite alternate;
}
.contact-toad:is([data-motion="walk"], [data-motion="flee"], [data-motion="escape"]) .toad-leg-b {
  animation: toad-step var(--toad-step) ease-in-out infinite alternate-reverse;
}
.contact-toad:is([data-motion="walk"], [data-motion="flee"], [data-motion="escape"]) .toad-body {
  animation: toad-crawl var(--toad-step) ease-in-out infinite alternate;
}
.contact-toad:is([data-motion="flee"], [data-motion="escape"]) { --toad-step: 0.16s; }
.contact-toad:is([data-motion="idle"], [data-motion="watch"]) .toad-throat {
  animation: toad-breathe 1.4s ease-in-out infinite alternate;
}
.contact-toad[data-motion="croak"] .toad-mouth-closed { opacity: 0; }
.contact-toad[data-motion="croak"] .toad-mouth-open { animation: toad-croak 1.2s ease-in-out both; }
.contact-toad[data-motion="croak"] .toad-throat { animation: toad-throat 1.2s ease-in-out both; }
@keyframes toad-step {
  from { transform: rotate(-10deg) translateX(-2px); }
  to { transform: rotate(10deg) translateX(2px); }
}
@keyframes toad-crawl {
  from { transform: translate(0, 0); }
  to { transform: translate(1px, -1px); }
}
@keyframes toad-breathe { from { transform: scaleY(1); } to { transform: scaleY(1.06); } }
@keyframes toad-croak {
  0%, 100% { opacity: 0; transform: scaleY(0.05); }
  18%, 78% { opacity: 1; transform: scaleY(1); }
}
@keyframes toad-throat { 0%, 100% { transform: scaleY(1); } 30%, 70% { transform: scaleY(1.18); } }
@media (prefers-reduced-motion: reduce) {
  .contact-toad { display: none !important; }
  .contact-toad * { animation: none !important; }
}
