:root {
    --paper: #fbf5e9; --card: #fffdf7; --ink: #2b1a12; --muted: #6f5a4b; --line: #e6d8bf;
    --maroon: #5b1512; --maroon-deep: #3a0c0a; --saffron: #d9650f; --gold: #f0b73c;
    --head: 'Tiro Devanagari Hindi', serif; --body: 'Mukta', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.75 var(--body); }
img { max-width: 100%; display: block; }
a { color: #a8410a; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.35rem; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section > h2:not(:first-child) { margin-top: 2.5rem; }
.kicker { color: var(--saffron); font-weight: 700; letter-spacing: .02em; margin: 0 0 .4rem; }
.muted { color: var(--muted); }
.more { display: inline-block; margin-top: 1rem; font-weight: 700; }
.more::after { content: ' →'; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: #fff; padding: .5rem 1rem; }

.btn { display: inline-block; padding: .65rem 1.4rem; border-radius: 6px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: #b9530a; }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--maroon); }

.masthead { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem max(16px, calc((100% - 1120px) / 2)); background: var(--maroon-deep); color: #fff; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; min-width: 0; }
.brand .logo { width: 50px; height: 50px; flex: none; }
.brand strong { display: block; font: 400 1.25rem/1.2 var(--head); }
.brand small { color: var(--gold); font-size: .85rem; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: .6rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }
.masthead nav { display: flex; gap: .15rem; }
.masthead nav a { color: #fff; text-decoration: none; padding: .35rem .65rem; border-radius: 5px; white-space: nowrap; }
.masthead nav a:hover { background: rgba(255,255,255,.12); }
.masthead nav a[aria-current] { background: #b9530a; }

.hero { background: linear-gradient(180deg, rgba(40,8,6,.35), rgba(40,8,6,.88)), var(--hero, none) 53% 30% / cover, var(--maroon); color: #fff; }
.hero-inner { min-height: min(78vh, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 3rem; }
.hero .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: .2em; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); margin: 0; max-width: 42rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: -1.5rem; position: relative; border-radius: 8px; overflow: hidden; }
.facts div { background: var(--card); padding: 1.1rem; text-align: center; }
.facts b { display: block; font: 400 clamp(1.8rem, 4vw, 2.6rem)/1.15 var(--head); color: var(--maroon); }
.facts span { color: var(--muted); font-size: .95rem; }
.ledger { grid-template-columns: repeat(3, 1fr); margin: 0 0 2rem; }

.story { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
blockquote { margin: 0; padding: 1.5rem; border-inline-start: 4px solid var(--saffron); font: 400 clamp(1.25rem, 2.6vw, 1.6rem)/1.6 var(--head); color: var(--maroon); }
blockquote p { margin: 0; }

.band { background: var(--maroon); color: #fbeeda; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band .kicker { color: var(--gold); }
.programme { list-style: none; counter-reset: p; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.programme li { min-width: 0; }
.programme img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: .75rem; }
.programme h3 { margin-bottom: .2em; }
.programme p { margin: 0; font-size: 1rem; }
.section .programme { color: var(--ink); }

.deity-strip { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: d; }
.deity-strip li { counter-increment: d; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: .25rem .9rem; }
.deity-strip li::before { content: counter(d) '. '; color: var(--saffron); font-weight: 700; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 1rem; }
.album { text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.album:hover .album-title { color: var(--saffron); }
.album-title { display: block; padding: .7rem .9rem 0; font: 400 1.2rem/1.3 var(--head); }
.album-meta { display: block; padding: 0 .9rem .7rem; color: var(--muted); font-size: .9rem; }
.photos { columns: 3 240px; column-gap: .75rem; }
.photos a { display: block; margin-bottom: .75rem; break-inside: avoid; }
.photos img { width: 100%; border-radius: 6px; }
.lightbox { background: transparent; border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: fixed; background: rgba(0,0,0,.55); color: #fff; border: 0; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

.video { aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.festivals-mini a { display: inline-block; margin: 0 1rem .3rem 0; }
.cta { background: #f6e6c6; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta p { max-width: 40rem; }

.page-head { background: var(--maroon); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-head .kicker { color: var(--gold); }
.page-head h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); margin-bottom: .2em; }
.prose { max-width: 44rem; padding-block: 2.5rem; }
.prose h2 { margin-top: 1.5em; font-size: 1.6rem; }
.prose ol, .prose ul { padding-inline-start: 1.5rem; }
.wide { width: 100%; border-radius: 8px; margin-bottom: 2rem; }

.timeline { list-style: none; padding: 2.5rem 0; margin-block: 0; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; display: flex; gap: 1.2rem; padding: 0 0 1.8rem 3.4rem; border-inline-start: 2px solid var(--line); margin-inline-start: 1.1rem; }
.timeline li::before { content: counter(t); position: absolute; left: -1.15rem; top: 0; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--saffron); color: #fff; font-weight: 700; }
.timeline li:last-child { border-color: transparent; }
.timeline h2 { font-size: 1.5rem; margin-bottom: .1em; }
.timeline p { margin: 0; }
.timeline img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; flex: none; }

.festival-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.festival-list a { display: block; height: 100%; padding: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: inherit; text-decoration: none; }
.festival-list a:hover { border-color: var(--saffron); }
.festival-list h2 { font-size: 1.4rem; margin-bottom: .1em; }
.festival-list p { margin: .4rem 0 0; }
.festival-list .major { grid-column: 1 / -1; }
.festival-list .major a { background: var(--maroon); color: #fbeeda; border-color: var(--maroon); }
.festival-list .major .muted { color: var(--gold); }

.shows { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 1.5rem; }
.shows li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.shows small { color: var(--saffron); margin-inline-start: .5rem; font-weight: 700; }
.shows p { margin: .2rem 0 0; font-size: 1rem; color: var(--muted); }
.notices { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: .75rem; }
.notices li { padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--saffron); border-radius: 6px; }
.notices time { color: var(--saffron); font-weight: 700; }
.notices h3, .notices p { margin: 0; }

.donate { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; padding-block: 0 3rem; }
.donate-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: 8px; padding: 1.4rem; margin-top: 2.5rem; }
.donate-card h2 { font-size: 1.5rem; }
.bank { margin: 0; }
.bank div { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.bank dt { color: var(--muted); font-size: .9rem; }
.bank dd span { font-variant-numeric: slashed-zero; }
.bank .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.05rem; }
.bank dd { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-weight: 700; overflow-wrap: anywhere; }
.copy { flex: none; font: inherit; font-size: .85rem; font-weight: 500; padding: .1rem .6rem; background: none; border: 1px solid var(--saffron); color: #a8410a; border-radius: 4px; cursor: pointer; }
.note { font-size: .95rem; color: var(--muted); margin: .8rem 0 0; }
.qr { width: 220px; margin: 1rem auto 0; }

.ledger-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; background: var(--card); }
.ledger-table th, .ledger-table td { text-align: start; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.ledger-table th:last-child, .ledger-table td:last-child { text-align: end; white-space: nowrap; }
.ledger-table small { display: block; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.ledger-4 { grid-template-columns: repeat(4, 1fr); }
.office { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.office li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .6rem .9rem; font-weight: 500; }
.office small { display: block; color: var(--saffron); font-weight: 700; }
.members { list-style: none; padding: 0; margin: 0 0 1.5rem; columns: 3 200px; column-gap: 1.5rem; }
.members li { padding: .15rem 0; break-inside: avoid; }
.honoured { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.honoured li { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--saffron); border-radius: 6px; padding: .7rem 1rem; font: 400 1.2rem/1.35 var(--head); color: var(--maroon); }
.honoured small { display: block; font: 400 .9rem var(--body); color: var(--muted); }
.year-list { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.year-list > li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.year-list h2 { font-size: 1.6rem; color: var(--saffron); margin: 0; }
.year-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: .1rem .8rem; }
.chip-ramayan { background: #fbe6c9; border-color: #efc68c; }
.chip-historical { background: #f6dcd6; border-color: #e3b1a6; }
.lead-dark { font-size: 1.25rem; }
.contact { max-width: 44rem; }

.footer { background: var(--maroon-deep); color: #e9d9c3; padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2rem; }
.footer .logo { width: 72px; height: 72px; }
.footer-name { font: 400 1.3rem var(--head); color: #fff; margin: .6rem 0 0; }
.footer p { margin: 0; }
.footer h2 { font-size: 1.15rem; color: var(--gold); margin-bottom: .4rem; }
.footer a { display: block; color: #e9d9c3; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; text-decoration: underline; }
.colophon { text-align: center; padding: 1.5rem 16px; margin-top: 2rem !important; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }

@media (max-width: 960px) {
    .nav-desktop { display: none !important; }
    .menu { display: block; position: relative; }
    .menu nav { position: absolute; right: 0; top: 100%; flex-direction: column; min-width: 180px; background: var(--maroon-deep); padding: .5rem; border-radius: 0 0 8px 8px; }
    .programme { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .story, .donate, .footer-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .ledger { grid-template-columns: 1fr; }
    .ledger-4 { grid-template-columns: 1fr 1fr; }
    .festival-list { grid-template-columns: 1fr; }
    .timeline li { flex-direction: column; padding-inline-start: 2rem; }
    .donate-card { margin-top: 0; }
    .brand strong { font-size: 1.05rem; }
}
@media (max-width: 460px) { .programme { grid-template-columns: 1fr; } }
