@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --saffron: #d76a1f;
  --deep-saffron: #a84213;
  --maroon: #711e1d;
  --cream: #fff8e9;
  --gold: #d8a83e;
  --ink: #2e211a;
  --muted: #77675e;
  --white: #ffffff;
  --border: rgba(113, 30, 29, 0.14);
  --shadow: 0 24px 70px rgba(79, 31, 13, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: #fffdf8;
  line-height: 1.65;
}

body.menu-open { overflow: hidden; }

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

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 8px 20px;
  background: var(--maroon);
  color: #ffe8b0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(113, 30, 29, 0.08);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 86px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small { display: block; }

.brand strong {
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #49392f;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--saffron); }

.nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--saffron);
  border-radius: 999px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(113, 30, 29, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 233, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.language-switcher button {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button.active {
  color: var(--saffron);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--maroon);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 168, 62, 0.22), transparent 24%),
    radial-gradient(circle at 90% 28%, rgba(215, 106, 31, 0.20), transparent 27%),
    linear-gradient(135deg, #fff9ea 0%, #fff4d8 47%, #f8e0bc 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    radial-gradient(circle at center, transparent 0 35px, var(--saffron) 36px 37px, transparent 38px),
    radial-gradient(circle at center, transparent 0 70px, var(--gold) 71px 72px, transparent 73px);
  background-size: 180px 180px;
  transform: rotate(12deg) scale(1.15);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 76px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--saffron);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--maroon);
  line-height: 0.98;
}

.hero h1 { font-size: clamp(54px, 7vw, 86px); }

.hero h1 span { color: var(--saffron); }

.hero-copy > p {
  max-width: 680px;
  margin: 28px 0 32px;
  color: #645249;
  font-size: 18px;
}

.hero-actions,
.seva-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(113, 30, 29, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
}

.btn-secondary {
  border-color: rgba(113, 30, 29, .25);
  color: var(--maroon);
  background: rgba(255,255,255,.45);
}

.hero-notes {
  display: flex;
  gap: 32px;
  margin-top: 38px;
}

.hero-notes div { display: grid; }

.hero-notes strong {
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
}

.hero-notes span {
  color: var(--muted);
  font-size: 12px;
}

.hero-card {
  position: relative;
  padding: 34px;
  text-align: center;
  border: 1px solid rgba(245, 212, 110, .48);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 212, 110, .16), transparent 38%),
    linear-gradient(145deg, #5a1715 0%, #35100f 58%, #1f0d0a 100%);
  box-shadow: 0 24px 70px rgba(52, 15, 13, .28);
  backdrop-filter: blur(10px);
  color: #fff4d2;
}

.mandala {
  position: absolute;
  inset: -32px -25px auto auto;
  width: 115px;
  height: 115px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 231, 161, .24);
  border: 1px dashed rgba(255, 231, 161, .32);
  font-size: 28px;
}

.portrait-placeholder {
  position: relative;
  width: min(100%, 385px);
  aspect-ratio: 4 / 4.75;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(#fffdf8, #fff7e4) padding-box,
    linear-gradient(135deg, #f5d46e, #ffffff 34%, #a84213 70%, #d8a83e) border-box;
  border: 8px solid transparent;
  box-shadow:
    0 18px 42px rgba(113, 30, 29, .18),
    0 0 0 1px rgba(113, 30, 29, .08);
}

.portrait-placeholder::before {
  content: none;
}

.portrait-placeholder::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: auto 8px 8px;
  height: 34%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(0deg, rgba(38, 17, 11, .36), transparent);
}

.hero-portrait {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 14px;
}

.halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px solid rgba(255,248,220,.7);
  box-shadow: 0 0 0 16px rgba(255,248,220,.10), 0 0 80px rgba(255,248,220,.55);
}

.portrait-symbol {
  position: relative;
  z-index: 2;
  color: #fff8dc;
  font-family: serif;
  font-size: 76px;
  text-shadow: 0 8px 30px rgba(113,30,29,.4);
}

.hero-card h2 {
  max-width: 430px;
  margin: 0 auto;
  color: #ffe8a8;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  text-wrap: balance;
}

.hero-card p {
  max-width: 360px;
  margin: 12px auto 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 231, 161, .26);
  color: #ffd986;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-card .card-caption {
  color: rgba(255, 244, 210, .82);
  font-weight: 800;
  text-transform: uppercase;
}

.card-caption,
.disclaimer {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 46px;
  background: #fffdf8;
  clip-path: polygon(0 65%, 8% 48%, 17% 68%, 28% 37%, 38% 60%, 50% 31%, 63% 61%, 75% 35%, 87% 64%, 100% 42%, 100% 100%, 0 100%);
}

.frame-demo-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 14%, rgba(216, 168, 62, .18), transparent 24%),
    radial-gradient(circle at 90% 4%, rgba(113, 30, 29, .10), transparent 20%),
    #fffdf8;
}

.frame-demo-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.frame-demo-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.frame-demo-hero h1 {
  margin: 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.frame-demo-hero p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.frame-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.frame-demo-card {
  position: relative;
  min-height: 480px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(113, 30, 29, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 48px rgba(79, 31, 13, .10);
}

.frame-demo-label {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3d1;
  color: var(--deep-saffron);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.frame-demo-card h2 {
  margin: 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  line-height: 1;
}

.demo-frame {
  position: relative;
  width: min(100%, 305px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}

.demo-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.frame-demo-modern-stack .demo-frame {
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f5d46e, #ffffff 34%, #a84213 70%, #d8a83e);
  box-shadow: 0 18px 42px rgba(113, 30, 29, .18);
}

.frame-demo-modern-stack .demo-frame::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 44px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--maroon), var(--deep-saffron));
  transform: rotate(4deg);
}

.frame-demo-modern-stack .demo-frame img { border-radius: 15px; }

.frame-demo-editorial .demo-frame {
  padding: 12px 12px 28px;
  border-radius: 8px;
  background: #fff8e7;
  box-shadow: 0 22px 52px rgba(79, 31, 13, .18);
}

.frame-demo-editorial .demo-frame::before {
  content: "";
  position: absolute;
  inset: auto -16px 36px 28px;
  height: 72%;
  background: var(--maroon);
}

.frame-demo-editorial .demo-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 28px 10px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.frame-demo-editorial .demo-frame img { border-radius: 4px; }

.frame-demo-aura .demo-frame {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 245, 207, .98) 0 51%, transparent 52%),
    conic-gradient(from 20deg, #d8a83e, #fff4bf, #a84213, #d8a83e);
  box-shadow: 0 22px 54px rgba(113, 30, 29, .16);
}

.frame-demo-aura .demo-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(216, 168, 62, .36);
  border-radius: 50%;
}

.frame-demo-aura .demo-frame img {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  border: 7px solid #fffaf0;
  border-radius: 50%;
}

.frame-demo-minimal .demo-frame {
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(113, 30, 29, .10),
    0 0 0 7px #fff5d8,
    0 20px 48px rgba(113, 30, 29, .16);
}

.frame-demo-minimal .demo-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -10px auto auto 28px;
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--saffron);
}

.frame-demo-minimal .demo-frame img { border-radius: 4px; }

.frame-demo-diagonal .demo-frame {
  padding: 8px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gold), #fff6d5 50%, var(--maroon));
  box-shadow: 0 24px 54px rgba(79, 31, 13, .18);
}

.frame-demo-diagonal .demo-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 8px;
  border-radius: 17px;
  background: linear-gradient(145deg, transparent 0 66%, rgba(113, 30, 29, .62) 67%);
}

.frame-demo-diagonal .demo-frame img { border-radius: 17px; }

.frame-demo-glass .demo-frame {
  padding: 12px;
  border: 1px solid rgba(216, 168, 62, .32);
  border-radius: 28px;
  background: rgba(255, 255, 255, .46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .80),
    0 24px 54px rgba(79, 31, 13, .15);
  backdrop-filter: blur(10px);
}

.frame-demo-glass .demo-frame::before {
  content: "";
  position: absolute;
  inset: -14px -10px auto auto;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(216, 168, 62, .42);
  border-radius: 50%;
}

.frame-demo-glass .demo-frame img { border-radius: 20px; }

.frame-demo-premium-band .demo-frame {
  padding: 9px;
  border-radius: 26px;
  background: #fffaf0;
  box-shadow: 0 24px 56px rgba(79, 31, 13, .17);
}

.frame-demo-premium-band .demo-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 9px 9px;
  height: 74px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(135deg, rgba(113, 30, 29, .92), rgba(168, 66, 19, .90));
}

.frame-demo-premium-band .demo-frame::after {
  content: "श्री";
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 22px;
  color: #ffe6a5;
  font-family: serif;
  font-size: 34px;
}

.frame-demo-premium-band .demo-frame img { border-radius: 18px; }

.frame-demo-floating-photo .demo-frame {
  padding: 0;
  border-radius: 28px;
}

.frame-demo-floating-photo .demo-frame::before,
.frame-demo-floating-photo .demo-frame::after {
  content: "";
  position: absolute;
  border-radius: 28px;
}

.frame-demo-floating-photo .demo-frame::before {
  inset: 20px -18px -18px 42px;
  background: #ffe8ac;
  box-shadow: 0 22px 48px rgba(113, 30, 29, .14);
}

.frame-demo-floating-photo .demo-frame::after {
  inset: -14px 42px 34px -18px;
  border: 2px solid rgba(216, 168, 62, .55);
}

.frame-demo-floating-photo .demo-frame img {
  box-shadow: 0 24px 58px rgba(79, 31, 13, .20);
  border-radius: 28px;
}

.frame-demo-split-tone .demo-frame {
  padding: 9px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--maroon) 0 50%, var(--gold) 50% 100%);
  box-shadow: 0 24px 54px rgba(79, 31, 13, .18);
}

.frame-demo-split-tone .demo-frame::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 18px;
  border: 1px solid rgba(255, 248, 225, .64);
  border-radius: 13px;
}

.frame-demo-split-tone .demo-frame img { border-radius: 13px; }

.frame-demo-devotional-clean .demo-frame {
  padding: 12px;
  border-radius: 999px 999px 28px 28px;
  background:
    linear-gradient(#fffaf0, #fffaf0) padding-box,
    linear-gradient(180deg, #fff2b8, var(--gold), var(--saffron)) border-box;
  border: 3px solid transparent;
  box-shadow: 0 22px 50px rgba(113, 30, 29, .14);
}

.frame-demo-devotional-clean .demo-frame::before {
  content: "";
  position: absolute;
  inset: -10px 28px auto;
  height: 42px;
  border-top: 1px solid rgba(216, 168, 62, .58);
  border-radius: 50%;
}

.frame-demo-devotional-clean .demo-frame img { border-radius: 999px 999px 20px 20px; }

.frame-demo-offset-ring .demo-frame {
  display: grid;
  place-items: center;
  border-radius: 34px;
}

.frame-demo-offset-ring .demo-frame::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 22px;
  border: 3px solid var(--gold);
  border-radius: 34px;
}

.frame-demo-offset-ring .demo-frame::after {
  content: "";
  position: absolute;
  inset: -12px 26px 28px -12px;
  border: 1px solid rgba(113, 30, 29, .30);
  border-radius: 34px;
}

.frame-demo-offset-ring .demo-frame img {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 10px solid #fff8e4;
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(79, 31, 13, .18);
}

.frame-demo-polaroid-modern .demo-frame {
  padding: 12px 12px 50px;
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 28px 58px rgba(79, 31, 13, .18);
  transform: rotate(-2deg);
}

.frame-demo-polaroid-modern .demo-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 20px;
  width: 88px;
  height: 5px;
  border-radius: 999px;
  background: #e7c35d;
  transform: translateX(-50%);
}

.frame-demo-polaroid-modern .demo-frame img { border-radius: 6px; }

.mantra-band {
  padding: 28px 0;
  text-align: center;
  background: #fffdf8;
}

.mantra-band p {
  margin: 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
}

.mantra-band span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section { padding: 100px 0; }

.section h2 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 64px);
}

.lead {
  color: #4f3e35;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 15px;
  color: var(--saffron);
  font-weight: 800;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.values-grid article {
  padding: 28px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.values-grid article:nth-child(2),
.values-grid article:nth-child(3) { background: #fff; }

.values-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.values-grid h3 {
  margin: 8px 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.teachings {
  background:
    linear-gradient(rgba(113,30,29,.035), rgba(113,30,29,.035)),
    #fff9ed;
}

.section-heading { margin-bottom: 48px; }

.section-heading.centered { text-align: center; }

.section-heading.centered h2,
.section-heading.centered p { margin-left: auto; margin-right: auto; }

.section-heading p { max-width: 640px; color: var(--muted); }

.teaching-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.teaching-card {
  padding: 38px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(113,30,29,.06);
}

.teaching-card.featured {
  transform: translateY(-14px);
  background: linear-gradient(160deg, var(--maroon), #44100f);
  color: white;
}

.teaching-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1d1;
  color: var(--deep-saffron);
  font-weight: 800;
}

.teaching-card h3 {
  margin: 24px 0 10px;
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}

.teaching-card.featured h3,
.teaching-card.featured a { color: #ffe5a1; }

.teaching-card p { color: var(--muted); }

.teaching-card.featured p { color: #f5d9cc; }

.teaching-card a { color: var(--saffron); font-weight: 800; }

.darshan-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.temple-arch {
  position: relative;
  overflow: hidden;
  border: 8px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(#fffdf8, #fff7e4) padding-box,
    linear-gradient(135deg, #f5d46e, #ffffff 34%, #a84213 70%, #d8a83e) border-box;
  box-shadow:
    0 18px 42px rgba(113, 30, 29, .18),
    0 0 0 1px rgba(113, 30, 29, .08);
}

.temple-arch::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 34%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(0deg, rgba(38, 17, 11, .36), transparent);
  pointer-events: none;
}

.darshan-placeholder {
  min-height: 550px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 14px;
  color: #fff7dd;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,.32), transparent 25%),
    linear-gradient(160deg, #9b3517, #4c1616);
}

.darshan-placeholder span {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 700;
}

.darshan-placeholder small { max-width: 300px; }

.darshan-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 550px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.shriji-portrait-image {
  object-position: center top;
}

.darshan-content > p { color: var(--muted); font-size: 17px; }

.schedule {
  margin: 28px 0;
  border-top: 1px solid var(--border);
}

.schedule div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.schedule strong { color: var(--saffron); }

.darshan-content .disclaimer { margin-top: 10px; }

.events { background: var(--cream); }

.event-list { display: grid; gap: 16px; }

.event-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--border);
  transition: transform .2s ease;
}

.event-item:hover { transform: translateX(6px); }

.event-date {
  min-height: 82px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 16px;
  background: #fff1d3;
}

.event-date strong {
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  line-height: .9;
}

.event-date span {
  color: var(--saffron);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-type {
  color: var(--saffron);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.event-details h3 {
  margin: 4px 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
}

.event-details p { margin: 0; color: var(--muted); }

.event-item > a { color: var(--saffron); font-weight: 800; }

.quote-section {
  text-align: center;
  color: #fff5d8;
  background:
    radial-gradient(circle at 15% 20%, rgba(216,168,62,.20), transparent 30%),
    linear-gradient(135deg, #7d251d, #3f1112);
}

.quote-wrap { max-width: 900px; }

.quote-mark {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: .5;
}

blockquote {
  margin: 25px 0 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
}

.quote-wrap p { color: #e6c6b7; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  color: white;
  background:
    linear-gradient(to top, rgba(59,14,12,.78), transparent 70%),
    linear-gradient(135deg, #d68a3a, #7b241b);
}

.gallery-item:nth-child(2) { background: linear-gradient(to top, rgba(59,14,12,.75), transparent), linear-gradient(135deg, #8c2d22, #e4aa53); }
.gallery-item:nth-child(3) { background: linear-gradient(to top, rgba(59,14,12,.75), transparent), linear-gradient(135deg, #f1c878, #8a291c); }
.gallery-item:nth-child(4) { background: linear-gradient(to top, rgba(59,14,12,.75), transparent), linear-gradient(135deg, #a84520, #5d1616); }
.gallery-item:nth-child(5) { background: linear-gradient(to top, rgba(59,14,12,.75), transparent), linear-gradient(135deg, #e0a340, #9b3517); }

.gallery-item::before {
  content: "श्री";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: serif;
  font-size: 70px;
  opacity: .25;
}

.gallery-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-image + span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(59,14,12,.68);
  color: #fff8df;
  backdrop-filter: blur(6px);
}

.gallery-item span { position: relative; z-index: 2; font-weight: 800; }

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.seva { padding-top: 20px; }

.seva + .contact { padding-top: 44px; }

.seva-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 60px;
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.15), transparent 25%),
    linear-gradient(135deg, var(--saffron), var(--maroon));
  box-shadow: var(--shadow);
}

.seva-box h2 { color: #fff8df; }

.seva-box p { max-width: 700px; color: #f7dfd0; }

.section-kicker.light { color: #ffe7a1; }

.btn-light {
  background: white;
  color: var(--maroon);
}

.btn-outline-light {
  border-color: rgba(255,255,255,.55);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 34px;
  border-radius: 24px;
  background: #fffaf0;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(113,30,29,.08);
}

.contact-grid > div > p { color: var(--muted); }

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.contact-details div {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.contact-details strong { color: var(--maroon); }
.contact-details span { color: var(--muted); }
.contact-details a { color: var(--saffron); font-weight: 800; }

.contact-map {
  height: 300px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 45px rgba(113,30,29,.08);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e4d6c9;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fffdf9;
  font: inherit;
  color: var(--ink);
}

.contact-form textarea { resize: vertical; }

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(215,106,31,.2);
  border-color: var(--saffron);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--deep-saffron);
  font-size: 13px;
}

.footer {
  padding-top: 70px;
  color: #dbc4b7;
  background: #2d0d0e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand strong { color: #ffe6a5; }

.footer-grid p { max-width: 420px; }

.footer h4 {
  margin: 0 0 15px;
  color: #fff5da;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid a:hover { color: #ffe6a5; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    height: calc(100vh - 78px);
    display: none;
    flex-direction: column;
    justify-content: center;
    background: #fffaf0;
  }

  .nav-links.open { display: flex; }

  .hero-grid,
  .split,
  .darshan-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    padding: 24px;
  }

  .hero-grid { gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-notes { justify-content: center; }

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

  .teaching-cards { grid-template-columns: 1fr; }
  .teaching-card.featured { transform: none; }

  .darshan-grid { gap: 48px; }

  .seva-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .seva-actions { justify-content: center; }

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

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1140px); }

  .top-strip span:nth-child(1),
  .top-strip span:nth-child(3) { display: none; }

  .section { padding: 74px 0; }

  .hero { padding: 70px 0 90px; }

  .hero h1 { font-size: 50px; }

  .hero-notes { gap: 16px; }

  .frame-demo-shell {
    width: min(100% - 28px, 1180px);
    padding: 42px 0 56px;
  }

  .frame-demo-grid { grid-template-columns: 1fr; }

  .frame-demo-card { min-height: 0; }

  .demo-frame { width: min(100%, 290px); }

  .portrait-placeholder {
    width: min(100%, 315px);
    aspect-ratio: 4 / 4.75;
    border-width: 7px;
    border-radius: 18px;
  }

  .portrait-placeholder::after {
    inset: auto 7px 7px;
    border-radius: 0 0 12px 12px;
  }

  .hero-portrait {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 13px;
  }

  .values-grid,
  .gallery-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide {
    min-height: 250px;
    grid-column: auto;
    grid-row: auto;
  }

  .event-item {
    grid-template-columns: 72px 1fr;
  }

  .event-item > a {
    grid-column: 2;
  }

  .seva-box { padding: 38px 24px; }

  .seva + .contact { padding-top: 34px; }

  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


.inner-hero{padding:90px 0;background:radial-gradient(circle at 85% 20%,rgba(216,168,62,.22),transparent 28%),linear-gradient(135deg,#fff8e7,#f5ddba);border-bottom:1px solid var(--border)}
.inner-hero h1{max-width:900px;margin:0;color:var(--maroon);font-family:"Cormorant Garamond",serif;font-size:clamp(52px,7vw,86px);line-height:1}
.inner-hero p{max-width:780px;margin:22px 0 0;color:var(--muted);font-size:18px}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:64px;align-items:start}.prose h2{margin:48px 0 15px;color:var(--maroon);font-size:42px}.prose h2:first-child{margin-top:0}.prose h3{color:var(--deep-saffron);font-family:"Cormorant Garamond",serif;font-size:30px}.prose p,.prose li{color:#5f4d43}.prose p{font-size:17px}.side-card{position:sticky;top:110px;padding:30px;border-radius:22px;background:var(--cream);border:1px solid var(--border)}.side-card h3{margin-top:0;color:var(--maroon);font-family:"Cormorant Garamond",serif;font-size:30px}.side-card ul{padding-left:20px;color:var(--muted)}
.lineage-strip{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:32px 0;padding:22px;border-radius:18px;background:#fff3d6;border:1px solid var(--border);color:var(--maroon);font-weight:700}.lineage-strip b{color:var(--gold)}.lineage-strip.large{margin:0 0 70px;padding:30px;font-size:18px}.mantra-card{margin:25px 0;padding:38px;text-align:center;border-radius:24px;background:linear-gradient(135deg,var(--maroon),#42100f);color:#ffe8aa;font-family:"Cormorant Garamond",serif;font-size:32px;font-weight:700;line-height:1.5}.chip-grid{display:flex;flex-wrap:wrap;gap:12px}.chip-grid span{padding:10px 16px;border-radius:999px;background:#fff1d0;border:1px solid var(--border);color:var(--maroon);font-weight:700}.values-grid.compact article{padding:22px}.values-grid.three{grid-template-columns:repeat(3,1fr)}.check-list{list-style:none;padding:0}.check-list li{position:relative;padding:12px 0 12px 32px;border-bottom:1px solid var(--border)}.check-list li:before{content:'✓';position:absolute;left:0;color:var(--saffron);font-weight:900}.guru-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.guru-item{display:grid;grid-template-columns:46px 76px 1fr;gap:16px;align-items:center;padding:16px 18px;border-radius:16px;background:white;border:1px solid var(--border)}.guru-item>span{min-width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#fff1d0;color:var(--deep-saffron);font-weight:900}.guru-photo{width:76px;height:76px;object-fit:cover;object-position:top center;border-radius:12px;border:3px solid #fff4d9;box-shadow:0 8px 20px rgba(113,30,29,.12);background:#fff1d0}.guru-item h3{margin:0;color:var(--maroon);font-family:"Cormorant Garamond",serif;font-size:22px}.guru-item p{margin:2px 0 0;color:var(--saffron);font-size:12px;font-weight:800}.guru-item.current{grid-column:1/-1;background:linear-gradient(135deg,var(--maroon),#42100f);border-color:transparent}.guru-item.current h3{color:#ffe8a8}.guru-item.current>span{background:var(--gold);color:#3f1112}.guru-item.current .guru-photo{border-color:var(--gold)}.institution-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.institution-grid article{padding:25px;border-radius:20px;background:#fff;border:1px solid var(--border);box-shadow:0 14px 40px rgba(113,30,29,.05)}.institution-grid h3{margin-top:0;color:var(--maroon);font-family:"Cormorant Garamond",serif;font-size:25px}.institution-grid p{color:var(--muted);font-size:14px}.event-item{grid-template-columns:90px 1fr}.maharaj-hero{background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.15),transparent 25%),linear-gradient(135deg,#81251d,#3f1112)}.maharaj-hero h1,.maharaj-hero p{color:#fff2d2}.maharaj-hero .section-kicker{color:#ffd986}
@media(max-width:920px){.article-layout{grid-template-columns:1fr}.side-card{position:static}.institution-grid{grid-template-columns:repeat(2,1fr)}.values-grid.three{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.guru-grid,.institution-grid,.values-grid.three{grid-template-columns:1fr}.guru-item{grid-template-columns:42px 64px 1fr;padding:14px}.guru-item>span{min-width:42px;height:42px}.guru-photo{width:64px;height:64px}.guru-item.current{grid-column:auto}.inner-hero{padding:65px 0}.lineage-strip.large{font-size:15px}.mantra-card{font-size:26px;padding:28px 18px}}

/* Expanded primary navigation */
.nav-dropdown{position:relative;display:flex;align-items:center}.dropdown-toggle{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:12px 0}.dropdown-toggle span{font-size:11px;margin-left:4px}.dropdown-menu{position:absolute;top:calc(100% + 16px);left:50%;transform:translateX(-50%) translateY(8px);min-width:230px;padding:10px;background:#fffaf0;border:1px solid var(--border);border-radius:16px;box-shadow:0 20px 55px rgba(79,20,18,.16);display:grid;gap:2px;opacity:0;visibility:hidden;transition:.2s ease;z-index:30}.dropdown-menu a{padding:10px 13px;border-radius:10px;white-space:nowrap}.dropdown-menu a:hover{background:#fff0cf}.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu,.nav-dropdown.dropdown-open .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.gallery-section{background:#fffaf0}.gallery-action{text-align:center;margin-top:34px}.gallery-placeholder{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:radial-gradient(circle at 50% 10%,rgba(255,255,255,.55),transparent 35%),linear-gradient(145deg,#f6dfb7,#d99b58);color:var(--maroon)}.gallery-placeholder span{font-family:"Cormorant Garamond",serif;font-weight:800;font-size:30px}.gallery-placeholder small{margin-top:8px;max-width:260px;color:#6d3429}.gallery-item{overflow:hidden;border-radius:22px;border:1px solid var(--border);box-shadow:0 16px 45px rgba(113,30,29,.08)}
@media(max-width:920px){.nav-links{justify-content:flex-start;padding:34px 28px;overflow-y:auto;align-items:stretch}.nav-links>a,.dropdown-toggle{width:100%;text-align:left;padding:12px 0}.nav-links>.nav-cta{width:auto;align-self:flex-start;margin-top:4px;padding:10px 18px;text-align:center}.nav-dropdown{display:block;width:100%}.dropdown-menu{position:static;transform:none!important;min-width:0;margin:4px 0 8px;padding:4px 0 4px 16px;border:0;border-left:2px solid var(--gold);border-radius:0;box-shadow:none;opacity:1;visibility:visible;display:grid;background:transparent}.dropdown-menu a{padding:9px 0}.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu{transform:none}}

@media(max-width:920px){.language-switcher{align-self:flex-start;margin-top:8px;padding:8px 12px}}

/* Guru Parampara portrait gallery */
.guru-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
}

.guru-item,
.guru-item.current {
  position: relative;
  grid-column: auto;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
  text-align: center;
  border-radius: 18px;
}

.guru-item > span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 42px;
  height: 42px;
  box-shadow: 0 8px 20px rgba(113,30,29,.12);
}

.guru-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: none;
  background: #fff7e6;
}

.guru-item.current .guru-photo {
  aspect-ratio: 3 / 2;
  border-color: rgba(216,168,62,.7);
  background: #fff1d0;
}

.guru-item h3 {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1.1;
}

.guru-item.current h3 {
  min-height: auto;
}

@media (max-width: 640px) {
  .guru-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .guru-item,
  .guru-item.current {
    padding: 10px;
  }

  .guru-item > span {
    top: 8px;
    left: 8px;
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .guru-item h3 {
    min-height: 58px;
    font-size: 17px;
  }
}

/* Dedicated gallery page */
.gallery-page-section {
  background: #fffaf0;
}

.gallery-page-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.gallery-page-toolbar h2 {
  margin-bottom: 0;
}

.asset-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.asset-gallery-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff7e6;
  box-shadow: 0 16px 45px rgba(113,30,29,.08);
}

.asset-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .28s ease;
}

.asset-gallery-item:hover img {
  transform: scale(1.04);
}

.asset-gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff8df;
  background: rgba(59,14,12,.68);
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(6px);
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 42px 24px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  background: white;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 640px) {
  .gallery-page-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .asset-gallery-grid {
    grid-template-columns: 1fr;
  }
}
