:root{--navy:#1f2f4d;--navy2:#2c4272;--gold:#b9770e;--gold2:#f0c987;--paper:#fff;--alt:#f4f3ee;--ink:#222;--muted:#666;--line:#ddd9ce}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{font-family:"Noto Sans",system-ui,sans-serif;color:var(--ink);background:var(--paper);line-height:1.7}
.kn{font-family:"Noto Sans Kannada","Noto Sans",sans-serif}
.wrap{width:min(1360px,96%);margin:0 auto}
h1,h2,h3{font-family:"Merriweather",serif;line-height:1.3;color:var(--navy)}
h2{font-size:1.7rem;margin-bottom:1.4rem;position:relative;display:inline-block;padding-bottom:.5rem}
h2::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .8s ease .2s}
h2.in::after,.no-js h2::after{transform:scaleX(1)}
h3{font-size:1.05rem;margin-bottom:.4rem}
p{margin-bottom:.8rem}
a{color:var(--navy)}
.progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--gold);z-index:50}
.header{background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);transition:box-shadow .3s}
.header.scrolled{box-shadow:0 2px 14px rgba(31,47,77,.14)}
.header-in{display:flex;align-items:center;justify-content:space-between;padding:.6rem 0}
.logo{display:flex;align-items:center;gap:.6rem;font-family:"Merriweather",serif;font-weight:700;color:var(--navy);text-decoration:none}
.logo img{width:38px;height:38px;border-radius:50%;object-fit:cover}
nav a{position:relative;margin-left:1.3rem;text-decoration:none;font-size:.92rem;color:var(--ink)}
nav a::after{content:"";position:absolute;left:0;bottom:-4px;height:2px;width:100%;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .3s}
nav a:hover::after{transform:scaleX(1)}
.menu-btn{display:none;background:none;border:1px solid var(--navy);padding:.3rem .8rem;color:var(--navy);cursor:pointer}

/* hero — the signboard, in blue */
.hero{background:linear-gradient(160deg,var(--navy),var(--navy2));color:#fff;padding:2.2rem 0 2.6rem;border-bottom:6px solid var(--gold);text-align:center}
.hero-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.chip{font-weight:700;font-size:clamp(.95rem,2.4vw,1.5rem);color:var(--gold2)}
.hero-top .chip:first-child{text-align:left}.hero-top .chip:last-child{text-align:right}
.emblem{width:clamp(96px,16vw,150px);height:clamp(96px,16vw,150px);border-radius:50%;object-fit:cover;border:4px solid var(--gold2);box-shadow:0 6px 20px rgba(0,0,0,.3)}
.hero-title{min-width:0;--title-size:2.25rem}
.hero-mid{display:grid;grid-template-columns:170px minmax(0,1fr);gap:1rem;align-items:center;margin-top:1rem}
.hero figure img{width:100%;height:220px;object-fit:cover;object-position:center top;border-radius:10px;border:3px solid var(--gold2)}
.hero figcaption{margin-top:.4rem;font-weight:700;font-size:.9rem;color:var(--gold2);line-height:1.4}
h1 .kn{display:block;white-space:nowrap;color:var(--gold2);font-size:calc(var(--title-size) * 1.6);font-weight:900;line-height:1.35}
h1 .en{display:block;white-space:nowrap;color:#fff;font-family:"Noto Sans",sans-serif;font-weight:900;font-size:var(--title-size);letter-spacing:0;margin-top:.4rem}
.addr{margin:1.4rem 0 0;font-weight:600;font-size:clamp(.85rem,1.8vw,1.1rem);color:#e8e4d8}
.hero-top>*,.hero-mid>*,.addr{opacity:0;transform:translateY(18px);animation:rise .8s ease forwards}
.hero-top>*:nth-child(2){animation-delay:.1s}.hero-top>*:nth-child(3){animation-delay:.2s}
.hero-mid>*:nth-child(1){animation-delay:.3s}.hero-mid>*:nth-child(2){animation-delay:.4s}.hero-mid>*:nth-child(3){animation-delay:.5s}
.addr{animation-delay:.65s}
@keyframes rise{to{opacity:1;transform:none}}

.sec{padding:3.6rem 0}.alt{background:var(--alt)}
.two{display:grid;grid-template-columns:1.4fr 1fr;gap:2.5rem;align-items:start}
.lead{font-size:1.05rem}
.more-text{max-height:0;overflow:hidden;opacity:0;transition:max-height .6s ease,opacity .5s ease}
.more-text.open{max-height:5000px;opacity:1}
.more{background:none;border:none;font:inherit;font-weight:600;color:var(--gold);cursor:pointer;text-decoration:none;padding:0}
.facts{display:grid;gap:1rem}
.facts div{background:var(--alt);border-left:4px solid var(--gold);padding:1rem 1.2rem}
.facts strong{display:block;font-family:"Merriweather",serif;font-size:1.4rem;color:var(--navy)}
.facts span{font-size:.9rem;color:var(--muted)}
.about-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.15fr) minmax(0,.65fr);gap:1.5rem;align-items:start}
.about-layout>*{min-width:0}
.about-body p,.about-body li{text-align:justify}
.about-slide{aspect-ratio:4/3;display:grid;place-items:center;background:var(--alt);overflow:hidden}
.about-slide img{width:100%;height:100%;object-fit:contain;grid-area:1/1}
.about-slide p{margin:0;padding:1rem;text-align:center;color:var(--muted);grid-area:1/1}
.about-events-footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
.about-slide-controls{display:flex;gap:.35rem}
.about-slide-controls button{width:36px;height:36px;background:#fff;border:1px solid var(--line);color:var(--navy);font-size:1rem;cursor:pointer}
.about-slide-controls button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
@media(max-width:1000px){.about-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.about-copy{grid-column:1/-1}}
@media(max-width:600px){.about-layout{grid-template-columns:minmax(0,1fr)}.about-copy{grid-column:auto}}
.cards{display:grid;gap:1.2rem;grid-template-columns:repeat(3,1fr)}
.cards article{background:#fff;border:1px solid var(--line);padding:1.3rem;transition:border-color .3s,box-shadow .3s}
.cards article:hover{border-color:var(--gold);box-shadow:inset 0 -4px 0 var(--gold)}

@keyframes fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
[hidden]{display:none!important}
.acc{display:grid;gap:1rem}
.acc-item{border:1px solid var(--line);background:#fff}
.acc-head{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:none;border-left:4px solid var(--gold);padding:1rem 1.3rem;font:700 1.1rem "Merriweather",serif;color:var(--navy);cursor:pointer;text-align:left;transition:background .3s}
.acc-head:hover{background:var(--alt)}
.chev{width:12px;height:12px;border-right:3px solid var(--gold);border-bottom:3px solid var(--gold);transform:rotate(45deg);transition:transform .4s;margin-right:.3rem}
.acc-head[aria-expanded="true"] .chev{transform:rotate(-135deg)}
.acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .55s ease}
.acc-body.open{grid-template-rows:1fr}
.acc-body>div{min-height:0;overflow:hidden;visibility:hidden;transition:visibility .55s}
.acc-body.open>div{visibility:visible}
.acc-body .photos{padding:1.2rem}
.acc-body.open .photos figure{animation:fade .5s ease both;animation-delay:calc(var(--i,0)*.07s)}
@keyframes fade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1.2rem}
.photos figure{align-self:start;background:#fff;border:1px solid var(--line);overflow:hidden}
.photos img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;transition:transform .5s ease}
.photos figure:hover img{transform:scale(1.05)}
.photos figcaption{padding:.6rem .8rem;text-align:center;font-weight:600;font-size:.9rem;color:var(--navy)}

.band{background:var(--navy);color:#fff}.band h2{color:#fff}.band p{color:#e8e4d8}
.band article{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);display:flex;flex-direction:column}
.band article h3{color:#fff}.band article p{flex:1}
.band article:hover{border-color:var(--gold2);box-shadow:inset 0 -4px 0 var(--gold)}
.btn{display:inline-block;align-self:flex-start;background:var(--gold);color:#fff;padding:.65rem 1.4rem;font:600 .95rem "Noto Sans",sans-serif;border:2px solid var(--gold);cursor:pointer;text-decoration:none;transition:background .3s,color .3s}
.btn:hover{background:#fff;color:var(--navy)}
.phones a{display:inline-block;margin:0 .8rem 0 0;text-decoration:none;font-weight:600}.phones a:hover{color:var(--gold)}
.phones strong{display:block}
.map iframe{width:100%;height:240px;border:1px solid var(--line);display:block;margin-bottom:.6rem}
footer{background:#161f33;color:#cfcabb;padding:1.5rem 0;font-size:.88rem}footer a{color:#cfcabb}
.album-filter{display:block;max-width:320px;margin-bottom:1rem;font-weight:600}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:1rem;margin-bottom:1rem}
.gallery-photo{display:block;min-width:0;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#fff;color:var(--navy);font:600 .85rem "Noto Sans",sans-serif;cursor:pointer;text-align:left}
.gallery-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.gallery-photo span{display:block;padding:.6rem;overflow-wrap:anywhere}
.gallery-photo:focus-visible,.gallery-controls button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
#gallery-viewer{width:min(1100px,94vw);padding:1rem;background:#fff}
#gallery-full{display:block;width:100%;height:min(65vh,700px);object-fit:contain}
#gallery-caption{margin:.75rem 0 0;text-align:center;overflow-wrap:anywhere}
.gallery-controls{display:flex;justify-content:flex-end;gap:.5rem;margin-bottom:.75rem}
.gallery-controls button{width:44px;height:44px;background:var(--alt);border:1px solid var(--line);color:var(--navy);font-size:1.5rem;cursor:pointer}

dialog{margin:auto;border:none;border-radius:6px;padding:0;width:min(640px,94vw);max-height:90vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.4)}
dialog::backdrop{background:rgba(20,30,52,.6)}
dialog[open]{animation:pop .35s ease}
@keyframes pop{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:none}}
.demo-form{padding:1.5rem}
.dlg-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}
.x{background:none;border:none;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--muted)}
.hint{font-size:.88rem;color:var(--muted)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1rem 0}
.grid label,.check{font-size:.85rem;font-weight:600;color:var(--navy)}
.required-mark{color:#a12622}
.grid .full{grid-column:1/-1}
input,select,textarea{display:block;width:100%;margin-top:.25rem;padding:.5rem .6rem;border:1px solid var(--line);font:400 .95rem "Noto Sans",sans-serif;background:#fff}
input:focus,select:focus,textarea:focus{outline:2px solid var(--gold);border-color:var(--gold)}
.check{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:1rem}.check input{width:auto;margin-top:.3rem}
.thanks{text-align:center;padding:1rem 0}.thanks .btn{margin-top:.5rem}
.thanks .ref{font-family:monospace;word-break:break-all}
.grid small{font-weight:400;color:var(--muted)}
.payment-qr{display:block;width:min(220px,100%);height:auto;margin:1rem auto}
.member-step .captcha{margin-top:1rem}
.member-step [hidden]{display:none}
.captcha{margin-bottom:1rem}.captcha:empty{display:none}
.btn:disabled{opacity:.6;cursor:progress}
.form-status{margin:.8rem 0 0;font-size:.88rem;color:var(--navy)}.form-status:empty{display:none}
.form-status.error{color:#a12622}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.donate{display:grid;grid-template-columns:1fr 190px;gap:1.2rem;align-items:center;margin:1rem 0}
.donate img{width:100%;border-radius:8px}
dl{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1rem;font-size:.92rem}dt{font-weight:600;color:var(--navy)}dd{word-break:break-word}
.copy{margin-left:.4rem;padding:.1rem .6rem;border:1px solid var(--gold);background:#fff;color:var(--gold);cursor:pointer;font-size:.8rem}

.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;transition-delay:var(--d,0s)}
.js .reveal.in{opacity:1;transform:none}
@media(max-width:800px){
  .two,.cards,.donate{grid-template-columns:1fr}
  .menu-btn{display:block}
  nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 4%}
  nav.open{display:block}nav a{display:block;margin:0;padding:.6rem 0}
  .hero-mid{grid-template-columns:1fr 1fr}.hero-title{grid-column:1/-1;order:3}
  .hero-mid>figure{grid-column:1/-1;justify-self:center;width:min(190px,60%)}
  .photos{grid-template-columns:repeat(2,1fr)}
  .grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .hero-top>*,.hero-mid>*,.addr,.js .reveal{opacity:1;transform:none}
  h2::after{transform:scaleX(1)}.more-text{transition:none}
}


/* ---- round 2: bigger header text, wider hero, Estd / Regn over the photos ---- */
.header .wrap,.hero .wrap{width:min(1360px,96%)}
.logo{font-size:1.3rem;font-weight:800}
.logo img{width:46px;height:46px}
nav a{font-size:1.08rem;font-weight:700;color:var(--navy)}
.hero{--ph:160px}
.hero-top{grid-template-columns:var(--ph) 1fr var(--ph)}
.hero-top .chip{font-size:clamp(.85rem,1.9vw,1.5rem);white-space:nowrap}
.hero-top .chip:first-child{justify-self:start;text-align:left}
.hero-top .chip:last-child{justify-self:end;text-align:right}
.emblem{justify-self:center}
.hero-mid{grid-template-columns:var(--ph) 1fr var(--ph);gap:1.5rem}
.hero figure img{height:215px}
h1 .kn{font-weight:800;line-height:1.3}
h1 .en{font-weight:800;margin-top:.7rem}
@media(max-width:1100px){nav a{margin-left:.9rem;font-size:1rem}.logo{font-size:1.15rem}}
@media(max-width:800px){
  .hero-top{grid-template-columns:1fr 1fr;row-gap:.6rem}
  .emblem{grid-column:1/-1;grid-row:1}
  .hero-mid{grid-template-columns:1fr 1fr;gap:1rem}
  .hero-title{grid-column:1/-1;order:3}
  .hero figure img{height:190px}
}
@media(max-width:960px){
  .menu-btn{display:block}
  nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 4%}
  nav.open{display:block}
  nav a{display:block;margin:0;padding:.6rem 0}
}


/* ---- round 3: About text, people captions, contact layout ---- */
.about-body{max-width:860px}
.tagline{margin:-.6rem 0 1.4rem;color:var(--gold);font-weight:700;letter-spacing:.03em}
.about-body h3{margin:1.8rem 0 .6rem;font-size:1.25rem}
.about-body h4{margin:1.2rem 0 .4rem;font-family:"Merriweather",serif;font-size:1.05rem;color:var(--navy)}
.about-body ul,.about-body ol{margin:0 0 1rem 1.4rem}
.about-body li{margin-bottom:.5rem}
.about-body .more{margin-top:1rem;font-size:1rem}
blockquote.appeal{border-left:4px solid var(--gold);background:var(--alt);padding:1rem 1.4rem;margin:.4rem 0 1rem;font-family:"Merriweather",serif;font-size:1.25rem;color:var(--navy)}
.sign{margin-top:1rem}
.photos figcaption .nm{display:block}
.photos figcaption .ds{display:block;font-weight:400;font-size:.82rem;color:var(--gold);margin-top:.15rem}
.note{color:var(--muted);font-style:italic}
.emails strong,.phones strong{display:block}
.emails a{display:block;margin:0;text-decoration:none;font-weight:600;word-break:break-all}
.emails a:hover{color:var(--gold)}
.phones a{display:block;margin:0}
.person{margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--line)}
.map .btn{display:inline-block;margin-top:.2rem;text-decoration:none}
.map .btn:hover{color:var(--navy)}
