/* Coordinates refer to a single 1:2 architectural painting. The same wall,
   narrow receding arcades and columns frame every celebration. */
.event-scene .gallery-plane {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  container-type:size;
}
.scene-stack {
  --gallery-wall:#f4d6a6 url("art/gallery-portrait.webp") center / contain no-repeat;
}
.scene-stack[data-gallery],
.event-scene {
  background:var(--gallery-wall);
}
/* Animated event layers carry pigment and lettering. Their common wall is
   painted once on the sticky stage, including while two events are visible. */
.motion-enabled .event-scene {background:transparent;}
.event-scene {
  --mural-width:80cqw;
  --event-ink:#612435;
}
.scene--haldi {--event-ink:#75401e;}
.scene--mehendi {--event-ink:#47512d;}
.scene--lunch {--event-ink:#435330;}
.event-scene .mural-bay {
  position:absolute;
  /* Lay the pigment directly on the wall. A centered transform can make
     Chromium resample the same painting differently during a curtain lift. */
  left:calc((100% - var(--mural-width)) / 2);
  top:43.5%;
  bottom:auto;
  width:var(--mural-width);
  height:auto;
  aspect-ratio:1;
  overflow:hidden;
  isolation:isolate;
  /* The square paint bay stays registered to the wall. Its sides follow the
     fluted shafts, then narrow around the carved rings and the wider bases. */
  clip-path:polygon(
    1.35% 0, 98.25% 0,
    97.90% 82%, 97.00% 84.1%, 97.00% 88%,
    96.15% 90%, 95.50% 93%, 95.50% 98%, 94.50% 100%,
    5.40% 100%, 4.25% 98%, 4.25% 93%,
    3.55% 90%, 2.50% 88%, 2.50% 84.1%, 1.72% 82%
  );
}
.event-scene .mural-bay::after {content:none;}
.event-scene .mural-bay .scene-picture,
.event-scene .mural-bay .scene-picture img {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.event-scene .mural-bay .scene-picture img {object-fit:contain;object-position:center;}

/* Title, date and venue share one inscription directly on the limewash.
   Its painted outline is the real arch, with room for either kind of venue. */
.event-scene .event-invite {
  position:absolute;
  inset:17.4% 11.6% auto;
  height:24.3%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#4c3026;
}
.event-scene .event-heading,
.event-scene .event-place {
  position:static;
  width:100%;
  transform:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:0;
  font-style:normal;
}
.event-scene .event-heading h2 {
  margin:0;
  color:var(--event-ink);
  font:400 clamp(2.18rem,11cqw,3.25rem)/1.04 var(--serif);
  text-wrap:balance;
}
.event-scene .event-datetime {
  margin:.45em 0 0;
  max-width:100%;
  font:590 clamp(.9rem,3.95cqw,1.18rem)/1.36 var(--sans);
}
.event-scene .event-datetime > time {display:block;}
.event-scene .event-clock {
  display:inline-flex;
  align-items:center;
  gap:.46rem;
  /* The source middle dot separates inline date and time in the programme.
     On the wall the time has its own line, framed by two fine gold strokes. */
  font-size:0;
  white-space:nowrap;
}
.event-scene .event-clock time {font-size:clamp(.9rem,3.95cqw,1.18rem);}
.event-scene .event-clock::before, .event-scene .event-clock::after {
  content:"";
  width:1rem;
  height:1px;
  background:#b2824e;
}
.event-scene .event-place {
  margin:.72em 0 0;
  gap:.07em;
  color:#513126;
}
.event-scene .event-place span:first-child {
  font:400 clamp(1.35rem,6.15cqw,1.9rem)/1.1 var(--serif);
  text-wrap:balance;
}
.event-scene .event-place span + span {
  font:520 clamp(.87rem,3.72cqw,1.08rem)/1.3 var(--sans);
}
