/* home page: the big headline, the button and the line under it */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem var(--gutter) 3rem;
  text-align: center;
}

/* "black week?" with the line through it */
.hero__kicker {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

/* "community week". two lines on phones, one line on bigger screens */
.hero__title {
  margin: 0.04em 0 0;
  font-size: clamp(3.25rem, 16vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.86;
}
@media (min-width: 48em) {
  .hero__title { font-size: 10.6vw; white-space: nowrap; }
}

.hero__lead {
  max-width: 30ch;
  margin: clamp(1.25rem, 3vw, 2rem) auto clamp(1.5rem, 3.5vw, 2.5rem);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

/* the line under the button: "46 days to go" or what's on now */
.status {
  display: block;
  max-width: 32ch;
  min-height: 1.5em;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
}
.status strong { font-weight: 800; }
.status__dot {
  display: inline-block;
  width: 0.6em; height: 0.6em;
  margin-right: 0.55em;
  border-radius: 50%;
  background: var(--fg);
  vertical-align: 0.05em;
}
/* the dot turns white and pulses during the week */
.status--live .status__dot,
.status--next .status__dot {
  background: var(--pop);
  animation: pulse 1.8s ease-out infinite;
}
a.status:hover .status__text {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* the line at the bottom with the dates and "all events free" */
.home-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: var(--rule-thick);
  font-weight: 800;
  font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.1rem);
}
