.chef-wordmark-button {
  position: relative;
  display: block;
  width: min(100%, 260px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chef-wordmark-button:focus-visible {
  outline: 2px solid #9c7836;
  outline-offset: 3px;
  border-radius: 5px;
}

.chef-wordmark-button::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, #b57b16 43%, #ffe39a 50%, #d39a2d 57%, transparent 65%);
  background-size: 300% 100%;
  -webkit-mask: url("images/chef-preview/chef-kay-wordmark.png") center / contain no-repeat;
  mask: url("images/chef-preview/chef-kay-wordmark.png") center / contain no-repeat;
}

.chef-wordmark-button.is-wordmark-sweeping::after {
  animation: chef-wordmark-gold-sweep 1400ms linear forwards;
}

@keyframes chef-wordmark-gold-sweep {
  0% { background-position: 100% center; opacity: 0.5; }
  100% { background-position: 0% center; opacity: 0.5; }
}

.chef-input-wrap {
  position: relative;
}

.chef-input-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 1px;
  border-radius: 4px;
  background: linear-gradient(105deg, transparent 35%, #b57b16 43%, #ffe39a 50%, #d39a2d 57%, transparent 65%);
  background-size: 300% 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.chef-input-wrap.is-field-sweeping::after {
  animation: chef-field-gold-sweep 1400ms linear forwards;
}

@keyframes chef-field-gold-sweep {
  0% { background-position: 100% center; opacity: 0.8; }
  100% { background-position: 0% center; opacity: 0.8; }
}

.chef-kiss-reveal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.chef-kiss-reveal[hidden] {
  display: none;
}

.chef-kiss-reveal img {
  display: block;
  width: 68vw;
  height: 68vh;
  height: 68dvh;
  object-fit: contain;
  transform-origin: center;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .chef-wordmark-button.is-wordmark-sweeping::after,
  .chef-input-wrap.is-field-sweeping::after {
    animation: none;
    opacity: 0;
  }
}
