/* Full-width horizon hero. Remove data-hero-refinement to restore the earlier layout. */
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-scroll {
  background: radial-gradient(ellipse at 50% 65%, #f4e6dc 0%, #faf6f0 42%, #fff 76%);
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-sticky {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 38px;
  align-items: center;
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-heading { text-align: center; }
.calendar-scene-hero[data-hero-refinement="true"] .hero-story-title {
  font-size: clamp(52px, 6.4vw, 82px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 0 auto 22px;
}
.calendar-scene-hero[data-hero-refinement="true"] .intro {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 19px;
  line-height: 1.6;
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-heading > .button {
  font-size: 15px;
  padding: 15px 24px;
}
.calendar-scene-hero[data-hero-refinement="true"] small { max-width: 540px; margin: 14px auto 0; line-height: 1.65; }
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-stage {
  width: min(1100px, 100%); height: 460px; margin: -8px auto 0;
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-haven {
  width: 132px; height: 132px; border-radius: 34px;
  background: #fffdfa;
  box-shadow: 0 14px 40px rgba(91, 61, 39, .09), inset 0 1px 1px #fff;
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-haven img { width: 92px; height: 92px; }
.calendar-scene-hero[data-hero-refinement="true"] .calendar-source {
  width: 86px; height: 86px; border-radius: 23px;
  box-shadow: 0 6px 20px rgba(84,48,26,.045);
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-source img { width: 65px; height: 65px; }
.calendar-scene-hero[data-hero-refinement="true"] .calendar-source-google-calendar img,
.calendar-scene-hero[data-hero-refinement="true"] .calendar-source-outlook img { width: 55px; height: 55px; }
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-orbits span { width: 330px; height: 330px; border-color: rgba(181,95,58,.075); }
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-orbits span + span { display: block; width: 560px; height: 560px; border-color: rgba(181,95,58,.04); }
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-scroll::after { content: ""; position: absolute; bottom: -1px; left: -5%; width: 110%; height: 52px; border-radius: 50% 50% 0 0; background: #fff; pointer-events: none; }
/* Faint concentric horizons echo the glow around the lower destination. */
[data-scene-composition="horizon-grid"] .calendar-scene-stage::before {
  content: "";
  position: absolute;
  inset: -30px -10vw -12px;
  background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 70px, rgba(153,113,83,.11) 70px 71px, transparent 71px 142px);
  mask-image: linear-gradient(transparent, #000 30%, #000 85%, transparent);
  pointer-events: none;
}
[data-scene-composition="horizon-grid"] .calendar-scene-scroll::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .055;
  background-image: url("assets/surface-grain.svg");
  mask-image: linear-gradient(transparent 28%, #000 68%, #000);
}
[data-scene-composition="horizon-grid"] .calendar-scene-haven { top: 78%; }
[data-scene-composition="horizon-grid"] .calendar-source { top: calc(78% + var(--source-y)); }
[data-scene-composition="horizon-grid"] .calendar-scene-orbits { display: none; }
@media (max-width: 900px) {
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-scroll {
    background: radial-gradient(ellipse at 50% 69%, #f4e6dc 0%, #faf6f0 42%, #fff 78%);
  }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-sticky {
    gap: 0; padding: 34px 24px 30px;
  }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-heading { text-align: center; }
  .calendar-scene-hero[data-hero-refinement="true"] .hero-story-title { font-size: clamp(40px, 10.5vw, 64px); margin: 0 auto 20px; }
  .calendar-scene-hero[data-hero-refinement="true"] .intro { max-width: 470px; margin: 0 auto 24px; font-size: 17px; }
  .calendar-scene-hero[data-hero-refinement="true"] small { max-width: 310px; margin: 14px auto 0; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-stage { max-width: 650px; margin: 0 auto; height: 360px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-haven { width: 108px; height: 108px; border-radius: 28px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-haven img { width: 75px; height: 75px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-source { width: 62px; height: 62px; border-radius: 17px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-source img { width: 47px; height: 47px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-source-google-calendar img,
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-source-outlook img { width: 40px; height: 40px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-orbits span { width: 240px; height: 240px; }
  .calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-orbits span + span { width: 380px; height: 380px; }
  [data-scene-composition="horizon-grid"] .calendar-scene-stage::before {
    background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 45px, rgba(153,113,83,.11) 45px 46px, transparent 46px 92px);
  }
}

/* Three hero type levels: category/utility, supporting copy, and story headline. */
.calendar-scene-hero[data-hero-refinement="true"] .hero-search-title {
  max-width: 620px;
  margin: 0 auto 22px;
  color: #625f58;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.calendar-scene-hero[data-hero-refinement="true"] .intro {
  font-size: 18px;
  line-height: 1.6;
}
.calendar-scene-hero[data-hero-refinement="true"] .calendar-scene-heading > .button {
  font-size: 14px;
}
.calendar-scene-hero[data-hero-refinement="true"] .app-store-rating,
.calendar-scene-hero[data-hero-refinement="true"] .rating-stars,
.calendar-scene-hero[data-hero-refinement="true"] small {
  font-size: 14px;
  line-height: 1.5;
}
@media(max-width:700px){
 .calendar-scene-hero[data-hero-refinement="true"] .hero-search-title{max-width:300px;margin-bottom:20px}
}
