/* =========================================================
   nAdAlayA — shared site styles (2026 refresh)
   Fonts: Pinyon Script (calligraphic accents),
          Cormorant Garamond (headings), Lora (body)
   ========================================================= */

:root {
  --maroon: #6b1020;
  --maroon-deep: #4a0a16;
  --gold: #c9a227;
  --gold-soft: #e9d18a;
  --parchment: #fbf5e9;
  --parchment-2: #f4e7cc;
  --ink: #2b1b17;
  --ink-soft: #5b4a42;
  --line: #e2cfa6;
  --peacock: #0f5257;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 10, 22, 0.12);
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.15;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }

/* Calligraphic kicker above headings */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  color: var(--gold);
  display: block;
  margin-bottom: .1em;
}

/* Ornamental divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 10px auto 22px; max-width: 320px;
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament span { font-size: 14px; letter-spacing: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--maroon-deep);
  background-image: linear-gradient(180deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border-bottom: 2px solid var(--gold);
}
.site-header .inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand img { height: 66px; width: auto; }
.brand small {
  font-family: var(--font-display); font-style: italic; color: var(--gold-soft);
  font-size: 1.15rem; letter-spacing: .3px; margin-top: 4px;
}
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: #fbeed3; text-decoration: none; padding: 6px 12px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav a[aria-current="page"] { color: var(--gold-soft); }

@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .inner { flex-direction: column; padding: 12px 16px; gap: 8px; }
  .brand { align-items: center; }
  .brand img { height: 54px; }
  .site-nav { justify-content: center; }
  .site-nav a { font-size: 1.02rem; padding: 5px 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .3px; text-decoration: none;
  padding: 11px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--maroon-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-deep); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head p { color: var(--ink-soft); margin: 0; }
.bg-alt { background: var(--parchment-2); }
@media (max-width: 760px) { .section { padding: 52px 0; } .container { padding: 0 16px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--maroon-deep);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.8) brightness(.95); }
/* Soft, even fade over the whole photo, a little deeper at the bottom for the text */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(43,8,14,.35), rgba(43,8,14,.35)),
    linear-gradient(180deg, rgba(43,8,14,0) 40%, rgba(43,8,14,.75) 100%);
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(43,8,14,.2) 0%, rgba(43,8,14,.7) 45%, rgba(43,8,14,.95) 100%); }
}
.hero .container { width: 100%; position: relative; z-index: 1; padding-bottom: 64px; padding-top: 120px; }
.hero h1 { color: #fff; max-width: 640px; font-weight: 600; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .script { color: var(--gold-soft); font-size: clamp(2.4rem, 4.5vw, 3.4rem); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero h1 em { color: var(--gold-soft); }
.hero p { max-width: 560px; font-size: 1.12rem; color: #f6e9d2; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Event feature ---------- */
.event {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.event-media { position: relative; min-height: 360px; }
.event-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-body { padding: 40px 40px 36px; position: relative; }
.event-body::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-soft);
  border-radius: 10px; pointer-events: none;
}
.event-meta { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.event-meta li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; }
.event-meta b {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--maroon);
  text-transform: uppercase; letter-spacing: 1px;
}
.tbc {
  background: #fff4cf; border: 1px dashed var(--gold); color: #7a5b00;
  padding: 1px 8px; border-radius: 6px; font-size: .92em;
}
.event .actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .event { grid-template-columns: 1fr; }
  .event-media { min-height: 240px; }
  .event-body { padding: 30px 24px 28px; }
  .event-meta li { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Intro ---------- */
.intro { text-align: center; max-width: 820px; margin: 0 auto; }
.intro .lede {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.4; color: var(--ink); font-weight: 500;
}
.intro + .cards { margin-top: 40px; }

/* ---------- Strength cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 4px 14px rgba(74,10,22,.06);
  border-top: 3px solid var(--gold);
}
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Photo mosaic ---------- */
.mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; grid-auto-flow: dense;
}
.mosaic a, .mosaic figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; background: #e9dcc2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .wide { grid-column: span 2; }
.mosaic .tall { grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,4,8,.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 42px;
  cursor: pointer; padding: 8px 16px; line-height: 1;
}
.lightbox .close { top: 10px; right: 10px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Video grid ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video-placeholder {
  aspect-ratio: 16/9; border-radius: 12px; border: 2px dashed var(--gold);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-soft); background: #fffaf0; padding: 20px;
}
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--maroon); color: #fbeed3; text-align: center;
  background-image: radial-gradient(circle at 20% 0%, rgba(201,162,39,.18), transparent 50%),
                    radial-gradient(circle at 80% 100%, rgba(201,162,39,.14), transparent 50%);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-deep); color: #e8d6b8; font-size: .9rem; border-top: 3px solid var(--gold); }
.site-footer .inner { max-width: 1000px; margin: 0 auto; padding: 24px 20px 18px; text-align: center; }
.footer-brand { display: inline-block; margin-bottom: 10px; }
.footer-brand img { height: 46px; width: auto; display: block; }
.site-footer p { margin: 0 0 6px; }
.footer-gurus { color: #fbeed3; margin-bottom: 10px !important; }
.site-footer .sep { color: var(--gold-soft); margin: 0 6px; }
.site-footer a { color: #fbeed3; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; }
.footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 14px; height: 14px; flex: none; color: var(--gold-soft); }
.footer-bottom {
  max-width: 1000px; margin: 0 auto; padding: 10px 20px;
  border-top: 1px solid rgba(233,209,138,.18);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .78rem; color: #bfa98a;
}
.footer-bottom a { color: #bfa98a; }
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
}

/* ---------- Inner page title ---------- */
.page-hero {
  background: var(--maroon); color: #fbeed3; text-align: center; padding: 20px 20px 18px;
  background-image: radial-gradient(circle at 50% 120%, rgba(201,162,39,.25), transparent 60%);
}
.page-hero .script { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; }
.page-hero h1 { color: var(--gold-soft); margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: .5px; }
.page-hero p { margin: 4px auto 0; max-width: 680px; color: #f1dfbf; }

/* Generic white panel for inner pages */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
}
@media (max-width: 600px) { .panel { padding: 22px 18px; } }

/* =========================================================
   Additions: verses, profiles, gallery, forms
   ========================================================= */
:root { --font-deva: "Tiro Devanagari Sanskrit", "Kohinoor Devanagari", serif; }

/* Sanskrit verse */
.verse { text-align: center; max-width: 760px; margin: 0 auto; }
.verse .sa {
  font-family: var(--font-deva); color: var(--maroon);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.9; margin: 0;
}
.verse .sa span { display: block; }
.verse .en {
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  color: var(--ink-soft); margin: 14px 0 6px;
}
.verse cite {
  font-style: normal; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: #9a7b3c;
}
.verse-band { padding: 56px 0; background: #fffaf0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .verse .sa { color: var(--gold-soft); }
.cta-band .verse .en { color: #f1dfbf; }

/* Text-only event card */
.event-solo {
  max-width: 860px; margin: 0 auto; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 40px 40px; position: relative;
}
.event-solo::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-soft);
  border-radius: 10px; pointer-events: none;
}
.event-solo p { max-width: 620px; margin: 0 auto 22px; color: var(--ink-soft); }
.event-solo .date {
  display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--maroon); font-size: .95rem; margin-bottom: 14px;
}
@media (max-width: 600px) { .event-solo { padding: 34px 22px 30px; } }

/* About: profiles */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin: 0 0 1em; }
.profile {
  display: grid; grid-template-columns: 1fr 260px; gap: 36px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(74,10,22,.06); padding: 34px; margin-bottom: 28px;
}
.profile.flip { grid-template-columns: 260px 1fr; }
.profile.flip .portrait { order: -1; }
.profile .role { font-family: var(--font-display); font-weight: 600; font-style: italic; color: #8a6a1f; font-size: 1.1rem; margin: -2px 0 14px; }
.profile p { margin: 0 0 .9em; color: var(--ink); }
.profile p:last-child { margin-bottom: 0; }
.profile .label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px;
  font-size: .85rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; display: block;
}
.portrait { margin: 0; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--parchment-2); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(201,162,39,.6), inset 0 0 0 7px rgba(255,255,255,.55); }
.portrait.monogram { display: flex; align-items: center; justify-content: center; }
.portrait.monogram span { font-family: var(--font-script); font-size: 4.5rem; color: var(--gold); }
@media (max-width: 820px) {
  .profile, .profile.flip { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .profile .portrait, .profile.flip .portrait { order: -1; max-width: 240px; }
}

/* Gallery page */
.gallery-section + .gallery-section { margin-top: 64px; }
.gallery-section .section-head { margin-bottom: 24px; }
.gallery-section { scroll-margin-top: 140px; }
.gallery-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -8px 0 48px; }
.gallery-jump a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--maroon);
  text-decoration: none; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: background .15s, border-color .15s;
}
.gallery-jump a:hover { background: #fffaf0; border-color: var(--gold); }
.grid-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-photos a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 3/2; background: #e9dcc2; }
.grid-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.grid-photos a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .grid-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.coming-soon {
  text-align: center; color: var(--ink-soft); font-style: italic; padding: 28px;
  border: 1px dashed var(--line); border-radius: 12px; background: #fffaf0;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; color: var(--maroon); }
.map { width: 100%; height: 280px; border: 0; border-radius: 12px; margin-top: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms (contact + registration) */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form label { font-weight: 600; display: block; margin-bottom: 6px; color: var(--ink); font-size: .95rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number],
.form input[type=date], .form select, .form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fffdf8; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.form textarea { min-height: 120px; }
.form h3 { margin-top: 0; }
.form hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.muted { color: var(--ink-soft); font-size: .95rem; }
.form button.btn { cursor: pointer; }
.form .btn-outline { background: transparent; }
.notice { display: none; border-radius: 10px; padding: 12px 14px; margin: 14px 0; }
.notice.show { display: block; background: #eef6ea; color: #24502a; border: 1px solid #cfe3c6; }
