/* Starring Her, launch iteration 2026-10-19. Overrides on top of the production landing.css.
   One change in kind: the hero becomes the show. One card at a time, readable, on the night stage,
   with who it came from. Everything below the hero keeps the production styles. */

/* ---------- Hero layout ---------- */

.hero--show {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-areas:
    "head show"
    "text show";
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 64px;
  row-gap: 0;
  padding-top: 48px;
  padding-bottom: 64px;
}
.hero__head {
  grid-area: head;
  align-self: end;
}
.hero--show .hero__text {
  grid-area: text;
}
.show {
  grid-area: show;
}
.hero--show h1 {
  max-width: 15ch;
}
.hero--show .lede {
  max-width: 30ch;
}

/* ---------- The show: the night stage ---------- */

.show {
  position: relative;
  margin: 0;
  padding: 26px 28px 22px;
  border-radius: 22px;
  color: #fbf6ff;
  background:
    radial-gradient(
      ellipse 60% 48% at 50% 46%,
      rgba(255, 46, 136, 0.26),
      transparent 70%
    ),
    radial-gradient(
      ellipse 90% 70% at 50% 120%,
      rgba(169, 150, 255, 0.16),
      transparent 70%
    ),
    #120f18;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Mirrorball glints: a few fixed points that breathe. Decoration only. */
.show::before,
.show::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 86% 12%, #ffd6ea 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 92% 64%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 7% 72%, #ffd6ea 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 24% 92%, #fff 0 1px, transparent 2px);
  animation: glint 3.8s ease-in-out infinite;
}
.show::after {
  background:
    radial-gradient(circle at 70% 24%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 18% 44%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 80% 88%, #ffd6ea 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 8% 4%, #fff 0 0.9px, transparent 1.8px);
  animation-delay: -1.9s;
}
@keyframes glint {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.9;
  }
}

.show__from {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 18px;
  font: 600 16px/1.2 var(--text);
  color: #fbf6ff;
}
.show__who {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #120f18;
  font: 400 19px/1 var(--display);
}
.show__from[data-kind="organizer"] .show__who {
  background: #fbf6ff;
}
.show__from[data-kind="guest"] .show__who {
  background: #a996ff;
}
.show__role {
  color: #b8afca;
  font-weight: 400;
}

.show__stack {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 3 / 4;
}
.show__stack .deck {
  position: absolute;
  inset: 0;
}
.show__slot {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
  will-change: transform;
}
.show__slot .card {
  border-radius: 14px;
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.show__slot.is-front {
  z-index: 3;
  transform: none;
}
.show__slot.is-next {
  z-index: 2;
  transform: translate(9%, 2%) rotate(6deg) scale(0.93);
  filter: brightness(0.85);
}
.show__slot.is-after {
  z-index: 1;
  transform: translate(-9%, 3%) rotate(-6deg) scale(0.9);
  filter: brightness(0.7);
}
.show__slot.is-leaving {
  z-index: 4;
  transform: translate(-115%, -2%) rotate(-14deg);
  opacity: 0;
}

/* The phone hides answers until someone reveals them. Here the answer sits under a sealed strip. */
.show [data-medium="screen"] .card__answer {
  transform: none;
}
.show .card__answer-text {
  position: relative;
  align-self: flex-start;
}
.show .card__answer-text::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.4cqw;
  background: repeating-linear-gradient(
    135deg,
    var(--accent-ink) 0 1.6cqw,
    #ff8fc2 1.6cqw 3.2cqw
  );
  transform-origin: right center;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1);
}
.show .is-revealed .card__answer-text::after {
  transform: scaleX(0);
}

.show__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.show__arrow {
  -webkit-tap-highlight-color: transparent;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid #3a3149;
  border-radius: 50%;
  background: transparent;
  color: #fbf6ff;
  cursor: pointer;
}
.show__arrow:hover {
  background: rgba(255, 255, 255, 0.08);
}
.show__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.show__dots {
  display: flex;
  gap: 8px;
}
.show__dots button {
  -webkit-tap-highlight-color: transparent;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3a3149;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}
.show__dots button[aria-current="true"] {
  width: 26px;
  background: var(--pink);
}
.show__note {
  margin-top: 14px;
  font: 600 13px/1.3 var(--text);
  color: #b8afca;
  text-align: center;
}
.show :focus-visible {
  outline-color: var(--pink);
}

/* ---------- Sample section: Garden answers and footer links ---------- */

.room .stage .card__answer-text::after {
  content: none;
}
.foot__links {
  display: flex;
  gap: 16px;
}
.how .steps {
  margin-top: 28px;
}

/* ---------- Mobile ---------- */

@media (max-width: 960px) {
  .hero--show {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "show" "text";
    row-gap: 28px;
  }
}

@media (max-width: 720px) {
  .hero--show {
    padding-top: 22px;
    padding-bottom: 44px;
    row-gap: 22px;
  }
  .hero--show .hero__text {
    display: block;
  }
  .hero--show .kicker {
    margin-bottom: 12px;
  }
  .hero--show h1 {
    font-size: 40px;
  }
  .show {
    margin: 0 calc(-1 * var(--pad));
    border-radius: 0;
    padding: 20px 20px 18px;
  }
  .show__stack {
    width: min(76vw, 300px);
  }
  .hero--show .lede {
    font-size: 18px;
    margin-top: 0;
  }
  .hero--show .status {
    margin-top: 16px;
  }
  .hero--show .ctas {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .show::before,
  .show::after {
    animation: none;
    opacity: 0.6;
  }
}

/* Production controls preserve the small dots while giving each a full touch target. */
.show__nav { gap: 8px; }
.show__dots { gap: 0; }
.show__dots button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: transparent; transition: none; }
.show__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #3a3149; transition: width .3s ease, background-color .3s ease; }
.show__dots button[aria-current="true"] { width: 44px; background: transparent; }
.show__dots button[aria-current="true"]::before { width: 26px; background: var(--pink); }
.show__action { -webkit-tap-highlight-color: transparent; position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; }
.show__arrow:disabled { opacity: .55; cursor: default; }
.show.is-paused::before, .show.is-paused::after { animation-play-state: paused; }
.show__slot.is-resetting { transition: none; }
.show__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
