.floating-contact {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 31;
}
.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 48px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #d3b88c;
  border-radius: 28px;
  color: #241b11;
  background: #dac19a;
  box-shadow: 0 6px 24px #0005;
  font:
    500 12px 'DM Sans',
    Arial,
    sans-serif;
  text-decoration: none;
}
.floating-contact svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.floating-contact a:hover {
  background: #efe1c9;
}
.floating-contact a:focus-visible {
  outline: 2px solid #f3e9d8;
  outline-offset: 4px;
}
.floating-contact--journey {
  right: clamp(12px, 1.4vw, 20px);
  bottom: calc(var(--footer-space, 96px) + 16px);
}
.floating-contact--journey a {
  width: 48px;
  height: 48px;
  padding: 12px;
}
.floating-contact--journey span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body:has(.floating-contact--journey) #journey .panel {
  padding-bottom: calc(var(--footer-space, 96px) + 84px);
}
body.intro-playing .floating-contact,
body:has(dialog[open]) .floating-contact {
  visibility: hidden;
  pointer-events: none;
}
.direct-footer {
  padding-right: 94px;
}
.floating-contact--direct a {
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 10px;
}
.floating-contact--direct span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.floating-contact--direct {
  right: 18px;
  bottom: calc(6px + env(safe-area-inset-bottom));
}
@media (max-width: 800px) {
  body:has(.floating-contact--journey) {
    --footer-space: 112px;
  }
  body:has(.floating-contact--journey) .journey-footer {
    grid-template-rows: 44px 44px;
    row-gap: 4px;
    padding-top: 4px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  body:has(.floating-contact--journey) .footer-left .replay-intro,
  body:has(.floating-contact--journey) .footer-left .motion-toggle,
  body:has(.floating-contact--journey) .footer-email {
    min-height: 44px;
    height: 44px;
  }
  .floating-contact--journey {
    right: 6%;
    bottom: calc(64px + env(safe-area-inset-bottom));
  }
  .floating-contact--journey a {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 10px;
  }
  .floating-contact--journey span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body:has(.floating-contact--journey) #journey .panel {
    padding-bottom: calc(var(--footer-space, 100px) + 24px + env(safe-area-inset-bottom));
  }
  .journey-footer .footer-left {
    padding-right: 60px;
  }
  .journey-footer .footer-left .motion-toggle {
    margin-left: 6px;
  }
}
@media (max-width: 600px) {
  .direct-footer > span {
    display: none;
  }
}
@media print {
  .floating-contact {
    display: none;
  }
}
