/* A narrow continuation of the cover's own light, without a dark image veil. */
.hero { overflow: visible; }
.hero-art { isolation: isolate; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("assets/birthday-bbq-cover-v2.jpg");
  background-image: image-set(url("assets/birthday-bbq-cover-v2.webp") type("image/webp"), url("assets/birthday-bbq-cover-v2.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  clip-path: inset(calc(100% - 50px) -60px -75px -60px);
  pointer-events: none;
}
.hero-art img { mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 18px), transparent 100%); }
.hero-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 56px;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  mask-image: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
  pointer-events: none;
}
.hero-smoke { position: absolute; z-index: -2; display: block; pointer-events: none; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .hero-smoke { visibility: hidden !important; }
}
.birthday-logo { filter: drop-shadow(0 1px 1px #34264480) drop-shadow(0 2px 8px #44305a4d); }
.hero-date, .hero-message {
  color: #fff;
  text-shadow: 0 1px 2px #2b1d43, 0 2px 8px #332244cc;
  -webkit-text-stroke: .25px #39264d80;
  paint-order: stroke fill;
}
.hero-message { font-weight: 550; }
.hero-message strong { color: #fff; }
.site-header nav a { text-shadow: 0 1px 2px #2b1d43, 0 2px 8px #33224499; }
.site-header .wordmark { filter: drop-shadow(0 1px 2px #3223458c); }
.hero-actions .button-outline {
  border-color: #fceeffd9;
  background: #44345cef;
  color: #fff;
  text-shadow: none;
  box-shadow: 0 3px 16px #2e1d4533;
  backdrop-filter: blur(8px);
}
.hero-actions .button-outline:hover { background: #59416f; border-color: #fff; box-shadow: 0 5px 20px #2e1d4540; }
.hero-actions .button-outline:focus-visible { outline-color: #fff; }
.meeting-section {
  background:
    linear-gradient(180deg, #88718f7a 0, #88718f00 160px),
    radial-gradient(ellipse 72% 110% at 50% 50%, #211b432e 0%, #211b4312 52%, #211b4300 100%),
    radial-gradient(ellipse 76% 112% at -10% 24%, #487996e8 0%, #48799670 39%, #48799600 76%),
    radial-gradient(ellipse 78% 124% at 110% 31%, #8268aae6 0%, #8268aa5e 43%, #8268aa00 77%),
    radial-gradient(ellipse 64% 100% at 60% 106%, #9f6599a8 0%, #9f659900 76%),
    linear-gradient(180deg, #695e83, #393459 72%, #28234f);
}

/* On stacked layouts, the image ends before the invitation text. */
@media (max-width: 1279px), (max-aspect-ratio: 1599 / 1000) {
  .hero-art::before { background-size: 100% 100%; }
  .hero {
    background:
      linear-gradient(to top, #655e83 0, #655e8300 150px),
      radial-gradient(ellipse 105% 74% at -12% 72%, #556fa2c7 0%, #556fa200 78%),
      radial-gradient(ellipse 110% 82% at 112% 61%, #9f6599b8 0%, #9f659900 79%),
      radial-gradient(ellipse 130% 77% at 52% 15%, #8268aac7 0%, #8268aa00 80%),
      linear-gradient(160deg, #756785, #4f426c 50%, #5e577f 100%);
  }
  .meeting-section {
    background:
      linear-gradient(180deg, #655e83 0, #655e8300 160px),
      radial-gradient(ellipse 72% 110% at 50% 50%, #211b432e 0%, #211b4312 52%, #211b4300 100%),
      radial-gradient(ellipse 76% 112% at -10% 24%, #487996e8 0%, #48799670 39%, #48799600 76%),
      radial-gradient(ellipse 78% 124% at 110% 31%, #8268aae6 0%, #8268aa5e 43%, #8268aa00 77%),
      radial-gradient(ellipse 64% 100% at 60% 106%, #9f6599a8 0%, #9f659900 76%),
      linear-gradient(180deg, #695e83, #393459 72%, #28234f);
  }
}
@media (min-width: 1280px) and (min-aspect-ratio: 7 / 5) and (max-aspect-ratio: 1599 / 1000) {
  .hero-art::before { background-size: cover; background-position: 57% center; }
}
@media (max-width: 560px) {
  .hero-art::before { filter: blur(12px); clip-path: inset(calc(100% - 24px) -40px -50px -40px); }
  .hero-art::after { bottom: -16px; height: 36px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hero-art img { mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 10px), transparent 100%); }
}
