/* ============================================================
   JESHORESHWARI KALI TEMPLE — SACRED HERITAGE PORTAL
   Custom design system: charcoal · gold · crimson · ivory
   ============================================================ */

:root {
  --bg-deep: #0b0908;
  --bg-night: #131110;
  --bg-stone: #1c1816;
  --bg-card: #1f1a17;
  --line: rgba(201, 161, 58, 0.18);
  --line-strong: rgba(201, 161, 58, 0.42);
  --gold: #c9a13a;
  --gold-light: #e8c66b;
  --gold-soft: #b58a2e;
  --crimson: #9b2235;
  --crimson-deep: #6e1424;
  --sindoor: #c4364c;
  --ivory: #f3ead7;
  --ivory-soft: #d8cfbb;
  --muted: #998b73;
  --shadow-deep: 0 30px 60px -25px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 0 40px rgba(201, 161, 58, 0.15);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --display: 'Cinzel', 'Cormorant Garamond', serif;
  --sans: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --bengali: 'Tiro Bangla', 'Noto Serif Bengali', serif;
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg-deep);
  color: var(--ivory-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 300;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Sacred Background Texture ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(201, 161, 58, 0.07), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(155, 34, 53, 0.08), transparent 55%),
    repeating-linear-gradient(45deg, rgba(201, 161, 58, 0.012) 0 2px, transparent 2px 6px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   PASSWORD GATEWAY
   ============================================================ */
.gateway {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.gateway-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/Jeshoreshwariyogeshwari-shaktipeeth-bangladesh.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(1.2) contrast(1.05);
  transform: scale(1.08);
  animation: gateZoom 22s ease-in-out infinite alternate;
}
@keyframes gateZoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1.16) translateY(-2%); }
}
.gateway-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(11, 9, 8, 0.65) 60%, rgba(11, 9, 8, 0.95) 100%),
    linear-gradient(180deg, rgba(11, 9, 8, 0.6), rgba(11, 9, 8, 0.85));
}
.gateway-rays {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 90deg at 50% 100%, transparent 0deg, rgba(201, 161, 58, 0.08) 30deg, transparent 60deg, rgba(201, 161, 58, 0.06) 90deg, transparent 120deg, rgba(201, 161, 58, 0.07) 150deg, transparent 180deg);
  mix-blend-mode: screen;
  opacity: 0.7;
}
.gateway-card {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 520px;
  padding: 56px 48px 48px;
  background: linear-gradient(165deg, rgba(28, 24, 22, 0.95), rgba(15, 13, 12, 0.98));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
  text-align: center;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(201, 161, 58, 0.15);
  animation: gateRise 1.4s var(--transition) both;
}
@keyframes gateRise {
  from { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.gateway-card::before,
.gateway-card::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
}
.gateway-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gateway-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.gate-emblem {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-emblem svg { width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(201, 161, 58, 0.5)); }

.gate-eyebrow {
  font-family: var(--display);
  letter-spacing: 0.42em;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.gate-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.gate-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}
.gate-sub {
  font-size: 13px;
  color: var(--ivory-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0.75;
}
.gate-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
}
.gate-form { display: flex; flex-direction: column; gap: 18px; }
.gate-input {
  width: 100%;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-align: center;
  transition: all 0.3s var(--transition);
  outline: none;
}
.gate-input:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 161, 58, 0.12);
}
.gate-input::placeholder { color: var(--muted); letter-spacing: 0.3em; }
.gate-btn {
  padding: 17px 32px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a1410;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 13px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition);
}
.gate-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-soft));
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}
.gate-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 161, 58, 0.35); }
.gate-btn:hover::before { opacity: 1; }
.gate-btn span { position: relative; z-index: 1; }

.gate-error {
  margin-top: 18px;
  padding: 12px 18px;
  background: rgba(155, 34, 53, 0.15);
  border: 1px solid rgba(196, 54, 76, 0.4);
  color: #f0c8ce;
  font-size: 13px;
  letter-spacing: 0.08em;
  display: none;
  animation: shake 0.4s var(--transition);
}
.gate-error.show { display: block; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.gate-foot {
  margin-top: 36px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.gate-foot strong { color: var(--gold); font-weight: 500; }

/* ============================================================
   NAVIGATION HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 56px;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0.85), rgba(11, 9, 8, 0));
  transition: all 0.4s var(--transition);
}
.site-header.scrolled {
  background: rgba(11, 9, 8, 0.96);
  padding: 14px 56px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
}
.brand-mark::before { top: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); background: var(--bg-deep); }
.brand-mark::after { bottom: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); background: var(--bg-deep); }
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--ivory);
  font-weight: 500;
}
.brand-tag {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  position: relative;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  font-weight: 400;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.4s var(--transition);
  transform: translateX(-50%);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold-light); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 24px; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 56px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.5) saturate(1.15);
  transform: scale(1.05);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.14) translate(-1%, -1%); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 8, 0.7) 0%, rgba(11, 9, 8, 0.4) 40%, rgba(11, 9, 8, 0.95) 100%),
    radial-gradient(ellipse at right top, rgba(155, 34, 53, 0.18), transparent 50%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 108px);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  max-width: 1100px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
  display: block;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ivory-soft);
  max-width: 640px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  cursor: pointer;
  border: 1px solid var(--gold);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a1410;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 161, 58, 0.35); }
.btn-ghost {
  color: var(--ivory);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(201, 161, 58, 0.12);
  color: var(--gold-light);
  transform: translateY(-3px);
}
.btn .arrow {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s var(--transition);
}
.btn .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 26px; }

.hero-meta {
  position: absolute;
  bottom: 40px;
  left: 56px;
  right: 56px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-label {
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-meta-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ivory);
  font-style: italic;
}
.scroll-cue {
  position: absolute;
  right: 56px;
  bottom: 40px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(0.4); opacity: 1; transform-origin: top; }
}

/* ===== Inner page hero (smaller) ===== */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 120px 56px 70px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.45) saturate(1.1);
}
.page-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 8, 0.5) 0%, rgba(11, 9, 8, 0.85) 100%),
    linear-gradient(90deg, rgba(11, 9, 8, 0.7), transparent 60%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 92px);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  max-width: 1000px;
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
  font-size: 17px;
  color: var(--ivory-soft);
  max-width: 700px;
  letter-spacing: 0.02em;
}
.page-crumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.page-crumbs a:hover { color: var(--gold-light); }
.page-crumbs span { color: var(--muted); }

/* ============================================================
   SECTIONS — Common
   ============================================================ */
.section {
  position: relative;
  padding: 130px 56px;
  z-index: 2;
}
.section-narrow {
  max-width: 1400px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  max-width: 900px;
}
.section-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.section-lede {
  font-size: 18px;
  color: var(--ivory-soft);
  max-width: 760px;
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   INTRO + INVOCATION (Home)
   ============================================================ */
.invocation {
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-night));
  padding: 130px 56px;
}
.invocation-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: center;
}
.invocation-image {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.invocation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--transition);
}
.invocation-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
  margin: 18px;
}
.invocation-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 9, 8, 0.4));
  pointer-events: none;
  z-index: 1;
}
.invocation-image:hover img { transform: scale(1.06); }
.invocation-image-cap {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  z-index: 3;
  font-family: var(--bengali);
  font-size: 22px;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.sanskrit-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-light);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}
.sanskrit-quote-trans {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* ===== Pillar feature row ===== */
.pillar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 50px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.5s var(--transition);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(201, 161, 58, 0.04); }
.pillar-num {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--gold);
  margin-bottom: 18px;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 14px;
  color: var(--ivory-soft);
  line-height: 1.65;
  opacity: 0.85;
}

/* ============================================================
   MYTHOLOGY STRIP
   ============================================================ */
.mytho-strip {
  position: relative;
  padding: 0;
  background: var(--bg-night);
  overflow: hidden;
}
.mytho-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 600px;
}
.mytho-text {
  padding: 110px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at top right, rgba(201, 161, 58, 0.06), transparent 60%),
    var(--bg-night);
}
.mytho-img {
  position: relative;
  overflow: hidden;
}
.mytho-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mytho-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-night) 0%, transparent 30%);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding: 130px 56px;
  background: var(--bg-deep);
}
.timeline-track {
  max-width: 1100px;
  margin: 60px auto 0;
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}
.tl-item {
  position: relative;
  padding-left: 140px;
  margin-bottom: 60px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-year {
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--gold);
  width: 70px;
  text-align: right;
  font-weight: 500;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 5px var(--gold);
}
.tl-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}
.tl-item p {
  font-size: 15px;
  color: var(--ivory-soft);
  line-height: 1.75;
  max-width: 640px;
}

/* ============================================================
   GALLERY PREVIEW (Home)
   ============================================================ */
.gallery-preview {
  padding: 130px 56px;
  background: var(--bg-night);
}
.gallery-mosaic {
  max-width: 1500px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 14px;
}
.gp-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gp-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--transition);
}
.gp-tile:hover img { transform: scale(1.08); }
.gp-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 9, 8, 0.85));
}
.gp-tile-cap {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}
.gp-tile.tall { grid-row: span 2; }
.gp-tile.wide { grid-column: span 2; }

/* ============================================================
   COUNTERS (Home)
   ============================================================ */
.counters {
  background:
    linear-gradient(rgba(11, 9, 8, 0.92), rgba(11, 9, 8, 0.96)),
    url('images/Jeshoreshwariyogeshwari-shaktipeeth-bangladesh-5.jpg') center/cover fixed;
  padding: 100px 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.counter-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  text-align: center;
}
.counter-num {
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 84px);
  color: var(--gold-light);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.counter-num .plus { font-size: 0.6em; color: var(--gold); }
.counter-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--ivory-soft);
  text-transform: uppercase;
}
.counter-divider {
  width: 30px;
  height: 1px;
  background: var(--gold);
  margin: 14px auto;
  opacity: 0.5;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 130px 56px;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 161, 58, 0.06), transparent 60%);
  pointer-events: none;
}
.test-track {
  max-width: 1200px;
  margin: 60px auto 0;
  position: relative;
}
.test-card {
  display: none;
  text-align: center;
  padding: 0 40px;
  animation: fadeIn 0.7s var(--transition);
}
.test-card.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.test-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--ivory);
  line-height: 1.5;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 36px;
}
.test-quote::before, .test-quote::after {
  color: var(--gold);
  font-style: normal;
}
.test-quote::before { content: '"'; margin-right: 4px; }
.test-quote::after { content: '"'; margin-left: 4px; }
.test-author {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}
.test-author span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-top: 8px;
  text-transform: none;
}
.test-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}
.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}
.test-dot.active { background: var(--gold); transform: scale(1.4); }

/* ============================================================
   ABOUT — DEEP CONTENT
   ============================================================ */
.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: start;
}
.about-text h2 { margin-bottom: 30px; }
.about-text p {
  font-size: 16px;
  margin-bottom: 22px;
  color: var(--ivory-soft);
  line-height: 1.85;
}
.about-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--gold);
  float: left;
  line-height: 0.9;
  padding: 6px 14px 0 0;
  font-weight: 400;
}
.about-image-stack {
  position: relative;
  height: 720px;
}
.about-image-stack img {
  position: absolute;
  width: 80%;
  height: 60%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.about-image-stack img:nth-child(1) { top: 0; right: 0; z-index: 2; }
.about-image-stack img:nth-child(2) { bottom: 0; left: 0; z-index: 1; }
.about-fact-list {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.about-fact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: baseline;
}
.about-fact-list li strong {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.about-fact-list li span {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ivory);
  font-style: italic;
}

/* ===== Management cards ===== */
.management {
  background: var(--bg-night);
  padding: 130px 56px;
  border-top: 1px solid var(--line);
}
.mgmt-grid {
  max-width: 1300px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.mgmt-card {
  position: relative;
  background: linear-gradient(165deg, var(--bg-card), var(--bg-stone));
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s var(--transition);
}
.mgmt-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.mgmt-portrait {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}
.mgmt-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--transition);
}
.mgmt-card:hover .mgmt-portrait img { transform: scale(1.05); }
.mgmt-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 9, 8, 0.6));
}
.mgmt-info {
  padding: 36px 36px 40px;
}
.mgmt-info-eye {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mgmt-name {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}
.mgmt-role {
  font-size: 14px;
  color: var(--ivory-soft);
  line-height: 1.65;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.mgmt-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.mgmt-cta .arrow { width: 18px; height: 1px; background: var(--gold); position: relative; transition: width 0.3s var(--transition); margin-left: auto; }
.mgmt-cta .arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.mgmt-card:hover .mgmt-cta .arrow { width: 28px; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: fadeIn 0.4s var(--transition); }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(165deg, var(--bg-stone), var(--bg-night));
  border: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: 320px 1fr;
  animation: gateRise 0.7s var(--transition);
}
.modal-card::before, .modal-card::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  z-index: 5;
}
.modal-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.modal-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.modal-portrait {
  position: relative;
}
.modal-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 400px;
}
.modal-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, var(--bg-night));
}
.modal-body {
  padding: 50px 50px 50px 36px;
}
.modal-eye {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modal-name {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
}
.modal-role {
  font-size: 14px;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 26px;
  line-height: 1.6;
}
.modal-divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 26px;
}
.modal-body h4 {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 26px 0 12px;
  font-weight: 500;
}
.modal-body p {
  font-size: 14px;
  color: var(--ivory-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}
.modal-body ul {
  list-style: none;
  margin-bottom: 14px;
}
.modal-body ul li {
  font-size: 14px;
  color: var(--ivory-soft);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.65;
}
.modal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold);
  font-size: 22px;
  z-index: 6;
  transition: all 0.3s var(--transition);
}
.modal-close:hover { background: var(--gold); color: var(--bg-deep); transform: rotate(90deg); }

/* ============================================================
   SHAKTI PEETH — DEDICATED STYLES
   ============================================================ */
.peeth-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.peeth-grid.flip { direction: rtl; }
.peeth-grid.flip > * { direction: ltr; }
.peeth-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.peeth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.peeth-image-frame::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}
.peeth-text h2 { margin-bottom: 28px; }
.peeth-text p {
  font-size: 16px;
  color: var(--ivory-soft);
  margin-bottom: 20px;
  line-height: 1.85;
}
.peeth-text .bengali-line {
  font-family: var(--bengali);
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  font-style: normal;
}

.symbol-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.symbol-card {
  padding: 36px 28px;
  background: linear-gradient(165deg, var(--bg-card), transparent);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s var(--transition);
}
.symbol-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: linear-gradient(165deg, rgba(201, 161, 58, 0.08), transparent);
}
.symbol-card svg { width: 38px; height: 38px; margin-bottom: 18px; color: var(--gold); }
.symbol-card h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 10px;
}
.symbol-card p {
  font-size: 13px;
  color: var(--ivory-soft);
  line-height: 1.6;
}

.peeth-list-deep {
  background: var(--bg-night);
  padding: 130px 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.peeth-pair {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.peeth-pair-block h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 18px;
  font-style: italic;
}
.peeth-pair-block p {
  font-size: 15px;
  color: var(--ivory-soft);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ============================================================
   HERITAGE PAGE
   ============================================================ */
.heritage-grand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  align-items: center;
}
.modi-feature {
  position: relative;
  background: var(--bg-night);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-top: 60px;
}
.modi-feature-img {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.modi-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.modi-feature-text {
  padding: 60px 50px;
}
.modi-feature-text .badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(155, 34, 53, 0.2);
  border: 1px solid var(--crimson);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #f0c8ce;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.modi-feature-text h3 {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.2;
}
.modi-feature-text p {
  font-size: 15px;
  color: var(--ivory-soft);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
  padding: 130px 56px 100px;
  background: var(--bg-deep);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 1100px;
  margin: 50px auto 60px;
  border: 1px solid var(--line);
  padding: 6px;
}
.filter-btn {
  padding: 14px 28px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ivory-soft);
  text-transform: uppercase;
  transition: all 0.3s var(--transition);
}
.filter-btn:hover { color: var(--gold-light); }
.filter-btn.active {
  background: var(--gold);
  color: var(--bg-deep);
}

.masonry {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
  grid-auto-flow: dense;
}
.masonry-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.6s var(--transition);
}
.masonry-tile.tall { grid-row: span 2; }
.masonry-tile.wide { grid-column: span 2; }
.masonry-tile.big { grid-row: span 2; grid-column: span 2; }
.masonry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--transition);
}
.masonry-tile:hover img { transform: scale(1.07); }
.masonry-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 9, 8, 0.85));
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}
.masonry-tile:hover::after { opacity: 1; }
.masonry-cap {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ivory);
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition);
}
.masonry-tile:hover .masonry-cap { opacity: 1; transform: none; }
.masonry-cap span {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.34em;
  font-style: normal;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn 0.3s var(--transition); }
.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 24px;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.3s var(--transition);
}
.lightbox-close:hover { background: var(--gold); color: var(--bg-deep); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  font-size: 22px;
  transition: all 0.3s var(--transition);
}
.lightbox-nav:hover { background: var(--gold); color: var(--bg-deep); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ============================================================
   VISIT PAGE
   ============================================================ */
.visit-grid {
  max-width: 1400px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.visit-card {
  padding: 44px 36px;
  background: linear-gradient(165deg, var(--bg-card), transparent);
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.4s var(--transition);
}
.visit-card:hover {
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(201, 161, 58, 0.06), transparent);
  transform: translateY(-4px);
}
.visit-card-num {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--gold);
  margin-bottom: 16px;
}
.visit-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 1.25;
}
.visit-card p {
  font-size: 14px;
  color: var(--ivory-soft);
  line-height: 1.75;
}
.visit-card ul {
  list-style: none;
  margin-top: 14px;
}
.visit-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ivory-soft);
  margin-bottom: 8px;
  line-height: 1.6;
}
.visit-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.timing-block {
  background: var(--bg-night);
  padding: 100px 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timing-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.timing-card {
  background: linear-gradient(165deg, var(--bg-card), var(--bg-stone));
  border: 1px solid var(--line-strong);
  padding: 50px 42px;
  text-align: center;
}
.timing-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 28px;
}
.timing-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.timing-row:last-child { border: none; }
.timing-row span:first-child { color: var(--gold); font-family: var(--display); letter-spacing: 0.18em; font-size: 12px; text-transform: uppercase; }
.timing-row span:last-child { color: var(--ivory); font-family: var(--serif); font-size: 16px; }

.timing-text h2 { margin-bottom: 22px; }
.timing-text p {
  font-size: 16px;
  color: var(--ivory-soft);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ============================================================
   MISSION PAGE
   ============================================================ */
.mission-pillars {
  max-width: 1400px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.mission-card {
  padding: 60px 50px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.5s var(--transition);
}
.mission-card:nth-child(2n) { border-right: none; }
.mission-card:nth-last-child(-n+2) { border-bottom: none; }
.mission-card:hover { background: rgba(201, 161, 58, 0.04); }
.mission-card-num {
  font-family: var(--serif);
  font-size: 60px;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.8;
}
.mission-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.25;
}
.mission-card p {
  font-size: 15px;
  color: var(--ivory-soft);
  line-height: 1.8;
}

.vision-band {
  background:
    linear-gradient(90deg, rgba(11, 9, 8, 0.95), rgba(11, 9, 8, 0.7)),
    url('images/Jeshoreshwariyogeshwari-shaktipeeth-bangladesh-2.jpg') right center/cover;
  padding: 130px 56px;
  position: relative;
}
.vision-content {
  max-width: 1400px;
  margin: 0 auto;
}
.vision-content blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 38px);
  color: var(--ivory);
  font-style: italic;
  line-height: 1.45;
  font-weight: 300;
  max-width: 820px;
  padding-left: 40px;
  border-left: 2px solid var(--gold);
}
.vision-attrib {
  margin-top: 32px;
  padding-left: 40px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info p {
  font-size: 16px;
  color: var(--ivory-soft);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-block {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.contact-block:last-of-type { border-bottom: 1px solid var(--line); }
.contact-block-label {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-block-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  font-style: italic;
  display: block;
}
.contact-block-value:hover { color: var(--gold-light); }
.contact-block-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.contact-form {
  background: linear-gradient(165deg, var(--bg-card), var(--bg-stone));
  border: 1px solid var(--line-strong);
  padding: 56px 50px;
  position: relative;
}
.contact-form::before, .contact-form::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
}
.contact-form::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.contact-form::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.contact-form h3 {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 8px;
}
.contact-form .sub {
  color: var(--ivory-soft);
  margin-bottom: 32px;
  font-size: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  outline: none;
  transition: all 0.3s var(--transition);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  padding: 16px 20px;
  margin-bottom: 18px;
  background: rgba(201, 161, 58, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.form-success.show { display: block; }

.map-band {
  height: 460px;
  background: var(--bg-night);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.map-placeholder {
  position: relative;
  height: 100%;
  background: linear-gradient(135deg, #1a1612, #0f0d0c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(201, 161, 58, 0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(201, 161, 58, 0.06) 39px 40px);
  opacity: 0.4;
}
.map-pin {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  margin-bottom: 26px;
  background: rgba(201, 161, 58, 0.08);
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.map-pin svg { width: 36px; height: 36px; color: var(--gold); }
.map-placeholder h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 8px;
}
.map-placeholder p {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-deep), #050403);
  border-top: 1px solid var(--line);
  padding: 80px 56px 40px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p {
  font-size: 14px;
  color: var(--ivory-soft);
  line-height: 1.75;
  max-width: 380px;
  opacity: 0.75;
}
.footer-col h5 {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ivory-soft);
  font-style: italic;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-col p {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ivory-soft);
  font-style: italic;
  margin-bottom: 8px;
}
.footer-col p a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1500px;
  margin: 30px auto 0;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-credit {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.footer-credit a { color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.footer-credit a:hover { color: var(--gold-light); }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: all 0.3s var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-social a svg { width: 16px; height: 16px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--transition), transform 1.1s var(--transition);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .site-header, .site-header.scrolled { padding: 16px 32px; }
  .hero, .page-hero, .section, .invocation, .mytho-strip, .timeline,
  .gallery-preview, .counters, .testimonials, .management,
  .peeth-list-deep, .vision-band, .gallery-section, .timing-block,
  .site-footer { padding-left: 32px; padding-right: 32px; }
  .hero-meta, .scroll-cue { left: 32px; right: 32px; }
  .scroll-cue { right: 32px; }
  .invocation-grid, .about-grid, .heritage-grand, .contact-grid,
  .timing-grid, .mytho-grid, .peeth-grid, .peeth-pair, .modi-feature {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .mytho-text { padding: 80px 40px; }
  .modi-feature-text { padding: 40px 32px; }
  .pillar-row { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--line); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 240px 240px 240px 240px; }
  .gp-tile.wide { grid-column: span 2; }
  .gp-tile.tall { grid-row: span 1; }
  .mgmt-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .symbol-row { grid-template-columns: 1fr; }
  .mission-pillars { grid-template-columns: 1fr; }
  .mission-card { border-right: 0; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-portrait img { height: 360px; min-height: auto; }
  .modal-portrait::after { background: linear-gradient(180deg, transparent 70%, var(--bg-night)); }
  .modal-body { padding: 36px 30px; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .masonry-tile.big { grid-row: span 2; grid-column: span 2; }
  .about-image-stack { height: 540px; }
  .about-fact-list li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}

@media (max-width: 720px) {
  .site-header, .site-header.scrolled { padding: 14px 22px; }
  .hero, .page-hero, .section, .invocation, .mytho-strip, .timeline,
  .gallery-preview, .counters, .testimonials, .management,
  .peeth-list-deep, .vision-band, .gallery-section, .timing-block,
  .site-footer { padding-left: 22px; padding-right: 22px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(11, 9, 8, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 20px 22px 30px;
    gap: 0;
  }
  .nav-menu.open a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  .nav-menu.open a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .hero { padding: 110px 22px 80px; }
  .hero-meta { position: static; margin-top: 50px; }
  .scroll-cue { display: none; }
  .hero h1 { font-size: 48px; }
  .invocation-image { height: 460px; }
  .gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(6, 220px); }
  .gp-tile.wide, .gp-tile.tall { grid-column: span 1; grid-row: span 1; }
  .counter-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar-row { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .timeline-track::before { left: 14px; }
  .tl-item { padding-left: 50px; }
  .tl-year { position: static; width: auto; text-align: left; margin-bottom: 8px; }
  .tl-item::before { left: 10px; top: 6px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 16px; }
  .gateway-card { padding: 40px 28px; }
  .gate-title { font-size: 28px; }
  .masonry { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .masonry-tile.big, .masonry-tile.wide { grid-column: span 1; }
  .masonry-tile.big, .masonry-tile.tall { grid-row: span 1; }
  .about-image-stack { height: 480px; }
  .contact-form { padding: 40px 26px; }
  .invocation-grid, .about-grid, .heritage-grand, .contact-grid,
  .timing-grid, .mytho-grid, .peeth-grid, .peeth-pair {
    gap: 40px;
  }
  .mytho-text { padding: 60px 22px; }
  .modi-feature-text { padding: 32px 22px; }
}
