@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sans: 'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }
body.is-photon {
  font-family: var(--sans);
  overflow-x: hidden;
}

/* ── Sections ── */
.ph-section {
  padding: 5rem 2rem;
  text-align: center;
}

/* Hero */
.ph-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Snowflakes */
.ph-snowflakes {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  font-size: 1.5rem;
  color: rgba(255,255,255,.15);
  pointer-events: none;
}
.ph-snowflakes span {
  animation: snow-fall linear infinite;
  display: inline-block;
}
.ph-snowflakes span:nth-child(1) { animation-duration: 8s; animation-delay: 0s; }
.ph-snowflakes span:nth-child(2) { animation-duration: 11s; animation-delay: -2s; }
.ph-snowflakes span:nth-child(3) { animation-duration: 9s; animation-delay: -4s; }
.ph-snowflakes span:nth-child(4) { animation-duration: 13s; animation-delay: -1s; }
.ph-snowflakes span:nth-child(5) { animation-duration: 10s; animation-delay: -3s; }
.ph-snowflakes span:nth-child(6) { animation-duration: 7s; animation-delay: -5s; }
.ph-snowflakes span:nth-child(7) { animation-duration: 12s; animation-delay: -2s; }
.ph-snowflakes span:nth-child(8) { animation-duration: 9s; animation-delay: -6s; }
.ph-snowflakes span:nth-child(9) { animation-duration: 14s; animation-delay: -1s; }
.ph-snowflakes span:nth-child(10) { animation-duration: 8s; animation-delay: -4s; }

@keyframes snow-fall {
  0% { transform: translateY(-10px) rotate(0); opacity: .6; }
  100% { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

.ph-hero-content {
  position: relative;
  z-index: 2;
}

.ph-eyebrow {
  display: block;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #90caf9;
  margin-bottom: 1.5rem;
}

.ph-hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.ph-lead {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
}

.ph-labels {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.label-tag {
  display: inline-block;
  padding: .3rem .9rem;
  border: 1px solid rgba(144,202,249,.4);
  color: #90caf9;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 20px;
  transition: background .2s;
}
.label-tag:hover { background: rgba(144,202,249,.15); }

/* Text section */
.ph-text {
  background: #fff9f0;
  color: #3a2a1a;
}
.ph-inner { max-width: 760px; margin: 0 auto; }
.event-body {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}
.event-body p { margin-bottom: 1rem; }

.ph-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: inherit;
}

/* Gallery sections */
.ph-gallery-1 {
  background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
  color: #fff;
}

.ph-photo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.ph-photo-row figure,
.ph-photo-trio figure {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  background: rgba(0,0,0,.2);
}
.ph-photo-row figure img,
.ph-photo-trio figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.ph-photo-row figure:hover img,
.ph-photo-trio figure:hover img { transform: scale(1.04); }
.ph-photo-row figcaption,
.ph-photo-trio figcaption {
  padding: .5rem .8rem;
  font-size: .82rem;
  font-style: italic;
  color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.15);
}
.ph-gallery-1 figcaption { color: rgba(255,255,255,.75); }

/* Interlude */
.ph-interlude {
  background: #1a472a;
  color: #a8d5ba;
  padding: 3rem 2rem;
}
.ph-big-text {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: .05em;
  color: #d4edda;
}

/* Gallery 2 */
.ph-gallery-2 {
  background: linear-gradient(135deg, #1a472a 0%, #0d3318 100%);
  color: #d4edda;
}

.ph-photo-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Featured */
.ph-featured {
  background: #0d1a2e;
  padding: 4rem 2rem;
}
.ph-hero-photo {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.ph-hero-photo img { width: 100%; display: block; }

/* Reveal */
.ph-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.ph-section.visible { opacity: 1; transform: none; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .ph-photo-row, .ph-photo-trio { grid-template-columns: 1fr; }
}

/* ── Lightbox ── */
#lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);
  z-index:9999;align-items:center;justify-content:center;
  flex-direction:column;gap:.5rem}
#lightbox img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb-close{position:fixed;top:1rem;right:1.5rem;font-size:2.5rem;
  color:#fff;cursor:pointer;line-height:1;opacity:.8}
.lb-close:hover{opacity:1}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);font-size:3rem;
  color:#fff;cursor:pointer;padding:.5rem;user-select:none;opacity:.7}
.lb-nav:hover{opacity:1}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-caption{color:#ccc;font-size:.9rem;text-align:center;max-width:80vw}

/* ── Collection links ── */
nav.event-collections{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:1rem 1.5rem;border-top:1px solid rgba(128,128,128,.2);font-family:var(--font-head,sans-serif);font-size:.82rem}
nav.event-collections .ec-link{color:var(--sans,#888);text-decoration:none;opacity:.8;transition:opacity .2s}
nav.event-collections .ec-link:hover{opacity:1}
