/* Kairos Hour v17 — homepage hero built around three actions. */

.hero-stage { background: var(--fire-black); }
.hero-actions { gap: 10px; margin-top: 4px; }
.hero-actions .button { min-height: 52px; padding-inline: 22px; }
.hero-actions .secondary {
  background: #ffffff0d;
  color: #fff;
  border-color: #ffffff3d;
}
.hero-actions .secondary:hover { background: #ffffff1f; border-color: #ffffff80; }
.hero-live .icon { width: 18px; height: 18px; }
.hero-community { margin: 22px 0 0; font-size: .9rem; }
.hero-community .text-link { color: #d7dce7; text-decoration-color: #ffffff40; }
.hero-community .text-link:hover { color: #fff; text-decoration-color: var(--fire-yellow); }

/* Edition status: quiet when upcoming, warm during the edition, alive when live. */
.hero-status { display: inline-flex; align-items: center; gap: 8px; color: #e9ecf3; }
.hero-status .signal { margin: 0; background: #8b93a5; box-shadow: none; }
.hero-stage[data-state="edition"] .hero-status .signal { background: var(--fire-yellow); box-shadow: 0 0 0 4px #ffdb2926; }
.hero-stage[data-state="live"] .hero-status { color: #fff; }
.hero-stage[data-state="live"] .hero-status .signal { position: relative; background: #ff4b3a; box-shadow: none; }
.hero-stage[data-state="live"] .hero-live { box-shadow: 0 0 0 1px #ffdb29, 0 10px 30px #ffdb2940; }

@media (min-width: 1001px) {
  .hero-stage-content { min-height: clamp(560px, 44vw, 700px); padding-block: 72px 96px; }
  .hero-copy { width: min(50%, 640px); }
}

@media (max-width: 1000px) {
  .hero-stage-content { padding-top: clamp(250px, 52vw, 420px); padding-bottom: 36px; }
  .hero-art, [data-theme="dark"] .hero-art { inset: 0 0 auto; height: clamp(300px, 60vw, 500px); }
  .hero-art .hero-collage { object-position: 58% 30%; }
}

@media (max-width: 600px) {
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .hero-live { grid-column: 1 / -1; min-height: 56px; font-size: .95rem; }
  .hero-actions .button { min-height: 50px; padding-inline: 10px; font-size: .84rem; }
  .hero-status { font-size: .7rem; letter-spacing: .1em; }
  .hero-community { margin-top: 18px; }
}

/* The schedule card now sits closer to the hero. */
.hero-content { padding-top: 4px; }

/* Let the portrait dissolve into the black instead of ending on a hard edge. */
@media (min-width: 1001px) {
  .hero-art, [data-theme="dark"] .hero-art {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}
