/* ── Section wrapper ── */
.locations {
  position: relative;
}
.locations::before,
.locations::after {
  content: '';
  position: absolute;
  width: clamp(8em, 20vw, 220px);
  height: clamp(60px, 35vh, 400px);
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  z-index: 300;
  transition: opacity 500ms ease;
}
.locations.in-view::before,
.locations.in-view::after {
  opacity: 0.3;
}
.locations_cal::after {
    background-image: url(/wp-content/uploads/2026/06/leave-5.svg);
    top: -13em;
    right: 0;
    left: auto;
    margin-right: -2em;
    transform: rotate(-51deg);
}


.locations_cal::before {
    bottom: -6em;
    left: 0;
    margin-left: -2em;
    background-image: url(/wp-content/uploads/2026/06/leave-8.svg);
    width: 6em;
    transform: rotate(7deg);
}

.locations_count::after {
    background-image: url(/wp-content/uploads/2026/06/leave-5.svg);
    top: -13em;
    right: 0;
    left: auto;
    margin-right: -2em;
    transform: rotate(-51deg);
}


.locations_count::before {
    bottom: 0em;
    left: 0;
    margin-left: -3em;
    background-image: url(/wp-content/uploads/2026/06/leave-8.svg);
    width: 8em;
    transform: rotate(7deg);
}


.locations_hero::after {
    background-image: url(/wp-content/uploads/2026/06/leave-6.svg);
    top: -6em;
    right: 0;
    left: auto;
    margin-right: -5em;
    transform: rotate(1deg);
}
.locations_hero::before {
    bottom: -8em;
    left: 0;
    margin-left: 0em;
    background-image: url(/wp-content/uploads/2026/06/leave-7.svg);
    width: 5em;
    transform: rotate(20deg);
}
/* leave-1: bottom left */
.locations::before {
  background-position: left bottom;
  -webkit-mask-image: radial-gradient(ellipse at bottom left, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at bottom left, black 30%, transparent 75%);
}
/* leave-2: right */
.locations_church::after {
  background-image: url(/wp-content/uploads/2026/06/leave-2.svg);
  top: 12em;
  right: 0;
  left: auto;
  margin-right: -4em;
}
.locations_church::before {
    bottom: 0;
  left: 0;
  margin-left: -4em;
  background-image: url(/wp-content/uploads/2026/06/leave-1.svg);
}
.locations_zaal::after {
    bottom: -2em;
    background-image: url(/wp-content/uploads/2026/06/leave-4.svg);
    right: -7em !important;
    width: 12em;
}
.locations_zaal::before {
    top: 11em;
    left: 0;
    margin-left: -3em;
    background-image: url(/wp-content/uploads/2026/06/leave-3.svg);
    width: 8em;
}
.locations::after {
  background-position: left bottom;
  -webkit-mask-image: radial-gradient(ellipse at bottom right, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at bottom right, black 30%, transparent 75%);
}

.event-section {
  text-align: center;
}

/* ── Image ── */
.event-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.event-img-wrap img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.16,1,.3,1);
  opacity: 0.8;
}
.event-img-wrap:hover img {
  transform: scale(1.05);
}

/* Blind panel — slides up to reveal image */
.img-blind {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #fff7e3;
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 1.1s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.event-section.revealed .img-blind {
  transform: scaleY(0);
}


/* ── Tag ── */
.event-tag {
  display: block;
  font-family: Jost, sans-serif;
  font-size: 7px;
  letter-spacing: .58em;
  text-transform: uppercase;
  color: #A89F94;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease .15s, transform .6s cubic-bezier(.16,1,.3,1) .15s;
}
.event-section.revealed .event-tag {
  opacity: 1;
  transform: none;
}

/* ── Script heading — word split ── */
.event-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(34px, 8.5vw, 56px);
  color: #2E2820;
  line-height: 1.2;
  margin-bottom: 16px;
}
.w-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.w-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}

/* ── Meta rows ── */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.event-meta-row {
  font-family: Jost, sans-serif;
  font-size: 12px;
  line-height: 1.9;
  color: #7A7068;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.event-meta-row strong {
  display: block;
  font-weight: 400;
  font-size: 7px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: #A89F94;
  margin-bottom: 2px;
}
.event-section.revealed .event-meta-row:nth-child(1) { opacity:1; transform:none; transition-delay: .32s; }
.event-section.revealed .event-meta-row:nth-child(2) { opacity:1; transform:none; transition-delay: .46s; }
.event-section.revealed .event-meta-row:nth-child(3) { opacity:1; transform:none; transition-delay: .60s; }
.event-section.revealed .event-meta-row:nth-child(4) { opacity:1; transform:none; transition-delay: .74s; }

/* ── Pill button ── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #2e2820;
  color: #FAF8F5;
  border: none;
  border-radius: 100px;
  font-family: Jost, sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .6s ease .88s,
    transform .6s cubic-bezier(.16,1,.3,1) .88s,
    box-shadow .25s ease;
}
.event-section.revealed .pill-btn {
  opacity: 1;
  transform: none;
}
/* Wipe on hover */
.pill-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1a1610;
  border-radius: inherit;
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.pill-btn:hover::before { transform: translateX(0); }
.pill-btn:hover {
  box-shadow: 0 8px 24px rgba(61,90,71,.25);
}
.pill-btn-text { position: relative; z-index: 1; }
.pill-btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.pill-btn:hover .pill-btn-arrow { transform: translateX(5px); }

/* Ripple on click */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  transform: scale(0);
  pointer-events: none;
  animation: rippleAnim .55s cubic-bezier(.16,1,.3,1);
}
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }