:root{
  --ivory:#F7F3EC;
  --charcoal:#262220;
  --bronze:#A9824C;
}
/* gate.css is now loaded on the single-page index.html alongside style.css —
   global resets and body styles live in style.css only */

.gate{
  position:fixed;
  inset:0;
  z-index:300;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:pointer;
  transition:opacity 0.35s ease;
}
.gate.is-fading{
  opacity:0;
  pointer-events:none;
}
.gate__photo{
  position:absolute; inset:0;
  background-image:url('../images/optimized/landing.jpg');
  background-size:cover;
  background-position:center 46%;
  filter:brightness(0.72);
}
.gate__vignette{
  position:absolute; inset:0;
  background:rgba(10,8,7,0.18);
}
.gate__topscrim{
  position:absolute;
  top:0; left:0; right:0;
  height:38%;
  background:linear-gradient(to bottom, rgba(0,0,0,0.72), rgba(0,0,0,0));
}

.gate__invite{
  position:absolute;
  top:8%;
  left:0; right:0;
  z-index:1;
  text-align:center;
  color:var(--ivory);
  opacity:0;
  animation:fadeIn 1.4s ease forwards 0.2s;
  pointer-events:none;
}
.gate__invite-eyebrow{
  font-family:'Inter',sans-serif;
  font-size:11px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  opacity:0.8;
  margin-bottom:10px;
}
.gate__invite-names{
  font-family:'Fraunces', serif;
  font-style:italic;
  font-weight:500;
  font-size:clamp(24px, 4vw, 34px);
}

.gate__content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  color:var(--ivory);
  opacity:0;
  transform:translateY(23vh);
  animation:fadeIn 1.4s ease forwards 0.3s;
  text-shadow:0 1px 18px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.7);
  pointer-events:none; /* the tap target is the whole gate, not this text */
}
@keyframes fadeIn{ to{ opacity:1; } }

.gate__lock{
  width:42px; height:42px;
  color:var(--ivory);
  margin-bottom:16px;
  filter:drop-shadow(0 1px 4px rgba(0,0,0,0.95)) drop-shadow(0 0 14px rgba(0,0,0,0.9));
}

.gate__cue{
  font-family:'Inter',sans-serif;
  font-size:12px;
  letter-spacing:0.22em;
  text-transform:uppercase;
}

.gate__date{
  margin-top:22px;
  font-size:11px;
  letter-spacing:0.26em;
  text-transform:uppercase;
  opacity:0.75;
}

.gate__events{
  margin-top:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  border-top:1px solid rgba(247,243,236,0.2);
  padding-top:20px;
  text-align:center;
}
.gate__event-row{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  line-height:1.6;
}
.gate__event-label{
  color:#E7D9B8;
  font-weight:600;
}
.gate__event-meta{
  opacity:0.65;
}
.gate__venue{
  margin-top:10px;
  font-size:10px;
  letter-spacing:0.14em;
  opacity:0.5;
  font-style:italic;
  font-family:'Fraunces', serif;
}



.gate.is-unlocking .gate__content{
  transition:opacity 0.15s ease;
  opacity:0;
}

@media (prefers-reduced-motion: reduce){
  .gate__content{ animation:none; opacity:1; }
}
