/* ============================================================
   NIGHT MACARON — Hero Section
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  z-index: var(--z-content);
}

/* ── Left: Text content ── */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 10rem 3rem 6rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.5;
}

/* ── Giant title ── */
.hero-title-wrap {
  margin-bottom: 1.2rem;
}

.hero-title-night,
.hero-title-macaron {
  display: block;
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.06em;
  color: var(--text);
}

.hero-title-night {
  font-size: clamp(5rem, 10vw, 9rem);
}

.hero-title-macaron {
  font-size: clamp(5rem, 10vw, 9rem);
}

.hero-title-ja {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.15em;
  color: var(--lavender);
  margin: 0.8rem 0 0.4rem 0.2rem;
}

/* ── Subtitle / body ── */
.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 2;
  color: var(--muted-light);
  max-width: 340px;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* ── CTA group ── */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* ── Right: Moon visual ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100vh;
}

/* Moon ring (NOT a filled circle) */
.hero-moon {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

.moon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 0.5px solid rgba(200, 169, 110, 0.35);
  box-shadow:
    0 0 60px rgba(200, 169, 110, 0.08),
    0 0 120px rgba(200, 169, 110, 0.04),
    inset 0 0 40px rgba(200, 169, 110, 0.03);
}

.moon-ring-inner {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 0.5px solid rgba(200, 169, 110, 0.15);
}

.moon-ring-outer {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 0.5px solid rgba(200, 169, 110, 0.08);
}

.moon-glow {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(200, 169, 110, 0.06) 0%,
    rgba(124, 92, 191, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Orbit dot */
.moon-orbit-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  animation: orbitDot 18s linear infinite;
}

@keyframes orbitDot {
  from { transform: rotate(0deg) translateX(170px) translateY(-2px); }
  to   { transform: rotate(360deg) translateX(170px) translateY(-2px); }
}

/* Moon float animation — uses CSS `translate` (individual transform)
   so JS parallax can set `transform` independently without conflict */
.hero-moon {
  animation: moonFloat 8s ease-in-out infinite;
  translate: 0 var(--moon-parallax, 0px);
}

@keyframes moonFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

/* ── Decorative background text ── */
.hero-bg-text {
  position: absolute;
  bottom: 4rem;
  right: -2rem;
  font-family: var(--font-serif);
  font-size: 22vw;
  font-weight: 300;
  color: var(--text);
  opacity: 0.018;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}

.hero-scroll-label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll-line {
  width: 0.5px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero-content {
    padding: 9rem 2rem 3rem;
    text-align: center;
    align-items: center;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    display: none;
  }

  .hero-sub {
    max-width: 480px;
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual {
    min-height: 40vh;
    padding-bottom: 3rem;
  }

  .hero-moon {
    width: 220px;
    height: 220px;
  }

  .hero-bg-text {
    display: none;
  }

  .hero-scroll {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 8rem 1.5rem 2rem;
  }

  .hero-title-night,
  .hero-title-macaron {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }
}
