.share-band-mobile,
.share-button-mobile {
  display: none;
}

.share-secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color .4s cubic-bezier(.2,.75,.2,1);
}

.share-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffc305;
  border-radius: inherit;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  transition: clip-path .4s cubic-bezier(.2,.75,.2,1);
}

.share-secondary:hover,
.share-secondary:focus-visible {
  color: #ffc305;
  border-color: #6c6962;
}

.share-secondary:hover::before,
.share-secondary:focus-visible::before {
  clip-path: inset(0 0 0 0);
}

@media (max-width: 600px) and (orientation: portrait) {
  .share-band-desktop,
  .share-button-desktop {
    display: none !important;
  }

  .share-band-mobile,
  .contact-share-button .share-button-mobile {
    display: inline;
  }

  .contact-share-band {
    gap: 8px;
    padding-block: 15px;
  }

  .contact-share-copy p {
    font-size: clamp(8px, 2.5vw, 10px);
    line-height: 1.25;
    white-space: nowrap;
  }

  .contact-share-button {
    flex: 0 0 auto;
    width: auto;
    height: 40px;
    min-height: 40px;
    gap: 6px;
    padding-inline: 9px;
    font-size: clamp(9px, 2.5vw, 10px);
  }

  .contact-share-button svg {
    width: 15px;
    height: 15px;
  }

  .contact-email-alternative a {
    color: #aaa8a3;
    text-decoration: underline;
    text-decoration-color: #aaa8a3;
    text-underline-offset: 2px;
  }

  .contact-scene footer .contact-return {
    margin-top: 8px;
  }
}

@media (max-width: 600px) and (orientation: portrait) and (min-height: 820px) {
  #prototype-contact button {
    margin-top: 10px;
  }

  .contact-share-band {
    margin-top: 38px;
  }
}

@media (max-width: 600px) and (orientation: portrait) and (min-height: 731px) and (max-height: 819px) {
  #prototype-contact button {
    margin-top: 9px;
  }

  .contact-share-band {
    margin-top: 25px;
  }
}

@media (max-width: 600px) and (orientation: portrait) and (max-height: 730px) {
  #prototype-contact button {
    margin-top: 5px;
  }

  .contact-share-band {
    margin-top: 20px;
    padding-block: 11px;
  }
}

@media (max-width: 340px) and (orientation: portrait) and (max-height: 730px) {
  #prototype-contact button {
    margin-top: 3px;
  }

  .contact-share-band {
    margin-top: 14px;
  }

  .contact-scene footer .contact-return {
    margin-top: 4px;
  }
}

@media (max-width: 340px) and (orientation: portrait) {
  .share-card h2 {
    font-size: 18.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .share-secondary,
  .share-secondary::before {
    transition: none;
  }
}
