/* ==========================================================================
   Public temple website: Home, Gallery, Events, Volunteers, and the seva
   booking page. Loads after sevadar.css (tokens, buttons, pills) and
   sevadar-landing.css (nav, hero, reveal, pillars, timeline, impact, CTA,
   footer), and adds only what those do not already provide.
   ========================================================================== */

.center-row{text-align:center; margin-top:36px;}
.helper-text.center-row{margin-top:24px;}

/* ==========================================================================
   Navigation
   ========================================================================== */
.brand{min-width:0;}
.brand-name{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:320px;}
.brand-logo{width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0;
  box-shadow:0 6px 16px rgba(232,132,58,0.4);}
.nav-links a.is-active{color:var(--saffron-deep);}
.nav-links a.is-active::after{width:100%;}
.nav.on-photo:not(.scrolled) .nav-links a.is-active{color:#fff;}
.nav.on-photo:not(.scrolled) .nav-links a.is-active::after{background:var(--gold);}
.nav-menu-cta{display:none;}
.nav-toggle{
  display:none; width:42px; height:42px; border-radius:12px; border:none; cursor:pointer;
  background:rgba(122,31,43,0.08); flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav.on-photo:not(.scrolled) .nav-toggle{background:rgba(255,255,255,0.16);}
.nav-toggle span{display:block; width:20px; height:2px; border-radius:2px; background:var(--maroon-deep);
  transition:transform 0.35s var(--ease), opacity 0.25s;}
.nav.on-photo:not(.scrolled) .nav-toggle span{background:#fff;}
.nav.menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav.menu-open .nav-toggle span:nth-child(2){opacity:0;}
.nav.menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ==========================================================================
   Inner-page hero (Gallery, Events, Volunteers)
   ========================================================================== */
.page-hero{min-height:78vh; padding:150px 0 140px;}
.page-hero__inner{position:relative; z-index:2; max-width:860px;}
.page-hero h1{font-size:clamp(36px,5vw,60px); line-height:1.08; color:#fff; margin-bottom:20px;
  text-shadow:0 8px 30px rgba(0,0,0,0.25);}
.page-hero h1 .accent span{
  background:linear-gradient(100deg, var(--gold), var(--saffron) 60%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  color:transparent; font-style:italic;
}
.page-hero .lead{font-size:18px; color:rgba(255,255,255,0.86); max-width:620px; margin-bottom:34px;}
.page-hero .hero-ctas{margin-bottom:34px;}

.hero-stats{display:flex; flex-wrap:wrap; gap:14px;}
.hero-stats > div{
  min-width:130px; padding:16px 22px; border-radius:18px; color:#fff;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.22); backdrop-filter:blur(10px);
  opacity:0; transform:translateY(18px); animation:fadeUp 0.8s var(--ease) forwards;
}
.hero-stats > div:nth-child(1){animation-delay:0.9s;}
.hero-stats > div:nth-child(2){animation-delay:1.05s;}
.hero-stats > div:nth-child(3){animation-delay:1.2s;}
.hero-stats b{display:block; font-family:'Fraunces',serif; font-size:30px; font-weight:700; line-height:1.15;
  background:linear-gradient(100deg,#fff,var(--gold)); -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent; margin:0;}
.hero-stats span{font-size:12.5px; color:rgba(255,255,255,0.72); letter-spacing:0.04em; text-transform:uppercase;}

.next-event{
  display:flex; flex-wrap:wrap; align-items:center; gap:22px 34px; padding:22px 26px; border-radius:22px;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.22); backdrop-filter:blur(12px);
  color:#fff; max-width:760px; opacity:0; transform:translateY(20px); animation:fadeUp 0.9s var(--ease) 0.9s forwards;
}
.next-event__info{display:flex; flex-direction:column; min-width:0; flex:1 1 240px;}
.next-event__label{font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); font-weight:700;}
.next-event__info b{font-family:'Fraunces',serif; font-size:22px; line-height:1.25; margin:4px 0;}
.next-event__info > span:last-child{font-size:14px; color:rgba(255,255,255,0.78);}

/* ---------- Countdown ---------- */
.countdown{display:flex; gap:10px;}
.countdown__cell{
  min-width:62px; text-align:center; padding:10px 6px; border-radius:14px;
  background:#fff; border:1px solid var(--line); box-shadow:0 8px 20px rgba(122,31,43,0.08);
}
.countdown__cell b{display:block; font-family:'Fraunces',serif; font-size:26px; font-weight:700; line-height:1.1;
  color:var(--maroon-deep); font-variant-numeric:tabular-nums;}
.countdown__cell b.tick{animation:tick 0.45s var(--ease);}
@keyframes tick{0%{transform:translateY(-35%); opacity:0.2;} 100%{transform:translateY(0); opacity:1;}}
.countdown__cell span{font-size:10.5px; text-transform:uppercase; letter-spacing:0.1em; color:var(--ink-soft);}
.countdown--light .countdown__cell{background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.22); box-shadow:none;}
.countdown--light .countdown__cell b{color:#fff;}
.countdown--light .countdown__cell span{color:rgba(255,255,255,0.7);}
.hero-card .countdown{justify-content:space-between;}
.hero-card .countdown__cell{flex:1; min-width:0;}

/* ==========================================================================
   Shared section pieces
   ========================================================================== */
.section-head-row{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:48px;}
.section-head-row .section-head{margin-bottom:0;}

.empty-state{
  max-width:620px; margin:0 auto; text-align:center; padding:56px 32px; border-radius:28px;
  background:#fff; border:1px dashed rgba(122,31,43,0.2); box-shadow:var(--shadow);
}
.empty-state__icon{
  width:74px; height:74px; margin:0 auto 20px; border-radius:22px; color:#fff;
  background:linear-gradient(145deg, var(--saffron), var(--maroon));
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px rgba(201,98,42,0.35); animation:float 5s ease-in-out infinite;
}
.empty-state__icon svg{width:34px; height:34px;}
.empty-state h3{font-size:24px; color:var(--maroon-deep); margin-bottom:10px;}
.empty-state p{color:var(--ink-soft); font-size:15.5px; margin-bottom:20px;}
.empty-state p:last-child{margin-bottom:0;}

.explore-card{display:block;}
.explore-card__go{display:inline-block; margin-top:18px; font-weight:700; font-size:14px; color:var(--saffron-deep);
  transition:transform 0.3s var(--ease);}
.explore-card:hover .explore-card__go{transform:translateX(6px);}

/* ==========================================================================
   Event cards
   ========================================================================== */
.ev-grid{display:grid; grid-template-columns:repeat(2, 1fr); gap:22px;}
.ev-card{
  --ev:var(--saffron-deep);
  position:relative; display:flex; gap:22px; align-items:flex-start;
  background:#fff; border-radius:24px; padding:24px; border:1px solid var(--line);
  box-shadow:0 10px 28px rgba(122,31,43,0.07); overflow:hidden;
  transition:transform 0.2s ease-out, box-shadow 0.4s var(--ease);
  transform-style:preserve-3d;
}
.ev-card::before{content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--ev);}
.ev-card::after{
  content:''; position:absolute; right:-60px; top:-60px; width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--ev) 16%, transparent), transparent 70%);
  pointer-events:none; transition:transform 0.6s var(--ease);
}
.ev-card:hover{box-shadow:0 26px 54px rgba(122,31,43,0.15);}
.ev-card:hover::after{transform:scale(1.5);}
.ev-card.is-cancelled{opacity:0.72;}
.ev-card.is-cancelled h3{text-decoration:line-through; text-decoration-thickness:1.5px;}
.ev-card.is-over{opacity:0.8;}
.ev-card + .ev-card{margin-top:18px;}
.ev-grid .ev-card + .ev-card{margin-top:0;}

.ev-date{
  flex-shrink:0; width:76px; text-align:center; border-radius:18px; padding:10px 0 12px; color:#fff;
  background:linear-gradient(160deg, color-mix(in srgb, var(--ev) 80%, #fff), var(--ev));
  box-shadow:0 12px 24px color-mix(in srgb, var(--ev) 35%, transparent);
}
.ev-date__dow{display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; opacity:0.85;}
.ev-date__d{display:block; font-family:'Fraunces',serif; font-size:32px; font-weight:700; line-height:1.05;}
.ev-date__m{display:block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em;}
.ev-banner{flex-shrink:0; width:180px; height:130px; border-radius:16px; overflow:hidden;}
.ev-banner img{width:100%; height:100%; object-fit:cover; transition:transform 0.6s var(--ease);}
.ev-card:hover .ev-banner img{transform:scale(1.08);}
.ev-body{flex:1; min-width:0; position:relative; z-index:1;}
.ev-tags{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px;}
.ev-type, .ev-flag{
  display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:100px;
  font-size:12px; font-weight:700; letter-spacing:0.02em;
}
.ev-type{color:var(--ev); background:color-mix(in srgb, var(--ev) 12%, #fff);}
.ev-type svg{width:14px; height:14px;}
.ev-flag{background:var(--cream-2); color:var(--ink-soft);}
.ev-flag--soon{background:#FBF0DF; color:#8A5A1E;}
.ev-flag--cancel{background:#FBEAE5; color:#8A3620;}
.ev-flag--live{background:#E6F2EC; color:#2A6B52;}
.ev-flag--live i{width:7px; height:7px; border-radius:50%; background:#2F9E6E; animation:pulse 1.4s infinite;}
.ev-card h3{font-size:21px; color:var(--maroon-deep); line-height:1.25; margin-bottom:10px;}
.ev-facts{list-style:none; display:flex; flex-direction:column; gap:6px; margin-bottom:12px;}
.ev-facts li{display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; font-size:14px; color:var(--ink);}
.ev-facts svg{width:16px; height:16px; flex-shrink:0; stroke:var(--ev);}
.ev-muted{color:var(--ink-soft);}
.ev-seats{font-size:12px; font-weight:700; padding:2px 9px; border-radius:100px; background:#E6F2EC; color:#2A6B52;}
.ev-seats.is-low{background:#FBF0DF; color:#8A5A1E;}
.ev-seats.is-full{background:#FBEAE5; color:#8A3620;}
.ev-desc{font-size:14.5px; color:var(--ink-soft); line-height:1.65;}
.ev-more summary{list-style:none; cursor:pointer;}
.ev-more summary::-webkit-details-marker{display:none;}
.ev-more__toggle{display:inline-block; margin-top:6px; font-size:13.5px; font-weight:700; color:var(--saffron-deep);}
.ev-more[open] summary .ev-desc, .ev-more[open] .ev-more__toggle{display:none;}
.ev-more[open] > .ev-desc{animation:fadeUp 0.5s var(--ease) both; opacity:0; transform:translateY(8px);}
.ev-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line);}
.ev-link{
  display:inline-flex; align-items:center; gap:7px; font-size:13.5px; font-weight:600; color:var(--maroon-deep);
  padding:8px 14px; border-radius:100px; background:var(--cream); transition:background 0.25s, transform 0.25s var(--ease);
}
.ev-link:hover{background:var(--cream-2); transform:translateY(-2px);}
.ev-link svg{width:16px; height:16px; color:var(--saffron-deep);}
.ev-card.is-compact{padding:20px;}
.ev-card.is-compact .ev-date{width:66px;}
.ev-card.is-compact .ev-date__d{font-size:27px;}
.ev-card.is-compact h3{font-size:18.5px;}

/* ==========================================================================
   Events page
   ========================================================================== */
.year-strip{
  background:#fff; border-radius:28px; padding:26px 28px 20px; border:1px solid var(--line);
  box-shadow:var(--shadow); margin-bottom:56px;
}
.year-strip__head{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;}
.year-strip__head h2{font-size:26px; color:var(--maroon-deep); text-align:center;}
.year-strip__head h2 span{display:block; font-family:'Inter',sans-serif; font-size:13px; font-weight:500; color:var(--ink-soft);}
.year-strip__nav{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--line); font-size:24px; color:var(--maroon-deep);
  display:flex; align-items:center; justify-content:center; transition:background 0.25s, transform 0.25s var(--ease);
}
.year-strip__nav:hover{background:rgba(232,132,58,0.12); transform:scale(1.08);}
.months{display:grid; grid-template-columns:repeat(12, 1fr); gap:6px;}
.month{
  display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 2px 8px; border-radius:16px;
  transition:background 0.25s, transform 0.3s var(--ease);
}
.month:hover{background:var(--cream); transform:translateY(-3px);}
.month__bar{position:relative; width:14px; height:64px; border-radius:8px; background:var(--cream-2); overflow:hidden;}
.month__bar i{
  position:absolute; left:0; right:0; bottom:0; height:0; border-radius:8px;
  background:linear-gradient(180deg, var(--gold), var(--saffron-deep));
  transition:height 1.1s var(--ease);
}
.year-strip.in-view .month__bar i{height:var(--h);}
.month:nth-child(2) .month__bar i{transition-delay:0.04s;} .month:nth-child(3) .month__bar i{transition-delay:0.08s;}
.month:nth-child(4) .month__bar i{transition-delay:0.12s;} .month:nth-child(5) .month__bar i{transition-delay:0.16s;}
.month:nth-child(6) .month__bar i{transition-delay:0.2s;} .month:nth-child(7) .month__bar i{transition-delay:0.24s;}
.month:nth-child(8) .month__bar i{transition-delay:0.28s;} .month:nth-child(9) .month__bar i{transition-delay:0.32s;}
.month:nth-child(10) .month__bar i{transition-delay:0.36s;} .month:nth-child(11) .month__bar i{transition-delay:0.4s;}
.month:nth-child(12) .month__bar i{transition-delay:0.44s;}
.month b{font-size:13.5px; color:var(--maroon-deep);}
.month small{font-size:12px; color:var(--ink-soft); font-weight:600;}
.month.is-now b{color:var(--saffron-deep);}
.month.is-active{background:linear-gradient(160deg, var(--maroon), var(--maroon-deep)); box-shadow:0 12px 24px rgba(122,31,43,0.3);}
.month.is-active b, .month.is-active small{color:#fff;}
.month.is-active .month__bar{background:rgba(255,255,255,0.18);}

.month-head{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:26px;}
.month-head__title{text-align:center;}
.month-head__title .kicker{margin-bottom:2px;}
.month-head__title h2{font-size:clamp(34px,5vw,52px); color:var(--maroon-deep); line-height:1.05;}
.month-head__count{font-size:14px; color:var(--ink-soft);}

.type-legend{display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:44px;}
.type-chip{
  --ev:var(--saffron-deep);
  display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border-radius:100px;
  background:#fff; border:1px solid color-mix(in srgb, var(--ev) 30%, transparent);
  color:var(--ev); font-size:13.5px; font-weight:600;
}
.type-chip svg{width:16px; height:16px;}
.type-chip b{background:var(--ev); color:#fff; border-radius:100px; padding:0 8px; font-size:12px;}

.ev-timeline{position:relative; padding-left:8px;}
.ev-timeline::before{
  content:''; position:absolute; left:43px; top:12px; bottom:12px; width:2px;
  background:linear-gradient(180deg, var(--saffron), rgba(122,31,43,0.12));
}
.ev-day{display:grid; grid-template-columns:72px 1fr; gap:22px; margin-bottom:34px;}
.ev-day__marker{position:relative; display:flex; flex-direction:column; align-items:center; padding-top:6px;}
.ev-day__dot{
  width:18px; height:18px; border-radius:50%; background:#fff; border:3px solid var(--saffron);
  box-shadow:0 0 0 6px rgba(232,132,58,0.14); position:relative; z-index:1;
}
.ev-day.is-today .ev-day__dot{background:var(--saffron); animation:markPulse 2s infinite;}
.ev-day.is-past .ev-day__dot{border-color:rgba(122,31,43,0.25); box-shadow:none;}
.ev-day__label{text-align:center; margin-top:10px; background:var(--cream); position:relative; z-index:1; padding:2px 0;}
.ev-day__label b{display:block; font-family:'Fraunces',serif; font-size:28px; color:var(--maroon-deep); line-height:1;}
.ev-day__label span{font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--ink-soft);}
.today-flag{
  display:inline-block; margin-bottom:10px; padding:5px 14px; border-radius:100px;
  background:var(--saffron); color:#fff; font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.collection-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; margin-bottom:64px;}
.collection{
  position:relative; display:block; aspect-ratio:4/3.3; border-radius:26px; overflow:hidden; isolation:isolate;
  box-shadow:var(--shadow); transition:transform 0.2s ease-out, box-shadow 0.4s var(--ease);
  transform-style:preserve-3d;
}
.collection__img{
  position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center;
  background-image:var(--temple-photo); transition:transform 0.9s var(--ease);
}
.collection:nth-child(2) .collection__img:not([style]){filter:sepia(0.4) hue-rotate(-12deg) saturate(1.3);}
.collection:nth-child(3) .collection__img:not([style]){filter:hue-rotate(18deg) saturate(1.5) brightness(0.9);}
.collection:hover .collection__img{transform:scale(1.1);}
.collection__shade{position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(40,10,10,0.05) 25%, rgba(40,10,10,0.85) 100%);}
.collection__body{position:absolute; left:0; right:0; bottom:0; padding:24px; color:#fff; display:flex; flex-direction:column; gap:4px;}
.collection__count{
  align-self:flex-start; font-size:11.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  padding:4px 11px; border-radius:100px; background:rgba(255,255,255,0.18); backdrop-filter:blur(6px); margin-bottom:6px;
}
.collection__body b{font-family:'Fraunces',serif; font-size:26px; line-height:1.15;}
.collection__body small{font-size:14px; color:rgba(255,255,255,0.8); max-height:0; opacity:0; overflow:hidden;
  transition:max-height 0.5s var(--ease), opacity 0.4s;}
.collection:hover .collection__body small, .collection.is-active .collection__body small{max-height:60px; opacity:1;}
.collection.is-active{box-shadow:0 0 0 4px var(--saffron), var(--shadow);}

.filter-bar{
  position:sticky; top:76px; z-index:20; display:flex; flex-wrap:wrap; justify-content:center; gap:8px;
  padding:12px; margin:0 auto 34px; width:fit-content; max-width:100%; border-radius:100px;
  background:rgba(253,247,238,0.88); backdrop-filter:blur(12px); border:1px solid var(--line);
  box-shadow:0 12px 30px rgba(122,31,43,0.08); scroll-margin-top:110px;
}
.filter-pill{
  padding:9px 18px; border-radius:100px; font-weight:600; font-size:14px; color:var(--ink-soft);
  transition:background 0.3s var(--ease), color 0.3s;
}
.filter-pill span{margin-left:4px; font-size:12px; opacity:0.65;}
.filter-pill:hover{background:rgba(122,31,43,0.06); color:var(--maroon-deep);}
.filter-pill.is-active{background:linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color:#fff;
  box-shadow:0 8px 18px rgba(122,31,43,0.28);}

.masonry{columns:4 240px; column-gap:16px;}
.masonry__item{
  position:relative; display:block; margin-bottom:16px; break-inside:avoid; border-radius:20px; overflow:hidden;
  background:var(--cream-2); box-shadow:0 10px 26px rgba(122,31,43,0.08);
}
.masonry__item img{width:100%; height:auto; transition:transform 0.8s var(--ease), filter 0.5s;}
.masonry__item:hover img{transform:scale(1.08); filter:saturate(1.15);}
.masonry__shine{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 48%, transparent 66%);
  transform:translateX(-120%); transition:transform 0.9s var(--ease);
}
.masonry__item:hover .masonry__shine{transform:translateX(120%);}
.masonry__label{
  position:absolute; left:0; right:0; bottom:0; padding:40px 16px 14px; color:#fff; display:flex; flex-direction:column;
  background:linear-gradient(transparent, rgba(30,8,6,0.82)); transform:translateY(40%); opacity:0;
  transition:transform 0.45s var(--ease), opacity 0.35s;
}
.masonry__item:hover .masonry__label, .masonry__item:focus-visible .masonry__label{transform:translateY(0); opacity:1;}
.masonry__label small{font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); font-weight:700;}
.masonry__label b{font-family:'Fraunces',serif; font-size:17px; font-weight:600;}
.masonry__zoom{
  position:absolute; top:12px; right:12px; width:38px; height:38px; border-radius:50%; color:var(--maroon-deep);
  background:rgba(255,255,255,0.9); display:flex; align-items:center; justify-content:center;
  transform:scale(0.4); opacity:0; transition:transform 0.4s var(--ease), opacity 0.3s;
}
.masonry__zoom svg{width:18px; height:18px;}
.masonry__item:hover .masonry__zoom{transform:scale(1); opacity:1;}

.pager{display:flex; align-items:center; justify-content:center; gap:16px; margin-top:36px; font-size:14px; color:var(--ink-soft);}

.gallery-teaser{
  position:relative; border-radius:30px; overflow:hidden; isolation:isolate; min-height:340px;
  display:flex; align-items:center; padding:48px; box-shadow:var(--shadow);
}
.gallery-teaser__photo{position:absolute; inset:-6%; z-index:-2; background-image:var(--temple-photo);
  background-size:cover; background-position:center 35%; animation:kenburns 22s ease-in-out infinite alternate;}
.gallery-teaser::after{content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg, rgba(60,14,20,0.9) 0%, rgba(92,20,32,0.55) 60%, rgba(92,20,32,0.15));}
.gallery-teaser__copy{max-width:440px; color:#fff;}
.gallery-teaser__copy h3{font-size:30px; margin-bottom:10px;}
.gallery-teaser__copy p{color:rgba(255,255,255,0.84); margin-bottom:24px;}

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; padding:28px;
  background:rgba(20,6,4,0.94); backdrop-filter:blur(6px); opacity:0; transition:opacity 0.35s var(--ease);
}
.lightbox[hidden]{display:none;}
.lightbox.is-open{opacity:1;}
.lightbox__figure{max-width:min(1100px, 100%); max-height:100%; display:flex; flex-direction:column; align-items:center;
  transform:scale(0.92); transition:transform 0.45s var(--ease);}
.lightbox.is-open .lightbox__figure{transform:scale(1);}
.lightbox__figure img{max-width:100%; max-height:calc(100vh - 160px); border-radius:14px; object-fit:contain;
  box-shadow:0 30px 80px rgba(0,0,0,0.5); transition:opacity 0.25s;}
.lightbox__figure img.is-swapping{opacity:0;}
.lightbox figcaption{color:#fff; text-align:center; margin-top:16px; display:flex; flex-direction:column; gap:2px;}
.lightbox figcaption b{font-family:'Fraunces',serif; font-size:21px;}
.lightbox__count{font-size:12px; letter-spacing:0.12em; color:var(--gold); font-weight:700;}
.lightbox__caption{font-size:14px; opacity:0.78;}
.lightbox__close, .lightbox__nav{
  position:absolute; width:52px; height:52px; border-radius:50%; border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08); color:#fff; font-size:32px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background 0.25s, transform 0.25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover{background:rgba(255,255,255,0.2); transform:scale(1.08);}
.lightbox__close{top:22px; right:22px;}
.lightbox__nav.prev{left:22px;}
.lightbox__nav.next{right:22px;}

/* ==========================================================================
   Seva (home strip + volunteers page)
   ========================================================================== */
.seva-strip{background:linear-gradient(180deg, var(--cream), var(--cream-2));}
.seva-chips{display:flex; flex-wrap:wrap; justify-content:center; gap:14px;}
.seva-chip{
  display:flex; align-items:center; gap:12px; padding:12px 20px 12px 12px; border-radius:100px;
  background:#fff; border:1px solid var(--line); box-shadow:0 8px 20px rgba(122,31,43,0.06);
  transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.seva-chip:hover{transform:translateY(-4px); box-shadow:0 16px 30px rgba(122,31,43,0.12);}
.seva-chip__icon{width:42px; height:42px; border-radius:50%; flex-shrink:0; color:#fff;
  background:linear-gradient(145deg, var(--saffron), var(--saffron-deep)); display:flex; align-items:center; justify-content:center;}
.seva-chip__icon svg{width:20px; height:20px;}
.seva-chip b{display:block; font-size:15px; color:var(--maroon-deep);}
.seva-chip small{display:block; font-size:12.5px; color:var(--ink-soft);}

.seva-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;}
.seva-card{
  position:relative; display:flex; flex-direction:column; padding:30px 26px 24px; border-radius:24px;
  background:#fff; border:1px solid var(--line); overflow:hidden;
  transition:transform 0.2s ease-out, box-shadow 0.4s var(--ease); transform-style:preserve-3d;
}
.seva-card::before{content:''; position:absolute; inset:0 0 auto 0; height:5px;
  background:linear-gradient(90deg, var(--gold), var(--saffron), var(--maroon)); transform:scaleX(0);
  transform-origin:left; transition:transform 0.5s var(--ease);}
.seva-card:hover{box-shadow:0 26px 54px rgba(122,31,43,0.15);}
.seva-card:hover::before{transform:scaleX(1);}
.seva-card__icon{
  width:58px; height:58px; border-radius:18px; margin-bottom:18px; color:var(--saffron-deep);
  background:linear-gradient(135deg, rgba(232,132,58,0.16), rgba(216,168,87,0.2));
  display:flex; align-items:center; justify-content:center; transition:transform 0.45s var(--ease), background 0.45s, color 0.45s;
}
.seva-card__icon svg{width:28px; height:28px;}
.seva-card:hover .seva-card__icon{transform:scale(1.1) rotate(-8deg); background:linear-gradient(145deg, var(--saffron), var(--maroon)); color:#fff;}
.reveal-stagger.in-view .seva-card__icon{animation:iconPop 0.7s var(--ease) both;}
.seva-card h3{font-size:20px; color:var(--maroon-deep); margin-bottom:8px;}
.seva-card > p{font-size:14.5px; color:var(--ink-soft); margin-bottom:16px;}
.seva-card__facts{list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:auto; padding:14px 0; border-top:1px dashed var(--line);}
.seva-card__facts li{display:flex; align-items:center; gap:9px; font-size:14px; color:var(--ink);}
.seva-card__facts svg{width:16px; height:16px; flex-shrink:0; stroke:var(--saffron-deep);}
.seva-card__cta{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; margin-top:6px; padding:12px 18px; border-radius:100px;
  font-weight:700; font-size:14px; color:var(--maroon-deep); background:var(--cream);
  transition:background 0.3s, color 0.3s, gap 0.3s var(--ease);
}
.seva-card__cta svg{width:16px; height:16px;}
.seva-card__cta:hover{background:linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color:#fff; gap:14px;}

.step-actions{display:flex; gap:10px; margin-top:16px; flex-wrap:wrap;}

/* ---------- FAQ ---------- */
.faq{background:var(--cream-2);}
.faq-list{max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px;}
.faq-item{background:#fff; border-radius:18px; border:1px solid var(--line); box-shadow:0 8px 20px rgba(122,31,43,0.05);
  transition:box-shadow 0.3s;}
.faq-item[open]{box-shadow:0 16px 34px rgba(122,31,43,0.1);}
.faq-item summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 24px; font-family:'Fraunces',serif; font-size:18px; font-weight:600; color:var(--maroon-deep);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item__plus{position:relative; width:30px; height:30px; flex-shrink:0; border-radius:50%; background:var(--cream-2);
  transition:transform 0.4s var(--ease), background 0.3s;}
.faq-item__plus::before, .faq-item__plus::after{content:''; position:absolute; left:50%; top:50%; width:12px; height:2px;
  background:var(--saffron-deep); transform:translate(-50%,-50%);}
.faq-item__plus::after{transform:translate(-50%,-50%) rotate(90deg); transition:transform 0.4s var(--ease);}
.faq-item[open] .faq-item__plus{transform:rotate(180deg); background:var(--saffron);}
.faq-item[open] .faq-item__plus::before{background:#fff;}
.faq-item[open] .faq-item__plus::after{transform:translate(-50%,-50%) rotate(0deg); background:#fff;}
.faq-item__body{padding:0 24px 20px; color:var(--ink-soft); font-size:15px; animation:fadeUp 0.45s var(--ease) both;
  opacity:0; transform:translateY(-6px);}

/* ==========================================================================
   Seva booking (Sevadar portal)
   ========================================================================== */
.book{padding-top:32px; padding-bottom:80px;}
.book .alert{margin-bottom:24px;}
.book-step{margin-bottom:36px;}
.book-step > .step-badge{font-size:13px; margin-bottom:14px;}

.seva-types{display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px;}
.seva-type{
  display:flex; gap:14px; align-items:flex-start; background:#fff; border-radius:18px; padding:18px;
  border:1.5px solid var(--line); transition:border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.seva-type:hover{border-color:var(--saffron); transform:translateY(-2px);}
.seva-type.is-selected{border-color:var(--saffron-deep); box-shadow:0 0 0 4px rgba(232,132,58,0.16); background:#FFFaf3;}
.seva-type__icon{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  background:rgba(232,132,58,0.14); color:var(--saffron-deep);
  display:flex; align-items:center; justify-content:center;
}
.seva-type.is-selected .seva-type__icon{background:var(--saffron-deep); color:#fff;}
.seva-type__icon svg{width:22px; height:22px;}
.seva-type__body{display:flex; flex-direction:column; min-width:0;}
.seva-type__body b{font-size:16px; color:var(--maroon-deep);}
.seva-type__body small{font-size:12.5px; color:var(--saffron-deep); font-weight:600; margin:2px 0 4px;}
.seva-type__desc{font-size:13.5px; color:var(--ink-soft);}

.cal{background:#fff; border-radius:22px; padding:24px; border:1px solid var(--line); box-shadow:0 8px 22px rgba(122,31,43,0.06);}
.cal__head{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
.cal__head h2{font-size:22px; color:var(--maroon-deep);}
.cal__nav{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--maroon-deep);
}
.cal__nav:hover{background:rgba(232,132,58,0.12);}
.cal__nav.is-disabled{opacity:0.3;}
.cal__grid{display:grid; grid-template-columns:repeat(7, 1fr); gap:6px;}
.cal__dow{text-align:center; font-size:12px; font-weight:700; color:var(--ink-soft); text-transform:uppercase; padding:4px 0;}
.cal__day{
  position:relative; min-height:64px; border-radius:12px; padding:8px;
  display:flex; flex-direction:column; justify-content:space-between;
  border:1.5px solid transparent; background:var(--cream); cursor:default;
}
.cal__day input{position:absolute; opacity:0; pointer-events:none;}
.cal__day .n{font-weight:700; font-size:15px;}
.cal__day .h{font-size:11px; line-height:1.2;}
.cal__day.is-open{background:#EEF6F1; color:#1F5A45; cursor:pointer; border-color:#CFE5D8;}
.cal__day.is-open:hover{border-color:#2F7D6E;}
.cal__day.is-open:has(input:checked){background:var(--maroon-deep); border-color:var(--maroon-deep); color:#fff;}
.cal__day.is-open:has(input:focus-visible){outline:3px solid var(--saffron); outline-offset:2px;}
.cal__day.is-full{background:#FBEAE5; color:#8A3620;}
.cal__day.is-booked{background:#FBF0DF; color:#8A5A1E;}
.cal__day.is-closed, .cal__day.is-outside{color:#b9aca2;}
.cal__day.is-outside{background:transparent;}
.cal__day.is-today .n{text-decoration:underline; text-underline-offset:3px;}
.cal__legend{display:flex; flex-wrap:wrap; gap:16px; margin-top:16px; font-size:12.5px; color:var(--ink-soft);}
.cal__legend i{display:inline-block; width:12px; height:12px; border-radius:4px; vertical-align:-1px; margin-right:4px;}
.cal__legend .is-open{background:#CFE5D8;}
.cal__legend .is-full{background:#EFC9BC;}
.cal__legend .is-booked{background:#EBD6B4;}
.cal__legend .is-closed{background:var(--cream-2);}

.book-summary{max-width:560px;}
.book-notes{
  width:100%; padding:12px 14px; border-radius:14px; border:1.5px solid var(--line);
  font-family:'Inter',sans-serif; font-size:15px; resize:vertical;
}
.book-notes:focus{outline:none; border-color:var(--saffron); box-shadow:0 0 0 4px rgba(232,132,58,0.14);}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1024px){
  .ev-grid{grid-template-columns:1fr;}
  .seva-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:900px){
  .nav-toggle{display:flex;}
  .nav-cta > .btn{display:none;}
  .nav-links{
    display:flex; position:absolute; top:100%; left:12px; right:12px; flex-direction:column; align-items:stretch; gap:0;
    padding:10px; border-radius:22px; background:var(--cream); color:var(--ink) !important;
    box-shadow:0 24px 50px rgba(60,14,20,0.25); border:1px solid var(--line);
    opacity:0; visibility:hidden; transform:translateY(-10px);
    transition:opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.menu-open .nav-links{opacity:1; visibility:visible; transform:translateY(8px);}
  .nav-links a{padding:13px 16px; border-radius:14px; font-size:16px; color:var(--ink) !important;}
  .nav-links a::after{display:none;}
  .nav-links a.is-active{background:rgba(232,132,58,0.14); color:var(--maroon-deep) !important;}
  .nav-menu-cta{display:flex; flex-direction:column; gap:8px; padding:10px 6px 4px;}
  .nav-menu-cta .btn{padding:13px 20px;}
  .nav-menu-cta .btn-primary{color:#fff !important;}
  .nav-menu-cta .btn-ghost{color:var(--maroon-deep) !important; border-color:rgba(122,31,43,0.25) !important;}
  .brand-name{max-width:200px;}
  .page-hero{min-height:auto; padding:130px 0 120px;}
  .collection-grid{grid-template-columns:1fr; gap:16px;}
  .collection{aspect-ratio:16/9;}
  .collection__body small{max-height:60px; opacity:1;}
  .months{grid-template-columns:repeat(6, 1fr); row-gap:10px;}
  .filter-bar{top:66px; border-radius:22px;}
}
@media (max-width:600px){
  .page-hero h1{font-size:34px;}
  .hero-stats > div{min-width:0; flex:1 1 40%; padding:12px 14px;}
  .hero-stats b{font-size:24px;}
  .next-event{padding:18px;}
  .countdown{gap:6px;}
  .countdown__cell{min-width:0; flex:1; padding:8px 2px;}
  .countdown__cell b{font-size:21px;}
  .ev-card{flex-wrap:wrap; padding:18px; gap:14px;}
  .ev-banner{width:100%; height:170px; order:-1;}
  .ev-date{width:62px;}
  .ev-date__d{font-size:26px;}
  .ev-timeline::before{left:23px;}
  .ev-day{grid-template-columns:36px 1fr; gap:12px;}
  .ev-day__label b{font-size:20px;}
  .ev-day__label span{font-size:10px;}
  .month-head .btn{padding:8px 12px;}
  .year-strip{padding:18px 14px 12px;}
  .month__bar{height:44px; width:10px;}
  .masonry{columns:2; column-gap:10px;}
  .masonry__item{margin-bottom:10px; border-radius:14px;}
  .masonry__label, .masonry__zoom{display:none;}
  .seva-grid{grid-template-columns:1fr;}
  .gallery-teaser{padding:32px 24px; min-height:300px;}
  .lightbox__nav{top:auto; bottom:22px;}
  .lightbox__nav.prev{left:calc(50% - 64px);}
  .lightbox__nav.next{right:calc(50% - 64px);}
  .faq-item summary{font-size:16px; padding:18px;}
  /* The booking calendar */
  .cal{padding:14px;}
  .cal__grid{gap:3px;}
  .cal__day{min-height:48px; padding:5px;}
  .cal__day .h{display:none;}
}
@media (prefers-reduced-motion: reduce){
  .hero-stats > div, .next-event{opacity:1; transform:none;}
}
