/* ---- Particle canvas ---- */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Hero ---- */
.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: 16px;
}

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

.hero-tagline {
  font-size: 1rem;
  color: #888;
  letter-spacing: 0.01em;
}

.hero a {
  pointer-events: auto;
}

.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; }
}

/* ---- Homepage sections ---- */
.section {
  position: relative;
  z-index: 2;
  padding: 96px 24px;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section:nth-child(even) {
  background: #fafafa;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 12px;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 16px;
}

.section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section .text-link {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #ccc;
  transition: text-decoration-color 0.2s;
}

.section .text-link:hover {
  text-decoration-color: #111;
}

.section .contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.section .contact-email:hover {
  color: #111;
}

/* ---- Showcase ---- */
.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 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.product-statement {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}

.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 .product-statement,
.showcase-inner.visible .showcase-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- Homepage footer override ---- */
.home-footer {
  position: relative;
  z-index: 2;
}

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

  .hero-tagline {
    font-size: 0.875rem;
  }

  .section {
    padding: 64px 16px;
  }

  .section h2 {
    font-size: 1.375rem;
  }

  .showcase {
    padding: 64px 16px;
  }

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

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