@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-v20-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/GeneralSans-Regular.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  background: #050505;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #050505;
}

body {
  position: relative;
  cursor: default;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.contact-intro {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
}

.bg-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

#scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.identity-meta {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: clamp(190px, 21vw, 310px);
  max-width: calc(100% - 32px);
  gap: clamp(5px, 0.55vw, 9px);
  color: #cacaca;
  font-family: "General Sans", Arial, sans-serif;
  font-size: clamp(13px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.identity-meta span {
  display: block;
  white-space: nowrap;
}

.identity-meta__email {
  display: block;
  width: 100%;
  margin: 0;
  padding: 3px 6px;
  border: 0;
  border-radius: 2px;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: center;
  white-space: nowrap;
  appearance: none;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, background-color 160ms ease;
}

.identity-meta__email:hover {
  color: #fff;
}

.identity-meta__email:focus-visible {
  color: #fff;
  outline: 1px solid #cacaca;
  outline-offset: 4px;
}

.identity-meta__email[data-copy-state="success"] {
  color: #fff;
}

.identity-meta__email[data-copy-state="error"] {
  color: #ff7c89;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .bg-animation {
    display: none;
  }

  .identity-meta__email {
    transition: none;
  }
}