* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #efe8df;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.graviti-mobile-wrap {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #efe8df;
}

.graviti-mobile-hero {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #efe8df;
}

.graviti-mobile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
}

.graviti-mobile-copy {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 5.8%);
  right: calc(env(safe-area-inset-right, 0px) + 5.6%);
  width: 91%;
  text-align: right;
  z-index: 2;
}

.graviti-mobile-title {
  margin: 0;
  color: #b95a2d;
  font-size: clamp(28px, 8.6vw, 43px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.28);
}

.graviti-prefix {
  display: inline-block;
}

.graviti-word-slot {
  display: inline-block;
  min-width: 10.15ch;
  text-align: left;
  overflow: visible;
  vertical-align: baseline;
}

#gravitiTypedWord {
  display: inline-block;
  overflow: visible;
}

.graviti-cursor {
  display: inline-block;
  width: 2px;
  height: 0.78em;
  margin-left: 4px;
  background: #b95a2d;
  vertical-align: -0.04em;
  animation: gravitiBlink 0.72s infinite;
}

.graviti-cursor.hide {
  display: none;
}

.graviti-mobile-subtitle {
  margin: 8px 0 0;
  color: #b95a2d;
  font-size: clamp(21px, 6.5vw, 34px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.28);
}

.graviti-mobile-subtitle.show {
  opacity: 1;
  transform: translateY(0);
}

.graviti-mobile-logo {
  position: absolute;
  right: calc(env(safe-area-inset-right, 0px) + 5.4%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 5.4%);
  width: clamp(118px, 31vw, 154px);
  height: auto;
  display: block;
  z-index: 2;
}

@keyframes gravitiBlink {
  0%, 45% {
    opacity: 1;
  }
  46%, 100% {
    opacity: 0;
  }
}

@media (max-width: 360px) {
  .graviti-mobile-copy {
    top: calc(env(safe-area-inset-top, 0px) + 5.2%);
    right: calc(env(safe-area-inset-right, 0px) + 4.8%);
    width: 94%;
  }

  .graviti-mobile-title {
    font-size: clamp(25px, 8.3vw, 31px);
  }

  .graviti-mobile-subtitle {
    font-size: clamp(19px, 6.2vw, 25px);
  }

  .graviti-mobile-logo {
    width: 112px;
  }
}

@media (min-width: 481px) {
  .graviti-mobile-wrap {
    align-items: center;
    padding: 24px;
  }

  .graviti-mobile-hero {
    min-height: 854px;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .graviti-cursor {
    display: none;
  }

  .graviti-mobile-subtitle {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
