@import url("https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500&display=swap");
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #080808;
}

.ia {
  min-height: 100vh;
  background: #080808;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  position: relative;
  overflow: hidden;
}

.ia-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect x='8' y='4' width='28' height='20' rx='1' fill='none' stroke='white' stroke-width='0.8'/%3E%3Crect x='22' y='14' width='28' height='20' rx='1' fill='none' stroke='white' stroke-width='0.8'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.ia-cube-wrap {
  position: relative;
  width: 140px;
  height: 94px;
}

.ia-cube-wrap svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.piece-left {
  opacity: 0;
  transform: translateX(-30px) scale(0.9);
  animation: slideLeft 1s 0.1s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

.piece-right {
  opacity: 0;
  transform: translateX(30px) scale(0.9);
  animation: slideRight 1s 0.1s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.ia-name {
  font-size: 5.8rem;
  font-weight: 500;
  color: #efefef;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-top: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.85s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ia-payoff {
  font-size: 1.05rem;
  font-weight: 300;
  color: #777;
  letter-spacing: 0.04em;
  margin-top: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.85s 0.68s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ia-divider {
  width: 32px;
  height: 1px;
  background: #222;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.4s 0.78s ease forwards;
}

.ia-email-wrap {
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.85s 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ia-email {
  font-size: 1.1rem;
  font-weight: 400;
  color: #c8c8c8;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #333;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.ia-email:hover {
  color: #fff;
  border-color: #888;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 510px) {
  .ia-name {
    font-size: 4.8rem;
  }
}

@media (max-width: 420px) {
  .ia-name {
    font-size: 4.2rem;
  }
}

@media (max-width: 360px) {
  .ia-name {
    font-size: 3.8rem;
  }
}
