:root {
  --bg: #060b18;
  --bg-glow: #0f1f3d;
  --text: #e8eefc;
  --muted: #8b9bbd;
  --accent: #fbbf24;   /* "elevate" gold */
  --accent-2: #5eead4; /* globe teal */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  background: radial-gradient(ellipse at 50% 110%, var(--bg-glow) 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0 16px;
}

.globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  text-align: center;
  transform: translateY(-12vh);
}

.title {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.25em;
}

/* Each word rises up out of a clipping mask — "elevate" */
.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) forwards;
}
.word:nth-child(1) > span { animation-delay: .2s; }
.word:nth-child(2) > span { animation-delay: .45s; }
.word:nth-child(3) > span { animation-delay: .7s; }

/* "Beyond" keeps lifting slightly past its resting place, then settles */
.word--accent > span {
  background: linear-gradient(180deg, var(--accent) 20%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation-name: rise-beyond;
}

.tagline {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade 1s ease 1.6s forwards;
}
.tagline.is-visible { opacity: 1; animation: none; letter-spacing: normal; text-transform: none; }

.title--static { display: block; }

@keyframes rise {
  to { transform: translateY(0); }
}
@keyframes rise-beyond {
  0%   { transform: translateY(110%); }
  70%  { transform: translateY(-8%); }
  100% { transform: translateY(0); }
}
@keyframes fade {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .word > span, .tagline { animation: none; transform: none; opacity: 1; }
}
