/* Restore entrance states only for cached legacy HTML. */
html:not([data-animation-markup]) [style='opacity:0'] {
  opacity: 1 !important;
}
html:not([data-animation-markup]) [style*='opacity:0;transform:'] {
  opacity: 1 !important;
  transform: none !important;
}
[data-split] {
  opacity: 1 !important;
}
img.opacity-0:not(.clone-ascii-photo) {
  opacity: 1 !important;
}
header nav .bg-ghost-grey {
  width: 480px;
  max-width: 100%;
}

.hero-motion-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #232323;
}
.dive-track {
  flex: none !important;
}
.hero-motion-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-motion-hint {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 2px 4px;
  background: #f1efe9;
  color: #232323;
  font:
    12px/1.2 Geist Mono,
    monospace;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}
.hero-motion-host.is-hovered .hero-motion-hint {
  opacity: 1;
}
.hero-receipt-active > p {
  background: #232323;
  color: #fff;
}
.field-motion-interactive {
  cursor: pointer;
  overflow: hidden;
}
.field-motion-hint {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 2px;
  background: #fff;
  color: #232323;
  font: 400 var(--text-caption-10)/1.25 var(--font-mono);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.field-motion-interactive.is-hovered .field-motion-hint {
  opacity: 1;
}
.clone-ascii {
  transition: opacity 0.5s ease-out;
}
.clone-ascii-photo {
  opacity: 0 !important;
}
.group:hover .clone-ascii-photo,
.group[data-active='true'] .clone-ascii-photo {
  opacity: 1 !important;
}
.footer-motion-host {
  overflow: hidden;
}
.footer-motion-host.is-hovered .hero-motion-hint {
  opacity: 1;
}
.clone-typing-cursor {
  position: absolute;
  width: 0.1em;
  height: 1.05em;
  margin-top: 0.1em;
  background: currentColor;
  animation: clone-cursor 1s step-end infinite;
}
.clone-typing-cursor[hidden] {
  display: none;
}
@keyframes clone-cursor {
  50% {
    opacity: 0;
  }
}
.showcase-credits {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 360px;
  padding: 8px;
  border: 1px solid #111;
  border-radius: 8px;
  color: #fff;
  background: #191919 repeating-conic-gradient(#ffffff38 0% 25%, transparent 0% 50%) 0 / 4px 4px;
  box-shadow: 0 10px 20px #0006;
  font: 400 var(--text-caption-10)/1.5 var(--font-mono);
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.showcase-credits.is-visible {
  opacity: 1;
}
.showcase-credits > div {
  padding: 8px;
  border-radius: 3px;
  background: #232323;
}
.showcase-credit-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.showcase-credit-row > :first-child {
  flex: none;
  color: #888;
}
.showcase-credit-row > :last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  white-space: nowrap;
}
.showcase-awards {
  flex: 1;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 8px), transparent);
}
.showcase-awards > span {
  display: block;
  width: max-content;
  animation: showcase-awards 14s linear infinite;
}
@keyframes showcase-awards {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .clone-ascii,
  .showcase-credits,
  .field-motion-hint {
    transition: none;
  }
  .clone-typing-cursor,
  .showcase-awards > span {
    animation: none;
  }
}
@media (pointer: coarse) {
  .field-motion-hint {
    top: 16px;
    left: auto;
    right: 16px;
    opacity: 1;
    transform: none !important;
  }
  .showcase-credits {
    display: none;
  }
}

.clone-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  min-width: 170px;
  padding: 10px 8px;
  color: #f3f1ec;
  background: #232323;
  border: 1px solid #4a4a4a;
  border-radius: 4px;
  box-shadow: 0 12px 28px #0004;
  font:
    12px/1.5 Geist Mono,
    monospace;
  text-transform: uppercase;
}
.clone-menu[hidden] {
  display: none;
}
.clone-menu a {
  display: block;
  padding: 5px 4px;
}
.clone-menu a:hover,
.clone-menu a:focus-visible {
  color: #fff;
  background: #454545;
}

.clone-dialog {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f1efeb;
  background: #111f;
  font-family:
    Geist Mono,
    monospace;
}
.clone-dialog[hidden] {
  display: none;
}
.clone-dialog-card {
  width: min(680px, 100%);
  padding: 24px;
  border: 1px solid #6d6d6d;
  background: #232323;
  box-shadow: 0 24px 80px #0009;
}
.clone-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.clone-dialog h2 {
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.1;
}
.clone-dialog p {
  margin: 20px 0 0;
  color: #bbb;
  font:
    14px/1.6 Geist,
    sans-serif;
}
.clone-dialog button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  color: #222;
  background: #f2f0ea;
  border-radius: 4px;
  cursor: pointer;
}
.clone-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1001;
  max-width: 320px;
  padding: 14px 18px;
  color: #fff;
  background: #252525;
  border: 1px solid #666;
  box-shadow: 0 10px 35px #0005;
  font:
    13px/1.4 Geist Mono,
    monospace;
}

.clone-story {
  position: fixed;
  inset: 0;
  z-index: 1002;
  color: #272727;
  font-family: Geist, sans-serif;
}
.clone-story-backdrop {
  position: absolute;
  inset: 0;
  background: #0008;
}
.clone-story-nav {
  position: absolute;
  top: 16px;
  right: min(61vw, 772px);
  width: 176px;
  padding: 13px 16px;
  background: #d8d8d8;
  border-radius: 8px;
  font:
    12px/1.7 Geist Mono,
    monospace;
}
.clone-story-nav button {
  display: block;
  overflow: hidden;
  width: 100%;
  border: 0;
  background: none;
  color: #333;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
.clone-story-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: min(740px, calc(100vw - 32px));
  padding: 16px;
  overflow-y: auto;
  background: #d8d8d8;
  border-radius: 8px;
  scrollbar-color: #fff transparent;
}
.clone-story-head {
  display: flex;
  justify-content: space-between;
  min-height: 136px;
  gap: 12px;
  border-bottom: 1px solid #b7b7b7;
  font:
    14px Geist Mono,
    monospace;
}
.clone-story-head h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 400;
}
.clone-story-head p {
  margin: 0;
  color: #666;
}
.clone-story-close {
  align-self: flex-start;
  width: 48px;
  min-width: 48px;
  height: 50px;
  border: 0;
  border-radius: 4px;
  background: #252525;
  color: #fff;
  font:
    13px Geist Mono,
    monospace;
  cursor: pointer;
}
.clone-story-close span {
  display: block;
  position: relative;
  top: 17px;
  left: -3px;
  padding: 2px 3px;
  background: #252525;
}
.clone-story-panel section {
  padding: 48px 0 64px;
  border-bottom: 1px solid #b7b7b7;
}
.clone-story-panel h3 {
  margin: 0 0 20px;
  font:
    14px Geist Mono,
    monospace;
}
.clone-story-panel section p {
  margin: 0 0 16px;
  font:
    15px/1.35 Geist,
    sans-serif;
}
.clone-story-panel a {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.clone-story-panel img {
  display: inline;
  width: 32px;
  height: 32px;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 3px;
}

@media (max-width: 1023px) {
  header nav {
    position: relative;
  }
  header nav .bg-ghost-grey {
    width: 152px;
  }
  header nav .clone-menu-open {
    position: relative;
    height: 225px;
  }
  header nav .clone-menu-open .bg-ghost-grey {
    position: absolute;
    bottom: 4px;
    left: 4px;
    margin-top: 0;
  }
  header nav .clone-menu {
    top: 39px;
    left: 4px;
    width: calc(100% - 8px);
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  header nav .clone-menu a {
    padding: 5px 4px;
  }
  .clone-story-nav {
    top: 8px;
    right: 8px;
    left: 8px;
    width: auto;
  }
  .clone-story-panel {
    top: 95px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }
}
