/* ==========================================================================
   Rituranga Kokapet — design system
   Concept: alpona (white rice-paste line on red earth) + chalchitra (the
   painted arch behind the pratima). Red is the ground, white is the line.
   The arch is the one recurring structural device, at every scale.
   ========================================================================== */

:root{
  --alta:        #8C1027;
  --alta-deep:   #5A0716;
  --alta-ink:    #3D0410;
  --shola:       #FBF6EC;
  --shola-2:     #F3E9D6;
  --marigold:    #E8A020;
  --marigold-dp: #A65208;
  --sindoor:     #D93B21;
  --ink:         #2A1613;
  --ash:         #7B6357;
  --rule:        rgba(42,22,19,.16);
  --rule-light:  rgba(251,246,236,.28);

  --display: "Prata", Georgia, serif;
  --bangla:  "Baloo Da 2", "Hind Siliguri", system-ui, sans-serif;
  --body:    "Karla", system-ui, -apple-system, sans-serif;

  --arch:    50% 50% 10px 10px / 38% 38% 10px 10px;
  --arch-sm: 50% 50% 8px 8px / 42% 42% 8px 8px;
  --wrap: 1520px;          /* was 1180 — wasted 39% of a 1920 screen */
  /* The exact left offset of a standard .wrap. Any full-bleed section that
     still carries text uses this, so headings line up on every page. */
  --inset: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  --wrap-read: 780px;      /* long-form prose only */
  --gut: clamp(20px, 3.4vw, 64px);
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

/* Neutralise the inline critical fallback in <head>, which constrains <main>
   so an unstyled page stays readable. Full-bleed sections need it released. */
main{ max-width:none; margin:0; padding:0; }

body{
  margin:0;
  background:var(--shola);
  color:var(--ink);
  font-family:var(--body);
  font-size:clamp(16px,.55vw + 15px,18px);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}

/* height:auto stops width/height attributes from pinning the rendered
   height once max-width scales the image down. */
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--alta); text-decoration-thickness:1px; text-underline-offset:3px; }/* Inline links on the dark sections. Without this they inherit alta red on an
   alta-red ground and vanish. .btn is excluded — buttons carry their own colour. */
.on-alta a:not(.btn),.on-deep a:not(.btn),.hero a:not(.btn),.hero-pujo a:not(.btn){ color:#F0B44C; }.on-alta a:not(.btn):hover,.on-deep a:not(.btn):hover{ color:var(--shola); }

:focus-visible{
  outline:3px solid var(--marigold);
  outline-offset:3px;
  border-radius:4px;
}

[id]{ scroll-margin-top:92px; }

.wrap{ width:min(var(--wrap),100% - var(--gut)*2); margin-inline:auto; }
.wrap-narrow{ width:min(var(--wrap-read),100% - var(--gut)*2); margin-inline:auto; }

/* Edge-to-edge, for galleries, schedules and image bands. */
.wrap-full{ width:100%; padding-inline:clamp(12px,1.6vw,28px); }

/* A wide container must not produce 200-character lines. Loose prose inside
   one is capped; text already sitting in a grid column is unaffected. */
section > .wrap > p,
section > .wrap > .notice{ max-width:70ch; }
/* ...but a capped block still needs centring where the context is centred,
   otherwise it anchors to the left edge of a wide container. */
.hero-in > p, .wrap.center > p, .center > .notice{ margin-inline:auto; }

/* ---------- Type ---------------------------------------------------------- */

h1,h2,h3,h4{ font-family:var(--display); font-weight:400; line-height:1.08; margin:0; }
h1{ font-size:clamp(2.6rem,6.5vw,5.1rem); letter-spacing:-.015em; }
h2{ font-size:clamp(1.9rem,3.9vw,3.1rem); letter-spacing:-.01em; }
h3{ font-size:clamp(1.25rem,1.9vw,1.65rem); }
h4{ font-size:1.05rem; }
p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

.bn{ font-family:var(--bangla); font-weight:600; line-height:1.35; }

.eyebrow{
  font-family:var(--body);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--marigold-dp);
  margin:0 0 1rem;
  display:flex; align-items:center; gap:.7rem;
}
.eyebrow::before{
  content:""; width:26px; height:1px; background:currentColor; flex:none;
}.on-alta .eyebrow,.on-deep .eyebrow{ color:#F0B44C; }

.lede{ font-size:clamp(1.06rem,1.4vw,1.25rem); color:var(--ash); max-width:56ch; }.on-alta .lede,.on-deep .lede{ color:rgba(251,246,236,.8); }

.fine{ font-size:.83rem; color:var(--ash); line-height:1.55; }.on-alta .fine,.on-deep .fine{ color:rgba(251,246,236,.78); }

/* ---------- Buttons ------------------------------------------------------- */

.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--body); font-weight:700; font-size:.85rem;
  letter-spacing:.1em; text-transform:uppercase; text-decoration:none;
  padding:.95rem 1.6rem; border-radius:100px; border:1.5px solid transparent;
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor:pointer;
}
.btn:hover{ transform:translateY(-2px); }
.btn-solid{ background:var(--marigold); color:var(--alta-ink); }
.btn-solid:hover{ background:#F4B33F; }
/* Default is the on-light treatment, since most surfaces are shola.
   Dark surfaces opt in — not the other way round. */
.btn-line{ border-color:var(--rule); color:var(--alta); }
.btn-line:hover{ border-color:var(--alta); background:var(--alta); color:var(--shola); }.on-alta .btn-line,.on-deep .btn-line,.hero .btn-line,.hero-pujo .btn-line{ border-color:var(--rule-light); color:var(--shola); background:transparent; }.on-alta .btn-line:hover,.on-deep .btn-line:hover,.hero .btn-line:hover,.hero-pujo .btn-line:hover{ border-color:var(--marigold); color:var(--marigold); background:transparent; }

/* ---------- Sections ------------------------------------------------------ */

section{ padding-block:clamp(64px,8vw,120px); position:relative; }.on-alta,.on-deep{ background:var(--alta); color:var(--shola); }.on-alta h1,.on-deep h1,.on-alta h2,.on-deep h2,.on-alta h3,.on-deep h3{ color:var(--shola); }
.on-deep{ background:var(--alta-deep); color:var(--shola); }
.on-shola-2{ background:var(--shola-2); }

.sec-head{ margin-bottom:clamp(36px,4.5vw,60px); max-width:62ch; }
.sec-head .bn-tag{
  font-family:var(--bangla); font-size:1.4rem; color:var(--marigold-dp);
  display:block; margin-bottom:.15em;
}.on-alta .sec-head .bn-tag,.on-deep .sec-head .bn-tag{ color:#F0B44C; }

/* alpona rule — a hairline with a lotus node, used between sections */
.alpona-rule{
  display:flex; align-items:center; gap:14px; color:var(--rule);
}
.alpona-rule::before,.alpona-rule::after{ content:""; height:1px; background:currentColor; flex:1; }
.alpona-rule span{ font-family:var(--bangla); font-size:1rem; color:var(--marigold-dp); }.on-alta .alpona-rule,.on-deep .alpona-rule{ color:var(--rule-light); }.on-alta .alpona-rule span,.on-deep .alpona-rule span{ color:var(--marigold); }

/* ---------- Header -------------------------------------------------------- */

.site-head{
  position:sticky; top:0; z-index:60;
  background:var(--alta-deep); color:var(--shola);
  border-bottom:1px solid rgba(251,246,236,.14);
}
.head-in{ display:flex; align-items:center; gap:1.5rem; height:70px; }
.brand{ display:flex; align-items:baseline; gap:.6rem; text-decoration:none; color:var(--shola); margin-right:auto; }
.brand .bn{ font-size:1.5rem; color:var(--marigold); }
.brand .en{ font-size:.7rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }

.nav{ display:flex; align-items:center; gap:.35rem; }
.nav a{
  color:rgba(251,246,236,.82); text-decoration:none;
  font-size:.78rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
  padding:.55rem .8rem; border-radius:100px;
}
.nav a:hover{ color:var(--shola); background:rgba(251,246,236,.09); }
.nav a[aria-current="page"]{ color:var(--marigold); }
.nav .btn{ padding:.65rem 1.15rem; font-size:.75rem; margin-left:.5rem; }

.burger{
  display:none; background:none; border:1px solid rgba(251,246,236,.3);
  color:var(--shola); width:44px; height:44px; border-radius:50%; cursor:pointer;
  align-items:center; justify-content:center;
}
.burger svg{ width:19px; height:19px; }

/* Facebook / Instagram in the header itself — not just the footer — so
   they stay visible in the always-on top band, on every page, whether the
   mobile nav drawer is open or closed (the drawer uses position:fixed and
   drops out of this row entirely, so this cluster is unaffected by it). */
.head-social{ display:flex; align-items:center; gap:.5rem; flex:none; }
.head-social a{
  width:34px; height:34px; border-radius:50%; flex:none;
  display:grid; place-items:center;
  color:rgba(251,246,236,.82); border:1px solid rgba(251,246,236,.28);
  transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.head-social a:hover{ color:var(--shola); border-color:var(--marigold); background:rgba(251,246,236,.09); }
.head-social svg{ width:16px; height:16px; }

/* Puja venue pin — first item in the header, marigold so it reads as the
   one action that isn't social. Pill with label on wide screens, round icon
   (same size as the social buttons) below 1400px, where the nav needs the room. */
.head-social a.head-venue{
  width:auto; padding:0 .8rem 0 .6rem; border-radius:999px; gap:.35rem;
  display:inline-flex; align-items:center;
  color:var(--marigold); border-color:var(--marigold);
  font-size:.66rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; text-decoration:none;
}
.head-social a.head-venue:hover{ color:var(--alta-deep); background:var(--marigold); border-color:var(--marigold); }
@media (max-width:1399px){
  .head-social a.head-venue{ width:34px; padding:0; justify-content:center; }
  .head-social a.head-venue span{ display:none; }
}
@media (max-width:1000px){
  .head-in{ gap:.7rem; }
}

@media (max-width:520px){
  .head-social{ gap:.4rem; }
  .head-social a, .head-social a.head-venue{ width:30px; height:30px; }
  .head-social svg{ width:14px; height:14px; }
}

@media (max-width:380px){
  .brand .en{ font-size:.6rem; letter-spacing:.12em; }
}

@media (max-width:1000px){
  .nav{
    position:fixed; inset:70px 0 auto; background:var(--alta-deep);
    flex-direction:column; align-items:stretch; gap:0;
    padding:1rem var(--gut) 2rem; border-bottom:1px solid rgba(251,246,236,.14);
    transform:translateY(-120%); transition:transform .3s ease; max-height:calc(100vh - 70px);
    overflow:auto;
  }
  .nav[data-open="true"]{ transform:translateY(0); }
  .nav a{ padding:.85rem 0; font-size:.92rem; border-bottom:1px solid rgba(251,246,236,.1); border-radius:0; }
  .nav .btn{ margin:1.2rem 0 0; justify-content:center; }
  .burger{ display:flex; }
}

/* ---------- Hero ---------------------------------------------------------- */

.hero{
  background:var(--alta); color:var(--shola);
  position:relative; overflow:hidden;
  padding-block:clamp(70px,10vw,130px) clamp(60px,7vw,100px);
}
.hero::after{ /* subtle vignette so the mandala sits back */
  content:""; position:absolute; inset:0;
  background:radial-gradient(120% 90% at 50% 15%, transparent 30%, rgba(61,4,16,.55) 100%);
  pointer-events:none;
}
.mandala{
  display:block;
  position:absolute; top:50%; left:50%; translate:-50% -50%;
  width:min(1000px,135vw); aspect-ratio:1; opacity:.36; pointer-events:none;
}
.mandala path,.mandala circle{ fill:none; stroke:var(--shola); stroke-width:1; }
.hero-in{ position:relative; z-index:2; text-align:center; }.hero .invoke,.hero-pujo .invoke{
  font-family:var(--bangla); font-size:clamp(2rem,5.4vw,3.4rem);
  color:var(--marigold); line-height:1; margin:0 0 .5rem;
}.hero h1,.hero-pujo h1{ margin-bottom:.35rem; }.hero .sub,.hero-pujo .sub{
  font-family:var(--display); font-size:clamp(1.15rem,2.4vw,1.9rem);
  color:rgba(251,246,236,.9); margin:0 0 1.6rem;
}.hero .lede,.hero-pujo .lede{ margin-inline:auto; }
.hero-cta,.hero-pujo .hero-cta{ display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:2.2rem; }

.datestrip{
  display:inline-flex; align-items:center; gap:clamp(.6rem,2vw,1.4rem);
  border-block:1px solid var(--rule-light); padding:.7rem 0; margin:1.8rem 0 0;
  font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  font-size:clamp(.72rem,1.5vw,.9rem);
}
.datestrip b{ color:#F0B44C; font-weight:700; }
@media (max-width:560px){
  .datestrip{ flex-direction:column; gap:.3rem; text-align:center; }
  .datestrip span:first-of-type{ display:none; }
}

/* countdown — six beats, one per day of the puja */
.countdown{ display:flex; gap:clamp(8px,1.6vw,18px); justify-content:center; margin-top:2.4rem; flex-wrap:wrap; }
.beat{
  min-width:clamp(64px,10vw,92px);
  background:rgba(251,246,236,.07);
  border:1px solid var(--rule-light);
  border-radius:var(--arch-sm);
  padding:1.5rem .5rem .8rem;
}
.beat b{ display:block; font-family:var(--display); font-size:clamp(1.4rem,3vw,2.1rem); color:var(--marigold); line-height:1; }
.beat span{ display:block; font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:rgba(251,246,236,.7); margin-top:.45rem; }

/* ---------- Schedule ------------------------------------------------------ */

/* Mahalaya prelude — context before the nirghonto proper begins at Panchami */
.sked-prelude{
  display:flex; align-items:baseline; gap:.9rem 1.2rem; flex-wrap:wrap;
  background:var(--shola-2); border-radius:10px; padding:1rem 1.3rem;
  margin-bottom:1.8rem; font-size:.92rem; color:var(--ash);
}.on-alta .sked-prelude,.on-deep .sked-prelude{ background:rgba(251,246,236,.07); color:rgba(251,246,236,.8); }
.sked-prelude-when{ font-family:var(--display); font-size:1rem; color:var(--marigold-dp); flex:none; white-space:nowrap; }
.on-alta .sked-prelude-when,.on-deep .sked-prelude-when{ color:var(--marigold); }
.sked-prelude-when small{ display:block; font-family:var(--body); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; }
.sked-prelude-body b{ font-family:var(--bangla); font-weight:400; font-size:1.05rem; color:var(--alta); margin-right:.4rem; }
.on-alta .sked-prelude-body b,.on-deep .sked-prelude-body b{ color:#F0B44C; }
.sked-prelude-body em{ font-style:normal; font-family:var(--body); font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; color:var(--ash); margin-right:.5rem; }
.on-alta .sked-prelude-body em,.on-deep .sked-prelude-body em{ color:rgba(251,246,236,.65); }

/* Per-day accordion — one card per tithi, expandable time-by-time detail */
.sked-day{
  background:var(--shola); border:1px solid var(--rule); border-radius:14px; overflow:hidden;
}.on-alta .sked-day,.on-deep .sked-day{ background:rgba(251,246,236,.06); border-color:var(--rule-light); }
.sked-day.is-key{ background:var(--shola-2); border-color:var(--marigold); }
.on-alta .sked-day.is-key,.on-deep .sked-day.is-key{ background:var(--alta-deep); border-color:var(--marigold); }
.sked-day summary{
  cursor:pointer; list-style:none; padding:1.25rem 3rem 1.25rem 1.4rem; position:relative;
  display:flex; align-items:baseline; gap:1.1rem; flex-wrap:wrap;
}
.sked-day summary::-webkit-details-marker{ display:none; }
.sked-day summary::after{
  content:"–"; position:absolute; right:1.2rem; top:1.2rem;
  font-family:var(--body); font-size:1.5rem; color:var(--marigold-dp); line-height:1;
}.on-alta .sked-day summary::after,.on-deep .sked-day summary::after{ color:var(--marigold); }
.sked-day:not([open]) summary::after{ content:"+"; }
.sked-date{ font-family:var(--display); font-size:1.35rem; color:var(--alta); flex:none; line-height:1; }
.on-alta .sked-date,.on-deep .sked-date{ color:#F0B44C; }
.sked-date em{ font-style:normal; margin-left:.25rem; font-size:.75em; }
.sked-date small{ display:block; font-family:var(--body); font-size:.64rem; letter-spacing:.13em; text-transform:uppercase; color:var(--ash); margin-top:.3rem; }
.on-alta .sked-date small,.on-deep .sked-date small{ color:rgba(251,246,236,.75); }
.sked-name{ font-family:var(--bangla); font-size:1.1rem; }
.sked-name em{ display:block; font-family:var(--body); font-style:normal; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ash); margin-top:.2rem; }
.on-alta .sked-name em,.on-deep .sked-name em{ color:rgba(251,246,236,.75); }

.sked-times{ list-style:none; margin:0; padding:.2rem 1.4rem 1.4rem; display:grid; gap:.6rem; }
.sked-times li{ display:grid; grid-template-columns:minmax(112px,auto) 1fr; gap:1rem; font-size:.92rem; align-items:baseline; }
.sked-times .t{ font-family:var(--display); font-size:.86rem; color:var(--marigold-dp); white-space:nowrap; }
.on-alta .sked-times .t,.on-deep .sked-times .t{ color:var(--marigold); }
.sked-times .e{ color:var(--ash); }
.sked-times li.hl .e{ color:var(--alta); font-weight:700; }
.on-alta .sked-times .e,.on-deep .sked-times .e{ color:rgba(251,246,236,.8); }
.sked-foot{ margin:0; padding:0 1.4rem 1.3rem; font-size:.8rem; font-style:italic; color:var(--ash); }
.on-alta .sked-foot,.on-deep .sked-foot{ color:rgba(251,246,236,.65); }

/* Nirghonto download — the print-ready PDF, in the same section */
.sked-dl{
  display:flex; align-items:center; gap:1.2rem; text-decoration:none; margin-top:1.8rem;
  background:var(--alta); color:var(--shola); border-radius:16px; padding:1.4rem 1.6rem;
  transition:transform .2s ease, box-shadow .2s ease;
}
.sked-dl:hover{ transform:translateY(-3px); box-shadow:0 14px 32px rgba(61,4,16,.25); }
.sked-dl-icon{
  flex:none; width:46px; height:46px; display:grid; place-items:center;
  background:var(--marigold); color:var(--alta-ink); border-radius:var(--arch-sm);
}
.sked-dl-icon svg{ width:22px; height:22px; }
.sked-dl-body{ flex:1 1 auto; min-width:0; }
.sked-dl-body b{ display:block; font-family:var(--bangla); font-weight:400; font-size:1.15rem; }
.sked-dl-body em{ display:block; font-style:normal; font-size:.78rem; color:rgba(251,246,236,.75); margin-top:.25rem; }
.sked-dl-go{
  flex:none; font-size:.68rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
  color:var(--alta); background:var(--shola); border-radius:100px; padding:.6rem 1.1rem;
}
.sked-dl:hover .sked-dl-go{ background:var(--marigold); color:var(--alta-ink); }

@media (max-width:760px){
  .sked-times li{ grid-template-columns:1fr; gap:.15rem; }
  .sked-dl{ flex-wrap:wrap; }
}

/* ---------- Cards / grids ------------------------------------------------- */

.grid{ display:grid; gap:clamp(18px,2.4vw,32px); }
.g-2{ grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); }
.g-3{ grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.g-4{ grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); }
/* True two-up. .g-2 is auto-fit and will happily make three columns, which
   leaves an orphan when there are exactly four cards. */
.g-half{ grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr)); }

.card{
  background:var(--shola); border:1px solid var(--rule); border-radius:14px;
  padding:clamp(20px,2.4vw,30px);
}.on-alta .card,.on-deep .card{ background:rgba(251,246,236,.06); border-color:var(--rule-light); }
.card h3{ margin-bottom:.5rem; }

/* person tile — arch-topped portrait, monogram fallback */
.person{ text-align:center; }
.portrait{
  aspect-ratio:3/4; border-radius:var(--arch); overflow:hidden;
  background:var(--alta); border:1px solid var(--rule);
  display:grid; place-items:center; margin-bottom:.9rem;
  position:relative;
}
.portrait img{ width:100%; height:100%; object-fit:cover; }
.portrait .mono{
  font-family:var(--display); font-size:clamp(1.9rem,4vw,2.6rem);
  color:var(--marigold); letter-spacing:.02em;
}
.portrait .mono::after{
  content:""; position:absolute; inset:12px; border:1px solid rgba(232,160,32,.3);
  border-radius:var(--arch);
}
.person .nm{ font-family:var(--display); font-size:1.08rem; line-height:1.25; min-height:2.5em; display:flex; align-items:center; justify-content:center; }
.person .rl{ font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color:var(--marigold-dp); margin-top:.3rem; }.on-alta .person .rl,.on-deep .person .rl{ color:var(--marigold); }

/* ---------- SPOC directory ------------------------------------------------ */

.society{
  border:1px solid var(--rule); border-radius:14px; overflow:hidden; background:var(--shola);
}
.society > header{
  background:var(--alta); color:var(--shola); padding:.85rem 1.2rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.society > header h3{ font-size:1.1rem; color:var(--shola); }
.society > header .cnt{ font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:#F0B44C; flex:none; }
.spoc{ display:flex; align-items:center; gap:1rem; padding:1rem 1.2rem; border-top:1px solid var(--rule); flex-wrap:wrap; }
.society .spoc:first-of-type{ border-top:0; }
.spoc .who{ flex:1 1 160px; min-width:0; }
.spoc .who b{ font-family:var(--display); font-weight:400; font-size:1.05rem; display:block; }
.spoc .who span{ font-size:.78rem; color:var(--ash); }
.spoc .acts{ display:flex; gap:.5rem; flex:none; }
.iconbtn{
  width:46px; height:46px; border-radius:50%; display:grid; place-items:center;
  border:1px solid var(--rule); color:var(--alta); text-decoration:none;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.iconbtn:hover{ background:var(--alta); color:var(--shola); border-color:var(--alta); }
.iconbtn.wa:hover{ background:#1FA855; border-color:#1FA855; }
.iconbtn svg{ width:18px; height:18px; }
.iconbtn[data-disabled]{ opacity:.32; pointer-events:none; }

/* ---------- Contribution slabs -------------------------------------------- */

.slab{ background:var(--shola); border:1px solid var(--rule); border-radius:14px; padding:clamp(22px,2.6vw,32px); display:flex; flex-direction:column; }
.slab.feature{ border-color:var(--alta); border-width:2px; }
.slab .amt{ font-family:var(--display); font-size:clamp(1.9rem,4vw,2.6rem); color:var(--alta); line-height:1; }
.slab .per{ font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ash); margin:.5rem 0 1.1rem; }
.slab ul{ list-style:none; margin:0 0 1.4rem; padding:0; font-size:.92rem; }
.slab li{ padding-left:1.5rem; position:relative; margin-bottom:.55rem; }
.slab li::before{ content:"❖"; position:absolute; left:0; color:var(--marigold-dp); font-size:.8rem; }
.slab .btn{ margin-top:auto; align-self:flex-start; }

/* ---------- Gallery ------------------------------------------------------- */

.gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:10px; }
.gallery figure{ margin:0; overflow:hidden; border-radius:10px; background:var(--alta-deep); aspect-ratio:4/3; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery figure:hover img{ transform:scale(1.05); }
.gallery .tall{ grid-row:span 2; aspect-ratio:3/4; }

/* ---------- FAQ ----------------------------------------------------------- */

.faq{ border-top:1px solid var(--rule); }
.faq details{ border-bottom:1px solid var(--rule); }
.faq summary{
  cursor:pointer; list-style:none; padding:1.25rem 2.5rem 1.25rem 0; position:relative;
  font-family:var(--display); font-size:1.1rem;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right:.4rem; top:1.05rem;
  font-family:var(--body); font-size:1.5rem; color:var(--marigold-dp); line-height:1;
}
.faq details[open] summary::after{ content:"–"; }
.faq .ans{ padding:0 2.5rem 1.4rem 0; color:var(--ash); }

/* ---------- Map ----------------------------------------------------------- */

.mapbox{ border-radius:14px; overflow:hidden; border:1px solid var(--rule-light); background:var(--alta-deep); min-height:340px; }
.mapbox iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }

/* ---------- Notice banner ------------------------------------------------- */

.notice{
  background:var(--shola-2); border-left:3px solid var(--marigold);
  padding:1rem 1.2rem; border-radius:0 10px 10px 0; font-size:.92rem;
}.on-alta .notice,.on-deep .notice{ background:rgba(251,246,236,.08); color:rgba(251,246,236,.85); }

/* ---------- Form ---------------------------------------------------------- */

.form{ display:grid; gap:1rem; }
.field label{ display:block; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ash); margin-bottom:.4rem; font-weight:700; }
.field input,.field select,.field textarea{
  width:100%; font-family:var(--body); font-size:1rem; color:var(--ink);
  background:var(--shola); border:1px solid var(--rule); border-radius:10px; padding:.8rem 1rem;
}
.field textarea{ min-height:130px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus{ border-color:var(--alta); outline:none; box-shadow:0 0 0 3px rgba(140,16,39,.12); }
.form-row{ display:grid; gap:1rem; grid-template-columns:1fr 1fr; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }

/* ---------- Footer -------------------------------------------------------- */

.site-foot{ background:var(--alta-ink); color:rgba(251,246,236,.8); padding-block:clamp(52px,6vw,76px) 28px; }
.foot-grid{ display:grid; gap:2.4rem; grid-template-columns:1.5fr 1fr 1fr 1.2fr; }
@media (max-width:840px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .foot-grid{ grid-template-columns:1fr; } }
.site-foot h4{ font-family:var(--body); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--marigold); margin-bottom:1rem; }
.site-foot a{ color:rgba(251,246,236,.8); text-decoration:none; }
.site-foot a:hover{ color:var(--marigold); }
.site-foot ul{ list-style:none; margin:0; padding:0; font-size:.92rem; }
.site-foot li{ margin-bottom:.55rem; }
.foot-brand .bn{ font-size:2rem; color:var(--marigold); display:block; line-height:1; }
.foot-brand p{ font-size:.9rem; margin-top:.9rem; max-width:34ch; }
.social{ display:flex; gap:.6rem; margin-top:1.2rem; }
.social a{ width:40px; height:40px; border:1px solid rgba(251,246,236,.24); border-radius:50%; display:grid; place-items:center; }
.social a:hover{ border-color:var(--marigold); }
.social svg{ width:17px; height:17px; }
.site-foot .fine{ color:rgba(251,246,236,.72); }
.foot-base{ border-top:1px solid rgba(251,246,236,.14); margin-top:2.6rem; padding-top:1.4rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.78rem; }

/* ---------- Motion -------------------------------------------------------- */

/* Content is visible by default. Only the JS-confirmed path hides it for the
   reveal animation, so a failed script never blanks the page. */
.js .reveal{ opacity:0; transform:translateY(18px); }
.js .reveal.in{ opacity:1; transform:none; transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .js .reveal{ opacity:1; transform:none; }
}

.skip{
  position:absolute; left:-9999px; top:0; background:var(--marigold);
  color:var(--alta-ink); padding:.8rem 1.2rem; z-index:100; font-weight:700; border-radius:0 0 8px 0;
}
.skip:focus{ left:0; }

.mt-1{ margin-top:1rem; } .mt-2{ margin-top:2rem; } .mt-3{ margin-top:3rem; }
.center{ text-align:center; }

/* ==========================================================================
   EXTENSIONS — added for the full-structure build
   ========================================================================== */

/* ---------- Stats strip --------------------------------------------------- */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:1px;
  background:var(--rule-light); border-block:1px solid var(--rule-light); }
.stat{ background:var(--alta); padding:1.8rem 1.2rem; text-align:center; }
.on-shola-2 .stat,.on-shola .stat{ background:var(--shola); }
.stat b{ display:block; font-family:var(--display); font-size:clamp(1.8rem,3.4vw,2.6rem);
  color:var(--marigold); line-height:1; }
.on-shola-2 .stat b{ color:var(--alta); }
.stat span{ display:block; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(251,246,236,.78); margin-top:.6rem; }
.on-shola-2 .stat span{ color:var(--ash); }

/* ---------- Pull quote ---------------------------------------------------- */
.pullquote{ max-width:34ch; margin:0; }
.pullquote p{ font-family:var(--display); font-size:clamp(1.3rem,2.6vw,2rem);
  line-height:1.32; color:var(--alta); }.on-alta .pullquote p,.on-deep .pullquote p{ color:var(--shola); }
.pullquote footer{ font-size:.74rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--marigold-dp); margin-top:1.2rem; }.on-alta .pullquote footer,.on-deep .pullquote footer{ color:var(--marigold); }

/* ---------- Event rows ---------------------------------------------------- */
.evt{ display:grid; gap:clamp(24px,4vw,56px); align-items:center;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  padding-block:clamp(32px,4vw,56px); border-top:1px solid var(--rule); }
.evt:first-of-type{ border-top:0; padding-top:0; }
.evt img{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:14px; }
.evt.flip .evt-media{ order:2; }
@media (max-width:760px){ .evt.flip .evt-media{ order:0; } }
.evt .when{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--marigold-dp); font-weight:700; margin-bottom:.7rem; }
.evt h3{ font-size:clamp(1.5rem,2.6vw,2.1rem); }
.evt h3 .bn{ display:block; font-size:.72em; color:var(--marigold-dp); margin-bottom:.1em; }

/* ---------- Gallery / lightbox -------------------------------------------- */
.masonry{ columns:3 300px; column-gap:14px; }
@media (min-width:1500px){ .masonry{ columns:4 320px; } }
@media (min-width:1900px){ .masonry{ columns:5 320px; } }
.masonry figure{ margin:0 0 14px; break-inside:avoid; }
.masonry img{ width:100%; border-radius:10px; background:var(--alta-deep); display:block; }
.shot{ cursor:zoom-in; transition:opacity .2s ease; }
.shot:hover{ opacity:.88; }

.lb{ position:fixed; inset:0; z-index:200; background:rgba(26,3,9,.94);
  display:none; align-items:center; justify-content:center; padding:3vh 2vw; }
.lb[data-open="true"]{ display:flex; }
.lb img{ max-width:100%; max-height:86vh; object-fit:contain; border-radius:6px; }
.lb button{ position:absolute; background:rgba(251,246,236,.1); border:1px solid var(--rule-light);
  color:var(--shola); width:52px; height:52px; border-radius:50%; cursor:pointer;
  display:grid; place-items:center; font-size:1.4rem; line-height:1; font-family:var(--body); }
.lb button:hover{ background:var(--marigold); color:var(--alta-ink); border-color:var(--marigold); }
.lb .lb-x{ top:18px; right:18px; }
.lb .lb-prev{ left:14px; top:50%; translate:0 -50%; }
.lb .lb-next{ right:14px; top:50%; translate:0 -50%; }
.lb .lb-count{ position:absolute; bottom:16px; left:50%; translate:-50% 0;
  font-size:.76rem; letter-spacing:.14em; color:var(--shola);
  background:rgba(26,3,9,.8); padding:.45rem 1rem; border-radius:100px; }
@media (max-width:600px){ .lb .lb-prev{ left:6px; } .lb .lb-next{ right:6px; } }

.loadmore{ text-align:center; margin-top:2rem; }
.is-hidden{ display:none !important; }

/* ---------- WhatsApp join strip ------------------------------------------- */
.join{ display:flex; align-items:center; justify-content:space-between; gap:1.6rem;
  flex-wrap:wrap; background:var(--shola); border:1px solid var(--rule);
  border-radius:16px; padding:clamp(22px,3vw,34px); }.on-alta .join,.on-deep .join{ background:rgba(251,246,236,.07); border-color:var(--rule-light); }
.join h3{ margin-bottom:.35rem; }
.btn-wa{ background:#1FA855; color:#fff; }
.btn-wa:hover{ background:#178c46; color:#fff; }
.btn svg{ width:18px; height:18px; }

/* ---------- Checklist / sub-committee ------------------------------------- */
.ticks{ list-style:none; padding:0; margin:0; columns:2 220px; column-gap:2.4rem; }
.ticks li{ padding-left:1.6rem; position:relative; margin-bottom:.7rem;
  break-inside:avoid; font-size:.96rem; }
.ticks li::before{ content:"❖"; position:absolute; left:0; color:var(--marigold-dp); font-size:.78rem; }.on-alta .ticks li::before,.on-deep .ticks li::before{ color:var(--marigold); }

/* ---------- Breadcrumb ---------------------------------------------------- */
.crumb{ font-size:.74rem; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(251,246,236,.68); margin-bottom:1rem; }
.crumb a{ color:rgba(251,246,236,.68); text-decoration:none; }
.crumb a:hover{ color:var(--marigold); }

/* ---------- Anchor nav ---------------------------------------------------- */
.jump{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:1.8rem; }
.jump a{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700;
  padding:.6rem 1.1rem; border-radius:100px; border:1px solid var(--rule-light);
  color:var(--shola); text-decoration:none; }
.jump a:hover{ border-color:var(--marigold); color:var(--marigold); }

/* ==========================================================================
   TWO HERO SYSTEMS
   The home page and the pujo page must not read as the same page. They are
   built as deliberate opposites of the same alpona idea:

     HOME  — the drawn line. Paper ground, alta hairline, asymmetric, left
             aligned, editorial, typographic, quiet.
     PUJO  — the festival ground. Photograph under deep alta, centred,
             ornamented with a torana, loud.
   ========================================================================== */

/* ---------- HOME: editorial hero on paper -------------------------------- */
.hero-ed{
  background:var(--shola); color:var(--ink);
  padding-block:clamp(56px,7vw,110px) clamp(48px,6vw,90px);
  position:relative; overflow:hidden;
}
.hero-ed .alpona-corner{
  display:block;
  position:absolute; top:-24%; right:-6%; width:min(820px,78vw); aspect-ratio:1;
  opacity:.22; pointer-events:none;
}
.hero-ed .alpona-corner path,.hero-ed .alpona-corner circle{
  fill:none; stroke:var(--alta); stroke-width:1;
}
.hero-ed-in{
  position:relative; z-index:2;
  display:grid; gap:clamp(28px,4.5vw,68px);
  grid-template-columns:1.08fr .92fr; align-items:center;
}
@media (max-width:900px){ .hero-ed-in{ grid-template-columns:1fr; } }

.hero-ed .bn-line{
  font-family:var(--bangla); font-size:clamp(1.4rem,3vw,2.1rem);
  color:var(--alta); line-height:1; margin:0 0 .55rem;
}
.hero-ed h1{
  font-size:clamp(2.7rem,7vw,5.4rem); letter-spacing:-.022em; line-height:.98;
  color:var(--alta-ink); margin:0;
}
.hero-ed h1 em{ font-style:normal; color:var(--alta); }
.hero-ed .kicker{
  font-family:var(--body); font-size:.74rem; font-weight:700; letter-spacing:.24em;
  text-transform:uppercase; color:var(--marigold-dp); margin:0 0 1.4rem;
  display:flex; align-items:center; gap:.75rem;
}
.hero-ed .kicker::before{ content:""; width:38px; height:1px; background:currentColor; flex:none; }
.hero-ed .lede{ margin-top:1.5rem; max-width:48ch; }
.hero-ed .hero-cta{ justify-content:flex-start; margin-top:2rem; }

/* portrait plate, bleeding to the right edge on wide screens */
.hero-plate{ position:relative; }
.hero-plate img{
  width:100%; aspect-ratio:4/5; object-fit:cover;
  border-radius:var(--arch); border:1px solid var(--rule);
}
.hero-plate::after{
  content:""; position:absolute; inset:14px; border:1px solid rgba(140,16,39,.22);
  border-radius:var(--arch); pointer-events:none;
}

/* editorial section numbering */
.num{
  font-family:var(--display); font-size:clamp(2.4rem,5vw,3.6rem);
  color:transparent; -webkit-text-stroke:1px var(--marigold-dp);
  line-height:.9; display:block; margin-bottom:.4rem;
}
.on-alta .num,.on-deep .num{ -webkit-text-stroke-color:var(--marigold); }

/* thin red punctuation band */
.band{
  background:var(--alta); color:var(--shola);
  padding-block:clamp(20px,2.6vw,30px);
}
.band-in{ display:flex; align-items:center; justify-content:space-between; gap:1.4rem; flex-wrap:wrap; }
.band .bn{ font-family:var(--bangla); color:#F0B44C; font-size:1.15rem; }
.band h3{ font-size:clamp(1.15rem,2.2vw,1.6rem); color:var(--shola); margin:.15rem 0 0; }

/* ---------- PUJO: photographic hero under deep alta ---------------------- */
.hero-pujo{
  position:relative; overflow:hidden; color:var(--shola);
  padding-block:clamp(64px,7vw,96px) clamp(48px,5vw,72px);
  background:var(--alta-deep);
}
.hero-pujo .bg{
  position:absolute; inset:0; background-size:cover; background-position:center 22%;
  opacity:.22;
  filter:saturate(.85);
}
.hero-pujo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(110% 78% at 50% 40%, rgba(90,7,22,.62) 0%, rgba(45,3,12,.95) 100%),
    linear-gradient(180deg, rgba(45,3,12,.94) 0%, rgba(45,3,12,.35) 30%, rgba(45,3,12,.80) 100%);
}
.hero-pujo .mandala{ opacity:.24; }
.hero-pujo .hero-in{ position:relative; z-index:3; text-align:center; }
.hero-pujo .lede{ color:rgba(251,246,236,.92); max-width:54ch; }
.hero-pujo .sub{ margin-bottom:1.1rem; }
.hero-pujo .datestrip{ margin-top:1.4rem; }
.hero-pujo .cd-label{ margin-top:1.6rem; }
.hero-pujo h1{
  font-size:clamp(2.7rem,7.4vw,5.6rem); letter-spacing:-.02em; line-height:.95;
  text-shadow:0 2px 30px rgba(61,4,16,.6);
}
.hero-pujo .sub{ letter-spacing:.02em; }

/* torana — a hanging festoon of mango leaves across the top */
.torana{
  position:absolute; top:0; left:0; width:100%; height:74px; z-index:4;
  pointer-events:none; display:block;
}
.torana path{ fill:none; stroke:var(--marigold); stroke-width:1.4; opacity:.62; }
.torana .leaf{ fill:var(--marigold); stroke:none; opacity:.5; }

/* larger, more sculptural countdown for the pujo hero */
.countdown-xl{ gap:clamp(10px,1.8vw,22px); margin-top:1rem; }
.countdown-xl .beat{
  min-width:clamp(78px,12vw,124px);
  background:rgba(251,246,236,.09);
  border:1px solid rgba(232,160,32,.38);
  padding:2rem .6rem 1rem;
  backdrop-filter:blur(2px);
}
.countdown-xl .beat b{ font-size:clamp(1.9rem,4.4vw,3.2rem); color:#F0B44C; }
.countdown-xl .beat span{ font-size:.64rem; color:rgba(251,246,236,.82); }

.cd-label{
  font-size:.7rem; letter-spacing:.24em; text-transform:uppercase;
  color:rgba(251,246,236,.72); margin:2.4rem 0 0;
}

/* Portrait photographs of a pratima. NEVER force an aspect ratio or use
   object-fit:cover here — either one will slice the crown or the offerings off.
   The image is shown whole, at its own proportions. */
.evt-tall img{
  aspect-ratio:auto; object-fit:contain;
  width:100%; height:auto; max-width:430px;
  margin-inline:auto; border-radius:14px;
}
@media (max-width:760px){ .evt-tall img{ max-width:340px; } }

/* ---------- Route map ----------------------------------------------------
   A hand-annotated approach map beats a live embed here: it names the
   landmarks people actually navigate by, and it cannot fail to load. The
   whole thing is a link to the exact pin. */
.routemap{
  display:block; position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--rule); background:var(--shola-2); text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease;
}
.routemap:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(61,4,16,.16); }
.routemap img{ width:100%; height:auto; display:block; }
.routemap-cta{
  /* Top-right, not bottom-centre: the Google Maps attribution sits along the
     bottom edge of the image and must stay legible. */
  position:absolute; right:12px; top:12px;
  background:var(--alta); color:var(--shola);
  font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  padding:.7rem 1.3rem; border-radius:100px; white-space:nowrap;
  box-shadow:0 6px 18px rgba(61,4,16,.32);
}
.routemap:hover .routemap-cta{ background:var(--marigold); color:var(--alta-ink); }
.on-alta .routemap,.on-deep .routemap{ border-color:var(--rule-light); }

/* ---------- Pratima showcase --------------------------------------------
   A full-bleed band for one photograph that deserves the whole width. The
   image is the content here, so it is shown at high opacity with only enough
   gradient at the edges to carry the type. */
.showcase{ position:relative; padding:0; overflow:hidden; background:var(--alta-ink); }
.showcase img{
  width:100%; height:clamp(340px,62vh,660px); object-fit:cover;
  object-position:center 38%; display:block;
}
.showcase figcaption{
  position:absolute; inset:auto 0 0 0; z-index:2;
  padding:clamp(38px,7vw,84px) var(--gut) clamp(24px,3.4vw,40px);
  background:linear-gradient(180deg, rgba(61,4,16,0) 0%, rgba(61,4,16,.86) 62%, rgba(61,4,16,.95) 100%);
  color:var(--shola); text-align:center;
}
.showcase .bn{ display:block; font-size:clamp(1.3rem,3vw,2rem); color:#F0B44C; line-height:1.2; }
.showcase p{ margin:.5rem auto 0; max-width:56ch; color:rgba(251,246,236,.92); font-size:.98rem; }
.showcase::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(61,4,16,.42) 0%, rgba(61,4,16,0) 34%);
}

/* ==========================================================================
   PER-PAGE LAYOUT SYSTEMS
   One vocabulary — alta ground, shola line, chalchitra arch, Prata/Karla/Baloo
   — expressed through a different structural logic on each page, so no two
   pages read the same at a glance.
   ========================================================================== */

/* ---- HOME · typographic identity statement ----------------------------
   No photographs here: three numbered statements carry the page. The
   photography lives in Glimpses and on the Gallery, so the identity section
   reads as a manifesto rather than a picture spread. --------------------- */
.means-row{ padding-block:clamp(28px,3.4vw,52px); border-top:1px solid var(--rule); }
.means-row:first-of-type{ border-top:0; }
.means-body{ max-width:none; }
.means-row h3{ font-size:clamp(1.5rem,2.6vw,2.2rem); margin-bottom:.6rem; }
.means-row h3 .bn{ display:block; font-size:.66em; color:var(--marigold-dp); margin-bottom:.1em; }

@media (min-width:1000px){
  .p-index #means .means-row{
    display:grid;
    grid-template-columns:minmax(92px,.34fr) minmax(280px,1fr) minmax(280px,1.05fr);
    column-gap:clamp(28px,3.6vw,72px); row-gap:.7rem;
    align-items:start;
    padding-block:clamp(40px,4vw,72px);
  }
  .p-index #means .means-row .num{ grid-column:1; margin:0; font-size:clamp(3rem,5vw,4.4rem); }
  .p-index #means .means-row h3{ grid-column:2; margin:0; }
  .p-index #means .means-row p{ grid-column:3; margin:0 0 .9em; }
  .p-index #means .means-row p + p{ grid-column:3; }
  .p-index .hero-ed-in{ grid-template-columns:1.15fr .85fr; gap:clamp(40px,5vw,90px); }
}

/* ---- DURGA PUJA · full-bleed bands ------------------------------------- */
@media (min-width:1100px){
  /* every section on this page shares one wide measure — mixing 1520 and
     1720 was what made the page feel misaligned */
  /* was min(1720px,...) — that put this page's headings out of step with
     every other page. Uniform measure now. */
  .p-durga-puja-2026 .hero-in{ max-width:1180px; margin-inline:auto; }

  /* section heads run as two columns: title left, standfirst right. Uses the
     width instead of leaving a heading alone on an empty line. */
  .p-durga-puja-2026 .sec-head{
    display:grid; grid-template-columns:minmax(280px,.85fr) minmax(320px,1.15fr);
    gap:clamp(28px,4vw,72px); align-items:end; max-width:none;
  }
  .p-durga-puja-2026 .sec-head .eyebrow,
  .p-durga-puja-2026 .sec-head .bn-tag,
  .p-durga-puja-2026 .sec-head h2{ grid-column:1; }
  .p-durga-puja-2026 .sec-head .lede{ grid-column:2; grid-row:1 / span 3; max-width:62ch; }
  .p-durga-puja-2026 .sec-head:not(:has(.lede)){ display:block; }

  .p-durga-puja-2026 .countdown-xl{ gap:clamp(14px,2vw,30px); }
  .p-durga-puja-2026 #faq .wrap-narrow{ width:min(920px,100% - var(--gut)*2); }
  .p-durga-puja-2026 .sked-times{ font-size:1.02rem; }
  .p-durga-puja-2026 #rituals .grid{ grid-template-columns:repeat(3,1fr); }
  .p-durga-puja-2026 #day .grid{ grid-template-columns:repeat(3,1fr); }
  .p-durga-puja-2026 #spocs .grid{ grid-template-columns:repeat(4,1fr); }
  /* Spotify's embed needs width to be usable — two across, never four */
  .p-durga-puja-2026 #jukebox .grid{ grid-template-columns:repeat(2,1fr); }
  .p-durga-puja-2026 #collaterals .grid{ grid-template-columns:repeat(3,1fr); }
}

/* ---- EVENTS · full-bleed alternating split ----------------------------- */
@media (min-width:1000px){
  /* Only the event rows break out to the viewport edge. The blanket rule
     that used to sit here also stripped padding from the hero and the
     closing sections, leaving their headings hard against the edge. */
  .p-events .evt{ margin-inline:calc(var(--inset) * -1); }
  .p-events .evt{
    grid-template-columns:1fr 1fr;
    gap:0; padding:0; border-top:0; align-items:stretch;
  }
  .p-events .evt + .evt{ border-top:1px solid var(--rule); }
  .p-events .evt > div:not(.evt-media){
    padding:clamp(48px,5vw,88px) clamp(36px,4vw,72px) clamp(48px,5vw,88px) var(--inset);
    display:flex; flex-direction:column; justify-content:center;
    max-width:64ch;
  }
  .p-events .evt img{ aspect-ratio:auto; height:100%; min-height:460px; border-radius:0; }
  .p-events .evt-tall img{ min-height:0; height:auto; padding:clamp(28px,3vw,52px); }
  .p-events .evt-media{ background:var(--shola-2); display:grid; place-items:center; }
  /* keep the outer edge of the text column off the viewport edge */
  .p-events .evt:not(.flip) > div:not(.evt-media){ padding-right:clamp(48px,5vw,110px); }
  /* text column on the left aligns with every other heading on the site */
  .p-events .evt.flip > div:not(.evt-media){ padding-left:var(--inset); }
}

/* ---- GALLERY + 2025 ARCHIVE · edge to edge ----------------------------- */
/* Only the photographs run to the edge. The rule that used to sit here
   stripped padding from every section on these two pages, including the
   heroes, so their headings started further left than every other page. */
.p-gallery .masonry,
.p-durga-puja-2025 .masonry{
  margin-inline:calc((var(--inset) - clamp(12px,1.4vw,26px)) * -1);
}

/* ---- CORE TEAM · dense portrait wall ----------------------------------- */
@media (min-width:1000px){
  .p-core-team .g-4{
    display:flex; flex-wrap:wrap; justify-content:center;
    gap:clamp(20px,2vw,36px);
  }
  .p-core-team .g-4 > .person{ flex:0 1 clamp(150px,12vw,200px); }
}

/* ---- CONTACT · four-up society directory ------------------------------- */
@media (min-width:1200px){
  .p-contact #spocs .grid{ grid-template-columns:repeat(3,1fr); }
}
@media (min-width:1600px){
  .p-contact #spocs .grid{ grid-template-columns:repeat(4,1fr); }
}

/* ---- CONTRIBUTE · wide slabs, three-up detail -------------------------- */
@media (min-width:1100px){
  .p-contribute #slabs .grid{ grid-template-columns:repeat(3,1fr); gap:clamp(24px,2.4vw,40px); }
  .p-contribute #where .grid{ grid-template-columns:repeat(3,1fr); }
  .p-contribute #sponsors .grid{ grid-template-columns:repeat(4,1fr); }
}

/* ---- ABOUT · sticky rail, document-like -------------------------------- */
@media (min-width:1150px){
  .p-about main{ position:relative; }
  .p-about .jump{
    position:sticky; top:88px; z-index:5;
    background:rgba(61,4,16,.55); backdrop-filter:blur(6px);
    padding:.6rem .8rem; border-radius:100px; width:fit-content;
  }
  .p-about section > .wrap > .grid{ gap:clamp(48px,5vw,96px); }
  .p-about #governance .grid{ grid-template-columns:repeat(3,1fr); }
  .p-about #money .grid{ grid-template-columns:repeat(4,1fr); }
  .p-about #communities .ticks{ columns:3 160px; }
}

/* ---------- The society logo ---------------------------------------------
   The artwork is gold line on transparency, so it needs a dark ground behind
   it or it disappears. In the header and footer that ground is already there;
   on the cream hero it is not, so the badge supplies its own disc using the
   same variable the header uses. Bind to the variable, not a hex value, so
   the two can never drift apart. */
.seal{
  display:grid; place-items:center; flex:none;
  background:var(--alta-deep);
  border-radius:50%;
  overflow:hidden;
}
.seal img{ width:100%; height:100%; object-fit:contain; display:block; }

.brand .seal{ width:40px; height:40px; }
.seal-lg{ width:92px; height:92px; margin-bottom:1rem; }
.seal-hero{ width:clamp(76px,7vw,104px); height:clamp(76px,7vw,104px); margin:0 0 1.1rem; }

/* The header already sits on this colour, so a visible disc edge there would
   look like a seam. Let it blend. */
.site-head .seal,
.site-foot .seal{ background:transparent; }

@media (max-width:520px){ .brand .seal{ width:34px; height:34px; } }

/* ---------- Hero slideshow -----------------------------------------------
   A crossfade, not a slide: no horizontal motion, so it reads as a plate that
   changes rather than a carousel demanding attention. Purely decorative — the
   page carries no information here. */
.slideshow{ position:relative; aspect-ratio:5/6; overflow:hidden; }
.slideshow img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 42%;
  opacity:0; transition:opacity 1.1s ease;
  border-radius:var(--arch); border:1px solid var(--rule);
}
.slideshow img.is-on{ opacity:1; }
.slideshow .dots{
  position:absolute; left:50%; bottom:18px; translate:-50% 0; z-index:3;
  display:flex; gap:9px; padding:8px 12px; border-radius:100px;
  background:rgba(61,4,16,.42); backdrop-filter:blur(4px);
}
.slideshow .dots button{
  width:9px; height:9px; padding:0; border-radius:50%; cursor:pointer;
  border:1px solid rgba(251,246,236,.75); background:transparent;
  transition:background .25s ease, transform .25s ease;
}
.slideshow .dots button[aria-selected="true"]{ background:var(--marigold); border-color:var(--marigold); transform:scale(1.25); }
.slideshow .dots button:hover{ background:rgba(251,246,236,.6); }
.hero-plate.slideshow::after{ inset:14px; z-index:2; }

/* Reduced motion: show the first photograph and stop. */
@media (prefers-reduced-motion: reduce){
  .slideshow img{ transition:none; }
  .slideshow .dots{ display:flex; }
}

/* ---------- The dhaak ----------------------------------------------------- */
.dhaak{ margin-top:1.6rem; display:flex; justify-content:center; }
.dhaak-btn{
  display:inline-flex; align-items:center; gap:.7rem; cursor:pointer;
  background:rgba(251,246,236,.09); border:1px solid rgba(232,160,32,.45);
  color:var(--shola); border-radius:100px; padding:.7rem 1.3rem;
  font-family:var(--body); font-size:.76rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  transition:background .2s ease, border-color .2s ease;
}
.dhaak-btn:hover{ background:rgba(232,160,32,.18); border-color:var(--marigold); }
.dhaak-btn:disabled{ opacity:.5; cursor:not-allowed; }
.dhaak-bars{ display:flex; align-items:flex-end; gap:3px; height:16px; }
.dhaak-bars i{ width:3px; height:5px; background:#F0B44C; border-radius:2px; }
.is-playing .dhaak-bars i{ animation:beat .62s ease-in-out infinite; }
.is-playing .dhaak-bars i:nth-child(2){ animation-delay:.14s; }
.is-playing .dhaak-bars i:nth-child(3){ animation-delay:.28s; }
.is-playing .dhaak-bars i:nth-child(4){ animation-delay:.42s; }
@keyframes beat{ 0%,100%{ height:5px; } 50%{ height:16px; } }

/* Detaches once the hero scrolls away */
.dhaak.is-stuck{
  position:fixed; left:18px; bottom:18px; z-index:120; margin:0;
}
.dhaak.is-stuck .dhaak-btn{
  background:var(--alta-deep); border-color:rgba(232,160,32,.55);
  box-shadow:0 8px 24px rgba(26,3,9,.4);
}
@media (max-width:620px){
  .dhaak.is-stuck{ left:12px; bottom:12px; }
  .dhaak.is-stuck .dhaak-label{ display:none; }
  .dhaak.is-stuck .dhaak-btn{ padding:.85rem; border-radius:50%; }
}
@media (prefers-reduced-motion: reduce){ .is-playing .dhaak-bars i{ animation:none; height:11px; } }

/* ---------- Jukebox ------------------------------------------------------- */
.disc{ margin:0; background:var(--shola-2); border:1px solid var(--rule); border-radius:16px; overflow:hidden; }
.disc figcaption{
  padding:1.1rem 1.4rem .9rem; font-family:var(--display); font-size:1.15rem; color:var(--alta);
  border-bottom:1px solid var(--rule);
}
.disc figcaption .bn{ display:block; font-size:.8rem; color:var(--marigold-dp); font-family:var(--bangla); }
.disc figcaption em{
  display:block; font-family:var(--body); font-style:normal; font-size:.72rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--ash); margin-top:.3rem;
}
.disc iframe{ display:block; width:100%; border:0; background:var(--shola-2); }

/* ---------- Souvenir ------------------------------------------------------ */
.souvenir-cover{ position:relative; max-width:400px; }
.souvenir-cover img{
  width:100%; height:auto; aspect-ratio:1224/1584; object-fit:cover; border-radius:8px;
  box-shadow:0 18px 44px rgba(61,4,16,.26), 0 2px 0 var(--rule);
}
.souvenir-cover .ribbon{
  position:absolute; top:18px; left:-10px; background:var(--alta); color:var(--shola);
  font-size:.66rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  padding:.55rem 1rem; border-radius:3px; box-shadow:0 6px 16px rgba(61,4,16,.3);
}

/* ---------- Downloads ----------------------------------------------------- */
.dl{
  display:flex; align-items:center; gap:1rem; text-decoration:none;
  background:var(--shola); border:1px solid var(--rule); border-radius:14px;
  padding:1.2rem 1.3rem; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl:hover{ transform:translateY(-3px); border-color:var(--alta); box-shadow:0 12px 28px rgba(61,4,16,.12); }
.dl-icon{ font-size:1.3rem; color:var(--marigold-dp); flex:none; }
.dl-body{ flex:1 1 auto; min-width:0; }
.dl-body b{ display:block; font-family:var(--display); font-weight:400; font-size:1.05rem; color:var(--ink); }
.dl-body em{ display:block; font-style:normal; font-size:.76rem; color:var(--ash); margin-top:.2rem; }
.dl-go{
  flex:none; font-size:.68rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
  color:var(--alta); border:1px solid var(--rule); border-radius:100px; padding:.5rem .9rem;
}
.dl:hover .dl-go{ background:var(--alta); color:var(--shola); border-color:var(--alta); }

/* ---------- Gallery presentation -----------------------------------------
   Masonry keeps each photograph's own proportions, so nothing is cropped to
   fit a grid. Caption reveals on hover and on keyboard focus. */
.masonry .shot-fig{ position:relative; overflow:hidden; border-radius:12px; background:var(--alta-deep); }
.masonry .shot-fig img{ border-radius:12px; transition:transform .6s cubic-bezier(.2,.7,.3,1), filter .4s ease; }
.masonry .shot-fig:hover img,
.masonry .shot-fig:focus-within img{ transform:scale(1.045); filter:saturate(1.06); }
.masonry .shot-fig figcaption{
  position:absolute; inset:auto 0 0 0; z-index:2;
  padding:2.6rem .95rem .9rem;
  font-size:.8rem; line-height:1.4; color:var(--shola);
  background:linear-gradient(180deg, rgba(61,4,16,0) 0%, rgba(61,4,16,.82) 60%, rgba(61,4,16,.93) 100%);
  opacity:0; translate:0 12px;
  transition:opacity .3s ease, translate .3s ease;
  pointer-events:none;
}
.masonry .shot-fig:hover figcaption,
.masonry .shot-fig:focus-within figcaption{ opacity:1; translate:0 0; }
/* a gold hairline that draws in on hover, echoing the alpona line */
.masonry .shot-fig::after{
  content:""; position:absolute; inset:8px; z-index:3; pointer-events:none;
  border:1px solid rgba(232,160,32,0); border-radius:8px;
  transition:border-color .35s ease;
}
.masonry .shot-fig:hover::after,
.masonry .shot-fig:focus-within::after{ border-color:rgba(232,160,32,.5); }

/* Touch devices have no hover — show captions rather than hiding them forever */
@media (hover:none){
  .masonry .shot-fig figcaption{ opacity:1; translate:0 0; padding-top:2rem; }
}
@media (prefers-reduced-motion: reduce){
  .masonry .shot-fig img{ transition:none; }
  .masonry .shot-fig:hover img{ transform:none; }
}

/* Lightbox caption */
.lb figcaption{
  position:absolute; left:50%; bottom:56px; translate:-50% 0; max-width:min(760px,86vw);
  text-align:center; color:rgba(251,246,236,.9); font-size:.86rem; line-height:1.5;
  background:rgba(26,3,9,.72); padding:.7rem 1.2rem; border-radius:10px;
}


/* ==========================================================================
   NAV SUB-MENU  ·  DHAAK BUTTON            (added by apply-changes.py)
   ========================================================================== */

.has-sub{ position:relative; display:inline-flex; align-items:center; }
.sub-toggle{
  background:none; border:0; padding:.3rem .2rem; cursor:pointer;
  color:rgba(251,246,236,.7); display:inline-grid; place-items:center;
}
.sub-toggle svg{ width:15px; height:15px; transition:transform .2s ease; }
.has-sub:hover .sub-toggle svg,
.sub-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }

.subnav{
  position:absolute; top:100%; left:0; z-index:70; min-width:250px;
  background:var(--alta-deep); border:1px solid rgba(232,160,32,.28);
  border-radius:12px; padding:.5rem; margin-top:.35rem;
  box-shadow:0 18px 40px rgba(26,3,9,.45);
  display:flex; flex-direction:column;
  opacity:0; visibility:hidden; translate:0 -6px;
  transition:opacity .18s ease, translate .18s ease, visibility .18s;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav{ opacity:1; visibility:visible; translate:0 0; }
.subnav a{
  padding:.6rem .8rem; border-radius:8px; font-size:.76rem; letter-spacing:.06em;
  text-transform:none; font-weight:600; color:rgba(251,246,236,.86); white-space:nowrap;
}
.subnav a:hover{ background:rgba(232,160,32,.16); color:#F0B44C; }

@media (max-width:1000px){
  /* In the mobile drawer there is no hover to rely on, so the sub-menu is
     simply an indented list, always visible. */
  .has-sub{ display:block; }
  .sub-toggle{ display:none; }
  .subnav{
    position:static; opacity:1; visibility:visible; translate:0 0;
    background:none; border:0; box-shadow:none; padding:0 0 .4rem .9rem;
    margin:0 0 0 .2rem; min-width:0; border-left:1px solid rgba(232,160,32,.3);
  }
  .subnav a{ padding:.6rem 0; font-size:.82rem; border-bottom:0; }
}

/* Dhaak button, made hard to miss */
.dhaak{ position:relative; }
.dhaak-btn{ position:relative; gap:.85rem; padding:.85rem 1.5rem; font-size:.8rem; }
.dhaak-ico{ width:34px; height:26px; color:#F0B44C; flex:none; }
.dhaak-text{ display:flex; flex-direction:column; align-items:flex-start; gap:.15rem; line-height:1.1; }
.dhaak-sub{
  font-family:var(--bangla); font-size:.68rem; font-weight:500;
  letter-spacing:.02em; text-transform:none; color:rgba(251,246,236,.7);
}
.is-playing .dhaak-sub{ color:#F0B44C; }
.dhaak-btn::after{
  content:""; position:absolute; inset:-4px; border-radius:100px;
  border:1px solid rgba(232,160,32,.55); opacity:0; pointer-events:none;
}
.dhaak:not(.is-playing) .dhaak-btn::after{ animation:dhaakRing 2.8s ease-out infinite; }
@keyframes dhaakRing{
  0%{ opacity:.75; transform:scale(1); }
  70%,100%{ opacity:0; transform:scale(1.14); }
}
.is-playing .dhaak-ico{ animation:dhaakTilt .62s ease-in-out infinite; transform-origin:60% 60%; }
@keyframes dhaakTilt{ 0%,100%{ transform:rotate(-3deg); } 50%{ transform:rotate(3deg); } }

@media (prefers-reduced-motion: reduce){
  .dhaak:not(.is-playing) .dhaak-btn::after{ animation:none; opacity:.5; }
  .is-playing .dhaak-ico{ animation:none; }
}
@media (max-width:620px){
  .dhaak.is-stuck .dhaak-text,
  .dhaak.is-stuck .dhaak-bars{ display:none; }
  .dhaak.is-stuck .dhaak-btn{ padding:.7rem; border-radius:50%; }
  .dhaak.is-stuck .dhaak-ico{ width:30px; height:23px; }
}

/* ---------- Registration facts (about.html#registration) ------------------ */
.reg-facts{ margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
@media (max-width:520px){ .reg-facts{ grid-template-columns:1fr; } }
.reg-facts div{ border:1px solid var(--rule); border-left:3px solid var(--marigold); border-radius:6px; padding:.8rem 1rem; background:var(--shola); }
.reg-facts dt{ font-size:.64rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ash); font-weight:700; }
.reg-facts dd{ margin:.25rem 0 0; font-family:var(--display); font-size:1.02rem; color:var(--alta); }

/* ---------- Cultural programme: themed teaser cards (durga-puja-2026.html#culture) */
.tz-head{ text-align:center; max-width:760px; margin-inline:auto; }
.tz-head .bn-tag{ display:block; font-family:var(--bangla); font-size:1.15rem; color:#F0B44C; margin-bottom:.4rem; }
.tz-head .eyebrow{ justify-content:center; }
.tz-head .eyebrow::after{ content:""; width:26px; height:1px; background:currentColor; flex:none; }
.tz-head h2{ margin-top:.4rem; text-wrap:balance; }
.tz-head .lede{ margin-inline:auto; }
.tz-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,1.8vw,22px); }
@media (max-width:1000px){ .tz-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px){ .tz-grid{ grid-template-columns:1fr; } }
.tz{
  position:relative; overflow:hidden; isolation:isolate; outline:none;
  border:1px solid var(--rule-light); border-radius:14px;
  padding:1.5rem 1.5rem 1.3rem; display:flex; flex-direction:column;
  background:linear-gradient(160deg, rgba(251,246,236,.09), rgba(251,246,236,.02) 60%);
  transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.tz::before{ /* thin chalchitra arch */
  content:""; position:absolute; inset:10px 10px auto; height:70%; z-index:-1;
  border:1px solid rgba(240,180,76,.16); border-bottom:0; border-radius:999px 999px 0 0;
}
.tz:hover,.tz:focus-visible{ transform:translateY(-4px); border-color:var(--marigold); box-shadow:0 18px 40px rgba(40,2,10,.35); }
.tz.is-key{ background:linear-gradient(160deg, var(--alta-deep), rgba(90,7,22,.6)); border-color:var(--marigold); }
.tz-open{ border-style:dashed; background:transparent; }
.tz-num{
  position:absolute; right:.9rem; top:-.6rem; z-index:-1; line-height:1;
  font-family:var(--bangla); font-size:6.5rem; color:rgba(251,246,236,.06);
  transition:color .35s ease;
}
.tz:hover .tz-num,.tz:focus-visible .tz-num{ color:rgba(240,180,76,.14); }
.tz-ico{ width:40px; height:40px; color:var(--marigold); margin-bottom:1rem; transition:filter .35s ease, transform .35s ease; }
.tz:hover .tz-ico,.tz:focus-visible .tz-ico{ filter:drop-shadow(0 0 8px rgba(240,180,76,.65)); transform:scale(1.06); }
.tz-when{ margin:0; font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700; color:rgba(251,246,236,.7); }
.tz-when b{ margin-left:.55rem; color:#F0B44C; font-weight:700; }
.tz h3{ margin:.45rem 0 0; font-size:clamp(1.3rem,1.8vw,1.55rem); line-height:1.2; }
.tz h3 .bn{ display:block; font-family:var(--bangla); font-size:.78em; color:#F0B44C; margin-bottom:.15rem; font-weight:400; }
.tz-clue{ margin:.8rem 0 1.1rem; font-family:var(--display); font-style:italic; font-size:1rem; line-height:1.55; color:rgba(251,246,236,.88); }
.tz-mood{ margin:auto 0 0; display:flex; flex-wrap:wrap; gap:.4rem; }
.tz-mood span{ font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color:rgba(251,246,236,.8); border:1px solid var(--rule-light); border-radius:999px; padding:.3rem .7rem; }
.tz-foot{ text-align:center; margin-inline:auto; }
@media (prefers-reduced-motion:reduce){ .tz,.tz-ico,.tz-num{ transition:none; } .tz:hover{ transform:none; } }
