@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --stone: #bbb1a4;
  --ink: #525342;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--stone);
  font-family: 'Montserrat', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 1.5rem;
  overflow: hidden;
  background: var(--stone);
}

.hero__glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 140vw;
  height: 70vh;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 70% at 50% 0%,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.symbol {
  width: 3.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-in 1.6s var(--ease) 0.4s forwards;
  filter: drop-shadow(-2px -2px 3px rgba(255, 255, 255, 0.55))
    drop-shadow(2px 3px 3px rgba(84, 76, 66, 0.45))
    drop-shadow(0 8px 24px rgba(84, 76, 66, 0.22));
}

.wordmark {
  margin: 0 0 2.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(3.5rem, 14vw, 12rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--stone);
  opacity: 0;
  text-shadow: var(--wx, -1.5px) var(--wy, -1.5px) 2px rgba(255, 255, 255, 0.42),
    var(--dx, 1.5px) var(--dy, 2px) 2px rgba(84, 76, 66, 0.38),
    0 12px 36px rgba(84, 76, 66, 0.18);
  animation: fade-in 1.6s var(--ease) 0.2s forwards;
  will-change: text-shadow;
}

.hebrew {
  margin-bottom: 2.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--stone);
  opacity: 0;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.35),
    1px 1px 1px rgba(84, 76, 66, 0.3), 0 4px 14px rgba(84, 76, 66, 0.15);
  animation: fade-in 1.6s var(--ease) 1.1s forwards;
}

.hebrew__inner {
  display: inline-block;
  animation: pulse 4.5s ease-in-out 1.6s infinite;
}

.tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.3),
    1px 1px 1px rgba(38, 36, 26, 0.35), 0 4px 14px rgba(38, 36, 26, 0.18);
  animation: fade-in 1.6s var(--ease) 1.5s forwards;
}

/* Subtle stamped arrow that leads to elior.studio */
.enter {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3.5rem;
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  animation: fade-in 1.6s var(--ease) 1.9s forwards;
  transition: transform 0.5s var(--ease);
}

.enter:hover {
  transform: translateY(-2px);
}

.enter:focus-visible {
  outline: 2px solid rgba(82, 83, 66, 0.5);
  outline-offset: 8px;
  border-radius: 6px;
}

.enter__label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(82, 83, 66, 0.55);
  text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.3),
    1px 1px 1px rgba(38, 36, 26, 0.25);
}

.enter__arrow {
  color: var(--stone);
  filter: drop-shadow(-1px -1px 1px rgba(255, 255, 255, 0.5))
    drop-shadow(1px 2px 2px rgba(84, 76, 66, 0.4));
  animation: nudge 3.4s ease-in-out 2.6s infinite;
}

.enter:hover .enter__arrow {
  animation: none;
  transform: translateX(6px);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@media (min-width: 768px) {
  .symbol {
    width: 5rem;
    margin-bottom: 3.5rem;
  }
  .wordmark {
    margin-bottom: 3.5rem;
  }
  .hebrew {
    margin-bottom: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .symbol,
  .wordmark,
  .hebrew,
  .tagline,
  .enter {
    opacity: 1;
    animation: none;
  }
  .hebrew__inner,
  .enter__arrow {
    animation: none;
  }
}
