/* =====================================================
   HERO SECTION
   ===================================================== */
[data-section="hero"] {
  padding: 0;
  justify-content: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Keep supporting copy readable and centered while the headline spans full width */
.hero-sub,
.hero-meta,
.hero-scroll-hint {
  width: min(var(--maxw), 92vw);
  margin-left: auto;
  margin-right: auto;
}

.hero-rgb {
  position: relative;
  width: 100%;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-rgb .rgb-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
  width: 100%;
  user-select: none;
  position: relative;
}

.hero-rgb .rgb-char {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.35s ease;
  cursor: default;
  will-change: transform;
}

.hero-rgb .rgb-char-hint {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  pointer-events: none;
  font-family: 'Montserrat', var(--sans);
  font-size: 0.13em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  text-shadow: 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 -1px 0 #000,
               0 2px 8px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 1;
}

/* Hover the headline: every letter lifts slightly and the RGB split intensifies */
.hero-rgb .rgb-text:hover .rgb-char {
  transform: translateY(-0.04em);
}

/* Hover an individual letter: stronger pop */
.hero-rgb .rgb-text .rgb-char.is-active,
.hero-rgb .rgb-text .rgb-char:hover {
  transform: translateY(-0.12em) scale(1.06);
  color: var(--mood-accent);
}

.hero-rgb .rgb-text .rgb-char:hover .rgb-char-hint,
.hero-rgb .rgb-text .rgb-char.is-active .rgb-char-hint {
  opacity: 1;
  transform: translate(-50%, -62%) scale(1);
}

@media (max-width: 720px) {
  .hero-rgb .rgb-text {
    font-size: clamp(3.4rem, 15vw, 7rem);
    line-height: 0.92;
  }
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-glows {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glows::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, var(--magenta), #C7002F, #FF6B8A, #8B0020, var(--magenta));
  opacity: 0.18;
  filter: blur(90px);
  animation: hero-glow-rotate 24s linear infinite;
  mix-blend-mode: screen;
}

.hero-glows .glow-blob {
  filter: blur(120px);
}

@keyframes hero-glow-rotate {
  to { transform: rotate(360deg); }
}

.hero-glows .glow-blob:nth-child(1) {
  width: 50vw;
  height: 50vw;
  background: var(--magenta);
  top: -10%;
  left: -10%;
}

.hero-glows .glow-blob:nth-child(2) {
  width: 45vw;
  height: 45vw;
  background: var(--magenta);
  bottom: -20%;
  right: -10%;
  opacity: 0.7;
}

.hero-glows .glow-blob:nth-child(3) {
  width: 35vw;
  height: 35vw;
  background: #C7002F;
  top: 25%;
  right: 15%;
  opacity: 0.45;
}

.hero-inner .scroll-hint {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: 48px;
  animation: hero-hint-bob 2s ease-in-out infinite;
}

@keyframes hero-hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
