:root {
  --bss-bg: #faf7ef;
  --bss-section-bg: #efe3cf;
  --bss-surface: #faf7ef;
  --bss-primary: #7a1e22;
  --bss-primary-dark: #4a1114;
  --bss-secondary: #a85d3a;
  --bss-secondary-dark: #7a1e22;
  --bss-gold: #b9934a;
  --bss-gold-soft: #d8c5a5;
  --bss-brown: #2b2118;
  --bss-text: #2b2118;
  --bss-muted: #6f6254;
  --bss-border: rgba(216, 197, 165, 0.72);
  --bss-white: rgba(250, 247, 239, 0.8);
  --bss-white-solid: #faf7ef;
  --bss-saffron: #b9934a;
  --bss-vermilion: #7a1e22;
  --bss-deep: #2b2118;
  --shadow: 0 18px 46px rgba(43, 33, 24, 0.1);
  --shadow-strong: 0 34px 86px rgba(43, 33, 24, 0.2);
  --shadow-soft: 0 10px 30px rgba(122, 30, 34, 0.08);
  --radius: 24px;
  --max: 1180px;
  --sacred-ease: cubic-bezier(0.2, 0.8, 0.18, 1);
  --hover-delay: 0.12s;
  --hover-lift: translateY(0);
  --hover-shadow: 0 18px 42px rgba(43, 33, 24, 0.1);
  --main-nav-height: 48px;
  --mobile-header-height: 96px;
}

* {
  box-sizing: border-box;
}

html[lang="en"] [data-i18n="bn"],
html[lang="bn"] [data-i18n="en"] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bss-bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--bss-text);
  background:
    radial-gradient(
      circle at 8% 4%,
      rgba(216, 197, 165, 0.48),
      transparent 28%
    ),
    radial-gradient(circle at 95% 9%, rgba(122, 30, 34, 0.13), transparent 30%),
    radial-gradient(
      circle at 42% 100%,
      rgba(185, 147, 74, 0.24),
      transparent 34%
    ),
    linear-gradient(180deg, #faf7ef 0%, #efe3cf 44%, #efe3cf 100%);
  font-family: "Trebuchet MS", Inter, Lato, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  overflow-x: hidden;
}

main,
header,
footer,
section,
nav {
  max-width: 100%;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(
        circle at 20px 20px,
        rgba(122, 30, 34, 0.065) 1.2px,
        transparent 1.4px
      )
      0 0 / 44px 44px,
    radial-gradient(
        circle at 22px 22px,
        rgba(185, 147, 74, 0.08) 1px,
        transparent 1.2px
      )
      22px 22px / 58px 58px,
    linear-gradient(
      135deg,
      rgba(122, 30, 34, 0.04),
      transparent 40%,
      rgba(185, 147, 74, 0.08)
    );
}

body::after {
  content: "ॐ";
  position: fixed;
  right: clamp(-64px, -5vw, -28px);
  bottom: clamp(-72px, -7vw, -30px);
  z-index: -1;
  color: rgba(122, 30, 34, 0.045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(9rem, 22vw, 22rem);
  line-height: 1;
  pointer-events: none;

  display: none;
}

::selection {
  color: #faf7ef;
  background: var(--bss-primary);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  background: var(--bss-section-bg);

  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

img.is-broken {
  min-height: 240px;
  background:
    radial-gradient(circle at 50% 36%, #fff9e6 0 13%, transparent 14%),
    radial-gradient(
      circle at 50% 38%,
      rgba(122, 30, 34, 0.2) 0 24%,
      transparent 25%
    ),
    linear-gradient(135deg, #fff2cf, #d8aa56 52%, #9c391a);
  filter: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(185, 147, 74, 0.42);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
  max-width: 100%;
}

.container > *,
.section > *,
.card,
.activity-card,
.album-card,
.donation-card,
.donation-option-card,
.detail,
.sidebar {
  min-width: 0;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--bss-white);
  background: var(--bss-primary);
}

[data-page].is-hidden-page,
[data-donation-overview].is-hidden-page,
[data-donation-page].is-hidden-page {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  color: var(--bss-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  color: var(--bss-white);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.58rem, 3vw, 2.45rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 14px;
  color: var(--bss-muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.drop-cap::first-letter {
  float: left;
  margin: 0.02em 0.09em 0.08em 0;
  font-family: "Pinyon Script", "Georgia", cursive;
  font-size: 4.2em;
  font-weight: 400;
  line-height: 0.78;
  background: linear-gradient(
    160deg,
    var(--bss-primary) 10%,
    var(--bss-saffron) 55%,
    var(--bss-gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--bss-primary);
}

.site-header {
  position: relative;
  z-index: 90;
  box-shadow: 0 22px 54px rgba(33, 12, 8, 0.15);
}

.top-strip {
  overflow: hidden;
  background:
    linear-gradient(90deg, #2b2118, #7a1e22 44%, #2b2118), var(--bss-deep);
  color: rgba(255, 248, 237, 0.92);
  font-size: 0.8rem;
}

.top-strip__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 34px;
  padding-block: 5px;
  overflow: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 147, 74, 0.55) transparent;
}

.top-strip a,
.top-strip span {
  color: rgba(255, 248, 226, 0.88);
  white-space: nowrap;
  font-weight: 750;
}

.top-strip a:hover {
  color: var(--bss-gold-soft);
}

.language-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 3px;
  border: 1px solid rgba(216, 197, 165, 0.38);
  border-radius: 999px;
  background: rgba(250, 247, 239, 0.1);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
}

.language-toggle button {
  min-width: 68px;
  min-height: 22px;
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(250, 247, 239, 0.82);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-toggle button.is-active {
  color: var(--bss-brown);
  background: linear-gradient(135deg, var(--bss-gold-soft), var(--bss-gold));
  box-shadow: 0 6px 14px rgba(43, 33, 24, 0.14);
}

.language-toggle button:focus-visible {
  outline: 2px solid rgba(185, 147, 74, 0.45);
  outline-offset: 2px;
}

.identity {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 247, 0.97),
      rgba(255, 245, 222, 0.95)
    ),
    radial-gradient(circle at 24% 0, rgba(185, 147, 74, 0.3), transparent 34%);
  box-shadow: 0 18px 40px rgba(43, 33, 24, 0.08);
}

/* .identity .container {
    width: calc(100% - 140px);
    max-width: none;
} */

.top-strip .container,
.identity .container {
  width: calc(100% - 140px);
  max-width: none;
}

.identity::before,
.identity::after {
  display: none;
}

.identity__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  isolation: isolate;
}

.brand__logo {
  position: relative;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bss-primary-dark);
  background: radial-gradient(
    circle,
    #fffef9 0 28%,
    #ffe7b1 29% 45%,
    #c98a2a 46% 48%,
    #fff6de 49% 100%
  );
  border: 2px solid rgba(122, 30, 34, 0.2);
  box-shadow:
    0 0 0 7px rgba(185, 147, 74, 0.14),
    0 18px 40px rgba(137, 43, 26, 0.17);
  /* animation: diyaGlow 4.6s ease-in-out infinite; */
  overflow: hidden;
}

/* .brand__logo::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: 50%;
  border: 1px dashed rgba(122,30,34,.28);
  animation: sacredSpin 18s linear infinite;
} */

.brand__logo img {
  width: 82%;
  height: 82%;
  max-width: 82%;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.brand strong {
  display: block;
  color: #2b2118;
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.35vw, 2.08rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  white-space: normal;
}

.brand small {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--bss-primary);
  font-weight: 850;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small::before,
.brand small::after {
  content: "";
  color: var(--bss-gold);
  font-size: 0.76rem;
}

.identity__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.identity__actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-right: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
  box-shadow: 0 12px 22px rgba(137, 43, 26, 0.1);
  isolation: isolate;
  transition:
    transform 0.24s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.24s ease var(--hover-delay),
    background 0.24s ease var(--hover-delay),
    border-color 0.24s ease var(--hover-delay),
    color 0.24s ease var(--hover-delay);
}

.btn:hover,
.btn:focus-visible {
  transform: none;
  box-shadow: 0 18px 34px rgba(137, 43, 26, 0.2);
}

.btn--primary {
  color: #fffaf0;
  background:
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, 0.3), transparent 26%),
    linear-gradient(
      135deg,
      var(--bss-vermilion),
      var(--bss-secondary-dark) 56%,
      var(--bss-primary-dark)
    );
  border-color: rgba(255, 224, 160, 0.28);
}

.btn--ghost {
  color: var(--bss-primary-dark);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 226, 168, 0.84)
  );
  border-color: rgba(185, 147, 74, 0.62);
}

.btn--outline {
  color: var(--bss-primary-dark);
  background: rgba(255, 253, 247, 0.86);
  border-color: rgba(122, 30, 34, 0.24);
}

.btn--light {
  color: var(--bss-primary-dark);
  background: linear-gradient(
    135deg,
    rgba(250, 247, 239, 0.92),
    rgba(216, 197, 165, 0.86)
  );
  border-color: rgba(185, 147, 74, 0.42);
}

.main-nav {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(25, 12, 9, 0.98),
    rgba(92, 18, 13, 0.97) 48%,
    rgba(25, 12, 9, 0.98)
  );
  box-shadow: 0 18px 35px rgba(26, 12, 8, 0.2);
  backdrop-filter: blur(14px);
}

body.nav-fixed {
  padding-top: var(--main-nav-height);
}

.main-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 180;
}

.back-button {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 88;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 14px 8px 11px;
  border: 1px solid rgba(185, 147, 74, 0.45);
  border-radius: 999px;
  color: var(--bss-primary-dark);
  background: rgba(250, 247, 239, 0.92);
  box-shadow: 0 14px 34px rgba(43, 33, 24, 0.14);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.back-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.back-button:hover,
.back-button:focus-visible {
  color: #faf7ef;
  background: var(--bss-primary);
  box-shadow: 0 18px 42px rgba(74, 17, 20, 0.22);
}

.back-button.is-disabled,
.back-button:disabled {
  display: none;
}

.sticky-actions {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 88;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}

.sticky-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 50px;
  min-height: 50px;
  border: 1px solid rgba(255, 232, 171, 0.42);
  border-radius: 999px;
  color: #faf7ef;
  background:
    radial-gradient(
      circle at 20% 0,
      rgba(255, 232, 171, 0.22),
      transparent 28%
    ),
    linear-gradient(135deg, var(--bss-primary), var(--bss-secondary-dark));
  box-shadow: 0 16px 34px rgba(74, 17, 20, 0.24);
  overflow: hidden;
  isolation: isolate;
  transition:
    width 0.25s var(--sacred-ease) var(--hover-delay),
    transform 0.25s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.25s ease var(--hover-delay);
}

.sticky-action::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(255, 248, 226, 0.16);
}

.sticky-action:hover,
.sticky-action:focus-visible {
  transform: none;
  box-shadow: 0 20px 44px rgba(74, 17, 20, 0.32);
  outline: none;
}

.sticky-action__icon {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  color: var(--bss-gold-soft);
  font-size: 1.15rem;
  line-height: 1;
}

.sticky-action__text {
  max-width: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  color: #faf7ef;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    max-width 0.25s var(--sacred-ease) var(--hover-delay),
    padding 0.25s var(--sacred-ease) var(--hover-delay),
    opacity 0.18s ease var(--hover-delay);
}

.sticky-action:hover .sticky-action__text,
.sticky-action:focus-visible .sticky-action__text {
  max-width: 92px;
  padding-left: 2px;
  padding-right: 16px;
  opacity: 1;
}

.main-nav__inner {
  /* min-height: var(--main-nav-height); */
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu-head,
.menu > li.mobile-menu-head,
.menu > li.menu__lang {
  display: none;
}

.menu > li {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.menu a,
.menu button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  max-width: 100%;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 248, 226, 0.92);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 0.22s ease var(--hover-delay),
    background 0.22s ease var(--hover-delay),
    box-shadow 0.22s ease var(--hover-delay),
    transform 0.22s var(--sacred-ease) var(--hover-delay);
}

.menu a::before,
.menu button::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--bss-gold), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 0.22s ease var(--hover-delay),
    transform 0.22s var(--sacred-ease) var(--hover-delay);
}

.menu a:hover,
.menu a:focus-visible,
.menu button:hover,
.menu button:focus-visible,
.menu a.is-active,
.dropdown a.is-active {
  color: #d8c5a5;
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: none;
}

.menu a:hover::before,
.menu a:focus-visible::before,
.menu button:hover::before,
.menu button:focus-visible::before,
.menu a.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.has-dropdown > button::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: -3px 0 0 1px;
  border-right: 2px solid var(--bss-gold);
  border-bottom: 2px solid var(--bss-gold);
  transform: rotate(45deg);
  transition: transform 0.22s var(--sacred-ease);
}

.has-dropdown.is-open > button::after {
  transform: translateY(2px) rotate(45deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 4;
  width: max-content;
  min-width: 310px;
  max-width: min(86vw, 380px);
  padding: 12px;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(185, 147, 74, 0.34);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 247, 0.99),
    rgba(255, 245, 222, 0.98)
  );
  box-shadow: 0 28px 70px rgba(52, 18, 10, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.dropdown::before {
  display: none;
}

.dropdown a {
  min-height: 44px;
  border-radius: 12px;
  color: var(--bss-text);
  font-weight: 780;
  white-space: normal;
}

.dropdown a:hover,
.dropdown a.is-active {
  color: var(--bss-primary);
  /* background: linear-gradient(90deg, rgba(185,147,74,.16), rgba(255,255,255,.78)); */
  transform: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 44px;
  border: 1px solid rgba(255, 224, 160, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: linear-gradient(180deg, #4a1114, #210c08);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 880px);
  overflow: hidden;
  /* background:
    radial-gradient(
      circle at 70% 8%,
      rgba(185, 147, 74, 0.22),
      transparent 24%
    ),
    linear-gradient(120deg, #efe3cf, #faf7ef 48%, rgba(122, 30, 34, 0.2)); */
}

/* .hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 132px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 247, 232, 0.78) 82%,
    var(--bss-bg)
  );
} */

/* .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(
      circle at 50% 120px,
      transparent 0 62px,
      rgba(255, 232, 171, 0.6) 64px 66px,
      transparent 67px
    ),
    repeating-radial-gradient(
      circle at 50% 120px,
      transparent 0 35px,
      rgba(255, 232, 171, 0.18) 36px 37px,
      transparent 38px 72px
    );
} */

.hero__track,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slide {
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  background: var(--bss-section-bg);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.95) contrast(1.07) sepia(0.11);
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background:
    linear-gradient(
      90deg,
      rgba(250, 247, 239, 0.88),
      rgba(250, 247, 239, 0.7) 45%,
      rgba(122, 30, 34, 0.18)
    ),
    radial-gradient(
      circle at 78% 34%,
      rgba(185, 147, 74, 0.24),
      transparent 24%
    ); */
  pointer-events: none;
}

/* .hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.88;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(216, 197, 165, 0.28),
      transparent 16%
    ),
    radial-gradient(
      circle at 25% 45%,
      rgba(185, 147, 74, 0.14),
      transparent 28%
    );
} */

.hero__content {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 84px), 660px);
  margin-left: max(18px, calc((100% - var(--max)) / 2));
  padding: clamp(24px, 3.6vw, 42px);
  border: 1px solid rgba(216, 197, 165, 0.72);
  border-radius: 34px 34px 34px 10px;
  background:
    linear-gradient(
      135deg,
      rgba(250, 247, 239, 0.8),
      rgba(250, 247, 239, 0.66)
    ),
    linear-gradient(
      145deg,
      rgba(239, 227, 207, 0.82),
      rgba(250, 247, 239, 0.74)
    );
  box-shadow:
    0 36px 100px rgba(43, 33, 24, 0.16),
    inset 0 1px 0 rgba(250, 247, 239, 0.4);
  backdrop-filter: blur(14px);
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(185, 147, 74, 0.24);
  border-radius: 24px 24px 24px 7px;
  pointer-events: none;
}

.hero__content::after {
  content: "सेवा • साधना • समर्पण";
  position: absolute;
  right: clamp(16px, 3vw, 30px);
  bottom: -17px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  border: 1px solid rgba(185, 147, 74, 0.44);
  border-radius: 999px;
  color: var(--bss-primary-dark);
  background: rgba(250, 247, 239, 0.84);
  box-shadow: 0 12px 30px rgba(43, 33, 24, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.hero__seal {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #46130f;
  background: radial-gradient(
    circle,
    #fff9e6 0 35%,
    #ffd978 36% 58%,
    #a6461a 59% 61%,
    #fff0bd 62% 100%
  );
  border: 1px solid rgba(255, 232, 171, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  animation: diyaGlow 4.6s ease-in-out infinite;
}

.hero .section-label {
  color: var(--bss-primary);
}

.hero__content h1,
.hero__content h2 {
  color: var(--bss-brown);
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.08;
  text-shadow: 0 4px 20px rgba(250, 247, 239, 0.4);
}

.hero__content p:not(.section-label) {
  max-width: 560px;
  color: var(--bss-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(185, 147, 74, 0.44);
  border-radius: 50%;
  color: var(--bss-primary-dark);
  background: rgba(250, 247, 239, 0.8);
  box-shadow: 0 16px 34px rgba(43, 33, 24, 0.14);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.hero__arrow--prev {
  left: clamp(14px, 2vw, 32px);
}

.hero__arrow--next {
  right: clamp(14px, 2vw, 32px);
}

.hero__arrow:hover {
  color: var(--bss-white-solid);
  background: var(--bss-primary);
}

.hero__arrow--prev:hover {
  transform: translateY(-50%);
}

.hero__arrow--next:hover {
  transform: translateY(-50%);
}

.hero__dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero__dots button {
  width: 28px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(185, 147, 74, 0.55);
  border-radius: 999px;
  background: rgba(250, 247, 239, 0.55);
  cursor: pointer;
  transition:
    width 0.22s ease,
    background 0.22s ease;
}

.hero__dots .is-active {
  width: 44px;
  background: linear-gradient(90deg, var(--bss-gold), var(--bss-saffron));
  border-color: var(--bss-gold);
}

.section {
  position: relative;
  padding: clamp(54px, 6.5vw, 86px) 0;
}

.section:not(.hero) {
  overflow: clip;
}

.section:not(.hero):not(.stats)::before {
  content: "";
  position: absolute;
  inset: 34px auto auto 4vw;
  width: clamp(132px, 18vw, 268px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.11;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      transparent 0 28%,
      rgba(122, 30, 34, 0.35) 29% 30%,
      transparent 31%
    ),
    conic-gradient(
      from 0deg,
      transparent 0 7%,
      rgba(185, 147, 74, 0.9) 7% 8.5%,
      transparent 8.5% 15%,
      rgba(122, 30, 34, 0.52) 15% 16%,
      transparent 16% 24%
    );
}

.section:not(.hero):not(.stats)::after {
  content: "";
  position: absolute;
  right: 4vw;
  bottom: 26px;
  width: clamp(80px, 11vw, 150px);
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 8%;
  opacity: 0.08;
  pointer-events: none;
  background: var(--bss-primary);
  transform: rotate(45deg);
}

.soft,
.archive-gallery,
.philosophy,
.donation-section {
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(255, 225, 158, 0.4),
      transparent 28%
    ),
    radial-gradient(circle at 90% 84%, rgba(122, 30, 34, 0.1), transparent 32%),
    linear-gradient(
      180deg,
      rgba(255, 252, 244, 0.82),
      rgba(247, 232, 207, 0.88)
    );
}

body:not(.is-home-route) .section {
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(255, 225, 158, 0.4),
      transparent 28%
    ),
    radial-gradient(circle at 90% 84%, rgba(122, 30, 34, 0.1), transparent 32%),
    linear-gradient(
      180deg,
      rgba(255, 252, 244, 0.82),
      rgba(247, 232, 207, 0.88)
    );
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.archive-intro h2,
.split h2,
.foundation-story h2,
.detail > h2 {
  font-size: clamp(1.58rem, 3vw, 2.45rem);
  line-height: 1.14;
}

.section-heading h2,
.section-heading > p:not(.section-label),
.archive-intro h2,
.archive-intro > p:not(.section-label) {
  margin-inline: auto;
}

.section-label {
  margin: 0 0 7px;
  color: var(--bss-primary);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading .section-label,
.archive-intro .section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.section-heading .section-label::before,
.section-heading .section-label::after,
.archive-intro .section-label::before,
.archive-intro .section-label::after {
  content: "✧";
  color: var(--bss-gold);
  letter-spacing: 0;
}

.section-heading::after,
.archive-intro::after {
  display: none;
  content: none;
}

.card-grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 32px);
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

@media (min-width: 1061px) {
  #news .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

#publications .card-grid {
  grid-template-columns: minmax(0, 1fr);
}

.book-section-heading {
  max-width: 760px;
  margin: clamp(36px, 4.5vw, 56px) auto 30px;
  text-align: center;
}

.book-section-heading__title {
  margin: 0 auto;
  font-size: clamp(1.58rem, 3vw, 2.45rem);
  line-height: 1.14;
}

.book-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

.book-card {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.book-card--reverse {
  flex-direction: row-reverse;
}

.book-card__cover {
  display: grid;
  flex: 0 0 40%;
  place-items: center;
  aspect-ratio: 3 / 4;
  border-right: 1px solid rgba(122, 30, 34, 0.15);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 242, 209, 0.88)
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(185, 147, 74, 0.14) 0 8px,
      transparent 8px 16px
    );
}

.book-card--reverse .book-card__cover {
  border-right: none;
  border-left: 1px solid rgba(122, 30, 34, 0.15);
}

.book-card__cover-image,
.book-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 30px);
}

.book-card__title {
  margin: 0 0 4px;
  color: #2b2118;
}

.book-card__title--bn {
  margin: 0;
  color: var(--bss-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.book-card__desc {
  margin: 12px 0 0;
  color: var(--bss-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 560px) {
  .book-card,
  .book-card--reverse {
    flex-direction: column;
  }

  .book-card__cover {
    flex: none;
    aspect-ratio: 4 / 3;
    border-right: none;
    border-bottom: 1px solid rgba(122, 30, 34, 0.15);
  }

  .book-card--reverse .book-card__cover {
    border-left: none;
    border-bottom: 1px solid rgba(122, 30, 34, 0.15);
  }
}

.library-note {
  max-width: 640px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  text-align: center;
}

.library-note p {
  margin: 0 0 18px;
}

.library-list {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.6vw, 36px);
  margin: clamp(28px, 4vw, 40px) auto 0;
}

.library-entry {
  position: relative;
  overflow: clip;
  border: 1px solid rgba(122, 30, 34, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 247, 229, 0.92)
  );
  box-shadow: var(--shadow);
  transition:
    transform 0.26s var(--sacred-ease),
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

.library-entry:hover {
  box-shadow: var(--hover-shadow);
  border-color: rgba(122, 30, 34, 0.3);
}

.library-entry::before {
  content: "";
  position: absolute;
  inset: auto auto 0;
  width: 100%;
  height: 5px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--bss-primary) 0 14%,
    var(--bss-saffron) 14% 34%,
    var(--bss-gold) 34% 66%,
    transparent 66% 100%
  );
}

.library-entry__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bss-section-bg);
}

.library-entry__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.5s var(--sacred-ease);
}

.library-entry:hover .library-entry__figure img {
  transform: scale(1.03);
}

.library-entry__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(33, 20, 16, 0) 50%,
    rgba(43, 20, 18, 0.72) 100%
  );
}

.library-entry__figure figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;

  padding: 7px 16px;
  border: 1px solid rgba(255, 248, 226, 0.38);
  border-radius: 999px;

  color: #faf7ef;
  background: rgba(74, 17, 20, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);

  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.library-entry__body {
  position: relative;
  z-index: 3;
  padding: 22px 26px 26px;
}

.library-entry__body .pill {
  margin-bottom: 12px;
}

.library-entry__body p {
  margin: 0 0 14px;
  color: var(--bss-muted);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.library-entry__body p:last-child {
  margin-bottom: 0;
}

.library-entry__body .library-feature__subtitle {
  text-align: left;
}

@media (max-width: 640px) {
  .library-entry__figure {
    aspect-ratio: 4 / 3;
  }

  .library-entry__body {
    padding: 18px 20px 22px;
  }
}

.library-feature {
  padding: clamp(22px, 3vw, 30px);
  color: #4d3a2b;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.library-feature::after {
  content: "";
  display: table;
  clear: both;
}

.library-feature__figure {
  float: left;
  width: min(38%, 360px);
  margin: 4px clamp(22px, 3.4vw, 38px) 22px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.library-feature__figure img {
  min-height: 360px;
  max-height: 480px;
}

.library-feature__figure--large {
  width: min(65%, 630px);
}

.library-feature__figure--large img {
  min-height: 0;
  max-height: none;
  height: auto;
  object-fit: contain;
}

.library-feature .pill {
  margin-bottom: 10px;
}

.library-feature h3 {
  margin-bottom: 6px;
  text-align: left;
}

.library-feature__subtitle {
  margin: 0 0 16px;
  color: var(--bss-primary-dark);
  font-weight: 800;
  text-align: left;
}

.library-feature__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 16px;
  color: var(--bss-muted);
  font-size: 0.86rem;
  font-style: italic;
  text-align: left;
}

.library-feature__byline span {
  position: relative;
}

.library-feature__byline span + span {
  padding-left: 14px;
}

.library-feature__byline span + span::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--bss-gold);
}

.library-feature__byline strong {
  color: var(--bss-primary-dark);
  font-style: normal;
  font-weight: 800;
}

.library-feature p {
  margin: 0 0 14px;
  color: var(--bss-muted);
}

.library-feature--reverse .library-feature__figure {
  float: right;
  margin: 4px 0 22px clamp(22px, 3.4vw, 38px);
}

@media (max-width: 1060px) {
  .library-feature__figure {
    width: min(46%, 340px);
  }

  .library-feature__figure img {
    min-height: 300px;
  }

  .library-feature__figure--large {
    width: min(70%, 480px);
  }

  .library-feature__figure--large img {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .library-feature__figure,
  .library-feature--reverse .library-feature__figure {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

  .library-feature__figure img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .library-feature__figure--large img {
    aspect-ratio: auto;
    height: auto;
  }

  
}

.card,
.book-card,
.welfare-year,
.certificate-card,
.philosophy-card,
.milestone,
.mini-grid article,
.sidebar,
.detail,
.donation-card,
.donation-option-card,
.album-card,
.archive-photo {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(122, 30, 34, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 247, 229, 0.92)
  );
  box-shadow: var(--shadow);
}

.card,
.book-card,
.certificate-card,
.philosophy-card,
.milestone,
.donation-card,
.donation-option-card,
.album-card,
.detail,
.sidebar {
  overflow: clip;
}

.card *,
.book-card *,
.welfare-year *,
.certificate-card *,
.activity-card *,
.album-card *,
.donation-card *,
.donation-option-card *,
.philosophy-card *,
.milestone *,
.detail *,
.sidebar * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.card::before,
.book-card::before,
.welfare-year::before,
.certificate-card::before,
.philosophy-card::before,
.milestone::before,
.mini-grid article::before,
.sidebar::before,
.detail::before,
.donation-card::before,
.donation-option-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--bss-primary) 0 14%,
    var(--bss-saffron) 14% 34%,
    var(--bss-gold) 34% 66%,
    transparent 66% 100%
  );
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition:
    transform 0.26s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.26s ease var(--hover-delay),
    border-color 0.26s ease var(--hover-delay);
}

.card > div:not(.card__details) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card > div:not(.card__details) > .pill {
  align-self: flex-start;
}

.card > div:not(.card__details) > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.card > div:not(.card__details) > a:not(.btn) {
  margin-top: auto;
}

.mobile-donate-btn {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));

    height: 64px;
    padding: 0 6px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    background: rgba(255, 253, 247, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;

    box-shadow:
      0 18px 42px rgba(43, 33, 24, 0.16),
      0 3px 10px rgba(43, 33, 24, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);

    z-index: 999;
  }

  .mobile-bottom-nav a {
    position: relative;

    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 46px;
    padding: 0 10px;

    border-radius: 999px;

    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;

    color: #a3927e;

    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;

    -webkit-tap-highlight-color: transparent;
    transition:
      flex-grow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
      background 0.45s var(--sacred-ease),
      color 0.35s ease,
      box-shadow 0.45s ease;
  }

  .mobile-bottom-nav a:active {
    transform: scale(0.94);
  }

  .mobile-bottom-nav .nav-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .mobile-bottom-nav i {
    font-size: 17px;
    transition: transform 0.3s var(--sacred-ease);
  }

  .mobile-bottom-nav .nav-label {
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;

    transition:
      max-width 0.45s var(--sacred-ease),
      margin-left 0.45s var(--sacred-ease),
      opacity 0.3s ease;
  }

  .mobile-bottom-nav a.is-active {
    flex-grow: 2.5;
    color: #fff;

    background: linear-gradient(
      135deg,
      var(--bss-primary),
      var(--bss-secondary) 130%
    );

    box-shadow:
      0 10px 22px rgba(122, 30, 34, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .mobile-bottom-nav a.is-active .nav-label {
    max-width: 100px;
    margin-left: 4px;
    opacity: 1;
  }

  .mobile-bottom-nav a.is-active i {
    transform: scale(1.05);
  }

  .main-nav__inner {
    min-height: var(--main-nav-height);
  }

  .mobile-donate:not(.is-active) {
    color: var(--bss-primary);
  }

  .mobile-donate:not(.is-active) .nav-icon {
    color: var(--bss-primary);
  }

  /* body {
    padding-bottom: 76px;

  } */

  .nav-toggle {
    width: 52px;
    height: 52px;

    border-radius: 16px;

    background: linear-gradient(135deg, #fffdf8, #f8edd5);

    border: 1px solid rgba(185, 147, 74, 0.25);

    box-shadow: 0 8px 22px rgba(43, 33, 24, 0.1);

    display: grid;
    place-items: center;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;

    background: #5b221b;

    border-radius: 20px;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 5px;
    top: 150px;
    z-index: 100;

    padding: 8px 12px;
    /* background: #c62828; */
    /* color: #fff; */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    color: var(--bss-primary-dark);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.86),
      rgba(255, 226, 168, 0.84)
    );
    border-color: rgba(185, 147, 74, 0.62);
  }

  .mobile-donate-btn:hover {
    background: var(--bss-primary);
  }
}

.card:hover,
.card:focus-within,
.philosophy-card:hover,
.philosophy-card:focus-within,
.donation-card:hover,
.donation-card:focus-within,
.donation-option-card:hover,
.donation-option-card:focus-within,
.album-card:hover {
  transform: none;
  box-shadow: var(--hover-shadow);
  border-color: rgba(122, 30, 34, 0.3);
}

.card img {
  aspect-ratio: 4 / 3;
  transition:
    transform 0.45s ease var(--hover-delay),
    filter 0.45s ease var(--hover-delay);
  filter: saturate(0.96) contrast(1.04) sepia(0.06);
}

.card:hover img {
  transform: none;
  filter: saturate(1) contrast(1.04) sepia(0.08);
}

.card > div {
  position: relative;
  padding: 22px;
}

.card h3,
.philosophy-card h3,
.milestone h3,
.donation-option-card h3,
.donation-card h3 {
  color: #2b2118;
}

.card a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bss-primary);
  font-weight: 900;
}

.card a:not(.btn)::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card--horizontal {
  flex-direction: row;
}

.card--horizontal img {
  flex: 0 0 42%;
  aspect-ratio: 3 / 4;
}

.card--horizontal > div:not(.card__details) {
  justify-content: center;
}

.card--horizontal > div:not(.card__details) > p {
  -webkit-line-clamp: initial;
  line-clamp: initial;
  overflow: visible;
}

@media (max-width: 560px) {
  .card--horizontal {
    flex-direction: column;
  }

  .card--horizontal img {
    flex: none;
    aspect-ratio: 4 / 3;
  }
}

.card a:not(.btn):hover::after {
  transform: none;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 20px;
}

@media (min-width: 1061px) {
  #objectives .activity-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.activity-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(185, 147, 74, 0.28);
  border-radius: 30px 30px 30px 8px;
  background: linear-gradient(
    145deg,
    rgba(255, 253, 247, 0.96),
    rgba(255, 239, 205, 0.9)
  );
  box-shadow: var(--shadow);
  isolation: isolate;
  transition:
    transform 0.28s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.28s ease var(--hover-delay),
    border-color 0.28s ease var(--hover-delay),
    background 0.28s ease var(--hover-delay);
}

.activity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 248, 226, 0.42);
  border-radius: 22px 22px 22px 6px;
  pointer-events: none;
  transition:
    border-color 0.28s ease var(--hover-delay),
    background 0.28s ease var(--hover-delay);
}

.activity-card::after {
  content: "ॐ";
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 1;
  color: rgba(122, 30, 34, 0.075);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 9vw, 7rem);
  line-height: 1;
  pointer-events: none;

  display: none;
}

.activity-card:hover {
  transform: none;
  border-color: rgba(122, 30, 34, 0.34);
  background: linear-gradient(
    145deg,
    rgba(255, 253, 247, 0.99),
    rgba(255, 244, 220, 0.94)
  );
  box-shadow: var(--hover-shadow);
}

.activity-card:hover::before {
  border-color: rgba(185, 147, 74, 0.58);
  background: linear-gradient(
    135deg,
    rgba(255, 248, 226, 0.12),
    rgba(185, 147, 74, 0.08)
  );
}

.activity-card figure {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--bss-section-bg);
}

.activity-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(33, 20, 16, 0.04), rgba(74, 17, 20, 0.62)),
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 232, 171, 0.3),
      transparent 34%
    );
}

.activity-card img {
  height: 100%;
  transition:
    transform 0.48s var(--sacred-ease) var(--hover-delay),
    filter 0.45s ease var(--hover-delay);
}

.activity-card:hover img {
  transform: none;
  filter: sepia(0.08) saturate(1) contrast(1.03);
}

.activity-card figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 248, 226, 0.38);
  border-radius: 999px;
  color: #faf7ef;
  background: rgba(74, 17, 20, 0.72);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.activity-card__body {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;

  flex: 1;
  padding: 22px 22px 24px;
}

.activity-card p {
  flex: 1;
  margin-bottom: 18px;
}

.activity-card__link {
  margin-top: auto;
}

.activity-card__number {
  

  position: absolute;
  top: -26px;
  right: 22px;
  display: none;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(122, 30, 34, 0.18);
  border-radius: 50%;
  color: var(--bss-primary-dark);
  background: radial-gradient(circle, #fff8e4 0 44%, var(--bss-gold) 45% 100%);
  box-shadow: 0 16px 34px rgba(43, 33, 24, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.activity-card h3 {
  margin: 4px 60px 0 0;
  color: #2b2118;
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  line-height: 1.25;
}

.activity-card p {
  margin: 0;
}

.activity-card__link {
  justify-self: start;
  /* display: inline-flex; */
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid rgba(185, 147, 74, 0.55);
  border-radius: 999px;
  color: #faf7ef;
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  box-shadow: 0 12px 24px rgba(137, 43, 26, 0.18);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 0.22s var(--sacred-ease) var(--hover-delay),
    background 0.22s ease var(--hover-delay),
    border-color 0.22s ease var(--hover-delay),
    box-shadow 0.22s ease var(--hover-delay);
}

.activity-card__link:hover,
.activity-card__link:focus-visible {
  transform: none;
  border-color: rgba(255, 232, 171, 0.58);
  color: #faf7ef;
  background: linear-gradient(135deg, #8b2028, var(--bss-primary-dark));
  box-shadow: 0 10px 20px rgba(122, 30, 34, 0.16);
}

.activity-card__link::after {
  content: "";
  transition: transform 0.2s ease;
}

.activity-card__link:hover::after,
.activity-card__link:focus-visible::after {
  transform: none;
}

.activity-card__link:focus-visible {
  outline: 4px solid rgba(185, 147, 74, 0.24);
}

.activity-card__details {
  display: none;
}

.pill,
.badges span,
.archive-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border: 1px solid rgba(185, 147, 74, 0.56);
  border-radius: 999px;
  color: var(--bss-primary-dark);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 227, 163, 0.72)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.photo {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.photo::before {
  content: "";
  position: absolute;
  inset: -26%;
  z-index: -1;
  background: radial-gradient(
    circle,
    rgba(255, 236, 186, 0.75) 0%,
    rgba(255, 225, 158, 0.38) 45%,
    transparent 72%
  );
}

.photo::after {
  content: "✦";
  position: absolute;
  top: -18px;
  right: 24px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 147, 74, 0.5);
  border-radius: 50%;
  color: var(--bss-primary);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow-soft);
  animation: diyaGlow 4.6s ease-in-out infinite;
}

.photo img {
  min-height: 400px;
  border-radius: 54px 54px 24px 24px;
  border: 1px solid rgba(185, 147, 74, 0.38);
  box-shadow: var(--shadow);
  filter: saturate(0.96) contrast(1.04) sepia(0.06);
}

blockquote {
  position: absolute;
  right: -10px;
  bottom: -24px;
  max-width: 330px;
  padding: 22px;
  margin: 0;
  border-top: 4px solid var(--bss-gold);
  border-radius: 18px;
  color: var(--bss-primary-dark);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97),
    rgba(255, 242, 209, 0.96)
  );
  box-shadow: var(--shadow-strong);
  font-weight: 800;
}

.heritage-story {
  max-width: var(--max);
}

.heritage-copy {
  color: #4d3a2b;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.heritage-copy::after {
  content: "";
  display: table;
  clear: both;
}

.heritage-photo {
  float: left;
  width: min(42%, 430px);
  margin: 0 clamp(24px, 4vw, 46px) 28px 0;
}

.heritage-photo img {
  min-height: 520px;
  max-height: 620px;
}

.heritage-intro p,
.heritage-extra p {
  margin-bottom: 14px;
}

.heritage-deed-quote {
  padding: 16px 18px;
  border-left: 4px solid var(--bss-gold);
  border-radius: 0 14px 14px 0;
  color: var(--bss-primary-dark);
  background: rgba(255, 248, 226, 0.62);
  font-weight: 800;
}

.heritage-read-more-row {
  display: inline-flex;
  margin-left: 4px;
  vertical-align: baseline;
}

.heritage-read-more-row .btn {
  display: inline;
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 0;
  padding: 0;
  color: #6f6254; 
  font-weight: 600;
  text-decoration: none;
  line-height: inherit;
}

.heritage-read-more-row .btn:hover {
  color: #7a1e22; 
  text-decoration: underline;
}

.heritage-extra[hidden] {
  display: none;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.foundation-story__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
}

.foundation-block {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.foundation-block--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
}

.foundation-block__media {
  order: 1;
  max-width: 200px;
}

.foundation-block--reverse .foundation-block__media {
  order: 2;
}

.foundation-story__grid > .foundation-block:first-child {
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
}

.foundation-story__grid > .foundation-block:first-child .foundation-block__media {
  width: 340px;
  max-width: 340px;
}
.foundation-story__grid > .foundation-block .foundation-block__media {
  width: 240px;
  max-width: 240px;
}

.foundation-block__text {
  order: 2;
  color: #4d3a2b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.foundation-block--reverse .foundation-block__text {
  order: 1;
}

.foundation-block__text p {
  margin: 0 0 18px;
}

.foundation-block__text p:last-child {
  margin-bottom: 0;
}

.foundation-placeholder {
  margin: 0;
}

.foundation-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(122, 30, 34, 0.22);
  border-radius: 18px;
  object-fit: contain;
  background: var(--bss-section-bg);
  box-shadow: 0 18px 38px rgba(43, 33, 24, 0.12);
}

.foundation-placeholder__box {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 18px;
  border: 1px dashed rgba(122, 30, 34, 0.38);
  border-radius: 18px;
  color: var(--bss-primary-dark);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 242, 209, 0.88)
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(185, 147, 74, 0.14) 0 8px,
      transparent 8px 16px
    );
  box-shadow: 0 18px 38px rgba(43, 33, 24, 0.1);
  text-align: center;
}

.foundation-placeholder__box span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: inset 0 0 0 1px rgba(185, 147, 74, 0.35);
  font-size: 0.9rem;
  font-weight: 900;
}

.foundation-placeholder figcaption {
  margin-top: 9px;
  color: var(--bss-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.legacy-story__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 52px);
}

.legacy-block {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: center;
}

.legacy-block--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
}

.legacy-block__media {
  order: 1;
  margin: 0;
}

.legacy-block--reverse .legacy-block__media {
  order: 2;
}

.legacy-block__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 460px;
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid rgba(122, 30, 34, 0.22);
  border-radius: 18px;
  background: var(--bss-section-bg);
  box-shadow: 0 18px 38px rgba(43, 33, 24, 0.12);
}

.legacy-block__media figcaption {
  margin-top: 12px;
  color: var(--bss-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.legacy-block__text {
  order: 2;
  color: #4d3a2b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.legacy-block--reverse .legacy-block__text {
  order: 1;
}

.legacy-block__text h3 {
  margin: 0 0 10px;
  color: var(--bss-primary-dark);
}

.legacy-block__eyebrow {
  margin: 0 0 10px;
  color: var(--bss-primary);
  font-weight: 800;
}

.legacy-block__text p:not(.legacy-block__eyebrow) {
  margin: 0 0 16px;
  color: var(--bss-muted);
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.legacy-block__text p:last-child {
  margin-bottom: 0;
}

.homage-story__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 52px);
}

.homage-block {
  display: grid;
  grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: center;
}

.homage-block--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
}

.homage-story__grid .homage-block--reverse:last-of-type {
  grid-template-columns: minmax(0, 1fr) minmax(0, 140px);
}

.homage-block__media {
  order: 1;
  margin: 0;
}

.homage-block--reverse .homage-block__media {
  order: 2;
}

.homage-block__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 460px;
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid rgba(122, 30, 34, 0.22);
  border-radius: 18px;
  background: var(--bss-section-bg);
  box-shadow: 0 18px 38px rgba(43, 33, 24, 0.12);
}

.homage-block__text {
  order: 2;
  color: #4d3a2b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.homage-block--reverse .homage-block__text {
  order: 1;
}

.homage-block__text h3 {
  margin: 0 0 10px;
  color: var(--bss-primary-dark);
}

.homage-block__text p {
  margin: 0 0 16px;
  color: var(--bss-muted);
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.homage-block__text p:last-child {
  margin-bottom: 0;
}

.trustee-grid {
  display: flex;
  justify-content: center;
}

.trustee-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 42px) clamp(26px, 4vw, 44px);
  border: 1px solid rgba(122, 30, 34, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 247, 229, 0.92)
  );
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--sacred-ease),
    box-shadow 0.3s var(--sacred-ease);
}

.trustee-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--bss-primary),
    var(--bss-gold),
    var(--bss-secondary)
  );
}

.trustee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.trustee-card__section + .trustee-card__section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed rgba(122, 30, 34, 0.18);
}

.trustee-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(122, 30, 34, 0.15);
  text-align: center;
}

.trustee-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--bss-white-solid);
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  font-size: 0.9rem;
  line-height: 1;
}

.trustee-card__label {
  margin: 0;
  color: var(--bss-primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trustee-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trustee-card__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(216, 197, 165, 0.55);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.7);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.trustee-card__list li:hover {
  transform: translateX(4px);
  border-color: rgba(185, 147, 74, 0.5);
  background: rgba(255, 247, 229, 0.9);
}

.trustee-card__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--bss-white-solid);
  background: linear-gradient(
    135deg,
    var(--bss-secondary),
    var(--bss-primary-dark)
  );
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.trustee-card__name {
  color: var(--bss-primary-dark);
  font-size: 1.02rem;
  font-weight: 800;
}

.trustee-card__section--settlor .trustee-card__list li {
  flex-direction: column;
  gap: 12px;
  padding: 22px 16px;
  text-align: center;
}

.trustee-card__section--settlor .trustee-card__avatar {
  width: 56px;
  height: 56px;
  font-size: 1.05rem;
}

.stats {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 62px) 0;
  color: var(--bss-white);
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(185, 147, 74, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #4a1114, #2b2118 58%, #7a1e22);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
  background: radial-gradient(
      circle at 18px 18px,
      #fff0bc 1.2px,
      transparent 1.4px
    )
    0 0 / 42px 42px;
}

.stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(18px, 2.8vw, 30px);
  border: 1px solid rgba(255, 224, 160, 0.22);
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 70px rgba(0, 0, 0, 0.18);
}

.stat {
  position: relative;
  padding: 22px 14px;
  border: 1px solid rgba(255, 224, 160, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
}

.stat::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  margin: 0 auto 15px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--bss-gold), var(--bss-saffron));
}

.stat strong {
  display: block;
  color: #d8c5a5;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1;
  text-shadow: 0 7px 28px rgba(0, 0, 0, 0.24);
}

.stat strong::after {
  content: "+";
}

.stat:last-child strong::after {
  content: "";
}

.stat span {
  color: rgba(255, 248, 236, 0.86);
  font-weight: 800;
}

.archive-gallery {
  background:
    radial-gradient(
      circle at 18% 8%,
      rgba(201, 162, 74, 0.16),
      transparent 30%
    ),
    linear-gradient(180deg, var(--bss-bg), var(--bss-section-bg));
}

.archive-intro {
  position: relative;
  max-width: 760px;
  margin-bottom: 30px;
  text-align: center;
}

.archive-intro h2 {
  max-width: 760px;
  margin-inline: auto;
}

.archive-intro p {
  max-width: 760px;
  margin-inline: auto;
}

.archive-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.archive-tabs a {
  min-height: 44px;
  padding: 8px 18px;
  transition:
    transform 0.22s var(--sacred-ease) var(--hover-delay),
    background 0.22s ease var(--hover-delay),
    color 0.22s ease var(--hover-delay),
    box-shadow 0.22s ease var(--hover-delay);
}

.archive-tabs a.is-active,
.archive-tabs a:hover {
  color: #faf7ef;
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  box-shadow: 0 12px 26px rgba(74, 17, 20, 0.18);
  transform: none;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  overflow: visible;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 30, 34, 0.34) transparent;
}

.album-card {
  border-radius: 18px;
  transition:
    transform 0.26s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.26s ease var(--hover-delay),
    border-color 0.26s ease var(--hover-delay);
}

.album-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.album-card__cover {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--bss-section-bg);
  cursor: zoom-in;
  text-align: left;
}

.album-card__cover img {
  height: 100%;
  min-height: 0;
  transition:
    transform 0.45s ease var(--hover-delay),
    filter 0.45s ease var(--hover-delay);
}

.album-card:hover .album-card__cover img {
  transform: none;
}

.album-card__cover::before,
.archive-photo::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1px solid rgba(255, 248, 226, 0.38);
  border-radius: 12px;
  pointer-events: none;
}

.album-card__cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(30, 26, 23, 0.78));
}

.album-card__cover span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 248, 237, 0.35);
  border-radius: 999px;
  color: var(--bss-white);
  background: rgba(74, 17, 20, 0.78);
  font-size: 0.74rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.album-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(12px, 1.4vw, 16px);
}

.album-card__body .section-label {
  min-height: 2.4em;
  margin-bottom: 6px;
  font-size: clamp(0.64rem, 0.8vw, 0.74rem);
  line-height: 1.2;
}

.album-card__body h2 {
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  margin-bottom: 8px;
}

.album-card__body p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.album-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: auto;
}

.album-thumbs button:nth-child(n + 5) {
  display: none;
}

.album-thumbs button {
  height: clamp(34px, 3.6vw, 48px);
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(185, 147, 74, 0.22);
  border-radius: 8px;
  background: var(--bss-section-bg);
  box-shadow: 0 8px 18px rgba(43, 33, 24, 0.08);
  cursor: zoom-in;
  transition:
    transform 0.2s var(--sacred-ease) var(--hover-delay),
    border-color 0.2s ease var(--hover-delay),
    box-shadow 0.2s ease var(--hover-delay);
}

.album-thumbs button:hover,
.album-thumbs button:focus-visible {
  outline: none;
  border-color: var(--bss-gold);
  transform: none;
  box-shadow: 0 10px 20px rgba(43, 33, 24, 0.11);
}

.album-thumbs img {
  height: 100%;
  font-size: 0;
}

.archive-marquee {
  position: relative;
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
  overflow: clip;
  padding: 8px 0;
  contain: layout paint;
  isolation: isolate;
}

.archive-marquee::before,
.archive-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: min(11vw, 150px);
  pointer-events: none;
}

.archive-marquee::before {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--bss-section-bg),
    rgba(247, 232, 207, 0)
  );
}

.archive-marquee::after {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--bss-section-bg),
    rgba(247, 232, 207, 0)
  );
}

.archive-marquee__row {
  max-width: 100%;
  overflow: clip;
  contain: layout paint;
  padding: 12px 0;
}

.archive-marquee__track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: archiveMarquee 100s linear infinite;
  will-change: transform;
}

.archive-marquee__row--reverse .archive-marquee__track {
  animation-direction: reverse;
  animation-duration: 100s;
}

.archive-marquee:hover .archive-marquee__track,
.archive-marquee:focus-within .archive-marquee__track {
  animation-play-state: paused;
}

.archive-photo {
  position: relative;
  flex: 0 0 clamp(240px, 27vw, 390px);
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(185, 147, 74, 0.26);
  border-radius: 24px;
  background: var(--bss-section-bg);
  box-shadow: 0 18px 42px rgba(43, 33, 24, 0.13);
  cursor: zoom-in;
  text-align: left;
  transition:
    transform 0.28s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.28s ease var(--hover-delay),
    border-color 0.28s ease var(--hover-delay);
}

.archive-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition:
    transform 0.45s ease var(--hover-delay),
    filter 0.45s ease var(--hover-delay);
}

.archive-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(30, 26, 23, 0.78));
}

.archive-photo span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #faf7ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.archive-photo:hover,
.archive-photo:focus-visible {
  z-index: 4;
  outline: none;
  border-color: rgba(255, 232, 171, 0.64);
  box-shadow: 0 18px 42px rgba(43, 33, 24, 0.14);
  transform: none;
}

.archive-photo:hover img {
  transform: none;
  filter: sepia(0.12) contrast(1.04);
}

.history-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border: 1px solid rgba(255, 224, 160, 0.28);
  border-radius: 38px 38px 38px 10px;
  color: var(--bss-white);
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(255, 224, 160, 0.3),
      transparent 30%
    ),
    linear-gradient(150deg, #a85d3a, #4a1114 52%, #2b2118);
  box-shadow: var(--shadow-strong);
}

.history-card::before {
  content: "ॐ";
  position: absolute;
  right: -22px;
  top: -28px;
  color: rgba(255, 232, 171, 0.11);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10rem;

  display: none;
}

.history-card strong {
  position: relative;
  color: var(--bss-gold);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
}

.history-card span {
  position: relative;
  color: #ffe0a0;
  font-weight: 900;
}

.history-card p {
  position: relative;
  color: rgba(255, 248, 236, 0.86);
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(var(--bss-primary), var(--bss-gold), transparent);
}

.milestone {
  margin-left: 68px;
  padding: 28px;
  overflow: visible;
}

.milestone span {
  position: absolute;
  left: -68px;
  top: 22px;
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #faf7ef;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.24),
      transparent 28%
    ),
    linear-gradient(135deg, var(--bss-primary), var(--bss-secondary-dark));
  box-shadow:
    0 0 0 9px var(--bss-bg),
    0 14px 28px rgba(137, 43, 26, 0.16);
  font-weight: 900;
}

.milestone time {
  display: block;
  margin: 18px 0 8px;
  color: var(--bss-secondary-dark);
  font-weight: 900;
}

.milestone p {
  max-width: 760px;
  margin-bottom: 16px;
  line-height: 1.72;
}

.welfare-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 26px);
  max-width: 860px;
  margin: 0 auto;
}

.welfare-year {
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.welfare-year.is-open {
  box-shadow: var(--shadow-strong);
}

.welfare-year__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(20px, 2.6vw, 26px) clamp(22px, 3vw, 30px);
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.welfare-year__header time {
  color: var(--bss-primary-dark);
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.welfare-year__toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #faf7ef;
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  box-shadow: var(--shadow);
}

.welfare-year__toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s ease;
}

.welfare-year__header[aria-expanded="true"] .welfare-year__toggle::before {
  transform: rotate(225deg) translate(-1px, -1px);
}

.welfare-year__body {
  padding: 0 clamp(22px, 3vw, 30px) clamp(24px, 3vw, 30px);
  border-top: 1px solid rgba(122, 30, 34, 0.12);
  margin-top: 0;
}

.welfare-year__body[hidden] {
  display: none;
}

.welfare-year__body p {
  margin: 20px 0 0;
  line-height: 1.72;
}

.welfare-year__body p:first-child {
  margin-top: 20px;
}

.welfare-year__bn {
  color: var(--bss-muted);
}

.pdf-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 11px 20px;
  border: 1px solid rgba(185, 147, 74, 0.48);
  border-radius: 999px;
  color: var(--bss-primary-dark);
  background: rgba(255, 248, 236, 0.78);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s var(--sacred-ease),
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.pdf-view-btn:hover,
.pdf-view-btn:focus-visible {
  color: var(--bss-primary);
  background: #fff6dd;
  border-color: rgba(185, 147, 74, 0.7);
}

.pdf-view-btn svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading h2 .accent {
  color: var(--bss-secondary);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  max-width: 900px;
  margin: 0 auto;
}

.certificate-card {
  padding: clamp(26px, 3vw, 34px);
}

.certificate-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #faf7ef;
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  box-shadow: var(--shadow);
}

.certificate-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.certificate-card h3 {
  margin: 0 0 12px;
  color: #2b2118;
}

.certificate-card p {
  margin: 0;
  line-height: 1.72;
}

.milestone__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid rgba(185, 147, 74, 0.48);
  border-radius: 999px;
  color: var(--bss-primary-dark);
  background: rgba(255, 248, 236, 0.78);
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    transform 0.2s var(--sacred-ease) var(--hover-delay),
    color 0.2s ease var(--hover-delay),
    background 0.2s ease var(--hover-delay);
}

.milestone__link:hover,
.milestone__link:focus-visible {
  color: var(--bss-primary);
  background: #fff6dd;
  transform: none;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 14px;
  margin: 22px 0;
}

.mini-grid article {
  display: flex;
  min-height: 172px;
  flex-direction: column;
  padding: 22px;
  border-radius: 24px;
}

.mini-grid article::before {
  display: none;
}

.mini-grid article span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--bss-primary-dark);
  background: radial-gradient(circle, #fff9e6 0 42%, #ffd978 43% 100%);
  font-family: Georgia, serif;
  font-size: 1.18rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(185, 147, 74, 0.2);
}

.mini-grid h3 {
  font-size: 1.03rem;
  margin-bottom: 8px;
}

.mini-grid p {
  margin: 0;
  line-height: 1.52;
}

.philosophy-card {
  display: flex;
  min-height: 272px;
  flex-direction: column;
  padding: 28px;
  border-radius: 24px;
  transition:
    transform 0.26s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.26s ease var(--hover-delay),
    border-color 0.26s ease var(--hover-delay);
}

.philosophy-card span {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--bss-primary-dark);
  background: radial-gradient(circle, #fff9e6 0 42%, #ffd978 43% 100%);
  font-family: Georgia, serif;
  font-size: 1.38rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(185, 147, 74, 0.22);
  animation: diyaGlow 4.6s ease-in-out infinite;
}

.philosophy-card h3,
.donation-option-card h3 {
  min-height: 2.4em;
  margin-bottom: 10px;
}

.philosophy-card p,
.donation-option-card p {
  line-height: 1.55;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.donation-option-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  transition:
    transform 0.26s var(--sacred-ease) var(--hover-delay),
    box-shadow 0.26s ease var(--hover-delay),
    border-color 0.26s ease var(--hover-delay);
}

.donation-section .section-heading h2 {
  font-size: clamp(1.78rem, 3.4vw, 2.7rem);
}

.donation-option-card span {
  margin-top: auto;
  color: var(--bss-secondary-dark);
  font-weight: 900;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 20px;
  margin-top: 22px;
}

.donation-card {
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: 30px;
  transition:
    transform 0.22s ease var(--hover-delay),
    box-shadow 0.22s ease var(--hover-delay),
    border-color 0.22s ease var(--hover-delay);
}

.donation-card--wide {
  grid-column: 1 / -1;
}

.donation-form,
.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}

.donation-form--wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.donation-form label,
.contact-form label {
  color: var(--bss-brown);
  font-weight: 850;
  font-size: clamp(0.67rem, 1.2vw, 1rem);
}

.donation-form .full,
.donation-form button,
.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.donation-form input,
.donation-form textarea,
.donation-form select {
  width: 100%;
  margin-top: 6px;
  padding: 13px 15px;
  border: 1px solid rgba(122, 30, 34, 0.16);
  border-radius: 14px;
  color: var(--bss-text);
  background: linear-gradient(180deg, #faf7ef, #faf7ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.donation-form input::placeholder,
.donation-form textarea::placeholder {
  color: rgba(111, 98, 84, 0.72);
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus,
.donation-form input:focus,
.donation-form textarea:focus,
.donation-form select:focus {
  outline: 4px solid rgba(185, 147, 74, 0.24);
  border-color: rgba(122, 30, 34, 0.34);
}

.donation-form__pan {
  padding: 14px 16px 16px;
  border: 1px solid rgba(185, 147, 74, 0.55);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 246, 221, 0.9),
    rgba(255, 239, 202, 0.6)
  );
}

.donation-form .donation-form__pan {
  color: var(--bss-primary);
}

.donation-form__pan input {
  text-transform: uppercase;
  border-color: rgba(185, 147, 74, 0.55) !important;
}

.donation-form__hint {
  display: block;
  margin-top: 6px;
  color: var(--bss-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 28px;
  align-items: start;
}

.detail {
  padding: 30px;
  border-radius: 34px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin: 20px 0 28px;
}

.office-card {
  padding: 22px;
  border: 1px solid rgba(122, 30, 34, 0.15);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 247, 229, 0.85)
  );
}

.office-card h3 {
  margin-bottom: 14px;
  color: var(--bss-primary-dark);
  font-size: 1.12rem;
}

.office-card__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--bss-text);
  line-height: 1.5;
  text-decoration: none;
}

.office-card__row:last-child {
  margin-bottom: 0;
}

.office-card__row i {
  width: 16px;
  margin-top: 4px;
  color: var(--bss-gold);
  text-align: center;
}

a.office-card__row:hover {
  color: var(--bss-primary);
}

.sidebar {
  position: sticky;
  top: 196px;
  padding: 22px;
  border-radius: 28px;
}

.sidebar h2 {
  font-size: 1.25rem;
}

.sidebar a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(122, 30, 34, 0.12);
  color: var(--bss-primary);
  font-weight: 850;
}

.sidebar a:hover,
.sidebar a.is-active {
  color: var(--bss-secondary-dark);
  transform: translateX(3px);
}

.sidebar-map {
  margin-top: 14px;
  /* border-top: 1px solid rgba(122,30,34,.15); */
  padding-top: 20px;
}

.sidebar-map h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  /* color: var(--bss-primary); */
}

.sidebar-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(185, 147, 74, 0.14),
      transparent 30%
    ),
    rgba(23, 12, 9, 0.9);
  backdrop-filter: blur(8px);
}

.image-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1060px);
  max-height: calc(100vh - 44px);
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(185, 147, 74, 0.38);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 253, 247, 0.98),
    rgba(255, 239, 202, 0.96)
  );
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.42);
}

.image-modal__dialog img {
  width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 16px;
  object-fit: contain;
  background: var(--bss-brown);
}

.image-modal__dialog figcaption {
  padding: 12px 8px 2px;
  color: var(--bss-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 850;
  text-align: center;
}

.image-modal__count {
  color: var(--bss-muted);
  font-weight: 850;
  text-align: center;
  font-size: 0.9rem;
}

.image-modal__close,
.image-modal__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 232, 171, 0.42);
  border-radius: 50%;
  color: var(--bss-white);
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  box-shadow: var(--shadow);
  cursor: pointer;
}

.image-modal__close {
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  line-height: 1;
}

.image-modal__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.image-modal__nav--prev {
  left: -18px;
}

.image-modal__nav--next {
  right: -18px;
}

.image-modal__nav:hover,
.image-modal__close:hover {
  background: var(--bss-primary-dark);
}

.activity-modal {
  position: fixed;
  inset: 0;
  z-index: 1205;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.activity-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.activity-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(185, 147, 74, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 84% 22%,
      rgba(215, 102, 30, 0.18),
      transparent 30%
    ),
    rgba(23, 12, 9, 0.88);
  backdrop-filter: blur(9px);
}

.activity-modal__dialog,
.card-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 960px);
  height: min(88vh, 700px);
  overflow: hidden;
  border: 1px solid rgba(255, 232, 171, 0.34);
  border-radius: 34px 34px 34px 10px;
  background: var(--bss-deep);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.42);
}

.activity-modal__dialog::before,
.card-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 232, 171, 0.22);
  border-radius: 24px 24px 24px 6px;
  pointer-events: none;
}

.activity-modal__close,
.card-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 232, 171, 0.42);
  border-radius: 50%;
  color: #faf7ef;
  background: linear-gradient(
    135deg,
    var(--bss-primary),
    var(--bss-secondary-dark)
  );
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.activity-modal__image,
.card-modal__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bss-section-bg);
}

.activity-modal__image::after,
.card-modal__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 16% 10%,
      rgba(185, 147, 74, 0.22),
      transparent 34%
    ),
    linear-gradient(
      190deg,
      rgba(20, 10, 8, 0.1) 0%,
      rgba(16, 8, 6, 0.58) 48%,
      rgba(10, 5, 4, 0.92) 100%
    );
}

.activity-modal__image img,
.card-modal__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) saturate(1.02) contrast(1.04);
}

.activity-modal__content,
.card-modal__content {
  position: relative;
  z-index: 3;
  height: 100%;
  overflow-y: auto;
  padding: clamp(120px, 30vh, 220px) clamp(28px, 5vw, 56px)
    clamp(28px, 5vw, 56px);
}

.activity-modal__content .section-label,
.card-modal__content .section-label {
  color: var(--bss-gold-soft);
}

.activity-modal__content h2,
.card-modal__content h2 {
  margin-bottom: 16px;
  color: #faf7ef;
}

.activity-modal__details,
.card-modal__details {
  display: grid;
  gap: 16px;
}

.activity-modal__details p,
.card-modal__details p {
  margin: 0;
  color: rgba(255, 248, 236, 0.86);
  font-size: 1.09rem;
  line-height: 1.76;
}

.activity-modal__details p:first-of-type::first-letter,
.card-modal__details p:first-of-type::first-letter {
  float: left;
  margin: 0.02em 0.1em 0 0;
  font-family: "Pinyon Script", "Georgia", cursive;
  font-size: 3.8em;
  font-weight: 400;
  line-height: 0.62;
  background: linear-gradient(
    160deg,
    var(--bss-gold-soft) 10%,
    var(--bss-gold) 55%,
    #fff3d6 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--bss-gold-soft);
}

.activity-modal__details ul,
.card-modal__details ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.activity-modal__details li,
.card-modal__details li {
  position: relative;
  padding: 13px 16px 13px 44px;
  border: 1px solid rgba(255, 232, 171, 0.34);
  border-radius: 16px;
  color: #faf7ef;
  background: rgba(255, 253, 247, 0.12);
  font-weight: 800;
}

.activity-modal__details li::before,
.card-modal__details li::before {
  content: "ॐ";
  position: absolute;
  left: 14px;
  top: 50%;
  color: var(--bss-gold);
  font-family: Georgia, "Times New Roman", serif;
  transform: translateY(-50%);

  display: none;
}

.activity-modal__dialog {
  width: min(92vw, 520px) !important;
  height: auto !important;
  max-height: 80vh !important;
  overflow: auto;
  padding: 0;
  border-radius: 30px 30px 30px 8px;
  background: linear-gradient(
    145deg,
    rgba(255, 253, 247, 0.96),
    rgba(255, 239, 205, 0.9)
  );
  border: 1px solid rgba(185, 147, 74, 0.28);
  box-shadow: var(--shadow);
}

.activity-modal__image {
  display: none !important;
}

.activity-modal__content {
  padding: clamp(20px, 6vw, 36px) !important;
  color: var(--bss-primary-dark);
}

.activity-modal__content .section-label {
  color: var(--bss-gold-soft);
}

.activity-modal__content h2 {
  color: var(--bss-primary-dark);
  margin-bottom: 10px;
}

.activity-modal__details p {
  color: rgba(43, 33, 24, 0.9);
}

.card__details {
  display: none;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1207;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.pdf-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(185, 147, 74, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 84% 22%,
      rgba(215, 102, 30, 0.18),
      transparent 30%
    ),
    rgba(23, 12, 9, 0.88);
  backdrop-filter: blur(9px);
}

.pdf-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(94vw, 960px);
  height: min(88vh, 700px);
  overflow: hidden;
  border: 1px solid rgba(255, 232, 171, 0.34);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.99),
    rgba(255, 239, 202, 0.97)
  );
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.42);
  -webkit-user-select: none;
  user-select: none;
}

.pdf-modal__header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(
    90deg,
    var(--bss-primary),
    var(--bss-gold),
    var(--bss-secondary)
  );
}

.pdf-modal__heading {
  min-width: 0;
}

.pdf-modal__header h2 {
  margin: 0;
  color: #faf7ef;
  font-size: 1.1rem;
}

.pdf-modal__subtitle {
  margin: 2px 0 0;
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pdf-modal__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--bss-primary-dark);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.pdf-modal__viewport {
  position: relative;
  flex: 1;
  background: var(--bss-section-bg);
}

.pdf-modal__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  -webkit-user-drag: none;
}

.card-modal {
  position: fixed;
  inset: 0;
  z-index: 1206;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.card-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.card-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(185, 147, 74, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 84% 22%,
      rgba(215, 102, 30, 0.18),
      transparent 30%
    ),
    rgba(23, 12, 9, 0.88);
  backdrop-filter: blur(9px);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 18px;
  color: rgba(255, 248, 236, 0.78);
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(185, 147, 74, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #2b2118, #4a1114 58%, #2b2118);
  text-align: left;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.075;
  pointer-events: none;
  background: radial-gradient(
      circle at 18px 18px,
      #ffe0a0 1.2px,
      transparent 1.4px
    )
    0 0 / 42px 42px;
}

.footer .container {
  position: relative;
  z-index: 1;

  width: calc(100% - 100px);
  max-width: none;

  margin-bottom: 50px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 10px;
  align-items: start;
}

.footer__grid > section {
  min-width: 0;
}

.footer-brand .brand--footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-brand .brand__logo {
  display: flex;
  justify-content: center;
  /* width: 100%; */
  margin-bottom: 12px;
}

.footer-brand .brand__logo img {
  display: block;
  width: 90px;
  height: 90px;
  margin: 0 auto;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand p {
  max-width: 700px;
}

.footer-brand .brand--footer {
  margin-bottom: 12px;
}

.footer-brand .socials {
  justify-content: center;
}

.footer__grid > section {
  padding: 18px;
  /* border: 1px solid rgba(255,224,160,.16); */
  border-radius: 18px;
  /* background: linear-gradient(
        145deg,
        rgba(255,255,255,.075),
        rgba(255,255,255,.035)
    ); */
  /* box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 18px 40px rgba(0,0,0,.10); */
}

.footer h2 {
  color: #d8c5a5;
  font-size: 1.05rem;
  margin-bottom: 12px;

  text-align: center;
}
.footer h3 {
  color: #d8c5a599;
  font-size: 1.05rem;
  margin-bottom: 12px;

  text-align: center;
}

.footer p {
  max-width: 700px;
  color: rgba(255, 248, 236, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer__grid p {
  max-width: 100%;
}

.footer__grid a {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

.footer a:hover {
  color: #d8c5a5;
  transform: none;
}

.footer .brand--footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-bottom: 14px;
}

.footer .brand--footer:hover,
.footer .brand--footer:focus-visible {
  transform: none;
}

.brand--footer strong {
  color: var(--bss-white);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  white-space: normal;
  text-align: center;
}

.brand--footer small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: var(--bss-gold);
  background: rgba(255, 255, 255, 0.08);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 224, 160, 0.2);
  font-size: 0.92rem;
  padding-right: clamp(0px, 4vw, 70px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease var(--reveal-delay, 0ms),
    transform 0.55s ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-contact i {
  width: 20px;
  color: var(--bss-gold);
  margin-right: 10px;
  text-align: center;

  display: none;
}

.footer-contact h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.footer-contact a + h3 {
  margin-top: 14px;
}

.footer-contact p,
.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

@media (min-width: 1061px) {
  .footer {
    padding: 38px 0 16px;
  }

  .footer .container {
    width: min(calc(100% - 60px), var(--max));
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 26px;
  }

  .footer__grid {
    gap: 16px;
    margin-top: 0;
  }

  .footer__grid > section {
    padding: 0;
  }

  .footer-brand .brand__logo {
    margin-bottom: 8px;
  }

  .footer-brand .brand__logo img {
    width: 60px;
    height: 60px;
  }

  .footer-brand p {
    margin-bottom: 10px;
  }

  .footer-brand .brand--footer {
    margin-bottom: 8px;
  }

  .footer h2,
  .footer h3 {
    text-align: left;
  }

  .footer h2 {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }

  .footer h3 {
    font-size: 0.92rem;
    margin-bottom: 6px;
  }

  .footer p {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .footer__grid a {
    margin-bottom: 6px;
    text-align: left;
  }

  .socials a {
    width: 30px;
    height: 30px;
  }

  .footer__bottom {
    margin-top: 8px;
    padding-top: 12px;
    font-size: 0.85rem;
  }

  .footer-contact p,
  .footer-contact a {
    gap: 8px;
    margin-bottom: 6px;
  }
}

@keyframes sacredSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes diyaGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(185, 147, 74, 0));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(185, 147, 74, 0.35));
  }
}

@keyframes archiveMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (max-width: 1180px) {
  .identity__inner {
    gap: 14px;
  }

  .brand strong {
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .brand small {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }

  .identity__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 390px;
  }

  .identity__actions .btn {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.88rem;
  }

  .menu a,
  .menu button {
    padding-inline: 9px;
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .footer .container {
    position: relative;
    z-index: 1;

    width: calc(100% - 12px); 
    max-width: none;
  }
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(23, 12, 9, 0.58);
    backdrop-filter: blur(2px);
  }

  .has-dropdown:hover .dropdown {
    display: none;
    padding: 0;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:hover .dropdown a {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav__inner {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    z-index: 220;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(86vw, 360px);
    max-width: calc(100% - 24px);
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    padding: 0 16px 24px;
    background:
      radial-gradient(
        circle at 12% 0,
        rgba(255, 232, 171, 0.13),
        transparent 30%
      ),
      linear-gradient(180deg, #7a1e22 0%, #4a1114 42%, #2b2118 100%);
    box-shadow: 28px 0 70px rgba(23, 12, 9, 0.42);
  }

  .menu.is-active {
    display: flex;
  }

  .menu > li.mobile-menu-head {
    position: relative;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    width: auto;
    margin: 0 -16px 18px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 232, 171, 0.18);
    color: #faf7ef;
    background: linear-gradient(90deg, #7a1e22, #4a1114);
    font-weight: 900;
  }

  .menu.is-active > li.mobile-menu-head {
    display: flex;
  }

  .mobile-menu-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #faf7ef;
    background: transparent;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
  }

  .menu a,
  .menu button {
    width: 100%;
    height: auto;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 13px;
    border-radius: 8px;
    color: #faf7ef;
    font-weight: 850;
    text-align: left;
  }

  .menu .mobile-menu-close {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
  }

  .menu > li {
    display: block;
    width: 100%;
  }

  .menu > li:not(.mobile-menu-head) {
    margin-bottom: 8px;
  }

  .menu > li:not(.mobile-menu-head) > a,
  .menu > li.has-dropdown > button {
    background: transparent;
  }

  .menu > li:not(.has-dropdown):not(.mobile-menu-head) > a:hover,
  .menu > li:not(.has-dropdown):not(.mobile-menu-head) > a.is-active {
    background: rgba(255, 255, 255, 0.16);
  }

  .menu > li:nth-child(2) > a {
    justify-content: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
  }

  .menu > li:nth-child(2) > a::after {
    content: "";
  }

  .menu > li:nth-child(2) > a::before {
    content: "⌂";
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: #faf7ef;
    transform: none;
    font-size: 1rem;
  }

  .has-dropdown > button::after {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #faf7ef;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.25rem;
    line-height: 1;
    content: "⌄";
    transform: none;
  }

  .has-dropdown.is-open > button::after {
    content: "⌃";
    background: rgba(255, 255, 255, 0.2);
  }

  .menu a::before,
  .menu button::before {
    display: none;
  }

  .dropdown {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background:
      radial-gradient(
        circle at 12% 0,
        rgba(255, 232, 171, 0.1),
        transparent 34%
      ),
      linear-gradient(180deg, #7a1e22 0%, #4a1114 100%);
    overflow: hidden;
  }

  .dropdown::before {
    display: none;
  }

  .dropdown > li {
    overflow: hidden;
  }

  .dropdown a {
    position: relative;
    min-height: 44px;
    color: #d8c5a5;
    background: transparent;
    font-weight: 850;
  }

  .dropdown a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 0;
    height: 1px;
    background: rgba(255, 228, 168, 0.34);
  }

  .dropdown li:last-child a::after {
    display: none;
  }

  .dropdown a:hover,
  .dropdown a.is-active {
    color: #faf7ef;
    background: rgba(255, 228, 168, 0.12);
  }

  .has-dropdown.is-open .dropdown {
    display: grid;
    padding: 8px 0;
    margin: 8px 0 12px;
  }

  .has-dropdown.is-open:hover .dropdown {
    display: grid;
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  body.menu-open::before {
    background: rgba(43, 33, 24, 0.22);
    backdrop-filter: none;
  }

  .menu {
    width: min(92vw, 340px);
    max-width: calc(100% - 20px);
    padding: 66px 12px
      calc(64px + 10px + 24px + env(safe-area-inset-bottom));
    border-right: 1px solid rgba(185, 147, 74, 0.42);
    border-radius: 0 22px 22px 0;
    color: var(--bss-text);
    background: var(--bss-white-solid);
    box-shadow: 18px 0 42px rgba(43, 33, 24, 0.18);
  }

  .menu > li.mobile-menu-head {
    position: static;
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--bss-primary-dark);
    background: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    letter-spacing: 0;
    justify-content: flex-end;
  }

  .menu > li.mobile-menu-head > span {
    display: none;
  }

  .mobile-menu-close,
  .menu .mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    color: #2b2118;
    background: #fff6dd;
    border: 1px solid rgba(74, 17, 20, 0.34);
    border-radius: 50%;
    box-shadow: none;
    font-size: 0;
    line-height: 1;
    text-align: center;
  }

  .mobile-menu-close::before,
  .menu .mobile-menu-close::before {
    content: none;
  }

  .mobile-menu-close svg,
  .menu .mobile-menu-close svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    fill: none;
    pointer-events: none;
  }

  .menu > li:not(.mobile-menu-head) {
    margin-bottom: 7px;
  }

  .menu a,
  .menu button {
    position: relative;
    min-height: 46px;
    padding: 0 48px;
    border: 1px solid rgba(185, 147, 74, 0.22);
    border-radius: 12px;
    color: var(--bss-brown);
    background: #fffdf7;
    box-shadow: none;
    font-weight: 850;
    line-height: 1.2;
    text-shadow: none;
    text-align: center;
    justify-content: center;
  }

  .menu > li:not(.has-dropdown):not(.mobile-menu-head) > a:hover,
  .menu > li:not(.has-dropdown):not(.mobile-menu-head) > a.is-active,
  .menu > li.has-dropdown.is-open > button,
  .menu > li:nth-child(2) > a {
    color: var(--bss-primary-dark);
    background: #fff8e8;
    border-color: rgba(122, 30, 34, 0.2);
    box-shadow: none;
  }

  .menu > li:nth-child(2) > a {
    justify-content: center;
  }

  .menu > li.has-dropdown > button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .menu > li.has-dropdown > button::before {
    display: none;
  }

  .menu > li:nth-child(2) > a::before {
    display: none;
  }

  .has-dropdown > button::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid rgba(122, 30, 34, 0.16);
    border-radius: 10px;
    color: var(--bss-primary-dark);
    background: rgba(216, 197, 165, 0.26);
    font-size: 1.12rem;
    line-height: 1;
    transform: translateY(-50%);
  }

  .has-dropdown.is-open > button::after {
    content: "-";
    color: #faf7ef;
    background: var(--bss-primary);
    transform: translateY(-50%);
  }

  .dropdown {
    gap: 0;
    margin: 8px 0 4px;
    padding: 8px;
    border: 1px solid rgba(185, 147, 74, 0.24);
    border-radius: 14px;
    background: var(--bss-section-bg);
    box-shadow: none;
  }

  .dropdown > li {
    overflow: visible;
  }

  .dropdown a {
    min-height: 42px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 10px;
    color: var(--bss-muted);
    background: transparent;
    box-shadow: none;
    font-size: 0.94rem;
    text-shadow: none;
  }

  .dropdown li:last-child a {
    margin-bottom: 0;
  }

  .dropdown a::after {
    display: none;
  }

  .dropdown a:hover,
  .dropdown a.is-active {
    color: var(--bss-primary-dark);
    background: #fffdf7;
  }

  .has-dropdown.is-open .dropdown,
  .has-dropdown.is-open:hover .dropdown {
    display: grid;
    padding: 8px;
  }
}

@media (max-width: 1060px) {
  .identity__inner {
    align-items: center;
    flex-direction: column;
  }

  .identity__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .brand strong {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .identity__actions .btn {
    flex: 1 1 220px;
  }

  .hero {
    min-height: 660px;
  }

  .hero__content {
    margin-inline: auto;
  }

  .heritage-photo {
    width: min(46%, 390px);
  }

  .heritage-photo img {
    min-height: 440px;
  }

  .heritage-founder-label {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -18px;
    max-width: none;
    text-align: center;
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-4,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-grid,
  .page-layout,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .foundation-block {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }

  .foundation-block--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 160px);
  }

  .foundation-block__media {
    max-width: 160px;
  }

  .foundation-story__grid > .foundation-block:first-child {
    grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  }

  .foundation-story__grid > .foundation-block:first-child .foundation-block__media {
    width: 270px;
    max-width: 270px;
  }

  .legacy-block {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }

  .legacy-block--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  }

  .legacy-block__media img {
    max-height: 340px;
  }

  .homage-block {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }

  .homage-block--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  }

  .homage-block__media img {
    max-height: 340px;
  }

  .donation-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-form--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    padding-right: 0;
  }

  .sidebar {
    position: static;
  }
}

@media (min-width: 769px) and (max-width: 1060px) {
  body.menu-open {
    overflow: auto;
  }

  body.menu-open::before {
    display: none;
  }

  .identity__inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .identity__actions {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .identity__actions .btn {
    flex: 0 0 auto;
  }

  .main-nav__inner {
    justify-content: center;
  }

  .nav-toggle,
  .mobile-menu-head {
    display: none;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu > li {
    display: flex;
    width: auto;
    margin: 0;
  }

  .menu a,
  .menu button {
    width: auto;
    min-height: 40px;
    height: 40px;
    padding: 0 9px;
    border: 0;
    border-radius: 10px;
    color: rgba(255, 248, 226, 0.92);
    background: transparent;
    box-shadow: none;
    font-size: 0.88rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: max-content;
    min-width: 280px;
    max-width: min(86vw, 360px);
    padding: 12px;
    border: 1px solid rgba(185, 147, 74, 0.34);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(
      180deg,
      rgba(255, 253, 247, 0.99),
      rgba(255, 245, 222, 0.98)
    );
    box-shadow: 0 28px 70px rgba(52, 18, 10, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    overflow: visible;
  }

  .dropdown a {
    color: var(--bss-text);
    background: transparent;
    font-weight: 780;
    white-space: normal;
  }

  .dropdown a:hover,
  .dropdown a.is-active {
    color: var(--bss-primary);
    background: rgba(255, 248, 226, 0.72);
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .top-strip .container,
  .identity .container {
    width: calc(100% - 15px);
    max-width: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: var(--mobile-header-height);
    /* padding-bottom: 76px; */
  }

  body.nav-fixed {
    padding-top: var(--mobile-header-height);
  }

  .container {
    width: min(calc(100% - 26px), var(--max));
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 180;
  }

  .top-strip,
  .identity__actions {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;

    background: rgba(255, 253, 247, 0.97);
    border-bottom: 1px solid rgba(122, 30, 34, 0.14);
    border-radius: 0 0 24px 24px;
    box-shadow:
      0 16px 38px rgba(43, 33, 24, 0.14),
      0 2px 0 rgba(255, 255, 255, 0.6) inset;
    overflow: hidden;
  }

  .identity {
    border-bottom: 0;
    box-shadow: none;
    background: transparent;
  }

  .identity .container {
    width: 100%;
  }

  .identity::before,
  .identity::after {
    display: none;
  }

  .identity__inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 62px;
    padding: 6px 6px 6px 10px;
    gap: 8px;
  }

  .brand {
    flex: 1 1 0%;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 10px;
  }

  .brand__logo {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-top: 0;
  }

  .brand__text {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    container-type: inline-size;
  }

  .brand strong {
    width: 100%;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: -0.03em;
    text-align: center;
    font-size: clamp(0.42rem, 4.6cqi, 1.32rem);
  }

  .brand small {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    text-align: center;
    margin-top: 2px;
    gap: 4px;
    font-size: clamp(0.34rem, 1.9cqi, 0.62rem);
  }

  .main-nav {
    position: static;
    display: grid;
    align-items: center;
    width: auto;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .main-nav.is-fixed {
    position: static;
    width: auto;
    min-height: auto;
  }

  .main-nav__inner {
    width: auto;
    justify-content: center;
    padding-right: 8px;
    background-color: transparent;
  }

  .nav-toggle {
    margin: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: linear-gradient(
      135deg,
      var(--bss-primary),
      var(--bss-secondary)
    );
    box-shadow: 0 8px 18px rgba(122, 30, 34, 0.32);
  }

  .nav-toggle span:not(.sr-only) {
    background: linear-gradient(180deg, #fff, #fbe9c9);
  }

  .menu {
    top: 0;
    left: 0;
    right: auto;
    width: min(calc(100% - 20px), 340px);
    max-width: calc(100% - 20px);
    height: 100dvh;
    max-height: 100dvh;
  }

  .menu > li.menu__lang {
    display: block;
    margin-top: 6px !important;
    padding-top: 16px;
    border-top: 1px solid rgba(122, 30, 34, 0.14);
  }

  .menu__lang-label {
    display: block;
    margin-bottom: 8px;
    color: var(--bss-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu .language-toggle {
    width: 100%;
    min-height: 0;
    justify-content: center;
    margin-left: 0;
    padding: 4px;
    border: 1px solid rgba(122, 30, 34, 0.16);
    border-radius: 999px;
    background: rgba(122, 30, 34, 0.05);
    filter: none;
  }

  .menu .language-toggle button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    color: var(--bss-muted);
    background: transparent;
    box-shadow: none;
    font-size: 0.82rem;
    text-align: center;
  }

  .menu .language-toggle button.is-active {
    color: #fff;
    background: linear-gradient(
      135deg,
      var(--bss-primary),
      var(--bss-secondary)
    );
    box-shadow: 0 6px 14px rgba(122, 30, 34, 0.3);
  }

  /* .brand small {
    display: none;
  } */

  /* .footer {
    padding-bottom: 88px;
  } */

  .footer,
  .footer * {
    justify-content: center;
    text-align: center;
  }

  .footer__grid {
    /* grid-template-columns: 1fr 1fr; */
    justify-items: stretch;
    gap: 16px;
  }

  .footer .brand,
  .brand--footer,
  .socials {
    justify-content: center;
  }

  .footer section {
    width: min(100%, 420px);
  }

  .footer h2 {
    margin-bottom: 8px;
  }

  .footer a {
    margin-bottom: 5px;
  }

  .footer a {
    margin-left: 0;
    margin-right: 0;
  }

  .socials {
    width: 100%;
  }

  .brand--footer {
    align-items: center;
  }

  .footer__bottom {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    padding-right: 0;
  }

  .brand small {
    letter-spacing: 0.05em;
    gap: 0px;
    font-size: 0.6rem;
  }

  .hero {
    min-height: 610px;
  }

  .sticky-actions {
    position: fixed;
    top: 50%;
    right: 4px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* z-index: 9999; */
  }

  .back-button {
    top: calc(50% + 155px);
    right: 4px;
    bottom: auto;
    left: auto;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    transform: translateY(-50%);
  }

  .back-button__text {
    display: none;
  }

  .sticky-action__text {
    display: none;
  }

  .sticky-action:hover,
  .sticky-action:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .sticky-action__icon {
    width: 30px;
    height: 30px;
  }

  .sticky-action__text,
  .sticky-action:hover .sticky-action__text,
  .sticky-action:focus-visible .sticky-action__text {
    max-width: none;
    padding: 0 8px 0 0;
    opacity: 1;
    font-size: 0.72rem;
  }

  .hero__content {
    width: min(calc(100% - 26px), 560px);
    padding: 28px 22px 34px;
    border-radius: 30px 30px 30px 10px;
  }

  .hero__content::after {
    left: 18px;
    right: auto;
    bottom: -15px;
    font-size: 0.78rem;
  }

  .hero__seal {
    width: 60px;
    height: 60px;
    font-size: 1.9rem;
  }

  .hero__arrow {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }

  .hero__arrow--prev {
    left: 13px;
  }

  .hero__arrow--next {
    right: 13px;
  }

  .section {
    padding: 48px 0;
  }

  .archive-marquee {
    width: min(calc(100% - 26px), var(--max));
  }

  .section:not(.hero):not(.stats)::before,
  .section:not(.hero):not(.stats)::after {
    opacity: 0.055;
  }

  .card > div,
  .album-card__body,
  .philosophy-card,
  .milestone,
  .detail,
  .donation-card,
  .donation-option-card {
    padding: 22px;
  }

  .card > div,
  .album-card__body {
    padding: 5px;
  }

  .photo::before {
    inset: -20%;
  }

  .photo img {
    min-height: 310px;
    border-radius: 34px 34px 20px 20px;
  }

  .stat {
    padding: 22px 12px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(1.85rem, 10vw, 2.85rem);
  }

  .foundation-block,
  .foundation-block--reverse {
    grid-template-columns: 1fr;
  }

  .foundation-block__media,
  .foundation-block--reverse .foundation-block__media {
    order: initial;
    max-width: 220px;
    margin-inline: auto;
  }

  .foundation-story__grid > .foundation-block:first-child {
    grid-template-columns: 1fr;
  }

  .foundation-story__grid > .foundation-block:first-child .foundation-block__media {
    width: 100%;
    max-width: 300px;
  }

  .foundation-block__text,
  .foundation-block--reverse .foundation-block__text {
    order: initial;
  }

  .legacy-block,
  .legacy-block--reverse {
    grid-template-columns: 1fr;
  }

  .legacy-block__media,
  .legacy-block--reverse .legacy-block__media {
    order: initial;
  }

  .legacy-block__media img {
    max-height: 320px;
  }

  .legacy-block__text,
  .legacy-block--reverse .legacy-block__text {
    order: initial;
  }

  .homage-block,
  .homage-block--reverse {
    grid-template-columns: 1fr;
  }

  .homage-block__media,
  .homage-block--reverse .homage-block__media {
    order: initial;
  }

  .homage-block__media img {
    max-height: 320px;
  }
  

  .homage-story__grid .homage-block--reverse:last-of-type {
  grid-template-columns: 1fr;
}
  .homage-block__text,
  .homage-block--reverse .homage-block__text {
    order: initial;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .identity__actions,
  .button-row {
    flex-direction: column;
  }

  .identity__actions .btn,
  .button-row .btn {
    width: 100%;
  }

  .hero__content p:not(.section-label) {
    font-size: 1rem;
  }

  .hero__dots {
    bottom: 24px;
  }

  .cards-4,
  .stats__grid,
  .activity-grid,
  .archive-grid,
  .donation-options,
  .footer__grid,
  .mini-grid,
  .contact-form,
  .donation-form,
  .donation-form--wide {
    grid-template-columns: 1fr 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .activity-card {
    min-height: 410px;
  }

  .activity-card figure {
    height: 220px;
  }

  .activity-modal,
  .card-modal,
  .pdf-modal {
    padding: 16px;
  }

  .activity-modal__dialog,
  .card-modal__dialog {
    height: min(92vh, 620px);
  }

  .pdf-modal__dialog {
    height: min(92vh, 640px);
  }

  .activity-modal__content,
  .card-modal__content {
    padding: clamp(90px, 26vh, 160px) 22px 22px;
  }

  .timeline::before {
    left: 21px;
  }

  .milestone {
    margin-left: 52px;
  }

  .milestone span {
    left: -52px;
    width: 42px;
    height: 42px;
    box-shadow:
      0 0 0 7px var(--bss-bg),
      0 12px 24px rgba(137, 43, 26, 0.16);
  }

  .footer__bottom {
    flex-direction: column;
  }

  .image-modal__nav--prev {
    left: 6px;
  }

  .image-modal__nav--next {
    right: 6px;
  }

  .footer p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand__logo,
  .brand__logo::before,
  .hero__seal,
  .philosophy-card span,
  .photo::after,
  .archive-marquee__track {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

.hero__arrow,
.image-modal__nav,
.image-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.hero__arrow span,
.image-modal__nav span {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 0.82;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-align: center;
}

.hero__arrow--prev span,
.image-modal__nav--prev span {
  transform: translate(-1px, -1px);
}

.hero__arrow--next span,
.image-modal__nav--next span {
  transform: translate(1px, -1px);
}

*,
*::before,
*::after {
  min-width: 0;
}

.site-header,
.top-strip,
.identity,
.main-nav,
.hero,
.section,
.stats,
.footer,
.archive-marquee,
.image-modal,
.activity-modal,
.card-modal {
  max-width: 100%;
}

.top-strip__inner,
.identity__inner,
.main-nav__inner,
.hero__content,
.section-heading,
.split,
.page-layout,
.card-grid,
.activity-grid,
.album-grid,
.donation-grid,
.stats__grid,
.footer__grid {
  min-width: 0;
}

table,
iframe,
video,
canvas,
svg,
input,
textarea,
select,
button {
  max-width: 100%;
}

p,
li,
blockquote,
figcaption,
label,
strong,
small,
a,
button,
input,
textarea,
select {
  overflow-wrap: anywhere;
}

.activity-card,
.card,
.album-card,
.donation-card,
.donation-option-card,
.stat,
.detail,
.sidebar {
  max-width: 100%;
}

@media (max-width: 640px) {
  .top-strip__inner {
    padding-block: 8px;
  }

  .language-toggle {
    flex: 0 0 auto;
    margin-left: 0;
    max-width: 100%;
  }

  .language-toggle button {
    min-width: 62px;
    padding-inline: 10px;
  }

  /* .identity__inner {
    gap: 16px;
    /* padding: 18px 0 16px; */
  /* }  */

  .brand {
    width: 100%;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .identity__actions .btn {
    min-height: 44px;
    padding-inline: 14px;
  }

  .hero__content {
    margin-left: auto;
    margin-right: auto;
  }

  .dropdown {
    width: 100%;
    max-width: 100%;
  }

  .image-modal__dialog,
  .activity-modal__dialog,
  .card-modal__dialog,
  .pdf-modal__dialog {
    width: min(100%, calc(100vw - 28px));
  }

  .heritage-photo {
    float: none;
    width: 100%;
    margin: 0 0 28px;
  }

  .heritage-photo img {
    min-height: 0;
    /* aspect-ratio: 4 / 3; */
  }

  .heritage-read-more-row,
  .heritage-extra {
    clear: none;
  }
}

@media (max-width: 390px) {
  .btn,
  .activity-card__link {
    width: 100%;
  }

  .sticky-action__text,
  .sticky-action:hover .sticky-action__text,
  .sticky-action:focus-visible .sticky-action__text {
    display: none;
  }

  .activity-card__number {
    width: 54px;
    height: 54px;
    right: 18px;
  }

  .activity-card h3 {
    margin-right: 54px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  body {
    padding-top: 0;
  }

  body.nav-fixed {
    padding-top: var(--main-nav-height);
  }

  .site-header {
    position: relative;
    display: block;
    width: 100%;
    z-index: 90;
    box-shadow: 0 22px 54px rgba(33, 12, 8, 0.15);
  }

  .top-strip {
    display: block;
  }

  .top-strip__inner {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .top-strip a,
  .top-strip span {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  .language-toggle {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .identity {
    display: block;
    background:
      linear-gradient(
        90deg,
        rgba(255, 253, 247, 0.97),
        rgba(255, 245, 222, 0.95)
      ),
      radial-gradient(circle at 24% 0, rgba(185, 147, 74, 0.3), transparent 34%);
    box-shadow: 0 18px 40px rgba(43, 33, 24, 0.08);
  }

  .identity__inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 18px;
    min-height: auto;
    padding: 12px 0;
  }

  .brand {
    width: auto;
    min-width: 0;
    align-items: center;
  }

  .brand__logo {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
  }

  .brand__text {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand strong {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: clamp(1.1rem, 0.75rem + 1.7vw, 1.9rem);
    letter-spacing: -0.03em;
  }

  .brand small {
    display: inline-flex;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }

  .identity__actions {
    display: flex;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .identity__actions .btn {
    width: auto;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 16px;
    font-size: 1rem;
  }

  .main-nav,
  .main-nav.is-fixed {
    display: block;
    width: 100%;
    min-height: auto;
    background: linear-gradient(
      90deg,
      rgba(25, 12, 9, 0.98),
      rgba(92, 18, 13, 0.97) 48%,
      rgba(25, 12, 9, 0.98)
    );
    box-shadow: 0 18px 35px rgba(26, 12, 8, 0.2);
    backdrop-filter: blur(14px);
  }

  .main-nav.is-fixed {
    position: fixed;
  }

  .main-nav__inner {
    /* min-height: var(--main-nav-height); */
    justify-content: center;
  }

  .nav-toggle,
  .mobile-menu-head {
    display: none;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu > li {
    display: flex;
    width: auto;
    margin: 0;
  }

  .menu a,
  .menu button {
    width: auto;
    min-height: 40px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    color: rgba(255, 248, 226, 0.92);
    background: transparent;
    box-shadow: none;
    font-size: 0.94rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: max-content;
    min-width: 310px;
    max-width: min(86vw, 380px);
    padding: 12px;
    border: 1px solid rgba(185, 147, 74, 0.34);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(
      180deg,
      rgba(255, 253, 247, 0.99),
      rgba(255, 245, 222, 0.98)
    );
    box-shadow: 0 28px 70px rgba(52, 18, 10, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    overflow: visible;
  }

  .dropdown a {
    width: 100%;
    min-height: 44px;
    height: auto;
    justify-content: flex-start;
    padding: 11px 14px;
    color: var(--bss-text);
    background: transparent;
    font-size: 0.95rem;
    font-weight: 780;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
  }

  .dropdown a:hover,
  .dropdown a.is-active {
    color: var(--bss-primary);
    /* background: rgba(255, 248, 226, .78); */
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .back-button {
    top: calc(50% + 155px);
    right: 18px;
    left: auto;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    transform: translateY(-50%);
  }

  .back-button__text {
    display: none;
  }
}

.activity-carousel {
  position: relative;
}

#objectives .activity-card figure {
  display: none !important;
}

.activity-carousel__arrow,
.activity-carousel__dots {
  display: none;
}

@media (max-width: 768px) {
  #objectives .activity-carousel {
    position: relative;
  }

  #objectives .activity-grid {
    position: relative;
    display: block;
    height: clamp(400px, 112vw, 460px);
    padding: 0;
    margin-inline: auto;
    touch-action: pan-y;
  }

  #objectives .activity-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(80vw, 320px);
    height: 100%;
    margin: 0;
    transform: translate3d(calc(-50% + var(--tx, 0px)), 0, 0)
      scale(var(--scale, 1));
    opacity: var(--opacity, 1);
    filter: brightness(var(--dim, 1));
    z-index: var(--z, 1);
    pointer-events: none;
    touch-action: pan-y;
    transition:
      transform 0.55s cubic-bezier(0.22, 0.9, 0.25, 1),
      opacity 0.45s ease,
      filter 0.45s ease;
  }

  #objectives .activity-card.is-dragging {
    transition: none;
  }

  #objectives .activity-card.is-active {
    pointer-events: auto;
  }

  #objectives .activity-card figure {
    aspect-ratio: unset;
    height: 42%;
  }

  #objectives .activity-card__body {
    flex: 1;
    min-height: 0;
    transition: opacity 0.3s ease;
  }

  #objectives .activity-card:not(.is-active) .activity-card__body {
    opacity: 0;
  }

  #objectives .activity-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  #objectives .activity-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }

  .activity-carousel__arrow {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(185, 147, 74, 0.44);
    border-radius: 50%;
    color: var(--bss-primary-dark);
    background: rgba(250, 247, 239, 0.85);
    box-shadow: 0 12px 26px rgba(43, 33, 24, 0.16);
    backdrop-filter: blur(8px);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
      transform 0.2s ease,
      background 0.2s ease,
      color 0.2s ease;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    text-align: center;
  }

  .activity-carousel__arrow:hover,
  .activity-carousel__arrow:focus-visible {
    color: var(--bss-white-solid);
    background: var(--bss-primary);
  }

  .activity-carousel__arrow:active {
    transform: translateY(-50%) scale(0.92);
  }

  .activity-carousel__arrow--prev {
    left: 4px;
  }

  .activity-carousel__arrow--next {
    right: 4px;
  }

  .activity-carousel__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: min(92%, 320px);
    margin: 18px auto 0;
    padding: 4px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .activity-carousel__dots::-webkit-scrollbar {
    display: none;
  }

  .activity-carousel__dots button {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(185, 147, 74, 0.35);
    cursor: pointer;
    transition:
      width 0.25s ease,
      background 0.25s ease;
  }

  .activity-carousel__dots button.is-active {
    width: 24px;
    background: linear-gradient(90deg, var(--bss-gold), var(--bss-primary));
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  #objectives .activity-card {
    transition: opacity 0.3s ease;
  }
}

/* Advertisement Portal */
.advertisement-portal {
  min-height: 100vh;
}

.advertisement-portal .section-heading {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.advertisement-portal .section-heading h2 {
  color: var(--bss-brown);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.tariff-heading {
  margin-top: clamp(42px, 6vw, 76px);
}

.tariff-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.8vw, 34px);
  align-items: start;
}

.tariff-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid rgba(122, 30, 34, 0.16);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(255, 242, 210, 0.9));
  box-shadow: var(--shadow-soft);
}

.tariff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.tariff-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fffdf7;
}

@media (max-width: 820px) {
  .tariff-gallery {
    grid-template-columns: 1fr;
  }

  .advertisement-portal .section-heading h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }
}
/* =========================================================
   LIBRARY CUSTOM INLINE IMAGES
   Full image visible + card automatically fits image
========================================================= */


/* =========================================================
   RIGHT-SIDE IMAGE
========================================================= */

.library-feature__figure.right-side {
  float: right;

  /* Slightly larger than before */
  width: clamp(240px, 32vw, 380px);

  /* Do NOT force a fixed height */
  height: auto;
  min-height: 0;

  margin: 6px 0 24px 32px;

  border-radius: var(--radius);
  overflow: hidden;

  box-shadow: var(--shadow);

  /* Prevent any inherited aspect-ratio */
  aspect-ratio: auto;

  background: transparent;
}


/* Right image */

.library-feature__figure.right-side img {
  display: block;

  width: 100%;
  height: auto;

  min-height: 0;
  max-height: none;

  /*
     Shows the full original image.
     No artificial empty space.
  */
  object-fit: contain;
  object-position: center;

  background: transparent;
}


/* =========================================================
   LEFT-BOTTOM IMAGE
========================================================= */

.library-feature__figure.left-bottom {
  float: left;

  /* Slightly larger than before */
  width: clamp(240px, 32vw, 380px);

  height: auto;
  min-height: 0;

  margin: 6px 32px 24px 0;

  border-radius: var(--radius);
  overflow: hidden;

  box-shadow: var(--shadow);

  aspect-ratio: auto;

  background: transparent;
}


/* Left image */

.library-feature__figure.left-bottom img {
  display: block;

  width: 100%;
  height: auto;

  min-height: 0;
  max-height: none;

  object-fit: contain;
  object-position: center;

  background: transparent;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1060px) {

  .library-feature__figure.right-side,
  .library-feature__figure.left-bottom {
    width: clamp(220px, 35vw, 330px);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .library-feature__figure.right-side,
  .library-feature__figure.left-bottom {
    float: none;

    width: 100%;
    max-width: 100%;

    height: auto;
    min-height: 0;

    margin: 0 0 20px;

    border-radius: 16px;

    aspect-ratio: auto;

    box-shadow: var(--shadow);
  }


  .library-feature__figure.right-side img,
  .library-feature__figure.left-bottom img {
    display: block;

    width: 100%;
    height: auto;

    min-height: 0;
    max-height: none;

    aspect-ratio: auto;

    object-fit: contain;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

  .library-feature__figure.right-side,
  .library-feature__figure.left-bottom {
    margin-bottom: 16px;
    border-radius: 14px;
  }

}

/* =========================================================
   LIBRARY CONTACT DETAILS
========================================================= */

.library-contact {
  clear: both;
  width: 100%;
  margin: 18px 0 0;
  padding: 0;

  color: var(--bss-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  text-align: left;
}


/* "Note:" */
.library-contact strong:first-child {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--bss-brown);
}


/* Contact heading */
.library-contact strong:nth-of-type(2) {
  color: var(--bss-brown);
}


/* Keep contact number directly below contact heading */
.library-contact br {
  line-height: 1.7;
}


/* Office heading */
.library-contact strong:nth-of-type(3) {
  display: inline-block;
  margin-top: 8px;
  color: var(--bss-brown);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .library-contact {
    clear: both;
    width: 100%;
    margin-top: 20px;

    font-size: clamp(0.95rem, 3.5vw, 1.08rem);
    line-height: 1.7;
    text-align: left;
  }

}