/* Section: hero — the neon sign over the painted wall */

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  display: grid;
  justify-items: start;
  max-width: 82rem;
  margin: 0 auto;
  padding: var(--s3) var(--gutter) var(--s6);
}

/* the sign's light falling on the wall */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -2rem;
  width: min(60rem, 150vw);
  height: 30rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(234 11 11 / 0.26), rgb(174 35 36 / 0.1) 55%, transparent);
  pointer-events: none;
  animation: wall-light 1.6s 0.15s both;
}

/* Neon wordmark: the one lit tube on the wall */
.neon {
  font-family: var(--font-neon);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--s5);
  width: 100%;
}

.neon__tube {
  display: block;
  font-size: clamp(5rem, 33vw, 9rem);
  color: #ff4a3c;
  text-shadow:
    0 0 1px rgb(255 230 220 / 0.9),
    0 0 6px rgb(255 60 40 / 0.95),
    0 0 18px rgb(234 11 11 / 0.85),
    0 0 42px rgb(234 11 11 / 0.6),
    0 0 90px rgb(234 11 11 / 0.35);
  animation: neon-on 1.6s 0.15s both;
}

.neon__word {
  display: block;
  letter-spacing: -0.01em;
  padding-inline: 0.04em;
}
.neon__word--2 {
  margin-top: -0.12em;
  padding-left: 0.06em;
}

/* the gold spark sits under the "i", as on the sign */
.neon__i {
  position: relative;
  display: inline-block;
}
.neon__spark {
  position: absolute;
  left: 50%;
  top: 88%;
  width: 0.26em;
  height: 0.26em;
  margin-left: -0.13em;
  fill: var(--gold);
  filter: drop-shadow(0 0 4px rgb(242 193 15 / 0.9)) drop-shadow(0 0 14px rgb(242 193 15 / 0.45));
  transform: rotate(-8deg);
  animation: spark-on 1.6s 0.15s both;
}

@keyframes neon-on {
  0% { opacity: 0.06; }
  7% { opacity: 1; }
  9% { opacity: 0.2; }
  13% { opacity: 1; }
  31% { opacity: 1; }
  33% { opacity: 0.45; }
  36%, 100% { opacity: 1; }
}
@keyframes spark-on {
  0%, 30% { opacity: 0; transform: rotate(-8deg) scale(0.6); }
  40% { opacity: 1; transform: rotate(-8deg) scale(1.12); }
  100% { opacity: 1; transform: rotate(-8deg) scale(1); }
}
@keyframes wall-light {
  0% { opacity: 0; }
  7% { opacity: 1; }
  9% { opacity: 0.3; }
  13%, 100% { opacity: 1; }
}

/* Painted line under the sign */
.hero__lede {
  display: grid;
  gap: 0.08em;
  font-size: clamp(2.35rem, 1.5rem + 4.2vw, 4.25rem);
  margin-bottom: var(--s4);
}

.hero__how {
  max-width: 34ch;
  color: var(--cream-2);
  font-weight: 500;
  font-size: var(--text-md);
  margin-bottom: var(--s5);
}

.hero__actions {
  display: grid;
  gap: var(--s2);
  width: 100%;
  margin-bottom: var(--s5);
}

/* Mini board: the wall's index, every line a jump into the board */
.index {
  width: 100%;
}
.index__list {
  display: grid;
  border-top: 1px dashed var(--rule);
}
.index__item a {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  min-height: var(--tap);
  padding: var(--s2) 0;
  border-bottom: 1px dashed var(--rule);
  text-decoration: none;
}
.index__name {
  font-family: var(--font-paint);
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  text-shadow: var(--shade);
}
.index__lead {
  flex: 1;
  min-width: 1rem;
  border-bottom: 3px dotted var(--rule-strong);
  transform: translateY(-0.3em);
}
.index__from {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--cream-3);
}
.index__price {
  font-family: var(--font-paint);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: var(--shade);
  font-variant-numeric: tabular-nums;
}
.index__item a:hover .index__name {
  color: var(--gold);
}

@media (min-width: 760px) {
  .hero {
    justify-items: center;
    text-align: center;
    padding-top: var(--s5);
  }
  .neon {
    margin-bottom: var(--s6);
  }
  .neon__tube {
    font-size: clamp(6rem, 11.5vw, 10.5rem);
  }
  .neon__word {
    display: inline-block;
  }
  .neon__word--2 {
    margin-top: 0;
    padding-left: 0.2em;
  }
  .hero__lede {
    grid-auto-flow: column;
    gap: 0.3em;
    justify-content: center;
  }
  .hero__how {
    max-width: none;
  }
  .hero__actions {
    display: flex;
    justify-content: center;
    width: auto;
    gap: var(--s3);
    margin-bottom: var(--s6);
  }
  .index {
    max-width: 64rem;
  }
  .index__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 var(--s5);
    border-top: 0;
  }
  .index__item a {
    border-top: 1px dashed var(--rule);
  }
}
