:root {
  --bg: #0a0b0d;
  --ink: #f2efe8;
  --muted: #9a958c;
  --gold: #c9a46c;
  --gold-soft: rgba(201, 164, 108, 0.18);
  --line: rgba(242, 239, 232, 0.1);
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  position: fixed;
  inset: 0;
  width: 100%;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, transparent 35%, rgba(10, 11, 13, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.15), rgba(10, 11, 13, 0.75));
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}

.orb-a {
  width: min(78vw, 560px);
  height: min(78vw, 560px);
  top: -18%;
  right: -14%;
  background: radial-gradient(circle, rgba(201, 164, 108, 0.38), transparent 68%);
}

.orb-b {
  width: min(60vw, 420px);
  height: min(60vw, 420px);
  bottom: -22%;
  left: -16%;
  background: radial-gradient(circle, rgba(58, 92, 118, 0.32), transparent 70%);
  animation-delay: -5s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 3.5%, 0) scale(1.06); }
}

.stage {
  position: relative;
  z-index: 3;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
}

.hero {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  padding: 0.5rem 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.logo {
  width: clamp(64px, 14vw, 88px);
  height: clamp(64px, 14vw, 88px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  animation: logo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0;
  font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--gold);
  line-height: 1;
}

.headline {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.1rem, 8.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  font-size: clamp(0.95rem, 2.6vw, 1.08rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.cta-row {
  display: flex;
  margin-top: 1.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: #14110c;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  box-shadow: 0 0 0 0 var(--gold-soft);
  animation: pulse 2.8s ease-in-out infinite;
}

.cta:hover {
  background: #dabb7a;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--gold-soft);
  animation: none;
}

.cta:active {
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-soft); }
  50% { box-shadow: 0 0 0 14px transparent; }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.foot {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  align-items: center;
  justify-content: flex-start;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  padding-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.42s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: center;
    text-align: center;
  }

  .brand-lockup {
    align-items: center;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
    width: 100%;
  }

  .cta {
    width: min(100%, 20rem);
  }

  .foot {
    justify-content: center;
    text-align: center;
  }

  .headline {
    max-width: none;
  }
}

@media (max-height: 700px) {
  .logo {
    width: 56px;
    height: 56px;
  }

  .brand-lockup {
    margin-bottom: 0.85rem;
    gap: 0.55rem;
  }

  .headline {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .lede {
    margin-top: 0.85rem;
    font-size: 0.92rem;
  }

  .cta-row {
    margin-top: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .cta,
  .reveal,
  .logo {
    animation: none !important;
  }
  .reveal,
  .logo {
    opacity: 1;
    transform: none;
  }
}
