:root {
  color-scheme: dark;
  --ink: #fff9ef;
  --muted: rgba(255, 249, 239, 0.76);
  --soft: rgba(255, 249, 239, 0.54);
  --glass: rgba(7, 8, 13, 0.28);
  --edge: rgba(255, 255, 255, 0.18);
  --shadow: rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #030309;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans", "Noto Sans CJK SC", "Noto Sans JP", "Noto Sans KR",
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.12) 0 22%, rgba(0, 0, 0, 0.64) 64%, #030309 100%),
    image-set(url("./assets/pigment-burst.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 3, 9, 0.36), rgba(3, 3, 9, 0.04) 40%, rgba(3, 3, 9, 0.46)),
    radial-gradient(circle at center, transparent 0 31%, rgba(0, 0, 0, 0.52) 73%);
  content: "";
}

.ambient {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 27% 29%, rgba(0, 242, 255, 0.16), transparent 18%),
    radial-gradient(circle at 75% 68%, rgba(255, 60, 170, 0.16), transparent 17%),
    radial-gradient(circle at 52% 16%, rgba(255, 218, 46, 0.12), transparent 16%);
  filter: blur(16px);
  opacity: 0.85;
  animation: breathe 12s ease-in-out infinite;
}

.language-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.language-cloud span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: min(260px, 34vw);
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.66rem, 0.55rem + 0.32vw, 0.96rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.34), 0 10px 28px var(--shadow);
  transform: translate(-50%, -50%);
  animation: drift 10s ease-in-out infinite;
  animation-delay: var(--d);
}

.brand-lockup {
  display: grid;
  width: min(760px, 92vw);
  place-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--edge);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--glass);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-align: center;
  backdrop-filter: blur(14px) saturate(1.18);
}

.brand-mark {
  display: block;
  width: clamp(92px, 12vw, 148px);
  height: clamp(92px, 12vw, 148px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18%;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), 0 0 34px rgba(255, 255, 255, 0.14);
}

h1 {
  margin: clamp(14px, 2.2vw, 24px) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 9px 42px rgba(0, 0, 0, 0.55);
}

.tagline {
  max-width: 520px;
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.42rem);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0;
}

.soon {
  margin: clamp(24px, 3vw, 36px) 0 0;
  color: var(--soft);
  font-size: clamp(0.76rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    opacity: 0.32;
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
  }

  50% {
    opacity: 0.78;
    transform: translate(-50%, -50%) translate3d(0, -10px, 0);
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .hero {
    min-height: 100svh;
    padding: 22px;
  }

  .language-cloud span {
    max-width: 42vw;
    opacity: 0.54;
  }

  .language-cloud span:nth-child(3n) {
    display: none;
  }

  .brand-lockup {
    width: min(100%, 430px);
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient,
  .language-cloud span {
    animation: none;
  }
}
