/* ==========================================================================
   Sapneshwar Mahadev Mandir Foundation
   Stylesheet - saffron / orange temple theme, mobile-first
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------------- */
:root {
  /* Orange / saffron finish */
  --saffron:        #ED7014;
  --saffron-dark:   #D35F08;
  --saffron-light:  #FBA94C;
  --saffron-glow:   #FFD9A8;
  --maroon:         #8A2B0C;
  --maroon-deep:    #631D06;
  --gold:           #C9973F;
  --gold-light:     #E8C67A;

  --cream:          #FFF9F1;
  --cream-2:        #FDF0E0;
  --cream-3:        #F8E3CB;
  --white:          #FFFFFF;

  --ink:            #2E1B10;
  --ink-soft:       #5C4433;
  --muted:          #8A7462;
  --line:           #EFD9BE;

  --radius:         14px;
  --radius-lg:      22px;
  --shadow-sm:      0 2px 10px rgba(110, 60, 20, .08);
  --shadow:         0 10px 30px rgba(110, 60, 20, .12);
  --shadow-lg:      0 22px 55px rgba(110, 60, 20, .18);

  --font-display:   "Marcellus", "Georgia", "Times New Roman", serif;
  --font-body:      "Mukta", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-deva:      "Tiro Devanagari Hindi", "Nirmala UI", "Mukta", serif;

  --wrap:           1200px;
  --gutter:         clamp(16px, 4vw, 40px);
  --header-h:       68px;

  --ease:           cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset / base ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* <picture> is only a wrapper for the srcset sources - let the <img> inside it
   take part in layout directly, so height:100% / object-fit resolve correctly. */
picture { display: contents; }

a { color: var(--maroon); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--saffron); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.22;
  color: var(--maroon-deep);
  margin: 0 0 .6em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
p  { margin: 0 0 1.1em; }

::selection { background: var(--saffron-glow); color: var(--maroon-deep); }

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

/* ---------- 3. Layout helpers --------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(48px, 8vw, 92px) 0; }
.section--tint  { background: var(--cream-2); }
.section--deep  { background: var(--maroon-deep); color: var(--cream-2); }
.section--deep h2, .section--deep h3 { color: var(--gold-light); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--maroon); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Section heading with temple-style flourish (reference-site motif) */
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(30px, 5vw, 52px); }
.sec-head--left { text-align: left; margin-inline: 0; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .55em;
}
.section--deep .kicker { color: var(--saffron-light); }

.flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 14px 0 18px;
}
.sec-head--left .flourish { justify-content: flex-start; }
.flourish::before, .flourish::after {
  content: ""; height: 1px; width: clamp(40px, 12vw, 92px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.flourish::after { background: linear-gradient(90deg, var(--gold), transparent); }
.flourish span {
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--saffron); border-radius: 2px; flex: none;
}

.lede { font-size: clamp(1rem, 1.9vw, 1.12rem); color: var(--ink-soft); }

/* ---------- 4. Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;                      /* touch-friendly */
  padding: 12px 26px;
  border: 0; border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 700; letter-spacing: .03em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(237, 112, 20, .34);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(237, 112, 20, .44); }
.btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: #fff; color: var(--maroon-deep); transform: translateY(-2px); }
.btn--outline {
  background: transparent; color: var(--maroon);
  border: 1.5px solid var(--saffron);
}
.btn--outline:hover { background: var(--saffron); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .86rem; }

/* ---------- 5. Top utility bar -------------------------------------------- */
.topbar {
  background: var(--maroon-deep);
  color: var(--cream-3);
  font-size: .82rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: var(--cream-3); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--saffron-light); }
.topbar__set { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__om { color: var(--saffron-light); font-size: 1rem; }
.topbar svg { width: 15px; height: 15px; flex: none; }

.social { display: flex; align-items: center; gap: 10px; }
.social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1);
}
.social a:hover { background: var(--saffron); color: #fff; }

/* ---------- 6. Header / navigation ---------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 249, 241, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(110, 60, 20, .06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.18; }
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 2.6vw, 1.15rem);
  color: var(--maroon-deep);
  letter-spacing: .3px;
}
.brand__sub {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--saffron); font-weight: 700;
}

.nav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav__link {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap;
}
.nav__link:hover { color: var(--saffron); background: var(--cream-2); }
.nav__link.is-active { color: var(--maroon); }
.nav__link.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.header__cta { display: none; }

/* Hamburger */
.navbtn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.navbtn span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--maroon); position: relative;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.navbtn span::before, .navbtn span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  border-radius: 2px; background: var(--maroon);
  transition: transform .25s var(--ease);
}
.navbtn span::before { top: -6px; }
.navbtn span::after  { top: 6px; }
.navbtn[aria-expanded="true"] span { background: transparent; }
.navbtn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.navbtn[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 88;
  background: rgba(46, 27, 16, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- 7. Hero ------------------------------------------------------- */
.hero { position: relative; background: var(--maroon-deep); overflow: hidden; }
.hero__viewport { position: relative; height: clamp(440px, 76vh, 760px); }

.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(45, 18, 5, .92) 0%, rgba(45, 18, 5, .55) 42%, rgba(45, 18, 5, .22) 72%, rgba(45, 18, 5, .45) 100%),
    linear-gradient(to right, rgba(99, 29, 6, .55), transparent 65%);
}
.slide__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(40px, 8vw, 92px);
}
.slide__inner { max-width: 660px; color: #fff; }
.slide__kicker {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--saffron-light);
  padding: 6px 16px; border-radius: 999px;
  background: rgba(237, 112, 20, .2);
  border: 1px solid rgba(251, 169, 76, .45);
  margin-bottom: 16px;
}
.slide__title {
  color: #fff; margin-bottom: .4em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .45);
}
.slide__text {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(.98rem, 2vw, 1.12rem);
  max-width: 54ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Slider controls */
.hero__dots {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%);
  bottom: 16px; display: flex; gap: 10px;
}
.hero__dots button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .45); border: 0;
  transition: all .25s var(--ease);
}
.hero__dots button.is-active { background: var(--saffron); width: 30px; border-radius: 999px; }

.hero__arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: none; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: var(--saffron); border-color: var(--saffron); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }

/* ---------- 8. Quick-action cards ----------------------------------------- */
.quickbar { position: relative; z-index: 5; margin-top: clamp(-30px, -4vw, -58px); }
.quickbar__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
.qcard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--saffron);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.qcard__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--saffron-glow), var(--cream-2));
  color: var(--saffron-dark);
}
.qcard__icon svg { width: 26px; height: 26px; }
.qcard h3 { margin: 0 0 .25em; }
.qcard p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .8em; }
.qcard__cta {
  margin-top: auto; font-weight: 700; font-size: .9rem;
  color: var(--saffron-dark); display: inline-flex; align-items: center; gap: 6px;
}
.qcard__cta::after { content: "\2192"; transition: transform .2s var(--ease); }
.qcard:hover .qcard__cta::after { transform: translateX(4px); }

/* ---------- 9. Welcome / split content ------------------------------------ */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__frame {
  position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
}

.om-badge {
  position: absolute; right: -14px; bottom: -14px;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff; box-shadow: var(--shadow);
  font-family: var(--font-deva); font-size: 2.6rem; line-height: 1;
}

/* ---------- 10. Timings --------------------------------------------------- */
.timings__grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.timecard {
  background: #fff; border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.section--deep .timecard {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(201, 151, 63, .35);
}
.timecard h3 {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: .6em; margin-bottom: .3em;
  border-bottom: 1px solid var(--line);
}
.section--deep .timecard h3 { border-color: rgba(201, 151, 63, .3); }
.timecard svg { width: 22px; height: 22px; color: var(--saffron); flex: none; }
.timelist { list-style: none; margin: 0; padding: 0; }
.timelist li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.section--deep .timelist li { border-color: rgba(255, 255, 255, .14); }
.timelist li:last-child { border-bottom: 0; }
.timelist__label { font-weight: 600; }
.timelist__time {
  font-weight: 700; color: var(--saffron);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.section--deep .timelist__time { color: var(--saffron-light); }
.timings__note {
  margin-top: 20px; font-size: .9rem; text-align: center;
  color: var(--muted); font-style: italic;
}
.section--deep .timings__note { color: var(--cream-3); }

/* ---------- 11. Explore links (numbered list) ----------------------------- */
.explore__grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  counter-reset: exp;
}
.explore__item {
  counter-increment: exp;
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 10px 18px 10px 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600; color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.explore__item::before {
  content: counter(exp, decimal-leading-zero);
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--cream-2); color: var(--saffron-dark);
  font-size: .82rem; font-weight: 700;
  transition: all .2s var(--ease);
}
.explore__item:hover {
  border-color: var(--saffron); color: var(--maroon);
  transform: translateX(4px); box-shadow: var(--shadow-sm);
}
.explore__item:hover::before { background: var(--saffron); color: #fff; }

/* ---------- 12. Gallery --------------------------------------------------- */
.gal-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gal-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--cream-2);
  box-shadow: var(--shadow-sm); cursor: pointer;
  border: 0; padding: 0; width: 100%; display: block;
  aspect-ratio: 3 / 4;
}
.gal-item--wide { aspect-ratio: 4 / 3; grid-column: span 2; }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gal-item:hover img { transform: scale(1.07); }
.gal-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(to top, rgba(45, 18, 5, .88), transparent);
  color: #fff; font-weight: 600; font-size: .92rem; text-align: left;
  font-family: var(--font-display);
}

/* ---------- 13. Founder cards --------------------------------------------- */
.people {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.people--single { max-width: 380px; margin-inline: auto; }

.person {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); text-align: center;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.person__media { position: relative; background: var(--cream-2); }
.person__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.person__body { padding: 22px 22px 26px; }
.person__name { font-size: 1.3rem; margin: 0 0 .15em; }
.person__role {
  display: inline-block; margin-bottom: .8em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--saffron-dark);
  padding: 5px 14px; border-radius: 999px; background: var(--cream-2);
}
.person__bio { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.ph-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--maroon); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 14. Licences grid --------------------------------------------- */
.lic-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.lic-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.lic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--saffron-light); }
.lic-card__media {
  position: relative; background: var(--cream-2);
  border: 0; padding: 0; cursor: pointer; display: block; width: 100%;
}
.lic-card__media img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; }
.lic-card__zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--maroon);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: scale(.8);
  transition: all .25s var(--ease);
}
.lic-card:hover .lic-card__zoom { opacity: 1; transform: scale(1); }
.lic-card__body { padding: 18px 20px 22px; }
.lic-card__title { font-size: 1.1rem; margin: 0 0 .2em; }
.lic-card__meta { font-size: .86rem; color: var(--muted); margin: 0; }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--cream-2); border: 1px dashed var(--saffron-light);
  border-radius: var(--radius); padding: 18px 20px;
  margin-bottom: clamp(26px, 4vw, 40px);
  font-size: .94rem; color: var(--ink-soft);
}
.notice svg { width: 22px; height: 22px; color: var(--saffron-dark); flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: var(--maroon); }

/* ---------- 15. Festival cards -------------------------------------------- */
.fest-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.fest {
  background: #fff; border-radius: var(--radius-lg);
  padding: 26px 24px; border: 1px solid var(--line);
  border-left: 4px solid var(--saffron);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fest:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fest h3 { margin-bottom: .1em; }
.fest__when {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--saffron-dark); margin-bottom: .8em;
}
.fest p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- 16. Aarti path (Devanagari) ----------------------------------- */
.aarti {
  background:
    linear-gradient(rgba(99, 29, 6, .93), rgba(99, 29, 6, .93));
  color: var(--cream-2);
}
.aarti__scroll {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(201, 151, 63, .4);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  max-height: 460px; overflow-y: auto;
  font-family: var(--font-deva);
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  line-height: 2.05;
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: var(--saffron) transparent;
}
.aarti__scroll::-webkit-scrollbar { width: 8px; }
.aarti__scroll::-webkit-scrollbar-thumb { background: var(--saffron); border-radius: 8px; }
.aarti__scroll p { margin-bottom: 1.5em; }
.aarti__scroll p:last-child { margin-bottom: 0; }
.aarti__refrain { color: var(--saffron-light); font-weight: 600; display: inline-block; }

/* ---------- 17. Info / contact cards -------------------------------------- */
.info-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.info {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm); text-align: center;
}
.info__icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
}
.info__icon svg { width: 24px; height: 24px; }
.info h3 { font-size: 1.1rem; margin-bottom: .3em; }
.info p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.info a { font-weight: 600; word-break: break-word; }

.map-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  background: var(--cream-2);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-frame--empty {
  display: grid; place-items: center; text-align: center;
  padding: 30px; color: var(--muted);
}
.map-frame--empty svg { width: 46px; height: 46px; color: var(--saffron-light); margin-bottom: 12px; }

/* ---------- 18. CTA strip ------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff; text-align: center;
  padding: clamp(44px, 7vw, 76px) 0;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255, 255, 255, .95); max-width: 62ch; margin-inline: auto; }
.cta-strip .btn--ghost { border-color: #fff; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }

/* ---------- 19. Page banner ----------------------------------------------- */
.pagehead {
  position: relative; background: var(--maroon-deep);
  padding: clamp(52px, 9vw, 104px) 0 clamp(44px, 7vw, 84px);
  text-align: center; overflow: hidden;
}
.pagehead__bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .32;
}
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(99, 29, 6, .78), rgba(45, 18, 5, .9));
}
.pagehead > .wrap { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 3px 20px rgba(0, 0, 0, .4); }
.pagehead .flourish::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.pagehead .flourish::after  { background: linear-gradient(90deg, var(--gold-light), transparent); }
.pagehead .kicker { color: var(--saffron-light); }

.crumbs {
  font-size: .88rem; color: var(--cream-3);
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.crumbs a { color: var(--saffron-light); }
.crumbs span { color: rgba(255, 255, 255, .5); }

/* ---------- 20. Footer ---------------------------------------------------- */
.footer {
  background: var(--maroon-deep); color: var(--cream-3);
  padding-top: clamp(44px, 7vw, 74px);
  font-size: .94rem;
}
.footer__grid {
  display: grid; gap: 34px; grid-template-columns: 1fr;
  padding-bottom: 38px;
}
.footer h4 {
  color: var(--gold-light); font-size: 1.05rem; margin-bottom: 1em;
  position: relative; padding-bottom: .6em;
}
.footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 42px; height: 2px; background: var(--saffron); border-radius: 2px;
}
.footer p { color: rgba(253, 240, 224, .78); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: rgba(253, 240, 224, .82); }
.footer a:hover { color: var(--saffron-light); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 46px; height: 46px; flex: none; }
.footer__brand strong { font-family: var(--font-display); color: var(--gold-light); font-weight: 400; font-size: 1.1rem; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--saffron); flex: none; margin-top: 5px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 26px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; text-align: center;
  font-size: .86rem; color: rgba(253, 240, 224, .62);
}

/* ---------- 21. Lightbox -------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(30, 14, 5, .94);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: 10px; box-shadow: var(--shadow-lg);
}
.lightbox__cap { color: var(--cream-2); text-align: center; margin-top: 14px; font-size: .95rem; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1.4rem; line-height: 1;
}
.lightbox__close:hover { background: var(--saffron); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
}
.lightbox__nav:hover { background: var(--saffron); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* ---------- 22. Reveal on scroll ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   23. RESPONSIVE - mobile first, so these are progressive enhancements
   ========================================================================== */

/* --- Mobile nav drawer (below 1000px) ------------------------------------ */
@media (max-width: 999.98px) {
  .nav {
    position: fixed; top: 0; right: 0; z-index: 95;
    width: min(330px, 86vw); height: 100dvh;
    background: var(--cream);
    box-shadow: -14px 0 44px rgba(46, 27, 16, .22);
    padding: 84px 22px 36px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .34s var(--ease);
    visibility: hidden;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    padding: 15px 16px; font-size: 1.02rem; border-radius: 10px;
    border-bottom: 1px solid var(--line);
  }
  .nav__link.is-active { background: var(--cream-2); color: var(--maroon); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { margin-top: 20px; display: grid; }
  .nav__cta .btn { width: 100%; }
}

/* --- Small phones --------------------------------------------------------- */
@media (max-width: 479.98px) {
  .topbar__set--meta { display: none; }        /* keep the top bar to one line */
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item--wide { grid-column: span 1; }
  .slide__actions .btn { width: 100%; }
}

/* --- Large phones / small tablets ---------------------------------------- */
@media (min-width: 560px) {
  .quickbar__grid { grid-template-columns: repeat(2, 1fr); }
  .fest-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .explore__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* --- Tablets -------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --header-h: 78px; }
  .quickbar__grid { grid-template-columns: repeat(3, 1fr); }
  .timings__grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-item--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .brand__mark { width: 54px; height: 54px; }
}

/* --- Desktop -------------------------------------------------------------- */
@media (min-width: 1000px) {
  .navbtn { display: none; }
  .nav-scrim { display: none; }
  .nav__cta { display: none; }          /* drawer-only button */
  .header__cta { display: inline-flex; }
  .explore__grid { grid-template-columns: repeat(3, 1fr); }
  .fest-grid { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .gal-grid { grid-template-columns: repeat(4, 1fr); }
  .gal-item--wide { grid-column: span 2; }
}

/* --- Wide desktop: room for the slider arrows beside the hero text -------- */
@media (min-width: 1240px) {
  .hero__arrow { display: grid; }
}

/* --- Motion / contrast preferences ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .topbar, .header, .footer, .hero__dots, .hero__arrow, .cta-strip, .navbtn { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
