:root {
  --maroon: #6e1414;
  --maroon-2: #8c1c1c;
  --saffron: #e2741b;
  --gold: #c99a3a;
  --gold-soft: #f3e3bf;
  --cream: #fbf6ec;
  --paper: #fffdf9;
  --ink: #2a1c14;
  --muted: #6d5c4f;
  --line: #ebdcc2;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(70, 30, 10, .25);
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-2); text-underline-offset: 3px; }
a:hover { color: var(--saffron); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; color: var(--maroon); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.pre { white-space: pre-line; }
.lead { font-size: 1.15rem; color: #4a382c; }
.note { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: .8em 1em; border-radius: 8px; font-size: .97rem; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: .7em 1.3em; border-radius: 999px; border: 2px solid var(--maroon-2);
  background: var(--maroon-2); color: #fff; font: 500 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn-outline { background: transparent; color: var(--maroon-2); }
.btn-outline:hover { background: var(--maroon-2); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #2a1305; }
.btn-gold:hover { background: #dcae4c; border-color: #dcae4c; color: #2a1305; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--maroon); }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--maroon); color: #f6e6d0; font-size: .88rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar-in { display: flex; gap: 24px; padding: 6px 0; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); color: var(--maroon); font-size: clamp(1.1rem, 2.6vw, 1.55rem); line-height: 1.15; }
.brand-sub { color: var(--saffron); font-size: .9rem; }
.nav { background: linear-gradient(90deg, var(--maroon-2), var(--maroon)); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; padding: 0; margin: 0 auto; }
.nav a { display: block; padding: 12px 15px; color: #fbeedd; text-decoration: none; font-weight: 500; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 -3px var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--maroon); margin: 6px 0; transition: .2s; }

@media (max-width: 900px) {
  .hide-sm { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 6px 0; }
  .nav a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; min-height: min(72vh, 640px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--maroon); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 30s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; opacity: 1; }
.hero-slides img:nth-child(2) { animation-delay: 6s; }
.hero-slides img:nth-child(3) { animation-delay: 12s; }
.hero-slides img:nth-child(4) { animation-delay: 18s; }
.hero-slides img:nth-child(5) { animation-delay: 24s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.04); } 4%, 20% { opacity: 1; } 24%, 100% { opacity: 0; transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,10,5,.15) 0%, rgba(40,10,5,.25) 45%, rgba(50,10,5,.85) 100%); }
.hero-content { position: relative; z-index: 1; padding: 120px 0 56px; }
.hero h1 { color: #fff; margin-bottom: .15em; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.kicker { color: var(--gold-soft); font-size: 1.1rem; letter-spacing: .08em; margin-bottom: .4em; }
.hero-sub { font-size: 1.25rem; color: #f8e9d3; margin-bottom: 1.4em; }
@media (prefers-reduced-motion: reduce) { .hero-slides img { animation: none; } .hero-slides img:not(:first-child) { display: none; } }

/* Notices ticker */
.notices { background: var(--gold-soft); border-bottom: 1px solid var(--line); }
.notices-in { display: flex; align-items: center; gap: 16px; }
.notices-label { background: var(--saffron); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; flex: none; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; padding: 10px 0; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.notice { white-space: nowrap; padding-right: 56px; font-weight: 500; }
.notice::before { content: "🔔 "; }
.notice a { color: var(--maroon); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .notice { white-space: normal; } .notice[aria-hidden] { display: none; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section.alt { background: var(--cream); }
.eyebrow { color: var(--saffron); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; margin-bottom: .4em; }
.section-head, .panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2, .panel-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .split, .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.section.alt .card { background: #fff; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 18px 0 28px; }
.cards-2 .card h3 { margin-bottom: .4em; }
.cards-2 .card p:last-child { margin: 0; }

/* Page header */
.page-head { background: radial-gradient(circle at 85% 20%, rgba(201,154,58,.35), transparent 50%), linear-gradient(120deg, var(--maroon), var(--maroon-2)); color: #fff; padding: 44px 0 38px; }
.page-head h1 { color: #fff; margin: 0; }
.crumbs { font-size: .92rem; color: #f2dcc0; margin-bottom: 6px; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 4px; }

/* Prose */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose-wrap { display: flow-root; }
.float-img { float: right; width: min(42%, 420px); margin: 4px 0 20px 32px; }
@media (max-width: 700px) { .float-img { float: none; width: 100%; margin: 0 0 20px; } }
.legend-list { padding-left: 1.4em; }
.legend-list li { margin-bottom: .5em; }
.jai { text-align: center; font-family: var(--font-head); font-size: 1.5rem; color: var(--saffron); margin-top: 1.5em; }
.jai::before, .jai::after { content: " ❁ "; color: var(--gold); }
ul.ticks { list-style: none; padding: 0; }
ul.ticks > li { position: relative; padding-left: 30px; margin-bottom: .8em; }
ul.ticks > li::before { content: "✦"; position: absolute; left: 4px; color: var(--saffron); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--maroon-2); color: #fff; display: grid; place-items: center; font-weight: 700; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin: 22px 0; background: var(--cream); }
.accordion summary { cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--maroon); }
.accordion ol { padding-left: 1.2em; }
.accordion li { margin-bottom: 1em; }

/* Announcements */
.ann-list { list-style: none; padding: 0; margin: 0 0 8px; }
.ann { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ann:last-child { border-bottom: 0; }
.ann-date { flex: none; width: 58px; text-align: center; background: var(--maroon-2); color: #fff; border-radius: 10px; font-size: .8rem; text-transform: uppercase; padding: 6px 0; line-height: 1.1; }
.ann-date b { display: block; font-size: 1.35rem; }
.ann a { color: var(--ink); text-decoration: none; font-weight: 500; text-transform: capitalize; }
.ann a:hover { color: var(--maroon-2); text-decoration: underline; }

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.photo { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo:hover img { transform: scale(1.05); }
.photo-cap { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-transform: capitalize; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(15, 5, 2, .92); }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; margin: auto; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { top: 28px; right: 12px; transform: none; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .video-grid { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video figcaption { margin-top: 8px; font-weight: 500; }
.yt, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: #d4001a; }
.yt-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; transform: translateX(2px); }
.yt:hover .yt-play { background: #ff0022; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; background: var(--cream); }

/* Members */
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.member { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.member img, .member-ph { flex: none; width: 86px; height: 106px; object-fit: cover; border-radius: 10px; background: var(--cream); }
.member-ph { display: grid; place-items: center; font: 2rem var(--font-head); color: var(--gold); }
.member h3 { font-size: 1.1rem; margin: 0 0 .2em; }
.member p { margin: 0 0 .2em; }
.member-post { color: var(--saffron); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }

/* Reservations */
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 32px; }
.month { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.month h3 { margin: 0 0 4px; font-size: 1.15rem; }
.month a::before { content: "📄 "; }
.month-empty { border-top-color: var(--line); opacity: .75; }

/* Donations */
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; }
.copy { font: inherit; font-size: .78rem; padding: 1px 8px; border: 1px solid var(--line); background: var(--cream); border-radius: 999px; cursor: pointer; margin-left: 6px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 500; }
.form input, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #d8c6a6; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 16px; border-radius: 10px; }
.alert.ok { background: #e7f5e9; color: #1d5b28; }
.alert.err { background: #fbe9e7; color: #8c1c1c; }

/* Footer */
.footer { background: #2a0e0a; color: #e8d6c2; padding-top: 56px; font-size: .97rem; }
.footer h3 { color: var(--gold); font-size: 1.15rem; }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; color: #e8d6c2; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #bfa58c; }
.footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 0; }

/* Online reservations */
.cta-box { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, var(--gold-soft), #fff6e3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 28px; }
.cta-box h2 { margin: 0 0 .2em; }
.cta-box p { margin: 0; }
.booking-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 18px; margin: 0; display: grid; gap: 14px; background: #fff; }
.booking-form legend { font-family: var(--font-head); font-size: 1.2rem; color: var(--maroon); padding: 0 6px; }
.form select { font: inherit; padding: 10px 12px; border: 1px solid #d8c6a6; border-radius: 10px; background: #fff; width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.persons { display: grid; gap: 8px; }
.persons-head, .person-row { display: grid; grid-template-columns: 2fr .6fr 1.3fr 1.5fr; gap: 8px; }
.persons-head { font-size: .85rem; color: var(--muted); font-weight: 500; }
.person-row input { padding: 8px 10px !important; }
@media (max-width: 640px) {
  .persons-head { display: none; }
  .person-row { grid-template-columns: 1fr 80px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
}
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form label.check input { width: auto; margin-top: 5px; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.big-tick { font-size: 3rem; color: #1d7a34; margin: 0; }
.ref { font-size: 1.4rem; letter-spacing: .04em; color: var(--maroon); }
.otp { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; max-width: 240px; }
.link-btn { background: none; border: 0; color: var(--maroon-2); text-decoration: underline; cursor: pointer; font: inherit; padding: 8px 0; }
.progress { list-style: none; display: flex; padding: 0; margin: 0 0 22px; counter-reset: p; }
.progress li { flex: 1; text-align: center; position: relative; font-size: .85rem; color: var(--muted); padding-top: 38px; counter-increment: p; }
.progress li::before { content: counter(p); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-weight: 700; z-index: 1; }
.progress li + li::after { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.progress li.done { color: var(--ink); }
.progress li.done::before { background: var(--maroon-2); color: #fff; content: "✓"; }
.progress li.done::after { background: var(--maroon-2); }
.progress li.current { font-weight: 700; }
.status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--gold-soft); color: #6b4a0a; }
.status-confirmed { background: #e3f4e6; color: #1d5b28; }
.status-rejected, .status-cancelled { background: #fbe9e7; color: #8c1c1c; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 14px 0 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.booking-summary { margin-bottom: 20px; }
.pay { margin-top: 20px; }
.pay-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; margin-bottom: 18px; }
@media (max-width: 640px) { .pay-grid { grid-template-columns: 1fr; } }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.qr svg, .qr img { width: 100%; height: auto; display: block; }
.pay-steps { padding-left: 1.2em; margin: 0; }
.pay-steps li { margin-bottom: .6em; }
.btn-sm { padding: .35em .9em; font-size: .9rem; }
.confirmed { border-color: #9fd3a9; background: #f3fbf4; margin-top: 20px; }
@media print { .topbar, .header, .footer, .progress, .btn { display: none !important; } }
