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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

/* ---- Hero (first screen) ---- */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #111;
}

.hero a {
  pointer-events: auto;
  font-size: 0.875rem;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.hero a:hover {
  color: #111;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  animation: float 2s ease-in-out infinite;
}

.scroll-dot {
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes scrollPulse {
  0% { cy: 10; opacity: 1; }
  50% { cy: 20; opacity: 0.3; }
  100% { cy: 10; opacity: 1; }
}

/* ---- Showcase (second screen) ---- */
.showcase {
  position: relative;
  z-index: 2;
  background: #fafafa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
}

.showcase-inner {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.showcase-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.showcase-desc {
  font-size: 1.0625rem;
  color: #777;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.showcase-image {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

a.showcase-image {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.showcase-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-image:hover img {
  transform: translateY(-4px);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* animate in when visible */
.showcase-inner.visible .showcase-label,
.showcase-inner.visible .showcase-title,
.showcase-inner.visible .showcase-desc,
.showcase-inner.visible .showcase-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  h1 {
    font-size: 1.75rem;
  }

  .hero a {
    font-size: 0.8125rem;
  }

  .showcase {
    padding: 64px 16px;
  }

  .showcase-title {
    font-size: 1.75rem;
  }

  .showcase-desc {
    font-size: 0.9375rem;
  }
}
