:root {
  --wine: #64160d;
  --wine2: #36100c;
  --rust: #8d2b18;
  --gold: #e8ad45;
  --cream: #fff8e9;
  --paper: #fffdf8;
  --ink: #291711;
  --muted: #70594d;
  --line: rgba(150, 91, 42, 0.24);
  --shadow: 0 22px 55px rgba(67, 24, 11, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.subpage {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
  background: linear-gradient(145deg, #fff9ec, #f8e9ca);
  overflow-x: hidden;
}
body.subpage:before,
body.subpage:after {
  position: fixed;
  z-index: -2;
  content: "";
  border-radius: 50%;
  filter: blur(2px);
}
body.subpage:before {
  width: 38rem;
  height: 38rem;
  right: -15rem;
  top: 7rem;
  background: radial-gradient(circle, rgba(232, 173, 69, 0.2), transparent 68%);
}
body.subpage:after {
  width: 32rem;
  height: 32rem;
  left: -14rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(100, 22, 13, 0.12), transparent 70%);
}
.page-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.page-ambient span {
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  border: 1px solid rgba(141, 43, 24, 0.1);
  border-radius: 50%;
  color: rgba(100, 22, 13, 0.12);
  display: grid;
  place-items: center;
  font-weight: 800;
  animation: pageFloat 16s ease-in-out infinite;
}
.page-ambient span:nth-child(1) {
  left: 5%;
  top: 20%;
}
.page-ambient span:nth-child(2) {
  right: 7%;
  top: 42%;
  animation-delay: -5s;
}
.page-ambient span:nth-child(3) {
  left: 18%;
  bottom: 4%;
  animation-delay: -10s;
}
@keyframes pageFloat {
  50% {
    transform: translateY(-28px) rotate(5deg);
  }
}
.inner-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 58px);
  background: rgba(255, 251, 241, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(62, 17, 7, 0.08);
  backdrop-filter: blur(14px);
}
.inner-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 225px;
  text-decoration: none;
  color: var(--wine);
}
.inner-brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  border: 2px solid #d58b27;
  border-radius: 50%;
  background: #fff1c7;
  font-weight: 800;
}
.inner-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}
.inner-brand small {
  color: var(--muted);
  font-weight: 700;
}
.inner-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 25px);
  font-family: Poppins, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.inner-nav a {
  position: relative;
  color: #3e2117;
  text-decoration: none;
  white-space: nowrap;
}
.inner-nav a:after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 9px;
  background: var(--rust);
  content: "";
  transform: scaleX(0);
  transition: 0.2s;
}
.inner-nav a:hover:after,
.inner-nav a.active:after {
  transform: scaleX(1);
}
.inner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-language {
  display: flex;
  padding: 3px;
  border: 1px solid #dec18d;
  border-radius: 9px;
  background: #fff;
}
.page-language button {
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  color: var(--wine);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}
.page-language button.active {
  color: #fff;
  background: var(--wine);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #dec18d;
  border-radius: 9px;
  color: var(--wine);
  background: #fff;
  font-size: 22px;
}
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(360px, 48vw, 560px);
  padding: clamp(45px, 8vw, 88px) clamp(20px, 7vw, 90px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(35, 8, 5, 0.93),
      rgba(62, 16, 9, 0.68),
      rgba(35, 8, 5, 0.2)
    ),
    var(--hero-image, url("../assets/ram-darbar-main.jpg")) center/cover
      no-repeat;
}
.page-hero:after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(29, 7, 4, 0.54));
  content: "";
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 830px;
}
.page-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffd47b;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.page-hero h1 {
  margin: 0 0 14px;
  color: #ffd36d;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
}
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #fff5e0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}
.hero-crumbs {
  display: flex;
  gap: 9px;
  margin-top: 22px;
  color: #f4d9a4;
  font-size: 14px;
}
.hero-crumbs a {
  color: #fff;
  text-decoration: none;
}
.page-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 78px;
}
.intro-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 26px;
}
.brown-card {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(145deg, #702015, #3d100b);
  border: 1px solid rgba(255, 218, 147, 0.18);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.brown-card:after {
  position: absolute;
  right: -35px;
  bottom: -62px;
  width: 230px;
  height: 300px;
  background: none;
  content: "";
  opacity: 0.08;
  filter: brightness(4);
}
.brown-card > * {
  position: relative;
  z-index: 1;
}
.brown-card h2,
.brown-card h3 {
  color: #ffd574;
}
.brown-card p {
  color: #fff4dd;
  line-height: 1.85;
}
.light-card {
  padding: clamp(25px, 4vw, 42px);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.light-card h2,
.light-card h3 {
  color: var(--wine);
}
.light-card p,
.light-card li {
  color: #51382c;
  line-height: 1.85;
}
.section-title {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}
.section-title span {
  color: var(--rust);
  font-weight: 800;
}
.section-title h2 {
  margin: 7px 0 10px;
  color: var(--wine);
  font-size: clamp(30px, 4vw, 48px);
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.content-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 13px 30px rgba(78, 27, 8, 0.09);
  transition: 0.25s;
}
.content-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px rgba(78, 27, 8, 0.15);
}
.content-card .card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  color: #fff;
  background: linear-gradient(145deg, #c77a20, #812315);
  border-radius: 14px;
  font-size: 22px;
}
.content-card h3 {
  margin: 0 0 9px;
  color: var(--wine);
  font-size: 22px;
}
.content-card p {
  margin: 0;
  color: #60483c;
  line-height: 1.75;
}
.content-card.dark {
  color: #fff;
  background: linear-gradient(145deg, #792318, #42110c);
}
.content-card.dark h3 {
  color: #ffd574;
}
.content-card.dark p {
  color: #fff1d8;
}
.content-card.dark:after {
  position: absolute;
  right: -42px;
  bottom: -55px;
  width: 180px;
  height: 235px;
  background: none;
  content: "";
  opacity: 0.07;
  filter: brightness(5);
}
.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 940px;
  margin: auto;
}
.timeline:before {
  position: absolute;
  left: 79px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(#d9952f, #792318);
  content: "";
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
}
.timeline-year {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 58px;
  color: #fff;
  background: var(--wine);
  border: 5px solid #fae6b8;
  border-radius: 14px;
  font-family: Poppins, sans-serif;
  font-size: 19px;
  font-weight: 800;
}
.timeline-copy {
  padding: 24px 27px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 12px 28px rgba(78, 27, 8, 0.08);
}
.timeline-copy h3 {
  margin: 0 0 8px;
  color: var(--wine);
}
.timeline-copy p {
  margin: 0;
  color: #60483c;
  line-height: 1.75;
}
.prose-card {
  max-width: 960px;
  margin: auto;
  padding: clamp(26px, 5vw, 52px);
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.prose-card p,
.prose-card li {
  color: #51382c;
  font-size: 17px;
  line-height: 1.9;
}
.verse {
  white-space: pre-line;
  text-align: center;
  color: #512a1b;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 2.1;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(145deg, #7b2519, #3f100b);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.quote-card p {
  font-size: 17px;
  line-height: 1.85;
}
.quote-card cite {
  color: #ffd574;
  font-style: normal;
  font-weight: 800;
}
.jubilee-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.jubilee-page-card {
  position: relative;
  min-height: 380px;
  padding: 30px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.jubilee-page-card:after {
  position: absolute;
  right: -25px;
  bottom: -55px;
  width: 220px;
  height: 290px;
  background: none;
  content: "";
  opacity: 0.09;
}
.jubilee-page-card > * {
  position: relative;
  z-index: 1;
}
.jubilee-page-card .big-year {
  color: rgba(100, 22, 13, 0.13);
  font:
    800 76px/1 Poppins,
    sans-serif;
}
.jubilee-page-card h2 {
  color: var(--wine);
}
.jubilee-page-card p {
  color: #554036;
  line-height: 1.8;
}
.jubilee-page-card.gold {
  background: linear-gradient(145deg, #fffdf3, #ffe0a0);
}
.jubilee-page-card.diamond {
  background: linear-gradient(145deg, #fff, #e4ebef);
}
.jubilee-page-card.platinum {
  background: linear-gradient(145deg, #fffdf7, #ded5c3);
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.schedule-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 22px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(78, 27, 8, 0.08);
}
.schedule-date {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: #fff;
  text-align: center;
  background: var(--wine);
  border-radius: 14px;
}
.schedule-date strong {
  display: block;
  font:
    800 30px/1 Poppins,
    sans-serif;
}
.schedule-card h3 {
  margin: 4px 0 8px;
  color: var(--wine);
}
.schedule-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-person {
  padding: 28px;
  text-align: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.contact-person h3 {
  color: var(--wine);
}
.contact-person a {
  display: inline-block;
  margin-top: 8px;
  color: var(--rust);
  font-weight: 800;
  text-decoration: none;
}
.bank-panel {
  margin-top: 25px;
}
.bank-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.bank-list div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}
.bank-list span {
  display: block;
  color: #e9c883;
  font-size: 13px;
}
.bank-list strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  overflow-wrap: anywhere;
}
.page-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 35px;
  padding: 42px clamp(20px, 6vw, 80px) 22px;
  color: #f7dfb4;
  background: linear-gradient(180deg, #43110b, #230704);
}
.page-footer h3 {
  margin-top: 0;
  color: #fff;
}
.page-footer a,
.page-footer p {
  display: block;
  margin: 8px 0;
  color: #f7dfb4;
  text-decoration: none;
}
.page-footer .copyright {
  grid-column: 1/-1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #e3b965;
}
@media (max-width: 1100px) {
  .inner-header {
    grid-template-columns: auto auto;
  }
  .inner-nav {
    grid-column: 1/-1;
    order: 3;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .inner-actions {
    justify-self: end;
  }
  .card-grid,
  .jubilee-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .inner-header {
    display: flex;
    flex-wrap: wrap;
    min-height: 68px;
    padding: 9px 15px;
  }
  .inner-brand {
    min-width: 0;
    flex: 1;
  }
  .inner-brand strong {
    font-size: 17px;
  }
  .inner-brand small {
    font-size: 12px;
  }
  .menu-toggle {
    display: block;
  }
  .inner-actions {
    margin-left: auto;
  }
  .inner-nav {
    display: none;
    order: 4;
    width: 100%;
    padding: 14px 0 5px;
    flex-direction: column;
    align-items: flex-start;
  }
  .inner-nav.open {
    display: flex;
  }
  .page-language button {
    padding: 6px 7px;
    font-size: 12px;
  }
  .page-hero {
    min-height: 410px;
    padding: 55px 20px;
  }
  .page-main {
    width: min(100% - 28px, 1180px);
    padding: 42px 0 58px;
  }
  .intro-panel,
  .card-grid,
  .quote-grid,
  .jubilee-page-grid,
  .schedule-grid,
  .contact-grid,
  .page-footer {
    grid-template-columns: 1fr;
  }
  .timeline:before {
    left: 28px;
  }
  .timeline-item {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }
  .timeline-year {
    width: 58px;
    min-height: 48px;
    border-width: 3px;
    font-size: 13px;
  }
  .timeline-copy {
    padding: 19px;
  }
  .bank-list {
    grid-template-columns: 1fr;
  }
  .page-footer {
    padding: 35px 20px 18px;
  }
  .jubilee-page-card {
    min-height: 330px;
  }
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.media-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #28100b;
  box-shadow: var(--shadow);
}
.media-tile:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.media-tile:hover img {
  transform: scale(1.05);
}
.media-tile span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  padding: 11px 13px;
  color: #fff;
  background: rgba(47, 13, 8, 0.72);
  border-radius: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.founder-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #782318, #3b0e09);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.founder-card:before {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 210px;
  height: 270px;
  background: none;
  content: "";
  opacity: 0.07;
  filter: brightness(5);
}
.founder-card > * {
  position: relative;
  z-index: 1;
}
.founder-card .founder-number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 80px;
  border: 1px solid rgba(255, 216, 137, 0.5);
  border-radius: 50%;
  color: #ffd574;
  font:
    800 22px Poppins,
    sans-serif;
}
.founder-card h2 {
  color: #ffd574;
  font-size: 27px;
}
.founder-card p {
  color: #fff0d5;
  line-height: 1.8;
}
@media (max-width: 760px) {
  .media-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-auto-rows: 300px;
  }
  .media-tile:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  .founder-card {
    min-height: 330px;
  }
  .founder-card .founder-number {
    margin-bottom: 45px;
  }
}
.managed-event-list {
  display: grid;
  gap: 18px;
}
.managed-event-card {
  position: relative;
  padding: 27px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.managed-event-card.featured {
  padding-top: 62px;
  color: #fff;
  background: linear-gradient(135deg, #741c0e, #350906);
  border-color: #e5ad49;
}
.managed-event-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  color: #5c1208;
  background: #ffd36d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.managed-event-card h3 {
  margin: 0 0 8px;
  color: var(--wine);
  font-size: 27px;
}
.managed-event-card p {
  margin: 0 0 10px;
  color: #60483c;
  line-height: 1.75;
}
.managed-event-card strong {
  color: #8d5c35;
}
.managed-event-card.featured > span {
  position: absolute;
  left: 27px;
  top: 20px;
}
.managed-event-card.featured h3 {
  color: #ffd474;
}
.managed-event-card.featured p,
.managed-event-card.featured strong {
  color: #fff0d4;
}
/* Related hero artwork treatment */
.page-hero {
  background-position: center !important;
  background-size: cover !important;
}
.page-hero:before {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 75% 45%,
    transparent 0 18%,
    rgba(29, 7, 4, 0.16) 52%,
    rgba(29, 7, 4, 0.42) 100%
  );
  content: "";
  z-index: 0;
}

/* Jubilee page v2: premium highlighted milestone cards */
.jubilee-page-grid {
  gap: 26px;
  perspective: 1200px;
}
.jubilee-page-card {
  position: relative;
  min-height: 430px;
  padding: 34px 30px 32px;
  border: 1px solid rgba(108, 60, 17, 0.24);
  border-radius: 30px;
  isolation: isolate;
  box-shadow:
    0 25px 55px rgba(62, 22, 7, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.9);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.jubilee-page-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow:
    0 38px 75px rgba(62, 22, 7, 0.3),
    0 0 0 6px rgba(230, 169, 60, 0.12);
}
.jubilee-page-card:before {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  content: "";
  z-index: -1;
}
.jubilee-page-card:after {
  right: -48px;
  bottom: -72px;
  width: 275px;
  height: 350px;
  opacity: 0.14;
  z-index: -1;
}
.jubilee-page-card.gold {
  background:
    radial-gradient(circle at 18% 10%, #fffbd7 0 12%, transparent 34%),
    linear-gradient(145deg, #fff2ac, #d99a20 54%, #8d4a0c);
}
.jubilee-page-card.diamond {
  background:
    radial-gradient(circle at 18% 10%, #fff 0 12%, transparent 34%),
    linear-gradient(145deg, #f8fdff, #abc8d5 54%, #526a76);
}
.jubilee-page-card.platinum {
  background:
    radial-gradient(circle at 18% 10%, #fffdf3 0 12%, transparent 34%),
    linear-gradient(145deg, #fffdf6, #cabd9d 54%, #72624a);
}
.jubilee-page-card .big-year {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 42px;
  color: #fff;
  background: linear-gradient(145deg, #7b2416, #3d0d08);
  border: 8px double rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font:
    800 50px/1 Poppins,
    sans-serif;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  box-shadow:
    0 15px 30px rgba(64, 23, 8, 0.3),
    0 0 0 8px rgba(255, 255, 255, 0.2);
}
.jubilee-page-card .big-year:after {
  position: absolute;
  margin-top: 139px;
  padding: 6px 12px;
  color: #fff;
  background: #67170d;
  border-radius: 999px;
  content: "YEARS";
  font:
    800 10px Poppins,
    sans-serif;
  letter-spacing: 0.18em;
}
.jubilee-page-card .page-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(69, 23, 9, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font:
    800 12px Poppins,
    sans-serif;
}
.jubilee-page-card h2 {
  margin: 7px 0 12px;
  color: #3e160b;
  font-size: 29px;
}
.jubilee-page-card p {
  margin: 0;
  color: #392820;
  font-weight: 600;
  line-height: 1.85;
}
@media (max-width: 760px) {
  .jubilee-page-card {
    min-height: 390px;
  }
  .jubilee-page-card .big-year {
    width: 96px;
    height: 96px;
    font-size: 43px;
  }
}

/* Language-aware Jubilee labels */
html[lang="hi"] .jubilee-page-card .big-year:after {
  content: "????";
}
html[lang="en"] .jubilee-page-card .big-year:after {
  content: "YEARS";
}

/* Gallery: 4/3-column equal cards and full-screen image zoom */
.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}
.media-tile:first-child {
  grid-column: auto;
  grid-row: auto;
}
.media-tile {
  cursor: zoom-in;
}
.media-tile img {
  user-select: none;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 28px 48px;
  background: rgba(17, 5, 3, 0.94);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  backdrop-filter: blur(10px);
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox img {
  display: block;
  max-width: min(1180px, 94vw);
  max-height: 78vh;
  object-fit: contain;
  border: 4px solid rgba(255, 222, 158, 0.8);
  border-radius: 14px;
  background: #170704;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.gallery-lightbox.open img {
  transform: scale(1);
}
.gallery-lightbox p {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  margin: 0;
  color: #ffe3aa;
  text-align: center;
  font-weight: 800;
}
.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 218, 146, 0.65);
  border-radius: 50%;
  color: #fff;
  background: #721d11;
  font:
    400 34px/1 Arial,
    sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
body.lightbox-open {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 225px;
  }
}
@media (max-width: 760px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
  .media-tile:first-child {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }
  .gallery-lightbox {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Gallery image fit: equal boxes, full image visible */
.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}
.media-tile,
.media-tile:first-child {
  grid-column: auto !important;
  grid-row: auto !important;
}
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #170904;
  transform: none !important;
}
.media-tile:hover img {
  transform: none !important;
}
@media (max-width: 1100px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 225px;
  }
}
@media (max-width: 760px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
}
@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }
}
/* Page hero asset slider */
.page-hero {
  isolation: isolate;
  background: #210904 !important;
}
.page-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #210904;
}
.page-hero-slider span {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  animation: pageHeroAssetSlide 24s ease-in-out infinite;
  filter: saturate(1.08) contrast(1.02);
}
.page-hero-slider span:nth-child(1) {
  animation-delay: 0s;
}
.page-hero-slider span:nth-child(2) {
  animation-delay: 6s;
}
.page-hero-slider span:nth-child(3) {
  animation-delay: 12s;
}
.page-hero-slider span:nth-child(4) {
  animation-delay: 18s;
}
.page-hero:before,
.page-hero:after {
  z-index: 1;
  pointer-events: none;
}
.page-hero-content {
  z-index: 2;
}
@keyframes pageHeroAssetSlide {
  0%,
  3% {
    opacity: 0;
    transform: scale(1.03);
  }
  8%,
  25% {
    opacity: 1;
  }
  31%,
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}
@media (max-width: 760px) {
  .page-hero-slider span {
    background-size: cover;
    background-position: center;
  }
}
/* Gallery 2025 album downloads */
.gallery-album-2025 {
  margin-bottom: 58px;
}
.gallery-archive-title {
  margin-top: 18px;
}
.media-download,
.gallery-lightbox-download {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 225, 164, 0.78);
  border-radius: 999px;
  color: #fff;
  background: #7b2114;
  font:
    800 12px/1 Poppins,
    "Noto Sans Devanagari",
    sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.media-download {
  top: 12px;
  right: 12px;
  opacity: 0.96;
}
.media-download:hover,
.gallery-lightbox-download:hover {
  background: #a4341d;
}
.gallery-lightbox-download {
  top: 23px;
  right: 86px;
  min-height: 42px;
  padding-inline: 16px;
  background: #8d2b18;
}
@media (max-width: 560px) {
  .gallery-lightbox-close {
    right: 14px;
  }
  .gallery-lightbox-download {
    left: 14px;
    right: auto;
    top: 22px;
  }
  .media-download {
    opacity: 1;
  }
}

/* Gallery year folder */
.gallery-folder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 42px;
}
.gallery-folder-card {
  position: relative;
  min-height: 190px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(150, 91, 42, 0.26);
  border-radius: 18px;
  color: #4b170d;
  background: linear-gradient(145deg, #fff9ea, #ffe2a4);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.gallery-folder-card:hover,
.gallery-folder-card[aria-expanded="true"] {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(78, 27, 8, 0.18);
}
.gallery-folder-card strong {
  display: block;
  margin-top: 20px;
  color: var(--wine);
  font:
    800 34px/1 Poppins,
    "Noto Sans Devanagari",
    sans-serif;
}
.gallery-folder-card small {
  display: block;
  margin-top: 9px;
  color: #6f4a35;
  font-weight: 800;
}
.gallery-folder-icon {
  position: relative;
  display: block;
  width: 112px;
  height: 78px;
  border-radius: 10px 12px 12px 12px;
  background: linear-gradient(145deg, #e9ac3f, #b75b18);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.55),
    0 14px 24px rgba(108, 49, 10, 0.2);
}
.gallery-folder-icon:before {
  position: absolute;
  left: 0;
  top: -17px;
  width: 54px;
  height: 24px;
  border-radius: 10px 10px 0 0;
  background: #f2c96b;
  content: "";
}
.gallery-folder-icon:after {
  position: absolute;
  inset: 12px 10px auto auto;
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 248, 225, 0.78);
  content: "";
}
.gallery-album-heading {
  scroll-margin-top: 100px;
}
@media (max-width: 1100px) {
  .gallery-folder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .gallery-folder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-folder-card {
    min-height: 170px;
  }
  .gallery-folder-card strong {
    font-size: 30px;
  }
}
@media (max-width: 480px) {
  .gallery-folder-grid {
    grid-template-columns: 1fr;
  }
}

/* Force collapsed gallery folders to stay hidden */
[hidden] {
  display: none !important;
}
.gallery-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 10px 16px;
  border: 1px solid rgba(150, 91, 42, 0.28);
  border-radius: 999px;
  color: #fff;
  background: #7b2114;
  font:
    800 13px/1 Poppins,
    "Noto Sans Devanagari",
    sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(78, 27, 8, 0.14);
}
.gallery-back-button:hover {
  background: #a4341d;
}

/* Location line under subpage header logo */
.inner-brand small {
  display: block;
}
.inner-brand-location {
  color: #8d2b18 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  margin-top: 1px;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 760px) {
  .inner-brand-location {
    font-size: 10.5px !important;
  }
}

.book-feature {
  margin-bottom: 42px;
}
.book-showcase-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(
    145deg,
    rgba(255, 253, 248, 0.98),
    rgba(255, 244, 222, 0.94)
  );
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.book-image-frame {
  overflow: hidden;
  border: 10px solid #fff7e8;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(78, 27, 8, 0.18);
  background: #f6dcc7;
}
.book-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45/1;
  object-fit: cover;
}
.book-showcase-card h2 {
  margin: 8px 0 12px;
  color: var(--wine);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}
.book-showcase-card p {
  margin: 0;
  color: #55392b;
  font-size: 18px;
  line-height: 1.85;
}
.book-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.book-info-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) 1fr;
  gap: 24px;
  align-items: stretch;
  min-height: 390px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(78, 27, 8, 0.1);
  transition: 0.25s;
}
.book-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(78, 27, 8, 0.16);
}
.book-card-image {
  overflow: hidden;
  border-radius: 16px;
  background: #f8e2ca;
}
.book-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-card-image.book-cover img {
  object-position: center;
}
.book-card-image.author-portrait img {
  object-position: center top;
}
.book-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 12px 14px 0;
}
.book-card-copy h3 {
  margin: 8px 0 10px;
  color: var(--wine);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
}
.book-card-copy p {
  margin: 0;
  color: #60483c;
  font-size: 16px;
  line-height: 1.8;
}
.author-card {
  background: linear-gradient(145deg, #fffdf8, #fff0de);
}
.book-section-spaced {
  margin-top: 54px;
}
@media (max-width: 1100px) {
  .book-showcase-card,
  .book-info-card {
    grid-template-columns: 1fr;
  }
  .book-card-grid {
    grid-template-columns: 1fr;
  }
  .book-card-image {
    min-height: 360px;
  }
  .book-card-copy {
    padding: 8px 4px 4px;
  }
}
@media (max-width: 760px) {
  .book-feature {
    margin-bottom: 34px;
  }
  .book-showcase-card {
    padding: 18px;
    border-radius: 18px;
  }
  .book-image-frame {
    border-width: 7px;
  }
  .book-image-frame img {
    aspect-ratio: 1/1.12;
  }
  .book-showcase-card p {
    font-size: 16px;
  }
  .book-info-card {
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
  }
  .book-card-image {
    min-height: 300px;
  }
  .book-card-copy h3 {
    font-size: 25px;
  }
  .book-section-spaced {
    margin-top: 42px;
  }
}
.author-feature-card {
  grid-column: 1/-1;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  min-height: 430px;
}
.author-feature-card .book-card-copy {
  padding: 18px 20px 18px 0;
}
.author-feature-card .book-card-copy p {
  font-size: 17px;
  line-height: 1.88;
}
@media (max-width: 1100px) {
  .author-feature-card {
    grid-template-columns: 1fr;
  }
  .author-feature-card .book-card-copy {
    padding: 8px 4px 4px;
  }
}
.book-feature-card {
  grid-column: 1/-1;
  grid-template-columns: minmax(360px, 0.46fr) 1fr;
  min-height: 520px;
}
.book-feature-card .book-card-image {
  display: grid;
  place-items: center;
  padding: 14px;
  background: linear-gradient(145deg, #d8f0ff, #fff7e8);
}
.book-feature-card .book-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.book-feature-card .book-card-copy {
  padding: 20px 22px 20px 0;
}
.book-feature-card .book-card-copy p {
  font-size: 18px;
  line-height: 1.9;
}
@media (max-width: 1100px) {
  .book-feature-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .book-feature-card .book-card-image {
    min-height: 520px;
  }
  .book-feature-card .book-card-copy {
    padding: 8px 4px 4px;
  }
}
@media (max-width: 760px) {
  .book-feature-card .book-card-image {
    min-height: 390px;
    padding: 10px;
  }
  .book-feature-card .book-card-copy p {
    font-size: 16px;
  }
}

/* Compact logo badge in headers */
.brand-mark,
.inner-brand-mark {
  overflow: hidden;
  flex: 0 0 auto;
  background: #fff !important;
  border-radius: 50% !important;
}
.brand-logo-img {
  width: 88%;`r`n  height: 88%;`r`n  margin: auto;`r`n  object-fit: contain;
  object-position: center;
  transform: none;
  border-radius: 50%;
  background: #fff;
}

/* Gallery is view-only; downloads are intentionally hidden */
.media-download,
.gallery-lightbox-download {
  display: none !important;
}

/* Subpage header consistency and larger book cover */
.inner-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}
.inner-brand span:last-child small {
  display: block;
}
.inner-brand-location + small {
  margin-top: 1px;
}
.book-feature-card {
  grid-template-columns: minmax(600px, 0.68fr) 1fr !important;
  min-height: 660px !important;
}
.book-feature-card .book-card-image {
  min-height: 640px;
  padding: 8px !important;
}
.book-feature-card .book-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
@media (max-width: 1100px) {
  .book-feature-card {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .book-feature-card .book-card-image {
    min-height: 660px;
  }
}
@media (max-width: 760px) {
  .book-feature-card .book-card-image {
    min-height: 520px !important;
  }
}
@media (max-width: 480px) {
  .book-feature-card .book-card-image {
    min-height: 430px !important;
  }
}

/* Fixed navbar on every inner page, matching the home behavior */
body.subpage {
  padding-top: 78px;
}
body.subpage .inner-header {
  position: fixed !important;
  left: 0;
  right: 0;
  top: 0 !important;
  width: 100%;
  z-index: 1000 !important;
}
body.subpage .page-hero {
  scroll-margin-top: 96px;
}
@media (max-width: 1100px) {
  body.subpage {
    padding-top: 126px;
  }
}
@media (max-width: 760px) {
  body.subpage {
    padding-top: 68px;
  }
  body.subpage:has(.inner-nav.open) {
    padding-top: 220px;
  }
}

/* Founder page portraits: show full supplied image, no duplicate printed name needed below */
.founder-card {
  display: flex;
  flex-direction: column;
  min-height: 0 !important;
  padding: 14px 14px 24px !important;
  color: #fff;
}
.founder-card:before {
  position: relative !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4/5;
  margin: 0 0 18px !important;
  border: 1px solid rgba(255, 216, 137, 0.65);
  border-radius: 14px;
  background-color: #f8dcc5 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  content: "";
  opacity: 1 !important;
  filter: none !important;
}
.founder-card:nth-child(1):before {
  background-image: url("../assets/premnath.jpeg") !important;
}
.founder-card:nth-child(2):before {
  background-image: url("../assets/founder-prakashnath-updated.jpeg") !important;
}
.founder-card:nth-child(3):before {
  background-image: url("../assets/founder-jayanti-prasad-babbu.jpeg") !important;
}
.founder-card .founder-number {
  display: none !important;
}
.founder-card h2 {
  display: none !important;
}
.founder-card p {
  margin: 0;
  padding: 0 6px;
}
@media (max-width: 760px) {
  .founder-card:before {
    aspect-ratio: 4/5;
  }
}
