.asme [data-asme-hero-video] { transition: opacity .5s linear; }
.asme-js .asme [data-asme-hero-video]:not(.is-visible) { opacity: 0; }
.asme-js .asme [data-asme-reveal] {
  transition: opacity var(--asme-duration) cubic-bezier(0,0,.58,1) var(--asme-delay),
              transform var(--asme-duration) cubic-bezier(0,0,.58,1) var(--asme-delay);
}
.asme-js .asme [data-asme-reveal]:not(.is-visible) { opacity: 0; transform: var(--asme-start); }
.asme [data-asme-discover] { transition: scale .2s ease-out; }
@media (hover:hover) {
  .asme [data-asme-discover]:hover { scale: 1.05; }
}
.asme [data-asme-discover]:active { scale: .95; }
@media (prefers-reduced-motion:reduce) {
  html.scroll-smooth { scroll-behavior: auto; }
  .asme [data-asme-hero-video], .asme [data-asme-discover] { transition: none; }
  .asme-js .asme [data-asme-reveal]:not(.is-visible) { transform: none; }
}

.asme-form > [data-slot=field] > .field { display: contents; }
.asme-form .field > label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.asme-form .field > input {
  flex: 1 1 0; min-width: 0; background: transparent; color: inherit;
  border: 0; font-size: .875rem; line-height: 1.25rem;
}
.asme-form .field > input::placeholder { color: hsl(0 0% 100% / .4); }
.asme-form .field > input:focus-visible { outline: none; box-shadow: inset 0 -1px hsl(0 0% 100% / .64); }
.asme-form .wf-consents { color: white; margin: .875rem .35rem 0 0; text-align: start; min-width: 0; }
.asme-form.asme-consents-collapsed > .wf-consents { display: none; }
.asme-form:has(.wf-consents):not(.asme-consents-collapsed) { border-radius: 1.5rem; }
.asme #opening > div:has(> .asme-form:not(.asme-consents-collapsed) .wf-consents) { translate: none; }
.asme-form .asme-form-status:not([hidden]) { margin: .85rem 0 .3rem; text-align: start; }
.asme-footer-link, #footer p a { transition: color .2s ease; }
#footer p a:hover { color: white; }

@media (max-width:420px) {
  .asme #opening header nav > div:last-child { gap: .75rem; }
  .asme #opening header nav > div:last-child button { padding-inline: .7rem; }
}
@media (max-width:380px) {
  .asme #opening header nav { padding-inline: .85rem; }
  .asme #opening header nav > div:last-child { gap: .25rem; }
  .asme #opening header nav > div:last-child button { padding-inline: .42rem; font-size: .8125rem; }
}
