:root {
  --bg: #f4f0e8;
  --surface: #fffdf8;
  --ink: #2b241d;
  --brand: #8a1c1c;
  --brand-dark: #5f1010;
  --accent: #d0a95f;
  --muted: #706356;
  --shadow: 0 14px 30px rgba(43, 36, 29, 0.12);
  --deep-maroon: #3f0f0f;
  --gold-soft: #f2d79a;
  --gold-deep: #b98b3b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(208, 169, 95, 0.22), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(138, 28, 28, 0.12), transparent 30%),
    var(--bg);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 18, 14, 0.9);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner {
  text-align: center;
  color: #ffe8bc;
}

.site-loader-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 227, 170, 0.25);
  border-top-color: #f6c979;
  margin: 0 auto 0.65rem;
  animation: loader-spin 800ms linear infinite;
}

.site-loader-text {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero,
.sub-hero {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background: linear-gradient(125deg, #2f1e18 0%, #5f1010 60%, #2b241d 100%);
  color: #fff8e8;
}

.header-utility {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.6rem;
}

.header-utility.compact {
  padding-top: 0;
  margin-bottom: 0.6rem;
  min-height: 38px;
  align-items: center;
}

.header-utility.compact .menu-toggle {
  margin-top: 0;
  margin-bottom: 0;
}

.header-ad-rail {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.65rem;
}

.header-ad-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  display: block;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 227, 175, 0.42);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffe7bd;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 226, 174, 0.4);
  padding: 2px;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.utility-links a {
  text-decoration: none;
  color: #fff1d2;
  border: 1px solid rgba(255, 227, 175, 0.45);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  background: rgba(0, 0, 0, 0.12);
}

.utility-links a:hover {
  background: rgba(255, 231, 191, 0.15);
}

.site-menu {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.sub-hero .container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem 0.8rem;
}

.sub-hero .header-utility {
  margin-bottom: 0;
}

.sub-hero .site-menu {
  margin-top: 0;
  justify-self: end;
}

.sub-hero .kicker,
.sub-hero h1,
.sub-hero .header-chip-row {
  grid-column: 1 / -1;
}

.hero .header-utility .site-menu {
  margin-top: 0;
  margin-left: auto;
}


.menu-toggle {
  display: none;
  position: relative;
  z-index: 5;
  margin-left: auto;
  margin-right: 0;
  border: 1px solid rgba(255, 227, 175, 0.45);
  background: rgba(0, 0, 0, 0.18);
  color: #fff2d2;
  border-radius: 8px;
  width: 38px;
  height: 34px;
  padding: 0;
  margin-top: 0.45rem;
  margin-bottom: 0.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: #fff3d0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-link {
  text-decoration: none;
  color: #fff0cd;
  border: 1px solid rgba(255, 227, 175, 0.42);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.14);
  transition: background 180ms ease, transform 180ms ease;
}

.menu-link:hover {
  background: rgba(255, 225, 169, 0.18);
  transform: translateY(-1px);
}

.menu-link.active {
  background: rgba(255, 215, 140, 0.28);
  border-color: rgba(255, 215, 140, 0.8);
  color: #fff7e2;
}

@media (max-width: 820px) {
  .sub-hero .container {
    display: block;
  }

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

  .header-utility .utility-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-menu {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 227, 175, 0.35);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
  }

  .site-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.divine-hero {
  padding: 5.4rem 0 5rem;
  border-bottom: 2px solid rgba(255, 218, 153, 0.35);
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 12px,
    transparent 12px,
    transparent 24px
  );
}

.divine-hero .aura {
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(850px, 96vw);
  height: 580px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(255, 224, 154, 0.28) 0%, rgba(255, 224, 154, 0.08) 35%, transparent 62%),
    radial-gradient(circle at 50% 15%, rgba(255, 252, 241, 0.22), transparent 40%);
  filter: blur(1px);
  pointer-events: none;
}

.lamp-row {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 1.2rem;
  z-index: 1;
}

.lamp-row span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffc55d;
  box-shadow: 0 0 0 5px rgba(255, 197, 93, 0.12), 0 0 18px rgba(255, 197, 93, 0.8);
  animation: flame 2s ease-in-out infinite;
}

.lamp-row span:nth-child(2) { animation-delay: 200ms; }
.lamp-row span:nth-child(3) { animation-delay: 400ms; }
.lamp-row span:nth-child(4) { animation-delay: 600ms; }
.lamp-row span:nth-child(5) { animation-delay: 800ms; }

.hero-content {
  position: relative;
  z-index: 1;
  animation: rise 700ms ease-out;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.2rem;
  align-items: center;
}

.sacred-panel {
  margin-top: 0.8rem;
  max-width: 770px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 221, 160, 0.45);
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(255, 237, 201, 0.12), rgba(255, 252, 241, 0.05)),
    rgba(38, 16, 16, 0.26);
  backdrop-filter: blur(1px);
  box-shadow: 0 20px 40px rgba(26, 8, 8, 0.28);
}

.hero-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(255, 226, 174, 0.5);
  background: rgba(255, 255, 255, 0.14);
  padding: 4px;
  margin-bottom: 0.4rem;
}

.hero-highlight {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 151, 0.4);
  background: rgba(30, 11, 11, 0.35);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.hero-highlight img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero-highlight figcaption {
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  color: #f4dfb8;
}

.mantra {
  margin: 0 0 0.4rem;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold-soft);
  font-size: 0.72rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-chip-row {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.kicker {
  margin: 0 0 0.6rem;
  color: #f4d7a4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.lead {
  margin-top: 0.8rem;
  max-width: 52ch;
}

.lead-note {
  color: #ffe7ba;
  font-weight: 600;
}

.main-content {
  padding: 2rem 0 3rem;
}

.gallery-search-wrap {
  margin: 0 0 1rem;
}

.gallery-command-center {
  border: 1px solid rgba(138, 28, 28, 0.18);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 214, 150, 0.2), transparent 34%),
    linear-gradient(130deg, #fff8e9 0%, #fff2dd 52%, #ffe8c8 100%);
  box-shadow: 0 12px 24px rgba(61, 29, 7, 0.1);
}

.gallery-command-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: #5f1010;
}

.gallery-command-head p {
  margin: 0.2rem 0 0.6rem;
  color: #6f5530;
  font-size: 0.86rem;
}

.gallery-tools-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-tool-wide {
  grid-column: 1 / -1;
}

.gallery-tools-row {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-tool-item {
  display: grid;
  gap: 0.3rem;
  font-size: 0.79rem;
  color: #6d5632;
  font-weight: 600;
}

.gallery-tool-card {
  border: 1px solid rgba(136, 89, 36, 0.24);
  border-radius: 12px;
  padding: 0.6rem 0.65rem;
}

.gallery-tool-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4f180f;
}

.gallery-tool-sub {
  font-size: 0.74rem;
  font-weight: 600;
  color: #795c34;
}

.gallery-tool-search {
  background: linear-gradient(130deg, #fff7ea, #ffe9c9);
}

.gallery-tool-page {
  background: linear-gradient(130deg, #f2fbff, #ddf4ff);
}

.gallery-tool-jump {
  background: linear-gradient(130deg, #f5fff2, #e7f9dd);
}

.gallery-tool-select,
.gallery-tool-input {
  width: 100%;
  border: 1px solid rgba(43, 36, 29, 0.2);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  font-size: 0.92rem;
  background: #fffefb;
}

.gallery-jump-wrap {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.gallery-jump-wrap .button {
  padding: 0.5rem 0.85rem;
  min-width: 74px;
}

.gallery-search-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.gallery-search-input {
  width: 100%;
  border: 1px solid rgba(43, 36, 29, 0.2);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  background: #fffefb;
}

.gallery-search-input:focus {
  outline: none;
  border-color: rgba(138, 28, 28, 0.6);
  box-shadow: 0 0 0 3px rgba(138, 28, 28, 0.14);
}

.search-meta {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: #6d5632;
}

@media (max-width: 900px) {
  .gallery-tool-wide {
    grid-column: 1 / -1;
  }

  .home-newsroom {
    grid-template-columns: 1fr;
  }

  .footer-grid > section {
    padding: 0.62rem 0.65rem;
  }

  .footer-links {
    gap: 0.38rem 0.52rem;
  }
}

.pagination {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.page-btn {
  border: 1px solid rgba(150, 93, 34, 0.35);
  background: #fff9ef;
  color: #5f1010;
  border-radius: 999px;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.7rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.page-btn:hover:not(:disabled) {
  background: #ffeccb;
}

.page-btn.active {
  background: #8a1c1c;
  border-color: #8a1c1c;
  color: #fff8e8;
}

.page-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.page-ellipsis {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  height: 2.2rem;
  color: #8c6c3a;
  font-weight: 700;
}

.category-switcher-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(43, 36, 29, 0.1);
}

.category-switcher-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
}

.category-switcher-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 28, 28, 0.34);
  background: rgba(255, 254, 248, 0.94);
  color: #7c1a1a;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(43, 36, 29, 0.1);
}

.category-switcher-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.category-switcher {
  display: flex;
  gap: 0.65rem;
  overflow-x: hidden;
  padding: 0.8rem 0;
  scrollbar-width: none;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(43, 36, 29, 0.14);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.44rem 0.8rem;
  min-height: 4.6rem;
  font-size: 0.84rem;
  box-shadow: 0 6px 14px rgba(43, 36, 29, 0.08);
}

.cat-chip:hover {
  border-color: rgba(138, 28, 28, 0.36);
  transform: translateY(-1px);
}

.cat-chip.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.cat-chip-icon {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: rgba(138, 28, 28, 0.62);
}

.cat-chip.active .cat-chip-icon {
  background: #f5d49b;
}

.cat-chip-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  background: #e9dcc8;
  border: 1px solid rgba(138, 28, 28, 0.35);
  flex: 0 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.8rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 0.52rem 1rem;
  font-weight: 700;
  transition: background 200ms ease, transform 200ms ease;
}

.button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.button-alt {
  background: transparent;
  border: 1px solid rgba(255, 216, 154, 0.7);
  color: #ffe5b6;
}

.button-alt:hover {
  background: rgba(255, 232, 186, 0.12);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.photos {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1320px) {
  .photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border: 1px solid rgba(43, 36, 29, 0.1);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 240ms ease;
  animation: fadein 450ms ease;
}

.card:hover {
  transform: translateY(-4px);
}

.home-page .main-content {
  margin-top: -1.5rem;
}

.intro-strip {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(185, 139, 59, 0.32);
  border-radius: 14px;
  background: linear-gradient(90deg, #fff7e5, #fff2dc);
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 18px rgba(56, 36, 11, 0.08);
}

.intro-strip p {
  margin: 0;
  color: #6c542f;
}

.ornament {
  font-family: "Cinzel", serif;
  font-size: 1.7rem;
  color: var(--gold-deep);
  line-height: 1;
}

.home-page .cards .card {
  border: 1px solid rgba(150, 93, 34, 0.25);
  background:
    linear-gradient(145deg, #fffef9, #fff4df);
  position: relative;
  overflow: hidden;
}

.home-page .cards .card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b8863a, #ffd48c, #b8863a);
}

.home-page .cards .card h3 {
  font-family: "Cinzel", serif;
  font-size: 1rem;
}

.home-newsroom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0.8rem;
}

.newsroom-lead {
  min-height: 100%;
}

.newsroom-list {
  display: grid;
  gap: 0.55rem;
}

.newsroom-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(150, 93, 34, 0.22);
  border-radius: 12px;
  background: linear-gradient(145deg, #fffef9, #fff3df);
  padding: 0.65rem 0.75rem;
}

.newsroom-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  line-height: 1.38;
}

.newsroom-item .event-meta {
  margin-top: 0.2rem;
  font-size: 0.78rem;
}

.home-category-card .home-category-stats {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  background: linear-gradient(120deg, #8a1c1c, #b83b23);
  color: #fff6e0;
  border-radius: 12px;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(255, 219, 156, 0.35);
  box-shadow: 0 8px 16px rgba(95, 16, 16, 0.28);
}

.home-category-card .home-photo-count {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home-category-card .home-photo-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.95;
}

.home-category-card .home-album-count {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #6f5e46;
  font-weight: 600;
}

.home-category-card.featured-bw-card {
  border: 2px solid rgba(35, 35, 35, 0.75) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.5), transparent 32%),
    linear-gradient(145deg, #ffffff, #efefef 40%, #dcdcdc 100%) !important;
  box-shadow: 0 16px 30px rgba(30, 30, 30, 0.22);
}

.featured-bw-icon {
  margin: 0 0 0.45rem;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #1f1f1f, #444444);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 12px rgba(10, 10, 10, 0.35);
}

.featured-bw-icon::before {
  content: "★";
  color: #f7f7f7;
  font-size: 0.78rem;
  line-height: 1;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-card {
  background: linear-gradient(145deg, #fffef8, #ffefd7);
  border: 1px solid rgba(150, 93, 34, 0.25);
}

.event-date {
  margin: 0 0 0.38rem;
  color: #8a1c1c;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-meta {
  margin-top: 0.45rem;
  font-size: 0.82rem;
}

.testimonial-section .button {
  margin-top: 0.2rem;
}

.testimonial-card {
  background: linear-gradient(145deg, #fffef9, #fff2e0);
  border: 1px solid rgba(150, 93, 34, 0.28);
}

.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4b3a28;
  margin: 0 0 0.65rem;
}

.testimonial-author {
  margin: 0;
  font-weight: 700;
  color: #6d2a1f;
  font-size: 0.82rem;
}

.testimonial-date {
  margin: 0.3rem 0 0;
  font-size: 0.74rem;
  color: #7b6442;
}

.wiki-article {
  display: grid;
  gap: 0.75rem;
  line-height: 1.7;
}

.wiki-article p {
  margin: 0;
}

.events-help {
  margin: 0 0 1rem;
  border: 1px solid rgba(185, 139, 59, 0.32);
  border-radius: 14px;
  background: linear-gradient(90deg, #fff7e5, #fff2dc);
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 18px rgba(56, 36, 11, 0.08);
}

.events-help p {
  margin: 0.2rem 0;
  color: #6c542f;
}

.events-source a {
  color: #8a1c1c;
  text-decoration: none;
}

.events-source a:hover {
  text-decoration: underline;
}

.disclaimer-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #745f3b;
}

.brand-stage {
  margin: 0 0 1.2rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(138, 28, 28, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 214, 150, 0.28), transparent 34%),
    linear-gradient(130deg, #fff8e9 0%, #fff2dd 52%, #ffe8c8 100%);
  box-shadow: 0 14px 28px rgba(61, 29, 7, 0.12);
}

.brand-stage-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0.9rem;
}

.brand-lead {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(150, 93, 34, 0.25);
  background: #fffef9;
}

.brand-lead .thumb {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.brand-lead-body {
  padding: 0.95rem 1rem 1rem;
}

.brand-pill {
  margin: 0 0 0.45rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff8e5;
  background: #8a1c1c;
}

.brand-side {
  border-radius: 14px;
  border: 1px solid rgba(150, 93, 34, 0.2);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.7rem;
}

.brand-side-title {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #5f1010;
}

.brand-mini-list {
  display: grid;
  gap: 0.45rem;
}

.brand-mini-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(150, 93, 34, 0.22);
  background: #fffaf0;
  padding: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.brand-mini-item:hover {
  background: #fff1d8;
}

.brand-rank {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #8a1c1c;
  color: #fff5dc;
  font-size: 0.74rem;
  font-weight: 700;
}

.brand-mini-content {
  display: grid;
  gap: 0.15rem;
}

.brand-mini-content strong {
  font-size: 0.85rem;
  color: #2f2316;
  line-height: 1.35;
}

.brand-mini-content small {
  font-size: 0.72rem;
  color: #72562d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-embed-wrap {
  margin-top: 1rem;
  border: 1px solid rgba(43, 36, 29, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.event-embed-frame {
  width: 100%;
  min-height: 78vh;
  border: 0;
  display: block;
}

.thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  background: #efe6d9;
}

.photo-tile {
  background: var(--surface);
  border-radius: 14px;
  padding: 0.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(43, 36, 29, 0.1);
  position: relative;
  overflow: hidden;
}

.photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.photo-open {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.protected-media {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.watermark-surface::after {
  content: "Baba Studio";
  position: absolute;
  inset: auto 10px 10px auto;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.2rem 0.48rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 2;
}

.watermark-surface::before {
  content: "BABA STUDIO   SRI SATHYA SAI BABA GALLERY   BABA STUDIO   ";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-size: clamp(0.68rem, 1.6vw, 1.05rem);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.16);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  transform: rotate(-16deg) scale(1.2);
  animation: watermark-drift 11s linear infinite;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.photo-tile figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.empty-state {
  background: #fff4dd;
  border: 1px solid #edd8ad;
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

@media (max-width: 900px) {
  .brand-stage-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-block {
  margin-top: 1.4rem;
}

.message-section {
  margin-bottom: 1.4rem;
}

.message-card {
  border: 1px solid rgba(43, 36, 29, 0.16);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(145deg, #fffdf7, #fff3df);
  box-shadow: 0 12px 24px rgba(43, 36, 29, 0.1);
}

.message-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #3a3024;
}

.message-author {
  margin: 0.55rem 0 0;
  color: #7a5e37;
  font-size: 0.84rem;
}

.message-actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.highlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.highlight-links a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(43, 36, 29, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  background: #fff9ef;
  font-size: 0.86rem;
}

.highlight-links a:hover {
  border-color: rgba(138, 28, 28, 0.45);
  background: #fff3dd;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid rgba(43, 36, 29, 0.14);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 0.6rem;
}

.contact-card p {
  margin: 0.3rem 0;
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 0.45rem;
}

.contact-form label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(43, 36, 29, 0.2);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font-size: 0.92rem;
  background: #fffefb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(138, 28, 28, 0.6);
  box-shadow: 0 0 0 3px rgba(138, 28, 28, 0.14);
}

.contact-map-wrap {
  margin-top: 1.1rem;
}

.contact-studio-wrap {
  margin-top: 1.1rem;
}

.contact-studio-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(43, 36, 29, 0.14);
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-studio-photo img {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

.contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(43, 36, 29, 0.14);
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-map iframe {
  width: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.hidden {
  display: none;
}

.site-footer {
  margin-top: 1rem;
  color: #f4e7cb;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 214, 144, 0.12), transparent 26%),
    linear-gradient(120deg, #2f1e18 0%, #5f1010 62%, #2b241d 100%);
  border-top: 1px solid rgba(255, 227, 175, 0.28);
  padding: 1.2rem 0 calc(0.95rem + env(safe-area-inset-bottom));
  position: relative;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 221, 164, 0.55), transparent);
}

.footer-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-grid > section {
  border: 1px solid rgba(255, 227, 175, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  padding: 0.7rem 0.75rem;
}

.footer-title {
  margin: 0 0 0.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ffe7ba;
}

.footer-text {
  margin: 0.18rem 0;
  color: #f2dfbc;
  font-size: 0.83rem;
  line-height: 1.5;
}

.footer-text a,
.footer-links a {
  color: #ffe7ba;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease, text-decoration-color 160ms ease;
}

.footer-text a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 231, 186, 0.7);
  opacity: 1;
}

.footer-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
}

.footer-social a {
  border: 1px solid rgba(255, 227, 175, 0.36);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: rgba(0, 0, 0, 0.14);
  font-size: 0.78rem;
}

.footer-social .social-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-social .instagram-icon {
  background: radial-gradient(circle at 25% 10%, #ffd26f 10%, #f56040 45%, #c13584 72%, #405de6 100%);
  border-color: rgba(255, 227, 175, 0.52);
  color: #fff9ef;
}

.footer-social .facebook-icon {
  background: #1877f2;
  border-color: rgba(255, 227, 175, 0.52);
  color: #fff;
  font-size: 1rem;
}

.footer-social .youtube-icon {
  background: #ff0033;
  border-color: rgba(255, 227, 175, 0.52);
  color: #fff;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0.85rem auto 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 227, 175, 0.22);
  text-align: center;
  color: #f2dfbc;
  font-size: 0.78rem;
}

.radio-widget {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  width: min(280px, calc(100vw - 24px));
  border-radius: 12px;
  border: 1px solid rgba(43, 36, 29, 0.2);
  background: rgba(255, 252, 244, 0.95);
  backdrop-filter: blur(3px);
  box-shadow: 0 10px 22px rgba(43, 36, 29, 0.18);
  padding: 0.45rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-title {
  margin: 0;
  font-size: 0.76rem;
  color: #7a5f34;
  font-weight: 700;
  line-height: 1.2;
}

.radio-meta {
  min-width: 0;
  flex: 1;
}

.radio-play {
  border: 0;
  border-radius: 999px;
  background: #8a1c1c;
  color: #fff;
  padding: 0.36rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.radio-audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.radio-link {
  display: inline-block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  color: #8a1c1c;
  text-decoration: none;
}

.radio-link:hover {
  text-decoration: underline;
}

.mobile-nav {
  display: none;
}

.ad-wrap {
  margin: 1rem 0 1.4rem;
}

.ad-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7a62;
  margin-bottom: 0.35rem;
}

.ad-card {
  border: 1px dashed rgba(43, 36, 29, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0.45rem;
}

.ad-card ins.adsbygoogle {
  display: block;
  width: 100%;
  min-height: 90px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at top right, rgba(241, 207, 144, 0.16), transparent 38%),
    rgba(15, 9, 5, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(1rem + env(safe-area-inset-top)) calc(1rem + env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) calc(1rem + env(safe-area-inset-left));
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  margin: 0;
  text-align: center;
  color: #f2e7d3;
  max-width: min(1100px, 94vw);
  width: 100%;
}

.lightbox-topbar {
  position: absolute;
  top: calc(0.9rem + env(safe-area-inset-top));
  left: calc(0.9rem + env(safe-area-inset-left));
  right: calc(0.9rem + env(safe-area-inset-right));
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.lightbox-brand {
  margin: 0;
  color: #ffe8bd;
  font-family: "Cinzel", serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 227, 175, 0.38);
  background: rgba(26, 12, 7, 0.62);
  backdrop-filter: blur(4px);
}

.lightbox-stage {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-stage.watermark-surface::before {
  content: "BABA STUDIO";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-size: clamp(1.15rem, 4vw, 2.6rem);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transform: none;
  animation: none;
  pointer-events: none;
  z-index: 1;
}

.lightbox-content img {
  max-width: min(1100px, 94vw);
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
  transition: opacity 220ms ease, transform 220ms ease;
}

.lightbox-content img.is-loading {
  opacity: 0.35;
  transform: scale(0.985);
}

.lightbox-content figcaption {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.lightbox-counter {
  margin: 0;
  color: #f5e0b5;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(255, 227, 175, 0.36);
  background: rgba(26, 12, 7, 0.6);
  backdrop-filter: blur(4px);
  justify-self: center;
}

.lightbox-dots {
  margin-top: 0.65rem;
  display: none;
  justify-content: flex-start;
  align-items: center;
  gap: 0.38rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lightbox-dots::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.lightbox-dot {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  padding: 0;
  border: 2px solid rgba(255, 227, 175, 0.28);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  overflow: hidden;
  flex: 0 0 auto;
}

.lightbox-dot.active {
  border-color: #f1cf90;
  box-shadow: 0 0 0 2px rgba(241, 207, 144, 0.24);
  transform: translateY(-1px);
}

.lightbox-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-dot-jump {
  border: 1px solid rgba(255, 227, 175, 0.45);
  border-radius: 999px;
  background: rgba(20, 8, 4, 0.65);
  color: #ffe7b8;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox-thumbs {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.lightbox-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  width: 54px;
  height: 54px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.75;
  flex: 0 0 auto;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.lightbox-thumb:hover {
  opacity: 1;
}

.lightbox-thumb.active {
  border-color: #f1cf90;
  opacity: 1;
}

.lightbox-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.lightbox-cta {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.54rem 0.95rem;
  background: #1d9f4f;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.lightbox-cta.secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-cta:hover {
  filter: brightness(1.06);
}

.lightbox-cta-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}

.lightbox-cta-icon.whatsapp-icon {
  background: #1d9f4f;
  color: #ffffff;
}

.lightbox-cta-icon.autoplay-icon {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff4de;
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.lightbox-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.36rem 0.58rem;
  background: #1d9f4f;
  color: #ffffff;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.78rem;
  line-height: 1;
}

.lightbox-cta-whatsapp .wa-logo {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
}

.lightbox-cta-whatsapp .wa-logo svg {
  width: 12px;
  height: 12px;
  display: block;
}

.spotify-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.spotify-grid iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
}

.news-full-content {
  margin-top: 0.35rem;
}

.news-full-content .event-meta {
  line-height: 1.6;
  margin-bottom: 0.55rem;
}


.quality-note {
  margin: 0.55rem 0 0;
  text-align: center;
  color: #e7d0a6;
  font-size: 0.8rem;
}

.lightbox-nav,
.lightbox-close {
  border: 1px solid rgba(255, 227, 175, 0.36);
  border-radius: 999px;
  background: rgba(21, 9, 4, 0.64);
  color: #fff6de;
  padding: 0.58rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  touch-action: manipulation;
  backdrop-filter: blur(4px);
}

.lightbox-close {
  position: static;
  min-width: 74px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  z-index: 8;
  visibility: visible;
  opacity: 1;
  background: rgba(21, 9, 4, 0.84);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.lightbox-nav.prev {
  left: clamp(8px, calc(0.8rem + env(safe-area-inset-left)), 28px);
}

.lightbox-nav.next {
  right: clamp(8px, calc(0.8rem + env(safe-area-inset-right)), 28px);
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 236, 198, 0.22);
}

.lightbox-close:hover {
  transform: translateY(-1px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes flame {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes watermark-drift {
  0% { transform: rotate(-16deg) translate3d(-14%, -10%, 0) scale(1.2); opacity: 0.2; }
  50% { transform: rotate(-16deg) translate3d(10%, 8%, 0) scale(1.23); opacity: 0.28; }
  100% { transform: rotate(-16deg) translate3d(-14%, -10%, 0) scale(1.2); opacity: 0.2; }
}

@media print {
  .protected-media,
  .photo-tile,
  .lightbox,
  .hero-highlight,
  .watermark-surface {
    display: none !important;
  }

  body::before {
    content: "Printing of protected Baba Studio gallery photos is disabled.";
    display: block;
    font-family: "Manrope", sans-serif;
    color: #5f1010;
    border: 2px solid #5f1010;
    padding: 1rem;
    margin: 1rem;
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 600px) {
  .hero,
  .sub-hero {
    padding: 3rem 0;
  }

  .divine-hero {
    padding-bottom: 4rem;
  }

  .lamp-row {
    bottom: 0.6rem;
    gap: 0.9rem;
  }

  .sacred-panel {
    padding: 1.1rem 1rem;
  }

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

  .header-ad-image { width: 100%; }

  .site-menu {
    gap: 0.35rem;
  }

  .menu-link {
    font-size: 0.74rem;
    padding: 0.28rem 0.58rem;
  }

  .utility-links a {
    font-size: 0.72rem;
    padding: 0.24rem 0.55rem;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .hero-logo {
    width: 52px;
    height: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlight {
    order: 2;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .category-switcher-wrap {
    top: 0;
  }

  .lightbox {
    align-items: flex-start;
    padding:
      calc(4rem + env(safe-area-inset-top))
      calc(0.65rem + env(safe-area-inset-right))
      calc(1rem + env(safe-area-inset-bottom))
      calc(0.65rem + env(safe-area-inset-left));
  }

  .lightbox-topbar {
    top: calc(0.58rem + env(safe-area-inset-top));
    left: calc(0.6rem + env(safe-area-inset-left));
    right: calc(0.6rem + env(safe-area-inset-right));
    gap: 0.4rem;
  }

  .lightbox-brand {
    font-size: 0.73rem;
    padding: 0.3rem 0.55rem;
    letter-spacing: 0.04em;
  }

  .lightbox-content img {
    max-height: 62vh;
    max-width: 100%;
    width: 100%;
    object-fit: contain;
  }

  .lightbox-nav {
    top: 44%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }

  .lightbox-nav.prev {
    left: clamp(6px, calc(0.35rem + env(safe-area-inset-left)), 16px);
  }

  .lightbox-nav.next {
    right: clamp(6px, calc(0.35rem + env(safe-area-inset-right)), 16px);
  }

  .lightbox-dots {
    display: flex;
    max-width: 100%;
  }

  .lightbox-thumbs {
    display: none;
  }

  .lightbox-thumb {
    width: 46px;
    height: 46px;
  }

  .lightbox-actions {
    gap: 0.42rem;
    margin-top: 0.8rem;
  }

  .lightbox-cta {
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
    padding: 0.56rem 0.85rem;
  }

  .message-actions .button {
    width: 100%;
    text-align: center;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 320px;
  }

  .radio-widget {
    left: auto;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    border-radius: 999px;
    padding: 0.3rem 0.4rem;
    z-index: 130;
    background: rgba(255, 252, 244, 0.92);
  }

  .radio-widget .radio-meta {
    display: none;
  }

  .radio-widget .radio-play {
    padding: 0.32rem 0.62rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 820px) {
  .with-mobile-nav {
    padding-bottom: 68px;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 227, 175, 0.35);
    background: rgba(37, 18, 14, 0.95);
    backdrop-filter: blur(4px);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-nav-link {
    text-decoration: none;
    color: #f7dfb4;
    text-align: center;
    font-size: 0.72rem;
    padding: 0.62rem 0.25rem;
    border-right: 1px solid rgba(255, 227, 175, 0.14);
  }

  .mobile-nav-link:last-child {
    border-right: 0;
  }

  .mobile-nav-link.active {
    background: rgba(255, 215, 140, 0.2);
    color: #fff6de;
    font-weight: 700;
  }

  .radio-widget {
    left: auto;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    border-radius: 999px;
    padding: 0.3rem 0.4rem;
    z-index: 130;
    background: rgba(255, 252, 244, 0.92);
  }

  .radio-widget .radio-meta {
    display: none;
  }

  .radio-widget .radio-play {
    padding: 0.32rem 0.62rem;
    font-size: 0.72rem;
  }
}
