:root {
  color-scheme: dark;
  background: #080f19;
  color: #e6ecf1;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 280px; }

body { min-height: 100svh; }

.identity {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #080f19, #0b1522 49.5%, #080f19 78%);
}

.atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 56% 22% at 50% 47%, rgba(74, 112, 153, 0.11), transparent 100%);
  animation: arrive 2.4s ease-out both;
}

.horizon {
  position: absolute;
  inset: 47.5% 0 auto;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(119, 150, 180, 0.14) 20%, rgba(193, 215, 232, 0.34) 50%, rgba(119, 150, 180, 0.14) 80%, transparent);
  transform-origin: 50% 50%;
  animation: horizon-arrives 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.horizon__light {
  position: absolute;
  top: 0;
  left: 35%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 231, 244, 0.55), transparent);
  box-shadow: 0 0 35px 2px rgba(123, 176, 215, 0.11);
}

h1 {
  margin: 0;
  padding: 0 0.12em 0 0;
  font-size: clamp(38px, 8.4vw, 132px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.065em;
  transform: translateY(0.7em);
  animation: name-arrives 1.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

::selection { color: #080f19; background: #c9d8e5; }

@keyframes horizon-arrives {
  from { opacity: 0; transform: scaleX(0.48); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes name-arrives {
  from { opacity: 0; transform: translateY(0.8em); }
  to { opacity: 1; transform: translateY(0.7em); }
}

@keyframes arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(36px, 10.4vw, 62px); }
  .horizon { inset-block-start: 48.5%; }
  .atmosphere { background-size: 150% 100%; background-position: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
