/* Two quiet, thumb-reachable routes. The opening photograph stays clear. */
.contact-dock {
  position: fixed;
  z-index: 45;
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #b9a58f;
  background: #faf5ed;
  box-shadow: 0 6px 22px #49352d20;
}
.contact-dock[hidden] { display: none; }
.contact-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 58px;
  padding: 10px 14px;
  font:14px/1.4 var(--font-brand);
  text-decoration: none;
  color: #49352d;
}
.contact-dock a:first-child { color: #faf5ed; background: #49352d; }
.contact-dock a span { max-width: 10.5em; }
.contact-dock svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-dock a:focus-visible { outline: 2px solid #9b562d; outline-offset: 4px; }
.contact-dock a:first-child:focus-visible { outline-color: #faf5ed; outline-offset: -5px; }
.has-contact-dock { scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.has-contact-dock .site-footer { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
#jesmonite-eventi .story-photo { overflow: hidden; }
#jesmonite-eventi .story-photo img { transform-origin: 20% 65%; transform: scale(1.42); }
@media (hover: hover) {
  .contact-dock a:hover { background: #eadcc9; }
  .contact-dock a:first-child:hover { background: #634b3d; }
}
@media (min-width: 761px) {
  .contact-dock { left: auto; right: 28px; bottom: 24px; grid-template-columns: auto auto; }
  .contact-dock a { min-height: 52px; padding: 12px 20px; }
  .contact-dock a span { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-dock:not([hidden]) { animation: contact-dock-enter 220ms ease-out; }
  @keyframes contact-dock-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
